From 665135b6a2dcc6b40319ff8b81379ebec698d749 Mon Sep 17 00:00:00 2001 From: Richard Czechowski Date: Fri, 8 Feb 2019 08:33:46 -0800 Subject: [PATCH] build for release --- dist/chord.js | 2 +- dist/collapsible_tree.js | 2 +- dist/hello_world.js | 2 +- dist/hello_world_react.js | 20 ++++++++++---------- dist/liquid_fill_gauge.js | 2 +- dist/sankey.js | 2 +- dist/subtotal.js | 4 ++-- dist/sunburst.js | 2 +- dist/treemap.js | 2 +- dist/v1_common.js | 2 +- package.json | 2 +- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/dist/chord.js b/dist/chord.js index d74d3fbb..fa4ef991 100644 --- a/dist/chord.js +++ b/dist/chord.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.chord=t():e.chord=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=500)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>1?u:e<-1?-u:Math.asin(e)},t.haversin=function(e){return(e=i(e/2))*e};t.epsilon=1e-6,t.epsilon2=1e-12;var r=t.pi=Math.PI,u=t.halfPi=r/2,i=(t.quarterPi=r/4,t.tau=2*r,t.degrees=180/r,t.radians=r/180,t.abs=Math.abs,t.atan=Math.atan,t.atan2=Math.atan2,t.cos=Math.cos,t.ceil=Math.ceil,t.exp=Math.exp,t.floor=Math.floor,t.log=Math.log,t.pow=Math.pow,t.sin=Math.sin);t.sign=Math.sign||function(e){return e>0?1:e<0?-1:0},t.sqrt=Math.sqrt,t.tan=Math.tan},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(199);Object.defineProperty(t,"create",{enumerable:!0,get:function(){return M(r).default}});var u=n(33);Object.defineProperty(t,"creator",{enumerable:!0,get:function(){return M(u).default}});var i=n(228);Object.defineProperty(t,"local",{enumerable:!0,get:function(){return M(i).default}});var o=n(104);Object.defineProperty(t,"matcher",{enumerable:!0,get:function(){return M(o).default}});var a=n(229);Object.defineProperty(t,"mouse",{enumerable:!0,get:function(){return M(a).default}});var l=n(52);Object.defineProperty(t,"namespace",{enumerable:!0,get:function(){return M(l).default}});var c=n(53);Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return M(c).default}});var f=n(34);Object.defineProperty(t,"clientPoint",{enumerable:!0,get:function(){return M(f).default}});var s=n(102);Object.defineProperty(t,"select",{enumerable:!0,get:function(){return M(s).default}});var d=n(230);Object.defineProperty(t,"selectAll",{enumerable:!0,get:function(){return M(d).default}});var h=n(4);Object.defineProperty(t,"selection",{enumerable:!0,get:function(){return M(h).default}});var p=n(54);Object.defineProperty(t,"selector",{enumerable:!0,get:function(){return M(p).default}});var _=n(103);Object.defineProperty(t,"selectorAll",{enumerable:!0,get:function(){return M(_).default}});var v=n(107);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return v.styleValue}});var y=n(231);Object.defineProperty(t,"touch",{enumerable:!0,get:function(){return M(y).default}});var b=n(232);Object.defineProperty(t,"touches",{enumerable:!0,get:function(){return M(b).default}});var g=n(55);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return M(g).default}});var m=n(56);function M(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"event",{enumerable:!0,get:function(){return m.event}}),Object.defineProperty(t,"customEvent",{enumerable:!0,get:function(){return m.customEvent}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,i,o){function a(e){return t(e=new Date(+e)),e}a.floor=a;a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e};a.round=function(e){var t=a(e),n=a.ceil(e);return e-t0))return o;do{o.push(i=new Date(+e)),n(e,u),t(e)}while(i=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););})};i&&(a.count=function(e,n){return r.setTime(+e),u.setTime(+n),t(r),t(u),Math.floor(i(r,u))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(o?function(t){return o(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null});return a};var r=new Date,u=new Date},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90);Object.defineProperty(t,"bisect",{enumerable:!0,get:function(){return T(r).default}}),Object.defineProperty(t,"bisectRight",{enumerable:!0,get:function(){return r.bisectRight}}),Object.defineProperty(t,"bisectLeft",{enumerable:!0,get:function(){return r.bisectLeft}});var u=n(17);Object.defineProperty(t,"ascending",{enumerable:!0,get:function(){return T(u).default}});var i=n(91);Object.defineProperty(t,"bisector",{enumerable:!0,get:function(){return T(i).default}});var o=n(175);Object.defineProperty(t,"cross",{enumerable:!0,get:function(){return T(o).default}});var a=n(176);Object.defineProperty(t,"descending",{enumerable:!0,get:function(){return T(a).default}});var l=n(93);Object.defineProperty(t,"deviation",{enumerable:!0,get:function(){return T(l).default}});var c=n(95);Object.defineProperty(t,"extent",{enumerable:!0,get:function(){return T(c).default}});var f=n(177);Object.defineProperty(t,"histogram",{enumerable:!0,get:function(){return T(f).default}});var s=n(180);Object.defineProperty(t,"thresholdFreedmanDiaconis",{enumerable:!0,get:function(){return T(s).default}});var d=n(181);Object.defineProperty(t,"thresholdScott",{enumerable:!0,get:function(){return T(d).default}});var h=n(99);Object.defineProperty(t,"thresholdSturges",{enumerable:!0,get:function(){return T(h).default}});var p=n(182);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return T(p).default}});var _=n(183);Object.defineProperty(t,"mean",{enumerable:!0,get:function(){return T(_).default}});var v=n(184);Object.defineProperty(t,"median",{enumerable:!0,get:function(){return T(v).default}});var y=n(185);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return T(y).default}});var b=n(100);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return T(b).default}});var g=n(92);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return T(g).default}});var m=n(186);Object.defineProperty(t,"permute",{enumerable:!0,get:function(){return T(m).default}});var M=n(50);Object.defineProperty(t,"quantile",{enumerable:!0,get:function(){return T(M).default}});var P=n(97);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return T(P).default}});var O=n(187);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return T(O).default}});var x=n(188);Object.defineProperty(t,"shuffle",{enumerable:!0,get:function(){return T(x).default}});var j=n(189);Object.defineProperty(t,"sum",{enumerable:!0,get:function(){return T(j).default}});var w=n(98);Object.defineProperty(t,"ticks",{enumerable:!0,get:function(){return T(w).default}}),Object.defineProperty(t,"tickIncrement",{enumerable:!0,get:function(){return w.tickIncrement}}),Object.defineProperty(t,"tickStep",{enumerable:!0,get:function(){return w.tickStep}});var E=n(101);Object.defineProperty(t,"transpose",{enumerable:!0,get:function(){return T(E).default}});var S=n(94);Object.defineProperty(t,"variance",{enumerable:!0,get:function(){return T(S).default}});var k=n(190);function T(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return T(k).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.root=void 0,t.Selection=z;var r=A(n(200)),u=A(n(201)),i=A(n(202)),o=A(n(203)),a=A(n(105)),l=A(n(205)),c=A(n(206)),f=A(n(207)),s=A(n(208)),d=A(n(209)),h=A(n(210)),p=A(n(211)),_=A(n(212)),v=A(n(213)),y=A(n(214)),b=A(n(215)),g=A(n(107)),m=A(n(216)),M=A(n(217)),P=A(n(218)),O=A(n(219)),x=A(n(220)),j=A(n(221)),w=A(n(222)),E=A(n(223)),S=A(n(224)),k=A(n(225)),T=A(n(226)),N=A(n(56)),C=A(n(227));function A(e){return e&&e.__esModule?e:{default:e}}var R=t.root=[null];function z(e,t){this._groups=e,this._parents=t}function q(){return new z([[document.documentElement]],R)}z.prototype=q.prototype={constructor:z,select:r.default,selectAll:u.default,filter:i.default,data:o.default,enter:a.default,exit:l.default,merge:c.default,order:f.default,sort:s.default,call:d.default,nodes:h.default,node:p.default,size:_.default,empty:v.default,each:y.default,attr:b.default,style:g.default,property:m.default,classed:M.default,text:P.default,html:O.default,raise:x.default,lower:j.default,append:w.default,insert:E.default,remove:S.default,clone:k.default,datum:T.default,on:N.default,dispatch:C.default},t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58);Object.defineProperty(t,"interpolate",{enumerable:!0,get:function(){return m(r).default}});var u=n(114);Object.defineProperty(t,"interpolateArray",{enumerable:!0,get:function(){return m(u).default}});var i=n(61);Object.defineProperty(t,"interpolateBasis",{enumerable:!0,get:function(){return m(i).default}});var o=n(112);Object.defineProperty(t,"interpolateBasisClosed",{enumerable:!0,get:function(){return m(o).default}});var a=n(115);Object.defineProperty(t,"interpolateDate",{enumerable:!0,get:function(){return m(a).default}});var l=n(35);Object.defineProperty(t,"interpolateNumber",{enumerable:!0,get:function(){return m(l).default}});var c=n(116);Object.defineProperty(t,"interpolateObject",{enumerable:!0,get:function(){return m(c).default}});var f=n(237);Object.defineProperty(t,"interpolateRound",{enumerable:!0,get:function(){return m(f).default}});var s=n(117);Object.defineProperty(t,"interpolateString",{enumerable:!0,get:function(){return m(s).default}});var d=n(238);Object.defineProperty(t,"interpolateTransformCss",{enumerable:!0,get:function(){return d.interpolateTransformCss}}),Object.defineProperty(t,"interpolateTransformSvg",{enumerable:!0,get:function(){return d.interpolateTransformSvg}});var h=n(241);Object.defineProperty(t,"interpolateZoom",{enumerable:!0,get:function(){return m(h).default}});var p=n(111);Object.defineProperty(t,"interpolateRgb",{enumerable:!0,get:function(){return m(p).default}}),Object.defineProperty(t,"interpolateRgbBasis",{enumerable:!0,get:function(){return p.rgbBasis}}),Object.defineProperty(t,"interpolateRgbBasisClosed",{enumerable:!0,get:function(){return p.rgbBasisClosed}});var _=n(242);Object.defineProperty(t,"interpolateHsl",{enumerable:!0,get:function(){return m(_).default}}),Object.defineProperty(t,"interpolateHslLong",{enumerable:!0,get:function(){return _.hslLong}});var v=n(243);Object.defineProperty(t,"interpolateLab",{enumerable:!0,get:function(){return m(v).default}});var y=n(244);Object.defineProperty(t,"interpolateHcl",{enumerable:!0,get:function(){return m(y).default}}),Object.defineProperty(t,"interpolateHclLong",{enumerable:!0,get:function(){return y.hclLong}});var b=n(245);Object.defineProperty(t,"interpolateCubehelix",{enumerable:!0,get:function(){return m(b).default}}),Object.defineProperty(t,"interpolateCubehelixLong",{enumerable:!0,get:function(){return b.cubehelixLong}});var g=n(246);function m(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"quantize",{enumerable:!0,get:function(){return m(g).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENDED=t.ENDING=t.RUNNING=t.STARTED=t.STARTING=t.SCHEDULED=t.CREATED=void 0,t.default=function(e,t,n,r,p,_){var v=e.__transition;if(v){if(n in v)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(d){var _,v,y,b;if(n.state!==l)return p();for(_ in i)if((b=i[_]).name===n.name){if(b.state===f)return(0,u.timeout)(o);b.state===s?(b.state=h,b.timer.stop(),b.on.call("interrupt",e,e.__data__,b.index,b.group),delete i[_]):+_a)throw new Error("too late; already scheduled");return n},t.set=function(e,t){var n=p(e,t);if(n.state>c)throw new Error("too late; already started");return n},t.get=p;var r=n(12),u=n(37),i=(0,r.dispatch)("start","end","interrupt"),o=[],a=t.CREATED=0,l=t.SCHEDULED=1,c=t.STARTING=2,f=t.STARTED=3,s=t.RUNNING=4,d=t.ENDING=5,h=t.ENDED=6;function p(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59);Object.defineProperty(t,"color",{enumerable:!0,get:function(){return o(r).default}}),Object.defineProperty(t,"rgb",{enumerable:!0,get:function(){return r.rgb}}),Object.defineProperty(t,"hsl",{enumerable:!0,get:function(){return r.hsl}});var u=n(235);Object.defineProperty(t,"lab",{enumerable:!0,get:function(){return o(u).default}}),Object.defineProperty(t,"hcl",{enumerable:!0,get:function(){return u.hcl}});var i=n(236);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"cubehelix",{enumerable:!0,get:function(){return o(i).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return _(function(){return e})()},t.projectionMutator=_;var r=h(n(130)),u=h(n(136)),i=h(n(40)),o=h(n(129)),a=h(n(72)),l=n(0),c=n(39),f=n(41),s=n(75),d=h(n(340));function h(e){return e&&e.__esModule?e:{default:e}}var p=(0,f.transformer)({point:function(e,t){this.stream.point(e*l.radians,t*l.radians)}});function _(e){var t,n,h,_,v,y,b,g,m,M,P=150,O=480,x=250,j=0,w=0,E=0,S=0,k=0,T=null,N=r.default,C=null,A=a.default,R=.5,z=(0,d.default)(D,R);function q(e){return[(e=v(e[0]*l.radians,e[1]*l.radians))[0]*P+n,h-e[1]*P]}function I(e){return(e=v.invert((e[0]-n)/P,(h-e[1])/P))&&[e[0]*l.degrees,e[1]*l.degrees]}function D(e,r){return[(e=t(e,r))[0]*P+n,h-e[1]*P]}function L(){v=(0,o.default)(_=(0,c.rotateRadians)(E,S,k),t);var e=t(j,w);return n=O-e[0]*P,h=x+e[1]*P,U()}function U(){return m=M=null,q}return q.stream=function(e){return m&&M===e?m:m=p(function(e){return(0,f.transformer)({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}(_)(N(z(A(M=e)))))},q.preclip=function(e){return arguments.length?(N=e,T=void 0,U()):N},q.postclip=function(e){return arguments.length?(A=e,C=y=b=g=null,U()):A},q.clipAngle=function(e){return arguments.length?(N=+e?(0,u.default)(T=e*l.radians):(T=null,r.default),U()):T*l.degrees},q.clipExtent=function(e){return arguments.length?(A=null==e?(C=y=b=g=null,a.default):(0,i.default)(C=+e[0][0],y=+e[0][1],b=+e[1][0],g=+e[1][1]),U()):null==C?null:[[C,y],[b,g]]},q.scale=function(e){return arguments.length?(P=+e,L()):P},q.translate=function(e){return arguments.length?(O=+e[0],x=+e[1],L()):[O,x]},q.center=function(e){return arguments.length?(j=e[0]%360*l.radians,w=e[1]%360*l.radians,L()):[j*l.degrees,w*l.degrees]},q.rotate=function(e){return arguments.length?(E=e[0]%360*l.radians,S=e[1]%360*l.radians,k=e.length>2?e[2]%360*l.radians:0,L()):[E*l.degrees,S*l.degrees,k*l.degrees]},q.precision=function(e){return arguments.length?(z=(0,d.default)(D,R=e*e),U()):(0,l.sqrt)(R)},q.fitExtent=function(e,t){return(0,s.fitExtent)(q,e,t)},q.fitSize=function(e,t){return(0,s.fitSize)(q,e,t)},q.fitWidth=function(e,t){return(0,s.fitWidth)(q,e,t)},q.fitHeight=function(e,t){return(0,s.fitHeight)(q,e,t)},function(){return t=e.apply(this,arguments),q.invert=t.invert&&I,L()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.durationSecond=1e3,t.durationMinute=6e4,t.durationHour=36e5,t.durationDay=864e5,t.durationWeek=6048e5},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transition=O,t.default=x,t.newId=function(){return++P};var r=n(1),u=M(n(247)),i=M(n(250)),o=M(n(251)),a=M(n(252)),l=M(n(253)),c=M(n(254)),f=M(n(255)),s=M(n(256)),d=M(n(257)),h=M(n(258)),p=M(n(259)),_=M(n(260)),v=M(n(261)),y=M(n(262)),b=M(n(263)),g=M(n(264)),m=M(n(36));function M(e){return e&&e.__esModule?e:{default:e}}var P=0;function O(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function x(e){return(0,r.selection)().transition(e)}var j=r.selection.prototype;O.prototype=x.prototype={constructor:O,select:h.default,selectAll:p.default,filter:c.default,merge:f.default,selection:_.default,transition:g.default,call:j.call,nodes:j.nodes,node:j.node,size:j.size,empty:j.empty,each:j.each,on:s.default,attr:u.default,attrTween:i.default,style:v.default,styleTween:y.default,text:b.default,remove:d.default,tween:m.default,delay:o.default,duration:a.default,ease:l.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(197);Object.defineProperty(t,"dispatch",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(287);Object.defineProperty(t,"path",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";function r(e,t){e&&i.hasOwnProperty(e.type)&&i[e.type](e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e&&u.hasOwnProperty(e.type)?u[e.type](e,t):r(e,t)};var u={Feature:function(e,t){r(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,u=-1,i=n.length;++ut?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";function r(){this.reset()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(e){i(u,e,this.t),i(this,u.s,this.s),this.s?this.t+=u.t:this.s=u.t},valueOf:function(){return this.s}};var u=new r;function i(e,t,n){var r=e.s=t+n,u=r-t,i=r-u;e.t=t-i+(n-u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Math.random()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(288);Object.defineProperty(t,"nest",{enumerable:!0,get:function(){return c(r).default}});var u=n(289);Object.defineProperty(t,"set",{enumerable:!0,get:function(){return c(u).default}});var i=n(64);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return c(i).default}});var o=n(290);Object.defineProperty(t,"keys",{enumerable:!0,get:function(){return c(o).default}});var a=n(291);Object.defineProperty(t,"values",{enumerable:!0,get:function(){return c(a).default}});var l=n(292);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"entries",{enumerable:!0,get:function(){return c(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hue=function(e,t){var n=t-e;return n?o(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,i.default)(isNaN(e)?t:e)},t.gamma=function(e){return 1==(e=+e)?a:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,i.default)(isNaN(t)?n:t)}},t.default=a;var r,u=n(113),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?o(e,n):(0,i.default)(isNaN(e)?t:e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spherical=function(e){return[(0,r.atan2)(e[1],e[0]),(0,r.asin)(e[2])]},t.cartesian=function(e){var t=e[0],n=e[1],u=(0,r.cos)(n);return[u*(0,r.cos)(t),u*(0,r.sin)(t),(0,r.sin)(n)]},t.cartesianDot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},t.cartesianCross=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},t.cartesianAddInPlace=function(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]},t.cartesianScale=function(e,t){return[e[0]*t,e[1]*t,e[2]*t]},t.cartesianNormalizeInPlace=function(e){var t=(0,r.sqrt)(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.azimuthalRaw=function(e){return function(t,n){var u=(0,r.cos)(t),i=(0,r.cos)(n),o=e(u*i);return[o*i*(0,r.sin)(t),o*(0,r.sin)(n)]}},t.azimuthalInvert=function(e){return function(t,n){var u=(0,r.sqrt)(t*t+n*n),i=e(u),o=(0,r.sin)(i),a=(0,r.cos)(i);return[(0,r.atan2)(t*o,u*a),(0,r.asin)(u&&n*o/u)]}};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){for(var i,o=e.children,a=-1,l=o.length,c=e.value&&(r-t)/e.value;++a0?(l=Math.floor(l/u)*u,c=Math.ceil(c/u)*u,u=(0,r.tickIncrement)(l,c,n)):u<0&&(l=Math.ceil(l*u)/u,c=Math.floor(c*u)/u,u=(0,r.tickIncrement)(l,c,n)),u>0?(i[o]=Math.floor(l/u)*u,i[a]=Math.ceil(c/u)*u,t(i)):u<0&&(i[o]=Math.ceil(l*u)/u,i[a]=Math.floor(c*u)/u,t(i)),e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>=1?u:e<=-1?-u:Math.asin(e)};t.abs=Math.abs,t.atan2=Math.atan2,t.cos=Math.cos,t.max=Math.max,t.min=Math.min,t.sin=Math.sin,t.sqrt=Math.sqrt,t.epsilon=1e-12;var r=t.pi=Math.PI,u=t.halfPi=r/2;t.tau=2*r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((u=e.length)>1)for(var n,r,u,i=1,o=e[t[0]],a=o.length;i=0;)n[t]=t;return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edges=t.circles=t.cells=t.beaches=t.epsilon2=t.epsilon=void 0,t.default=h;var r,u=n(458),i=n(169),o=n(170),a=n(89),l=n(88),c=(r=l)&&r.__esModule?r:{default:r};t.epsilon=1e-6,t.epsilon2=1e-12,t.beaches=void 0;var f=t.cells=void 0,s=(t.circles=void 0,t.edges=void 0);function d(e,t){return t[1]-e[1]||t[0]-e[0]}function h(e,n){var r,l,h,p=e.sort(d).pop();for(t.edges=s=[],t.cells=f=new Array(e.length),t.beaches=new c.default,t.circles=new c.default;;)if(h=o.firstCircle,p&&(!h||p[1]=a)return null;var l=e-u.site[0],c=t-u.site[1],f=l*l+c*c;do{u=i.cells[r=o],o=null,u.halfedges.forEach(function(n){var r=i.edges[n],a=r.left;if(a!==u.site&&a||(a=r.right)){var l=e-a[0],c=t-a[1],s=l*l+c*c;s2?e[2]*o.radians:0),t.invert=function(t){return(t=e.invert(t[0]*o.radians,t[1]*o.radians))[0]*=o.degrees,t[1]*=o.degrees,t},t};var r,u=n(129),i=(r=u)&&r.__esModule?r:{default:r},o=n(0);function a(e,t){return[e>o.pi?e-o.tau:e<-o.pi?e+o.tau:e,t]}function l(e,t,n){return(e%=o.tau)?t||n?(0,i.default)(f(e),s(t,n)):f(e):t||n?s(t,n):a}function c(e){return function(t,n){return[(t+=e)>o.pi?t-o.tau:t<-o.pi?t+o.tau:t,n]}}function f(e){var t=c(e);return t.invert=c(-e),t}function s(e,t){var n=(0,o.cos)(e),r=(0,o.sin)(e),u=(0,o.cos)(t),i=(0,o.sin)(t);function a(e,t){var a=(0,o.cos)(t),l=(0,o.cos)(e)*a,c=(0,o.sin)(e)*a,f=(0,o.sin)(t),s=f*n+l*r;return[(0,o.atan2)(c*u-s*i,l*n-f*r),(0,o.asin)(s*u+c*i)]}return a.invert=function(e,t){var a=(0,o.cos)(t),l=(0,o.cos)(e)*a,c=(0,o.sin)(e)*a,f=(0,o.sin)(t),s=f*u-c*i;return[(0,o.atan2)(c*u+f*i,l*n+s*r),(0,o.asin)(s*n-l*r)]},a}a.invert=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){function s(r,u){return e<=r&&r<=n&&t<=u&&u<=l}function d(r,u,i,o){var a=0,c=0;if(null==r||(a=h(r,i))!==(c=h(u,i))||_(r,u)<0^i>0)do{o.point(0===a||3===a?e:n,a>1?l:t)}while((a=(a+i+4)%4)!==c);else o.point(u[0],u[1])}function h(u,i){return(0,r.abs)(u[0]-e)0?0:3:(0,r.abs)(u[0]-n)0?2:1:(0,r.abs)(u[1]-t)0?1:0:i>0?3:2}function p(e,t){return _(e.x,t.x)}function _(e,t){var n=h(e,1),r=h(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(r){var h,_,v,y,b,g,m,M,P,O,x,j=r,w=(0,u.default)(),E={point:S,lineStart:function(){E.point=k,_&&_.push(v=[]);O=!0,P=!1,m=M=NaN},lineEnd:function(){h&&(k(y,b),g&&P&&w.rejoin(),h.push(w.result()));E.point=S,P&&j.lineEnd()},polygonStart:function(){j=w,h=[],_=[],x=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,r=_.length;nl&&(s-u)*(l-i)>(d-i)*(e-u)&&++t:d<=l&&(s-u)*(l-i)<(d-i)*(e-u)&&--t;return t}(),n=x&&t,u=(h=(0,a.merge)(h)).length;(n||u)&&(r.polygonStart(),n&&(r.lineStart(),d(null,null,1,r),r.lineEnd()),u&&(0,o.default)(h,p,t,d,r),r.polygonEnd());j=r,h=_=v=null}};function S(e,t){s(e,t)&&j.point(e,t)}function k(r,u){var o=s(r,u);if(_&&v.push([r,u]),O)y=r,b=u,g=o,O=!1,o&&(j.lineStart(),j.point(r,u));else if(o&&P)j.point(r,u);else{var a=[m=Math.max(f,Math.min(c,m)),M=Math.max(f,Math.min(c,M))],d=[r=Math.max(f,Math.min(c,r)),u=Math.max(f,Math.min(c,u))];(0,i.default)(a,d,e,t,n,l)?(P||(j.lineStart(),j.point(a[0],a[1])),j.point(d[0],d[1]),o||j.lineEnd(),x=!1):o&&(j.lineStart(),j.point(r,u),x=!1)}m=r,M=u,P=o}return E}};var r=n(0),u=l(n(132)),i=l(n(330)),o=l(n(133)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}var c=1e9,f=-c},function(e,t,n){"use strict";function r(e){return function(t){var n=new u;for(var r in e)n[r]=e[r];return n.stream=t,n}}function u(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{stream:r(e)}},t.transformer=r,u.prototype={constructor:u,point:function(e,t){this.stream.point(e,t)},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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){for(var i,o=e.children,a=-1,l=o.length,c=e.value&&(u-n)/e.value;++a2?d:s,r=o=null,y}function y(t){return(r||(r=n(l,h,_?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,p)))(+t)}return y.invert=function(e){return(o||(o=n(h,l,f,_?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},y.domain=function(e){return arguments.length?(l=i.map.call(e,a.default),v()):l.slice()},y.range=function(e){return arguments.length?(h=i.slice.call(e),v()):h.slice()},y.rangeRound=function(e){return h=i.slice.call(e),p=u.interpolateRound,v()},y.clamp=function(e){return arguments.length?(_=!!e,v()):_},y.interpolate=function(e){return arguments.length?(p=e,v()):p},v()};var r=n(3),u=n(5),i=n(15),o=l(n(81)),a=l(n(150));function l(e){return e&&e.__esModule?e:{default:e}}var c=[0,1];function f(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(0,o.default)(t)}function s(e,t,n,r){var u=e[0],i=e[1],o=t[0],a=t[1];return i=1)return+n(e[r-1],r-1,e);var r,u=(r-1)*t,o=Math.floor(u),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(u-o)}};var r,u=n(22),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(198);Object.defineProperty(t,"drag",{enumerable:!0,get:function(){return i(r).default}});var u=n(108);function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"dragDisable",{enumerable:!0,get:function(){return i(u).default}}),Object.defineProperty(t,"dragEnable",{enumerable:!0,get:function(){return u.yesdrag}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),i.default.hasOwnProperty(t)?{space:i.default[t],local:e}:e};var r,u=n(53),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.xhtml="http://www.w3.org/1999/xhtml";t.default={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e?r:function(){return this.querySelector(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,u,i=function(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),o=i.length;if(!(arguments.length<2)){for(c=t?l:a,null==n&&(n=!1),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=s.exec(e))?m(parseInt(t[1],16)):(t=d.exec(e))?new x(t[1],t[2],t[3],1):(t=h.exec(e))?new x(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?M(t[1],t[2],t[3],t[4]):(t=_.exec(e))?M(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=v.exec(e))?j(t[1],t[2]/100,t[3]/100,1):(t=y.exec(e))?j(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?m(b[e]):"transparent"===e?new x(NaN,NaN,NaN,0):null}function m(e){return new x(e>>16&255,e>>8&255,255&e,1)}function M(e,t,n,r){return r<=0&&(e=t=n=NaN),new x(e,t,n,r)}function P(e){return e instanceof o||(e=g(e)),e?new x((e=e.rgb()).r,e.g,e.b,e.opacity):new x}function O(e,t,n,r){return 1===arguments.length?P(e):new x(e,t,n,null==r?1:r)}function x(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function j(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new S(e,t,n,r)}function w(e){if(e instanceof S)return new S(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=g(e)),!e)return new S;if(e instanceof S)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,u=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-u,c=(i+u)/2;return l?(a=t===i?(n-r)/l+6*(n0&&c<1?0:a,new S(a,l,c,e.opacity)}function E(e,t,n,r){return 1===arguments.length?w(e):new S(e,t,n,null==r?1:r)}function S(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function k(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}(0,i.default)(o,g,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),(0,i.default)(x,O,(0,u.extend)(o,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new x(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new x(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),(0,i.default)(S,E,(0,u.extend)(o,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new S(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new S(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,u=2*n-r;return new x(k(e>=240?e-240:e+120,u,r),k(e,u,r),k(e<120?e+240:e-120,u,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},t.extend=function(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}},function(e,t,n){"use strict";function r(e,t,n,r,u){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*n+(1+3*e+3*i-3*o)*r+o*u)/6}Object.defineProperty(t,"__esModule",{value:!0}),t.basis=r,t.default=function(e){var t=e.length-1;return function(n){var u=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[u],o=e[u+1],a=u>0?e[u-1]:2*i-o,l=u=0&&t._call.call(null,e),t=t._next;--o}function m(){s=(f=h.now())+d,o=a=0;try{g()}finally{o=0,function(){var e,t,n=u,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:u=t);i=e,P(r)}(),s=0}}function M(){var e=h.now(),t=e-f;t>c&&(d-=t,f=e)}function P(e){o||(a&&(a=clearTimeout(a)),e-s>24?(e<1/0&&(a=setTimeout(m,e-h.now()-d)),l&&(l=clearInterval(l))):(l||(f=h.now(),l=setInterval(M,c)),o=1,p(m)))}y.prototype=b.prototype={constructor:y,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?_():+n)+(null==t?0:+t),this._next||i===this||(i?i._next=this:u=this,i=this),this._call=e,this._time=n,P()},stop:function(){this._call&&(this._call=null,this._time=1/0,P())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.prefix="$";function u(){}function i(e,t){var n=new u;if(e instanceof u)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,i=-1,o=e.length;if(null==t)for(;++i=f?h=!0:(l=e.charCodeAt(s++))===o?p=!0:l===a&&(p=!0,e.charCodeAt(s)===o&&++s),e.slice(c+1,t-1).replace(/""/g,'"')}for(;s1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEqualAreaRaw=o,t.default=function(){return(0,u.conicProjection)(o).scale(155.424).center([0,33.6442])};var r=n(0),u=n(74),i=n(341);function o(e,t){var n=(0,r.sin)(e),u=(n+(0,r.sin)(t))/2;if((0,r.abs)(u)=0;--i)c.push(r=n.children[i]=new g(u[i])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(b)}function v(e){return e.children}function y(e){e.data=e.data.data}function b(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function g(e){this.data=e,this.depth=this.height=0,this.parent=null}g.prototype=_.prototype={constructor:g,count:r.default,each:u.default,eachAfter:o.default,eachBefore:i.default,sum:a.default,sort:l.default,path:c.default,ancestors:f.default,descendants:s.default,leaves:d.default,links:h.default,copy:function(){return _(this).eachBefore(y)}}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new Error;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.optional=function(e){return null==e?null:r(e)},t.required=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.phi=void 0,t.squarifyRatio=a;var r=i(n(26)),u=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var o=t.phi=(1+Math.sqrt(5))/2;function a(e,t,n,i,o,a){for(var l,c,f,s,d,h,p,_,v,y,b,g=[],m=t.children,M=0,P=0,O=m.length,x=t.value;Mp&&(p=c),b=d*d*y,(_=Math.max(p/b,b/h))>v){d-=c;break}v=_}g.push(l={value:d,dice:f1?t:1)},n}(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,i,o,a,l=(0,u.dispatch)("beforesend","progress","load","error"),c=(0,r.map)(),f=new XMLHttpRequest,s=null,d=null,h=0;function p(e){var t,r=f.status;if(!r&&function(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}(f)||r>=200&&r<300||304===r){if(o)try{t=o.call(n,f)}catch(e){return void l.call("error",n,e)}else t=f;l.call("load",n,t)}else l.call("error",n,e)}if("undefined"==typeof XDomainRequest||"withCredentials"in f||!/^(http(s)?:)?\/\//.test(e)||(f=new XDomainRequest),"onload"in f?f.onload=f.onerror=f.ontimeout=p:f.onreadystatechange=function(e){f.readyState>3&&p(e)},f.onprogress=function(e){l.call("progress",n,e)},n={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?c.get(e):(null==t?c.remove(e):c.set(e,t+""),n)},mimeType:function(e){return arguments.length?(i=null==e?null:e+"",n):i},responseType:function(e){return arguments.length?(a=e,n):a},timeout:function(e){return arguments.length?(h=+e,n):h},user:function(e){return arguments.length<1?s:(s=null==e?null:e+"",n)},password:function(e){return arguments.length<1?d:(d=null==e?null:e+"",n)},response:function(e){return o=e,n},get:function(e,t){return n.send("GET",e,t)},post:function(e,t){return n.send("POST",e,t)},send:function(t,r,u){return f.open(t,e,!0,s,d),null==i||c.has("accept")||c.set("accept",i+",*/*"),f.setRequestHeader&&c.each(function(e,t){f.setRequestHeader(t,e)}),null!=i&&f.overrideMimeType&&f.overrideMimeType(i),null!=a&&(f.responseType=a),h>0&&(f.timeout=h),null==u&&"function"==typeof r&&(u=r,r=null),null!=u&&1===u.length&&(u=function(e){return function(t,n){e(null==t?n:null)}}(u)),null!=u&&n.on("error",u).on("load",function(e){u(null,e)}),l.call("beforesend",n,f),f.send(null==r?null:r),n},abort:function(){return f.abort(),n},on:function(){var e=l.on.apply(l,arguments);return e===l?n:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return n.get(t)}return n};var r=n(21),u=n(12)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(83);Object.defineProperty(t,"timeFormatDefaultLocale",{enumerable:!0,get:function(){return a(r).default}}),Object.defineProperty(t,"timeFormat",{enumerable:!0,get:function(){return r.timeFormat}}),Object.defineProperty(t,"timeParse",{enumerable:!0,get:function(){return r.timeParse}}),Object.defineProperty(t,"utcFormat",{enumerable:!0,get:function(){return r.utcFormat}}),Object.defineProperty(t,"utcParse",{enumerable:!0,get:function(){return r.utcParse}});var u=n(153);Object.defineProperty(t,"timeFormatLocale",{enumerable:!0,get:function(){return a(u).default}});var i=n(154);Object.defineProperty(t,"isoFormat",{enumerable:!0,get:function(){return a(i).default}});var o=n(420);function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"isoParse",{enumerable:!0,get:function(){return a(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcParse=t.utcFormat=t.timeParse=t.timeFormat=void 0,t.default=a;var r,u,i=n(153),o=(r=i)&&r.__esModule?r:{default:r};t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0;function a(e){return u=(0,o.default)(e),t.timeFormat=u.format,t.timeParse=u.parse,t.utcFormat=u.utcFormat,t.utcParse=u.utcParse,u}a({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o.x,t=o.y,n=(0,u.default)(!0),a=null,l=i.default,c=null;function f(u){var i,o,f,s=u.length,d=!1;for(null==a&&(c=l(f=(0,r.path)())),i=0;i<=s;++i)!(ir.epsilon){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);u=(u*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>r.epsilon){var f=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*f+e._x1*e._l23_2a-t*e._l12_2a)/s,a=(a*f+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(u,i,o,a,e._x2,e._y2)}function o(e,t){this._context=e,this._alpha=t}t.point=i,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:i(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new o(e,t):new u.Cardinal(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map(o);return(0,i.default)(e).sort(function(e,n){return t[e]-t[n]})},t.sum=o;var r,u=n(31),i=(r=u)&&r.__esModule?r:{default:r};function o(e){for(var t,n=0,r=-1,u=e.length;++rr.epsilon||Math.abs(a[0][1]-a[1][1])>r.epsilon)||delete r.edges[l]};var r=n(32);function u(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function i(e,t,n,r,u){var i,o=e[0],a=e[1],l=o[0],c=o[1],f=0,s=1,d=a[0]-l,h=a[1]-c;if(i=t-l,d||!(i>0)){if(i/=d,d<0){if(i0){if(i>s)return;i>f&&(f=i)}if(i=r-l,d||!(i<0)){if(i/=d,d<0){if(i>s)return;i>f&&(f=i)}else if(d>0){if(i0)){if(i/=h,h<0){if(i0){if(i>s)return;i>f&&(f=i)}if(i=u-c,h||!(i<0)){if(i/=h,h<0){if(i>s)return;i>f&&(f=i)}else if(h>0){if(i0||s<1)||(f>0&&(e[0]=[l+f*d,c+f*h]),s<1&&(e[1]=[l+s*d,c+s*h]),!0)}}}}}function o(e,t,n,r,u){var i=e[1];if(i)return!0;var o,a,l=e[0],c=e.left,f=e.right,s=c[0],d=c[1],h=f[0],p=f[1],_=(s+h)/2,v=(d+p)/2;if(p===d){if(_=r)return;if(s>h){if(l){if(l[1]>=u)return}else l=[_,n];i=[_,u]}else{if(l){if(l[1]1)if(s>h){if(l){if(l[1]>=u)return}else l=[(n-a)/o,n];i=[(u-a)/o,u]}else{if(l){if(l[1]=r)return}else l=[t,o*t+a];i=[r,o*r+a]}else{if(l){if(l[0]>>1;e(t[i],n)<0?r=i+1:u=i}return r},right:function(t,n,r,u){for(null==r&&(r=0),null==u&&(u=t.length);r>>1;e(t[i],n)>0?u=i:r=i+1}return r}}};var r,u=n(17),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";function r(e,t){return[e,t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){null==t&&(t=r);for(var n=0,u=e.length-1,i=e[0],o=new Array(u<0?0:u);n1)return c/(o-1)};var r,u=n(22),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,u,i=e.length,o=-1;if(null==t){for(;++o=n)for(r=u=n;++on&&(r=n),u=n)for(r=u=n;++on&&(r=n),u0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(u=Math.ceil(t-e+1));++l=r?a*=10:l>=u?a*=5:l>=i&&(a*=2);return t=0?(l>=r?10:l>=u?5:l>=i?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(l>=r?10:l>=u?5:l>=i?2:1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,u=e.length,i=-1;if(null==t){for(;++i=n)for(r=n;++in&&(r=n)}else for(;++i=n)for(r=n;++in&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(u=e.length))return[];for(var t=-1,n=(0,i.default)(e,o),r=new Array(n);++t1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):o(this.node(),e)},t.styleValue=o;var r,u=n(55),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return e.style.getPropertyValue(t)||(0,i.default)(e).getComputedStyle(e,null).getPropertyValue(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.document.documentElement,n=(0,u.select)(e).on("dragstart.drag",o.default,!0);"onselectstart"in t?n.on("selectstart.drag",o.default,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")},t.yesdrag=function(e,t){var n=e.document.documentElement,r=(0,u.select)(e).on("dragstart.drag",null);t&&(r.on("click.drag",o.default,!0),setTimeout(function(){r.on("click.drag",null)},0));"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)};var r,u=n(1),i=n(109),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.deg2rad=Math.PI/180,t.rad2deg=180/Math.PI},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgbBasisClosed=t.rgbBasis=void 0;var r=n(7),u=l(n(61)),i=l(n(112)),o=n(23),a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(t){var n,u,i=t.length,o=new Array(i),a=new Array(i),l=new Array(i);for(n=0;nl&&(u=t.slice(l,u),f[c]?f[c]+=u:f[++c]=u),(n=n[0])===(r=r[0])?f[c]?f[c]+=r:f[++c]=r:(f[++c]=null,s.push({i:c,x:(0,i.default)(n,r)})),l=a.lastIndex;return lr.STARTING&&n.state1?(null==n?d.remove(e):d.set(e,b(n)),t):d.get(e)},find:function(t,n,r){var u,i,o,a,l,c=0,f=e.length;for(null==r?r=1/0:r*=r,c=0;c1?(p.on(e,n),t):p.on(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.grouping&&e.thousands?(0,u.default)(e.grouping,e.thousands):c.default,n=e.currency,f=e.decimal,d=e.numerals?(0,i.default)(e.numerals):c.default,h=e.percent||"%";function p(e){var r=(e=(0,o.default)(e)).fill,u=e.align,i=e.sign,c=e.symbol,p=e.zero,_=e.width,v=e.comma,y=e.precision,b=e.type,g="$"===c?n[0]:"#"===c&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",m="$"===c?n[1]:/[%p]/.test(b)?h:"",M=a.default[b],P=!b||/[defgprs%]/.test(b);function O(e){var n,o,a,c=g,h=m;if("c"===b)h=M(e)+h,e="";else{var O=(e=+e)<0;if(e=M(Math.abs(e),y),O&&0==+e&&(O=!1),c=(O?"("===i?i:"-":"-"===i||"("===i?"":i)+c,h=("s"===b?s[8+l.prefixExponent/3]:"")+h+(O&&"("===i?")":""),P)for(n=-1,o=e.length;++n(a=e.charCodeAt(n))||a>57){h=(46===a?f+e.slice(n+1):e.slice(n))+h,e=e.slice(0,n);break}}v&&!p&&(e=t(e,1/0));var x=c.length+e.length+h.length,j=x<_?new Array(_-x+1).join(r):"";switch(v&&p&&(e=t(j+e,j.length?_-h.length:1/0),j=""),u){case"<":e=c+e+h+j;break;case"=":e=c+j+e+h;break;case"^":e=j.slice(0,x=j.length>>1)+c+e+h+j.slice(x);break;default:e=j+c+e+h}return d(e)}return y=null==y?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),O.toString=function(){return e+""},O}return{format:p,formatPrefix:function(e,t){var n=p(((e=(0,o.default)(e)).type="f",e)),u=3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(t)/3))),i=Math.pow(10,-u),a=s[8+u/3];return function(e){return n(i*e)+a}}}};var r=f(n(38)),u=f(n(317)),i=f(n(318)),o=f(n(124)),a=f(n(125)),l=n(126),c=f(n(321));function f(e){return e&&e.__esModule?e:{default:e}}var s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,u=n(125),i=(r=u)&&r.__esModule?r:{default:r};var o=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function a(e){return new l(e)}function l(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",u=t[3]||"-",a=t[4]||"",l=!!t[5],c=t[6]&&+t[6],f=!!t[7],s=t[8]&&+t[8].slice(1),d=t[9]||"";"n"===d?(f=!0,d="g"):i.default[d]||(d=""),(l||"0"===n&&"="===r)&&(l=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=u,this.symbol=a,this.zero=l,this.width=c,this.comma=f,this.precision=s,this.type=d}a.prototype=l.prototype,l.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(319)),u=o(n(126)),i=o(n(320));function o(e){return e&&e.__esModule?e:{default:e}}t.default={"":r.default,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return(0,i.default)(100*e,t)},r:i.default,s:u.default,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prefixExponent=void 0,t.default=function(e,n){var r=(0,i.default)(e,n);if(!r)return e+"";var u=r[0],o=r[1],a=o-(t.prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,l=u.length;return a===l?u:a>l?u+new Array(a-l+1).join("0"):a>0?u.slice(0,a)+"."+u.slice(a):"0."+new Array(1-a).join("0")+(0,i.default)(e,Math.max(0,n+a-1))[0]};var r,u=n(71),i=(r=u)&&r.__esModule?r:{default:r};t.prefixExponent=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areaStream=t.areaRingSum=void 0,t.default=function(e){return p.reset(),(0,o.default)(e,_),2*p};var r=a(n(19)),u=n(0),i=a(n(11)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,c,f,s,d,h=t.areaRingSum=(0,r.default)(),p=(0,r.default)(),_=t.areaStream={point:i.default,lineStart:i.default,lineEnd:i.default,polygonStart:function(){h.reset(),_.lineStart=v,_.lineEnd=y},polygonEnd:function(){var e=+h;p.add(e<0?u.tau+e:e),this.lineStart=this.lineEnd=this.point=i.default},sphere:function(){p.add(u.tau)}};function v(){_.point=b}function y(){g(l,c)}function b(e,t){_.point=g,l=e,c=t,e*=u.radians,t*=u.radians,f=e,s=(0,u.cos)(t=t/2+u.quarterPi),d=(0,u.sin)(t)}function g(e,t){e*=u.radians,t=(t*=u.radians)/2+u.quarterPi;var n=e-f,r=n>=0?1:-1,i=r*n,o=(0,u.cos)(t),a=(0,u.sin)(t),l=d*a,c=s*o+l*(0,u.cos)(i),p=l*r*(0,u.sin)(i);h.add((0,u.atan2)(p,c)),f=e,s=o,d=a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.circleStream=c,t.default=function(){var e,t,n=(0,o.default)([0,0]),r=(0,o.default)(90),u=(0,o.default)(6),i={point:function(n,r){e.push(n=t(n,r)),n[0]*=a.degrees,n[1]*=a.degrees}};function f(){var o=n.apply(this,arguments),f=r.apply(this,arguments)*a.radians,s=u.apply(this,arguments)*a.radians;return e=[],t=(0,l.rotateRadians)(-o[0]*a.radians,-o[1]*a.radians,0).invert,c(i,f,s,1),o={type:"Polygon",coordinates:[e]},e=t=null,o}return f.center=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.default)([+e[0],+e[1]]),f):n},f.radius=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.default)(+e),f):r},f.precision=function(e){return arguments.length?(u="function"==typeof e?e:(0,o.default)(+e),f):u},f};var r,u=n(24),i=n(328),o=(r=i)&&r.__esModule?r:{default:r},a=n(0),l=n(39);function c(e,t,n,r,i,o){if(n){var l=(0,a.cos)(t),c=(0,a.sin)(t),s=r*n;null==i?(i=t+r*a.tau,o=t-s/2):(i=f(l,i),o=f(l,o),(r>0?io)&&(i+=r*a.tau));for(var d,h=i;r>0?h>o:h0?o.pi:-o.pi,c=(0,o.abs)(i-n);(0,o.abs)(c-o.pi)0?o.halfPi:-o.halfPi),e.point(u,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(i,r),t=0):u!==l&&c>=o.pi&&((0,o.abs)(n-u)o.epsilon?(0,o.atan)(((0,o.sin)(t)*(i=(0,o.cos)(r))*(0,o.sin)(n)-(0,o.sin)(r)*(u=(0,o.cos)(t))*(0,o.sin)(e))/(u*i*a)):(t+r)/2}(n,r,i,a),e.point(u,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=i,r=a),u=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var u;if(null==e)u=n*o.halfPi,r.point(-o.pi,u),r.point(0,u),r.point(o.pi,u),r.point(o.pi,0),r.point(o.pi,-u),r.point(0,-u),r.point(-o.pi,-u),r.point(-o.pi,0),r.point(-o.pi,u);else if((0,o.abs)(e[0]-t[0])>o.epsilon){var i=e[0]0){for(y||(l.polygonStart(),y=!0),l.lineStart(),e=0;e1&&2&u&&i.push(i.pop().concat(i.shift())),d.push(i.filter(c))}return b}};var r=l(n(132)),u=l(n(133)),i=n(0),o=l(n(135)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.length>1}function f(e,t){return((e=e.x)[0]<0?e[1]-i.halfPi-i.epsilon:i.halfPi-e[1])-((t=t.x)[0]<0?t[1]-i.halfPi-i.epsilon:i.halfPi-t[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[];return{point:function(t,n){e.push([t,n])},lineStart:function(){t.push(e=[])},lineEnd:i.default,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}};var r,u=n(11),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){var l,c,f=[],s=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if((0,i.default)(r,a)){for(u.lineStart(),l=0;l=0;--l)u.point((h=d[l])[0],h[1]);else r(_.x,_.p.x,-1,u);_=_.p}d=(_=_.o).z,v=!v}while(!_.v);u.lineEnd()}}};var r,u=n(134),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function a(e){if(t=e.length){for(var t,n,r=0,u=e[0];++r=0?1:-1,E=w*j,S=E>a.pi,k=y*O;if(l.add((0,a.atan2)(k*w*(0,a.sin)(E),b*x+k*(0,a.cos)(E))),i+=S?j+w*a.tau:j,S^_>=n^M>=n){var T=(0,o.cartesianCross)((0,o.cartesian)(p),(0,o.cartesian)(m));(0,o.cartesianNormalizeInPlace)(T);var N=(0,o.cartesianCross)(u,T);(0,o.cartesianNormalizeInPlace)(N);var C=(S^j>=0?-1:1)*(0,a.asin)(N[2]);(r>C||r===C&&(T[0]||T[1]))&&(c+=S^j>=0?1:-1)}}return(i<-a.epsilon||i0,c=(0,i.abs)(t)>i.epsilon;function f(e,n){return(0,i.cos)(e)*(0,i.cos)(n)>t}function s(e,n,u){var o=(0,r.cartesian)(e),a=(0,r.cartesian)(n),l=[1,0,0],c=(0,r.cartesianCross)(o,a),f=(0,r.cartesianDot)(c,c),s=c[0],d=f-s*s;if(!d)return!u&&e;var h=t*f/d,p=-t*s/d,_=(0,r.cartesianCross)(l,c),v=(0,r.cartesianScale)(l,h),y=(0,r.cartesianScale)(c,p);(0,r.cartesianAddInPlace)(v,y);var b=_,g=(0,r.cartesianDot)(v,b),m=(0,r.cartesianDot)(b,b),M=g*g-m*((0,r.cartesianDot)(v,v)-1);if(!(M<0)){var P=(0,i.sqrt)(M),O=(0,r.cartesianScale)(b,(-g-P)/m);if((0,r.cartesianAddInPlace)(O,v),O=(0,r.spherical)(O),!u)return O;var x,j=e[0],w=n[0],E=e[1],S=n[1];w0^O[1]<((0,i.abs)(O[0]-j)i.pi^(j<=O[0]&&O[0]<=w)){var N=(0,r.cartesianScale)(b,(-g+P)/m);return(0,r.cartesianAddInPlace)(N,v),[O,(0,r.spherical)(N)]}}}function d(t,n){var r=l?e:i.pi-e,u=0;return t<-r?u|=1:t>r&&(u|=2),n<-r?u|=4:n>r&&(u|=8),u}return(0,a.default)(f,function(e){var t,n,r,u,a;return{lineStart:function(){u=r=!1,a=1},point:function(h,p){var _,v=[h,p],y=f(h,p),b=l?y?0:d(h,p):y?d(h+(h<0?i.pi:-i.pi),p):0;if(!t&&(u=r=y)&&e.lineStart(),y!==r&&(!(_=s(t,v))||(0,o.default)(t,_)||(0,o.default)(v,_))&&(v[0]+=i.epsilon,v[1]+=i.epsilon,y=f(v[0],v[1])),y!==r)a=0,y?(e.lineStart(),_=s(v,t),e.point(_[0],_[1])):(_=s(t,v),e.point(_[0],_[1]),e.lineEnd()),t=_;else if(c&&t&&l^y){var g;b&n||!(g=s(v,t,!0))||(a=0,l?(e.lineStart(),e.point(g[0][0],g[0][1]),e.point(g[1][0],g[1][1]),e.lineEnd()):(e.point(g[1][0],g[1][1]),e.lineEnd(),e.lineStart(),e.point(g[0][0],g[0][1])))}!y||t&&(0,o.default)(t,v)||e.point(v[0],v[1]),t=v,r=y,n=b},lineEnd:function(){r&&e.lineEnd(),t=null},clean:function(){return a|(u&&r)<<1}}},function(t,r,i,o){(0,u.circleStream)(o,e,n,i,t,r)},l?[0,-e]:[-i.pi,e-i.pi])};var r=n(24),u=n(128),i=n(0),o=l(n(134)),a=l(n(131));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return o[0]=e,o[1]=t,(0,i.default)(a)};var r,u=n(138),i=(r=u)&&r.__esModule?r:{default:r};var o=[null,null],a={type:"LineString",coordinates:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s.reset(),(0,o.default)(e,d),+s};var r=a(n(19)),u=n(0),i=a(n(11)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,c,f,s=(0,r.default)(),d={sphere:i.default,point:i.default,lineStart:function(){d.point=p,d.lineEnd=h},lineEnd:i.default,polygonStart:i.default,polygonEnd:i.default};function h(){d.point=d.lineEnd=i.default}function p(e,t){e*=u.radians,t*=u.radians,l=e,c=(0,u.sin)(t),f=(0,u.cos)(t),d.point=_}function _(e,t){e*=u.radians,t*=u.radians;var n=(0,u.sin)(t),r=(0,u.cos)(t),i=(0,u.abs)(e-l),o=(0,u.cos)(i),a=r*(0,u.sin)(i),d=f*n-c*r*o,h=c*n+f*r*o;s.add((0,u.atan2)((0,u.sqrt)(a*a+d*d),h)),l=e,c=n,f=r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(11),i=(r=u)&&r.__esModule?r:{default:r};var o=1/0,a=o,l=-o,c=l,f={point:function(e,t){el&&(l=e);tc&&(c=t)},lineStart:i.default,lineEnd:i.default,polygonStart:i.default,polygonEnd:i.default,result:function(){var e=[[o,a],[l,c]];return l=c=-(a=o=1/0),e}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var r,u=n(73),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equirectangularRaw=o,t.default=function(){return(0,i.default)(o).scale(152.63)};var r,u=n(8),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return[e,t]}o.invert=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packEnclose=f,t.default=function(e){return f(e),e};var r,u=n(143),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n){var r=e.x,u=e.y,i=t.r+n.r,o=e.r+n.r,a=t.x-r,l=t.y-u,c=a*a+l*l;if(c){var f=.5+((o*=o)-(i*=i))/(2*c),s=Math.sqrt(Math.max(0,2*i*(o+c)-(o-=c)*o-i*i))/(2*c);n.x=r+f*a+s*l,n.y=u+f*l-s*a}else n.x=r+o,n.y=u}function a(e,t){var n=t.x-e.x,r=t.y-e.y,u=e.r+t.r;return u*u-1e-6>n*n+r*r}function l(e){var t=e._,n=e.next._,r=t.r+n.r,u=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return u*u+i*i}function c(e){this._=e,this.next=null,this.previous=null}function f(e){if(!(u=e.length))return 0;var t,n,r,u,f,s,d,h,p,_,v;if((t=e[0]).x=0,t.y=0,!(u>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(u>2))return t.r+n.r;o(n,t,r=e[2]),t=new c(t),n=new c(n),r=new c(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(d=3;d0&&n*n>r*r+u*u}function a(e,t){for(var n=0;n1);return e+n*i*Math.sqrt(-2*Math.log(u)/u)}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){for(var n=0,r=0;r=12)]},Q:_e,s:ve,S:B,u:Y,U:H,V:X,w:V,W:W,x:null,X:null,y:Z,Y:$,Z:G,"%":pe},ke={a:function(e){return s[e.getUTCDay()]},A:function(e){return f[e.getUTCDay()]},b:function(e){return ye[e.getUTCMonth()]},B:function(e){return d[e.getUTCMonth()]},c:null,d:Q,e:Q,f:ne,H:J,I:K,j:ee,L:te,m:re,M:ue,p:function(e){return c[+(e.getUTCHours()>=12)]},Q:_e,s:ve,S:ie,u:oe,U:ae,V:le,w:ce,W:fe,x:null,X:null,y:se,Y:de,Z:he,"%":pe},Te={a:function(e,t,n){var r=Pe.exec(t.slice(n));return r?(e.w=Oe[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=me.exec(t.slice(n));return r?(e.w=Me[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=we.exec(t.slice(n));return r?(e.m=Ee[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=xe.exec(t.slice(n));return r?(e.m=je[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return Ae(e,t,n,r)},d:x,e:x,f:T,H:w,I:w,j:j,L:k,m:O,M:E,p:function(e,t,n){var r=be.exec(t.slice(n));return r?(e.p=ge[r[0].toLowerCase()],n+r[0].length):-1},Q:C,s:A,S:S,u:v,U:y,V:b,w:_,W:g,x:function(e,t,r){return Ae(e,n,t,r)},X:function(e,t,n){return Ae(e,l,t,n)},y:M,Y:m,Z:P,"%":N};function Ne(e,t){return function(n){var r,u,i,o=[],l=-1,c=0,f=e.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in l||(l.w=1),"Z"in l?(u=i(o(l.y)),a=u.getUTCDay(),u=a>4||0===a?r.utcMonday.ceil(u):(0,r.utcMonday)(u),u=r.utcDay.offset(u,7*(l.V-1)),l.y=u.getUTCFullYear(),l.m=u.getUTCMonth(),l.d=u.getUTCDate()+(l.w+6)%7):(u=t(o(l.y)),a=u.getDay(),u=a>4||0===a?r.timeMonday.ceil(u):(0,r.timeMonday)(u),u=r.timeDay.offset(u,7*(l.V-1)),l.y=u.getFullYear(),l.m=u.getMonth(),l.d=u.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),a="Z"in l?i(o(l.y)).getUTCDay():t(o(l.y)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(a+5)%7:l.w+7*l.U-(a+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,i(l)):t(l)}}function Ae(e,t,n,r){for(var u,i,o=0,l=t.length,c=n.length;o=c)return-1;if(37===(u=t.charCodeAt(o++))){if(u=t.charAt(o++),!(i=Te[u in a?t.charAt(o++):u])||(r=i(e,n,r))<0)return-1}else if(u!=n.charCodeAt(r++))return-1}return r}return Se.x=Ne(n,Se),Se.X=Ne(l,Se),Se.c=Ne(t,Se),ke.x=Ne(n,ke),ke.X=Ne(l,ke),ke.c=Ne(t,ke),{format:function(e){var t=Ne(e+="",Se);return t.toString=function(){return e},t},parse:function(e){var t=Ce(e+="",u);return t.toString=function(){return e},t},utcFormat:function(e){var t=Ne(e+="",ke);return t.toString=function(){return e},t},utcParse:function(e){var t=Ce(e,i);return t.toString=function(){return e},t}}};var r=n(45);function u(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function i(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var a={"-":"",_:" ",0:"0"},l=/^\s*\d+/,c=/^%/,f=/[\\^$*+?|[\]().{}]/g;function s(e,t,n){var r=e<0?"-":"",u=(r?-e:e)+"",i=u.length;return r+(i68?1900:2e3),n+r[0].length):-1}function P(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function O(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function x(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function j(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function w(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function E(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function S(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function k(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function T(e,t,n){var r=l.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function N(e,t,n){var r=c.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function C(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function A(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function R(e,t){return s(e.getDate(),t,2)}function z(e,t){return s(e.getHours(),t,2)}function q(e,t){return s(e.getHours()%12||12,t,2)}function I(e,t){return s(1+r.timeDay.count((0,r.timeYear)(e),e),t,3)}function D(e,t){return s(e.getMilliseconds(),t,3)}function L(e,t){return D(e,t)+"000"}function U(e,t){return s(e.getMonth()+1,t,2)}function F(e,t){return s(e.getMinutes(),t,2)}function B(e,t){return s(e.getSeconds(),t,2)}function Y(e){var t=e.getDay();return 0===t?7:t}function H(e,t){return s(r.timeSunday.count((0,r.timeYear)(e),e),t,2)}function X(e,t){var n=e.getDay();return e=n>=4||0===n?(0,r.timeThursday)(e):r.timeThursday.ceil(e),s(r.timeThursday.count((0,r.timeYear)(e),e)+(4===(0,r.timeYear)(e).getDay()),t,2)}function V(e){return e.getDay()}function W(e,t){return s(r.timeMonday.count((0,r.timeYear)(e),e),t,2)}function Z(e,t){return s(e.getFullYear()%100,t,2)}function $(e,t){return s(e.getFullYear()%1e4,t,4)}function G(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+s(t/60|0,"0",2)+s(t%60,"0",2)}function Q(e,t){return s(e.getUTCDate(),t,2)}function J(e,t){return s(e.getUTCHours(),t,2)}function K(e,t){return s(e.getUTCHours()%12||12,t,2)}function ee(e,t){return s(1+r.utcDay.count((0,r.utcYear)(e),e),t,3)}function te(e,t){return s(e.getUTCMilliseconds(),t,3)}function ne(e,t){return te(e,t)+"000"}function re(e,t){return s(e.getUTCMonth()+1,t,2)}function ue(e,t){return s(e.getUTCMinutes(),t,2)}function ie(e,t){return s(e.getUTCSeconds(),t,2)}function oe(e){var t=e.getUTCDay();return 0===t?7:t}function ae(e,t){return s(r.utcSunday.count((0,r.utcYear)(e),e),t,2)}function le(e,t){var n=e.getUTCDay();return e=n>=4||0===n?(0,r.utcThursday)(e):r.utcThursday.ceil(e),s(r.utcThursday.count((0,r.utcYear)(e),e)+(4===(0,r.utcYear)(e).getUTCDay()),t,2)}function ce(e){return e.getUTCDay()}function fe(e,t){return s(r.utcMonday.count((0,r.utcYear)(e),e),t,2)}function se(e,t){return s(e.getUTCFullYear()%100,t,2)}function de(e,t){return s(e.getUTCFullYear()%1e4,t,4)}function he(){return"+0000"}function pe(){return"%"}function _e(e){return+e}function ve(e){return Math.floor(+e/1e3)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isoSpecifier=void 0;var r=n(83),u=t.isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ";var i=Date.prototype.toISOString?function(e){return e.toISOString()}:(0,r.utcFormat)(u);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.x,t=null,n=(0,u.default)(0),l=a.y,c=(0,u.default)(!0),f=null,s=i.default,d=null;function h(u){var i,o,a,h,p,_=u.length,v=!1,y=new Array(_),b=new Array(_);for(null==f&&(d=s(p=(0,r.path)())),i=0;i<=_;++i){if(!(i<_&&c(h=u[i],i,u))===v)if(v=!v)o=i,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),a=i-1;a>=o;--a)d.point(y[a],b[a]);d.lineEnd(),d.areaEnd()}v&&(y[i]=+e(h,i,u),b[i]=+n(h,i,u),d.point(t?+t(h,i,u):y[i],l?+l(h,i,u):b[i]))}if(p)return d=null,p+""||null}function p(){return(0,o.default)().defined(c).curve(s).context(f)}return h.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,u.default)(+n),t=null,h):e},h.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,u.default)(+t),h):e},h.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,u.default)(+e),h):t},h.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)(+e),l=null,h):n},h.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)(+e),h):n},h.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,u.default)(+e),h):l},h.lineX0=h.lineY0=function(){return p().x(e).y(n)},h.lineY1=function(){return p().x(e).y(l)},h.lineX1=function(){return p().x(t).y(n)},h.defined=function(e){return arguments.length?(c="function"==typeof e?e:(0,u.default)(!!e),h):c},h.curve=function(e){return arguments.length?(s=e,null!=f&&(d=s(f)),h):s},h.context=function(e){return arguments.length?(null==e?f=d=null:d=s(f=e),h):f},h};var r=n(13),u=l(n(16)),i=l(n(46)),o=l(n(84)),a=n(85);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.curveRadialLinear=void 0,t.default=a;var r,u=n(46),i=(r=u)&&r.__esModule?r:{default:r};t.curveRadialLinear=a(i.default);function o(e){this._curve=e}function a(e){function t(t){return new o(e(t))}return t._curve=e,t}o.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineRadial=a,t.default=function(){return a((0,i.default)().curve(r.curveRadialLinear))};var r=n(156),u=o(r),i=o(n(84));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t((0,u.default)(e)):t()._curve},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=Array.prototype.slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);t.default={draw:function(e,t){var n=Math.sqrt(t/r.pi);e.moveTo(n,0),e.arc(0,0,n,0,r.tau)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(1/3),u=2*r;t.default={draw:function(e,t){var n=Math.sqrt(t/u),i=n*r;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),u=Math.sin(r.pi/10)/Math.sin(7*r.pi/10),i=Math.sin(r.tau/10)*u,o=-Math.cos(r.tau/10)*u;t.default={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),u=i*n,a=o*n;e.moveTo(0,-n),e.lineTo(u,a);for(var l=1;l<5;++l){var c=r.tau*l/5,f=Math.cos(c),s=Math.sin(c);e.lineTo(s*n,-f*n),e.lineTo(f*u-s*a,s*u+f*a)}e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(3);t.default={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=-.5,u=Math.sqrt(3)/2,i=1/Math.sqrt(12),o=3*(i/2+1);t.default={draw:function(e,t){var n=Math.sqrt(t/o),a=n/2,l=n*i,c=a,f=n*i+n,s=-c,d=f;e.moveTo(a,l),e.lineTo(c,f),e.lineTo(s,d),e.lineTo(r*a-u*l,u*a+r*l),e.lineTo(r*c-u*f,u*c+r*f),e.lineTo(r*s-u*d,u*s+r*d),e.lineTo(r*a+u*l,r*l-u*a),e.lineTo(r*c+u*f,r*f-u*c),e.lineTo(r*s+u*d,r*d-u*s),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalClosed=a;var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r},o=n(49);function a(e,t){this._context=e,this._k=(1-t)/6}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new a(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalOpen=u;var r=n(49);function u(e,t){this._context=e,this._k=(1-t)/6}u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,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:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new u(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCell=function(e){return u.cells[e.index]={site:e,halfedges:[]}},t.cellHalfedgeStart=o,t.cellHalfedgeEnd=a,t.sortCellHalfedges=function(){for(var e,t,n,r,o=0,a=u.cells.length;ou.epsilon||Math.abs(g-v)>u.epsilon)&&(d.splice(s,0,u.edges.push((0,r.createBorderEdge)(f,y,Math.abs(b-e)u.epsilon?[e,Math.abs(_-e)u.epsilon?[Math.abs(v-i)u.epsilon?[n,Math.abs(_-n)u.epsilon?[Math.abs(v-t)=-u.epsilon2)return;var y=d*d+h*h,b=p*p+_*_,g=(_*y-h*b)/v,m=(d*b-p*y)/v,M=i.pop()||new function(){(0,r.RedBlackNode)(this),this.x=this.y=this.arc=this.site=this.cy=null};M.arc=e,M.site=l,M.x=g+f,M.y=(M.cy=m+s)+Math.sqrt(g*g+m*m),e.circle=M;var P=null,O=u.circles._;for(;O;)if(M.y build/package.js && node rollup.node",test:"tape 'test/**/*-test.js'",prepublishOnly:'npm run test && rollup -c --banner "$(preamble)" && uglifyjs -b beautify=false,preamble="\'$(preamble)\'" build/d3.js -c negate_iife=false -m -o build/d3.min.js',postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/build/d3.js d3.v4.js && cp ../d3/build/d3.min.js d3.v4.min.js && git add d3.v4.js d3.v4.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/build/d3.js ../d3/build/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m "${npm_package_version}" && git tag -am "${npm_package_version}" v${npm_package_version} && git push && git push --tags && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.min.js'},t.devDependencies={json2module:"0.0","package-preamble":"0.1",rimraf:"2",rollup:"0.53","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3",tape:"4","uglify-js":"3.2"},t.dependencies={"d3-array":"1.2.1","d3-axis":"1.0.8","d3-brush":"1.0.4","d3-chord":"1.0.4","d3-collection":"1.0.4","d3-color":"1.0.3","d3-dispatch":"1.0.3","d3-drag":"1.2.1","d3-dsv":"1.0.8","d3-ease":"1.0.3","d3-force":"1.1.0","d3-format":"1.2.2","d3-geo":"1.9.1","d3-hierarchy":"1.1.5","d3-interpolate":"1.1.6","d3-path":"1.0.5","d3-polygon":"1.0.3","d3-quadtree":"1.0.3","d3-queue":"3.0.7","d3-random":"1.1.0","d3-request":"1.0.6","d3-scale":"1.0.7","d3-selection":"1.3.0","d3-shape":"1.2.0","d3-time":"1.0.8","d3-time-format":"2.1.1","d3-timer":"1.0.7","d3-transition":"1.1.1","d3-voronoi":"1.1.2","d3-zoom":"1.7.1"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var u,i,o,a,l=e.length,c=t.length,f=new Array(l*c);for(null==n&&(n=r.pair),u=o=0;ue?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.default,t=o.default,n=f.default;function s(r){var i,o,a=r.length,f=new Array(a);for(i=0;ih;)p.pop(),--_;var v,y=new Array(_+1);for(i=0;i<=_;++i)(v=y[i]=[]).x0=i>0?p[i-1]:d,v.x1=i<_?p[i]:h;for(i=0;i=n)for(r=n;++ir&&(r=n)}else for(;++i=n)for(r=n;++ir&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=e.length,u=r,o=-1,a=0;if(null==t)for(;++o=0;)for(t=(r=e[u]).length;--t>=0;)n[--o]=r[t];return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(n=e.length){var n,r,u=0,o=0,a=e[o];for(null==t&&(t=i.default);++u0&&(n=r-E),U<0?j=w-T:U>0&&(i=l-T),D=p,K.attr("cursor",m.selection),ne());break;default:return}(0,s.default)()},!0).on("keyup.brush",function(){switch(o.event.keyCode){case 16:Z&&(R=z=Z=!1,ne());break;case 18:D===v&&(L<0?c=g:L>0&&(n=r),U<0?j=w:U>0&&(i=l),D=_,ne());break;case 32:D===p&&(o.event.altKey?(L&&(c=g-E*L,n=r+E*L),U&&(j=w-T*U,i=l+T*U),D=v):(L<0?c=g:L>0&&(n=r),U<0?j=w:U>0&&(i=l),D=_),K.attr("cursor",m[I]),ne());break;default:return}(0,s.default)()},!0).on("mousemove.brush",te,!0).on("mouseup.brush",re,!0);(0,u.dragDisable)(o.event.view)}(0,f.nopropagation)(),(0,a.interrupt)(q),C.call(q),Q.start()}function te(){var e=(0,o.mouse)(q);!Z||R||z||(Math.abs(e[0]-G[0])>Math.abs(e[1]-G[1])?z=!0:R=!0),G=e,N=!0,(0,s.default)(),ne()}function ne(){var e;switch(E=G[0]-$[0],T=G[1]-$[1],D){case p:case h:L&&(E=Math.max(H-n,Math.min(V-c,E)),r=n+E,g=c+E),U&&(T=Math.max(X-i,Math.min(W-j,T)),l=i+T,w=j+T);break;case _:L<0?(E=Math.max(H-n,Math.min(V-n,E)),r=n+E,g=c):L>0&&(E=Math.max(H-c,Math.min(V-c,E)),r=n,g=c+E),U<0?(T=Math.max(X-i,Math.min(W-i,T)),l=i+T,w=j):U>0&&(T=Math.max(X-j,Math.min(W-j,T)),l=i,w=j+T);break;case v:L&&(r=Math.max(H,Math.min(V,n-E*L)),g=Math.max(H,Math.min(V,c+E*L))),U&&(l=Math.max(X,Math.min(W,i-T*U)),w=Math.max(X,Math.min(W,j+T*U)))}g=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),l=-1,c=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++l0)for(var n,r,u=new Array(n),i=0;iO}m.mouse("drag")}function E(){(0,u.select)(u.event.view).on("mousemove.drag mouseup.drag",null),(0,i.yesdrag)(u.event.view,n),(0,l.default)(),m.mouse("end")}function S(){if(v.apply(this,arguments)){var e,t,n=u.event.changedTouches,r=y.apply(this,arguments),i=n.length;for(e=0;e=x&&(x=O+1);!(P=m[x])&&++x=0;)(r=u[i])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=u);for(var n=this._groups,i=n.length,o=new Array(i),a=0;at?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this._groups,t=0,n=e.length;t1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]}},function(e,t,n){"use strict";function r(e){return e.trim().split(/^|\s+/)}function u(e){return e.classList||new i(e)}function i(e){this._node=e,this._names=r(e.getAttribute("class")||"")}function o(e,t){for(var n=u(e),r=-1,i=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}},function(e,t,n){"use strict";function r(){this.textContent=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent}},function(e,t,n){"use strict";function r(){this.innerHTML=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML}},function(e,t,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t="function"==typeof e?e:(0,i.default)(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})};var r,u=n(33),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n="function"==typeof e?e:(0,r.default)(e),i=null==t?o:"function"==typeof t?t:(0,u.default)(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})};var r=i(n(33)),u=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return null}},function(e,t,n){"use strict";function r(){var e=this.parentNode;e&&e.removeChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function u(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.select(e?u:r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.property("__data__",e):this.node().__data__}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return o(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return o(this,e,t)}})(e,t))};var r,u=n(55),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n){var r=(0,i.default)(e),u=r.CustomEvent;"function"==typeof u?u=new u(t,n):(u=r.document.createEvent("Event"),n?(u.initEvent(t,n.bubbles,n.cancelable),u.detail=n.detail):u.initEvent(t,!1,!1)),e.dispatchEvent(u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=0;function u(){return new i}function i(){this._="@"+(++r).toString(36)}i.prototype=u.prototype={constructor:i,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)();return t.changedTouches&&(t=t.changedTouches[0]),(0,u.default)(e,t)};var r=i(n(57)),u=i(n(34));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e?new r.Selection([document.querySelectorAll(e)],[document.documentElement]):new r.Selection([null==e?[]:e],r.root)};var r=n(4)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){arguments.length<3&&(n=t,t=(0,r.default)().changedTouches);for(var i,o=0,a=t?t.length:0;op?Math.pow(e,1/3):e/h+s}function g(e){return e>d?e*e*e:h*(e-s)}function m(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function M(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function P(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof O)return new O(e.h,e.c,e.l,e.opacity);e instanceof y||(e=_(e));var t=Math.atan2(e.b,e.a)*a.rad2deg;return new O(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new O(e,t,n,null==r?1:r)}function O(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}(0,i.default)(y,v,(0,u.extend)(o.Color,{brighter:function(e){return new y(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new y(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=c*g(e),t=l*g(t),n=f*g(n),new o.Rgb(m(3.2404542*t-1.5371385*e-.4985314*n),m(-.969266*t+1.8760108*e+.041556*n),m(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),(0,i.default)(O,P,(0,u.extend)(o.Color,{brighter:function(e){return new O(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new O(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return _(this).rgb()}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,t.Cubehelix=y;var r,u=n(60),i=(r=u)&&r.__esModule?r:{default:r},o=n(59),a=n(110);var l=-.14861,c=1.78277,f=-.29227,s=-.90649,d=1.97294,h=d*s,p=d*c,_=c*f-s*l;function v(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof y)return new y(e.h,e.s,e.l,e.opacity);e instanceof o.Rgb||(e=(0,o.rgbConvert)(e));var t=e.r/255,n=e.g/255,r=e.b/255,u=(_*r+h*t-p*n)/(_+h-p),i=r-u,l=(d*(n-u)-f*i)/s,c=Math.sqrt(l*l+i*i)/(d*u*(1-u)),v=c?Math.atan2(l,i)*a.rad2deg-120:NaN;return new y(v<0?v+360:v,c,u,e.opacity)}(e):new y(e,t,n,null==r?1:r)}function y(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,i.default)(y,v,(0,u.extend)(o.Color,{brighter:function(e){return e=null==e?o.brighter:Math.pow(o.brighter,e),new y(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?o.darker:Math.pow(o.darker,e),new y(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*a.deg2rad,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),u=Math.sin(e);return new o.Rgb(255*(t+n*(l*r+c*u)),255*(t+n*(f*r+s*u)),255*(t+n*(d*r)),this.opacity)}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateTransformSvg=t.interpolateTransformCss=void 0;var r,u=n(35),i=(r=u)&&r.__esModule?r:{default:r},o=n(239);function a(e,t,n,r){function u(e){return e.length?e.pop()+" ":""}return function(o,a){var l=[],c=[];return o=e(o),a=e(a),function(e,r,u,o,a,l){if(e!==u||r!==o){var c=a.push("translate(",null,t,null,n);l.push({i:c-4,x:(0,i.default)(e,u)},{i:c-2,x:(0,i.default)(r,o)})}else(u||o)&&a.push("translate("+u+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,l,c),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(u(n)+"rotate(",null,r)-2,x:(0,i.default)(e,t)})):t&&n.push(u(n)+"rotate("+t+r)}(o.rotate,a.rotate,l,c),function(e,t,n,o){e!==t?o.push({i:n.push(u(n)+"skewX(",null,r)-2,x:(0,i.default)(e,t)}):t&&n.push(u(n)+"skewX("+t+r)}(o.skewX,a.skewX,l,c),function(e,t,n,r,o,a){if(e!==n||t!==r){var l=o.push(u(o)+"scale(",null,",",null,")");a.push({i:l-4,x:(0,i.default)(e,n)},{i:l-2,x:(0,i.default)(t,r)})}else 1===n&&1===r||o.push(u(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,l,c),o=a=null,function(e){for(var t,n=-1,r=c.length;++n=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?r.init:r.set;return function(){var r=o(this,e),a=r.on;a!==u&&(i=(u=a).copy()).on(t,n),r.on=i}}(n,e,t))};var r=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=(0,u.selector)(e));for(var r=this._groups,l=r.length,c=new Array(l),f=0;fu.SCHEDULED&&n.name===t)return new r.Transition([[e]],i,t,+o);return null};var r=n(10),u=n(6),i=[null]},function(e,t,n){"use strict";var r=n(1),u=o(n(267)),i=o(n(268));function o(e){return e&&e.__esModule?e:{default:e}}r.selection.prototype.interrupt=u.default,r.selection.prototype.transition=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.each(function(){(0,i.default)(this,e)})};var r,u=n(119),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;e instanceof u.Transition?(t=e._id,e=e._name):(t=(0,u.newId)(),(n=c).time=(0,l.now)(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a1e-6)if(Math.abs(s*l-c*f)>1e-6&&i){var h=n-o,p=u-a,_=l*l+c*c,v=h*h+p*p,y=Math.sqrt(_),b=Math.sqrt(d),g=i*Math.tan((r-Math.acos((_+d-v)/(2*y*b)))/2),m=g/b,M=g/y;Math.abs(m-1)>1e-6&&(this._+="L"+(e+m*f)+","+(t+m*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>f*p)+","+(this._x1=e+M*l)+","+(this._y1=t+M*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,a,l){e=+e,t=+t;var c=(n=+n)*Math.cos(o),f=n*Math.sin(o),s=e+c,d=t+f,h=1^l,p=l?o-a:a-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+d:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+s+","+d),n&&(p<0&&(p=p%u+u),p>i?this._+="A"+n+","+n+",0,1,"+h+","+(e-c)+","+(t-f)+"A"+n+","+n+",0,1,"+h+","+(this._x1=s)+","+(this._y1=d):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+h+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n,r=[],u=[];function f(n,u,o,a){if(u>=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,c,s,d=-1,h=n.length,p=r[u++],_=(0,i.default)(),v=o();++dr.length)return n;var o,a=u[i-1];return null!=t&&i>=r.length?o=n.entries():(o=[],n.each(function(t,n){o.push({key:n,values:e(t,i)})})),null!=a?o.sort(function(e,t){return a(e.key,t.key)}):o}(f(e,0,l,c),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return u[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}};var r,u=n(64),i=(r=u)&&r.__esModule?r:{default:r};function o(){return{}}function a(e,t,n){e[t]=n}function l(){return(0,i.default)()}function c(e,t,n){e.set(t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(64);function i(){}var o=((r=u)&&r.__esModule?r:{default:r}).default.prototype;function a(e,t){var n=new i;if(e instanceof i)e.each(function(e){n.add(e)});else if(e){var r=-1,u=e.length;if(null==t)for(;++rd+c||rh+c||if.index){var s=d-a.x-a.vx,v=h-a.y-a.vy,y=s*s+v*v;ye.r&&(e.r=e[t].r)}function d(){if(t){var r,u,i=t.length;for(n=new Array(i),r=0;r=(i=(_+y)/2))?_=i:y=i,(f=n>=(o=(v+b)/2))?v=o:b=o,u=h,!(h=h[s=f<<1|c]))return u[s]=p,e;if(a=+e._x.call(null,h.data),l=+e._y.call(null,h.data),t===a&&n===l)return p.next=h,u?u[s]=p:e._root=p,e;do{u=u?u[s]=new Array(4):e._root=new Array(4),(c=t>=(i=(_+y)/2))?_=i:y=i,(f=n>=(o=(v+b)/2))?v=o:b=o}while((s=f<<1|c)==(d=(l>=o)<<1|a>=i));return u[d]=h,u[s]=p,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return r(this.cover(t,n),t,n,e)},t.addAll=function(e){var t,n,u,i,o=e.length,a=new Array(o),l=new Array(o),c=1/0,f=1/0,s=-1/0,d=-1/0;for(n=0;ns&&(s=u),id&&(d=i));se||e>u||r>t||t>i))return this;var o,a,l=u-n,c=this._root;switch(a=(t<(r+i)/2)<<1|e<(n+u)/2){case 0:do{(o=new Array(4))[a]=c,c=o}while(i=r+(l*=2),e>(u=n+l)||t>i);break;case 1:do{(o=new Array(4))[a]=c,c=o}while(i=r+(l*=2),(n=u-l)>e||t>i);break;case 2:do{(o=new Array(4))[a]=c,c=o}while(r=i-(l*=2),e>(u=n+l)||r>t);break;case 3:do{(o=new Array(4))[a]=c,c=o}while(r=i-(l*=2),(n=u-l)>e||r>t)}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=u,this._y1=i,this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,u,o,a,l,c,f,s=this._x0,d=this._y0,h=this._x1,p=this._y1,_=[],v=this._root;for(v&&_.push(new i.default(v,s,d,h,p)),null==n?n=1/0:(s=e-n,d=t-n,h=e+n,p=t+n,n*=n);c=_.pop();)if(!(!(v=c.node)||(u=c.x0)>h||(o=c.y0)>p||(a=c.x1)=b)<<1|e>=y)&&(c=_[_.length-1],_[_.length-1]=_[_.length-1-f],_[_.length-1-f]=c)}else{var g=e-+this._x.call(null,v.data),m=t-+this._y.call(null,v.data),M=g*g+m*m;if(M=(a=(p+v)/2))?p=a:v=a,(f=o>=(l=(_+y)/2))?_=l:y=l,t=h,!(h=h[s=f<<1|c]))return this;if(!h.length)break;(t[s+1&3]||t[s+2&3]||t[s+3&3])&&(n=t,d=s)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(u=h.next)&&delete h.next,r?(u?r.next=u:delete r.next,this):t?(u?t[s]=u:delete t[s],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=u,this)},t.removeAll=function(e){for(var t=0,n=e.length;t=f)){(e.data!==t||e.next)&&(0===l&&(p+=(l=(0,u.default)())*l),0===d&&(p+=(d=(0,u.default)())*d),p0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),i.push(n.substring(u-=a,u+a)),!((l+=a+1)>r));)a=e[o=(o+1)%e.length];return i.reverse().join(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e:for(var n,r=(e=e.toPrecision(t)).length,u=1,i=-1;u0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e,t);if(!n)return e+"";var r=n[0],u=n[1];return u<0?"0."+new Array(-u).join("0")+r:r.length>u+1?r.slice(0,u+1)+"."+r.slice(u+1):r+new Array(u-r.length+2).join("0")};var r,u=n(71),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max(0,-(0,i.default)(Math.abs(e)))};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,i.default)(t)/3)))-(0,i.default)(Math.abs(e)))};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,i.default)(t)-(0,i.default)(e))+1};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(127);Object.defineProperty(t,"geoArea",{enumerable:!0,get:function(){return q(r).default}});var u=n(326);Object.defineProperty(t,"geoBounds",{enumerable:!0,get:function(){return q(u).default}});var i=n(327);Object.defineProperty(t,"geoCentroid",{enumerable:!0,get:function(){return q(i).default}});var o=n(128);Object.defineProperty(t,"geoCircle",{enumerable:!0,get:function(){return q(o).default}});var a=n(130);Object.defineProperty(t,"geoClipAntimeridian",{enumerable:!0,get:function(){return q(a).default}});var l=n(136);Object.defineProperty(t,"geoClipCircle",{enumerable:!0,get:function(){return q(l).default}});var c=n(329);Object.defineProperty(t,"geoClipExtent",{enumerable:!0,get:function(){return q(c).default}});var f=n(40);Object.defineProperty(t,"geoClipRectangle",{enumerable:!0,get:function(){return q(f).default}});var s=n(331);Object.defineProperty(t,"geoContains",{enumerable:!0,get:function(){return q(s).default}});var d=n(137);Object.defineProperty(t,"geoDistance",{enumerable:!0,get:function(){return q(d).default}});var h=n(332);Object.defineProperty(t,"geoGraticule",{enumerable:!0,get:function(){return q(h).default}}),Object.defineProperty(t,"geoGraticule10",{enumerable:!0,get:function(){return h.graticule10}});var p=n(333);Object.defineProperty(t,"geoInterpolate",{enumerable:!0,get:function(){return q(p).default}});var _=n(138);Object.defineProperty(t,"geoLength",{enumerable:!0,get:function(){return q(_).default}});var v=n(334);Object.defineProperty(t,"geoPath",{enumerable:!0,get:function(){return q(v).default}});var y=n(140);Object.defineProperty(t,"geoAlbers",{enumerable:!0,get:function(){return q(y).default}});var b=n(342);Object.defineProperty(t,"geoAlbersUsa",{enumerable:!0,get:function(){return q(b).default}});var g=n(343);Object.defineProperty(t,"geoAzimuthalEqualArea",{enumerable:!0,get:function(){return q(g).default}}),Object.defineProperty(t,"geoAzimuthalEqualAreaRaw",{enumerable:!0,get:function(){return g.azimuthalEqualAreaRaw}});var m=n(344);Object.defineProperty(t,"geoAzimuthalEquidistant",{enumerable:!0,get:function(){return q(m).default}}),Object.defineProperty(t,"geoAzimuthalEquidistantRaw",{enumerable:!0,get:function(){return m.azimuthalEquidistantRaw}});var M=n(345);Object.defineProperty(t,"geoConicConformal",{enumerable:!0,get:function(){return q(M).default}}),Object.defineProperty(t,"geoConicConformalRaw",{enumerable:!0,get:function(){return M.conicConformalRaw}});var P=n(73);Object.defineProperty(t,"geoConicEqualArea",{enumerable:!0,get:function(){return q(P).default}}),Object.defineProperty(t,"geoConicEqualAreaRaw",{enumerable:!0,get:function(){return P.conicEqualAreaRaw}});var O=n(346);Object.defineProperty(t,"geoConicEquidistant",{enumerable:!0,get:function(){return q(O).default}}),Object.defineProperty(t,"geoConicEquidistantRaw",{enumerable:!0,get:function(){return O.conicEquidistantRaw}});var x=n(141);Object.defineProperty(t,"geoEquirectangular",{enumerable:!0,get:function(){return q(x).default}}),Object.defineProperty(t,"geoEquirectangularRaw",{enumerable:!0,get:function(){return x.equirectangularRaw}});var j=n(347);Object.defineProperty(t,"geoGnomonic",{enumerable:!0,get:function(){return q(j).default}}),Object.defineProperty(t,"geoGnomonicRaw",{enumerable:!0,get:function(){return j.gnomonicRaw}});var w=n(348);Object.defineProperty(t,"geoIdentity",{enumerable:!0,get:function(){return q(w).default}});var E=n(8);Object.defineProperty(t,"geoProjection",{enumerable:!0,get:function(){return q(E).default}}),Object.defineProperty(t,"geoProjectionMutator",{enumerable:!0,get:function(){return E.projectionMutator}});var S=n(76);Object.defineProperty(t,"geoMercator",{enumerable:!0,get:function(){return q(S).default}}),Object.defineProperty(t,"geoMercatorRaw",{enumerable:!0,get:function(){return S.mercatorRaw}});var k=n(349);Object.defineProperty(t,"geoNaturalEarth1",{enumerable:!0,get:function(){return q(k).default}}),Object.defineProperty(t,"geoNaturalEarth1Raw",{enumerable:!0,get:function(){return k.naturalEarth1Raw}});var T=n(350);Object.defineProperty(t,"geoOrthographic",{enumerable:!0,get:function(){return q(T).default}}),Object.defineProperty(t,"geoOrthographicRaw",{enumerable:!0,get:function(){return T.orthographicRaw}});var N=n(351);Object.defineProperty(t,"geoStereographic",{enumerable:!0,get:function(){return q(N).default}}),Object.defineProperty(t,"geoStereographicRaw",{enumerable:!0,get:function(){return N.stereographicRaw}});var C=n(352);Object.defineProperty(t,"geoTransverseMercator",{enumerable:!0,get:function(){return q(C).default}}),Object.defineProperty(t,"geoTransverseMercatorRaw",{enumerable:!0,get:function(){return C.transverseMercatorRaw}});var A=n(39);Object.defineProperty(t,"geoRotation",{enumerable:!0,get:function(){return q(A).default}});var R=n(14);Object.defineProperty(t,"geoStream",{enumerable:!0,get:function(){return q(R).default}});var z=n(41);function q(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"geoTransform",{enumerable:!0,get:function(){return q(z).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,u,i,o,l;if(d=s=-(c=f=1/0),y=[],(0,a.default)(e,m),n=y.length){for(y.sort(k),t=1,i=[r=y[0]];tS(r[0],r[1])&&(r[1]=u[1]),S(u[0],r[1])>S(r[0],r[1])&&(r[0]=u[0])):i.push(r=u);for(o=-1/0,t=0,r=i[n=i.length-1];t<=n;r=u,++t)u=i[t],(l=S(r[1],u[0]))>o&&(o=l,c=u[0],s=r[1])}return y=b=null,c===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,f],[s,d]]};var r=l(n(19)),u=n(127),i=n(24),o=n(0),a=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}var c,f,s,d,h,p,_,v,y,b,g=(0,r.default)(),m={point:M,lineStart:O,lineEnd:x,polygonStart:function(){m.point=j,m.lineStart=w,m.lineEnd=E,g.reset(),u.areaStream.polygonStart()},polygonEnd:function(){u.areaStream.polygonEnd(),m.point=M,m.lineStart=O,m.lineEnd=x,u.areaRingSum<0?(c=-(s=180),f=-(d=90)):g>o.epsilon?d=90:g<-o.epsilon&&(f=-90),b[0]=c,b[1]=s}};function M(e,t){y.push(b=[c=e,s=e]),td&&(d=t)}function P(e,t){var n=(0,i.cartesian)([e*o.radians,t*o.radians]);if(v){var r=(0,i.cartesianCross)(v,n),u=[r[1],-r[0],0],a=(0,i.cartesianCross)(u,r);(0,i.cartesianNormalizeInPlace)(a),a=(0,i.spherical)(a);var l,p=e-h,_=p>0?1:-1,g=a[0]*o.degrees*_,m=(0,o.abs)(p)>180;m^(_*hd&&(d=l):m^(_*h<(g=(g+360)%360-180)&&g<_*e)?(l=-a[1]*o.degrees)d&&(d=t)),m?eS(c,s)&&(s=e):S(e,s)>S(c,s)&&(c=e):s>=c?(es&&(s=e)):e>h?S(c,e)>S(c,s)&&(s=e):S(e,s)>S(c,s)&&(c=e)}else y.push(b=[c=e,s=e]);td&&(d=t),v=n,h=e}function O(){m.point=P}function x(){b[0]=c,b[1]=s,m.point=M,v=null}function j(e,t){if(v){var n=e-h;g.add((0,o.abs)(n)>180?n+(n>0?360:-360):n)}else p=e,_=t;u.areaStream.point(e,t),P(e,t)}function w(){u.areaStream.lineStart()}function E(){j(p,_),u.areaStream.lineEnd(),(0,o.abs)(g)>o.epsilon&&(c=-(s=180)),b[0]=c,b[1]=s,v=null}function S(e,t){return(t-=e)<0?t+360:t}function k(e,t){return e[0]-t[0]}function T(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t0)){if(o/=s,s<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=u-a,s||!(o<0)){if(o/=s,s<0){if(o>f)return;o>c&&(c=o)}else if(s>0){if(o0)){if(o/=d,d<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=i-l,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>c&&(c=o)}else if(d>0){if(o0&&(e[0]=a+c*s,e[1]=l+c*d),f<1&&(t[0]=a+f*s,t[1]=l+f*d),!0}}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e&&a.hasOwnProperty(e.type)?a[e.type]:c)(e,t)};var r=o(n(135)),u=o(n(137)),i=n(0);function o(e){return e&&e.__esModule?e:{default:e}}var a={Feature:function(e,t){return c(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,u=n.length;++ru.epsilon}).map(d)).concat((0,r.range)((0,u.ceil)(c/y)*y,l,y).filter(function(e){return(0,u.abs)(e%g)>u.epsilon}).map(h))}return M.lines=function(){return P().map(function(e){return{type:"LineString",coordinates:e}})},M.outline=function(){return{type:"Polygon",coordinates:[p(a).concat(_(f).slice(1),p(n).reverse().slice(1),_(s).reverse().slice(1))]}},M.extent=function(e){return arguments.length?M.extentMajor(e).extentMinor(e):M.extentMinor()},M.extentMajor=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],s=+e[0][1],f=+e[1][1],a>n&&(e=a,a=n,n=e),s>f&&(e=s,s=f,f=e),M.precision(m)):[[a,s],[n,f]]},M.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],c=+n[0][1],l=+n[1][1],t>e&&(n=t,t=e,e=n),c>l&&(n=c,c=l,l=n),M.precision(m)):[[t,c],[e,l]]},M.step=function(e){return arguments.length?M.stepMajor(e).stepMinor(e):M.stepMinor()},M.stepMajor=function(e){return arguments.length?(b=+e[0],g=+e[1],M):[b,g]},M.stepMinor=function(e){return arguments.length?(v=+e[0],y=+e[1],M):[v,y]},M.precision=function(r){return arguments.length?(m=+r,d=i(c,l,90),h=o(t,e,m),p=i(s,f,90),_=o(a,n,m),M):m},M.extentMajor([[-180,-90+u.epsilon],[180,90-u.epsilon]]).extentMinor([[-180,-80-u.epsilon],[180,80+u.epsilon]])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e[0]*r.radians,u=e[1]*r.radians,i=t[0]*r.radians,o=t[1]*r.radians,a=(0,r.cos)(u),l=(0,r.sin)(u),c=(0,r.cos)(o),f=(0,r.sin)(o),s=a*(0,r.cos)(n),d=a*(0,r.sin)(n),h=c*(0,r.cos)(i),p=c*(0,r.sin)(i),_=2*(0,r.asin)((0,r.sqrt)((0,r.haversin)(o-u)+a*c*(0,r.haversin)(i-n))),v=(0,r.sin)(_),y=_?function(e){var t=(0,r.sin)(e*=_)/v,n=(0,r.sin)(_-e)/v,u=n*s+t*h,i=n*d+t*p,o=n*l+t*f;return[(0,r.atan2)(i,u)*r.degrees,(0,r.atan2)(o,(0,r.sqrt)(u*u+i*i))*r.degrees]}:function(){return[n*r.degrees,u*r.degrees]};return y.distance=_,y};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,s,d=4.5;function h(e){return e&&("function"==typeof d&&s.pointRadius(+d.apply(this,arguments)),(0,u.default)(e,n(s))),s.result()}return h.area=function(e){return(0,u.default)(e,n(i.default)),i.default.result()},h.measure=function(e){return(0,u.default)(e,n(c.default)),c.default.result()},h.bounds=function(e){return(0,u.default)(e,n(o.default)),o.default.result()},h.centroid=function(e){return(0,u.default)(e,n(a.default)),a.default.result()},h.projection=function(t){return arguments.length?(n=null==t?(e=null,r.default):(e=t).stream,h):e},h.context=function(e){return arguments.length?(s=null==e?(t=null,new f.default):new l.default(t=e),"function"!=typeof d&&s.pointRadius(d),h):t},h.pointRadius=function(e){return arguments.length?(d="function"==typeof e?e:(s.pointRadius(+e),+e),h):d},h.projection(e).context(t)};var r=s(n(72)),u=s(n(14)),i=s(n(335)),o=s(n(139)),a=s(n(336)),l=s(n(337)),c=s(n(338)),f=s(n(339));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(19)),u=n(0),i=o(n(11));function o(e){return e&&e.__esModule?e:{default:e}}var a,l,c,f,s=(0,r.default)(),d=(0,r.default)(),h={point:i.default,lineStart:i.default,lineEnd:i.default,polygonStart:function(){h.lineStart=p,h.lineEnd=y},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=i.default,s.add((0,u.abs)(d)),d.reset()},result:function(){var e=s/2;return s.reset(),e}};function p(){h.point=_}function _(e,t){h.point=v,a=c=e,l=f=t}function v(e,t){d.add(f*e-c*t),c=e,f=t}function y(){v(a,l)}t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u,i,o,a=n(0),l=0,c=0,f=0,s=0,d=0,h=0,p=0,_=0,v=0,y={point:b,lineStart:g,lineEnd:P,polygonStart:function(){y.lineStart=O,y.lineEnd=x},polygonEnd:function(){y.point=b,y.lineStart=g,y.lineEnd=P},result:function(){var e=v?[p/v,_/v]:h?[s/h,d/h]:f?[l/f,c/f]:[NaN,NaN];return l=c=f=s=d=h=p=_=v=0,e}};function b(e,t){l+=e,c+=t,++f}function g(){y.point=m}function m(e,t){y.point=M,b(i=e,o=t)}function M(e,t){var n=e-i,r=t-o,u=(0,a.sqrt)(n*n+r*r);s+=u*(i+e)/2,d+=u*(o+t)/2,h+=u,b(i=e,o=t)}function P(){y.point=b}function O(){y.point=j}function x(){w(r,u)}function j(e,t){y.point=w,b(r=i=e,u=o=t)}function w(e,t){var n=e-i,r=t-o,u=(0,a.sqrt)(n*n+r*r);s+=u*(i+e)/2,d+=u*(o+t)/2,h+=u,p+=(u=o*e-i*t)*(i+e),_+=u*(o+t),v+=3*u,b(i=e,o=t)}t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,u=n(0),i=n(11),o=(r=i)&&r.__esModule?r:{default:r};function a(e){this._context=e}a.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,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(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,u.tau)}},result:o.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(19)),u=n(0),i=o(n(11));function o(e){return e&&e.__esModule?e:{default:e}}var a,l,c,f,s,d=(0,r.default)(),h={point:i.default,lineStart:function(){h.point=p},lineEnd:function(){a&&_(l,c),h.point=i.default},polygonStart:function(){a=!0},polygonEnd:function(){a=null},result:function(){var e=+d;return d.reset(),e}};function p(e,t){h.point=_,l=f=e,c=s=t}function _(e,t){f-=e,s-=t,d.add((0,u.sqrt)(f*f+s*s)),f=e,s=t}t.default=h},function(e,t,n){"use strict";function r(){this._string=[]}function u(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={_radius:4.5,_circle:u(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,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(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=u(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return+t?function(e,t){function n(r,i,o,l,c,f,s,d,h,p,_,v,y,b){var g=s-r,m=d-i,M=g*g+m*m;if(M>4*t&&y--){var P=l+p,O=c+_,x=f+v,j=(0,u.sqrt)(P*P+O*O+x*x),w=(0,u.asin)(x/=j),E=(0,u.abs)((0,u.abs)(x)-1)t||(0,u.abs)((g*N+m*C)/M-.5)>.3||l*p+c*_+f*v=.12&&u<.234&&r>=-.425&&r<-.214?s:u>=.166&&u<.234&&r>=-.214&&r<-.115?d:f).invert(e)},p.stream=function(n){return e&&t===n?e:(r=[f.stream(t=n),s.stream(n),d.stream(n)],u=r.length,e={point:function(e,t){for(var n=-1;++n0?t<-r.halfPi+r.epsilon&&(t=-r.halfPi+r.epsilon):t>r.halfPi-r.epsilon&&(t=r.halfPi-r.epsilon);var n=a/(0,r.pow)(o(t),u);return[n*(0,r.sin)(u*e),a-n*(0,r.cos)(u*e)]}return l.invert=function(e,t){var n=a-t,i=(0,r.sign)(u)*(0,r.sqrt)(e*e+n*n);return[(0,r.atan2)(e,(0,r.abs)(n))/u*(0,r.sign)(n),2*(0,r.atan)((0,r.pow)(a/i,1/u))-r.halfPi]},l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEquidistantRaw=o,t.default=function(){return(0,u.conicProjection)(o).scale(131.154).center([0,13.9389])};var r=n(0),u=n(74),i=n(141);function o(e,t){var n=(0,r.cos)(e),u=e===t?(0,r.sin)(e):(n-(0,r.cos)(t))/(t-e),o=n/u+e;if((0,r.abs)(u)o.epsilon&&--u>0);return[e/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orthographicRaw=l,t.default=function(){return(0,a.default)(l).scale(249.5).clipAngle(90+u.epsilon)};var r,u=n(0),i=n(25),o=n(8),a=(r=o)&&r.__esModule?r:{default:r};function l(e,t){return[(0,u.cos)(t)*(0,u.sin)(e),(0,u.sin)(t)]}l.invert=(0,i.azimuthalInvert)(u.asin)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stereographicRaw=l,t.default=function(){return(0,a.default)(l).scale(250).clipAngle(142)};var r,u=n(0),i=n(25),o=n(8),a=(r=o)&&r.__esModule?r:{default:r};function l(e,t){var n=(0,u.cos)(t),r=1+(0,u.cos)(e)*n;return[n*(0,u.sin)(e)/r,(0,u.sin)(t)/r]}l.invert=(0,i.azimuthalInvert)(function(e){return 2*(0,u.atan)(e)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transverseMercatorRaw=i,t.default=function(){var e=(0,u.mercatorProjection)(i),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)};var r=n(0),u=n(76);function i(e,t){return[(0,r.log)((0,r.tan)((r.halfPi+t)/2)),-e]}i.invert=function(e,t){return[-t,2*(0,r.atan)((0,r.exp)(e))-r.halfPi]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(354);Object.defineProperty(t,"cluster",{enumerable:!0,get:function(){return b(r).default}});var u=n(77);Object.defineProperty(t,"hierarchy",{enumerable:!0,get:function(){return b(u).default}});var i=n(366);Object.defineProperty(t,"pack",{enumerable:!0,get:function(){return b(i).default}});var o=n(142);Object.defineProperty(t,"packSiblings",{enumerable:!0,get:function(){return b(o).default}});var a=n(143);Object.defineProperty(t,"packEnclose",{enumerable:!0,get:function(){return b(a).default}});var l=n(368);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return b(l).default}});var c=n(369);Object.defineProperty(t,"stratify",{enumerable:!0,get:function(){return b(c).default}});var f=n(370);Object.defineProperty(t,"tree",{enumerable:!0,get:function(){return b(f).default}});var s=n(371);Object.defineProperty(t,"treemap",{enumerable:!0,get:function(){return b(s).default}});var d=n(372);Object.defineProperty(t,"treemapBinary",{enumerable:!0,get:function(){return b(d).default}});var h=n(26);Object.defineProperty(t,"treemapDice",{enumerable:!0,get:function(){return b(h).default}});var p=n(42);Object.defineProperty(t,"treemapSlice",{enumerable:!0,get:function(){return b(p).default}});var _=n(373);Object.defineProperty(t,"treemapSliceDice",{enumerable:!0,get:function(){return b(_).default}});var v=n(79);Object.defineProperty(t,"treemapSquarify",{enumerable:!0,get:function(){return b(v).default}});var y=n(374);function b(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"treemapResquarify",{enumerable:!0,get:function(){return b(y).default}})},function(e,t,n){"use strict";function r(e,t){return e.parent===t.parent?1:2}function u(e,t){return e+t.x}function i(e,t){return Math.max(e,t.y)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r,t=1,n=1,o=!1;function a(r){var a,l=0;r.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(u,0)/e.length}(n),t.y=function(e){return 1+e.reduce(i,0)}(n)):(t.x=a?l+=e(t,a):0,t.y=0,a=t)});var c=function(e){var t;for(;t=e.children;)e=t[0];return e}(r),f=function(e){var t;for(;t=e.children;)e=t[t.length-1];return e}(r),s=c.x-e(c,f)/2,d=f.x+e(f,c)/2;return r.eachAfter(o?function(e){e.x=(e.x-r.x)*t,e.y=(r.y-e.y)*n}:function(e){e.x=(e.x-s)/(d-s)*t,e.y=(1-(r.y?e.y/r.y:1))*n})}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(o=!1,t=+e[0],n=+e[1],a):o?null:[t,n]},a.nodeSize=function(e){return arguments.length?(o=!0,t=+e[0],n=+e[1],a):o?[t,n]:null},a}},function(e,t,n){"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.eachAfter(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,u,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),n=i.children)for(r=0,u=n.length;r=0;--n)u.push(t[n]);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r,u=this,i=[u],o=[];u=i.pop();)if(o.push(u),t=u.children)for(n=0,r=t.length;n=0;)n+=r[u].value;t.value=n})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),u=null;e=n.pop(),t=r.pop();for(;e===t;)u=e,e=n.pop(),t=r.pop();return u}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var u=r.length;e!==n;)r.splice(u,0,e),e=e.parent;return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.each(function(t){e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null,t=1,n=1,r=o.constantZero;function u(u){return u.x=t/2,u.y=n/2,e?u.eachBefore(c(e)).eachAfter(f(r,.5)).eachBefore(s(1)):u.eachBefore(c(l)).eachAfter(f(o.constantZero,1)).eachAfter(f(r,u.r/Math.min(t,n))).eachBefore(s(Math.min(t,n)/(2*u.r))),u}return u.radius=function(t){return arguments.length?(e=(0,i.optional)(t),u):e},u.size=function(e){return arguments.length?(t=+e[0],n=+e[1],u):[t,n]},u.padding=function(e){return arguments.length?(r="function"==typeof e?e:(0,a.default)(+e),u):r},u};var r,u=n(142),i=n(78),o=n(144),a=(r=o)&&r.__esModule?r:{default:r};function l(e){return Math.sqrt(e.value)}function c(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function f(e,t){return function(n){if(r=n.children){var r,i,o,a=r.length,l=e(n)*t||0;if(l)for(i=0;i0)throw new Error("cycle");return c}return n.id=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n.parentId=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n};var r=n(78),u=n(77),i="$",o={depth:-1},a={};function l(e){return e.id}function c(e){return e.parentId}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u,t=1,n=1,r=null;function f(u){var i=function(e){var t,n,r,u,i,o=new c(e,0),a=[o];for(;t=a.pop();)if(r=t._.children)for(t.children=new Array(i=r.length),u=i-1;u>=0;--u)a.push(n=t.children[u]=new c(r[u],u)),n.parent=t;return(o.parent=new c(null,0)).children=[o],o}(u);if(i.eachAfter(s),i.parent.m=-i.z,i.eachBefore(d),r)u.eachBefore(h);else{var o=u,a=u,l=u;u.eachBefore(function(e){e.xa.x&&(a=e),e.depth>l.depth&&(l=e)});var f=o===a?1:e(o,a)/2,p=f-o.x,_=t/(a.x+f+p),v=n/(l.depth||1);u.eachBefore(function(e){e.x=(e.x+p)*_,e.y=e.depth*v})}return u}function s(t){var n=t.children,r=t.parent.children,u=t.i?r[t.i-1]:null;if(n){!function(e){var t,n=0,r=0,u=e.children,i=u.length;for(;--i>=0;)(t=u[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var c=(n[0].z+n[n.length-1].z)/2;u?(t.z=u.z+e(t._,u._),t.m=t.z-c):t.z=c}else u&&(t.z=u.z+e(t._,u._));t.parent.A=function(t,n,r){if(n){for(var u,c=t,f=t,s=n,d=c.parent.children[0],h=c.m,p=f.m,_=s.m,v=d.m;s=o(s),c=i(c),s&&c;)d=i(d),(f=o(f)).a=t,(u=s.z+_-c.z-h+e(s._,c._))>0&&(a(l(s,t,r),t,u),h+=u,p+=u),_+=s.m,h+=c.m,v+=d.m,p+=f.m;s&&!o(f)&&(f.t=s,f.m+=_-p),c&&!i(d)&&(d.t=c,d.m+=h-v,r=t)}return r}(t,u,t.parent.A||r[0])}function d(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function h(e){e.x*=t,e.y=e.depth*n}return f.separation=function(t){return arguments.length?(e=t,f):e},f.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],f):r?null:[t,n]},f.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],f):r?[t,n]:null},f};var r=n(77);function u(e,t){return e.parent===t.parent?1:2}function i(e){var t=e.children;return t?t[0]:e.t}function o(e){var t=e.children;return t?t[t.length-1]:e.t}function a(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function l(e,t,n){return e.a.parent===t.parent?e.a:n}function c(e,t){this._=e,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=t}c.prototype=Object.create(r.Node.prototype)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u.default,t=!1,n=1,l=1,c=[0],f=o.constantZero,s=o.constantZero,d=o.constantZero,h=o.constantZero,p=o.constantZero;function _(e){return e.x0=e.y0=0,e.x1=n,e.y1=l,e.eachBefore(v),c=[0],t&&e.eachBefore(r.default),e}function v(t){var n=c[t.depth],r=t.x0+n,u=t.y0+n,i=t.x1-n,o=t.y1-n;i=n-1){var f=a[t];return f.x0=u,f.y0=i,f.x1=o,void(f.y1=l)}var s=c[t],d=r/2+s,h=t+1,p=n-1;for(;h>>1;c[_]l-i){var b=(u*y+o*v)/r;e(t,h,v,u,i,b,l),e(h,n,y,b,i,o,l)}else{var g=(i*y+l*v)/r;e(t,h,v,u,i,o,g),e(h,n,y,u,g,o,l)}}(0,l,e.value,t,n,r,u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i,o){(1&e.depth?u.default:r.default)(e,t,n,i,o)};var r=i(n(26)),u=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(26)),u=o(n(42)),i=n(79);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e,n,o,a,l){if((c=e._squarify)&&c.ratio===t)for(var c,f,s,d,h,p=-1,_=c.length,v=e.value;++p<_;){for(s=(f=c[p]).children,d=f.value=0,h=s.length;d1?t:1)},n}(i.phi)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(376);Object.defineProperty(t,"polygonArea",{enumerable:!0,get:function(){return l(r).default}});var u=n(377);Object.defineProperty(t,"polygonCentroid",{enumerable:!0,get:function(){return l(u).default}});var i=n(378);Object.defineProperty(t,"polygonHull",{enumerable:!0,get:function(){return l(i).default}});var o=n(380);Object.defineProperty(t,"polygonContains",{enumerable:!0,get:function(){return l(o).default}});var a=n(381);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"polygonLength",{enumerable:!0,get:function(){return l(a).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n=-1,r=e.length,u=e[r-1],i=0;++n=0;--t)s.push(e[r[i[t]][2]]);for(t=+c;t1&&(0,i.default)(e[n[r-2]],e[n[r-1]],e[u])<=0;)--r;n[r++]=u}return n.slice(0,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n,r,u=e.length,i=e[u-1],o=t[0],a=t[1],l=i[0],c=i[1],f=!1,s=0;sa!=c>a&&o<(l-n)*(a-r)/(c-r)+n&&(f=!f),l=n,c=r;return f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r=-1,u=e.length,i=e[u-1],o=i[0],a=i[1],l=0;++r=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(t){}e._active=NaN,c(e)}function c(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function f(e){if(null==e)e=1/0;else if(!((e=+e)>=1))throw new Error("invalid concurrency");return new i(e)}i.prototype=f.prototype={constructor:i,defer:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var t=r.slice.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),o(this),this},abort:function(){return null==this._error&&l(this,new Error("abort")),this},await:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(t,n){e.apply(null,[t].concat(n))},c(this),this},awaitAll:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=e,c(this),this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=[].slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(386);Object.defineProperty(t,"randomUniform",{enumerable:!0,get:function(){return c(r).default}});var u=n(146);Object.defineProperty(t,"randomNormal",{enumerable:!0,get:function(){return c(u).default}});var i=n(387);Object.defineProperty(t,"randomLogNormal",{enumerable:!0,get:function(){return c(i).default}});var o=n(388);Object.defineProperty(t,"randomBates",{enumerable:!0,get:function(){return c(o).default}});var a=n(147);Object.defineProperty(t,"randomIrwinHall",{enumerable:!0,get:function(){return c(a).default}});var l=n(389);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"randomExponential",{enumerable:!0,get:function(){return c(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(20)),u=i(n(146));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(){var e=u.default.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(20)),u=i(n(147));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e){var n=u.default.source(t)(e);return function(){return n()/e}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"request",{enumerable:!0,get:function(){return f(r).default}});var u=n(391);Object.defineProperty(t,"html",{enumerable:!0,get:function(){return f(u).default}});var i=n(392);Object.defineProperty(t,"json",{enumerable:!0,get:function(){return f(i).default}});var o=n(393);Object.defineProperty(t,"text",{enumerable:!0,get:function(){return f(o).default}});var a=n(394);Object.defineProperty(t,"xml",{enumerable:!0,get:function(){return f(a).default}});var l=n(395);Object.defineProperty(t,"csv",{enumerable:!0,get:function(){return f(l).default}});var c=n(396);function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"tsv",{enumerable:!0,get:function(){return f(c).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("application/json",function(e){return JSON.parse(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("text/plain",function(e){return e.responseText})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(65),i=n(148),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/csv",u.csvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(65),i=n(148),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/tab-separated-values",u.tsvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(398);Object.defineProperty(t,"scaleBand",{enumerable:!0,get:function(){return P(r).default}}),Object.defineProperty(t,"scalePoint",{enumerable:!0,get:function(){return r.point}});var u=n(399);Object.defineProperty(t,"scaleIdentity",{enumerable:!0,get:function(){return P(u).default}});var i=n(27);Object.defineProperty(t,"scaleLinear",{enumerable:!0,get:function(){return P(i).default}});var o=n(401);Object.defineProperty(t,"scaleLog",{enumerable:!0,get:function(){return P(o).default}});var a=n(149);Object.defineProperty(t,"scaleOrdinal",{enumerable:!0,get:function(){return P(a).default}}),Object.defineProperty(t,"scaleImplicit",{enumerable:!0,get:function(){return a.implicit}});var l=n(402);Object.defineProperty(t,"scalePow",{enumerable:!0,get:function(){return P(l).default}}),Object.defineProperty(t,"scaleSqrt",{enumerable:!0,get:function(){return l.sqrt}});var c=n(403);Object.defineProperty(t,"scaleQuantile",{enumerable:!0,get:function(){return P(c).default}});var f=n(404);Object.defineProperty(t,"scaleQuantize",{enumerable:!0,get:function(){return P(f).default}});var s=n(405);Object.defineProperty(t,"scaleThreshold",{enumerable:!0,get:function(){return P(s).default}});var d=n(152);Object.defineProperty(t,"scaleTime",{enumerable:!0,get:function(){return P(d).default}});var h=n(421);Object.defineProperty(t,"scaleUtc",{enumerable:!0,get:function(){return P(h).default}});var p=n(422);Object.defineProperty(t,"schemeCategory10",{enumerable:!0,get:function(){return P(p).default}});var _=n(423);Object.defineProperty(t,"schemeCategory20b",{enumerable:!0,get:function(){return P(_).default}});var v=n(424);Object.defineProperty(t,"schemeCategory20c",{enumerable:!0,get:function(){return P(v).default}});var y=n(425);Object.defineProperty(t,"schemeCategory20",{enumerable:!0,get:function(){return P(y).default}});var b=n(426);Object.defineProperty(t,"interpolateCubehelixDefault",{enumerable:!0,get:function(){return P(b).default}});var g=n(427);Object.defineProperty(t,"interpolateRainbow",{enumerable:!0,get:function(){return P(g).default}}),Object.defineProperty(t,"interpolateWarm",{enumerable:!0,get:function(){return g.warm}}),Object.defineProperty(t,"interpolateCool",{enumerable:!0,get:function(){return g.cool}});var m=n(428);Object.defineProperty(t,"interpolateViridis",{enumerable:!0,get:function(){return P(m).default}}),Object.defineProperty(t,"interpolateMagma",{enumerable:!0,get:function(){return m.magma}}),Object.defineProperty(t,"interpolateInferno",{enumerable:!0,get:function(){return m.inferno}}),Object.defineProperty(t,"interpolatePlasma",{enumerable:!0,get:function(){return m.plasma}});var M=n(429);function P(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"scaleSequential",{enumerable:!0,get:function(){return P(M).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.point=function(){return function e(t){var n=t.copy;t.padding=t.paddingOuter;delete t.paddingInner;delete t.paddingOuter;t.copy=function(){return e(n())};return t}(a().paddingInner(1))};var r,u=n(3),i=n(149),o=(r=i)&&r.__esModule?r:{default:r};function a(){var e,t,n=(0,o.default)().unknown(void 0),r=n.domain,i=n.range,l=[0,1],c=!1,f=0,s=0,d=.5;function h(){var n=r().length,o=l[1]0){for(;ha)break;v.push(s)}}else for(;h=1;--f)if(!((s=l*f)a)break;v.push(s)}}else v=(0,r.ticks)(h,p,Math.min(p-h,_)).map(d);return t?v.reverse():v};t.tickFormat=function(e,n){if(null==n&&(n=10===i?".0e":","),"function"!=typeof n&&(n=(0,u.format)(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,i*e/t.ticks().length);return function(e){var t=e/d(Math.round(c(e)));return t*i0?i[r-1]:t[0],r=o?[a[o-1],n]:[a[r-1],a[r]]};c.copy=function(){return e().domain([t,n]).range(l)};return(0,i.linearish)(c)};var r=n(3),u=n(15),i=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=[.5],n=[0,1],i=1;function o(e){if(e<=e)return n[(0,r.bisect)(t,e,0,i)]}o.domain=function(e){return arguments.length?(t=u.slice.call(e),i=Math.min(t.length,n.length-1),o):t.slice()};o.range=function(e){return arguments.length?(n=u.slice.call(e),i=Math.min(t.length,n.length-1),o):n.slice()};o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]};o.copy=function(){return e().domain(t).range(n)};return o};var r=n(3),u=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.milliseconds=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,i.default)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):o:null},t.default=o;t.milliseconds=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seconds=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setTime(Math.floor(e/o.durationSecond)*o.durationSecond)},function(e,t){e.setTime(+e+t*o.durationSecond)},function(e,t){return(t-e)/o.durationSecond},function(e){return e.getUTCSeconds()});t.default=a;t.seconds=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minutes=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setTime(Math.floor(e/o.durationMinute)*o.durationMinute)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getMinutes()});t.default=a;t.minutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hours=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){var t=e.getTimezoneOffset()*o.durationMinute%o.durationHour;t<0&&(t+=o.durationHour),e.setTime(Math.floor((+e-t)/o.durationHour)*o.durationHour+t)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getHours()});t.default=a;t.hours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.days=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationDay},function(e){return e.getDate()-1});t.default=a;t.days=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saturdays=t.fridays=t.thursdays=t.wednesdays=t.tuesdays=t.mondays=t.sundays=t.saturday=t.friday=t.thursday=t.wednesday=t.tuesday=t.monday=t.sunday=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);function a(e){return(0,i.default)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationWeek})}var l=t.sunday=a(0),c=t.monday=a(1),f=t.tuesday=a(2),s=t.wednesday=a(3),d=t.thursday=a(4),h=t.friday=a(5),p=t.saturday=a(6);t.sundays=l.range,t.mondays=c.range,t.tuesdays=f.range,t.wednesdays=s.range,t.thursdays=d.range,t.fridays=h.range,t.saturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.months=void 0;var r,u=n(2);var i=(0,((r=u)&&r.__esModule?r:{default:r}).default)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.default=i;t.months=i.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.years=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.default=o;t.years=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMinutes=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getUTCMinutes()});t.default=a;t.utcMinutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcHours=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getUTCHours()});t.default=a;t.utcHours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcDays=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/o.durationDay},function(e){return e.getUTCDate()-1});t.default=a;t.utcDays=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcSaturdays=t.utcFridays=t.utcThursdays=t.utcWednesdays=t.utcTuesdays=t.utcMondays=t.utcSundays=t.utcSaturday=t.utcFriday=t.utcThursday=t.utcWednesday=t.utcTuesday=t.utcMonday=t.utcSunday=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);function a(e){return(0,i.default)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/o.durationWeek})}var l=t.utcSunday=a(0),c=t.utcMonday=a(1),f=t.utcTuesday=a(2),s=t.utcWednesday=a(3),d=t.utcThursday=a(4),h=t.utcFriday=a(5),p=t.utcSaturday=a(6);t.utcSundays=l.range,t.utcMondays=c.range,t.utcTuesdays=f.range,t.utcWednesdays=s.range,t.utcThursdays=d.range,t.utcFridays=h.range,t.utcSaturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMonths=void 0;var r,u=n(2);var i=(0,((r=u)&&r.__esModule?r:{default:r}).default)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.default=i;t.utcMonths=i.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcYears=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.default=o;t.utcYears=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(154),u=n(83);var i=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:(0,u.utcParse)(r.isoSpecifier);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.calendar)(i.utcYear,i.utcMonth,i.utcWeek,i.utcDay,i.utcHour,i.utcMinute,i.utcSecond,i.utcMillisecond,u.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};var r=n(152),u=n(82),i=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),u=n(5);t.default=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(300,.5,0),(0,r.cubehelix)(-240,.5,1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cool=t.warm=void 0,t.default=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return i.h=360*e-100,i.s=1.5-1.5*t,i.l=.8-.9*t,i+""};var r=n(7),u=n(5),i=(t.warm=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(-100,.75,.35),(0,r.cubehelix)(80,1.5,.8)),t.cool=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(260,.75,.35),(0,r.cubehelix)(80,1.5,.8)),(0,r.cubehelix)())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plasma=t.inferno=t.magma=void 0;var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};function o(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}t.default=o((0,i.default)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));t.magma=o((0,i.default)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),t.inferno=o((0,i.default)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),t.plasma=o((0,i.default)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=0,u=1,i=!1;function o(e){var r=(e-n)/(u-n);return t(i?Math.max(0,Math.min(1,r)):r)}o.domain=function(e){return arguments.length?(n=+e[0],u=+e[1],o):[n,u]};o.clamp=function(e){return arguments.length?(i=!!e,o):i};o.interpolator=function(e){return arguments.length?(t=e,o):t};o.copy=function(){return e(t).domain([n,u]).clamp(i)};return(0,r.linearish)(o)};var r=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=l,t=c,n=(0,o.default)(0),r=null,i=f,p=s,_=d,v=null;function y(){var o,l,c=+e.apply(this,arguments),f=+t.apply(this,arguments),s=i.apply(this,arguments)-a.halfPi,d=p.apply(this,arguments)-a.halfPi,y=(0,a.abs)(d-s),b=d>s;if(v||(v=o=(0,u.path)()),fa.epsilon)if(y>a.tau-a.epsilon)v.moveTo(f*(0,a.cos)(s),f*(0,a.sin)(s)),v.arc(0,0,f,s,d,!b),c>a.epsilon&&(v.moveTo(c*(0,a.cos)(d),c*(0,a.sin)(d)),v.arc(0,0,c,d,s,b));else{var g,m,M=s,P=d,O=s,x=d,j=y,w=y,E=_.apply(this,arguments)/2,S=E>a.epsilon&&(r?+r.apply(this,arguments):(0,a.sqrt)(c*c+f*f)),k=(0,a.min)((0,a.abs)(f-c)/2,+n.apply(this,arguments)),T=k,N=k;if(S>a.epsilon){var C=(0,a.asin)(S/c*(0,a.sin)(E)),A=(0,a.asin)(S/f*(0,a.sin)(E));(j-=2*C)>a.epsilon?(O+=C*=b?1:-1,x-=C):(j=0,O=x=(s+d)/2),(w-=2*A)>a.epsilon?(M+=A*=b?1:-1,P-=A):(w=0,M=P=(s+d)/2)}var R=f*(0,a.cos)(M),z=f*(0,a.sin)(M),q=c*(0,a.cos)(x),I=c*(0,a.sin)(x);if(k>a.epsilon){var D=f*(0,a.cos)(P),L=f*(0,a.sin)(P),U=c*(0,a.cos)(O),F=c*(0,a.sin)(O);if(ya.epsilon?function(e,t,n,r,u,i,o,a){var l=n-e,c=r-t,f=o-u,s=a-i,d=(f*(t-i)-s*(e-u))/(s*l-f*c);return[e+d*l,t+d*c]}(R,z,U,F,D,L,q,I):[q,I],Y=R-B[0],H=z-B[1],X=D-B[0],V=L-B[1],W=1/(0,a.sin)((0,a.acos)((Y*X+H*V)/((0,a.sqrt)(Y*Y+H*H)*(0,a.sqrt)(X*X+V*V)))/2),Z=(0,a.sqrt)(B[0]*B[0]+B[1]*B[1]);T=(0,a.min)(k,(c-Z)/(W-1)),N=(0,a.min)(k,(f-Z)/(W+1))}}w>a.epsilon?N>a.epsilon?(g=h(U,F,R,z,f,N,b),m=h(D,L,q,I,f,N,b),v.moveTo(g.cx+g.x01,g.cy+g.y01),Na.epsilon&&j>a.epsilon?T>a.epsilon?(g=h(q,I,D,L,c,-T,b),m=h(R,z,U,F,c,-T,b),v.lineTo(g.cx+g.x01,g.cy+g.y01),TN*N+C*C&&(j=E,w=S),{cx:j,cy:w,x01:-s,y01:-d,x11:j*(u/P-1),y11:w*(u/P-1)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i.default,t=u.default,n=null,a=(0,r.default)(0),l=(0,r.default)(o.tau),c=(0,r.default)(0);function f(r){var u,i,f,s,d,h=r.length,p=0,_=new Array(h),v=new Array(h),y=+a.apply(this,arguments),b=Math.min(o.tau,Math.max(-o.tau,l.apply(this,arguments)-y)),g=Math.min(Math.abs(b)/h,c.apply(this,arguments)),m=g*(b<0?-1:1);for(u=0;u0&&(p+=d);for(null!=t?_.sort(function(e,n){return t(v[e],v[n])}):null!=n&&_.sort(function(e,t){return n(r[e],r[t])}),u=0,f=p?(b-h*m)/p:0;u0?d*f:0)+m,v[i]={data:r[i],index:u,value:d,startAngle:y,endAngle:s,padAngle:g};return v}return f.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(+t),f):e},f.sortValues=function(e){return arguments.length?(t=e,n=null,f):t},f.sort=function(e){return arguments.length?(n=e,t=null,f):n},f.startAngle=function(e){return arguments.length?(a="function"==typeof e?e:(0,r.default)(+e),f):a},f.endAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,r.default)(+e),f):l},f.padAngle=function(e){return arguments.length?(c="function"==typeof e?e:(0,r.default)(+e),f):c},f};var r=a(n(16)),u=a(n(432)),i=a(n(433)),o=n(29);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return te?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)().curve(r.curveRadialLinear),t=e.curve,n=e.lineX0,a=e.lineX1,l=e.lineY0,c=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,o.lineRadial)(n())},delete e.lineX0,e.lineEndAngle=function(){return(0,o.lineRadial)(a())},delete e.lineX1,e.lineInnerRadius=function(){return(0,o.lineRadial)(l())},delete e.lineY0,e.lineOuterRadius=function(){return(0,o.lineRadial)(c())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,u.default)(e)):t()._curve},e};var r=n(156),u=a(r),i=a(n(155)),o=n(157);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkHorizontal=function(){return s(d)},t.linkVertical=function(){return s(h)},t.linkRadial=function(){var e=s(p);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e};var r=n(13),u=n(159),i=l(n(16)),o=n(85),a=l(n(158));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.source}function f(e){return e.target}function s(e){var t=c,n=f,a=o.x,l=o.y,s=null;function d(){var i,o=u.slice.call(arguments),c=t.apply(this,o),f=n.apply(this,o);if(s||(s=i=(0,r.path)()),e(s,+a.apply(this,(o[0]=c,o)),+l.apply(this,o),+a.apply(this,(o[0]=f,o)),+l.apply(this,o)),i)return s=null,i+""||null}return d.source=function(e){return arguments.length?(t=e,d):t},d.target=function(e){return arguments.length?(n=e,d):n},d.x=function(e){return arguments.length?(a="function"==typeof e?e:(0,i.default)(+e),d):a},d.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.default)(+e),d):l},d.context=function(e){return arguments.length?(s=null==e?null:e,d):s},d}function d(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,u,r,u)}function h(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+u)/2,r,n,r,u)}function p(e,t,n,r,u){var i=(0,a.default)(t,n),o=(0,a.default)(t,n=(n+u)/2),l=(0,a.default)(r,n),c=(0,a.default)(r,u);e.moveTo(i[0],i[1]),e.bezierCurveTo(o[0],o[1],l[0],l[1],c[0],c[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0,t.default=function(){var e=(0,s.default)(u.default),t=(0,s.default)(64),n=null;function i(){var u;if(n||(n=u=(0,r.path)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),u)return n=null,u+""||null}return i.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,s.default)(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,s.default)(+e),i):t},i.context=function(e){return arguments.length?(n=null==e?null:e,i):n},i};var r=n(13),u=d(n(160)),i=d(n(161)),o=d(n(162)),a=d(n(163)),l=d(n(164)),c=d(n(165)),f=d(n(166)),s=d(n(16));function d(e){return e&&e.__esModule?e:{default:e}}t.symbols=[u.default,i.default,o.default,l.default,a.default,c.default,f.default]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new a(e)};var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r},o=n(48);function a(e){this._context=e}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new u(e)};var r=n(48);function u(e){this._context=e}u.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,u=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,u):this._context.moveTo(n,u);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48);function u(e,t){this._basis=new r.Basis(e),this._beta=t}u.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,u=e[0],i=t[0],o=e[n]-u,a=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(u+r*o),this._beta*t[l]+(1-this._beta)*(i+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.default=function e(t){function n(e){return 1===t?new r.Basis(e):new u(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(167),i=n(47),o=(r=i)&&r.__esModule?r:{default:r},a=n(86);function l(e,t){this._context=e,this._alpha=t}l.prototype={areaStart:o.default,areaEnd:o.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,a.point)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new l(e,t):new u.CardinalClosed(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(168),u=n(86);function i(e,t){this._context=e,this._alpha=t}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,u.point)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new i(e,t):new r.CardinalOpen(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new o(e)};var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r};function o(e){this._context=e}o.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},function(e,t,n){"use strict";function r(e){return e<0?-1:1}function u(e,t,n){var u=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(u||i<0&&-0),a=(n-e._y1)/(i||u<0&&-0),l=(o*i+a*u)/(u+i);return(r(o)+r(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(l))||0}function i(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function o(e,t,n){var r=e._x0,u=e._y0,i=e._x1,o=e._y1,a=(i-r)/3;e._context.bezierCurveTo(r+a,u+a*t,i-a,o-a*n,i,o)}function a(e){this._context=e}function l(e){this._context=new c(e)}function c(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.monotoneX=function(e){return new a(e)},t.monotoneY=function(e){return new l(e)},a.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:o(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(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,o(this,i(this,n=u(this,e,t)),n);break;default:o(this,this._t0,n=u(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(l.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},c.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,u,i){this._context.bezierCurveTo(t,e,r,n,i,u)}}},function(e,t,n){"use strict";function r(e){this._context=e}function u(e){var t,n,r=e.length-1,u=new Array(r),i=new Array(r),o=new Array(r);for(u[0]=0,i[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)u[t]=(o[t]-u[t+1])/i[t];for(i[r-1]=(e[r]+u[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,u.default)([]),t=o.default,n=i.default,a=l;function c(r){var u,i,o=e.apply(this,arguments),l=r.length,c=o.length,f=new Array(c);for(u=0;u0){for(var n,r,u,o=0,a=e[0].length;o1)for(var n,r,u,i,o,a,l=0,c=e[t[0]].length;l=0?(r[0]=i,r[1]=i+=u):u<0?(r[1]=o,r[0]=o+=u):r[0]=i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((n=e.length)>0){for(var n,r=0,u=e[t[0]],o=u.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,u,o=0,a=1;aa.epsilon)p=p.L;else{if(!((l=f-d(p,h))>a.epsilon)){r>-a.epsilon?(t=p.P,n=p):l>-a.epsilon?(t=p,n=p.N):t=n=p;break}if(!p.R){t=p;break}p=p.R}(0,u.createCell)(e);var _=c(e);if(a.beaches.insert(t,_),!t&&!n)return;if(t===n)return(0,i.detachCircle)(t),n=c(t.site),a.beaches.insert(_,n),_.edge=n.edge=(0,o.createEdge)(t.site,_.site),(0,i.attachCircle)(t),void(0,i.attachCircle)(n);if(!n)return void(_.edge=(0,o.createEdge)(t.site,_.site));(0,i.detachCircle)(t),(0,i.detachCircle)(n);var v=t.site,y=v[0],b=v[1],g=e[0]-y,m=e[1]-b,M=n.site,P=M[0]-y,O=M[1]-b,x=2*(g*O-m*P),j=g*g+m*m,w=P*P+O*O,E=[(O*j-m*w)/x+y,(g*w-P*j)/x+b];(0,o.setEdgeEnd)(n.edge,v,M,E),_.edge=(0,o.createEdge)(v,e,null,E),n.edge=(0,o.createEdge)(e,M,null,E),(0,i.attachCircle)(t),(0,i.attachCircle)(n)};var r=n(88),u=n(169),i=n(170),o=n(89),a=n(32),l=[];function c(e){var t=l.pop()||new function(){(0,r.RedBlackNode)(this),this.edge=this.site=this.circle=null};return t.site=e,t}function f(e){(0,i.detachCircle)(e),a.beaches.remove(e),l.push(e),(0,r.RedBlackNode)(e)}function s(e,t){var n=e.site,r=n[0],u=n[1],i=u-t;if(!i)return r;var o=e.P;if(!o)return-1/0;var a=(n=o.site)[0],l=n[1],c=l-t;if(!c)return a;var f=a-r,s=1/i-1/c,d=f/c;return s?(-d+Math.sqrt(d*d-2*s*(f*f/(-2*c)-l+c/2+u-i/2)))/s+r:(r+a)/2}function d(e,t){var n=e.N;if(n)return s(n,t);var r=e.site;return r[1]===t?r[0]:1/0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(460);Object.defineProperty(t,"zoom",{enumerable:!0,get:function(){return i(r).default}});var u=n(171);function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zoomTransform",{enumerable:!0,get:function(){return i(u).default}}),Object.defineProperty(t,"zoomIdentity",{enumerable:!0,get:function(){return u.identity}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n=p,h=_,m=g,M=y,P=b,O=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],j=250,w=i.interpolateZoom,E=[],S=(0,r.dispatch)("start","zoom","end"),k=500,T=150,N=0;function C(e){e.property("__zoom",v).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(P).on("touchstart.zoom",B).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",H).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function A(e,t){return(t=Math.max(O[0],Math.min(O[1],t)))===e.k?e:new f.Transform(t,e.x,e.y)}function R(e,t,n){var r=t[0]-n[0]*e.k,u=t[1]-n[1]*e.k;return r===e.x&&u===e.y?e:new f.Transform(e.k,r,u)}function z(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function q(e,t,n){e.on("start.zoom",function(){I(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){I(this,arguments).end()}).tween("zoom",function(){var e=arguments,r=I(this,e),u=h.apply(this,e),i=n||z(u),o=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),a=this.__zoom,l="function"==typeof t?t.apply(this,e):t,c=w(a.invert(i).concat(o/a.k),l.invert(i).concat(o/l.k));return function(e){if(1===e)e=l;else{var t=c(e),n=o/t[2];e=new f.Transform(n,i[0]-t[0]*n,i[1]-t[1]*n)}r.zoom(null,e)}})}function I(e,t){for(var n,r=0,u=E.length;rN}e.zoom("mouse",m(R(e.that.__zoom,e.mouse[0]=(0,o.mouse)(e.that),e.mouse[1]),e.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),(0,u.dragEnable)(o.event.view,e.moved),(0,d.default)(),e.end()},!0),i=(0,o.mouse)(this),l=o.event.clientX,c=o.event.clientY;(0,u.dragDisable)(o.event.view),(0,s.nopropagation)(),e.mouse=[i,this.__zoom.invert(i)],(0,a.interrupt)(this),e.start()}}function F(){if(n.apply(this,arguments)){var e=this.__zoom,t=(0,o.mouse)(this),r=e.invert(t),u=e.k*(o.event.shiftKey?.5:2),i=m(R(A(e,u),t,r),h.apply(this,arguments),x);(0,d.default)(),j>0?(0,o.select)(this).transition().duration(j).call(q,i,t):(0,o.select)(this).call(C.transform,i)}}function B(){if(n.apply(this,arguments)){var t,r,u,i,l=I(this,arguments),c=o.event.changedTouches,f=c.length;for((0,s.nopropagation)(),r=0;rr?(r+u)/2:Math.min(0,r)||Math.max(0,u),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){this.target=e,this.type=t,this.transform=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return i});var r=n(172),u=(n.n(r),function(e){if(e){var t="";switch(e.charAt(0)){case"$":t+="$";break;case"£":t+="£";break;case"€":t+="€"}e.indexOf(",")>-1&&(t+=",");var n=e.split(".");switch(t+=".",t+=n.length>1?n[1].length:0,e.slice(-1)){case"%":t+="%";break;case"0":t+="f"}return r.format(t)}}),i=function(e,t,n){var r=function(t,n,r,u,i){return!(!e.addError||!e.clearErrors)&&(ri?(e.addError({title:"Too Many "+n+"s",message:"This visualization requires "+(u===i?"exactly":"no more than")+" "+i+" "+n.toLowerCase()+(1===u?"":"s")+".",group:t}),!1):(e.clearErrors(t),!0))},u=t.fields,i=u.pivots,o=u.dimensions,a=u.measure_like;return r("pivot-req","Pivot",i.length,n.min_pivots,n.max_pivots)&&r("dim-req","Dimension",o.length,n.min_dimensions,n.max_dimensions)&&r("mes-req","Measure",a.length,n.min_measures,n.max_measures)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(172),u=(n.n(r),n(464)),i=function(e){return e.toString()},o={id:"chord",label:"Chord",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]}},create:function(e,t){e.innerHTML='\n \n ',this.tooltip=r.select(e).append("div").attr("class","chord-tip"),this.svg=r.select(e).append("svg")},computeMatrix:function(e,t,n){var u=r.map(),i=r.map(),o=[],a=0;t.forEach(function(t){e.forEach(function(e){var n=e[t].value;u.has(n)||(i.set(a.toString(),n),u.set(n,a++))})});for(var l=-1;++l"+u+" → "+o+": "+i+"

\n

"+o+" → "+u+": "+r(n.value)+"

\n "}};looker.plugins.visualizations.add(o)}])}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.chord=t():e.chord=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=506)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>1?u:e<-1?-u:Math.asin(e)},t.haversin=function(e){return(e=i(e/2))*e};t.epsilon=1e-6,t.epsilon2=1e-12;var r=t.pi=Math.PI,u=t.halfPi=r/2,i=(t.quarterPi=r/4,t.tau=2*r,t.degrees=180/r,t.radians=r/180,t.abs=Math.abs,t.atan=Math.atan,t.atan2=Math.atan2,t.cos=Math.cos,t.ceil=Math.ceil,t.exp=Math.exp,t.floor=Math.floor,t.log=Math.log,t.pow=Math.pow,t.sin=Math.sin);t.sign=Math.sign||function(e){return e>0?1:e<0?-1:0},t.sqrt=Math.sqrt,t.tan=Math.tan},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(199);Object.defineProperty(t,"create",{enumerable:!0,get:function(){return M(r).default}});var u=n(33);Object.defineProperty(t,"creator",{enumerable:!0,get:function(){return M(u).default}});var i=n(228);Object.defineProperty(t,"local",{enumerable:!0,get:function(){return M(i).default}});var o=n(104);Object.defineProperty(t,"matcher",{enumerable:!0,get:function(){return M(o).default}});var a=n(229);Object.defineProperty(t,"mouse",{enumerable:!0,get:function(){return M(a).default}});var l=n(52);Object.defineProperty(t,"namespace",{enumerable:!0,get:function(){return M(l).default}});var c=n(53);Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return M(c).default}});var f=n(34);Object.defineProperty(t,"clientPoint",{enumerable:!0,get:function(){return M(f).default}});var s=n(102);Object.defineProperty(t,"select",{enumerable:!0,get:function(){return M(s).default}});var d=n(230);Object.defineProperty(t,"selectAll",{enumerable:!0,get:function(){return M(d).default}});var h=n(4);Object.defineProperty(t,"selection",{enumerable:!0,get:function(){return M(h).default}});var p=n(54);Object.defineProperty(t,"selector",{enumerable:!0,get:function(){return M(p).default}});var _=n(103);Object.defineProperty(t,"selectorAll",{enumerable:!0,get:function(){return M(_).default}});var v=n(107);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return v.styleValue}});var y=n(231);Object.defineProperty(t,"touch",{enumerable:!0,get:function(){return M(y).default}});var b=n(232);Object.defineProperty(t,"touches",{enumerable:!0,get:function(){return M(b).default}});var g=n(55);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return M(g).default}});var m=n(56);function M(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"event",{enumerable:!0,get:function(){return m.event}}),Object.defineProperty(t,"customEvent",{enumerable:!0,get:function(){return m.customEvent}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,i,o){function a(e){return t(e=new Date(+e)),e}a.floor=a;a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e};a.round=function(e){var t=a(e),n=a.ceil(e);return e-t0))return o;do{o.push(i=new Date(+e)),n(e,u),t(e)}while(i=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););})};i&&(a.count=function(e,n){return r.setTime(+e),u.setTime(+n),t(r),t(u),Math.floor(i(r,u))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(o?function(t){return o(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null});return a};var r=new Date,u=new Date},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90);Object.defineProperty(t,"bisect",{enumerable:!0,get:function(){return T(r).default}}),Object.defineProperty(t,"bisectRight",{enumerable:!0,get:function(){return r.bisectRight}}),Object.defineProperty(t,"bisectLeft",{enumerable:!0,get:function(){return r.bisectLeft}});var u=n(17);Object.defineProperty(t,"ascending",{enumerable:!0,get:function(){return T(u).default}});var i=n(91);Object.defineProperty(t,"bisector",{enumerable:!0,get:function(){return T(i).default}});var o=n(175);Object.defineProperty(t,"cross",{enumerable:!0,get:function(){return T(o).default}});var a=n(176);Object.defineProperty(t,"descending",{enumerable:!0,get:function(){return T(a).default}});var l=n(93);Object.defineProperty(t,"deviation",{enumerable:!0,get:function(){return T(l).default}});var c=n(95);Object.defineProperty(t,"extent",{enumerable:!0,get:function(){return T(c).default}});var f=n(177);Object.defineProperty(t,"histogram",{enumerable:!0,get:function(){return T(f).default}});var s=n(180);Object.defineProperty(t,"thresholdFreedmanDiaconis",{enumerable:!0,get:function(){return T(s).default}});var d=n(181);Object.defineProperty(t,"thresholdScott",{enumerable:!0,get:function(){return T(d).default}});var h=n(99);Object.defineProperty(t,"thresholdSturges",{enumerable:!0,get:function(){return T(h).default}});var p=n(182);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return T(p).default}});var _=n(183);Object.defineProperty(t,"mean",{enumerable:!0,get:function(){return T(_).default}});var v=n(184);Object.defineProperty(t,"median",{enumerable:!0,get:function(){return T(v).default}});var y=n(185);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return T(y).default}});var b=n(100);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return T(b).default}});var g=n(92);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return T(g).default}});var m=n(186);Object.defineProperty(t,"permute",{enumerable:!0,get:function(){return T(m).default}});var M=n(50);Object.defineProperty(t,"quantile",{enumerable:!0,get:function(){return T(M).default}});var P=n(97);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return T(P).default}});var O=n(187);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return T(O).default}});var x=n(188);Object.defineProperty(t,"shuffle",{enumerable:!0,get:function(){return T(x).default}});var j=n(189);Object.defineProperty(t,"sum",{enumerable:!0,get:function(){return T(j).default}});var w=n(98);Object.defineProperty(t,"ticks",{enumerable:!0,get:function(){return T(w).default}}),Object.defineProperty(t,"tickIncrement",{enumerable:!0,get:function(){return w.tickIncrement}}),Object.defineProperty(t,"tickStep",{enumerable:!0,get:function(){return w.tickStep}});var E=n(101);Object.defineProperty(t,"transpose",{enumerable:!0,get:function(){return T(E).default}});var S=n(94);Object.defineProperty(t,"variance",{enumerable:!0,get:function(){return T(S).default}});var k=n(190);function T(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return T(k).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.root=void 0,t.Selection=z;var r=A(n(200)),u=A(n(201)),i=A(n(202)),o=A(n(203)),a=A(n(105)),l=A(n(205)),c=A(n(206)),f=A(n(207)),s=A(n(208)),d=A(n(209)),h=A(n(210)),p=A(n(211)),_=A(n(212)),v=A(n(213)),y=A(n(214)),b=A(n(215)),g=A(n(107)),m=A(n(216)),M=A(n(217)),P=A(n(218)),O=A(n(219)),x=A(n(220)),j=A(n(221)),w=A(n(222)),E=A(n(223)),S=A(n(224)),k=A(n(225)),T=A(n(226)),N=A(n(56)),C=A(n(227));function A(e){return e&&e.__esModule?e:{default:e}}var R=t.root=[null];function z(e,t){this._groups=e,this._parents=t}function q(){return new z([[document.documentElement]],R)}z.prototype=q.prototype={constructor:z,select:r.default,selectAll:u.default,filter:i.default,data:o.default,enter:a.default,exit:l.default,merge:c.default,order:f.default,sort:s.default,call:d.default,nodes:h.default,node:p.default,size:_.default,empty:v.default,each:y.default,attr:b.default,style:g.default,property:m.default,classed:M.default,text:P.default,html:O.default,raise:x.default,lower:j.default,append:w.default,insert:E.default,remove:S.default,clone:k.default,datum:T.default,on:N.default,dispatch:C.default},t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58);Object.defineProperty(t,"interpolate",{enumerable:!0,get:function(){return m(r).default}});var u=n(114);Object.defineProperty(t,"interpolateArray",{enumerable:!0,get:function(){return m(u).default}});var i=n(61);Object.defineProperty(t,"interpolateBasis",{enumerable:!0,get:function(){return m(i).default}});var o=n(112);Object.defineProperty(t,"interpolateBasisClosed",{enumerable:!0,get:function(){return m(o).default}});var a=n(115);Object.defineProperty(t,"interpolateDate",{enumerable:!0,get:function(){return m(a).default}});var l=n(35);Object.defineProperty(t,"interpolateNumber",{enumerable:!0,get:function(){return m(l).default}});var c=n(116);Object.defineProperty(t,"interpolateObject",{enumerable:!0,get:function(){return m(c).default}});var f=n(237);Object.defineProperty(t,"interpolateRound",{enumerable:!0,get:function(){return m(f).default}});var s=n(117);Object.defineProperty(t,"interpolateString",{enumerable:!0,get:function(){return m(s).default}});var d=n(238);Object.defineProperty(t,"interpolateTransformCss",{enumerable:!0,get:function(){return d.interpolateTransformCss}}),Object.defineProperty(t,"interpolateTransformSvg",{enumerable:!0,get:function(){return d.interpolateTransformSvg}});var h=n(241);Object.defineProperty(t,"interpolateZoom",{enumerable:!0,get:function(){return m(h).default}});var p=n(111);Object.defineProperty(t,"interpolateRgb",{enumerable:!0,get:function(){return m(p).default}}),Object.defineProperty(t,"interpolateRgbBasis",{enumerable:!0,get:function(){return p.rgbBasis}}),Object.defineProperty(t,"interpolateRgbBasisClosed",{enumerable:!0,get:function(){return p.rgbBasisClosed}});var _=n(242);Object.defineProperty(t,"interpolateHsl",{enumerable:!0,get:function(){return m(_).default}}),Object.defineProperty(t,"interpolateHslLong",{enumerable:!0,get:function(){return _.hslLong}});var v=n(243);Object.defineProperty(t,"interpolateLab",{enumerable:!0,get:function(){return m(v).default}});var y=n(244);Object.defineProperty(t,"interpolateHcl",{enumerable:!0,get:function(){return m(y).default}}),Object.defineProperty(t,"interpolateHclLong",{enumerable:!0,get:function(){return y.hclLong}});var b=n(245);Object.defineProperty(t,"interpolateCubehelix",{enumerable:!0,get:function(){return m(b).default}}),Object.defineProperty(t,"interpolateCubehelixLong",{enumerable:!0,get:function(){return b.cubehelixLong}});var g=n(246);function m(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"quantize",{enumerable:!0,get:function(){return m(g).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENDED=t.ENDING=t.RUNNING=t.STARTED=t.STARTING=t.SCHEDULED=t.CREATED=void 0,t.default=function(e,t,n,r,p,_){var v=e.__transition;if(v){if(n in v)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(d){var _,v,y,b;if(n.state!==l)return p();for(_ in i)if((b=i[_]).name===n.name){if(b.state===f)return(0,u.timeout)(o);b.state===s?(b.state=h,b.timer.stop(),b.on.call("interrupt",e,e.__data__,b.index,b.group),delete i[_]):+_a)throw new Error("too late; already scheduled");return n},t.set=function(e,t){var n=p(e,t);if(n.state>c)throw new Error("too late; already started");return n},t.get=p;var r=n(12),u=n(37),i=(0,r.dispatch)("start","end","interrupt"),o=[],a=t.CREATED=0,l=t.SCHEDULED=1,c=t.STARTING=2,f=t.STARTED=3,s=t.RUNNING=4,d=t.ENDING=5,h=t.ENDED=6;function p(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59);Object.defineProperty(t,"color",{enumerable:!0,get:function(){return o(r).default}}),Object.defineProperty(t,"rgb",{enumerable:!0,get:function(){return r.rgb}}),Object.defineProperty(t,"hsl",{enumerable:!0,get:function(){return r.hsl}});var u=n(235);Object.defineProperty(t,"lab",{enumerable:!0,get:function(){return o(u).default}}),Object.defineProperty(t,"hcl",{enumerable:!0,get:function(){return u.hcl}});var i=n(236);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"cubehelix",{enumerable:!0,get:function(){return o(i).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return _(function(){return e})()},t.projectionMutator=_;var r=h(n(130)),u=h(n(136)),i=h(n(40)),o=h(n(129)),a=h(n(72)),l=n(0),c=n(39),f=n(41),s=n(75),d=h(n(340));function h(e){return e&&e.__esModule?e:{default:e}}var p=(0,f.transformer)({point:function(e,t){this.stream.point(e*l.radians,t*l.radians)}});function _(e){var t,n,h,_,v,y,b,g,m,M,P=150,O=480,x=250,j=0,w=0,E=0,S=0,k=0,T=null,N=r.default,C=null,A=a.default,R=.5,z=(0,d.default)(D,R);function q(e){return[(e=v(e[0]*l.radians,e[1]*l.radians))[0]*P+n,h-e[1]*P]}function I(e){return(e=v.invert((e[0]-n)/P,(h-e[1])/P))&&[e[0]*l.degrees,e[1]*l.degrees]}function D(e,r){return[(e=t(e,r))[0]*P+n,h-e[1]*P]}function L(){v=(0,o.default)(_=(0,c.rotateRadians)(E,S,k),t);var e=t(j,w);return n=O-e[0]*P,h=x+e[1]*P,U()}function U(){return m=M=null,q}return q.stream=function(e){return m&&M===e?m:m=p(function(e){return(0,f.transformer)({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}(_)(N(z(A(M=e)))))},q.preclip=function(e){return arguments.length?(N=e,T=void 0,U()):N},q.postclip=function(e){return arguments.length?(A=e,C=y=b=g=null,U()):A},q.clipAngle=function(e){return arguments.length?(N=+e?(0,u.default)(T=e*l.radians):(T=null,r.default),U()):T*l.degrees},q.clipExtent=function(e){return arguments.length?(A=null==e?(C=y=b=g=null,a.default):(0,i.default)(C=+e[0][0],y=+e[0][1],b=+e[1][0],g=+e[1][1]),U()):null==C?null:[[C,y],[b,g]]},q.scale=function(e){return arguments.length?(P=+e,L()):P},q.translate=function(e){return arguments.length?(O=+e[0],x=+e[1],L()):[O,x]},q.center=function(e){return arguments.length?(j=e[0]%360*l.radians,w=e[1]%360*l.radians,L()):[j*l.degrees,w*l.degrees]},q.rotate=function(e){return arguments.length?(E=e[0]%360*l.radians,S=e[1]%360*l.radians,k=e.length>2?e[2]%360*l.radians:0,L()):[E*l.degrees,S*l.degrees,k*l.degrees]},q.precision=function(e){return arguments.length?(z=(0,d.default)(D,R=e*e),U()):(0,l.sqrt)(R)},q.fitExtent=function(e,t){return(0,s.fitExtent)(q,e,t)},q.fitSize=function(e,t){return(0,s.fitSize)(q,e,t)},q.fitWidth=function(e,t){return(0,s.fitWidth)(q,e,t)},q.fitHeight=function(e,t){return(0,s.fitHeight)(q,e,t)},function(){return t=e.apply(this,arguments),q.invert=t.invert&&I,L()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.durationSecond=1e3,t.durationMinute=6e4,t.durationHour=36e5,t.durationDay=864e5,t.durationWeek=6048e5},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transition=O,t.default=x,t.newId=function(){return++P};var r=n(1),u=M(n(247)),i=M(n(250)),o=M(n(251)),a=M(n(252)),l=M(n(253)),c=M(n(254)),f=M(n(255)),s=M(n(256)),d=M(n(257)),h=M(n(258)),p=M(n(259)),_=M(n(260)),v=M(n(261)),y=M(n(262)),b=M(n(263)),g=M(n(264)),m=M(n(36));function M(e){return e&&e.__esModule?e:{default:e}}var P=0;function O(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function x(e){return(0,r.selection)().transition(e)}var j=r.selection.prototype;O.prototype=x.prototype={constructor:O,select:h.default,selectAll:p.default,filter:c.default,merge:f.default,selection:_.default,transition:g.default,call:j.call,nodes:j.nodes,node:j.node,size:j.size,empty:j.empty,each:j.each,on:s.default,attr:u.default,attrTween:i.default,style:v.default,styleTween:y.default,text:b.default,remove:d.default,tween:m.default,delay:o.default,duration:a.default,ease:l.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(197);Object.defineProperty(t,"dispatch",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(287);Object.defineProperty(t,"path",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";function r(e,t){e&&i.hasOwnProperty(e.type)&&i[e.type](e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e&&u.hasOwnProperty(e.type)?u[e.type](e,t):r(e,t)};var u={Feature:function(e,t){r(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,u=-1,i=n.length;++ut?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";function r(){this.reset()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(e){i(u,e,this.t),i(this,u.s,this.s),this.s?this.t+=u.t:this.s=u.t},valueOf:function(){return this.s}};var u=new r;function i(e,t,n){var r=e.s=t+n,u=r-t,i=r-u;e.t=t-i+(n-u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Math.random()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(288);Object.defineProperty(t,"nest",{enumerable:!0,get:function(){return c(r).default}});var u=n(289);Object.defineProperty(t,"set",{enumerable:!0,get:function(){return c(u).default}});var i=n(64);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return c(i).default}});var o=n(290);Object.defineProperty(t,"keys",{enumerable:!0,get:function(){return c(o).default}});var a=n(291);Object.defineProperty(t,"values",{enumerable:!0,get:function(){return c(a).default}});var l=n(292);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"entries",{enumerable:!0,get:function(){return c(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hue=function(e,t){var n=t-e;return n?o(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,i.default)(isNaN(e)?t:e)},t.gamma=function(e){return 1==(e=+e)?a:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,i.default)(isNaN(t)?n:t)}},t.default=a;var r,u=n(113),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?o(e,n):(0,i.default)(isNaN(e)?t:e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spherical=function(e){return[(0,r.atan2)(e[1],e[0]),(0,r.asin)(e[2])]},t.cartesian=function(e){var t=e[0],n=e[1],u=(0,r.cos)(n);return[u*(0,r.cos)(t),u*(0,r.sin)(t),(0,r.sin)(n)]},t.cartesianDot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},t.cartesianCross=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},t.cartesianAddInPlace=function(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]},t.cartesianScale=function(e,t){return[e[0]*t,e[1]*t,e[2]*t]},t.cartesianNormalizeInPlace=function(e){var t=(0,r.sqrt)(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.azimuthalRaw=function(e){return function(t,n){var u=(0,r.cos)(t),i=(0,r.cos)(n),o=e(u*i);return[o*i*(0,r.sin)(t),o*(0,r.sin)(n)]}},t.azimuthalInvert=function(e){return function(t,n){var u=(0,r.sqrt)(t*t+n*n),i=e(u),o=(0,r.sin)(i),a=(0,r.cos)(i);return[(0,r.atan2)(t*o,u*a),(0,r.asin)(u&&n*o/u)]}};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){for(var i,o=e.children,a=-1,l=o.length,c=e.value&&(r-t)/e.value;++a0?(l=Math.floor(l/u)*u,c=Math.ceil(c/u)*u,u=(0,r.tickIncrement)(l,c,n)):u<0&&(l=Math.ceil(l*u)/u,c=Math.floor(c*u)/u,u=(0,r.tickIncrement)(l,c,n)),u>0?(i[o]=Math.floor(l/u)*u,i[a]=Math.ceil(c/u)*u,t(i)):u<0&&(i[o]=Math.ceil(l*u)/u,i[a]=Math.floor(c*u)/u,t(i)),e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>=1?u:e<=-1?-u:Math.asin(e)};t.abs=Math.abs,t.atan2=Math.atan2,t.cos=Math.cos,t.max=Math.max,t.min=Math.min,t.sin=Math.sin,t.sqrt=Math.sqrt,t.epsilon=1e-12;var r=t.pi=Math.PI,u=t.halfPi=r/2;t.tau=2*r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((u=e.length)>1)for(var n,r,u,i=1,o=e[t[0]],a=o.length;i=0;)n[t]=t;return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edges=t.circles=t.cells=t.beaches=t.epsilon2=t.epsilon=void 0,t.default=h;var r,u=n(458),i=n(169),o=n(170),a=n(89),l=n(88),c=(r=l)&&r.__esModule?r:{default:r};t.epsilon=1e-6,t.epsilon2=1e-12,t.beaches=void 0;var f=t.cells=void 0,s=(t.circles=void 0,t.edges=void 0);function d(e,t){return t[1]-e[1]||t[0]-e[0]}function h(e,n){var r,l,h,p=e.sort(d).pop();for(t.edges=s=[],t.cells=f=new Array(e.length),t.beaches=new c.default,t.circles=new c.default;;)if(h=o.firstCircle,p&&(!h||p[1]=a)return null;var l=e-u.site[0],c=t-u.site[1],f=l*l+c*c;do{u=i.cells[r=o],o=null,u.halfedges.forEach(function(n){var r=i.edges[n],a=r.left;if(a!==u.site&&a||(a=r.right)){var l=e-a[0],c=t-a[1],s=l*l+c*c;s2?e[2]*o.radians:0),t.invert=function(t){return(t=e.invert(t[0]*o.radians,t[1]*o.radians))[0]*=o.degrees,t[1]*=o.degrees,t},t};var r,u=n(129),i=(r=u)&&r.__esModule?r:{default:r},o=n(0);function a(e,t){return[e>o.pi?e-o.tau:e<-o.pi?e+o.tau:e,t]}function l(e,t,n){return(e%=o.tau)?t||n?(0,i.default)(f(e),s(t,n)):f(e):t||n?s(t,n):a}function c(e){return function(t,n){return[(t+=e)>o.pi?t-o.tau:t<-o.pi?t+o.tau:t,n]}}function f(e){var t=c(e);return t.invert=c(-e),t}function s(e,t){var n=(0,o.cos)(e),r=(0,o.sin)(e),u=(0,o.cos)(t),i=(0,o.sin)(t);function a(e,t){var a=(0,o.cos)(t),l=(0,o.cos)(e)*a,c=(0,o.sin)(e)*a,f=(0,o.sin)(t),s=f*n+l*r;return[(0,o.atan2)(c*u-s*i,l*n-f*r),(0,o.asin)(s*u+c*i)]}return a.invert=function(e,t){var a=(0,o.cos)(t),l=(0,o.cos)(e)*a,c=(0,o.sin)(e)*a,f=(0,o.sin)(t),s=f*u-c*i;return[(0,o.atan2)(c*u+f*i,l*n+s*r),(0,o.asin)(s*n-l*r)]},a}a.invert=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){function s(r,u){return e<=r&&r<=n&&t<=u&&u<=l}function d(r,u,i,o){var a=0,c=0;if(null==r||(a=h(r,i))!==(c=h(u,i))||_(r,u)<0^i>0)do{o.point(0===a||3===a?e:n,a>1?l:t)}while((a=(a+i+4)%4)!==c);else o.point(u[0],u[1])}function h(u,i){return(0,r.abs)(u[0]-e)0?0:3:(0,r.abs)(u[0]-n)0?2:1:(0,r.abs)(u[1]-t)0?1:0:i>0?3:2}function p(e,t){return _(e.x,t.x)}function _(e,t){var n=h(e,1),r=h(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(r){var h,_,v,y,b,g,m,M,P,O,x,j=r,w=(0,u.default)(),E={point:S,lineStart:function(){E.point=k,_&&_.push(v=[]);O=!0,P=!1,m=M=NaN},lineEnd:function(){h&&(k(y,b),g&&P&&w.rejoin(),h.push(w.result()));E.point=S,P&&j.lineEnd()},polygonStart:function(){j=w,h=[],_=[],x=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,r=_.length;nl&&(s-u)*(l-i)>(d-i)*(e-u)&&++t:d<=l&&(s-u)*(l-i)<(d-i)*(e-u)&&--t;return t}(),n=x&&t,u=(h=(0,a.merge)(h)).length;(n||u)&&(r.polygonStart(),n&&(r.lineStart(),d(null,null,1,r),r.lineEnd()),u&&(0,o.default)(h,p,t,d,r),r.polygonEnd());j=r,h=_=v=null}};function S(e,t){s(e,t)&&j.point(e,t)}function k(r,u){var o=s(r,u);if(_&&v.push([r,u]),O)y=r,b=u,g=o,O=!1,o&&(j.lineStart(),j.point(r,u));else if(o&&P)j.point(r,u);else{var a=[m=Math.max(f,Math.min(c,m)),M=Math.max(f,Math.min(c,M))],d=[r=Math.max(f,Math.min(c,r)),u=Math.max(f,Math.min(c,u))];(0,i.default)(a,d,e,t,n,l)?(P||(j.lineStart(),j.point(a[0],a[1])),j.point(d[0],d[1]),o||j.lineEnd(),x=!1):o&&(j.lineStart(),j.point(r,u),x=!1)}m=r,M=u,P=o}return E}};var r=n(0),u=l(n(132)),i=l(n(330)),o=l(n(133)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}var c=1e9,f=-c},function(e,t,n){"use strict";function r(e){return function(t){var n=new u;for(var r in e)n[r]=e[r];return n.stream=t,n}}function u(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{stream:r(e)}},t.transformer=r,u.prototype={constructor:u,point:function(e,t){this.stream.point(e,t)},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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){for(var i,o=e.children,a=-1,l=o.length,c=e.value&&(u-n)/e.value;++a2?d:s,r=o=null,y}function y(t){return(r||(r=n(l,h,_?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,p)))(+t)}return y.invert=function(e){return(o||(o=n(h,l,f,_?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},y.domain=function(e){return arguments.length?(l=i.map.call(e,a.default),v()):l.slice()},y.range=function(e){return arguments.length?(h=i.slice.call(e),v()):h.slice()},y.rangeRound=function(e){return h=i.slice.call(e),p=u.interpolateRound,v()},y.clamp=function(e){return arguments.length?(_=!!e,v()):_},y.interpolate=function(e){return arguments.length?(p=e,v()):p},v()};var r=n(3),u=n(5),i=n(15),o=l(n(81)),a=l(n(150));function l(e){return e&&e.__esModule?e:{default:e}}var c=[0,1];function f(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(0,o.default)(t)}function s(e,t,n,r){var u=e[0],i=e[1],o=t[0],a=t[1];return i=1)return+n(e[r-1],r-1,e);var r,u=(r-1)*t,o=Math.floor(u),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(u-o)}};var r,u=n(22),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(198);Object.defineProperty(t,"drag",{enumerable:!0,get:function(){return i(r).default}});var u=n(108);function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"dragDisable",{enumerable:!0,get:function(){return i(u).default}}),Object.defineProperty(t,"dragEnable",{enumerable:!0,get:function(){return u.yesdrag}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),i.default.hasOwnProperty(t)?{space:i.default[t],local:e}:e};var r,u=n(53),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.xhtml="http://www.w3.org/1999/xhtml";t.default={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e?r:function(){return this.querySelector(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,u,i=function(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),o=i.length;if(!(arguments.length<2)){for(c=t?l:a,null==n&&(n=!1),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=s.exec(e))?m(parseInt(t[1],16)):(t=d.exec(e))?new x(t[1],t[2],t[3],1):(t=h.exec(e))?new x(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?M(t[1],t[2],t[3],t[4]):(t=_.exec(e))?M(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=v.exec(e))?j(t[1],t[2]/100,t[3]/100,1):(t=y.exec(e))?j(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?m(b[e]):"transparent"===e?new x(NaN,NaN,NaN,0):null}function m(e){return new x(e>>16&255,e>>8&255,255&e,1)}function M(e,t,n,r){return r<=0&&(e=t=n=NaN),new x(e,t,n,r)}function P(e){return e instanceof o||(e=g(e)),e?new x((e=e.rgb()).r,e.g,e.b,e.opacity):new x}function O(e,t,n,r){return 1===arguments.length?P(e):new x(e,t,n,null==r?1:r)}function x(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function j(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new S(e,t,n,r)}function w(e){if(e instanceof S)return new S(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=g(e)),!e)return new S;if(e instanceof S)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,u=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-u,c=(i+u)/2;return l?(a=t===i?(n-r)/l+6*(n0&&c<1?0:a,new S(a,l,c,e.opacity)}function E(e,t,n,r){return 1===arguments.length?w(e):new S(e,t,n,null==r?1:r)}function S(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function k(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}(0,i.default)(o,g,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),(0,i.default)(x,O,(0,u.extend)(o,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new x(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new x(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),(0,i.default)(S,E,(0,u.extend)(o,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new S(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new S(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,u=2*n-r;return new x(k(e>=240?e-240:e+120,u,r),k(e,u,r),k(e<120?e+240:e-120,u,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},t.extend=function(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}},function(e,t,n){"use strict";function r(e,t,n,r,u){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*n+(1+3*e+3*i-3*o)*r+o*u)/6}Object.defineProperty(t,"__esModule",{value:!0}),t.basis=r,t.default=function(e){var t=e.length-1;return function(n){var u=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[u],o=e[u+1],a=u>0?e[u-1]:2*i-o,l=u=0&&t._call.call(null,e),t=t._next;--o}function m(){s=(f=h.now())+d,o=a=0;try{g()}finally{o=0,function(){var e,t,n=u,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:u=t);i=e,P(r)}(),s=0}}function M(){var e=h.now(),t=e-f;t>c&&(d-=t,f=e)}function P(e){o||(a&&(a=clearTimeout(a)),e-s>24?(e<1/0&&(a=setTimeout(m,e-h.now()-d)),l&&(l=clearInterval(l))):(l||(f=h.now(),l=setInterval(M,c)),o=1,p(m)))}y.prototype=b.prototype={constructor:y,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?_():+n)+(null==t?0:+t),this._next||i===this||(i?i._next=this:u=this,i=this),this._call=e,this._time=n,P()},stop:function(){this._call&&(this._call=null,this._time=1/0,P())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.prefix="$";function u(){}function i(e,t){var n=new u;if(e instanceof u)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,i=-1,o=e.length;if(null==t)for(;++i=f?h=!0:(l=e.charCodeAt(s++))===o?p=!0:l===a&&(p=!0,e.charCodeAt(s)===o&&++s),e.slice(c+1,t-1).replace(/""/g,'"')}for(;s1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEqualAreaRaw=o,t.default=function(){return(0,u.conicProjection)(o).scale(155.424).center([0,33.6442])};var r=n(0),u=n(74),i=n(341);function o(e,t){var n=(0,r.sin)(e),u=(n+(0,r.sin)(t))/2;if((0,r.abs)(u)=0;--i)c.push(r=n.children[i]=new g(u[i])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(b)}function v(e){return e.children}function y(e){e.data=e.data.data}function b(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function g(e){this.data=e,this.depth=this.height=0,this.parent=null}g.prototype=_.prototype={constructor:g,count:r.default,each:u.default,eachAfter:o.default,eachBefore:i.default,sum:a.default,sort:l.default,path:c.default,ancestors:f.default,descendants:s.default,leaves:d.default,links:h.default,copy:function(){return _(this).eachBefore(y)}}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new Error;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.optional=function(e){return null==e?null:r(e)},t.required=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.phi=void 0,t.squarifyRatio=a;var r=i(n(26)),u=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var o=t.phi=(1+Math.sqrt(5))/2;function a(e,t,n,i,o,a){for(var l,c,f,s,d,h,p,_,v,y,b,g=[],m=t.children,M=0,P=0,O=m.length,x=t.value;Mp&&(p=c),b=d*d*y,(_=Math.max(p/b,b/h))>v){d-=c;break}v=_}g.push(l={value:d,dice:f1?t:1)},n}(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,i,o,a,l=(0,u.dispatch)("beforesend","progress","load","error"),c=(0,r.map)(),f=new XMLHttpRequest,s=null,d=null,h=0;function p(e){var t,r=f.status;if(!r&&function(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}(f)||r>=200&&r<300||304===r){if(o)try{t=o.call(n,f)}catch(e){return void l.call("error",n,e)}else t=f;l.call("load",n,t)}else l.call("error",n,e)}if("undefined"==typeof XDomainRequest||"withCredentials"in f||!/^(http(s)?:)?\/\//.test(e)||(f=new XDomainRequest),"onload"in f?f.onload=f.onerror=f.ontimeout=p:f.onreadystatechange=function(e){f.readyState>3&&p(e)},f.onprogress=function(e){l.call("progress",n,e)},n={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?c.get(e):(null==t?c.remove(e):c.set(e,t+""),n)},mimeType:function(e){return arguments.length?(i=null==e?null:e+"",n):i},responseType:function(e){return arguments.length?(a=e,n):a},timeout:function(e){return arguments.length?(h=+e,n):h},user:function(e){return arguments.length<1?s:(s=null==e?null:e+"",n)},password:function(e){return arguments.length<1?d:(d=null==e?null:e+"",n)},response:function(e){return o=e,n},get:function(e,t){return n.send("GET",e,t)},post:function(e,t){return n.send("POST",e,t)},send:function(t,r,u){return f.open(t,e,!0,s,d),null==i||c.has("accept")||c.set("accept",i+",*/*"),f.setRequestHeader&&c.each(function(e,t){f.setRequestHeader(t,e)}),null!=i&&f.overrideMimeType&&f.overrideMimeType(i),null!=a&&(f.responseType=a),h>0&&(f.timeout=h),null==u&&"function"==typeof r&&(u=r,r=null),null!=u&&1===u.length&&(u=function(e){return function(t,n){e(null==t?n:null)}}(u)),null!=u&&n.on("error",u).on("load",function(e){u(null,e)}),l.call("beforesend",n,f),f.send(null==r?null:r),n},abort:function(){return f.abort(),n},on:function(){var e=l.on.apply(l,arguments);return e===l?n:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return n.get(t)}return n};var r=n(21),u=n(12)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(83);Object.defineProperty(t,"timeFormatDefaultLocale",{enumerable:!0,get:function(){return a(r).default}}),Object.defineProperty(t,"timeFormat",{enumerable:!0,get:function(){return r.timeFormat}}),Object.defineProperty(t,"timeParse",{enumerable:!0,get:function(){return r.timeParse}}),Object.defineProperty(t,"utcFormat",{enumerable:!0,get:function(){return r.utcFormat}}),Object.defineProperty(t,"utcParse",{enumerable:!0,get:function(){return r.utcParse}});var u=n(153);Object.defineProperty(t,"timeFormatLocale",{enumerable:!0,get:function(){return a(u).default}});var i=n(154);Object.defineProperty(t,"isoFormat",{enumerable:!0,get:function(){return a(i).default}});var o=n(420);function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"isoParse",{enumerable:!0,get:function(){return a(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcParse=t.utcFormat=t.timeParse=t.timeFormat=void 0,t.default=a;var r,u,i=n(153),o=(r=i)&&r.__esModule?r:{default:r};t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0;function a(e){return u=(0,o.default)(e),t.timeFormat=u.format,t.timeParse=u.parse,t.utcFormat=u.utcFormat,t.utcParse=u.utcParse,u}a({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o.x,t=o.y,n=(0,u.default)(!0),a=null,l=i.default,c=null;function f(u){var i,o,f,s=u.length,d=!1;for(null==a&&(c=l(f=(0,r.path)())),i=0;i<=s;++i)!(ir.epsilon){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);u=(u*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>r.epsilon){var f=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*f+e._x1*e._l23_2a-t*e._l12_2a)/s,a=(a*f+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(u,i,o,a,e._x2,e._y2)}function o(e,t){this._context=e,this._alpha=t}t.point=i,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:i(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new o(e,t):new u.Cardinal(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map(o);return(0,i.default)(e).sort(function(e,n){return t[e]-t[n]})},t.sum=o;var r,u=n(31),i=(r=u)&&r.__esModule?r:{default:r};function o(e){for(var t,n=0,r=-1,u=e.length;++rr.epsilon||Math.abs(a[0][1]-a[1][1])>r.epsilon)||delete r.edges[l]};var r=n(32);function u(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function i(e,t,n,r,u){var i,o=e[0],a=e[1],l=o[0],c=o[1],f=0,s=1,d=a[0]-l,h=a[1]-c;if(i=t-l,d||!(i>0)){if(i/=d,d<0){if(i0){if(i>s)return;i>f&&(f=i)}if(i=r-l,d||!(i<0)){if(i/=d,d<0){if(i>s)return;i>f&&(f=i)}else if(d>0){if(i0)){if(i/=h,h<0){if(i0){if(i>s)return;i>f&&(f=i)}if(i=u-c,h||!(i<0)){if(i/=h,h<0){if(i>s)return;i>f&&(f=i)}else if(h>0){if(i0||s<1)||(f>0&&(e[0]=[l+f*d,c+f*h]),s<1&&(e[1]=[l+s*d,c+s*h]),!0)}}}}}function o(e,t,n,r,u){var i=e[1];if(i)return!0;var o,a,l=e[0],c=e.left,f=e.right,s=c[0],d=c[1],h=f[0],p=f[1],_=(s+h)/2,v=(d+p)/2;if(p===d){if(_=r)return;if(s>h){if(l){if(l[1]>=u)return}else l=[_,n];i=[_,u]}else{if(l){if(l[1]1)if(s>h){if(l){if(l[1]>=u)return}else l=[(n-a)/o,n];i=[(u-a)/o,u]}else{if(l){if(l[1]=r)return}else l=[t,o*t+a];i=[r,o*r+a]}else{if(l){if(l[0]>>1;e(t[i],n)<0?r=i+1:u=i}return r},right:function(t,n,r,u){for(null==r&&(r=0),null==u&&(u=t.length);r>>1;e(t[i],n)>0?u=i:r=i+1}return r}}};var r,u=n(17),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";function r(e,t){return[e,t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){null==t&&(t=r);for(var n=0,u=e.length-1,i=e[0],o=new Array(u<0?0:u);n1)return c/(o-1)};var r,u=n(22),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,u,i=e.length,o=-1;if(null==t){for(;++o=n)for(r=u=n;++on&&(r=n),u=n)for(r=u=n;++on&&(r=n),u0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(u=Math.ceil(t-e+1));++l=r?a*=10:l>=u?a*=5:l>=i&&(a*=2);return t=0?(l>=r?10:l>=u?5:l>=i?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(l>=r?10:l>=u?5:l>=i?2:1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,u=e.length,i=-1;if(null==t){for(;++i=n)for(r=n;++in&&(r=n)}else for(;++i=n)for(r=n;++in&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(u=e.length))return[];for(var t=-1,n=(0,i.default)(e,o),r=new Array(n);++t1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):o(this.node(),e)},t.styleValue=o;var r,u=n(55),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return e.style.getPropertyValue(t)||(0,i.default)(e).getComputedStyle(e,null).getPropertyValue(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.document.documentElement,n=(0,u.select)(e).on("dragstart.drag",o.default,!0);"onselectstart"in t?n.on("selectstart.drag",o.default,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")},t.yesdrag=function(e,t){var n=e.document.documentElement,r=(0,u.select)(e).on("dragstart.drag",null);t&&(r.on("click.drag",o.default,!0),setTimeout(function(){r.on("click.drag",null)},0));"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)};var r,u=n(1),i=n(109),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.deg2rad=Math.PI/180,t.rad2deg=180/Math.PI},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgbBasisClosed=t.rgbBasis=void 0;var r=n(7),u=l(n(61)),i=l(n(112)),o=n(23),a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(t){var n,u,i=t.length,o=new Array(i),a=new Array(i),l=new Array(i);for(n=0;nl&&(u=t.slice(l,u),f[c]?f[c]+=u:f[++c]=u),(n=n[0])===(r=r[0])?f[c]?f[c]+=r:f[++c]=r:(f[++c]=null,s.push({i:c,x:(0,i.default)(n,r)})),l=a.lastIndex;return lr.STARTING&&n.state1?(null==n?d.remove(e):d.set(e,b(n)),t):d.get(e)},find:function(t,n,r){var u,i,o,a,l,c=0,f=e.length;for(null==r?r=1/0:r*=r,c=0;c1?(p.on(e,n),t):p.on(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.grouping&&e.thousands?(0,u.default)(e.grouping,e.thousands):c.default,n=e.currency,f=e.decimal,d=e.numerals?(0,i.default)(e.numerals):c.default,h=e.percent||"%";function p(e){var r=(e=(0,o.default)(e)).fill,u=e.align,i=e.sign,c=e.symbol,p=e.zero,_=e.width,v=e.comma,y=e.precision,b=e.type,g="$"===c?n[0]:"#"===c&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",m="$"===c?n[1]:/[%p]/.test(b)?h:"",M=a.default[b],P=!b||/[defgprs%]/.test(b);function O(e){var n,o,a,c=g,h=m;if("c"===b)h=M(e)+h,e="";else{var O=(e=+e)<0;if(e=M(Math.abs(e),y),O&&0==+e&&(O=!1),c=(O?"("===i?i:"-":"-"===i||"("===i?"":i)+c,h=("s"===b?s[8+l.prefixExponent/3]:"")+h+(O&&"("===i?")":""),P)for(n=-1,o=e.length;++n(a=e.charCodeAt(n))||a>57){h=(46===a?f+e.slice(n+1):e.slice(n))+h,e=e.slice(0,n);break}}v&&!p&&(e=t(e,1/0));var x=c.length+e.length+h.length,j=x<_?new Array(_-x+1).join(r):"";switch(v&&p&&(e=t(j+e,j.length?_-h.length:1/0),j=""),u){case"<":e=c+e+h+j;break;case"=":e=c+j+e+h;break;case"^":e=j.slice(0,x=j.length>>1)+c+e+h+j.slice(x);break;default:e=j+c+e+h}return d(e)}return y=null==y?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),O.toString=function(){return e+""},O}return{format:p,formatPrefix:function(e,t){var n=p(((e=(0,o.default)(e)).type="f",e)),u=3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(t)/3))),i=Math.pow(10,-u),a=s[8+u/3];return function(e){return n(i*e)+a}}}};var r=f(n(38)),u=f(n(317)),i=f(n(318)),o=f(n(124)),a=f(n(125)),l=n(126),c=f(n(321));function f(e){return e&&e.__esModule?e:{default:e}}var s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,u=n(125),i=(r=u)&&r.__esModule?r:{default:r};var o=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function a(e){return new l(e)}function l(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",u=t[3]||"-",a=t[4]||"",l=!!t[5],c=t[6]&&+t[6],f=!!t[7],s=t[8]&&+t[8].slice(1),d=t[9]||"";"n"===d?(f=!0,d="g"):i.default[d]||(d=""),(l||"0"===n&&"="===r)&&(l=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=u,this.symbol=a,this.zero=l,this.width=c,this.comma=f,this.precision=s,this.type=d}a.prototype=l.prototype,l.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(319)),u=o(n(126)),i=o(n(320));function o(e){return e&&e.__esModule?e:{default:e}}t.default={"":r.default,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return(0,i.default)(100*e,t)},r:i.default,s:u.default,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prefixExponent=void 0,t.default=function(e,n){var r=(0,i.default)(e,n);if(!r)return e+"";var u=r[0],o=r[1],a=o-(t.prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,l=u.length;return a===l?u:a>l?u+new Array(a-l+1).join("0"):a>0?u.slice(0,a)+"."+u.slice(a):"0."+new Array(1-a).join("0")+(0,i.default)(e,Math.max(0,n+a-1))[0]};var r,u=n(71),i=(r=u)&&r.__esModule?r:{default:r};t.prefixExponent=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areaStream=t.areaRingSum=void 0,t.default=function(e){return p.reset(),(0,o.default)(e,_),2*p};var r=a(n(19)),u=n(0),i=a(n(11)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,c,f,s,d,h=t.areaRingSum=(0,r.default)(),p=(0,r.default)(),_=t.areaStream={point:i.default,lineStart:i.default,lineEnd:i.default,polygonStart:function(){h.reset(),_.lineStart=v,_.lineEnd=y},polygonEnd:function(){var e=+h;p.add(e<0?u.tau+e:e),this.lineStart=this.lineEnd=this.point=i.default},sphere:function(){p.add(u.tau)}};function v(){_.point=b}function y(){g(l,c)}function b(e,t){_.point=g,l=e,c=t,e*=u.radians,t*=u.radians,f=e,s=(0,u.cos)(t=t/2+u.quarterPi),d=(0,u.sin)(t)}function g(e,t){e*=u.radians,t=(t*=u.radians)/2+u.quarterPi;var n=e-f,r=n>=0?1:-1,i=r*n,o=(0,u.cos)(t),a=(0,u.sin)(t),l=d*a,c=s*o+l*(0,u.cos)(i),p=l*r*(0,u.sin)(i);h.add((0,u.atan2)(p,c)),f=e,s=o,d=a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.circleStream=c,t.default=function(){var e,t,n=(0,o.default)([0,0]),r=(0,o.default)(90),u=(0,o.default)(6),i={point:function(n,r){e.push(n=t(n,r)),n[0]*=a.degrees,n[1]*=a.degrees}};function f(){var o=n.apply(this,arguments),f=r.apply(this,arguments)*a.radians,s=u.apply(this,arguments)*a.radians;return e=[],t=(0,l.rotateRadians)(-o[0]*a.radians,-o[1]*a.radians,0).invert,c(i,f,s,1),o={type:"Polygon",coordinates:[e]},e=t=null,o}return f.center=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.default)([+e[0],+e[1]]),f):n},f.radius=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.default)(+e),f):r},f.precision=function(e){return arguments.length?(u="function"==typeof e?e:(0,o.default)(+e),f):u},f};var r,u=n(24),i=n(328),o=(r=i)&&r.__esModule?r:{default:r},a=n(0),l=n(39);function c(e,t,n,r,i,o){if(n){var l=(0,a.cos)(t),c=(0,a.sin)(t),s=r*n;null==i?(i=t+r*a.tau,o=t-s/2):(i=f(l,i),o=f(l,o),(r>0?io)&&(i+=r*a.tau));for(var d,h=i;r>0?h>o:h0?o.pi:-o.pi,c=(0,o.abs)(i-n);(0,o.abs)(c-o.pi)0?o.halfPi:-o.halfPi),e.point(u,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(i,r),t=0):u!==l&&c>=o.pi&&((0,o.abs)(n-u)o.epsilon?(0,o.atan)(((0,o.sin)(t)*(i=(0,o.cos)(r))*(0,o.sin)(n)-(0,o.sin)(r)*(u=(0,o.cos)(t))*(0,o.sin)(e))/(u*i*a)):(t+r)/2}(n,r,i,a),e.point(u,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=i,r=a),u=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var u;if(null==e)u=n*o.halfPi,r.point(-o.pi,u),r.point(0,u),r.point(o.pi,u),r.point(o.pi,0),r.point(o.pi,-u),r.point(0,-u),r.point(-o.pi,-u),r.point(-o.pi,0),r.point(-o.pi,u);else if((0,o.abs)(e[0]-t[0])>o.epsilon){var i=e[0]0){for(y||(l.polygonStart(),y=!0),l.lineStart(),e=0;e1&&2&u&&i.push(i.pop().concat(i.shift())),d.push(i.filter(c))}return b}};var r=l(n(132)),u=l(n(133)),i=n(0),o=l(n(135)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.length>1}function f(e,t){return((e=e.x)[0]<0?e[1]-i.halfPi-i.epsilon:i.halfPi-e[1])-((t=t.x)[0]<0?t[1]-i.halfPi-i.epsilon:i.halfPi-t[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[];return{point:function(t,n){e.push([t,n])},lineStart:function(){t.push(e=[])},lineEnd:i.default,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}};var r,u=n(11),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){var l,c,f=[],s=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if((0,i.default)(r,a)){for(u.lineStart(),l=0;l=0;--l)u.point((h=d[l])[0],h[1]);else r(_.x,_.p.x,-1,u);_=_.p}d=(_=_.o).z,v=!v}while(!_.v);u.lineEnd()}}};var r,u=n(134),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function a(e){if(t=e.length){for(var t,n,r=0,u=e[0];++r=0?1:-1,E=w*j,S=E>a.pi,k=y*O;if(l.add((0,a.atan2)(k*w*(0,a.sin)(E),b*x+k*(0,a.cos)(E))),i+=S?j+w*a.tau:j,S^_>=n^M>=n){var T=(0,o.cartesianCross)((0,o.cartesian)(p),(0,o.cartesian)(m));(0,o.cartesianNormalizeInPlace)(T);var N=(0,o.cartesianCross)(u,T);(0,o.cartesianNormalizeInPlace)(N);var C=(S^j>=0?-1:1)*(0,a.asin)(N[2]);(r>C||r===C&&(T[0]||T[1]))&&(c+=S^j>=0?1:-1)}}return(i<-a.epsilon||i0,c=(0,i.abs)(t)>i.epsilon;function f(e,n){return(0,i.cos)(e)*(0,i.cos)(n)>t}function s(e,n,u){var o=(0,r.cartesian)(e),a=(0,r.cartesian)(n),l=[1,0,0],c=(0,r.cartesianCross)(o,a),f=(0,r.cartesianDot)(c,c),s=c[0],d=f-s*s;if(!d)return!u&&e;var h=t*f/d,p=-t*s/d,_=(0,r.cartesianCross)(l,c),v=(0,r.cartesianScale)(l,h),y=(0,r.cartesianScale)(c,p);(0,r.cartesianAddInPlace)(v,y);var b=_,g=(0,r.cartesianDot)(v,b),m=(0,r.cartesianDot)(b,b),M=g*g-m*((0,r.cartesianDot)(v,v)-1);if(!(M<0)){var P=(0,i.sqrt)(M),O=(0,r.cartesianScale)(b,(-g-P)/m);if((0,r.cartesianAddInPlace)(O,v),O=(0,r.spherical)(O),!u)return O;var x,j=e[0],w=n[0],E=e[1],S=n[1];w0^O[1]<((0,i.abs)(O[0]-j)i.pi^(j<=O[0]&&O[0]<=w)){var N=(0,r.cartesianScale)(b,(-g+P)/m);return(0,r.cartesianAddInPlace)(N,v),[O,(0,r.spherical)(N)]}}}function d(t,n){var r=l?e:i.pi-e,u=0;return t<-r?u|=1:t>r&&(u|=2),n<-r?u|=4:n>r&&(u|=8),u}return(0,a.default)(f,function(e){var t,n,r,u,a;return{lineStart:function(){u=r=!1,a=1},point:function(h,p){var _,v=[h,p],y=f(h,p),b=l?y?0:d(h,p):y?d(h+(h<0?i.pi:-i.pi),p):0;if(!t&&(u=r=y)&&e.lineStart(),y!==r&&(!(_=s(t,v))||(0,o.default)(t,_)||(0,o.default)(v,_))&&(v[0]+=i.epsilon,v[1]+=i.epsilon,y=f(v[0],v[1])),y!==r)a=0,y?(e.lineStart(),_=s(v,t),e.point(_[0],_[1])):(_=s(t,v),e.point(_[0],_[1]),e.lineEnd()),t=_;else if(c&&t&&l^y){var g;b&n||!(g=s(v,t,!0))||(a=0,l?(e.lineStart(),e.point(g[0][0],g[0][1]),e.point(g[1][0],g[1][1]),e.lineEnd()):(e.point(g[1][0],g[1][1]),e.lineEnd(),e.lineStart(),e.point(g[0][0],g[0][1])))}!y||t&&(0,o.default)(t,v)||e.point(v[0],v[1]),t=v,r=y,n=b},lineEnd:function(){r&&e.lineEnd(),t=null},clean:function(){return a|(u&&r)<<1}}},function(t,r,i,o){(0,u.circleStream)(o,e,n,i,t,r)},l?[0,-e]:[-i.pi,e-i.pi])};var r=n(24),u=n(128),i=n(0),o=l(n(134)),a=l(n(131));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return o[0]=e,o[1]=t,(0,i.default)(a)};var r,u=n(138),i=(r=u)&&r.__esModule?r:{default:r};var o=[null,null],a={type:"LineString",coordinates:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s.reset(),(0,o.default)(e,d),+s};var r=a(n(19)),u=n(0),i=a(n(11)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,c,f,s=(0,r.default)(),d={sphere:i.default,point:i.default,lineStart:function(){d.point=p,d.lineEnd=h},lineEnd:i.default,polygonStart:i.default,polygonEnd:i.default};function h(){d.point=d.lineEnd=i.default}function p(e,t){e*=u.radians,t*=u.radians,l=e,c=(0,u.sin)(t),f=(0,u.cos)(t),d.point=_}function _(e,t){e*=u.radians,t*=u.radians;var n=(0,u.sin)(t),r=(0,u.cos)(t),i=(0,u.abs)(e-l),o=(0,u.cos)(i),a=r*(0,u.sin)(i),d=f*n-c*r*o,h=c*n+f*r*o;s.add((0,u.atan2)((0,u.sqrt)(a*a+d*d),h)),l=e,c=n,f=r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(11),i=(r=u)&&r.__esModule?r:{default:r};var o=1/0,a=o,l=-o,c=l,f={point:function(e,t){el&&(l=e);tc&&(c=t)},lineStart:i.default,lineEnd:i.default,polygonStart:i.default,polygonEnd:i.default,result:function(){var e=[[o,a],[l,c]];return l=c=-(a=o=1/0),e}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var r,u=n(73),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equirectangularRaw=o,t.default=function(){return(0,i.default)(o).scale(152.63)};var r,u=n(8),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return[e,t]}o.invert=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packEnclose=f,t.default=function(e){return f(e),e};var r,u=n(143),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n){var r=e.x,u=e.y,i=t.r+n.r,o=e.r+n.r,a=t.x-r,l=t.y-u,c=a*a+l*l;if(c){var f=.5+((o*=o)-(i*=i))/(2*c),s=Math.sqrt(Math.max(0,2*i*(o+c)-(o-=c)*o-i*i))/(2*c);n.x=r+f*a+s*l,n.y=u+f*l-s*a}else n.x=r+o,n.y=u}function a(e,t){var n=t.x-e.x,r=t.y-e.y,u=e.r+t.r;return u*u-1e-6>n*n+r*r}function l(e){var t=e._,n=e.next._,r=t.r+n.r,u=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return u*u+i*i}function c(e){this._=e,this.next=null,this.previous=null}function f(e){if(!(u=e.length))return 0;var t,n,r,u,f,s,d,h,p,_,v;if((t=e[0]).x=0,t.y=0,!(u>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(u>2))return t.r+n.r;o(n,t,r=e[2]),t=new c(t),n=new c(n),r=new c(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(d=3;d0&&n*n>r*r+u*u}function a(e,t){for(var n=0;n1);return e+n*i*Math.sqrt(-2*Math.log(u)/u)}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){for(var n=0,r=0;r=12)]},Q:_e,s:ve,S:B,u:Y,U:H,V:X,w:V,W:W,x:null,X:null,y:Z,Y:$,Z:G,"%":pe},ke={a:function(e){return s[e.getUTCDay()]},A:function(e){return f[e.getUTCDay()]},b:function(e){return ye[e.getUTCMonth()]},B:function(e){return d[e.getUTCMonth()]},c:null,d:Q,e:Q,f:ne,H:J,I:K,j:ee,L:te,m:re,M:ue,p:function(e){return c[+(e.getUTCHours()>=12)]},Q:_e,s:ve,S:ie,u:oe,U:ae,V:le,w:ce,W:fe,x:null,X:null,y:se,Y:de,Z:he,"%":pe},Te={a:function(e,t,n){var r=Pe.exec(t.slice(n));return r?(e.w=Oe[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=me.exec(t.slice(n));return r?(e.w=Me[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=we.exec(t.slice(n));return r?(e.m=Ee[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=xe.exec(t.slice(n));return r?(e.m=je[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return Ae(e,t,n,r)},d:x,e:x,f:T,H:w,I:w,j:j,L:k,m:O,M:E,p:function(e,t,n){var r=be.exec(t.slice(n));return r?(e.p=ge[r[0].toLowerCase()],n+r[0].length):-1},Q:C,s:A,S:S,u:v,U:y,V:b,w:_,W:g,x:function(e,t,r){return Ae(e,n,t,r)},X:function(e,t,n){return Ae(e,l,t,n)},y:M,Y:m,Z:P,"%":N};function Ne(e,t){return function(n){var r,u,i,o=[],l=-1,c=0,f=e.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in l||(l.w=1),"Z"in l?(u=i(o(l.y)),a=u.getUTCDay(),u=a>4||0===a?r.utcMonday.ceil(u):(0,r.utcMonday)(u),u=r.utcDay.offset(u,7*(l.V-1)),l.y=u.getUTCFullYear(),l.m=u.getUTCMonth(),l.d=u.getUTCDate()+(l.w+6)%7):(u=t(o(l.y)),a=u.getDay(),u=a>4||0===a?r.timeMonday.ceil(u):(0,r.timeMonday)(u),u=r.timeDay.offset(u,7*(l.V-1)),l.y=u.getFullYear(),l.m=u.getMonth(),l.d=u.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),a="Z"in l?i(o(l.y)).getUTCDay():t(o(l.y)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(a+5)%7:l.w+7*l.U-(a+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,i(l)):t(l)}}function Ae(e,t,n,r){for(var u,i,o=0,l=t.length,c=n.length;o=c)return-1;if(37===(u=t.charCodeAt(o++))){if(u=t.charAt(o++),!(i=Te[u in a?t.charAt(o++):u])||(r=i(e,n,r))<0)return-1}else if(u!=n.charCodeAt(r++))return-1}return r}return Se.x=Ne(n,Se),Se.X=Ne(l,Se),Se.c=Ne(t,Se),ke.x=Ne(n,ke),ke.X=Ne(l,ke),ke.c=Ne(t,ke),{format:function(e){var t=Ne(e+="",Se);return t.toString=function(){return e},t},parse:function(e){var t=Ce(e+="",u);return t.toString=function(){return e},t},utcFormat:function(e){var t=Ne(e+="",ke);return t.toString=function(){return e},t},utcParse:function(e){var t=Ce(e,i);return t.toString=function(){return e},t}}};var r=n(45);function u(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function i(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var a={"-":"",_:" ",0:"0"},l=/^\s*\d+/,c=/^%/,f=/[\\^$*+?|[\]().{}]/g;function s(e,t,n){var r=e<0?"-":"",u=(r?-e:e)+"",i=u.length;return r+(i68?1900:2e3),n+r[0].length):-1}function P(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function O(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function x(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function j(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function w(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function E(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function S(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function k(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function T(e,t,n){var r=l.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function N(e,t,n){var r=c.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function C(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function A(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function R(e,t){return s(e.getDate(),t,2)}function z(e,t){return s(e.getHours(),t,2)}function q(e,t){return s(e.getHours()%12||12,t,2)}function I(e,t){return s(1+r.timeDay.count((0,r.timeYear)(e),e),t,3)}function D(e,t){return s(e.getMilliseconds(),t,3)}function L(e,t){return D(e,t)+"000"}function U(e,t){return s(e.getMonth()+1,t,2)}function F(e,t){return s(e.getMinutes(),t,2)}function B(e,t){return s(e.getSeconds(),t,2)}function Y(e){var t=e.getDay();return 0===t?7:t}function H(e,t){return s(r.timeSunday.count((0,r.timeYear)(e),e),t,2)}function X(e,t){var n=e.getDay();return e=n>=4||0===n?(0,r.timeThursday)(e):r.timeThursday.ceil(e),s(r.timeThursday.count((0,r.timeYear)(e),e)+(4===(0,r.timeYear)(e).getDay()),t,2)}function V(e){return e.getDay()}function W(e,t){return s(r.timeMonday.count((0,r.timeYear)(e),e),t,2)}function Z(e,t){return s(e.getFullYear()%100,t,2)}function $(e,t){return s(e.getFullYear()%1e4,t,4)}function G(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+s(t/60|0,"0",2)+s(t%60,"0",2)}function Q(e,t){return s(e.getUTCDate(),t,2)}function J(e,t){return s(e.getUTCHours(),t,2)}function K(e,t){return s(e.getUTCHours()%12||12,t,2)}function ee(e,t){return s(1+r.utcDay.count((0,r.utcYear)(e),e),t,3)}function te(e,t){return s(e.getUTCMilliseconds(),t,3)}function ne(e,t){return te(e,t)+"000"}function re(e,t){return s(e.getUTCMonth()+1,t,2)}function ue(e,t){return s(e.getUTCMinutes(),t,2)}function ie(e,t){return s(e.getUTCSeconds(),t,2)}function oe(e){var t=e.getUTCDay();return 0===t?7:t}function ae(e,t){return s(r.utcSunday.count((0,r.utcYear)(e),e),t,2)}function le(e,t){var n=e.getUTCDay();return e=n>=4||0===n?(0,r.utcThursday)(e):r.utcThursday.ceil(e),s(r.utcThursday.count((0,r.utcYear)(e),e)+(4===(0,r.utcYear)(e).getUTCDay()),t,2)}function ce(e){return e.getUTCDay()}function fe(e,t){return s(r.utcMonday.count((0,r.utcYear)(e),e),t,2)}function se(e,t){return s(e.getUTCFullYear()%100,t,2)}function de(e,t){return s(e.getUTCFullYear()%1e4,t,4)}function he(){return"+0000"}function pe(){return"%"}function _e(e){return+e}function ve(e){return Math.floor(+e/1e3)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isoSpecifier=void 0;var r=n(83),u=t.isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ";var i=Date.prototype.toISOString?function(e){return e.toISOString()}:(0,r.utcFormat)(u);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.x,t=null,n=(0,u.default)(0),l=a.y,c=(0,u.default)(!0),f=null,s=i.default,d=null;function h(u){var i,o,a,h,p,_=u.length,v=!1,y=new Array(_),b=new Array(_);for(null==f&&(d=s(p=(0,r.path)())),i=0;i<=_;++i){if(!(i<_&&c(h=u[i],i,u))===v)if(v=!v)o=i,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),a=i-1;a>=o;--a)d.point(y[a],b[a]);d.lineEnd(),d.areaEnd()}v&&(y[i]=+e(h,i,u),b[i]=+n(h,i,u),d.point(t?+t(h,i,u):y[i],l?+l(h,i,u):b[i]))}if(p)return d=null,p+""||null}function p(){return(0,o.default)().defined(c).curve(s).context(f)}return h.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,u.default)(+n),t=null,h):e},h.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,u.default)(+t),h):e},h.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,u.default)(+e),h):t},h.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)(+e),l=null,h):n},h.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)(+e),h):n},h.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,u.default)(+e),h):l},h.lineX0=h.lineY0=function(){return p().x(e).y(n)},h.lineY1=function(){return p().x(e).y(l)},h.lineX1=function(){return p().x(t).y(n)},h.defined=function(e){return arguments.length?(c="function"==typeof e?e:(0,u.default)(!!e),h):c},h.curve=function(e){return arguments.length?(s=e,null!=f&&(d=s(f)),h):s},h.context=function(e){return arguments.length?(null==e?f=d=null:d=s(f=e),h):f},h};var r=n(13),u=l(n(16)),i=l(n(46)),o=l(n(84)),a=n(85);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.curveRadialLinear=void 0,t.default=a;var r,u=n(46),i=(r=u)&&r.__esModule?r:{default:r};t.curveRadialLinear=a(i.default);function o(e){this._curve=e}function a(e){function t(t){return new o(e(t))}return t._curve=e,t}o.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineRadial=a,t.default=function(){return a((0,i.default)().curve(r.curveRadialLinear))};var r=n(156),u=o(r),i=o(n(84));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t((0,u.default)(e)):t()._curve},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=Array.prototype.slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);t.default={draw:function(e,t){var n=Math.sqrt(t/r.pi);e.moveTo(n,0),e.arc(0,0,n,0,r.tau)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(1/3),u=2*r;t.default={draw:function(e,t){var n=Math.sqrt(t/u),i=n*r;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),u=Math.sin(r.pi/10)/Math.sin(7*r.pi/10),i=Math.sin(r.tau/10)*u,o=-Math.cos(r.tau/10)*u;t.default={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),u=i*n,a=o*n;e.moveTo(0,-n),e.lineTo(u,a);for(var l=1;l<5;++l){var c=r.tau*l/5,f=Math.cos(c),s=Math.sin(c);e.lineTo(s*n,-f*n),e.lineTo(f*u-s*a,s*u+f*a)}e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(3);t.default={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=-.5,u=Math.sqrt(3)/2,i=1/Math.sqrt(12),o=3*(i/2+1);t.default={draw:function(e,t){var n=Math.sqrt(t/o),a=n/2,l=n*i,c=a,f=n*i+n,s=-c,d=f;e.moveTo(a,l),e.lineTo(c,f),e.lineTo(s,d),e.lineTo(r*a-u*l,u*a+r*l),e.lineTo(r*c-u*f,u*c+r*f),e.lineTo(r*s-u*d,u*s+r*d),e.lineTo(r*a+u*l,r*l-u*a),e.lineTo(r*c+u*f,r*f-u*c),e.lineTo(r*s+u*d,r*d-u*s),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalClosed=a;var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r},o=n(49);function a(e,t){this._context=e,this._k=(1-t)/6}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new a(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalOpen=u;var r=n(49);function u(e,t){this._context=e,this._k=(1-t)/6}u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,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:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new u(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCell=function(e){return u.cells[e.index]={site:e,halfedges:[]}},t.cellHalfedgeStart=o,t.cellHalfedgeEnd=a,t.sortCellHalfedges=function(){for(var e,t,n,r,o=0,a=u.cells.length;ou.epsilon||Math.abs(g-v)>u.epsilon)&&(d.splice(s,0,u.edges.push((0,r.createBorderEdge)(f,y,Math.abs(b-e)u.epsilon?[e,Math.abs(_-e)u.epsilon?[Math.abs(v-i)u.epsilon?[n,Math.abs(_-n)u.epsilon?[Math.abs(v-t)=-u.epsilon2)return;var y=d*d+h*h,b=p*p+_*_,g=(_*y-h*b)/v,m=(d*b-p*y)/v,M=i.pop()||new function(){(0,r.RedBlackNode)(this),this.x=this.y=this.arc=this.site=this.cy=null};M.arc=e,M.site=l,M.x=g+f,M.y=(M.cy=m+s)+Math.sqrt(g*g+m*m),e.circle=M;var P=null,O=u.circles._;for(;O;)if(M.y build/package.js && node rollup.node",test:"tape 'test/**/*-test.js'",prepublishOnly:'npm run test && rollup -c --banner "$(preamble)" && uglifyjs -b beautify=false,preamble="\'$(preamble)\'" build/d3.js -c negate_iife=false -m -o build/d3.min.js',postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/build/d3.js d3.v4.js && cp ../d3/build/d3.min.js d3.v4.min.js && git add d3.v4.js d3.v4.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/build/d3.js ../d3/build/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m "${npm_package_version}" && git tag -am "${npm_package_version}" v${npm_package_version} && git push && git push --tags && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.min.js'},t.devDependencies={json2module:"0.0","package-preamble":"0.1",rimraf:"2",rollup:"0.53","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3",tape:"4","uglify-js":"3.2"},t.dependencies={"d3-array":"1.2.1","d3-axis":"1.0.8","d3-brush":"1.0.4","d3-chord":"1.0.4","d3-collection":"1.0.4","d3-color":"1.0.3","d3-dispatch":"1.0.3","d3-drag":"1.2.1","d3-dsv":"1.0.8","d3-ease":"1.0.3","d3-force":"1.1.0","d3-format":"1.2.2","d3-geo":"1.9.1","d3-hierarchy":"1.1.5","d3-interpolate":"1.1.6","d3-path":"1.0.5","d3-polygon":"1.0.3","d3-quadtree":"1.0.3","d3-queue":"3.0.7","d3-random":"1.1.0","d3-request":"1.0.6","d3-scale":"1.0.7","d3-selection":"1.3.0","d3-shape":"1.2.0","d3-time":"1.0.8","d3-time-format":"2.1.1","d3-timer":"1.0.7","d3-transition":"1.1.1","d3-voronoi":"1.1.2","d3-zoom":"1.7.1"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var u,i,o,a,l=e.length,c=t.length,f=new Array(l*c);for(null==n&&(n=r.pair),u=o=0;ue?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.default,t=o.default,n=f.default;function s(r){var i,o,a=r.length,f=new Array(a);for(i=0;ih;)p.pop(),--_;var v,y=new Array(_+1);for(i=0;i<=_;++i)(v=y[i]=[]).x0=i>0?p[i-1]:d,v.x1=i<_?p[i]:h;for(i=0;i=n)for(r=n;++ir&&(r=n)}else for(;++i=n)for(r=n;++ir&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=e.length,u=r,o=-1,a=0;if(null==t)for(;++o=0;)for(t=(r=e[u]).length;--t>=0;)n[--o]=r[t];return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(n=e.length){var n,r,u=0,o=0,a=e[o];for(null==t&&(t=i.default);++u0&&(n=r-E),U<0?j=w-T:U>0&&(i=l-T),D=p,K.attr("cursor",m.selection),ne());break;default:return}(0,s.default)()},!0).on("keyup.brush",function(){switch(o.event.keyCode){case 16:Z&&(R=z=Z=!1,ne());break;case 18:D===v&&(L<0?c=g:L>0&&(n=r),U<0?j=w:U>0&&(i=l),D=_,ne());break;case 32:D===p&&(o.event.altKey?(L&&(c=g-E*L,n=r+E*L),U&&(j=w-T*U,i=l+T*U),D=v):(L<0?c=g:L>0&&(n=r),U<0?j=w:U>0&&(i=l),D=_),K.attr("cursor",m[I]),ne());break;default:return}(0,s.default)()},!0).on("mousemove.brush",te,!0).on("mouseup.brush",re,!0);(0,u.dragDisable)(o.event.view)}(0,f.nopropagation)(),(0,a.interrupt)(q),C.call(q),Q.start()}function te(){var e=(0,o.mouse)(q);!Z||R||z||(Math.abs(e[0]-G[0])>Math.abs(e[1]-G[1])?z=!0:R=!0),G=e,N=!0,(0,s.default)(),ne()}function ne(){var e;switch(E=G[0]-$[0],T=G[1]-$[1],D){case p:case h:L&&(E=Math.max(H-n,Math.min(V-c,E)),r=n+E,g=c+E),U&&(T=Math.max(X-i,Math.min(W-j,T)),l=i+T,w=j+T);break;case _:L<0?(E=Math.max(H-n,Math.min(V-n,E)),r=n+E,g=c):L>0&&(E=Math.max(H-c,Math.min(V-c,E)),r=n,g=c+E),U<0?(T=Math.max(X-i,Math.min(W-i,T)),l=i+T,w=j):U>0&&(T=Math.max(X-j,Math.min(W-j,T)),l=i,w=j+T);break;case v:L&&(r=Math.max(H,Math.min(V,n-E*L)),g=Math.max(H,Math.min(V,c+E*L))),U&&(l=Math.max(X,Math.min(W,i-T*U)),w=Math.max(X,Math.min(W,j+T*U)))}g=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),l=-1,c=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++l0)for(var n,r,u=new Array(n),i=0;iO}m.mouse("drag")}function E(){(0,u.select)(u.event.view).on("mousemove.drag mouseup.drag",null),(0,i.yesdrag)(u.event.view,n),(0,l.default)(),m.mouse("end")}function S(){if(v.apply(this,arguments)){var e,t,n=u.event.changedTouches,r=y.apply(this,arguments),i=n.length;for(e=0;e=x&&(x=O+1);!(P=m[x])&&++x=0;)(r=u[i])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=u);for(var n=this._groups,i=n.length,o=new Array(i),a=0;at?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this._groups,t=0,n=e.length;t1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]}},function(e,t,n){"use strict";function r(e){return e.trim().split(/^|\s+/)}function u(e){return e.classList||new i(e)}function i(e){this._node=e,this._names=r(e.getAttribute("class")||"")}function o(e,t){for(var n=u(e),r=-1,i=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}},function(e,t,n){"use strict";function r(){this.textContent=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent}},function(e,t,n){"use strict";function r(){this.innerHTML=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML}},function(e,t,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t="function"==typeof e?e:(0,i.default)(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})};var r,u=n(33),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n="function"==typeof e?e:(0,r.default)(e),i=null==t?o:"function"==typeof t?t:(0,u.default)(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})};var r=i(n(33)),u=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return null}},function(e,t,n){"use strict";function r(){var e=this.parentNode;e&&e.removeChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function u(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.select(e?u:r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.property("__data__",e):this.node().__data__}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return o(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return o(this,e,t)}})(e,t))};var r,u=n(55),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n){var r=(0,i.default)(e),u=r.CustomEvent;"function"==typeof u?u=new u(t,n):(u=r.document.createEvent("Event"),n?(u.initEvent(t,n.bubbles,n.cancelable),u.detail=n.detail):u.initEvent(t,!1,!1)),e.dispatchEvent(u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=0;function u(){return new i}function i(){this._="@"+(++r).toString(36)}i.prototype=u.prototype={constructor:i,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)();return t.changedTouches&&(t=t.changedTouches[0]),(0,u.default)(e,t)};var r=i(n(57)),u=i(n(34));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e?new r.Selection([document.querySelectorAll(e)],[document.documentElement]):new r.Selection([null==e?[]:e],r.root)};var r=n(4)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){arguments.length<3&&(n=t,t=(0,r.default)().changedTouches);for(var i,o=0,a=t?t.length:0;op?Math.pow(e,1/3):e/h+s}function g(e){return e>d?e*e*e:h*(e-s)}function m(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function M(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function P(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof O)return new O(e.h,e.c,e.l,e.opacity);e instanceof y||(e=_(e));var t=Math.atan2(e.b,e.a)*a.rad2deg;return new O(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new O(e,t,n,null==r?1:r)}function O(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}(0,i.default)(y,v,(0,u.extend)(o.Color,{brighter:function(e){return new y(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new y(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=c*g(e),t=l*g(t),n=f*g(n),new o.Rgb(m(3.2404542*t-1.5371385*e-.4985314*n),m(-.969266*t+1.8760108*e+.041556*n),m(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),(0,i.default)(O,P,(0,u.extend)(o.Color,{brighter:function(e){return new O(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new O(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return _(this).rgb()}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,t.Cubehelix=y;var r,u=n(60),i=(r=u)&&r.__esModule?r:{default:r},o=n(59),a=n(110);var l=-.14861,c=1.78277,f=-.29227,s=-.90649,d=1.97294,h=d*s,p=d*c,_=c*f-s*l;function v(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof y)return new y(e.h,e.s,e.l,e.opacity);e instanceof o.Rgb||(e=(0,o.rgbConvert)(e));var t=e.r/255,n=e.g/255,r=e.b/255,u=(_*r+h*t-p*n)/(_+h-p),i=r-u,l=(d*(n-u)-f*i)/s,c=Math.sqrt(l*l+i*i)/(d*u*(1-u)),v=c?Math.atan2(l,i)*a.rad2deg-120:NaN;return new y(v<0?v+360:v,c,u,e.opacity)}(e):new y(e,t,n,null==r?1:r)}function y(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,i.default)(y,v,(0,u.extend)(o.Color,{brighter:function(e){return e=null==e?o.brighter:Math.pow(o.brighter,e),new y(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?o.darker:Math.pow(o.darker,e),new y(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*a.deg2rad,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),u=Math.sin(e);return new o.Rgb(255*(t+n*(l*r+c*u)),255*(t+n*(f*r+s*u)),255*(t+n*(d*r)),this.opacity)}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateTransformSvg=t.interpolateTransformCss=void 0;var r,u=n(35),i=(r=u)&&r.__esModule?r:{default:r},o=n(239);function a(e,t,n,r){function u(e){return e.length?e.pop()+" ":""}return function(o,a){var l=[],c=[];return o=e(o),a=e(a),function(e,r,u,o,a,l){if(e!==u||r!==o){var c=a.push("translate(",null,t,null,n);l.push({i:c-4,x:(0,i.default)(e,u)},{i:c-2,x:(0,i.default)(r,o)})}else(u||o)&&a.push("translate("+u+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,l,c),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(u(n)+"rotate(",null,r)-2,x:(0,i.default)(e,t)})):t&&n.push(u(n)+"rotate("+t+r)}(o.rotate,a.rotate,l,c),function(e,t,n,o){e!==t?o.push({i:n.push(u(n)+"skewX(",null,r)-2,x:(0,i.default)(e,t)}):t&&n.push(u(n)+"skewX("+t+r)}(o.skewX,a.skewX,l,c),function(e,t,n,r,o,a){if(e!==n||t!==r){var l=o.push(u(o)+"scale(",null,",",null,")");a.push({i:l-4,x:(0,i.default)(e,n)},{i:l-2,x:(0,i.default)(t,r)})}else 1===n&&1===r||o.push(u(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,l,c),o=a=null,function(e){for(var t,n=-1,r=c.length;++n=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?r.init:r.set;return function(){var r=o(this,e),a=r.on;a!==u&&(i=(u=a).copy()).on(t,n),r.on=i}}(n,e,t))};var r=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=(0,u.selector)(e));for(var r=this._groups,l=r.length,c=new Array(l),f=0;fu.SCHEDULED&&n.name===t)return new r.Transition([[e]],i,t,+o);return null};var r=n(10),u=n(6),i=[null]},function(e,t,n){"use strict";var r=n(1),u=o(n(267)),i=o(n(268));function o(e){return e&&e.__esModule?e:{default:e}}r.selection.prototype.interrupt=u.default,r.selection.prototype.transition=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.each(function(){(0,i.default)(this,e)})};var r,u=n(119),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;e instanceof u.Transition?(t=e._id,e=e._name):(t=(0,u.newId)(),(n=c).time=(0,l.now)(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a1e-6)if(Math.abs(s*l-c*f)>1e-6&&i){var h=n-o,p=u-a,_=l*l+c*c,v=h*h+p*p,y=Math.sqrt(_),b=Math.sqrt(d),g=i*Math.tan((r-Math.acos((_+d-v)/(2*y*b)))/2),m=g/b,M=g/y;Math.abs(m-1)>1e-6&&(this._+="L"+(e+m*f)+","+(t+m*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>f*p)+","+(this._x1=e+M*l)+","+(this._y1=t+M*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,a,l){e=+e,t=+t;var c=(n=+n)*Math.cos(o),f=n*Math.sin(o),s=e+c,d=t+f,h=1^l,p=l?o-a:a-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+d:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+s+","+d),n&&(p<0&&(p=p%u+u),p>i?this._+="A"+n+","+n+",0,1,"+h+","+(e-c)+","+(t-f)+"A"+n+","+n+",0,1,"+h+","+(this._x1=s)+","+(this._y1=d):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+h+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n,r=[],u=[];function f(n,u,o,a){if(u>=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,c,s,d=-1,h=n.length,p=r[u++],_=(0,i.default)(),v=o();++dr.length)return n;var o,a=u[i-1];return null!=t&&i>=r.length?o=n.entries():(o=[],n.each(function(t,n){o.push({key:n,values:e(t,i)})})),null!=a?o.sort(function(e,t){return a(e.key,t.key)}):o}(f(e,0,l,c),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return u[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}};var r,u=n(64),i=(r=u)&&r.__esModule?r:{default:r};function o(){return{}}function a(e,t,n){e[t]=n}function l(){return(0,i.default)()}function c(e,t,n){e.set(t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(64);function i(){}var o=((r=u)&&r.__esModule?r:{default:r}).default.prototype;function a(e,t){var n=new i;if(e instanceof i)e.each(function(e){n.add(e)});else if(e){var r=-1,u=e.length;if(null==t)for(;++rd+c||rh+c||if.index){var s=d-a.x-a.vx,v=h-a.y-a.vy,y=s*s+v*v;ye.r&&(e.r=e[t].r)}function d(){if(t){var r,u,i=t.length;for(n=new Array(i),r=0;r=(i=(_+y)/2))?_=i:y=i,(f=n>=(o=(v+b)/2))?v=o:b=o,u=h,!(h=h[s=f<<1|c]))return u[s]=p,e;if(a=+e._x.call(null,h.data),l=+e._y.call(null,h.data),t===a&&n===l)return p.next=h,u?u[s]=p:e._root=p,e;do{u=u?u[s]=new Array(4):e._root=new Array(4),(c=t>=(i=(_+y)/2))?_=i:y=i,(f=n>=(o=(v+b)/2))?v=o:b=o}while((s=f<<1|c)==(d=(l>=o)<<1|a>=i));return u[d]=h,u[s]=p,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return r(this.cover(t,n),t,n,e)},t.addAll=function(e){var t,n,u,i,o=e.length,a=new Array(o),l=new Array(o),c=1/0,f=1/0,s=-1/0,d=-1/0;for(n=0;ns&&(s=u),id&&(d=i));se||e>u||r>t||t>i))return this;var o,a,l=u-n,c=this._root;switch(a=(t<(r+i)/2)<<1|e<(n+u)/2){case 0:do{(o=new Array(4))[a]=c,c=o}while(i=r+(l*=2),e>(u=n+l)||t>i);break;case 1:do{(o=new Array(4))[a]=c,c=o}while(i=r+(l*=2),(n=u-l)>e||t>i);break;case 2:do{(o=new Array(4))[a]=c,c=o}while(r=i-(l*=2),e>(u=n+l)||r>t);break;case 3:do{(o=new Array(4))[a]=c,c=o}while(r=i-(l*=2),(n=u-l)>e||r>t)}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=u,this._y1=i,this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,u,o,a,l,c,f,s=this._x0,d=this._y0,h=this._x1,p=this._y1,_=[],v=this._root;for(v&&_.push(new i.default(v,s,d,h,p)),null==n?n=1/0:(s=e-n,d=t-n,h=e+n,p=t+n,n*=n);c=_.pop();)if(!(!(v=c.node)||(u=c.x0)>h||(o=c.y0)>p||(a=c.x1)=b)<<1|e>=y)&&(c=_[_.length-1],_[_.length-1]=_[_.length-1-f],_[_.length-1-f]=c)}else{var g=e-+this._x.call(null,v.data),m=t-+this._y.call(null,v.data),M=g*g+m*m;if(M=(a=(p+v)/2))?p=a:v=a,(f=o>=(l=(_+y)/2))?_=l:y=l,t=h,!(h=h[s=f<<1|c]))return this;if(!h.length)break;(t[s+1&3]||t[s+2&3]||t[s+3&3])&&(n=t,d=s)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(u=h.next)&&delete h.next,r?(u?r.next=u:delete r.next,this):t?(u?t[s]=u:delete t[s],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=u,this)},t.removeAll=function(e){for(var t=0,n=e.length;t=f)){(e.data!==t||e.next)&&(0===l&&(p+=(l=(0,u.default)())*l),0===d&&(p+=(d=(0,u.default)())*d),p0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),i.push(n.substring(u-=a,u+a)),!((l+=a+1)>r));)a=e[o=(o+1)%e.length];return i.reverse().join(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e:for(var n,r=(e=e.toPrecision(t)).length,u=1,i=-1;u0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e,t);if(!n)return e+"";var r=n[0],u=n[1];return u<0?"0."+new Array(-u).join("0")+r:r.length>u+1?r.slice(0,u+1)+"."+r.slice(u+1):r+new Array(u-r.length+2).join("0")};var r,u=n(71),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max(0,-(0,i.default)(Math.abs(e)))};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,i.default)(t)/3)))-(0,i.default)(Math.abs(e)))};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,i.default)(t)-(0,i.default)(e))+1};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(127);Object.defineProperty(t,"geoArea",{enumerable:!0,get:function(){return q(r).default}});var u=n(326);Object.defineProperty(t,"geoBounds",{enumerable:!0,get:function(){return q(u).default}});var i=n(327);Object.defineProperty(t,"geoCentroid",{enumerable:!0,get:function(){return q(i).default}});var o=n(128);Object.defineProperty(t,"geoCircle",{enumerable:!0,get:function(){return q(o).default}});var a=n(130);Object.defineProperty(t,"geoClipAntimeridian",{enumerable:!0,get:function(){return q(a).default}});var l=n(136);Object.defineProperty(t,"geoClipCircle",{enumerable:!0,get:function(){return q(l).default}});var c=n(329);Object.defineProperty(t,"geoClipExtent",{enumerable:!0,get:function(){return q(c).default}});var f=n(40);Object.defineProperty(t,"geoClipRectangle",{enumerable:!0,get:function(){return q(f).default}});var s=n(331);Object.defineProperty(t,"geoContains",{enumerable:!0,get:function(){return q(s).default}});var d=n(137);Object.defineProperty(t,"geoDistance",{enumerable:!0,get:function(){return q(d).default}});var h=n(332);Object.defineProperty(t,"geoGraticule",{enumerable:!0,get:function(){return q(h).default}}),Object.defineProperty(t,"geoGraticule10",{enumerable:!0,get:function(){return h.graticule10}});var p=n(333);Object.defineProperty(t,"geoInterpolate",{enumerable:!0,get:function(){return q(p).default}});var _=n(138);Object.defineProperty(t,"geoLength",{enumerable:!0,get:function(){return q(_).default}});var v=n(334);Object.defineProperty(t,"geoPath",{enumerable:!0,get:function(){return q(v).default}});var y=n(140);Object.defineProperty(t,"geoAlbers",{enumerable:!0,get:function(){return q(y).default}});var b=n(342);Object.defineProperty(t,"geoAlbersUsa",{enumerable:!0,get:function(){return q(b).default}});var g=n(343);Object.defineProperty(t,"geoAzimuthalEqualArea",{enumerable:!0,get:function(){return q(g).default}}),Object.defineProperty(t,"geoAzimuthalEqualAreaRaw",{enumerable:!0,get:function(){return g.azimuthalEqualAreaRaw}});var m=n(344);Object.defineProperty(t,"geoAzimuthalEquidistant",{enumerable:!0,get:function(){return q(m).default}}),Object.defineProperty(t,"geoAzimuthalEquidistantRaw",{enumerable:!0,get:function(){return m.azimuthalEquidistantRaw}});var M=n(345);Object.defineProperty(t,"geoConicConformal",{enumerable:!0,get:function(){return q(M).default}}),Object.defineProperty(t,"geoConicConformalRaw",{enumerable:!0,get:function(){return M.conicConformalRaw}});var P=n(73);Object.defineProperty(t,"geoConicEqualArea",{enumerable:!0,get:function(){return q(P).default}}),Object.defineProperty(t,"geoConicEqualAreaRaw",{enumerable:!0,get:function(){return P.conicEqualAreaRaw}});var O=n(346);Object.defineProperty(t,"geoConicEquidistant",{enumerable:!0,get:function(){return q(O).default}}),Object.defineProperty(t,"geoConicEquidistantRaw",{enumerable:!0,get:function(){return O.conicEquidistantRaw}});var x=n(141);Object.defineProperty(t,"geoEquirectangular",{enumerable:!0,get:function(){return q(x).default}}),Object.defineProperty(t,"geoEquirectangularRaw",{enumerable:!0,get:function(){return x.equirectangularRaw}});var j=n(347);Object.defineProperty(t,"geoGnomonic",{enumerable:!0,get:function(){return q(j).default}}),Object.defineProperty(t,"geoGnomonicRaw",{enumerable:!0,get:function(){return j.gnomonicRaw}});var w=n(348);Object.defineProperty(t,"geoIdentity",{enumerable:!0,get:function(){return q(w).default}});var E=n(8);Object.defineProperty(t,"geoProjection",{enumerable:!0,get:function(){return q(E).default}}),Object.defineProperty(t,"geoProjectionMutator",{enumerable:!0,get:function(){return E.projectionMutator}});var S=n(76);Object.defineProperty(t,"geoMercator",{enumerable:!0,get:function(){return q(S).default}}),Object.defineProperty(t,"geoMercatorRaw",{enumerable:!0,get:function(){return S.mercatorRaw}});var k=n(349);Object.defineProperty(t,"geoNaturalEarth1",{enumerable:!0,get:function(){return q(k).default}}),Object.defineProperty(t,"geoNaturalEarth1Raw",{enumerable:!0,get:function(){return k.naturalEarth1Raw}});var T=n(350);Object.defineProperty(t,"geoOrthographic",{enumerable:!0,get:function(){return q(T).default}}),Object.defineProperty(t,"geoOrthographicRaw",{enumerable:!0,get:function(){return T.orthographicRaw}});var N=n(351);Object.defineProperty(t,"geoStereographic",{enumerable:!0,get:function(){return q(N).default}}),Object.defineProperty(t,"geoStereographicRaw",{enumerable:!0,get:function(){return N.stereographicRaw}});var C=n(352);Object.defineProperty(t,"geoTransverseMercator",{enumerable:!0,get:function(){return q(C).default}}),Object.defineProperty(t,"geoTransverseMercatorRaw",{enumerable:!0,get:function(){return C.transverseMercatorRaw}});var A=n(39);Object.defineProperty(t,"geoRotation",{enumerable:!0,get:function(){return q(A).default}});var R=n(14);Object.defineProperty(t,"geoStream",{enumerable:!0,get:function(){return q(R).default}});var z=n(41);function q(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"geoTransform",{enumerable:!0,get:function(){return q(z).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,u,i,o,l;if(d=s=-(c=f=1/0),y=[],(0,a.default)(e,m),n=y.length){for(y.sort(k),t=1,i=[r=y[0]];tS(r[0],r[1])&&(r[1]=u[1]),S(u[0],r[1])>S(r[0],r[1])&&(r[0]=u[0])):i.push(r=u);for(o=-1/0,t=0,r=i[n=i.length-1];t<=n;r=u,++t)u=i[t],(l=S(r[1],u[0]))>o&&(o=l,c=u[0],s=r[1])}return y=b=null,c===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,f],[s,d]]};var r=l(n(19)),u=n(127),i=n(24),o=n(0),a=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}var c,f,s,d,h,p,_,v,y,b,g=(0,r.default)(),m={point:M,lineStart:O,lineEnd:x,polygonStart:function(){m.point=j,m.lineStart=w,m.lineEnd=E,g.reset(),u.areaStream.polygonStart()},polygonEnd:function(){u.areaStream.polygonEnd(),m.point=M,m.lineStart=O,m.lineEnd=x,u.areaRingSum<0?(c=-(s=180),f=-(d=90)):g>o.epsilon?d=90:g<-o.epsilon&&(f=-90),b[0]=c,b[1]=s}};function M(e,t){y.push(b=[c=e,s=e]),td&&(d=t)}function P(e,t){var n=(0,i.cartesian)([e*o.radians,t*o.radians]);if(v){var r=(0,i.cartesianCross)(v,n),u=[r[1],-r[0],0],a=(0,i.cartesianCross)(u,r);(0,i.cartesianNormalizeInPlace)(a),a=(0,i.spherical)(a);var l,p=e-h,_=p>0?1:-1,g=a[0]*o.degrees*_,m=(0,o.abs)(p)>180;m^(_*hd&&(d=l):m^(_*h<(g=(g+360)%360-180)&&g<_*e)?(l=-a[1]*o.degrees)d&&(d=t)),m?eS(c,s)&&(s=e):S(e,s)>S(c,s)&&(c=e):s>=c?(es&&(s=e)):e>h?S(c,e)>S(c,s)&&(s=e):S(e,s)>S(c,s)&&(c=e)}else y.push(b=[c=e,s=e]);td&&(d=t),v=n,h=e}function O(){m.point=P}function x(){b[0]=c,b[1]=s,m.point=M,v=null}function j(e,t){if(v){var n=e-h;g.add((0,o.abs)(n)>180?n+(n>0?360:-360):n)}else p=e,_=t;u.areaStream.point(e,t),P(e,t)}function w(){u.areaStream.lineStart()}function E(){j(p,_),u.areaStream.lineEnd(),(0,o.abs)(g)>o.epsilon&&(c=-(s=180)),b[0]=c,b[1]=s,v=null}function S(e,t){return(t-=e)<0?t+360:t}function k(e,t){return e[0]-t[0]}function T(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t0)){if(o/=s,s<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=u-a,s||!(o<0)){if(o/=s,s<0){if(o>f)return;o>c&&(c=o)}else if(s>0){if(o0)){if(o/=d,d<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=i-l,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>c&&(c=o)}else if(d>0){if(o0&&(e[0]=a+c*s,e[1]=l+c*d),f<1&&(t[0]=a+f*s,t[1]=l+f*d),!0}}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e&&a.hasOwnProperty(e.type)?a[e.type]:c)(e,t)};var r=o(n(135)),u=o(n(137)),i=n(0);function o(e){return e&&e.__esModule?e:{default:e}}var a={Feature:function(e,t){return c(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,u=n.length;++ru.epsilon}).map(d)).concat((0,r.range)((0,u.ceil)(c/y)*y,l,y).filter(function(e){return(0,u.abs)(e%g)>u.epsilon}).map(h))}return M.lines=function(){return P().map(function(e){return{type:"LineString",coordinates:e}})},M.outline=function(){return{type:"Polygon",coordinates:[p(a).concat(_(f).slice(1),p(n).reverse().slice(1),_(s).reverse().slice(1))]}},M.extent=function(e){return arguments.length?M.extentMajor(e).extentMinor(e):M.extentMinor()},M.extentMajor=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],s=+e[0][1],f=+e[1][1],a>n&&(e=a,a=n,n=e),s>f&&(e=s,s=f,f=e),M.precision(m)):[[a,s],[n,f]]},M.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],c=+n[0][1],l=+n[1][1],t>e&&(n=t,t=e,e=n),c>l&&(n=c,c=l,l=n),M.precision(m)):[[t,c],[e,l]]},M.step=function(e){return arguments.length?M.stepMajor(e).stepMinor(e):M.stepMinor()},M.stepMajor=function(e){return arguments.length?(b=+e[0],g=+e[1],M):[b,g]},M.stepMinor=function(e){return arguments.length?(v=+e[0],y=+e[1],M):[v,y]},M.precision=function(r){return arguments.length?(m=+r,d=i(c,l,90),h=o(t,e,m),p=i(s,f,90),_=o(a,n,m),M):m},M.extentMajor([[-180,-90+u.epsilon],[180,90-u.epsilon]]).extentMinor([[-180,-80-u.epsilon],[180,80+u.epsilon]])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e[0]*r.radians,u=e[1]*r.radians,i=t[0]*r.radians,o=t[1]*r.radians,a=(0,r.cos)(u),l=(0,r.sin)(u),c=(0,r.cos)(o),f=(0,r.sin)(o),s=a*(0,r.cos)(n),d=a*(0,r.sin)(n),h=c*(0,r.cos)(i),p=c*(0,r.sin)(i),_=2*(0,r.asin)((0,r.sqrt)((0,r.haversin)(o-u)+a*c*(0,r.haversin)(i-n))),v=(0,r.sin)(_),y=_?function(e){var t=(0,r.sin)(e*=_)/v,n=(0,r.sin)(_-e)/v,u=n*s+t*h,i=n*d+t*p,o=n*l+t*f;return[(0,r.atan2)(i,u)*r.degrees,(0,r.atan2)(o,(0,r.sqrt)(u*u+i*i))*r.degrees]}:function(){return[n*r.degrees,u*r.degrees]};return y.distance=_,y};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,s,d=4.5;function h(e){return e&&("function"==typeof d&&s.pointRadius(+d.apply(this,arguments)),(0,u.default)(e,n(s))),s.result()}return h.area=function(e){return(0,u.default)(e,n(i.default)),i.default.result()},h.measure=function(e){return(0,u.default)(e,n(c.default)),c.default.result()},h.bounds=function(e){return(0,u.default)(e,n(o.default)),o.default.result()},h.centroid=function(e){return(0,u.default)(e,n(a.default)),a.default.result()},h.projection=function(t){return arguments.length?(n=null==t?(e=null,r.default):(e=t).stream,h):e},h.context=function(e){return arguments.length?(s=null==e?(t=null,new f.default):new l.default(t=e),"function"!=typeof d&&s.pointRadius(d),h):t},h.pointRadius=function(e){return arguments.length?(d="function"==typeof e?e:(s.pointRadius(+e),+e),h):d},h.projection(e).context(t)};var r=s(n(72)),u=s(n(14)),i=s(n(335)),o=s(n(139)),a=s(n(336)),l=s(n(337)),c=s(n(338)),f=s(n(339));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(19)),u=n(0),i=o(n(11));function o(e){return e&&e.__esModule?e:{default:e}}var a,l,c,f,s=(0,r.default)(),d=(0,r.default)(),h={point:i.default,lineStart:i.default,lineEnd:i.default,polygonStart:function(){h.lineStart=p,h.lineEnd=y},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=i.default,s.add((0,u.abs)(d)),d.reset()},result:function(){var e=s/2;return s.reset(),e}};function p(){h.point=_}function _(e,t){h.point=v,a=c=e,l=f=t}function v(e,t){d.add(f*e-c*t),c=e,f=t}function y(){v(a,l)}t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u,i,o,a=n(0),l=0,c=0,f=0,s=0,d=0,h=0,p=0,_=0,v=0,y={point:b,lineStart:g,lineEnd:P,polygonStart:function(){y.lineStart=O,y.lineEnd=x},polygonEnd:function(){y.point=b,y.lineStart=g,y.lineEnd=P},result:function(){var e=v?[p/v,_/v]:h?[s/h,d/h]:f?[l/f,c/f]:[NaN,NaN];return l=c=f=s=d=h=p=_=v=0,e}};function b(e,t){l+=e,c+=t,++f}function g(){y.point=m}function m(e,t){y.point=M,b(i=e,o=t)}function M(e,t){var n=e-i,r=t-o,u=(0,a.sqrt)(n*n+r*r);s+=u*(i+e)/2,d+=u*(o+t)/2,h+=u,b(i=e,o=t)}function P(){y.point=b}function O(){y.point=j}function x(){w(r,u)}function j(e,t){y.point=w,b(r=i=e,u=o=t)}function w(e,t){var n=e-i,r=t-o,u=(0,a.sqrt)(n*n+r*r);s+=u*(i+e)/2,d+=u*(o+t)/2,h+=u,p+=(u=o*e-i*t)*(i+e),_+=u*(o+t),v+=3*u,b(i=e,o=t)}t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,u=n(0),i=n(11),o=(r=i)&&r.__esModule?r:{default:r};function a(e){this._context=e}a.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,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(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,u.tau)}},result:o.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(19)),u=n(0),i=o(n(11));function o(e){return e&&e.__esModule?e:{default:e}}var a,l,c,f,s,d=(0,r.default)(),h={point:i.default,lineStart:function(){h.point=p},lineEnd:function(){a&&_(l,c),h.point=i.default},polygonStart:function(){a=!0},polygonEnd:function(){a=null},result:function(){var e=+d;return d.reset(),e}};function p(e,t){h.point=_,l=f=e,c=s=t}function _(e,t){f-=e,s-=t,d.add((0,u.sqrt)(f*f+s*s)),f=e,s=t}t.default=h},function(e,t,n){"use strict";function r(){this._string=[]}function u(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={_radius:4.5,_circle:u(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,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(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=u(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return+t?function(e,t){function n(r,i,o,l,c,f,s,d,h,p,_,v,y,b){var g=s-r,m=d-i,M=g*g+m*m;if(M>4*t&&y--){var P=l+p,O=c+_,x=f+v,j=(0,u.sqrt)(P*P+O*O+x*x),w=(0,u.asin)(x/=j),E=(0,u.abs)((0,u.abs)(x)-1)t||(0,u.abs)((g*N+m*C)/M-.5)>.3||l*p+c*_+f*v=.12&&u<.234&&r>=-.425&&r<-.214?s:u>=.166&&u<.234&&r>=-.214&&r<-.115?d:f).invert(e)},p.stream=function(n){return e&&t===n?e:(r=[f.stream(t=n),s.stream(n),d.stream(n)],u=r.length,e={point:function(e,t){for(var n=-1;++n0?t<-r.halfPi+r.epsilon&&(t=-r.halfPi+r.epsilon):t>r.halfPi-r.epsilon&&(t=r.halfPi-r.epsilon);var n=a/(0,r.pow)(o(t),u);return[n*(0,r.sin)(u*e),a-n*(0,r.cos)(u*e)]}return l.invert=function(e,t){var n=a-t,i=(0,r.sign)(u)*(0,r.sqrt)(e*e+n*n);return[(0,r.atan2)(e,(0,r.abs)(n))/u*(0,r.sign)(n),2*(0,r.atan)((0,r.pow)(a/i,1/u))-r.halfPi]},l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEquidistantRaw=o,t.default=function(){return(0,u.conicProjection)(o).scale(131.154).center([0,13.9389])};var r=n(0),u=n(74),i=n(141);function o(e,t){var n=(0,r.cos)(e),u=e===t?(0,r.sin)(e):(n-(0,r.cos)(t))/(t-e),o=n/u+e;if((0,r.abs)(u)o.epsilon&&--u>0);return[e/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orthographicRaw=l,t.default=function(){return(0,a.default)(l).scale(249.5).clipAngle(90+u.epsilon)};var r,u=n(0),i=n(25),o=n(8),a=(r=o)&&r.__esModule?r:{default:r};function l(e,t){return[(0,u.cos)(t)*(0,u.sin)(e),(0,u.sin)(t)]}l.invert=(0,i.azimuthalInvert)(u.asin)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stereographicRaw=l,t.default=function(){return(0,a.default)(l).scale(250).clipAngle(142)};var r,u=n(0),i=n(25),o=n(8),a=(r=o)&&r.__esModule?r:{default:r};function l(e,t){var n=(0,u.cos)(t),r=1+(0,u.cos)(e)*n;return[n*(0,u.sin)(e)/r,(0,u.sin)(t)/r]}l.invert=(0,i.azimuthalInvert)(function(e){return 2*(0,u.atan)(e)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transverseMercatorRaw=i,t.default=function(){var e=(0,u.mercatorProjection)(i),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)};var r=n(0),u=n(76);function i(e,t){return[(0,r.log)((0,r.tan)((r.halfPi+t)/2)),-e]}i.invert=function(e,t){return[-t,2*(0,r.atan)((0,r.exp)(e))-r.halfPi]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(354);Object.defineProperty(t,"cluster",{enumerable:!0,get:function(){return b(r).default}});var u=n(77);Object.defineProperty(t,"hierarchy",{enumerable:!0,get:function(){return b(u).default}});var i=n(366);Object.defineProperty(t,"pack",{enumerable:!0,get:function(){return b(i).default}});var o=n(142);Object.defineProperty(t,"packSiblings",{enumerable:!0,get:function(){return b(o).default}});var a=n(143);Object.defineProperty(t,"packEnclose",{enumerable:!0,get:function(){return b(a).default}});var l=n(368);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return b(l).default}});var c=n(369);Object.defineProperty(t,"stratify",{enumerable:!0,get:function(){return b(c).default}});var f=n(370);Object.defineProperty(t,"tree",{enumerable:!0,get:function(){return b(f).default}});var s=n(371);Object.defineProperty(t,"treemap",{enumerable:!0,get:function(){return b(s).default}});var d=n(372);Object.defineProperty(t,"treemapBinary",{enumerable:!0,get:function(){return b(d).default}});var h=n(26);Object.defineProperty(t,"treemapDice",{enumerable:!0,get:function(){return b(h).default}});var p=n(42);Object.defineProperty(t,"treemapSlice",{enumerable:!0,get:function(){return b(p).default}});var _=n(373);Object.defineProperty(t,"treemapSliceDice",{enumerable:!0,get:function(){return b(_).default}});var v=n(79);Object.defineProperty(t,"treemapSquarify",{enumerable:!0,get:function(){return b(v).default}});var y=n(374);function b(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"treemapResquarify",{enumerable:!0,get:function(){return b(y).default}})},function(e,t,n){"use strict";function r(e,t){return e.parent===t.parent?1:2}function u(e,t){return e+t.x}function i(e,t){return Math.max(e,t.y)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r,t=1,n=1,o=!1;function a(r){var a,l=0;r.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(u,0)/e.length}(n),t.y=function(e){return 1+e.reduce(i,0)}(n)):(t.x=a?l+=e(t,a):0,t.y=0,a=t)});var c=function(e){var t;for(;t=e.children;)e=t[0];return e}(r),f=function(e){var t;for(;t=e.children;)e=t[t.length-1];return e}(r),s=c.x-e(c,f)/2,d=f.x+e(f,c)/2;return r.eachAfter(o?function(e){e.x=(e.x-r.x)*t,e.y=(r.y-e.y)*n}:function(e){e.x=(e.x-s)/(d-s)*t,e.y=(1-(r.y?e.y/r.y:1))*n})}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(o=!1,t=+e[0],n=+e[1],a):o?null:[t,n]},a.nodeSize=function(e){return arguments.length?(o=!0,t=+e[0],n=+e[1],a):o?[t,n]:null},a}},function(e,t,n){"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.eachAfter(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,u,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),n=i.children)for(r=0,u=n.length;r=0;--n)u.push(t[n]);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r,u=this,i=[u],o=[];u=i.pop();)if(o.push(u),t=u.children)for(n=0,r=t.length;n=0;)n+=r[u].value;t.value=n})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),u=null;e=n.pop(),t=r.pop();for(;e===t;)u=e,e=n.pop(),t=r.pop();return u}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var u=r.length;e!==n;)r.splice(u,0,e),e=e.parent;return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.each(function(t){e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null,t=1,n=1,r=o.constantZero;function u(u){return u.x=t/2,u.y=n/2,e?u.eachBefore(c(e)).eachAfter(f(r,.5)).eachBefore(s(1)):u.eachBefore(c(l)).eachAfter(f(o.constantZero,1)).eachAfter(f(r,u.r/Math.min(t,n))).eachBefore(s(Math.min(t,n)/(2*u.r))),u}return u.radius=function(t){return arguments.length?(e=(0,i.optional)(t),u):e},u.size=function(e){return arguments.length?(t=+e[0],n=+e[1],u):[t,n]},u.padding=function(e){return arguments.length?(r="function"==typeof e?e:(0,a.default)(+e),u):r},u};var r,u=n(142),i=n(78),o=n(144),a=(r=o)&&r.__esModule?r:{default:r};function l(e){return Math.sqrt(e.value)}function c(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function f(e,t){return function(n){if(r=n.children){var r,i,o,a=r.length,l=e(n)*t||0;if(l)for(i=0;i0)throw new Error("cycle");return c}return n.id=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n.parentId=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n};var r=n(78),u=n(77),i="$",o={depth:-1},a={};function l(e){return e.id}function c(e){return e.parentId}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u,t=1,n=1,r=null;function f(u){var i=function(e){var t,n,r,u,i,o=new c(e,0),a=[o];for(;t=a.pop();)if(r=t._.children)for(t.children=new Array(i=r.length),u=i-1;u>=0;--u)a.push(n=t.children[u]=new c(r[u],u)),n.parent=t;return(o.parent=new c(null,0)).children=[o],o}(u);if(i.eachAfter(s),i.parent.m=-i.z,i.eachBefore(d),r)u.eachBefore(h);else{var o=u,a=u,l=u;u.eachBefore(function(e){e.xa.x&&(a=e),e.depth>l.depth&&(l=e)});var f=o===a?1:e(o,a)/2,p=f-o.x,_=t/(a.x+f+p),v=n/(l.depth||1);u.eachBefore(function(e){e.x=(e.x+p)*_,e.y=e.depth*v})}return u}function s(t){var n=t.children,r=t.parent.children,u=t.i?r[t.i-1]:null;if(n){!function(e){var t,n=0,r=0,u=e.children,i=u.length;for(;--i>=0;)(t=u[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var c=(n[0].z+n[n.length-1].z)/2;u?(t.z=u.z+e(t._,u._),t.m=t.z-c):t.z=c}else u&&(t.z=u.z+e(t._,u._));t.parent.A=function(t,n,r){if(n){for(var u,c=t,f=t,s=n,d=c.parent.children[0],h=c.m,p=f.m,_=s.m,v=d.m;s=o(s),c=i(c),s&&c;)d=i(d),(f=o(f)).a=t,(u=s.z+_-c.z-h+e(s._,c._))>0&&(a(l(s,t,r),t,u),h+=u,p+=u),_+=s.m,h+=c.m,v+=d.m,p+=f.m;s&&!o(f)&&(f.t=s,f.m+=_-p),c&&!i(d)&&(d.t=c,d.m+=h-v,r=t)}return r}(t,u,t.parent.A||r[0])}function d(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function h(e){e.x*=t,e.y=e.depth*n}return f.separation=function(t){return arguments.length?(e=t,f):e},f.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],f):r?null:[t,n]},f.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],f):r?[t,n]:null},f};var r=n(77);function u(e,t){return e.parent===t.parent?1:2}function i(e){var t=e.children;return t?t[0]:e.t}function o(e){var t=e.children;return t?t[t.length-1]:e.t}function a(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function l(e,t,n){return e.a.parent===t.parent?e.a:n}function c(e,t){this._=e,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=t}c.prototype=Object.create(r.Node.prototype)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u.default,t=!1,n=1,l=1,c=[0],f=o.constantZero,s=o.constantZero,d=o.constantZero,h=o.constantZero,p=o.constantZero;function _(e){return e.x0=e.y0=0,e.x1=n,e.y1=l,e.eachBefore(v),c=[0],t&&e.eachBefore(r.default),e}function v(t){var n=c[t.depth],r=t.x0+n,u=t.y0+n,i=t.x1-n,o=t.y1-n;i=n-1){var f=a[t];return f.x0=u,f.y0=i,f.x1=o,void(f.y1=l)}var s=c[t],d=r/2+s,h=t+1,p=n-1;for(;h>>1;c[_]l-i){var b=(u*y+o*v)/r;e(t,h,v,u,i,b,l),e(h,n,y,b,i,o,l)}else{var g=(i*y+l*v)/r;e(t,h,v,u,i,o,g),e(h,n,y,u,g,o,l)}}(0,l,e.value,t,n,r,u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i,o){(1&e.depth?u.default:r.default)(e,t,n,i,o)};var r=i(n(26)),u=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(26)),u=o(n(42)),i=n(79);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e,n,o,a,l){if((c=e._squarify)&&c.ratio===t)for(var c,f,s,d,h,p=-1,_=c.length,v=e.value;++p<_;){for(s=(f=c[p]).children,d=f.value=0,h=s.length;d1?t:1)},n}(i.phi)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(376);Object.defineProperty(t,"polygonArea",{enumerable:!0,get:function(){return l(r).default}});var u=n(377);Object.defineProperty(t,"polygonCentroid",{enumerable:!0,get:function(){return l(u).default}});var i=n(378);Object.defineProperty(t,"polygonHull",{enumerable:!0,get:function(){return l(i).default}});var o=n(380);Object.defineProperty(t,"polygonContains",{enumerable:!0,get:function(){return l(o).default}});var a=n(381);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"polygonLength",{enumerable:!0,get:function(){return l(a).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n=-1,r=e.length,u=e[r-1],i=0;++n=0;--t)s.push(e[r[i[t]][2]]);for(t=+c;t1&&(0,i.default)(e[n[r-2]],e[n[r-1]],e[u])<=0;)--r;n[r++]=u}return n.slice(0,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n,r,u=e.length,i=e[u-1],o=t[0],a=t[1],l=i[0],c=i[1],f=!1,s=0;sa!=c>a&&o<(l-n)*(a-r)/(c-r)+n&&(f=!f),l=n,c=r;return f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r=-1,u=e.length,i=e[u-1],o=i[0],a=i[1],l=0;++r=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(t){}e._active=NaN,c(e)}function c(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function f(e){if(null==e)e=1/0;else if(!((e=+e)>=1))throw new Error("invalid concurrency");return new i(e)}i.prototype=f.prototype={constructor:i,defer:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var t=r.slice.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),o(this),this},abort:function(){return null==this._error&&l(this,new Error("abort")),this},await:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(t,n){e.apply(null,[t].concat(n))},c(this),this},awaitAll:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=e,c(this),this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=[].slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(386);Object.defineProperty(t,"randomUniform",{enumerable:!0,get:function(){return c(r).default}});var u=n(146);Object.defineProperty(t,"randomNormal",{enumerable:!0,get:function(){return c(u).default}});var i=n(387);Object.defineProperty(t,"randomLogNormal",{enumerable:!0,get:function(){return c(i).default}});var o=n(388);Object.defineProperty(t,"randomBates",{enumerable:!0,get:function(){return c(o).default}});var a=n(147);Object.defineProperty(t,"randomIrwinHall",{enumerable:!0,get:function(){return c(a).default}});var l=n(389);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"randomExponential",{enumerable:!0,get:function(){return c(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(20)),u=i(n(146));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(){var e=u.default.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(20)),u=i(n(147));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e){var n=u.default.source(t)(e);return function(){return n()/e}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"request",{enumerable:!0,get:function(){return f(r).default}});var u=n(391);Object.defineProperty(t,"html",{enumerable:!0,get:function(){return f(u).default}});var i=n(392);Object.defineProperty(t,"json",{enumerable:!0,get:function(){return f(i).default}});var o=n(393);Object.defineProperty(t,"text",{enumerable:!0,get:function(){return f(o).default}});var a=n(394);Object.defineProperty(t,"xml",{enumerable:!0,get:function(){return f(a).default}});var l=n(395);Object.defineProperty(t,"csv",{enumerable:!0,get:function(){return f(l).default}});var c=n(396);function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"tsv",{enumerable:!0,get:function(){return f(c).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("application/json",function(e){return JSON.parse(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("text/plain",function(e){return e.responseText})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(65),i=n(148),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/csv",u.csvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(65),i=n(148),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/tab-separated-values",u.tsvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(398);Object.defineProperty(t,"scaleBand",{enumerable:!0,get:function(){return P(r).default}}),Object.defineProperty(t,"scalePoint",{enumerable:!0,get:function(){return r.point}});var u=n(399);Object.defineProperty(t,"scaleIdentity",{enumerable:!0,get:function(){return P(u).default}});var i=n(27);Object.defineProperty(t,"scaleLinear",{enumerable:!0,get:function(){return P(i).default}});var o=n(401);Object.defineProperty(t,"scaleLog",{enumerable:!0,get:function(){return P(o).default}});var a=n(149);Object.defineProperty(t,"scaleOrdinal",{enumerable:!0,get:function(){return P(a).default}}),Object.defineProperty(t,"scaleImplicit",{enumerable:!0,get:function(){return a.implicit}});var l=n(402);Object.defineProperty(t,"scalePow",{enumerable:!0,get:function(){return P(l).default}}),Object.defineProperty(t,"scaleSqrt",{enumerable:!0,get:function(){return l.sqrt}});var c=n(403);Object.defineProperty(t,"scaleQuantile",{enumerable:!0,get:function(){return P(c).default}});var f=n(404);Object.defineProperty(t,"scaleQuantize",{enumerable:!0,get:function(){return P(f).default}});var s=n(405);Object.defineProperty(t,"scaleThreshold",{enumerable:!0,get:function(){return P(s).default}});var d=n(152);Object.defineProperty(t,"scaleTime",{enumerable:!0,get:function(){return P(d).default}});var h=n(421);Object.defineProperty(t,"scaleUtc",{enumerable:!0,get:function(){return P(h).default}});var p=n(422);Object.defineProperty(t,"schemeCategory10",{enumerable:!0,get:function(){return P(p).default}});var _=n(423);Object.defineProperty(t,"schemeCategory20b",{enumerable:!0,get:function(){return P(_).default}});var v=n(424);Object.defineProperty(t,"schemeCategory20c",{enumerable:!0,get:function(){return P(v).default}});var y=n(425);Object.defineProperty(t,"schemeCategory20",{enumerable:!0,get:function(){return P(y).default}});var b=n(426);Object.defineProperty(t,"interpolateCubehelixDefault",{enumerable:!0,get:function(){return P(b).default}});var g=n(427);Object.defineProperty(t,"interpolateRainbow",{enumerable:!0,get:function(){return P(g).default}}),Object.defineProperty(t,"interpolateWarm",{enumerable:!0,get:function(){return g.warm}}),Object.defineProperty(t,"interpolateCool",{enumerable:!0,get:function(){return g.cool}});var m=n(428);Object.defineProperty(t,"interpolateViridis",{enumerable:!0,get:function(){return P(m).default}}),Object.defineProperty(t,"interpolateMagma",{enumerable:!0,get:function(){return m.magma}}),Object.defineProperty(t,"interpolateInferno",{enumerable:!0,get:function(){return m.inferno}}),Object.defineProperty(t,"interpolatePlasma",{enumerable:!0,get:function(){return m.plasma}});var M=n(429);function P(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"scaleSequential",{enumerable:!0,get:function(){return P(M).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.point=function(){return function e(t){var n=t.copy;t.padding=t.paddingOuter;delete t.paddingInner;delete t.paddingOuter;t.copy=function(){return e(n())};return t}(a().paddingInner(1))};var r,u=n(3),i=n(149),o=(r=i)&&r.__esModule?r:{default:r};function a(){var e,t,n=(0,o.default)().unknown(void 0),r=n.domain,i=n.range,l=[0,1],c=!1,f=0,s=0,d=.5;function h(){var n=r().length,o=l[1]0){for(;ha)break;v.push(s)}}else for(;h=1;--f)if(!((s=l*f)a)break;v.push(s)}}else v=(0,r.ticks)(h,p,Math.min(p-h,_)).map(d);return t?v.reverse():v};t.tickFormat=function(e,n){if(null==n&&(n=10===i?".0e":","),"function"!=typeof n&&(n=(0,u.format)(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,i*e/t.ticks().length);return function(e){var t=e/d(Math.round(c(e)));return t*i0?i[r-1]:t[0],r=o?[a[o-1],n]:[a[r-1],a[r]]};c.copy=function(){return e().domain([t,n]).range(l)};return(0,i.linearish)(c)};var r=n(3),u=n(15),i=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=[.5],n=[0,1],i=1;function o(e){if(e<=e)return n[(0,r.bisect)(t,e,0,i)]}o.domain=function(e){return arguments.length?(t=u.slice.call(e),i=Math.min(t.length,n.length-1),o):t.slice()};o.range=function(e){return arguments.length?(n=u.slice.call(e),i=Math.min(t.length,n.length-1),o):n.slice()};o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]};o.copy=function(){return e().domain(t).range(n)};return o};var r=n(3),u=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.milliseconds=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,i.default)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):o:null},t.default=o;t.milliseconds=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seconds=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setTime(Math.floor(e/o.durationSecond)*o.durationSecond)},function(e,t){e.setTime(+e+t*o.durationSecond)},function(e,t){return(t-e)/o.durationSecond},function(e){return e.getUTCSeconds()});t.default=a;t.seconds=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minutes=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setTime(Math.floor(e/o.durationMinute)*o.durationMinute)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getMinutes()});t.default=a;t.minutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hours=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){var t=e.getTimezoneOffset()*o.durationMinute%o.durationHour;t<0&&(t+=o.durationHour),e.setTime(Math.floor((+e-t)/o.durationHour)*o.durationHour+t)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getHours()});t.default=a;t.hours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.days=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationDay},function(e){return e.getDate()-1});t.default=a;t.days=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saturdays=t.fridays=t.thursdays=t.wednesdays=t.tuesdays=t.mondays=t.sundays=t.saturday=t.friday=t.thursday=t.wednesday=t.tuesday=t.monday=t.sunday=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);function a(e){return(0,i.default)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationWeek})}var l=t.sunday=a(0),c=t.monday=a(1),f=t.tuesday=a(2),s=t.wednesday=a(3),d=t.thursday=a(4),h=t.friday=a(5),p=t.saturday=a(6);t.sundays=l.range,t.mondays=c.range,t.tuesdays=f.range,t.wednesdays=s.range,t.thursdays=d.range,t.fridays=h.range,t.saturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.months=void 0;var r,u=n(2);var i=(0,((r=u)&&r.__esModule?r:{default:r}).default)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.default=i;t.months=i.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.years=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.default=o;t.years=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMinutes=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getUTCMinutes()});t.default=a;t.utcMinutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcHours=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getUTCHours()});t.default=a;t.utcHours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcDays=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/o.durationDay},function(e){return e.getUTCDate()-1});t.default=a;t.utcDays=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcSaturdays=t.utcFridays=t.utcThursdays=t.utcWednesdays=t.utcTuesdays=t.utcMondays=t.utcSundays=t.utcSaturday=t.utcFriday=t.utcThursday=t.utcWednesday=t.utcTuesday=t.utcMonday=t.utcSunday=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);function a(e){return(0,i.default)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/o.durationWeek})}var l=t.utcSunday=a(0),c=t.utcMonday=a(1),f=t.utcTuesday=a(2),s=t.utcWednesday=a(3),d=t.utcThursday=a(4),h=t.utcFriday=a(5),p=t.utcSaturday=a(6);t.utcSundays=l.range,t.utcMondays=c.range,t.utcTuesdays=f.range,t.utcWednesdays=s.range,t.utcThursdays=d.range,t.utcFridays=h.range,t.utcSaturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMonths=void 0;var r,u=n(2);var i=(0,((r=u)&&r.__esModule?r:{default:r}).default)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.default=i;t.utcMonths=i.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcYears=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.default=o;t.utcYears=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(154),u=n(83);var i=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:(0,u.utcParse)(r.isoSpecifier);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.calendar)(i.utcYear,i.utcMonth,i.utcWeek,i.utcDay,i.utcHour,i.utcMinute,i.utcSecond,i.utcMillisecond,u.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};var r=n(152),u=n(82),i=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),u=n(5);t.default=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(300,.5,0),(0,r.cubehelix)(-240,.5,1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cool=t.warm=void 0,t.default=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return i.h=360*e-100,i.s=1.5-1.5*t,i.l=.8-.9*t,i+""};var r=n(7),u=n(5),i=(t.warm=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(-100,.75,.35),(0,r.cubehelix)(80,1.5,.8)),t.cool=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(260,.75,.35),(0,r.cubehelix)(80,1.5,.8)),(0,r.cubehelix)())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plasma=t.inferno=t.magma=void 0;var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};function o(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}t.default=o((0,i.default)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));t.magma=o((0,i.default)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),t.inferno=o((0,i.default)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),t.plasma=o((0,i.default)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=0,u=1,i=!1;function o(e){var r=(e-n)/(u-n);return t(i?Math.max(0,Math.min(1,r)):r)}o.domain=function(e){return arguments.length?(n=+e[0],u=+e[1],o):[n,u]};o.clamp=function(e){return arguments.length?(i=!!e,o):i};o.interpolator=function(e){return arguments.length?(t=e,o):t};o.copy=function(){return e(t).domain([n,u]).clamp(i)};return(0,r.linearish)(o)};var r=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=l,t=c,n=(0,o.default)(0),r=null,i=f,p=s,_=d,v=null;function y(){var o,l,c=+e.apply(this,arguments),f=+t.apply(this,arguments),s=i.apply(this,arguments)-a.halfPi,d=p.apply(this,arguments)-a.halfPi,y=(0,a.abs)(d-s),b=d>s;if(v||(v=o=(0,u.path)()),fa.epsilon)if(y>a.tau-a.epsilon)v.moveTo(f*(0,a.cos)(s),f*(0,a.sin)(s)),v.arc(0,0,f,s,d,!b),c>a.epsilon&&(v.moveTo(c*(0,a.cos)(d),c*(0,a.sin)(d)),v.arc(0,0,c,d,s,b));else{var g,m,M=s,P=d,O=s,x=d,j=y,w=y,E=_.apply(this,arguments)/2,S=E>a.epsilon&&(r?+r.apply(this,arguments):(0,a.sqrt)(c*c+f*f)),k=(0,a.min)((0,a.abs)(f-c)/2,+n.apply(this,arguments)),T=k,N=k;if(S>a.epsilon){var C=(0,a.asin)(S/c*(0,a.sin)(E)),A=(0,a.asin)(S/f*(0,a.sin)(E));(j-=2*C)>a.epsilon?(O+=C*=b?1:-1,x-=C):(j=0,O=x=(s+d)/2),(w-=2*A)>a.epsilon?(M+=A*=b?1:-1,P-=A):(w=0,M=P=(s+d)/2)}var R=f*(0,a.cos)(M),z=f*(0,a.sin)(M),q=c*(0,a.cos)(x),I=c*(0,a.sin)(x);if(k>a.epsilon){var D=f*(0,a.cos)(P),L=f*(0,a.sin)(P),U=c*(0,a.cos)(O),F=c*(0,a.sin)(O);if(ya.epsilon?function(e,t,n,r,u,i,o,a){var l=n-e,c=r-t,f=o-u,s=a-i,d=(f*(t-i)-s*(e-u))/(s*l-f*c);return[e+d*l,t+d*c]}(R,z,U,F,D,L,q,I):[q,I],Y=R-B[0],H=z-B[1],X=D-B[0],V=L-B[1],W=1/(0,a.sin)((0,a.acos)((Y*X+H*V)/((0,a.sqrt)(Y*Y+H*H)*(0,a.sqrt)(X*X+V*V)))/2),Z=(0,a.sqrt)(B[0]*B[0]+B[1]*B[1]);T=(0,a.min)(k,(c-Z)/(W-1)),N=(0,a.min)(k,(f-Z)/(W+1))}}w>a.epsilon?N>a.epsilon?(g=h(U,F,R,z,f,N,b),m=h(D,L,q,I,f,N,b),v.moveTo(g.cx+g.x01,g.cy+g.y01),Na.epsilon&&j>a.epsilon?T>a.epsilon?(g=h(q,I,D,L,c,-T,b),m=h(R,z,U,F,c,-T,b),v.lineTo(g.cx+g.x01,g.cy+g.y01),TN*N+C*C&&(j=E,w=S),{cx:j,cy:w,x01:-s,y01:-d,x11:j*(u/P-1),y11:w*(u/P-1)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i.default,t=u.default,n=null,a=(0,r.default)(0),l=(0,r.default)(o.tau),c=(0,r.default)(0);function f(r){var u,i,f,s,d,h=r.length,p=0,_=new Array(h),v=new Array(h),y=+a.apply(this,arguments),b=Math.min(o.tau,Math.max(-o.tau,l.apply(this,arguments)-y)),g=Math.min(Math.abs(b)/h,c.apply(this,arguments)),m=g*(b<0?-1:1);for(u=0;u0&&(p+=d);for(null!=t?_.sort(function(e,n){return t(v[e],v[n])}):null!=n&&_.sort(function(e,t){return n(r[e],r[t])}),u=0,f=p?(b-h*m)/p:0;u0?d*f:0)+m,v[i]={data:r[i],index:u,value:d,startAngle:y,endAngle:s,padAngle:g};return v}return f.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(+t),f):e},f.sortValues=function(e){return arguments.length?(t=e,n=null,f):t},f.sort=function(e){return arguments.length?(n=e,t=null,f):n},f.startAngle=function(e){return arguments.length?(a="function"==typeof e?e:(0,r.default)(+e),f):a},f.endAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,r.default)(+e),f):l},f.padAngle=function(e){return arguments.length?(c="function"==typeof e?e:(0,r.default)(+e),f):c},f};var r=a(n(16)),u=a(n(432)),i=a(n(433)),o=n(29);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return te?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)().curve(r.curveRadialLinear),t=e.curve,n=e.lineX0,a=e.lineX1,l=e.lineY0,c=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,o.lineRadial)(n())},delete e.lineX0,e.lineEndAngle=function(){return(0,o.lineRadial)(a())},delete e.lineX1,e.lineInnerRadius=function(){return(0,o.lineRadial)(l())},delete e.lineY0,e.lineOuterRadius=function(){return(0,o.lineRadial)(c())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,u.default)(e)):t()._curve},e};var r=n(156),u=a(r),i=a(n(155)),o=n(157);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkHorizontal=function(){return s(d)},t.linkVertical=function(){return s(h)},t.linkRadial=function(){var e=s(p);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e};var r=n(13),u=n(159),i=l(n(16)),o=n(85),a=l(n(158));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.source}function f(e){return e.target}function s(e){var t=c,n=f,a=o.x,l=o.y,s=null;function d(){var i,o=u.slice.call(arguments),c=t.apply(this,o),f=n.apply(this,o);if(s||(s=i=(0,r.path)()),e(s,+a.apply(this,(o[0]=c,o)),+l.apply(this,o),+a.apply(this,(o[0]=f,o)),+l.apply(this,o)),i)return s=null,i+""||null}return d.source=function(e){return arguments.length?(t=e,d):t},d.target=function(e){return arguments.length?(n=e,d):n},d.x=function(e){return arguments.length?(a="function"==typeof e?e:(0,i.default)(+e),d):a},d.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.default)(+e),d):l},d.context=function(e){return arguments.length?(s=null==e?null:e,d):s},d}function d(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,u,r,u)}function h(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+u)/2,r,n,r,u)}function p(e,t,n,r,u){var i=(0,a.default)(t,n),o=(0,a.default)(t,n=(n+u)/2),l=(0,a.default)(r,n),c=(0,a.default)(r,u);e.moveTo(i[0],i[1]),e.bezierCurveTo(o[0],o[1],l[0],l[1],c[0],c[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0,t.default=function(){var e=(0,s.default)(u.default),t=(0,s.default)(64),n=null;function i(){var u;if(n||(n=u=(0,r.path)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),u)return n=null,u+""||null}return i.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,s.default)(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,s.default)(+e),i):t},i.context=function(e){return arguments.length?(n=null==e?null:e,i):n},i};var r=n(13),u=d(n(160)),i=d(n(161)),o=d(n(162)),a=d(n(163)),l=d(n(164)),c=d(n(165)),f=d(n(166)),s=d(n(16));function d(e){return e&&e.__esModule?e:{default:e}}t.symbols=[u.default,i.default,o.default,l.default,a.default,c.default,f.default]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new a(e)};var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r},o=n(48);function a(e){this._context=e}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new u(e)};var r=n(48);function u(e){this._context=e}u.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,u=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,u):this._context.moveTo(n,u);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48);function u(e,t){this._basis=new r.Basis(e),this._beta=t}u.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,u=e[0],i=t[0],o=e[n]-u,a=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(u+r*o),this._beta*t[l]+(1-this._beta)*(i+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.default=function e(t){function n(e){return 1===t?new r.Basis(e):new u(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(167),i=n(47),o=(r=i)&&r.__esModule?r:{default:r},a=n(86);function l(e,t){this._context=e,this._alpha=t}l.prototype={areaStart:o.default,areaEnd:o.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,a.point)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new l(e,t):new u.CardinalClosed(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(168),u=n(86);function i(e,t){this._context=e,this._alpha=t}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,u.point)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new i(e,t):new r.CardinalOpen(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new o(e)};var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r};function o(e){this._context=e}o.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},function(e,t,n){"use strict";function r(e){return e<0?-1:1}function u(e,t,n){var u=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(u||i<0&&-0),a=(n-e._y1)/(i||u<0&&-0),l=(o*i+a*u)/(u+i);return(r(o)+r(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(l))||0}function i(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function o(e,t,n){var r=e._x0,u=e._y0,i=e._x1,o=e._y1,a=(i-r)/3;e._context.bezierCurveTo(r+a,u+a*t,i-a,o-a*n,i,o)}function a(e){this._context=e}function l(e){this._context=new c(e)}function c(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.monotoneX=function(e){return new a(e)},t.monotoneY=function(e){return new l(e)},a.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:o(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(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,o(this,i(this,n=u(this,e,t)),n);break;default:o(this,this._t0,n=u(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(l.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},c.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,u,i){this._context.bezierCurveTo(t,e,r,n,i,u)}}},function(e,t,n){"use strict";function r(e){this._context=e}function u(e){var t,n,r=e.length-1,u=new Array(r),i=new Array(r),o=new Array(r);for(u[0]=0,i[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)u[t]=(o[t]-u[t+1])/i[t];for(i[r-1]=(e[r]+u[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,u.default)([]),t=o.default,n=i.default,a=l;function c(r){var u,i,o=e.apply(this,arguments),l=r.length,c=o.length,f=new Array(c);for(u=0;u0){for(var n,r,u,o=0,a=e[0].length;o1)for(var n,r,u,i,o,a,l=0,c=e[t[0]].length;l=0?(r[0]=i,r[1]=i+=u):u<0?(r[1]=o,r[0]=o+=u):r[0]=i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((n=e.length)>0){for(var n,r=0,u=e[t[0]],o=u.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,u,o=0,a=1;aa.epsilon)p=p.L;else{if(!((l=f-d(p,h))>a.epsilon)){r>-a.epsilon?(t=p.P,n=p):l>-a.epsilon?(t=p,n=p.N):t=n=p;break}if(!p.R){t=p;break}p=p.R}(0,u.createCell)(e);var _=c(e);if(a.beaches.insert(t,_),!t&&!n)return;if(t===n)return(0,i.detachCircle)(t),n=c(t.site),a.beaches.insert(_,n),_.edge=n.edge=(0,o.createEdge)(t.site,_.site),(0,i.attachCircle)(t),void(0,i.attachCircle)(n);if(!n)return void(_.edge=(0,o.createEdge)(t.site,_.site));(0,i.detachCircle)(t),(0,i.detachCircle)(n);var v=t.site,y=v[0],b=v[1],g=e[0]-y,m=e[1]-b,M=n.site,P=M[0]-y,O=M[1]-b,x=2*(g*O-m*P),j=g*g+m*m,w=P*P+O*O,E=[(O*j-m*w)/x+y,(g*w-P*j)/x+b];(0,o.setEdgeEnd)(n.edge,v,M,E),_.edge=(0,o.createEdge)(v,e,null,E),n.edge=(0,o.createEdge)(e,M,null,E),(0,i.attachCircle)(t),(0,i.attachCircle)(n)};var r=n(88),u=n(169),i=n(170),o=n(89),a=n(32),l=[];function c(e){var t=l.pop()||new function(){(0,r.RedBlackNode)(this),this.edge=this.site=this.circle=null};return t.site=e,t}function f(e){(0,i.detachCircle)(e),a.beaches.remove(e),l.push(e),(0,r.RedBlackNode)(e)}function s(e,t){var n=e.site,r=n[0],u=n[1],i=u-t;if(!i)return r;var o=e.P;if(!o)return-1/0;var a=(n=o.site)[0],l=n[1],c=l-t;if(!c)return a;var f=a-r,s=1/i-1/c,d=f/c;return s?(-d+Math.sqrt(d*d-2*s*(f*f/(-2*c)-l+c/2+u-i/2)))/s+r:(r+a)/2}function d(e,t){var n=e.N;if(n)return s(n,t);var r=e.site;return r[1]===t?r[0]:1/0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(460);Object.defineProperty(t,"zoom",{enumerable:!0,get:function(){return i(r).default}});var u=n(171);function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zoomTransform",{enumerable:!0,get:function(){return i(u).default}}),Object.defineProperty(t,"zoomIdentity",{enumerable:!0,get:function(){return u.identity}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n=p,h=_,m=g,M=y,P=b,O=[0,1/0],x=[[-1/0,-1/0],[1/0,1/0]],j=250,w=i.interpolateZoom,E=[],S=(0,r.dispatch)("start","zoom","end"),k=500,T=150,N=0;function C(e){e.property("__zoom",v).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(P).on("touchstart.zoom",B).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",H).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function A(e,t){return(t=Math.max(O[0],Math.min(O[1],t)))===e.k?e:new f.Transform(t,e.x,e.y)}function R(e,t,n){var r=t[0]-n[0]*e.k,u=t[1]-n[1]*e.k;return r===e.x&&u===e.y?e:new f.Transform(e.k,r,u)}function z(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function q(e,t,n){e.on("start.zoom",function(){I(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){I(this,arguments).end()}).tween("zoom",function(){var e=arguments,r=I(this,e),u=h.apply(this,e),i=n||z(u),o=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),a=this.__zoom,l="function"==typeof t?t.apply(this,e):t,c=w(a.invert(i).concat(o/a.k),l.invert(i).concat(o/l.k));return function(e){if(1===e)e=l;else{var t=c(e),n=o/t[2];e=new f.Transform(n,i[0]-t[0]*n,i[1]-t[1]*n)}r.zoom(null,e)}})}function I(e,t){for(var n,r=0,u=E.length;rN}e.zoom("mouse",m(R(e.that.__zoom,e.mouse[0]=(0,o.mouse)(e.that),e.mouse[1]),e.extent,x))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),(0,u.dragEnable)(o.event.view,e.moved),(0,d.default)(),e.end()},!0),i=(0,o.mouse)(this),l=o.event.clientX,c=o.event.clientY;(0,u.dragDisable)(o.event.view),(0,s.nopropagation)(),e.mouse=[i,this.__zoom.invert(i)],(0,a.interrupt)(this),e.start()}}function F(){if(n.apply(this,arguments)){var e=this.__zoom,t=(0,o.mouse)(this),r=e.invert(t),u=e.k*(o.event.shiftKey?.5:2),i=m(R(A(e,u),t,r),h.apply(this,arguments),x);(0,d.default)(),j>0?(0,o.select)(this).transition().duration(j).call(q,i,t):(0,o.select)(this).call(C.transform,i)}}function B(){if(n.apply(this,arguments)){var t,r,u,i,l=I(this,arguments),c=o.event.changedTouches,f=c.length;for((0,s.nopropagation)(),r=0;rr?(r+u)/2:Math.min(0,r)||Math.max(0,u),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){this.target=e,this.type=t,this.transform=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return i});var r=n(172),u=(n.n(r),function(e){if(e){var t="";switch(e.charAt(0)){case"$":t+="$";break;case"£":t+="£";break;case"€":t+="€"}e.indexOf(",")>-1&&(t+=",");var n=e.split(".");switch(t+=".",t+=n.length>1?n[1].length:0,e.slice(-1)){case"%":t+="%";break;case"0":t+="f"}return r.format(t)}}),i=function(e,t,n){var r=function(t,n,r,u,i){return!(!e.addError||!e.clearErrors)&&(ri?(e.addError({title:"Too Many "+n+"s",message:"This visualization requires "+(u===i?"exactly":"no more than")+" "+i+" "+n.toLowerCase()+(1===u?"":"s")+".",group:t}),!1):(e.clearErrors(t),!0))},u=t.fields,i=u.pivots,o=u.dimensions,a=u.measure_like;return r("pivot-req","Pivot",i.length,n.min_pivots,n.max_pivots)&&r("dim-req","Dimension",o.length,n.min_dimensions,n.max_dimensions)&&r("mes-req","Measure",a.length,n.min_measures,n.max_measures)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(172),u=(n.n(r),n(464)),i=function(e){return e.toString()},o={id:"chord",label:"Chord",options:{color_range:{type:"array",label:"Color Range",display:"colors",default:["#dd3333","#80ce5d","#f78131","#369dc1","#c572d3","#36c1b3","#b57052","#ed69af"]}},create:function(e,t){e.innerHTML='\n \n ',this.tooltip=r.select(e).append("div").attr("class","chord-tip"),this.svg=r.select(e).append("svg")},computeMatrix:function(e,t,n){var u=r.map(),i=r.map(),o=[],a=0;t.forEach(function(t){e.forEach(function(e){var n=e[t].value;u.has(n)||(i.set(a.toString(),n),u.set(n,a++))})});for(var l=-1;++l"+u+" → "+o+": "+i+"

\n

"+o+" → "+u+": "+r(n.value)+"

\n "}};looker.plugins.visualizations.add(o)}])}); \ No newline at end of file diff --git a/dist/collapsible_tree.js b/dist/collapsible_tree.js index e967c0a0..4e87c716 100644 --- a/dist/collapsible_tree.js +++ b/dist/collapsible_tree.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.collapsible_tree=t():e.collapsible_tree=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=499)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>1?u:e<-1?-u:Math.asin(e)},t.haversin=function(e){return(e=i(e/2))*e};t.epsilon=1e-6,t.epsilon2=1e-12;var r=t.pi=Math.PI,u=t.halfPi=r/2,i=(t.quarterPi=r/4,t.tau=2*r,t.degrees=180/r,t.radians=r/180,t.abs=Math.abs,t.atan=Math.atan,t.atan2=Math.atan2,t.cos=Math.cos,t.ceil=Math.ceil,t.exp=Math.exp,t.floor=Math.floor,t.log=Math.log,t.pow=Math.pow,t.sin=Math.sin);t.sign=Math.sign||function(e){return e>0?1:e<0?-1:0},t.sqrt=Math.sqrt,t.tan=Math.tan},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(199);Object.defineProperty(t,"create",{enumerable:!0,get:function(){return M(r).default}});var u=n(33);Object.defineProperty(t,"creator",{enumerable:!0,get:function(){return M(u).default}});var i=n(228);Object.defineProperty(t,"local",{enumerable:!0,get:function(){return M(i).default}});var o=n(104);Object.defineProperty(t,"matcher",{enumerable:!0,get:function(){return M(o).default}});var a=n(229);Object.defineProperty(t,"mouse",{enumerable:!0,get:function(){return M(a).default}});var l=n(52);Object.defineProperty(t,"namespace",{enumerable:!0,get:function(){return M(l).default}});var c=n(53);Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return M(c).default}});var f=n(34);Object.defineProperty(t,"clientPoint",{enumerable:!0,get:function(){return M(f).default}});var s=n(102);Object.defineProperty(t,"select",{enumerable:!0,get:function(){return M(s).default}});var d=n(230);Object.defineProperty(t,"selectAll",{enumerable:!0,get:function(){return M(d).default}});var h=n(4);Object.defineProperty(t,"selection",{enumerable:!0,get:function(){return M(h).default}});var p=n(54);Object.defineProperty(t,"selector",{enumerable:!0,get:function(){return M(p).default}});var _=n(103);Object.defineProperty(t,"selectorAll",{enumerable:!0,get:function(){return M(_).default}});var v=n(107);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return v.styleValue}});var y=n(231);Object.defineProperty(t,"touch",{enumerable:!0,get:function(){return M(y).default}});var b=n(232);Object.defineProperty(t,"touches",{enumerable:!0,get:function(){return M(b).default}});var g=n(55);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return M(g).default}});var m=n(56);function M(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"event",{enumerable:!0,get:function(){return m.event}}),Object.defineProperty(t,"customEvent",{enumerable:!0,get:function(){return m.customEvent}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,i,o){function a(e){return t(e=new Date(+e)),e}a.floor=a;a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e};a.round=function(e){var t=a(e),n=a.ceil(e);return e-t0))return o;do{o.push(i=new Date(+e)),n(e,u),t(e)}while(i=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););})};i&&(a.count=function(e,n){return r.setTime(+e),u.setTime(+n),t(r),t(u),Math.floor(i(r,u))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(o?function(t){return o(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null});return a};var r=new Date,u=new Date},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90);Object.defineProperty(t,"bisect",{enumerable:!0,get:function(){return T(r).default}}),Object.defineProperty(t,"bisectRight",{enumerable:!0,get:function(){return r.bisectRight}}),Object.defineProperty(t,"bisectLeft",{enumerable:!0,get:function(){return r.bisectLeft}});var u=n(17);Object.defineProperty(t,"ascending",{enumerable:!0,get:function(){return T(u).default}});var i=n(91);Object.defineProperty(t,"bisector",{enumerable:!0,get:function(){return T(i).default}});var o=n(175);Object.defineProperty(t,"cross",{enumerable:!0,get:function(){return T(o).default}});var a=n(176);Object.defineProperty(t,"descending",{enumerable:!0,get:function(){return T(a).default}});var l=n(93);Object.defineProperty(t,"deviation",{enumerable:!0,get:function(){return T(l).default}});var c=n(95);Object.defineProperty(t,"extent",{enumerable:!0,get:function(){return T(c).default}});var f=n(177);Object.defineProperty(t,"histogram",{enumerable:!0,get:function(){return T(f).default}});var s=n(180);Object.defineProperty(t,"thresholdFreedmanDiaconis",{enumerable:!0,get:function(){return T(s).default}});var d=n(181);Object.defineProperty(t,"thresholdScott",{enumerable:!0,get:function(){return T(d).default}});var h=n(99);Object.defineProperty(t,"thresholdSturges",{enumerable:!0,get:function(){return T(h).default}});var p=n(182);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return T(p).default}});var _=n(183);Object.defineProperty(t,"mean",{enumerable:!0,get:function(){return T(_).default}});var v=n(184);Object.defineProperty(t,"median",{enumerable:!0,get:function(){return T(v).default}});var y=n(185);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return T(y).default}});var b=n(100);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return T(b).default}});var g=n(92);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return T(g).default}});var m=n(186);Object.defineProperty(t,"permute",{enumerable:!0,get:function(){return T(m).default}});var M=n(50);Object.defineProperty(t,"quantile",{enumerable:!0,get:function(){return T(M).default}});var P=n(97);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return T(P).default}});var O=n(187);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return T(O).default}});var j=n(188);Object.defineProperty(t,"shuffle",{enumerable:!0,get:function(){return T(j).default}});var x=n(189);Object.defineProperty(t,"sum",{enumerable:!0,get:function(){return T(x).default}});var w=n(98);Object.defineProperty(t,"ticks",{enumerable:!0,get:function(){return T(w).default}}),Object.defineProperty(t,"tickIncrement",{enumerable:!0,get:function(){return w.tickIncrement}}),Object.defineProperty(t,"tickStep",{enumerable:!0,get:function(){return w.tickStep}});var E=n(101);Object.defineProperty(t,"transpose",{enumerable:!0,get:function(){return T(E).default}});var S=n(94);Object.defineProperty(t,"variance",{enumerable:!0,get:function(){return T(S).default}});var k=n(190);function T(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return T(k).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.root=void 0,t.Selection=z;var r=A(n(200)),u=A(n(201)),i=A(n(202)),o=A(n(203)),a=A(n(105)),l=A(n(205)),c=A(n(206)),f=A(n(207)),s=A(n(208)),d=A(n(209)),h=A(n(210)),p=A(n(211)),_=A(n(212)),v=A(n(213)),y=A(n(214)),b=A(n(215)),g=A(n(107)),m=A(n(216)),M=A(n(217)),P=A(n(218)),O=A(n(219)),j=A(n(220)),x=A(n(221)),w=A(n(222)),E=A(n(223)),S=A(n(224)),k=A(n(225)),T=A(n(226)),N=A(n(56)),C=A(n(227));function A(e){return e&&e.__esModule?e:{default:e}}var R=t.root=[null];function z(e,t){this._groups=e,this._parents=t}function q(){return new z([[document.documentElement]],R)}z.prototype=q.prototype={constructor:z,select:r.default,selectAll:u.default,filter:i.default,data:o.default,enter:a.default,exit:l.default,merge:c.default,order:f.default,sort:s.default,call:d.default,nodes:h.default,node:p.default,size:_.default,empty:v.default,each:y.default,attr:b.default,style:g.default,property:m.default,classed:M.default,text:P.default,html:O.default,raise:j.default,lower:x.default,append:w.default,insert:E.default,remove:S.default,clone:k.default,datum:T.default,on:N.default,dispatch:C.default},t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58);Object.defineProperty(t,"interpolate",{enumerable:!0,get:function(){return m(r).default}});var u=n(114);Object.defineProperty(t,"interpolateArray",{enumerable:!0,get:function(){return m(u).default}});var i=n(61);Object.defineProperty(t,"interpolateBasis",{enumerable:!0,get:function(){return m(i).default}});var o=n(112);Object.defineProperty(t,"interpolateBasisClosed",{enumerable:!0,get:function(){return m(o).default}});var a=n(115);Object.defineProperty(t,"interpolateDate",{enumerable:!0,get:function(){return m(a).default}});var l=n(35);Object.defineProperty(t,"interpolateNumber",{enumerable:!0,get:function(){return m(l).default}});var c=n(116);Object.defineProperty(t,"interpolateObject",{enumerable:!0,get:function(){return m(c).default}});var f=n(237);Object.defineProperty(t,"interpolateRound",{enumerable:!0,get:function(){return m(f).default}});var s=n(117);Object.defineProperty(t,"interpolateString",{enumerable:!0,get:function(){return m(s).default}});var d=n(238);Object.defineProperty(t,"interpolateTransformCss",{enumerable:!0,get:function(){return d.interpolateTransformCss}}),Object.defineProperty(t,"interpolateTransformSvg",{enumerable:!0,get:function(){return d.interpolateTransformSvg}});var h=n(241);Object.defineProperty(t,"interpolateZoom",{enumerable:!0,get:function(){return m(h).default}});var p=n(111);Object.defineProperty(t,"interpolateRgb",{enumerable:!0,get:function(){return m(p).default}}),Object.defineProperty(t,"interpolateRgbBasis",{enumerable:!0,get:function(){return p.rgbBasis}}),Object.defineProperty(t,"interpolateRgbBasisClosed",{enumerable:!0,get:function(){return p.rgbBasisClosed}});var _=n(242);Object.defineProperty(t,"interpolateHsl",{enumerable:!0,get:function(){return m(_).default}}),Object.defineProperty(t,"interpolateHslLong",{enumerable:!0,get:function(){return _.hslLong}});var v=n(243);Object.defineProperty(t,"interpolateLab",{enumerable:!0,get:function(){return m(v).default}});var y=n(244);Object.defineProperty(t,"interpolateHcl",{enumerable:!0,get:function(){return m(y).default}}),Object.defineProperty(t,"interpolateHclLong",{enumerable:!0,get:function(){return y.hclLong}});var b=n(245);Object.defineProperty(t,"interpolateCubehelix",{enumerable:!0,get:function(){return m(b).default}}),Object.defineProperty(t,"interpolateCubehelixLong",{enumerable:!0,get:function(){return b.cubehelixLong}});var g=n(246);function m(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"quantize",{enumerable:!0,get:function(){return m(g).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENDED=t.ENDING=t.RUNNING=t.STARTED=t.STARTING=t.SCHEDULED=t.CREATED=void 0,t.default=function(e,t,n,r,p,_){var v=e.__transition;if(v){if(n in v)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(d){var _,v,y,b;if(n.state!==l)return p();for(_ in i)if((b=i[_]).name===n.name){if(b.state===f)return(0,u.timeout)(o);b.state===s?(b.state=h,b.timer.stop(),b.on.call("interrupt",e,e.__data__,b.index,b.group),delete i[_]):+_a)throw new Error("too late; already scheduled");return n},t.set=function(e,t){var n=p(e,t);if(n.state>c)throw new Error("too late; already started");return n},t.get=p;var r=n(12),u=n(37),i=(0,r.dispatch)("start","end","interrupt"),o=[],a=t.CREATED=0,l=t.SCHEDULED=1,c=t.STARTING=2,f=t.STARTED=3,s=t.RUNNING=4,d=t.ENDING=5,h=t.ENDED=6;function p(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59);Object.defineProperty(t,"color",{enumerable:!0,get:function(){return o(r).default}}),Object.defineProperty(t,"rgb",{enumerable:!0,get:function(){return r.rgb}}),Object.defineProperty(t,"hsl",{enumerable:!0,get:function(){return r.hsl}});var u=n(235);Object.defineProperty(t,"lab",{enumerable:!0,get:function(){return o(u).default}}),Object.defineProperty(t,"hcl",{enumerable:!0,get:function(){return u.hcl}});var i=n(236);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"cubehelix",{enumerable:!0,get:function(){return o(i).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return _(function(){return e})()},t.projectionMutator=_;var r=h(n(130)),u=h(n(136)),i=h(n(40)),o=h(n(129)),a=h(n(72)),l=n(0),c=n(39),f=n(41),s=n(75),d=h(n(340));function h(e){return e&&e.__esModule?e:{default:e}}var p=(0,f.transformer)({point:function(e,t){this.stream.point(e*l.radians,t*l.radians)}});function _(e){var t,n,h,_,v,y,b,g,m,M,P=150,O=480,j=250,x=0,w=0,E=0,S=0,k=0,T=null,N=r.default,C=null,A=a.default,R=.5,z=(0,d.default)(D,R);function q(e){return[(e=v(e[0]*l.radians,e[1]*l.radians))[0]*P+n,h-e[1]*P]}function I(e){return(e=v.invert((e[0]-n)/P,(h-e[1])/P))&&[e[0]*l.degrees,e[1]*l.degrees]}function D(e,r){return[(e=t(e,r))[0]*P+n,h-e[1]*P]}function L(){v=(0,o.default)(_=(0,c.rotateRadians)(E,S,k),t);var e=t(x,w);return n=O-e[0]*P,h=j+e[1]*P,U()}function U(){return m=M=null,q}return q.stream=function(e){return m&&M===e?m:m=p(function(e){return(0,f.transformer)({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}(_)(N(z(A(M=e)))))},q.preclip=function(e){return arguments.length?(N=e,T=void 0,U()):N},q.postclip=function(e){return arguments.length?(A=e,C=y=b=g=null,U()):A},q.clipAngle=function(e){return arguments.length?(N=+e?(0,u.default)(T=e*l.radians):(T=null,r.default),U()):T*l.degrees},q.clipExtent=function(e){return arguments.length?(A=null==e?(C=y=b=g=null,a.default):(0,i.default)(C=+e[0][0],y=+e[0][1],b=+e[1][0],g=+e[1][1]),U()):null==C?null:[[C,y],[b,g]]},q.scale=function(e){return arguments.length?(P=+e,L()):P},q.translate=function(e){return arguments.length?(O=+e[0],j=+e[1],L()):[O,j]},q.center=function(e){return arguments.length?(x=e[0]%360*l.radians,w=e[1]%360*l.radians,L()):[x*l.degrees,w*l.degrees]},q.rotate=function(e){return arguments.length?(E=e[0]%360*l.radians,S=e[1]%360*l.radians,k=e.length>2?e[2]%360*l.radians:0,L()):[E*l.degrees,S*l.degrees,k*l.degrees]},q.precision=function(e){return arguments.length?(z=(0,d.default)(D,R=e*e),U()):(0,l.sqrt)(R)},q.fitExtent=function(e,t){return(0,s.fitExtent)(q,e,t)},q.fitSize=function(e,t){return(0,s.fitSize)(q,e,t)},q.fitWidth=function(e,t){return(0,s.fitWidth)(q,e,t)},q.fitHeight=function(e,t){return(0,s.fitHeight)(q,e,t)},function(){return t=e.apply(this,arguments),q.invert=t.invert&&I,L()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.durationSecond=1e3,t.durationMinute=6e4,t.durationHour=36e5,t.durationDay=864e5,t.durationWeek=6048e5},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transition=O,t.default=j,t.newId=function(){return++P};var r=n(1),u=M(n(247)),i=M(n(250)),o=M(n(251)),a=M(n(252)),l=M(n(253)),c=M(n(254)),f=M(n(255)),s=M(n(256)),d=M(n(257)),h=M(n(258)),p=M(n(259)),_=M(n(260)),v=M(n(261)),y=M(n(262)),b=M(n(263)),g=M(n(264)),m=M(n(36));function M(e){return e&&e.__esModule?e:{default:e}}var P=0;function O(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function j(e){return(0,r.selection)().transition(e)}var x=r.selection.prototype;O.prototype=j.prototype={constructor:O,select:h.default,selectAll:p.default,filter:c.default,merge:f.default,selection:_.default,transition:g.default,call:x.call,nodes:x.nodes,node:x.node,size:x.size,empty:x.empty,each:x.each,on:s.default,attr:u.default,attrTween:i.default,style:v.default,styleTween:y.default,text:b.default,remove:d.default,tween:m.default,delay:o.default,duration:a.default,ease:l.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(197);Object.defineProperty(t,"dispatch",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(287);Object.defineProperty(t,"path",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";function r(e,t){e&&i.hasOwnProperty(e.type)&&i[e.type](e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e&&u.hasOwnProperty(e.type)?u[e.type](e,t):r(e,t)};var u={Feature:function(e,t){r(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,u=-1,i=n.length;++ut?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";function r(){this.reset()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(e){i(u,e,this.t),i(this,u.s,this.s),this.s?this.t+=u.t:this.s=u.t},valueOf:function(){return this.s}};var u=new r;function i(e,t,n){var r=e.s=t+n,u=r-t,i=r-u;e.t=t-i+(n-u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Math.random()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(288);Object.defineProperty(t,"nest",{enumerable:!0,get:function(){return c(r).default}});var u=n(289);Object.defineProperty(t,"set",{enumerable:!0,get:function(){return c(u).default}});var i=n(64);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return c(i).default}});var o=n(290);Object.defineProperty(t,"keys",{enumerable:!0,get:function(){return c(o).default}});var a=n(291);Object.defineProperty(t,"values",{enumerable:!0,get:function(){return c(a).default}});var l=n(292);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"entries",{enumerable:!0,get:function(){return c(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hue=function(e,t){var n=t-e;return n?o(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,i.default)(isNaN(e)?t:e)},t.gamma=function(e){return 1==(e=+e)?a:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,i.default)(isNaN(t)?n:t)}},t.default=a;var r,u=n(113),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?o(e,n):(0,i.default)(isNaN(e)?t:e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spherical=function(e){return[(0,r.atan2)(e[1],e[0]),(0,r.asin)(e[2])]},t.cartesian=function(e){var t=e[0],n=e[1],u=(0,r.cos)(n);return[u*(0,r.cos)(t),u*(0,r.sin)(t),(0,r.sin)(n)]},t.cartesianDot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},t.cartesianCross=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},t.cartesianAddInPlace=function(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]},t.cartesianScale=function(e,t){return[e[0]*t,e[1]*t,e[2]*t]},t.cartesianNormalizeInPlace=function(e){var t=(0,r.sqrt)(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.azimuthalRaw=function(e){return function(t,n){var u=(0,r.cos)(t),i=(0,r.cos)(n),o=e(u*i);return[o*i*(0,r.sin)(t),o*(0,r.sin)(n)]}},t.azimuthalInvert=function(e){return function(t,n){var u=(0,r.sqrt)(t*t+n*n),i=e(u),o=(0,r.sin)(i),a=(0,r.cos)(i);return[(0,r.atan2)(t*o,u*a),(0,r.asin)(u&&n*o/u)]}};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){for(var i,o=e.children,a=-1,l=o.length,c=e.value&&(r-t)/e.value;++a0?(l=Math.floor(l/u)*u,c=Math.ceil(c/u)*u,u=(0,r.tickIncrement)(l,c,n)):u<0&&(l=Math.ceil(l*u)/u,c=Math.floor(c*u)/u,u=(0,r.tickIncrement)(l,c,n)),u>0?(i[o]=Math.floor(l/u)*u,i[a]=Math.ceil(c/u)*u,t(i)):u<0&&(i[o]=Math.ceil(l*u)/u,i[a]=Math.floor(c*u)/u,t(i)),e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>=1?u:e<=-1?-u:Math.asin(e)};t.abs=Math.abs,t.atan2=Math.atan2,t.cos=Math.cos,t.max=Math.max,t.min=Math.min,t.sin=Math.sin,t.sqrt=Math.sqrt,t.epsilon=1e-12;var r=t.pi=Math.PI,u=t.halfPi=r/2;t.tau=2*r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((u=e.length)>1)for(var n,r,u,i=1,o=e[t[0]],a=o.length;i=0;)n[t]=t;return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edges=t.circles=t.cells=t.beaches=t.epsilon2=t.epsilon=void 0,t.default=h;var r,u=n(458),i=n(169),o=n(170),a=n(89),l=n(88),c=(r=l)&&r.__esModule?r:{default:r};t.epsilon=1e-6,t.epsilon2=1e-12,t.beaches=void 0;var f=t.cells=void 0,s=(t.circles=void 0,t.edges=void 0);function d(e,t){return t[1]-e[1]||t[0]-e[0]}function h(e,n){var r,l,h,p=e.sort(d).pop();for(t.edges=s=[],t.cells=f=new Array(e.length),t.beaches=new c.default,t.circles=new c.default;;)if(h=o.firstCircle,p&&(!h||p[1]=a)return null;var l=e-u.site[0],c=t-u.site[1],f=l*l+c*c;do{u=i.cells[r=o],o=null,u.halfedges.forEach(function(n){var r=i.edges[n],a=r.left;if(a!==u.site&&a||(a=r.right)){var l=e-a[0],c=t-a[1],s=l*l+c*c;s2?e[2]*o.radians:0),t.invert=function(t){return(t=e.invert(t[0]*o.radians,t[1]*o.radians))[0]*=o.degrees,t[1]*=o.degrees,t},t};var r,u=n(129),i=(r=u)&&r.__esModule?r:{default:r},o=n(0);function a(e,t){return[e>o.pi?e-o.tau:e<-o.pi?e+o.tau:e,t]}function l(e,t,n){return(e%=o.tau)?t||n?(0,i.default)(f(e),s(t,n)):f(e):t||n?s(t,n):a}function c(e){return function(t,n){return[(t+=e)>o.pi?t-o.tau:t<-o.pi?t+o.tau:t,n]}}function f(e){var t=c(e);return t.invert=c(-e),t}function s(e,t){var n=(0,o.cos)(e),r=(0,o.sin)(e),u=(0,o.cos)(t),i=(0,o.sin)(t);function a(e,t){var a=(0,o.cos)(t),l=(0,o.cos)(e)*a,c=(0,o.sin)(e)*a,f=(0,o.sin)(t),s=f*n+l*r;return[(0,o.atan2)(c*u-s*i,l*n-f*r),(0,o.asin)(s*u+c*i)]}return a.invert=function(e,t){var a=(0,o.cos)(t),l=(0,o.cos)(e)*a,c=(0,o.sin)(e)*a,f=(0,o.sin)(t),s=f*u-c*i;return[(0,o.atan2)(c*u+f*i,l*n+s*r),(0,o.asin)(s*n-l*r)]},a}a.invert=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){function s(r,u){return e<=r&&r<=n&&t<=u&&u<=l}function d(r,u,i,o){var a=0,c=0;if(null==r||(a=h(r,i))!==(c=h(u,i))||_(r,u)<0^i>0)do{o.point(0===a||3===a?e:n,a>1?l:t)}while((a=(a+i+4)%4)!==c);else o.point(u[0],u[1])}function h(u,i){return(0,r.abs)(u[0]-e)0?0:3:(0,r.abs)(u[0]-n)0?2:1:(0,r.abs)(u[1]-t)0?1:0:i>0?3:2}function p(e,t){return _(e.x,t.x)}function _(e,t){var n=h(e,1),r=h(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(r){var h,_,v,y,b,g,m,M,P,O,j,x=r,w=(0,u.default)(),E={point:S,lineStart:function(){E.point=k,_&&_.push(v=[]);O=!0,P=!1,m=M=NaN},lineEnd:function(){h&&(k(y,b),g&&P&&w.rejoin(),h.push(w.result()));E.point=S,P&&x.lineEnd()},polygonStart:function(){x=w,h=[],_=[],j=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,r=_.length;nl&&(s-u)*(l-i)>(d-i)*(e-u)&&++t:d<=l&&(s-u)*(l-i)<(d-i)*(e-u)&&--t;return t}(),n=j&&t,u=(h=(0,a.merge)(h)).length;(n||u)&&(r.polygonStart(),n&&(r.lineStart(),d(null,null,1,r),r.lineEnd()),u&&(0,o.default)(h,p,t,d,r),r.polygonEnd());x=r,h=_=v=null}};function S(e,t){s(e,t)&&x.point(e,t)}function k(r,u){var o=s(r,u);if(_&&v.push([r,u]),O)y=r,b=u,g=o,O=!1,o&&(x.lineStart(),x.point(r,u));else if(o&&P)x.point(r,u);else{var a=[m=Math.max(f,Math.min(c,m)),M=Math.max(f,Math.min(c,M))],d=[r=Math.max(f,Math.min(c,r)),u=Math.max(f,Math.min(c,u))];(0,i.default)(a,d,e,t,n,l)?(P||(x.lineStart(),x.point(a[0],a[1])),x.point(d[0],d[1]),o||x.lineEnd(),j=!1):o&&(x.lineStart(),x.point(r,u),j=!1)}m=r,M=u,P=o}return E}};var r=n(0),u=l(n(132)),i=l(n(330)),o=l(n(133)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}var c=1e9,f=-c},function(e,t,n){"use strict";function r(e){return function(t){var n=new u;for(var r in e)n[r]=e[r];return n.stream=t,n}}function u(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{stream:r(e)}},t.transformer=r,u.prototype={constructor:u,point:function(e,t){this.stream.point(e,t)},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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){for(var i,o=e.children,a=-1,l=o.length,c=e.value&&(u-n)/e.value;++a2?d:s,r=o=null,y}function y(t){return(r||(r=n(l,h,_?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,p)))(+t)}return y.invert=function(e){return(o||(o=n(h,l,f,_?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},y.domain=function(e){return arguments.length?(l=i.map.call(e,a.default),v()):l.slice()},y.range=function(e){return arguments.length?(h=i.slice.call(e),v()):h.slice()},y.rangeRound=function(e){return h=i.slice.call(e),p=u.interpolateRound,v()},y.clamp=function(e){return arguments.length?(_=!!e,v()):_},y.interpolate=function(e){return arguments.length?(p=e,v()):p},v()};var r=n(3),u=n(5),i=n(15),o=l(n(81)),a=l(n(150));function l(e){return e&&e.__esModule?e:{default:e}}var c=[0,1];function f(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(0,o.default)(t)}function s(e,t,n,r){var u=e[0],i=e[1],o=t[0],a=t[1];return i=1)return+n(e[r-1],r-1,e);var r,u=(r-1)*t,o=Math.floor(u),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(u-o)}};var r,u=n(22),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(198);Object.defineProperty(t,"drag",{enumerable:!0,get:function(){return i(r).default}});var u=n(108);function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"dragDisable",{enumerable:!0,get:function(){return i(u).default}}),Object.defineProperty(t,"dragEnable",{enumerable:!0,get:function(){return u.yesdrag}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),i.default.hasOwnProperty(t)?{space:i.default[t],local:e}:e};var r,u=n(53),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.xhtml="http://www.w3.org/1999/xhtml";t.default={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e?r:function(){return this.querySelector(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,u,i=function(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),o=i.length;if(!(arguments.length<2)){for(c=t?l:a,null==n&&(n=!1),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=s.exec(e))?m(parseInt(t[1],16)):(t=d.exec(e))?new j(t[1],t[2],t[3],1):(t=h.exec(e))?new j(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?M(t[1],t[2],t[3],t[4]):(t=_.exec(e))?M(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=v.exec(e))?x(t[1],t[2]/100,t[3]/100,1):(t=y.exec(e))?x(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?m(b[e]):"transparent"===e?new j(NaN,NaN,NaN,0):null}function m(e){return new j(e>>16&255,e>>8&255,255&e,1)}function M(e,t,n,r){return r<=0&&(e=t=n=NaN),new j(e,t,n,r)}function P(e){return e instanceof o||(e=g(e)),e?new j((e=e.rgb()).r,e.g,e.b,e.opacity):new j}function O(e,t,n,r){return 1===arguments.length?P(e):new j(e,t,n,null==r?1:r)}function j(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function x(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new S(e,t,n,r)}function w(e){if(e instanceof S)return new S(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=g(e)),!e)return new S;if(e instanceof S)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,u=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-u,c=(i+u)/2;return l?(a=t===i?(n-r)/l+6*(n0&&c<1?0:a,new S(a,l,c,e.opacity)}function E(e,t,n,r){return 1===arguments.length?w(e):new S(e,t,n,null==r?1:r)}function S(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function k(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}(0,i.default)(o,g,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),(0,i.default)(j,O,(0,u.extend)(o,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new j(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new j(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),(0,i.default)(S,E,(0,u.extend)(o,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new S(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new S(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,u=2*n-r;return new j(k(e>=240?e-240:e+120,u,r),k(e,u,r),k(e<120?e+240:e-120,u,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},t.extend=function(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}},function(e,t,n){"use strict";function r(e,t,n,r,u){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*n+(1+3*e+3*i-3*o)*r+o*u)/6}Object.defineProperty(t,"__esModule",{value:!0}),t.basis=r,t.default=function(e){var t=e.length-1;return function(n){var u=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[u],o=e[u+1],a=u>0?e[u-1]:2*i-o,l=u=0&&t._call.call(null,e),t=t._next;--o}function m(){s=(f=h.now())+d,o=a=0;try{g()}finally{o=0,function(){var e,t,n=u,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:u=t);i=e,P(r)}(),s=0}}function M(){var e=h.now(),t=e-f;t>c&&(d-=t,f=e)}function P(e){o||(a&&(a=clearTimeout(a)),e-s>24?(e<1/0&&(a=setTimeout(m,e-h.now()-d)),l&&(l=clearInterval(l))):(l||(f=h.now(),l=setInterval(M,c)),o=1,p(m)))}y.prototype=b.prototype={constructor:y,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?_():+n)+(null==t?0:+t),this._next||i===this||(i?i._next=this:u=this,i=this),this._call=e,this._time=n,P()},stop:function(){this._call&&(this._call=null,this._time=1/0,P())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.prefix="$";function u(){}function i(e,t){var n=new u;if(e instanceof u)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,i=-1,o=e.length;if(null==t)for(;++i=f?h=!0:(l=e.charCodeAt(s++))===o?p=!0:l===a&&(p=!0,e.charCodeAt(s)===o&&++s),e.slice(c+1,t-1).replace(/""/g,'"')}for(;s1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEqualAreaRaw=o,t.default=function(){return(0,u.conicProjection)(o).scale(155.424).center([0,33.6442])};var r=n(0),u=n(74),i=n(341);function o(e,t){var n=(0,r.sin)(e),u=(n+(0,r.sin)(t))/2;if((0,r.abs)(u)=0;--i)c.push(r=n.children[i]=new g(u[i])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(b)}function v(e){return e.children}function y(e){e.data=e.data.data}function b(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function g(e){this.data=e,this.depth=this.height=0,this.parent=null}g.prototype=_.prototype={constructor:g,count:r.default,each:u.default,eachAfter:o.default,eachBefore:i.default,sum:a.default,sort:l.default,path:c.default,ancestors:f.default,descendants:s.default,leaves:d.default,links:h.default,copy:function(){return _(this).eachBefore(y)}}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new Error;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.optional=function(e){return null==e?null:r(e)},t.required=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.phi=void 0,t.squarifyRatio=a;var r=i(n(26)),u=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var o=t.phi=(1+Math.sqrt(5))/2;function a(e,t,n,i,o,a){for(var l,c,f,s,d,h,p,_,v,y,b,g=[],m=t.children,M=0,P=0,O=m.length,j=t.value;Mp&&(p=c),b=d*d*y,(_=Math.max(p/b,b/h))>v){d-=c;break}v=_}g.push(l={value:d,dice:f1?t:1)},n}(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,i,o,a,l=(0,u.dispatch)("beforesend","progress","load","error"),c=(0,r.map)(),f=new XMLHttpRequest,s=null,d=null,h=0;function p(e){var t,r=f.status;if(!r&&function(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}(f)||r>=200&&r<300||304===r){if(o)try{t=o.call(n,f)}catch(e){return void l.call("error",n,e)}else t=f;l.call("load",n,t)}else l.call("error",n,e)}if("undefined"==typeof XDomainRequest||"withCredentials"in f||!/^(http(s)?:)?\/\//.test(e)||(f=new XDomainRequest),"onload"in f?f.onload=f.onerror=f.ontimeout=p:f.onreadystatechange=function(e){f.readyState>3&&p(e)},f.onprogress=function(e){l.call("progress",n,e)},n={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?c.get(e):(null==t?c.remove(e):c.set(e,t+""),n)},mimeType:function(e){return arguments.length?(i=null==e?null:e+"",n):i},responseType:function(e){return arguments.length?(a=e,n):a},timeout:function(e){return arguments.length?(h=+e,n):h},user:function(e){return arguments.length<1?s:(s=null==e?null:e+"",n)},password:function(e){return arguments.length<1?d:(d=null==e?null:e+"",n)},response:function(e){return o=e,n},get:function(e,t){return n.send("GET",e,t)},post:function(e,t){return n.send("POST",e,t)},send:function(t,r,u){return f.open(t,e,!0,s,d),null==i||c.has("accept")||c.set("accept",i+",*/*"),f.setRequestHeader&&c.each(function(e,t){f.setRequestHeader(t,e)}),null!=i&&f.overrideMimeType&&f.overrideMimeType(i),null!=a&&(f.responseType=a),h>0&&(f.timeout=h),null==u&&"function"==typeof r&&(u=r,r=null),null!=u&&1===u.length&&(u=function(e){return function(t,n){e(null==t?n:null)}}(u)),null!=u&&n.on("error",u).on("load",function(e){u(null,e)}),l.call("beforesend",n,f),f.send(null==r?null:r),n},abort:function(){return f.abort(),n},on:function(){var e=l.on.apply(l,arguments);return e===l?n:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return n.get(t)}return n};var r=n(21),u=n(12)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(83);Object.defineProperty(t,"timeFormatDefaultLocale",{enumerable:!0,get:function(){return a(r).default}}),Object.defineProperty(t,"timeFormat",{enumerable:!0,get:function(){return r.timeFormat}}),Object.defineProperty(t,"timeParse",{enumerable:!0,get:function(){return r.timeParse}}),Object.defineProperty(t,"utcFormat",{enumerable:!0,get:function(){return r.utcFormat}}),Object.defineProperty(t,"utcParse",{enumerable:!0,get:function(){return r.utcParse}});var u=n(153);Object.defineProperty(t,"timeFormatLocale",{enumerable:!0,get:function(){return a(u).default}});var i=n(154);Object.defineProperty(t,"isoFormat",{enumerable:!0,get:function(){return a(i).default}});var o=n(420);function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"isoParse",{enumerable:!0,get:function(){return a(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcParse=t.utcFormat=t.timeParse=t.timeFormat=void 0,t.default=a;var r,u,i=n(153),o=(r=i)&&r.__esModule?r:{default:r};t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0;function a(e){return u=(0,o.default)(e),t.timeFormat=u.format,t.timeParse=u.parse,t.utcFormat=u.utcFormat,t.utcParse=u.utcParse,u}a({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o.x,t=o.y,n=(0,u.default)(!0),a=null,l=i.default,c=null;function f(u){var i,o,f,s=u.length,d=!1;for(null==a&&(c=l(f=(0,r.path)())),i=0;i<=s;++i)!(ir.epsilon){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);u=(u*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>r.epsilon){var f=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*f+e._x1*e._l23_2a-t*e._l12_2a)/s,a=(a*f+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(u,i,o,a,e._x2,e._y2)}function o(e,t){this._context=e,this._alpha=t}t.point=i,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:i(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new o(e,t):new u.Cardinal(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map(o);return(0,i.default)(e).sort(function(e,n){return t[e]-t[n]})},t.sum=o;var r,u=n(31),i=(r=u)&&r.__esModule?r:{default:r};function o(e){for(var t,n=0,r=-1,u=e.length;++rr.epsilon||Math.abs(a[0][1]-a[1][1])>r.epsilon)||delete r.edges[l]};var r=n(32);function u(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function i(e,t,n,r,u){var i,o=e[0],a=e[1],l=o[0],c=o[1],f=0,s=1,d=a[0]-l,h=a[1]-c;if(i=t-l,d||!(i>0)){if(i/=d,d<0){if(i0){if(i>s)return;i>f&&(f=i)}if(i=r-l,d||!(i<0)){if(i/=d,d<0){if(i>s)return;i>f&&(f=i)}else if(d>0){if(i0)){if(i/=h,h<0){if(i0){if(i>s)return;i>f&&(f=i)}if(i=u-c,h||!(i<0)){if(i/=h,h<0){if(i>s)return;i>f&&(f=i)}else if(h>0){if(i0||s<1)||(f>0&&(e[0]=[l+f*d,c+f*h]),s<1&&(e[1]=[l+s*d,c+s*h]),!0)}}}}}function o(e,t,n,r,u){var i=e[1];if(i)return!0;var o,a,l=e[0],c=e.left,f=e.right,s=c[0],d=c[1],h=f[0],p=f[1],_=(s+h)/2,v=(d+p)/2;if(p===d){if(_=r)return;if(s>h){if(l){if(l[1]>=u)return}else l=[_,n];i=[_,u]}else{if(l){if(l[1]1)if(s>h){if(l){if(l[1]>=u)return}else l=[(n-a)/o,n];i=[(u-a)/o,u]}else{if(l){if(l[1]=r)return}else l=[t,o*t+a];i=[r,o*r+a]}else{if(l){if(l[0]>>1;e(t[i],n)<0?r=i+1:u=i}return r},right:function(t,n,r,u){for(null==r&&(r=0),null==u&&(u=t.length);r>>1;e(t[i],n)>0?u=i:r=i+1}return r}}};var r,u=n(17),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";function r(e,t){return[e,t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){null==t&&(t=r);for(var n=0,u=e.length-1,i=e[0],o=new Array(u<0?0:u);n1)return c/(o-1)};var r,u=n(22),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,u,i=e.length,o=-1;if(null==t){for(;++o=n)for(r=u=n;++on&&(r=n),u=n)for(r=u=n;++on&&(r=n),u0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(u=Math.ceil(t-e+1));++l=r?a*=10:l>=u?a*=5:l>=i&&(a*=2);return t=0?(l>=r?10:l>=u?5:l>=i?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(l>=r?10:l>=u?5:l>=i?2:1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,u=e.length,i=-1;if(null==t){for(;++i=n)for(r=n;++in&&(r=n)}else for(;++i=n)for(r=n;++in&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(u=e.length))return[];for(var t=-1,n=(0,i.default)(e,o),r=new Array(n);++t1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):o(this.node(),e)},t.styleValue=o;var r,u=n(55),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return e.style.getPropertyValue(t)||(0,i.default)(e).getComputedStyle(e,null).getPropertyValue(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.document.documentElement,n=(0,u.select)(e).on("dragstart.drag",o.default,!0);"onselectstart"in t?n.on("selectstart.drag",o.default,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")},t.yesdrag=function(e,t){var n=e.document.documentElement,r=(0,u.select)(e).on("dragstart.drag",null);t&&(r.on("click.drag",o.default,!0),setTimeout(function(){r.on("click.drag",null)},0));"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)};var r,u=n(1),i=n(109),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.deg2rad=Math.PI/180,t.rad2deg=180/Math.PI},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgbBasisClosed=t.rgbBasis=void 0;var r=n(7),u=l(n(61)),i=l(n(112)),o=n(23),a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(t){var n,u,i=t.length,o=new Array(i),a=new Array(i),l=new Array(i);for(n=0;nl&&(u=t.slice(l,u),f[c]?f[c]+=u:f[++c]=u),(n=n[0])===(r=r[0])?f[c]?f[c]+=r:f[++c]=r:(f[++c]=null,s.push({i:c,x:(0,i.default)(n,r)})),l=a.lastIndex;return lr.STARTING&&n.state1?(null==n?d.remove(e):d.set(e,b(n)),t):d.get(e)},find:function(t,n,r){var u,i,o,a,l,c=0,f=e.length;for(null==r?r=1/0:r*=r,c=0;c1?(p.on(e,n),t):p.on(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.grouping&&e.thousands?(0,u.default)(e.grouping,e.thousands):c.default,n=e.currency,f=e.decimal,d=e.numerals?(0,i.default)(e.numerals):c.default,h=e.percent||"%";function p(e){var r=(e=(0,o.default)(e)).fill,u=e.align,i=e.sign,c=e.symbol,p=e.zero,_=e.width,v=e.comma,y=e.precision,b=e.type,g="$"===c?n[0]:"#"===c&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",m="$"===c?n[1]:/[%p]/.test(b)?h:"",M=a.default[b],P=!b||/[defgprs%]/.test(b);function O(e){var n,o,a,c=g,h=m;if("c"===b)h=M(e)+h,e="";else{var O=(e=+e)<0;if(e=M(Math.abs(e),y),O&&0==+e&&(O=!1),c=(O?"("===i?i:"-":"-"===i||"("===i?"":i)+c,h=("s"===b?s[8+l.prefixExponent/3]:"")+h+(O&&"("===i?")":""),P)for(n=-1,o=e.length;++n(a=e.charCodeAt(n))||a>57){h=(46===a?f+e.slice(n+1):e.slice(n))+h,e=e.slice(0,n);break}}v&&!p&&(e=t(e,1/0));var j=c.length+e.length+h.length,x=j<_?new Array(_-j+1).join(r):"";switch(v&&p&&(e=t(x+e,x.length?_-h.length:1/0),x=""),u){case"<":e=c+e+h+x;break;case"=":e=c+x+e+h;break;case"^":e=x.slice(0,j=x.length>>1)+c+e+h+x.slice(j);break;default:e=x+c+e+h}return d(e)}return y=null==y?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),O.toString=function(){return e+""},O}return{format:p,formatPrefix:function(e,t){var n=p(((e=(0,o.default)(e)).type="f",e)),u=3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(t)/3))),i=Math.pow(10,-u),a=s[8+u/3];return function(e){return n(i*e)+a}}}};var r=f(n(38)),u=f(n(317)),i=f(n(318)),o=f(n(124)),a=f(n(125)),l=n(126),c=f(n(321));function f(e){return e&&e.__esModule?e:{default:e}}var s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,u=n(125),i=(r=u)&&r.__esModule?r:{default:r};var o=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function a(e){return new l(e)}function l(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",u=t[3]||"-",a=t[4]||"",l=!!t[5],c=t[6]&&+t[6],f=!!t[7],s=t[8]&&+t[8].slice(1),d=t[9]||"";"n"===d?(f=!0,d="g"):i.default[d]||(d=""),(l||"0"===n&&"="===r)&&(l=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=u,this.symbol=a,this.zero=l,this.width=c,this.comma=f,this.precision=s,this.type=d}a.prototype=l.prototype,l.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(319)),u=o(n(126)),i=o(n(320));function o(e){return e&&e.__esModule?e:{default:e}}t.default={"":r.default,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return(0,i.default)(100*e,t)},r:i.default,s:u.default,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prefixExponent=void 0,t.default=function(e,n){var r=(0,i.default)(e,n);if(!r)return e+"";var u=r[0],o=r[1],a=o-(t.prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,l=u.length;return a===l?u:a>l?u+new Array(a-l+1).join("0"):a>0?u.slice(0,a)+"."+u.slice(a):"0."+new Array(1-a).join("0")+(0,i.default)(e,Math.max(0,n+a-1))[0]};var r,u=n(71),i=(r=u)&&r.__esModule?r:{default:r};t.prefixExponent=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areaStream=t.areaRingSum=void 0,t.default=function(e){return p.reset(),(0,o.default)(e,_),2*p};var r=a(n(19)),u=n(0),i=a(n(11)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,c,f,s,d,h=t.areaRingSum=(0,r.default)(),p=(0,r.default)(),_=t.areaStream={point:i.default,lineStart:i.default,lineEnd:i.default,polygonStart:function(){h.reset(),_.lineStart=v,_.lineEnd=y},polygonEnd:function(){var e=+h;p.add(e<0?u.tau+e:e),this.lineStart=this.lineEnd=this.point=i.default},sphere:function(){p.add(u.tau)}};function v(){_.point=b}function y(){g(l,c)}function b(e,t){_.point=g,l=e,c=t,e*=u.radians,t*=u.radians,f=e,s=(0,u.cos)(t=t/2+u.quarterPi),d=(0,u.sin)(t)}function g(e,t){e*=u.radians,t=(t*=u.radians)/2+u.quarterPi;var n=e-f,r=n>=0?1:-1,i=r*n,o=(0,u.cos)(t),a=(0,u.sin)(t),l=d*a,c=s*o+l*(0,u.cos)(i),p=l*r*(0,u.sin)(i);h.add((0,u.atan2)(p,c)),f=e,s=o,d=a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.circleStream=c,t.default=function(){var e,t,n=(0,o.default)([0,0]),r=(0,o.default)(90),u=(0,o.default)(6),i={point:function(n,r){e.push(n=t(n,r)),n[0]*=a.degrees,n[1]*=a.degrees}};function f(){var o=n.apply(this,arguments),f=r.apply(this,arguments)*a.radians,s=u.apply(this,arguments)*a.radians;return e=[],t=(0,l.rotateRadians)(-o[0]*a.radians,-o[1]*a.radians,0).invert,c(i,f,s,1),o={type:"Polygon",coordinates:[e]},e=t=null,o}return f.center=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.default)([+e[0],+e[1]]),f):n},f.radius=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.default)(+e),f):r},f.precision=function(e){return arguments.length?(u="function"==typeof e?e:(0,o.default)(+e),f):u},f};var r,u=n(24),i=n(328),o=(r=i)&&r.__esModule?r:{default:r},a=n(0),l=n(39);function c(e,t,n,r,i,o){if(n){var l=(0,a.cos)(t),c=(0,a.sin)(t),s=r*n;null==i?(i=t+r*a.tau,o=t-s/2):(i=f(l,i),o=f(l,o),(r>0?io)&&(i+=r*a.tau));for(var d,h=i;r>0?h>o:h0?o.pi:-o.pi,c=(0,o.abs)(i-n);(0,o.abs)(c-o.pi)0?o.halfPi:-o.halfPi),e.point(u,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(i,r),t=0):u!==l&&c>=o.pi&&((0,o.abs)(n-u)o.epsilon?(0,o.atan)(((0,o.sin)(t)*(i=(0,o.cos)(r))*(0,o.sin)(n)-(0,o.sin)(r)*(u=(0,o.cos)(t))*(0,o.sin)(e))/(u*i*a)):(t+r)/2}(n,r,i,a),e.point(u,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=i,r=a),u=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var u;if(null==e)u=n*o.halfPi,r.point(-o.pi,u),r.point(0,u),r.point(o.pi,u),r.point(o.pi,0),r.point(o.pi,-u),r.point(0,-u),r.point(-o.pi,-u),r.point(-o.pi,0),r.point(-o.pi,u);else if((0,o.abs)(e[0]-t[0])>o.epsilon){var i=e[0]0){for(y||(l.polygonStart(),y=!0),l.lineStart(),e=0;e1&&2&u&&i.push(i.pop().concat(i.shift())),d.push(i.filter(c))}return b}};var r=l(n(132)),u=l(n(133)),i=n(0),o=l(n(135)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.length>1}function f(e,t){return((e=e.x)[0]<0?e[1]-i.halfPi-i.epsilon:i.halfPi-e[1])-((t=t.x)[0]<0?t[1]-i.halfPi-i.epsilon:i.halfPi-t[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[];return{point:function(t,n){e.push([t,n])},lineStart:function(){t.push(e=[])},lineEnd:i.default,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}};var r,u=n(11),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){var l,c,f=[],s=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if((0,i.default)(r,a)){for(u.lineStart(),l=0;l=0;--l)u.point((h=d[l])[0],h[1]);else r(_.x,_.p.x,-1,u);_=_.p}d=(_=_.o).z,v=!v}while(!_.v);u.lineEnd()}}};var r,u=n(134),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function a(e){if(t=e.length){for(var t,n,r=0,u=e[0];++r=0?1:-1,E=w*x,S=E>a.pi,k=y*O;if(l.add((0,a.atan2)(k*w*(0,a.sin)(E),b*j+k*(0,a.cos)(E))),i+=S?x+w*a.tau:x,S^_>=n^M>=n){var T=(0,o.cartesianCross)((0,o.cartesian)(p),(0,o.cartesian)(m));(0,o.cartesianNormalizeInPlace)(T);var N=(0,o.cartesianCross)(u,T);(0,o.cartesianNormalizeInPlace)(N);var C=(S^x>=0?-1:1)*(0,a.asin)(N[2]);(r>C||r===C&&(T[0]||T[1]))&&(c+=S^x>=0?1:-1)}}return(i<-a.epsilon||i0,c=(0,i.abs)(t)>i.epsilon;function f(e,n){return(0,i.cos)(e)*(0,i.cos)(n)>t}function s(e,n,u){var o=(0,r.cartesian)(e),a=(0,r.cartesian)(n),l=[1,0,0],c=(0,r.cartesianCross)(o,a),f=(0,r.cartesianDot)(c,c),s=c[0],d=f-s*s;if(!d)return!u&&e;var h=t*f/d,p=-t*s/d,_=(0,r.cartesianCross)(l,c),v=(0,r.cartesianScale)(l,h),y=(0,r.cartesianScale)(c,p);(0,r.cartesianAddInPlace)(v,y);var b=_,g=(0,r.cartesianDot)(v,b),m=(0,r.cartesianDot)(b,b),M=g*g-m*((0,r.cartesianDot)(v,v)-1);if(!(M<0)){var P=(0,i.sqrt)(M),O=(0,r.cartesianScale)(b,(-g-P)/m);if((0,r.cartesianAddInPlace)(O,v),O=(0,r.spherical)(O),!u)return O;var j,x=e[0],w=n[0],E=e[1],S=n[1];w0^O[1]<((0,i.abs)(O[0]-x)i.pi^(x<=O[0]&&O[0]<=w)){var N=(0,r.cartesianScale)(b,(-g+P)/m);return(0,r.cartesianAddInPlace)(N,v),[O,(0,r.spherical)(N)]}}}function d(t,n){var r=l?e:i.pi-e,u=0;return t<-r?u|=1:t>r&&(u|=2),n<-r?u|=4:n>r&&(u|=8),u}return(0,a.default)(f,function(e){var t,n,r,u,a;return{lineStart:function(){u=r=!1,a=1},point:function(h,p){var _,v=[h,p],y=f(h,p),b=l?y?0:d(h,p):y?d(h+(h<0?i.pi:-i.pi),p):0;if(!t&&(u=r=y)&&e.lineStart(),y!==r&&(!(_=s(t,v))||(0,o.default)(t,_)||(0,o.default)(v,_))&&(v[0]+=i.epsilon,v[1]+=i.epsilon,y=f(v[0],v[1])),y!==r)a=0,y?(e.lineStart(),_=s(v,t),e.point(_[0],_[1])):(_=s(t,v),e.point(_[0],_[1]),e.lineEnd()),t=_;else if(c&&t&&l^y){var g;b&n||!(g=s(v,t,!0))||(a=0,l?(e.lineStart(),e.point(g[0][0],g[0][1]),e.point(g[1][0],g[1][1]),e.lineEnd()):(e.point(g[1][0],g[1][1]),e.lineEnd(),e.lineStart(),e.point(g[0][0],g[0][1])))}!y||t&&(0,o.default)(t,v)||e.point(v[0],v[1]),t=v,r=y,n=b},lineEnd:function(){r&&e.lineEnd(),t=null},clean:function(){return a|(u&&r)<<1}}},function(t,r,i,o){(0,u.circleStream)(o,e,n,i,t,r)},l?[0,-e]:[-i.pi,e-i.pi])};var r=n(24),u=n(128),i=n(0),o=l(n(134)),a=l(n(131));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return o[0]=e,o[1]=t,(0,i.default)(a)};var r,u=n(138),i=(r=u)&&r.__esModule?r:{default:r};var o=[null,null],a={type:"LineString",coordinates:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s.reset(),(0,o.default)(e,d),+s};var r=a(n(19)),u=n(0),i=a(n(11)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,c,f,s=(0,r.default)(),d={sphere:i.default,point:i.default,lineStart:function(){d.point=p,d.lineEnd=h},lineEnd:i.default,polygonStart:i.default,polygonEnd:i.default};function h(){d.point=d.lineEnd=i.default}function p(e,t){e*=u.radians,t*=u.radians,l=e,c=(0,u.sin)(t),f=(0,u.cos)(t),d.point=_}function _(e,t){e*=u.radians,t*=u.radians;var n=(0,u.sin)(t),r=(0,u.cos)(t),i=(0,u.abs)(e-l),o=(0,u.cos)(i),a=r*(0,u.sin)(i),d=f*n-c*r*o,h=c*n+f*r*o;s.add((0,u.atan2)((0,u.sqrt)(a*a+d*d),h)),l=e,c=n,f=r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(11),i=(r=u)&&r.__esModule?r:{default:r};var o=1/0,a=o,l=-o,c=l,f={point:function(e,t){el&&(l=e);tc&&(c=t)},lineStart:i.default,lineEnd:i.default,polygonStart:i.default,polygonEnd:i.default,result:function(){var e=[[o,a],[l,c]];return l=c=-(a=o=1/0),e}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var r,u=n(73),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equirectangularRaw=o,t.default=function(){return(0,i.default)(o).scale(152.63)};var r,u=n(8),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return[e,t]}o.invert=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packEnclose=f,t.default=function(e){return f(e),e};var r,u=n(143),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n){var r=e.x,u=e.y,i=t.r+n.r,o=e.r+n.r,a=t.x-r,l=t.y-u,c=a*a+l*l;if(c){var f=.5+((o*=o)-(i*=i))/(2*c),s=Math.sqrt(Math.max(0,2*i*(o+c)-(o-=c)*o-i*i))/(2*c);n.x=r+f*a+s*l,n.y=u+f*l-s*a}else n.x=r+o,n.y=u}function a(e,t){var n=t.x-e.x,r=t.y-e.y,u=e.r+t.r;return u*u-1e-6>n*n+r*r}function l(e){var t=e._,n=e.next._,r=t.r+n.r,u=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return u*u+i*i}function c(e){this._=e,this.next=null,this.previous=null}function f(e){if(!(u=e.length))return 0;var t,n,r,u,f,s,d,h,p,_,v;if((t=e[0]).x=0,t.y=0,!(u>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(u>2))return t.r+n.r;o(n,t,r=e[2]),t=new c(t),n=new c(n),r=new c(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(d=3;d0&&n*n>r*r+u*u}function a(e,t){for(var n=0;n1);return e+n*i*Math.sqrt(-2*Math.log(u)/u)}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){for(var n=0,r=0;r=12)]},Q:_e,s:ve,S:Y,u:H,U:B,V:X,w:V,W:W,x:null,X:null,y:Z,Y:$,Z:G,"%":pe},ke={a:function(e){return s[e.getUTCDay()]},A:function(e){return f[e.getUTCDay()]},b:function(e){return ye[e.getUTCMonth()]},B:function(e){return d[e.getUTCMonth()]},c:null,d:Q,e:Q,f:ne,H:J,I:K,j:ee,L:te,m:re,M:ue,p:function(e){return c[+(e.getUTCHours()>=12)]},Q:_e,s:ve,S:ie,u:oe,U:ae,V:le,w:ce,W:fe,x:null,X:null,y:se,Y:de,Z:he,"%":pe},Te={a:function(e,t,n){var r=Pe.exec(t.slice(n));return r?(e.w=Oe[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=me.exec(t.slice(n));return r?(e.w=Me[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=we.exec(t.slice(n));return r?(e.m=Ee[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=je.exec(t.slice(n));return r?(e.m=xe[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return Ae(e,t,n,r)},d:j,e:j,f:T,H:w,I:w,j:x,L:k,m:O,M:E,p:function(e,t,n){var r=be.exec(t.slice(n));return r?(e.p=ge[r[0].toLowerCase()],n+r[0].length):-1},Q:C,s:A,S:S,u:v,U:y,V:b,w:_,W:g,x:function(e,t,r){return Ae(e,n,t,r)},X:function(e,t,n){return Ae(e,l,t,n)},y:M,Y:m,Z:P,"%":N};function Ne(e,t){return function(n){var r,u,i,o=[],l=-1,c=0,f=e.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in l||(l.w=1),"Z"in l?(u=i(o(l.y)),a=u.getUTCDay(),u=a>4||0===a?r.utcMonday.ceil(u):(0,r.utcMonday)(u),u=r.utcDay.offset(u,7*(l.V-1)),l.y=u.getUTCFullYear(),l.m=u.getUTCMonth(),l.d=u.getUTCDate()+(l.w+6)%7):(u=t(o(l.y)),a=u.getDay(),u=a>4||0===a?r.timeMonday.ceil(u):(0,r.timeMonday)(u),u=r.timeDay.offset(u,7*(l.V-1)),l.y=u.getFullYear(),l.m=u.getMonth(),l.d=u.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),a="Z"in l?i(o(l.y)).getUTCDay():t(o(l.y)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(a+5)%7:l.w+7*l.U-(a+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,i(l)):t(l)}}function Ae(e,t,n,r){for(var u,i,o=0,l=t.length,c=n.length;o=c)return-1;if(37===(u=t.charCodeAt(o++))){if(u=t.charAt(o++),!(i=Te[u in a?t.charAt(o++):u])||(r=i(e,n,r))<0)return-1}else if(u!=n.charCodeAt(r++))return-1}return r}return Se.x=Ne(n,Se),Se.X=Ne(l,Se),Se.c=Ne(t,Se),ke.x=Ne(n,ke),ke.X=Ne(l,ke),ke.c=Ne(t,ke),{format:function(e){var t=Ne(e+="",Se);return t.toString=function(){return e},t},parse:function(e){var t=Ce(e+="",u);return t.toString=function(){return e},t},utcFormat:function(e){var t=Ne(e+="",ke);return t.toString=function(){return e},t},utcParse:function(e){var t=Ce(e,i);return t.toString=function(){return e},t}}};var r=n(45);function u(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function i(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var a={"-":"",_:" ",0:"0"},l=/^\s*\d+/,c=/^%/,f=/[\\^$*+?|[\]().{}]/g;function s(e,t,n){var r=e<0?"-":"",u=(r?-e:e)+"",i=u.length;return r+(i68?1900:2e3),n+r[0].length):-1}function P(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function O(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function j(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function x(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function w(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function E(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function S(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function k(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function T(e,t,n){var r=l.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function N(e,t,n){var r=c.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function C(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function A(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function R(e,t){return s(e.getDate(),t,2)}function z(e,t){return s(e.getHours(),t,2)}function q(e,t){return s(e.getHours()%12||12,t,2)}function I(e,t){return s(1+r.timeDay.count((0,r.timeYear)(e),e),t,3)}function D(e,t){return s(e.getMilliseconds(),t,3)}function L(e,t){return D(e,t)+"000"}function U(e,t){return s(e.getMonth()+1,t,2)}function F(e,t){return s(e.getMinutes(),t,2)}function Y(e,t){return s(e.getSeconds(),t,2)}function H(e){var t=e.getDay();return 0===t?7:t}function B(e,t){return s(r.timeSunday.count((0,r.timeYear)(e),e),t,2)}function X(e,t){var n=e.getDay();return e=n>=4||0===n?(0,r.timeThursday)(e):r.timeThursday.ceil(e),s(r.timeThursday.count((0,r.timeYear)(e),e)+(4===(0,r.timeYear)(e).getDay()),t,2)}function V(e){return e.getDay()}function W(e,t){return s(r.timeMonday.count((0,r.timeYear)(e),e),t,2)}function Z(e,t){return s(e.getFullYear()%100,t,2)}function $(e,t){return s(e.getFullYear()%1e4,t,4)}function G(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+s(t/60|0,"0",2)+s(t%60,"0",2)}function Q(e,t){return s(e.getUTCDate(),t,2)}function J(e,t){return s(e.getUTCHours(),t,2)}function K(e,t){return s(e.getUTCHours()%12||12,t,2)}function ee(e,t){return s(1+r.utcDay.count((0,r.utcYear)(e),e),t,3)}function te(e,t){return s(e.getUTCMilliseconds(),t,3)}function ne(e,t){return te(e,t)+"000"}function re(e,t){return s(e.getUTCMonth()+1,t,2)}function ue(e,t){return s(e.getUTCMinutes(),t,2)}function ie(e,t){return s(e.getUTCSeconds(),t,2)}function oe(e){var t=e.getUTCDay();return 0===t?7:t}function ae(e,t){return s(r.utcSunday.count((0,r.utcYear)(e),e),t,2)}function le(e,t){var n=e.getUTCDay();return e=n>=4||0===n?(0,r.utcThursday)(e):r.utcThursday.ceil(e),s(r.utcThursday.count((0,r.utcYear)(e),e)+(4===(0,r.utcYear)(e).getUTCDay()),t,2)}function ce(e){return e.getUTCDay()}function fe(e,t){return s(r.utcMonday.count((0,r.utcYear)(e),e),t,2)}function se(e,t){return s(e.getUTCFullYear()%100,t,2)}function de(e,t){return s(e.getUTCFullYear()%1e4,t,4)}function he(){return"+0000"}function pe(){return"%"}function _e(e){return+e}function ve(e){return Math.floor(+e/1e3)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isoSpecifier=void 0;var r=n(83),u=t.isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ";var i=Date.prototype.toISOString?function(e){return e.toISOString()}:(0,r.utcFormat)(u);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.x,t=null,n=(0,u.default)(0),l=a.y,c=(0,u.default)(!0),f=null,s=i.default,d=null;function h(u){var i,o,a,h,p,_=u.length,v=!1,y=new Array(_),b=new Array(_);for(null==f&&(d=s(p=(0,r.path)())),i=0;i<=_;++i){if(!(i<_&&c(h=u[i],i,u))===v)if(v=!v)o=i,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),a=i-1;a>=o;--a)d.point(y[a],b[a]);d.lineEnd(),d.areaEnd()}v&&(y[i]=+e(h,i,u),b[i]=+n(h,i,u),d.point(t?+t(h,i,u):y[i],l?+l(h,i,u):b[i]))}if(p)return d=null,p+""||null}function p(){return(0,o.default)().defined(c).curve(s).context(f)}return h.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,u.default)(+n),t=null,h):e},h.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,u.default)(+t),h):e},h.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,u.default)(+e),h):t},h.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)(+e),l=null,h):n},h.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)(+e),h):n},h.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,u.default)(+e),h):l},h.lineX0=h.lineY0=function(){return p().x(e).y(n)},h.lineY1=function(){return p().x(e).y(l)},h.lineX1=function(){return p().x(t).y(n)},h.defined=function(e){return arguments.length?(c="function"==typeof e?e:(0,u.default)(!!e),h):c},h.curve=function(e){return arguments.length?(s=e,null!=f&&(d=s(f)),h):s},h.context=function(e){return arguments.length?(null==e?f=d=null:d=s(f=e),h):f},h};var r=n(13),u=l(n(16)),i=l(n(46)),o=l(n(84)),a=n(85);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.curveRadialLinear=void 0,t.default=a;var r,u=n(46),i=(r=u)&&r.__esModule?r:{default:r};t.curveRadialLinear=a(i.default);function o(e){this._curve=e}function a(e){function t(t){return new o(e(t))}return t._curve=e,t}o.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineRadial=a,t.default=function(){return a((0,i.default)().curve(r.curveRadialLinear))};var r=n(156),u=o(r),i=o(n(84));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t((0,u.default)(e)):t()._curve},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=Array.prototype.slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);t.default={draw:function(e,t){var n=Math.sqrt(t/r.pi);e.moveTo(n,0),e.arc(0,0,n,0,r.tau)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(1/3),u=2*r;t.default={draw:function(e,t){var n=Math.sqrt(t/u),i=n*r;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),u=Math.sin(r.pi/10)/Math.sin(7*r.pi/10),i=Math.sin(r.tau/10)*u,o=-Math.cos(r.tau/10)*u;t.default={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),u=i*n,a=o*n;e.moveTo(0,-n),e.lineTo(u,a);for(var l=1;l<5;++l){var c=r.tau*l/5,f=Math.cos(c),s=Math.sin(c);e.lineTo(s*n,-f*n),e.lineTo(f*u-s*a,s*u+f*a)}e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(3);t.default={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=-.5,u=Math.sqrt(3)/2,i=1/Math.sqrt(12),o=3*(i/2+1);t.default={draw:function(e,t){var n=Math.sqrt(t/o),a=n/2,l=n*i,c=a,f=n*i+n,s=-c,d=f;e.moveTo(a,l),e.lineTo(c,f),e.lineTo(s,d),e.lineTo(r*a-u*l,u*a+r*l),e.lineTo(r*c-u*f,u*c+r*f),e.lineTo(r*s-u*d,u*s+r*d),e.lineTo(r*a+u*l,r*l-u*a),e.lineTo(r*c+u*f,r*f-u*c),e.lineTo(r*s+u*d,r*d-u*s),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalClosed=a;var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r},o=n(49);function a(e,t){this._context=e,this._k=(1-t)/6}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new a(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalOpen=u;var r=n(49);function u(e,t){this._context=e,this._k=(1-t)/6}u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,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:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new u(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCell=function(e){return u.cells[e.index]={site:e,halfedges:[]}},t.cellHalfedgeStart=o,t.cellHalfedgeEnd=a,t.sortCellHalfedges=function(){for(var e,t,n,r,o=0,a=u.cells.length;ou.epsilon||Math.abs(g-v)>u.epsilon)&&(d.splice(s,0,u.edges.push((0,r.createBorderEdge)(f,y,Math.abs(b-e)u.epsilon?[e,Math.abs(_-e)u.epsilon?[Math.abs(v-i)u.epsilon?[n,Math.abs(_-n)u.epsilon?[Math.abs(v-t)=-u.epsilon2)return;var y=d*d+h*h,b=p*p+_*_,g=(_*y-h*b)/v,m=(d*b-p*y)/v,M=i.pop()||new function(){(0,r.RedBlackNode)(this),this.x=this.y=this.arc=this.site=this.cy=null};M.arc=e,M.site=l,M.x=g+f,M.y=(M.cy=m+s)+Math.sqrt(g*g+m*m),e.circle=M;var P=null,O=u.circles._;for(;O;)if(M.y build/package.js && node rollup.node",test:"tape 'test/**/*-test.js'",prepublishOnly:'npm run test && rollup -c --banner "$(preamble)" && uglifyjs -b beautify=false,preamble="\'$(preamble)\'" build/d3.js -c negate_iife=false -m -o build/d3.min.js',postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/build/d3.js d3.v4.js && cp ../d3/build/d3.min.js d3.v4.min.js && git add d3.v4.js d3.v4.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/build/d3.js ../d3/build/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m "${npm_package_version}" && git tag -am "${npm_package_version}" v${npm_package_version} && git push && git push --tags && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.min.js'},t.devDependencies={json2module:"0.0","package-preamble":"0.1",rimraf:"2",rollup:"0.53","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3",tape:"4","uglify-js":"3.2"},t.dependencies={"d3-array":"1.2.1","d3-axis":"1.0.8","d3-brush":"1.0.4","d3-chord":"1.0.4","d3-collection":"1.0.4","d3-color":"1.0.3","d3-dispatch":"1.0.3","d3-drag":"1.2.1","d3-dsv":"1.0.8","d3-ease":"1.0.3","d3-force":"1.1.0","d3-format":"1.2.2","d3-geo":"1.9.1","d3-hierarchy":"1.1.5","d3-interpolate":"1.1.6","d3-path":"1.0.5","d3-polygon":"1.0.3","d3-quadtree":"1.0.3","d3-queue":"3.0.7","d3-random":"1.1.0","d3-request":"1.0.6","d3-scale":"1.0.7","d3-selection":"1.3.0","d3-shape":"1.2.0","d3-time":"1.0.8","d3-time-format":"2.1.1","d3-timer":"1.0.7","d3-transition":"1.1.1","d3-voronoi":"1.1.2","d3-zoom":"1.7.1"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var u,i,o,a,l=e.length,c=t.length,f=new Array(l*c);for(null==n&&(n=r.pair),u=o=0;ue?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.default,t=o.default,n=f.default;function s(r){var i,o,a=r.length,f=new Array(a);for(i=0;ih;)p.pop(),--_;var v,y=new Array(_+1);for(i=0;i<=_;++i)(v=y[i]=[]).x0=i>0?p[i-1]:d,v.x1=i<_?p[i]:h;for(i=0;i=n)for(r=n;++ir&&(r=n)}else for(;++i=n)for(r=n;++ir&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=e.length,u=r,o=-1,a=0;if(null==t)for(;++o=0;)for(t=(r=e[u]).length;--t>=0;)n[--o]=r[t];return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(n=e.length){var n,r,u=0,o=0,a=e[o];for(null==t&&(t=i.default);++u0&&(n=r-E),U<0?x=w-T:U>0&&(i=l-T),D=p,K.attr("cursor",m.selection),ne());break;default:return}(0,s.default)()},!0).on("keyup.brush",function(){switch(o.event.keyCode){case 16:Z&&(R=z=Z=!1,ne());break;case 18:D===v&&(L<0?c=g:L>0&&(n=r),U<0?x=w:U>0&&(i=l),D=_,ne());break;case 32:D===p&&(o.event.altKey?(L&&(c=g-E*L,n=r+E*L),U&&(x=w-T*U,i=l+T*U),D=v):(L<0?c=g:L>0&&(n=r),U<0?x=w:U>0&&(i=l),D=_),K.attr("cursor",m[I]),ne());break;default:return}(0,s.default)()},!0).on("mousemove.brush",te,!0).on("mouseup.brush",re,!0);(0,u.dragDisable)(o.event.view)}(0,f.nopropagation)(),(0,a.interrupt)(q),C.call(q),Q.start()}function te(){var e=(0,o.mouse)(q);!Z||R||z||(Math.abs(e[0]-G[0])>Math.abs(e[1]-G[1])?z=!0:R=!0),G=e,N=!0,(0,s.default)(),ne()}function ne(){var e;switch(E=G[0]-$[0],T=G[1]-$[1],D){case p:case h:L&&(E=Math.max(B-n,Math.min(V-c,E)),r=n+E,g=c+E),U&&(T=Math.max(X-i,Math.min(W-x,T)),l=i+T,w=x+T);break;case _:L<0?(E=Math.max(B-n,Math.min(V-n,E)),r=n+E,g=c):L>0&&(E=Math.max(B-c,Math.min(V-c,E)),r=n,g=c+E),U<0?(T=Math.max(X-i,Math.min(W-i,T)),l=i+T,w=x):U>0&&(T=Math.max(X-x,Math.min(W-x,T)),l=i,w=x+T);break;case v:L&&(r=Math.max(B,Math.min(V,n-E*L)),g=Math.max(B,Math.min(V,c+E*L))),U&&(l=Math.max(X,Math.min(W,i-T*U)),w=Math.max(X,Math.min(W,x+T*U)))}g=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),l=-1,c=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++l0)for(var n,r,u=new Array(n),i=0;iO}m.mouse("drag")}function E(){(0,u.select)(u.event.view).on("mousemove.drag mouseup.drag",null),(0,i.yesdrag)(u.event.view,n),(0,l.default)(),m.mouse("end")}function S(){if(v.apply(this,arguments)){var e,t,n=u.event.changedTouches,r=y.apply(this,arguments),i=n.length;for(e=0;e=j&&(j=O+1);!(P=m[j])&&++j=0;)(r=u[i])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=u);for(var n=this._groups,i=n.length,o=new Array(i),a=0;at?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this._groups,t=0,n=e.length;t1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]}},function(e,t,n){"use strict";function r(e){return e.trim().split(/^|\s+/)}function u(e){return e.classList||new i(e)}function i(e){this._node=e,this._names=r(e.getAttribute("class")||"")}function o(e,t){for(var n=u(e),r=-1,i=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}},function(e,t,n){"use strict";function r(){this.textContent=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent}},function(e,t,n){"use strict";function r(){this.innerHTML=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML}},function(e,t,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t="function"==typeof e?e:(0,i.default)(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})};var r,u=n(33),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n="function"==typeof e?e:(0,r.default)(e),i=null==t?o:"function"==typeof t?t:(0,u.default)(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})};var r=i(n(33)),u=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return null}},function(e,t,n){"use strict";function r(){var e=this.parentNode;e&&e.removeChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function u(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.select(e?u:r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.property("__data__",e):this.node().__data__}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return o(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return o(this,e,t)}})(e,t))};var r,u=n(55),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n){var r=(0,i.default)(e),u=r.CustomEvent;"function"==typeof u?u=new u(t,n):(u=r.document.createEvent("Event"),n?(u.initEvent(t,n.bubbles,n.cancelable),u.detail=n.detail):u.initEvent(t,!1,!1)),e.dispatchEvent(u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=0;function u(){return new i}function i(){this._="@"+(++r).toString(36)}i.prototype=u.prototype={constructor:i,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)();return t.changedTouches&&(t=t.changedTouches[0]),(0,u.default)(e,t)};var r=i(n(57)),u=i(n(34));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e?new r.Selection([document.querySelectorAll(e)],[document.documentElement]):new r.Selection([null==e?[]:e],r.root)};var r=n(4)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){arguments.length<3&&(n=t,t=(0,r.default)().changedTouches);for(var i,o=0,a=t?t.length:0;op?Math.pow(e,1/3):e/h+s}function g(e){return e>d?e*e*e:h*(e-s)}function m(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function M(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function P(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof O)return new O(e.h,e.c,e.l,e.opacity);e instanceof y||(e=_(e));var t=Math.atan2(e.b,e.a)*a.rad2deg;return new O(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new O(e,t,n,null==r?1:r)}function O(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}(0,i.default)(y,v,(0,u.extend)(o.Color,{brighter:function(e){return new y(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new y(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=c*g(e),t=l*g(t),n=f*g(n),new o.Rgb(m(3.2404542*t-1.5371385*e-.4985314*n),m(-.969266*t+1.8760108*e+.041556*n),m(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),(0,i.default)(O,P,(0,u.extend)(o.Color,{brighter:function(e){return new O(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new O(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return _(this).rgb()}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,t.Cubehelix=y;var r,u=n(60),i=(r=u)&&r.__esModule?r:{default:r},o=n(59),a=n(110);var l=-.14861,c=1.78277,f=-.29227,s=-.90649,d=1.97294,h=d*s,p=d*c,_=c*f-s*l;function v(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof y)return new y(e.h,e.s,e.l,e.opacity);e instanceof o.Rgb||(e=(0,o.rgbConvert)(e));var t=e.r/255,n=e.g/255,r=e.b/255,u=(_*r+h*t-p*n)/(_+h-p),i=r-u,l=(d*(n-u)-f*i)/s,c=Math.sqrt(l*l+i*i)/(d*u*(1-u)),v=c?Math.atan2(l,i)*a.rad2deg-120:NaN;return new y(v<0?v+360:v,c,u,e.opacity)}(e):new y(e,t,n,null==r?1:r)}function y(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,i.default)(y,v,(0,u.extend)(o.Color,{brighter:function(e){return e=null==e?o.brighter:Math.pow(o.brighter,e),new y(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?o.darker:Math.pow(o.darker,e),new y(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*a.deg2rad,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),u=Math.sin(e);return new o.Rgb(255*(t+n*(l*r+c*u)),255*(t+n*(f*r+s*u)),255*(t+n*(d*r)),this.opacity)}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateTransformSvg=t.interpolateTransformCss=void 0;var r,u=n(35),i=(r=u)&&r.__esModule?r:{default:r},o=n(239);function a(e,t,n,r){function u(e){return e.length?e.pop()+" ":""}return function(o,a){var l=[],c=[];return o=e(o),a=e(a),function(e,r,u,o,a,l){if(e!==u||r!==o){var c=a.push("translate(",null,t,null,n);l.push({i:c-4,x:(0,i.default)(e,u)},{i:c-2,x:(0,i.default)(r,o)})}else(u||o)&&a.push("translate("+u+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,l,c),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(u(n)+"rotate(",null,r)-2,x:(0,i.default)(e,t)})):t&&n.push(u(n)+"rotate("+t+r)}(o.rotate,a.rotate,l,c),function(e,t,n,o){e!==t?o.push({i:n.push(u(n)+"skewX(",null,r)-2,x:(0,i.default)(e,t)}):t&&n.push(u(n)+"skewX("+t+r)}(o.skewX,a.skewX,l,c),function(e,t,n,r,o,a){if(e!==n||t!==r){var l=o.push(u(o)+"scale(",null,",",null,")");a.push({i:l-4,x:(0,i.default)(e,n)},{i:l-2,x:(0,i.default)(t,r)})}else 1===n&&1===r||o.push(u(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,l,c),o=a=null,function(e){for(var t,n=-1,r=c.length;++n=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?r.init:r.set;return function(){var r=o(this,e),a=r.on;a!==u&&(i=(u=a).copy()).on(t,n),r.on=i}}(n,e,t))};var r=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=(0,u.selector)(e));for(var r=this._groups,l=r.length,c=new Array(l),f=0;fu.SCHEDULED&&n.name===t)return new r.Transition([[e]],i,t,+o);return null};var r=n(10),u=n(6),i=[null]},function(e,t,n){"use strict";var r=n(1),u=o(n(267)),i=o(n(268));function o(e){return e&&e.__esModule?e:{default:e}}r.selection.prototype.interrupt=u.default,r.selection.prototype.transition=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.each(function(){(0,i.default)(this,e)})};var r,u=n(119),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;e instanceof u.Transition?(t=e._id,e=e._name):(t=(0,u.newId)(),(n=c).time=(0,l.now)(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a1e-6)if(Math.abs(s*l-c*f)>1e-6&&i){var h=n-o,p=u-a,_=l*l+c*c,v=h*h+p*p,y=Math.sqrt(_),b=Math.sqrt(d),g=i*Math.tan((r-Math.acos((_+d-v)/(2*y*b)))/2),m=g/b,M=g/y;Math.abs(m-1)>1e-6&&(this._+="L"+(e+m*f)+","+(t+m*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>f*p)+","+(this._x1=e+M*l)+","+(this._y1=t+M*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,a,l){e=+e,t=+t;var c=(n=+n)*Math.cos(o),f=n*Math.sin(o),s=e+c,d=t+f,h=1^l,p=l?o-a:a-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+d:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+s+","+d),n&&(p<0&&(p=p%u+u),p>i?this._+="A"+n+","+n+",0,1,"+h+","+(e-c)+","+(t-f)+"A"+n+","+n+",0,1,"+h+","+(this._x1=s)+","+(this._y1=d):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+h+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n,r=[],u=[];function f(n,u,o,a){if(u>=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,c,s,d=-1,h=n.length,p=r[u++],_=(0,i.default)(),v=o();++dr.length)return n;var o,a=u[i-1];return null!=t&&i>=r.length?o=n.entries():(o=[],n.each(function(t,n){o.push({key:n,values:e(t,i)})})),null!=a?o.sort(function(e,t){return a(e.key,t.key)}):o}(f(e,0,l,c),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return u[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}};var r,u=n(64),i=(r=u)&&r.__esModule?r:{default:r};function o(){return{}}function a(e,t,n){e[t]=n}function l(){return(0,i.default)()}function c(e,t,n){e.set(t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(64);function i(){}var o=((r=u)&&r.__esModule?r:{default:r}).default.prototype;function a(e,t){var n=new i;if(e instanceof i)e.each(function(e){n.add(e)});else if(e){var r=-1,u=e.length;if(null==t)for(;++rd+c||rh+c||if.index){var s=d-a.x-a.vx,v=h-a.y-a.vy,y=s*s+v*v;ye.r&&(e.r=e[t].r)}function d(){if(t){var r,u,i=t.length;for(n=new Array(i),r=0;r=(i=(_+y)/2))?_=i:y=i,(f=n>=(o=(v+b)/2))?v=o:b=o,u=h,!(h=h[s=f<<1|c]))return u[s]=p,e;if(a=+e._x.call(null,h.data),l=+e._y.call(null,h.data),t===a&&n===l)return p.next=h,u?u[s]=p:e._root=p,e;do{u=u?u[s]=new Array(4):e._root=new Array(4),(c=t>=(i=(_+y)/2))?_=i:y=i,(f=n>=(o=(v+b)/2))?v=o:b=o}while((s=f<<1|c)==(d=(l>=o)<<1|a>=i));return u[d]=h,u[s]=p,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return r(this.cover(t,n),t,n,e)},t.addAll=function(e){var t,n,u,i,o=e.length,a=new Array(o),l=new Array(o),c=1/0,f=1/0,s=-1/0,d=-1/0;for(n=0;ns&&(s=u),id&&(d=i));se||e>u||r>t||t>i))return this;var o,a,l=u-n,c=this._root;switch(a=(t<(r+i)/2)<<1|e<(n+u)/2){case 0:do{(o=new Array(4))[a]=c,c=o}while(i=r+(l*=2),e>(u=n+l)||t>i);break;case 1:do{(o=new Array(4))[a]=c,c=o}while(i=r+(l*=2),(n=u-l)>e||t>i);break;case 2:do{(o=new Array(4))[a]=c,c=o}while(r=i-(l*=2),e>(u=n+l)||r>t);break;case 3:do{(o=new Array(4))[a]=c,c=o}while(r=i-(l*=2),(n=u-l)>e||r>t)}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=u,this._y1=i,this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,u,o,a,l,c,f,s=this._x0,d=this._y0,h=this._x1,p=this._y1,_=[],v=this._root;for(v&&_.push(new i.default(v,s,d,h,p)),null==n?n=1/0:(s=e-n,d=t-n,h=e+n,p=t+n,n*=n);c=_.pop();)if(!(!(v=c.node)||(u=c.x0)>h||(o=c.y0)>p||(a=c.x1)=b)<<1|e>=y)&&(c=_[_.length-1],_[_.length-1]=_[_.length-1-f],_[_.length-1-f]=c)}else{var g=e-+this._x.call(null,v.data),m=t-+this._y.call(null,v.data),M=g*g+m*m;if(M=(a=(p+v)/2))?p=a:v=a,(f=o>=(l=(_+y)/2))?_=l:y=l,t=h,!(h=h[s=f<<1|c]))return this;if(!h.length)break;(t[s+1&3]||t[s+2&3]||t[s+3&3])&&(n=t,d=s)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(u=h.next)&&delete h.next,r?(u?r.next=u:delete r.next,this):t?(u?t[s]=u:delete t[s],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=u,this)},t.removeAll=function(e){for(var t=0,n=e.length;t=f)){(e.data!==t||e.next)&&(0===l&&(p+=(l=(0,u.default)())*l),0===d&&(p+=(d=(0,u.default)())*d),p0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),i.push(n.substring(u-=a,u+a)),!((l+=a+1)>r));)a=e[o=(o+1)%e.length];return i.reverse().join(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e:for(var n,r=(e=e.toPrecision(t)).length,u=1,i=-1;u0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e,t);if(!n)return e+"";var r=n[0],u=n[1];return u<0?"0."+new Array(-u).join("0")+r:r.length>u+1?r.slice(0,u+1)+"."+r.slice(u+1):r+new Array(u-r.length+2).join("0")};var r,u=n(71),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max(0,-(0,i.default)(Math.abs(e)))};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,i.default)(t)/3)))-(0,i.default)(Math.abs(e)))};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,i.default)(t)-(0,i.default)(e))+1};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(127);Object.defineProperty(t,"geoArea",{enumerable:!0,get:function(){return q(r).default}});var u=n(326);Object.defineProperty(t,"geoBounds",{enumerable:!0,get:function(){return q(u).default}});var i=n(327);Object.defineProperty(t,"geoCentroid",{enumerable:!0,get:function(){return q(i).default}});var o=n(128);Object.defineProperty(t,"geoCircle",{enumerable:!0,get:function(){return q(o).default}});var a=n(130);Object.defineProperty(t,"geoClipAntimeridian",{enumerable:!0,get:function(){return q(a).default}});var l=n(136);Object.defineProperty(t,"geoClipCircle",{enumerable:!0,get:function(){return q(l).default}});var c=n(329);Object.defineProperty(t,"geoClipExtent",{enumerable:!0,get:function(){return q(c).default}});var f=n(40);Object.defineProperty(t,"geoClipRectangle",{enumerable:!0,get:function(){return q(f).default}});var s=n(331);Object.defineProperty(t,"geoContains",{enumerable:!0,get:function(){return q(s).default}});var d=n(137);Object.defineProperty(t,"geoDistance",{enumerable:!0,get:function(){return q(d).default}});var h=n(332);Object.defineProperty(t,"geoGraticule",{enumerable:!0,get:function(){return q(h).default}}),Object.defineProperty(t,"geoGraticule10",{enumerable:!0,get:function(){return h.graticule10}});var p=n(333);Object.defineProperty(t,"geoInterpolate",{enumerable:!0,get:function(){return q(p).default}});var _=n(138);Object.defineProperty(t,"geoLength",{enumerable:!0,get:function(){return q(_).default}});var v=n(334);Object.defineProperty(t,"geoPath",{enumerable:!0,get:function(){return q(v).default}});var y=n(140);Object.defineProperty(t,"geoAlbers",{enumerable:!0,get:function(){return q(y).default}});var b=n(342);Object.defineProperty(t,"geoAlbersUsa",{enumerable:!0,get:function(){return q(b).default}});var g=n(343);Object.defineProperty(t,"geoAzimuthalEqualArea",{enumerable:!0,get:function(){return q(g).default}}),Object.defineProperty(t,"geoAzimuthalEqualAreaRaw",{enumerable:!0,get:function(){return g.azimuthalEqualAreaRaw}});var m=n(344);Object.defineProperty(t,"geoAzimuthalEquidistant",{enumerable:!0,get:function(){return q(m).default}}),Object.defineProperty(t,"geoAzimuthalEquidistantRaw",{enumerable:!0,get:function(){return m.azimuthalEquidistantRaw}});var M=n(345);Object.defineProperty(t,"geoConicConformal",{enumerable:!0,get:function(){return q(M).default}}),Object.defineProperty(t,"geoConicConformalRaw",{enumerable:!0,get:function(){return M.conicConformalRaw}});var P=n(73);Object.defineProperty(t,"geoConicEqualArea",{enumerable:!0,get:function(){return q(P).default}}),Object.defineProperty(t,"geoConicEqualAreaRaw",{enumerable:!0,get:function(){return P.conicEqualAreaRaw}});var O=n(346);Object.defineProperty(t,"geoConicEquidistant",{enumerable:!0,get:function(){return q(O).default}}),Object.defineProperty(t,"geoConicEquidistantRaw",{enumerable:!0,get:function(){return O.conicEquidistantRaw}});var j=n(141);Object.defineProperty(t,"geoEquirectangular",{enumerable:!0,get:function(){return q(j).default}}),Object.defineProperty(t,"geoEquirectangularRaw",{enumerable:!0,get:function(){return j.equirectangularRaw}});var x=n(347);Object.defineProperty(t,"geoGnomonic",{enumerable:!0,get:function(){return q(x).default}}),Object.defineProperty(t,"geoGnomonicRaw",{enumerable:!0,get:function(){return x.gnomonicRaw}});var w=n(348);Object.defineProperty(t,"geoIdentity",{enumerable:!0,get:function(){return q(w).default}});var E=n(8);Object.defineProperty(t,"geoProjection",{enumerable:!0,get:function(){return q(E).default}}),Object.defineProperty(t,"geoProjectionMutator",{enumerable:!0,get:function(){return E.projectionMutator}});var S=n(76);Object.defineProperty(t,"geoMercator",{enumerable:!0,get:function(){return q(S).default}}),Object.defineProperty(t,"geoMercatorRaw",{enumerable:!0,get:function(){return S.mercatorRaw}});var k=n(349);Object.defineProperty(t,"geoNaturalEarth1",{enumerable:!0,get:function(){return q(k).default}}),Object.defineProperty(t,"geoNaturalEarth1Raw",{enumerable:!0,get:function(){return k.naturalEarth1Raw}});var T=n(350);Object.defineProperty(t,"geoOrthographic",{enumerable:!0,get:function(){return q(T).default}}),Object.defineProperty(t,"geoOrthographicRaw",{enumerable:!0,get:function(){return T.orthographicRaw}});var N=n(351);Object.defineProperty(t,"geoStereographic",{enumerable:!0,get:function(){return q(N).default}}),Object.defineProperty(t,"geoStereographicRaw",{enumerable:!0,get:function(){return N.stereographicRaw}});var C=n(352);Object.defineProperty(t,"geoTransverseMercator",{enumerable:!0,get:function(){return q(C).default}}),Object.defineProperty(t,"geoTransverseMercatorRaw",{enumerable:!0,get:function(){return C.transverseMercatorRaw}});var A=n(39);Object.defineProperty(t,"geoRotation",{enumerable:!0,get:function(){return q(A).default}});var R=n(14);Object.defineProperty(t,"geoStream",{enumerable:!0,get:function(){return q(R).default}});var z=n(41);function q(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"geoTransform",{enumerable:!0,get:function(){return q(z).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,u,i,o,l;if(d=s=-(c=f=1/0),y=[],(0,a.default)(e,m),n=y.length){for(y.sort(k),t=1,i=[r=y[0]];tS(r[0],r[1])&&(r[1]=u[1]),S(u[0],r[1])>S(r[0],r[1])&&(r[0]=u[0])):i.push(r=u);for(o=-1/0,t=0,r=i[n=i.length-1];t<=n;r=u,++t)u=i[t],(l=S(r[1],u[0]))>o&&(o=l,c=u[0],s=r[1])}return y=b=null,c===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,f],[s,d]]};var r=l(n(19)),u=n(127),i=n(24),o=n(0),a=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}var c,f,s,d,h,p,_,v,y,b,g=(0,r.default)(),m={point:M,lineStart:O,lineEnd:j,polygonStart:function(){m.point=x,m.lineStart=w,m.lineEnd=E,g.reset(),u.areaStream.polygonStart()},polygonEnd:function(){u.areaStream.polygonEnd(),m.point=M,m.lineStart=O,m.lineEnd=j,u.areaRingSum<0?(c=-(s=180),f=-(d=90)):g>o.epsilon?d=90:g<-o.epsilon&&(f=-90),b[0]=c,b[1]=s}};function M(e,t){y.push(b=[c=e,s=e]),td&&(d=t)}function P(e,t){var n=(0,i.cartesian)([e*o.radians,t*o.radians]);if(v){var r=(0,i.cartesianCross)(v,n),u=[r[1],-r[0],0],a=(0,i.cartesianCross)(u,r);(0,i.cartesianNormalizeInPlace)(a),a=(0,i.spherical)(a);var l,p=e-h,_=p>0?1:-1,g=a[0]*o.degrees*_,m=(0,o.abs)(p)>180;m^(_*hd&&(d=l):m^(_*h<(g=(g+360)%360-180)&&g<_*e)?(l=-a[1]*o.degrees)d&&(d=t)),m?eS(c,s)&&(s=e):S(e,s)>S(c,s)&&(c=e):s>=c?(es&&(s=e)):e>h?S(c,e)>S(c,s)&&(s=e):S(e,s)>S(c,s)&&(c=e)}else y.push(b=[c=e,s=e]);td&&(d=t),v=n,h=e}function O(){m.point=P}function j(){b[0]=c,b[1]=s,m.point=M,v=null}function x(e,t){if(v){var n=e-h;g.add((0,o.abs)(n)>180?n+(n>0?360:-360):n)}else p=e,_=t;u.areaStream.point(e,t),P(e,t)}function w(){u.areaStream.lineStart()}function E(){x(p,_),u.areaStream.lineEnd(),(0,o.abs)(g)>o.epsilon&&(c=-(s=180)),b[0]=c,b[1]=s,v=null}function S(e,t){return(t-=e)<0?t+360:t}function k(e,t){return e[0]-t[0]}function T(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t0)){if(o/=s,s<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=u-a,s||!(o<0)){if(o/=s,s<0){if(o>f)return;o>c&&(c=o)}else if(s>0){if(o0)){if(o/=d,d<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=i-l,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>c&&(c=o)}else if(d>0){if(o0&&(e[0]=a+c*s,e[1]=l+c*d),f<1&&(t[0]=a+f*s,t[1]=l+f*d),!0}}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e&&a.hasOwnProperty(e.type)?a[e.type]:c)(e,t)};var r=o(n(135)),u=o(n(137)),i=n(0);function o(e){return e&&e.__esModule?e:{default:e}}var a={Feature:function(e,t){return c(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,u=n.length;++ru.epsilon}).map(d)).concat((0,r.range)((0,u.ceil)(c/y)*y,l,y).filter(function(e){return(0,u.abs)(e%g)>u.epsilon}).map(h))}return M.lines=function(){return P().map(function(e){return{type:"LineString",coordinates:e}})},M.outline=function(){return{type:"Polygon",coordinates:[p(a).concat(_(f).slice(1),p(n).reverse().slice(1),_(s).reverse().slice(1))]}},M.extent=function(e){return arguments.length?M.extentMajor(e).extentMinor(e):M.extentMinor()},M.extentMajor=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],s=+e[0][1],f=+e[1][1],a>n&&(e=a,a=n,n=e),s>f&&(e=s,s=f,f=e),M.precision(m)):[[a,s],[n,f]]},M.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],c=+n[0][1],l=+n[1][1],t>e&&(n=t,t=e,e=n),c>l&&(n=c,c=l,l=n),M.precision(m)):[[t,c],[e,l]]},M.step=function(e){return arguments.length?M.stepMajor(e).stepMinor(e):M.stepMinor()},M.stepMajor=function(e){return arguments.length?(b=+e[0],g=+e[1],M):[b,g]},M.stepMinor=function(e){return arguments.length?(v=+e[0],y=+e[1],M):[v,y]},M.precision=function(r){return arguments.length?(m=+r,d=i(c,l,90),h=o(t,e,m),p=i(s,f,90),_=o(a,n,m),M):m},M.extentMajor([[-180,-90+u.epsilon],[180,90-u.epsilon]]).extentMinor([[-180,-80-u.epsilon],[180,80+u.epsilon]])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e[0]*r.radians,u=e[1]*r.radians,i=t[0]*r.radians,o=t[1]*r.radians,a=(0,r.cos)(u),l=(0,r.sin)(u),c=(0,r.cos)(o),f=(0,r.sin)(o),s=a*(0,r.cos)(n),d=a*(0,r.sin)(n),h=c*(0,r.cos)(i),p=c*(0,r.sin)(i),_=2*(0,r.asin)((0,r.sqrt)((0,r.haversin)(o-u)+a*c*(0,r.haversin)(i-n))),v=(0,r.sin)(_),y=_?function(e){var t=(0,r.sin)(e*=_)/v,n=(0,r.sin)(_-e)/v,u=n*s+t*h,i=n*d+t*p,o=n*l+t*f;return[(0,r.atan2)(i,u)*r.degrees,(0,r.atan2)(o,(0,r.sqrt)(u*u+i*i))*r.degrees]}:function(){return[n*r.degrees,u*r.degrees]};return y.distance=_,y};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,s,d=4.5;function h(e){return e&&("function"==typeof d&&s.pointRadius(+d.apply(this,arguments)),(0,u.default)(e,n(s))),s.result()}return h.area=function(e){return(0,u.default)(e,n(i.default)),i.default.result()},h.measure=function(e){return(0,u.default)(e,n(c.default)),c.default.result()},h.bounds=function(e){return(0,u.default)(e,n(o.default)),o.default.result()},h.centroid=function(e){return(0,u.default)(e,n(a.default)),a.default.result()},h.projection=function(t){return arguments.length?(n=null==t?(e=null,r.default):(e=t).stream,h):e},h.context=function(e){return arguments.length?(s=null==e?(t=null,new f.default):new l.default(t=e),"function"!=typeof d&&s.pointRadius(d),h):t},h.pointRadius=function(e){return arguments.length?(d="function"==typeof e?e:(s.pointRadius(+e),+e),h):d},h.projection(e).context(t)};var r=s(n(72)),u=s(n(14)),i=s(n(335)),o=s(n(139)),a=s(n(336)),l=s(n(337)),c=s(n(338)),f=s(n(339));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(19)),u=n(0),i=o(n(11));function o(e){return e&&e.__esModule?e:{default:e}}var a,l,c,f,s=(0,r.default)(),d=(0,r.default)(),h={point:i.default,lineStart:i.default,lineEnd:i.default,polygonStart:function(){h.lineStart=p,h.lineEnd=y},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=i.default,s.add((0,u.abs)(d)),d.reset()},result:function(){var e=s/2;return s.reset(),e}};function p(){h.point=_}function _(e,t){h.point=v,a=c=e,l=f=t}function v(e,t){d.add(f*e-c*t),c=e,f=t}function y(){v(a,l)}t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u,i,o,a=n(0),l=0,c=0,f=0,s=0,d=0,h=0,p=0,_=0,v=0,y={point:b,lineStart:g,lineEnd:P,polygonStart:function(){y.lineStart=O,y.lineEnd=j},polygonEnd:function(){y.point=b,y.lineStart=g,y.lineEnd=P},result:function(){var e=v?[p/v,_/v]:h?[s/h,d/h]:f?[l/f,c/f]:[NaN,NaN];return l=c=f=s=d=h=p=_=v=0,e}};function b(e,t){l+=e,c+=t,++f}function g(){y.point=m}function m(e,t){y.point=M,b(i=e,o=t)}function M(e,t){var n=e-i,r=t-o,u=(0,a.sqrt)(n*n+r*r);s+=u*(i+e)/2,d+=u*(o+t)/2,h+=u,b(i=e,o=t)}function P(){y.point=b}function O(){y.point=x}function j(){w(r,u)}function x(e,t){y.point=w,b(r=i=e,u=o=t)}function w(e,t){var n=e-i,r=t-o,u=(0,a.sqrt)(n*n+r*r);s+=u*(i+e)/2,d+=u*(o+t)/2,h+=u,p+=(u=o*e-i*t)*(i+e),_+=u*(o+t),v+=3*u,b(i=e,o=t)}t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,u=n(0),i=n(11),o=(r=i)&&r.__esModule?r:{default:r};function a(e){this._context=e}a.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,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(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,u.tau)}},result:o.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(19)),u=n(0),i=o(n(11));function o(e){return e&&e.__esModule?e:{default:e}}var a,l,c,f,s,d=(0,r.default)(),h={point:i.default,lineStart:function(){h.point=p},lineEnd:function(){a&&_(l,c),h.point=i.default},polygonStart:function(){a=!0},polygonEnd:function(){a=null},result:function(){var e=+d;return d.reset(),e}};function p(e,t){h.point=_,l=f=e,c=s=t}function _(e,t){f-=e,s-=t,d.add((0,u.sqrt)(f*f+s*s)),f=e,s=t}t.default=h},function(e,t,n){"use strict";function r(){this._string=[]}function u(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={_radius:4.5,_circle:u(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,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(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=u(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return+t?function(e,t){function n(r,i,o,l,c,f,s,d,h,p,_,v,y,b){var g=s-r,m=d-i,M=g*g+m*m;if(M>4*t&&y--){var P=l+p,O=c+_,j=f+v,x=(0,u.sqrt)(P*P+O*O+j*j),w=(0,u.asin)(j/=x),E=(0,u.abs)((0,u.abs)(j)-1)t||(0,u.abs)((g*N+m*C)/M-.5)>.3||l*p+c*_+f*v=.12&&u<.234&&r>=-.425&&r<-.214?s:u>=.166&&u<.234&&r>=-.214&&r<-.115?d:f).invert(e)},p.stream=function(n){return e&&t===n?e:(r=[f.stream(t=n),s.stream(n),d.stream(n)],u=r.length,e={point:function(e,t){for(var n=-1;++n0?t<-r.halfPi+r.epsilon&&(t=-r.halfPi+r.epsilon):t>r.halfPi-r.epsilon&&(t=r.halfPi-r.epsilon);var n=a/(0,r.pow)(o(t),u);return[n*(0,r.sin)(u*e),a-n*(0,r.cos)(u*e)]}return l.invert=function(e,t){var n=a-t,i=(0,r.sign)(u)*(0,r.sqrt)(e*e+n*n);return[(0,r.atan2)(e,(0,r.abs)(n))/u*(0,r.sign)(n),2*(0,r.atan)((0,r.pow)(a/i,1/u))-r.halfPi]},l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEquidistantRaw=o,t.default=function(){return(0,u.conicProjection)(o).scale(131.154).center([0,13.9389])};var r=n(0),u=n(74),i=n(141);function o(e,t){var n=(0,r.cos)(e),u=e===t?(0,r.sin)(e):(n-(0,r.cos)(t))/(t-e),o=n/u+e;if((0,r.abs)(u)o.epsilon&&--u>0);return[e/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orthographicRaw=l,t.default=function(){return(0,a.default)(l).scale(249.5).clipAngle(90+u.epsilon)};var r,u=n(0),i=n(25),o=n(8),a=(r=o)&&r.__esModule?r:{default:r};function l(e,t){return[(0,u.cos)(t)*(0,u.sin)(e),(0,u.sin)(t)]}l.invert=(0,i.azimuthalInvert)(u.asin)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stereographicRaw=l,t.default=function(){return(0,a.default)(l).scale(250).clipAngle(142)};var r,u=n(0),i=n(25),o=n(8),a=(r=o)&&r.__esModule?r:{default:r};function l(e,t){var n=(0,u.cos)(t),r=1+(0,u.cos)(e)*n;return[n*(0,u.sin)(e)/r,(0,u.sin)(t)/r]}l.invert=(0,i.azimuthalInvert)(function(e){return 2*(0,u.atan)(e)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transverseMercatorRaw=i,t.default=function(){var e=(0,u.mercatorProjection)(i),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)};var r=n(0),u=n(76);function i(e,t){return[(0,r.log)((0,r.tan)((r.halfPi+t)/2)),-e]}i.invert=function(e,t){return[-t,2*(0,r.atan)((0,r.exp)(e))-r.halfPi]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(354);Object.defineProperty(t,"cluster",{enumerable:!0,get:function(){return b(r).default}});var u=n(77);Object.defineProperty(t,"hierarchy",{enumerable:!0,get:function(){return b(u).default}});var i=n(366);Object.defineProperty(t,"pack",{enumerable:!0,get:function(){return b(i).default}});var o=n(142);Object.defineProperty(t,"packSiblings",{enumerable:!0,get:function(){return b(o).default}});var a=n(143);Object.defineProperty(t,"packEnclose",{enumerable:!0,get:function(){return b(a).default}});var l=n(368);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return b(l).default}});var c=n(369);Object.defineProperty(t,"stratify",{enumerable:!0,get:function(){return b(c).default}});var f=n(370);Object.defineProperty(t,"tree",{enumerable:!0,get:function(){return b(f).default}});var s=n(371);Object.defineProperty(t,"treemap",{enumerable:!0,get:function(){return b(s).default}});var d=n(372);Object.defineProperty(t,"treemapBinary",{enumerable:!0,get:function(){return b(d).default}});var h=n(26);Object.defineProperty(t,"treemapDice",{enumerable:!0,get:function(){return b(h).default}});var p=n(42);Object.defineProperty(t,"treemapSlice",{enumerable:!0,get:function(){return b(p).default}});var _=n(373);Object.defineProperty(t,"treemapSliceDice",{enumerable:!0,get:function(){return b(_).default}});var v=n(79);Object.defineProperty(t,"treemapSquarify",{enumerable:!0,get:function(){return b(v).default}});var y=n(374);function b(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"treemapResquarify",{enumerable:!0,get:function(){return b(y).default}})},function(e,t,n){"use strict";function r(e,t){return e.parent===t.parent?1:2}function u(e,t){return e+t.x}function i(e,t){return Math.max(e,t.y)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r,t=1,n=1,o=!1;function a(r){var a,l=0;r.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(u,0)/e.length}(n),t.y=function(e){return 1+e.reduce(i,0)}(n)):(t.x=a?l+=e(t,a):0,t.y=0,a=t)});var c=function(e){var t;for(;t=e.children;)e=t[0];return e}(r),f=function(e){var t;for(;t=e.children;)e=t[t.length-1];return e}(r),s=c.x-e(c,f)/2,d=f.x+e(f,c)/2;return r.eachAfter(o?function(e){e.x=(e.x-r.x)*t,e.y=(r.y-e.y)*n}:function(e){e.x=(e.x-s)/(d-s)*t,e.y=(1-(r.y?e.y/r.y:1))*n})}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(o=!1,t=+e[0],n=+e[1],a):o?null:[t,n]},a.nodeSize=function(e){return arguments.length?(o=!0,t=+e[0],n=+e[1],a):o?[t,n]:null},a}},function(e,t,n){"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.eachAfter(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,u,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),n=i.children)for(r=0,u=n.length;r=0;--n)u.push(t[n]);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r,u=this,i=[u],o=[];u=i.pop();)if(o.push(u),t=u.children)for(n=0,r=t.length;n=0;)n+=r[u].value;t.value=n})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),u=null;e=n.pop(),t=r.pop();for(;e===t;)u=e,e=n.pop(),t=r.pop();return u}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var u=r.length;e!==n;)r.splice(u,0,e),e=e.parent;return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.each(function(t){e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null,t=1,n=1,r=o.constantZero;function u(u){return u.x=t/2,u.y=n/2,e?u.eachBefore(c(e)).eachAfter(f(r,.5)).eachBefore(s(1)):u.eachBefore(c(l)).eachAfter(f(o.constantZero,1)).eachAfter(f(r,u.r/Math.min(t,n))).eachBefore(s(Math.min(t,n)/(2*u.r))),u}return u.radius=function(t){return arguments.length?(e=(0,i.optional)(t),u):e},u.size=function(e){return arguments.length?(t=+e[0],n=+e[1],u):[t,n]},u.padding=function(e){return arguments.length?(r="function"==typeof e?e:(0,a.default)(+e),u):r},u};var r,u=n(142),i=n(78),o=n(144),a=(r=o)&&r.__esModule?r:{default:r};function l(e){return Math.sqrt(e.value)}function c(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function f(e,t){return function(n){if(r=n.children){var r,i,o,a=r.length,l=e(n)*t||0;if(l)for(i=0;i0)throw new Error("cycle");return c}return n.id=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n.parentId=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n};var r=n(78),u=n(77),i="$",o={depth:-1},a={};function l(e){return e.id}function c(e){return e.parentId}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u,t=1,n=1,r=null;function f(u){var i=function(e){var t,n,r,u,i,o=new c(e,0),a=[o];for(;t=a.pop();)if(r=t._.children)for(t.children=new Array(i=r.length),u=i-1;u>=0;--u)a.push(n=t.children[u]=new c(r[u],u)),n.parent=t;return(o.parent=new c(null,0)).children=[o],o}(u);if(i.eachAfter(s),i.parent.m=-i.z,i.eachBefore(d),r)u.eachBefore(h);else{var o=u,a=u,l=u;u.eachBefore(function(e){e.xa.x&&(a=e),e.depth>l.depth&&(l=e)});var f=o===a?1:e(o,a)/2,p=f-o.x,_=t/(a.x+f+p),v=n/(l.depth||1);u.eachBefore(function(e){e.x=(e.x+p)*_,e.y=e.depth*v})}return u}function s(t){var n=t.children,r=t.parent.children,u=t.i?r[t.i-1]:null;if(n){!function(e){var t,n=0,r=0,u=e.children,i=u.length;for(;--i>=0;)(t=u[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var c=(n[0].z+n[n.length-1].z)/2;u?(t.z=u.z+e(t._,u._),t.m=t.z-c):t.z=c}else u&&(t.z=u.z+e(t._,u._));t.parent.A=function(t,n,r){if(n){for(var u,c=t,f=t,s=n,d=c.parent.children[0],h=c.m,p=f.m,_=s.m,v=d.m;s=o(s),c=i(c),s&&c;)d=i(d),(f=o(f)).a=t,(u=s.z+_-c.z-h+e(s._,c._))>0&&(a(l(s,t,r),t,u),h+=u,p+=u),_+=s.m,h+=c.m,v+=d.m,p+=f.m;s&&!o(f)&&(f.t=s,f.m+=_-p),c&&!i(d)&&(d.t=c,d.m+=h-v,r=t)}return r}(t,u,t.parent.A||r[0])}function d(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function h(e){e.x*=t,e.y=e.depth*n}return f.separation=function(t){return arguments.length?(e=t,f):e},f.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],f):r?null:[t,n]},f.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],f):r?[t,n]:null},f};var r=n(77);function u(e,t){return e.parent===t.parent?1:2}function i(e){var t=e.children;return t?t[0]:e.t}function o(e){var t=e.children;return t?t[t.length-1]:e.t}function a(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function l(e,t,n){return e.a.parent===t.parent?e.a:n}function c(e,t){this._=e,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=t}c.prototype=Object.create(r.Node.prototype)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u.default,t=!1,n=1,l=1,c=[0],f=o.constantZero,s=o.constantZero,d=o.constantZero,h=o.constantZero,p=o.constantZero;function _(e){return e.x0=e.y0=0,e.x1=n,e.y1=l,e.eachBefore(v),c=[0],t&&e.eachBefore(r.default),e}function v(t){var n=c[t.depth],r=t.x0+n,u=t.y0+n,i=t.x1-n,o=t.y1-n;i=n-1){var f=a[t];return f.x0=u,f.y0=i,f.x1=o,void(f.y1=l)}var s=c[t],d=r/2+s,h=t+1,p=n-1;for(;h>>1;c[_]l-i){var b=(u*y+o*v)/r;e(t,h,v,u,i,b,l),e(h,n,y,b,i,o,l)}else{var g=(i*y+l*v)/r;e(t,h,v,u,i,o,g),e(h,n,y,u,g,o,l)}}(0,l,e.value,t,n,r,u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i,o){(1&e.depth?u.default:r.default)(e,t,n,i,o)};var r=i(n(26)),u=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(26)),u=o(n(42)),i=n(79);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e,n,o,a,l){if((c=e._squarify)&&c.ratio===t)for(var c,f,s,d,h,p=-1,_=c.length,v=e.value;++p<_;){for(s=(f=c[p]).children,d=f.value=0,h=s.length;d1?t:1)},n}(i.phi)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(376);Object.defineProperty(t,"polygonArea",{enumerable:!0,get:function(){return l(r).default}});var u=n(377);Object.defineProperty(t,"polygonCentroid",{enumerable:!0,get:function(){return l(u).default}});var i=n(378);Object.defineProperty(t,"polygonHull",{enumerable:!0,get:function(){return l(i).default}});var o=n(380);Object.defineProperty(t,"polygonContains",{enumerable:!0,get:function(){return l(o).default}});var a=n(381);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"polygonLength",{enumerable:!0,get:function(){return l(a).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n=-1,r=e.length,u=e[r-1],i=0;++n=0;--t)s.push(e[r[i[t]][2]]);for(t=+c;t1&&(0,i.default)(e[n[r-2]],e[n[r-1]],e[u])<=0;)--r;n[r++]=u}return n.slice(0,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n,r,u=e.length,i=e[u-1],o=t[0],a=t[1],l=i[0],c=i[1],f=!1,s=0;sa!=c>a&&o<(l-n)*(a-r)/(c-r)+n&&(f=!f),l=n,c=r;return f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r=-1,u=e.length,i=e[u-1],o=i[0],a=i[1],l=0;++r=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(t){}e._active=NaN,c(e)}function c(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function f(e){if(null==e)e=1/0;else if(!((e=+e)>=1))throw new Error("invalid concurrency");return new i(e)}i.prototype=f.prototype={constructor:i,defer:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var t=r.slice.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),o(this),this},abort:function(){return null==this._error&&l(this,new Error("abort")),this},await:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(t,n){e.apply(null,[t].concat(n))},c(this),this},awaitAll:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=e,c(this),this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=[].slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(386);Object.defineProperty(t,"randomUniform",{enumerable:!0,get:function(){return c(r).default}});var u=n(146);Object.defineProperty(t,"randomNormal",{enumerable:!0,get:function(){return c(u).default}});var i=n(387);Object.defineProperty(t,"randomLogNormal",{enumerable:!0,get:function(){return c(i).default}});var o=n(388);Object.defineProperty(t,"randomBates",{enumerable:!0,get:function(){return c(o).default}});var a=n(147);Object.defineProperty(t,"randomIrwinHall",{enumerable:!0,get:function(){return c(a).default}});var l=n(389);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"randomExponential",{enumerable:!0,get:function(){return c(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(20)),u=i(n(146));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(){var e=u.default.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(20)),u=i(n(147));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e){var n=u.default.source(t)(e);return function(){return n()/e}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"request",{enumerable:!0,get:function(){return f(r).default}});var u=n(391);Object.defineProperty(t,"html",{enumerable:!0,get:function(){return f(u).default}});var i=n(392);Object.defineProperty(t,"json",{enumerable:!0,get:function(){return f(i).default}});var o=n(393);Object.defineProperty(t,"text",{enumerable:!0,get:function(){return f(o).default}});var a=n(394);Object.defineProperty(t,"xml",{enumerable:!0,get:function(){return f(a).default}});var l=n(395);Object.defineProperty(t,"csv",{enumerable:!0,get:function(){return f(l).default}});var c=n(396);function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"tsv",{enumerable:!0,get:function(){return f(c).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("application/json",function(e){return JSON.parse(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("text/plain",function(e){return e.responseText})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(65),i=n(148),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/csv",u.csvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(65),i=n(148),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/tab-separated-values",u.tsvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(398);Object.defineProperty(t,"scaleBand",{enumerable:!0,get:function(){return P(r).default}}),Object.defineProperty(t,"scalePoint",{enumerable:!0,get:function(){return r.point}});var u=n(399);Object.defineProperty(t,"scaleIdentity",{enumerable:!0,get:function(){return P(u).default}});var i=n(27);Object.defineProperty(t,"scaleLinear",{enumerable:!0,get:function(){return P(i).default}});var o=n(401);Object.defineProperty(t,"scaleLog",{enumerable:!0,get:function(){return P(o).default}});var a=n(149);Object.defineProperty(t,"scaleOrdinal",{enumerable:!0,get:function(){return P(a).default}}),Object.defineProperty(t,"scaleImplicit",{enumerable:!0,get:function(){return a.implicit}});var l=n(402);Object.defineProperty(t,"scalePow",{enumerable:!0,get:function(){return P(l).default}}),Object.defineProperty(t,"scaleSqrt",{enumerable:!0,get:function(){return l.sqrt}});var c=n(403);Object.defineProperty(t,"scaleQuantile",{enumerable:!0,get:function(){return P(c).default}});var f=n(404);Object.defineProperty(t,"scaleQuantize",{enumerable:!0,get:function(){return P(f).default}});var s=n(405);Object.defineProperty(t,"scaleThreshold",{enumerable:!0,get:function(){return P(s).default}});var d=n(152);Object.defineProperty(t,"scaleTime",{enumerable:!0,get:function(){return P(d).default}});var h=n(421);Object.defineProperty(t,"scaleUtc",{enumerable:!0,get:function(){return P(h).default}});var p=n(422);Object.defineProperty(t,"schemeCategory10",{enumerable:!0,get:function(){return P(p).default}});var _=n(423);Object.defineProperty(t,"schemeCategory20b",{enumerable:!0,get:function(){return P(_).default}});var v=n(424);Object.defineProperty(t,"schemeCategory20c",{enumerable:!0,get:function(){return P(v).default}});var y=n(425);Object.defineProperty(t,"schemeCategory20",{enumerable:!0,get:function(){return P(y).default}});var b=n(426);Object.defineProperty(t,"interpolateCubehelixDefault",{enumerable:!0,get:function(){return P(b).default}});var g=n(427);Object.defineProperty(t,"interpolateRainbow",{enumerable:!0,get:function(){return P(g).default}}),Object.defineProperty(t,"interpolateWarm",{enumerable:!0,get:function(){return g.warm}}),Object.defineProperty(t,"interpolateCool",{enumerable:!0,get:function(){return g.cool}});var m=n(428);Object.defineProperty(t,"interpolateViridis",{enumerable:!0,get:function(){return P(m).default}}),Object.defineProperty(t,"interpolateMagma",{enumerable:!0,get:function(){return m.magma}}),Object.defineProperty(t,"interpolateInferno",{enumerable:!0,get:function(){return m.inferno}}),Object.defineProperty(t,"interpolatePlasma",{enumerable:!0,get:function(){return m.plasma}});var M=n(429);function P(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"scaleSequential",{enumerable:!0,get:function(){return P(M).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.point=function(){return function e(t){var n=t.copy;t.padding=t.paddingOuter;delete t.paddingInner;delete t.paddingOuter;t.copy=function(){return e(n())};return t}(a().paddingInner(1))};var r,u=n(3),i=n(149),o=(r=i)&&r.__esModule?r:{default:r};function a(){var e,t,n=(0,o.default)().unknown(void 0),r=n.domain,i=n.range,l=[0,1],c=!1,f=0,s=0,d=.5;function h(){var n=r().length,o=l[1]0){for(;ha)break;v.push(s)}}else for(;h=1;--f)if(!((s=l*f)a)break;v.push(s)}}else v=(0,r.ticks)(h,p,Math.min(p-h,_)).map(d);return t?v.reverse():v};t.tickFormat=function(e,n){if(null==n&&(n=10===i?".0e":","),"function"!=typeof n&&(n=(0,u.format)(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,i*e/t.ticks().length);return function(e){var t=e/d(Math.round(c(e)));return t*i0?i[r-1]:t[0],r=o?[a[o-1],n]:[a[r-1],a[r]]};c.copy=function(){return e().domain([t,n]).range(l)};return(0,i.linearish)(c)};var r=n(3),u=n(15),i=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=[.5],n=[0,1],i=1;function o(e){if(e<=e)return n[(0,r.bisect)(t,e,0,i)]}o.domain=function(e){return arguments.length?(t=u.slice.call(e),i=Math.min(t.length,n.length-1),o):t.slice()};o.range=function(e){return arguments.length?(n=u.slice.call(e),i=Math.min(t.length,n.length-1),o):n.slice()};o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]};o.copy=function(){return e().domain(t).range(n)};return o};var r=n(3),u=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.milliseconds=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,i.default)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):o:null},t.default=o;t.milliseconds=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seconds=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setTime(Math.floor(e/o.durationSecond)*o.durationSecond)},function(e,t){e.setTime(+e+t*o.durationSecond)},function(e,t){return(t-e)/o.durationSecond},function(e){return e.getUTCSeconds()});t.default=a;t.seconds=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minutes=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setTime(Math.floor(e/o.durationMinute)*o.durationMinute)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getMinutes()});t.default=a;t.minutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hours=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){var t=e.getTimezoneOffset()*o.durationMinute%o.durationHour;t<0&&(t+=o.durationHour),e.setTime(Math.floor((+e-t)/o.durationHour)*o.durationHour+t)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getHours()});t.default=a;t.hours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.days=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationDay},function(e){return e.getDate()-1});t.default=a;t.days=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saturdays=t.fridays=t.thursdays=t.wednesdays=t.tuesdays=t.mondays=t.sundays=t.saturday=t.friday=t.thursday=t.wednesday=t.tuesday=t.monday=t.sunday=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);function a(e){return(0,i.default)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationWeek})}var l=t.sunday=a(0),c=t.monday=a(1),f=t.tuesday=a(2),s=t.wednesday=a(3),d=t.thursday=a(4),h=t.friday=a(5),p=t.saturday=a(6);t.sundays=l.range,t.mondays=c.range,t.tuesdays=f.range,t.wednesdays=s.range,t.thursdays=d.range,t.fridays=h.range,t.saturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.months=void 0;var r,u=n(2);var i=(0,((r=u)&&r.__esModule?r:{default:r}).default)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.default=i;t.months=i.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.years=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.default=o;t.years=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMinutes=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getUTCMinutes()});t.default=a;t.utcMinutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcHours=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getUTCHours()});t.default=a;t.utcHours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcDays=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/o.durationDay},function(e){return e.getUTCDate()-1});t.default=a;t.utcDays=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcSaturdays=t.utcFridays=t.utcThursdays=t.utcWednesdays=t.utcTuesdays=t.utcMondays=t.utcSundays=t.utcSaturday=t.utcFriday=t.utcThursday=t.utcWednesday=t.utcTuesday=t.utcMonday=t.utcSunday=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);function a(e){return(0,i.default)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/o.durationWeek})}var l=t.utcSunday=a(0),c=t.utcMonday=a(1),f=t.utcTuesday=a(2),s=t.utcWednesday=a(3),d=t.utcThursday=a(4),h=t.utcFriday=a(5),p=t.utcSaturday=a(6);t.utcSundays=l.range,t.utcMondays=c.range,t.utcTuesdays=f.range,t.utcWednesdays=s.range,t.utcThursdays=d.range,t.utcFridays=h.range,t.utcSaturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMonths=void 0;var r,u=n(2);var i=(0,((r=u)&&r.__esModule?r:{default:r}).default)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.default=i;t.utcMonths=i.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcYears=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.default=o;t.utcYears=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(154),u=n(83);var i=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:(0,u.utcParse)(r.isoSpecifier);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.calendar)(i.utcYear,i.utcMonth,i.utcWeek,i.utcDay,i.utcHour,i.utcMinute,i.utcSecond,i.utcMillisecond,u.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};var r=n(152),u=n(82),i=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),u=n(5);t.default=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(300,.5,0),(0,r.cubehelix)(-240,.5,1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cool=t.warm=void 0,t.default=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return i.h=360*e-100,i.s=1.5-1.5*t,i.l=.8-.9*t,i+""};var r=n(7),u=n(5),i=(t.warm=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(-100,.75,.35),(0,r.cubehelix)(80,1.5,.8)),t.cool=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(260,.75,.35),(0,r.cubehelix)(80,1.5,.8)),(0,r.cubehelix)())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plasma=t.inferno=t.magma=void 0;var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};function o(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}t.default=o((0,i.default)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));t.magma=o((0,i.default)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),t.inferno=o((0,i.default)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),t.plasma=o((0,i.default)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=0,u=1,i=!1;function o(e){var r=(e-n)/(u-n);return t(i?Math.max(0,Math.min(1,r)):r)}o.domain=function(e){return arguments.length?(n=+e[0],u=+e[1],o):[n,u]};o.clamp=function(e){return arguments.length?(i=!!e,o):i};o.interpolator=function(e){return arguments.length?(t=e,o):t};o.copy=function(){return e(t).domain([n,u]).clamp(i)};return(0,r.linearish)(o)};var r=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=l,t=c,n=(0,o.default)(0),r=null,i=f,p=s,_=d,v=null;function y(){var o,l,c=+e.apply(this,arguments),f=+t.apply(this,arguments),s=i.apply(this,arguments)-a.halfPi,d=p.apply(this,arguments)-a.halfPi,y=(0,a.abs)(d-s),b=d>s;if(v||(v=o=(0,u.path)()),fa.epsilon)if(y>a.tau-a.epsilon)v.moveTo(f*(0,a.cos)(s),f*(0,a.sin)(s)),v.arc(0,0,f,s,d,!b),c>a.epsilon&&(v.moveTo(c*(0,a.cos)(d),c*(0,a.sin)(d)),v.arc(0,0,c,d,s,b));else{var g,m,M=s,P=d,O=s,j=d,x=y,w=y,E=_.apply(this,arguments)/2,S=E>a.epsilon&&(r?+r.apply(this,arguments):(0,a.sqrt)(c*c+f*f)),k=(0,a.min)((0,a.abs)(f-c)/2,+n.apply(this,arguments)),T=k,N=k;if(S>a.epsilon){var C=(0,a.asin)(S/c*(0,a.sin)(E)),A=(0,a.asin)(S/f*(0,a.sin)(E));(x-=2*C)>a.epsilon?(O+=C*=b?1:-1,j-=C):(x=0,O=j=(s+d)/2),(w-=2*A)>a.epsilon?(M+=A*=b?1:-1,P-=A):(w=0,M=P=(s+d)/2)}var R=f*(0,a.cos)(M),z=f*(0,a.sin)(M),q=c*(0,a.cos)(j),I=c*(0,a.sin)(j);if(k>a.epsilon){var D=f*(0,a.cos)(P),L=f*(0,a.sin)(P),U=c*(0,a.cos)(O),F=c*(0,a.sin)(O);if(ya.epsilon?function(e,t,n,r,u,i,o,a){var l=n-e,c=r-t,f=o-u,s=a-i,d=(f*(t-i)-s*(e-u))/(s*l-f*c);return[e+d*l,t+d*c]}(R,z,U,F,D,L,q,I):[q,I],H=R-Y[0],B=z-Y[1],X=D-Y[0],V=L-Y[1],W=1/(0,a.sin)((0,a.acos)((H*X+B*V)/((0,a.sqrt)(H*H+B*B)*(0,a.sqrt)(X*X+V*V)))/2),Z=(0,a.sqrt)(Y[0]*Y[0]+Y[1]*Y[1]);T=(0,a.min)(k,(c-Z)/(W-1)),N=(0,a.min)(k,(f-Z)/(W+1))}}w>a.epsilon?N>a.epsilon?(g=h(U,F,R,z,f,N,b),m=h(D,L,q,I,f,N,b),v.moveTo(g.cx+g.x01,g.cy+g.y01),Na.epsilon&&x>a.epsilon?T>a.epsilon?(g=h(q,I,D,L,c,-T,b),m=h(R,z,U,F,c,-T,b),v.lineTo(g.cx+g.x01,g.cy+g.y01),TN*N+C*C&&(x=E,w=S),{cx:x,cy:w,x01:-s,y01:-d,x11:x*(u/P-1),y11:w*(u/P-1)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i.default,t=u.default,n=null,a=(0,r.default)(0),l=(0,r.default)(o.tau),c=(0,r.default)(0);function f(r){var u,i,f,s,d,h=r.length,p=0,_=new Array(h),v=new Array(h),y=+a.apply(this,arguments),b=Math.min(o.tau,Math.max(-o.tau,l.apply(this,arguments)-y)),g=Math.min(Math.abs(b)/h,c.apply(this,arguments)),m=g*(b<0?-1:1);for(u=0;u0&&(p+=d);for(null!=t?_.sort(function(e,n){return t(v[e],v[n])}):null!=n&&_.sort(function(e,t){return n(r[e],r[t])}),u=0,f=p?(b-h*m)/p:0;u0?d*f:0)+m,v[i]={data:r[i],index:u,value:d,startAngle:y,endAngle:s,padAngle:g};return v}return f.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(+t),f):e},f.sortValues=function(e){return arguments.length?(t=e,n=null,f):t},f.sort=function(e){return arguments.length?(n=e,t=null,f):n},f.startAngle=function(e){return arguments.length?(a="function"==typeof e?e:(0,r.default)(+e),f):a},f.endAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,r.default)(+e),f):l},f.padAngle=function(e){return arguments.length?(c="function"==typeof e?e:(0,r.default)(+e),f):c},f};var r=a(n(16)),u=a(n(432)),i=a(n(433)),o=n(29);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return te?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)().curve(r.curveRadialLinear),t=e.curve,n=e.lineX0,a=e.lineX1,l=e.lineY0,c=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,o.lineRadial)(n())},delete e.lineX0,e.lineEndAngle=function(){return(0,o.lineRadial)(a())},delete e.lineX1,e.lineInnerRadius=function(){return(0,o.lineRadial)(l())},delete e.lineY0,e.lineOuterRadius=function(){return(0,o.lineRadial)(c())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,u.default)(e)):t()._curve},e};var r=n(156),u=a(r),i=a(n(155)),o=n(157);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkHorizontal=function(){return s(d)},t.linkVertical=function(){return s(h)},t.linkRadial=function(){var e=s(p);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e};var r=n(13),u=n(159),i=l(n(16)),o=n(85),a=l(n(158));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.source}function f(e){return e.target}function s(e){var t=c,n=f,a=o.x,l=o.y,s=null;function d(){var i,o=u.slice.call(arguments),c=t.apply(this,o),f=n.apply(this,o);if(s||(s=i=(0,r.path)()),e(s,+a.apply(this,(o[0]=c,o)),+l.apply(this,o),+a.apply(this,(o[0]=f,o)),+l.apply(this,o)),i)return s=null,i+""||null}return d.source=function(e){return arguments.length?(t=e,d):t},d.target=function(e){return arguments.length?(n=e,d):n},d.x=function(e){return arguments.length?(a="function"==typeof e?e:(0,i.default)(+e),d):a},d.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.default)(+e),d):l},d.context=function(e){return arguments.length?(s=null==e?null:e,d):s},d}function d(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,u,r,u)}function h(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+u)/2,r,n,r,u)}function p(e,t,n,r,u){var i=(0,a.default)(t,n),o=(0,a.default)(t,n=(n+u)/2),l=(0,a.default)(r,n),c=(0,a.default)(r,u);e.moveTo(i[0],i[1]),e.bezierCurveTo(o[0],o[1],l[0],l[1],c[0],c[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0,t.default=function(){var e=(0,s.default)(u.default),t=(0,s.default)(64),n=null;function i(){var u;if(n||(n=u=(0,r.path)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),u)return n=null,u+""||null}return i.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,s.default)(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,s.default)(+e),i):t},i.context=function(e){return arguments.length?(n=null==e?null:e,i):n},i};var r=n(13),u=d(n(160)),i=d(n(161)),o=d(n(162)),a=d(n(163)),l=d(n(164)),c=d(n(165)),f=d(n(166)),s=d(n(16));function d(e){return e&&e.__esModule?e:{default:e}}t.symbols=[u.default,i.default,o.default,l.default,a.default,c.default,f.default]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new a(e)};var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r},o=n(48);function a(e){this._context=e}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new u(e)};var r=n(48);function u(e){this._context=e}u.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,u=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,u):this._context.moveTo(n,u);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48);function u(e,t){this._basis=new r.Basis(e),this._beta=t}u.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,u=e[0],i=t[0],o=e[n]-u,a=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(u+r*o),this._beta*t[l]+(1-this._beta)*(i+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.default=function e(t){function n(e){return 1===t?new r.Basis(e):new u(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(167),i=n(47),o=(r=i)&&r.__esModule?r:{default:r},a=n(86);function l(e,t){this._context=e,this._alpha=t}l.prototype={areaStart:o.default,areaEnd:o.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,a.point)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new l(e,t):new u.CardinalClosed(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(168),u=n(86);function i(e,t){this._context=e,this._alpha=t}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,u.point)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new i(e,t):new r.CardinalOpen(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new o(e)};var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r};function o(e){this._context=e}o.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},function(e,t,n){"use strict";function r(e){return e<0?-1:1}function u(e,t,n){var u=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(u||i<0&&-0),a=(n-e._y1)/(i||u<0&&-0),l=(o*i+a*u)/(u+i);return(r(o)+r(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(l))||0}function i(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function o(e,t,n){var r=e._x0,u=e._y0,i=e._x1,o=e._y1,a=(i-r)/3;e._context.bezierCurveTo(r+a,u+a*t,i-a,o-a*n,i,o)}function a(e){this._context=e}function l(e){this._context=new c(e)}function c(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.monotoneX=function(e){return new a(e)},t.monotoneY=function(e){return new l(e)},a.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:o(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(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,o(this,i(this,n=u(this,e,t)),n);break;default:o(this,this._t0,n=u(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(l.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},c.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,u,i){this._context.bezierCurveTo(t,e,r,n,i,u)}}},function(e,t,n){"use strict";function r(e){this._context=e}function u(e){var t,n,r=e.length-1,u=new Array(r),i=new Array(r),o=new Array(r);for(u[0]=0,i[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)u[t]=(o[t]-u[t+1])/i[t];for(i[r-1]=(e[r]+u[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,u.default)([]),t=o.default,n=i.default,a=l;function c(r){var u,i,o=e.apply(this,arguments),l=r.length,c=o.length,f=new Array(c);for(u=0;u0){for(var n,r,u,o=0,a=e[0].length;o1)for(var n,r,u,i,o,a,l=0,c=e[t[0]].length;l=0?(r[0]=i,r[1]=i+=u):u<0?(r[1]=o,r[0]=o+=u):r[0]=i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((n=e.length)>0){for(var n,r=0,u=e[t[0]],o=u.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,u,o=0,a=1;aa.epsilon)p=p.L;else{if(!((l=f-d(p,h))>a.epsilon)){r>-a.epsilon?(t=p.P,n=p):l>-a.epsilon?(t=p,n=p.N):t=n=p;break}if(!p.R){t=p;break}p=p.R}(0,u.createCell)(e);var _=c(e);if(a.beaches.insert(t,_),!t&&!n)return;if(t===n)return(0,i.detachCircle)(t),n=c(t.site),a.beaches.insert(_,n),_.edge=n.edge=(0,o.createEdge)(t.site,_.site),(0,i.attachCircle)(t),void(0,i.attachCircle)(n);if(!n)return void(_.edge=(0,o.createEdge)(t.site,_.site));(0,i.detachCircle)(t),(0,i.detachCircle)(n);var v=t.site,y=v[0],b=v[1],g=e[0]-y,m=e[1]-b,M=n.site,P=M[0]-y,O=M[1]-b,j=2*(g*O-m*P),x=g*g+m*m,w=P*P+O*O,E=[(O*x-m*w)/j+y,(g*w-P*x)/j+b];(0,o.setEdgeEnd)(n.edge,v,M,E),_.edge=(0,o.createEdge)(v,e,null,E),n.edge=(0,o.createEdge)(e,M,null,E),(0,i.attachCircle)(t),(0,i.attachCircle)(n)};var r=n(88),u=n(169),i=n(170),o=n(89),a=n(32),l=[];function c(e){var t=l.pop()||new function(){(0,r.RedBlackNode)(this),this.edge=this.site=this.circle=null};return t.site=e,t}function f(e){(0,i.detachCircle)(e),a.beaches.remove(e),l.push(e),(0,r.RedBlackNode)(e)}function s(e,t){var n=e.site,r=n[0],u=n[1],i=u-t;if(!i)return r;var o=e.P;if(!o)return-1/0;var a=(n=o.site)[0],l=n[1],c=l-t;if(!c)return a;var f=a-r,s=1/i-1/c,d=f/c;return s?(-d+Math.sqrt(d*d-2*s*(f*f/(-2*c)-l+c/2+u-i/2)))/s+r:(r+a)/2}function d(e,t){var n=e.N;if(n)return s(n,t);var r=e.site;return r[1]===t?r[0]:1/0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(460);Object.defineProperty(t,"zoom",{enumerable:!0,get:function(){return i(r).default}});var u=n(171);function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zoomTransform",{enumerable:!0,get:function(){return i(u).default}}),Object.defineProperty(t,"zoomIdentity",{enumerable:!0,get:function(){return u.identity}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n=p,h=_,m=g,M=y,P=b,O=[0,1/0],j=[[-1/0,-1/0],[1/0,1/0]],x=250,w=i.interpolateZoom,E=[],S=(0,r.dispatch)("start","zoom","end"),k=500,T=150,N=0;function C(e){e.property("__zoom",v).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(P).on("touchstart.zoom",Y).on("touchmove.zoom",H).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function A(e,t){return(t=Math.max(O[0],Math.min(O[1],t)))===e.k?e:new f.Transform(t,e.x,e.y)}function R(e,t,n){var r=t[0]-n[0]*e.k,u=t[1]-n[1]*e.k;return r===e.x&&u===e.y?e:new f.Transform(e.k,r,u)}function z(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function q(e,t,n){e.on("start.zoom",function(){I(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){I(this,arguments).end()}).tween("zoom",function(){var e=arguments,r=I(this,e),u=h.apply(this,e),i=n||z(u),o=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),a=this.__zoom,l="function"==typeof t?t.apply(this,e):t,c=w(a.invert(i).concat(o/a.k),l.invert(i).concat(o/l.k));return function(e){if(1===e)e=l;else{var t=c(e),n=o/t[2];e=new f.Transform(n,i[0]-t[0]*n,i[1]-t[1]*n)}r.zoom(null,e)}})}function I(e,t){for(var n,r=0,u=E.length;rN}e.zoom("mouse",m(R(e.that.__zoom,e.mouse[0]=(0,o.mouse)(e.that),e.mouse[1]),e.extent,j))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),(0,u.dragEnable)(o.event.view,e.moved),(0,d.default)(),e.end()},!0),i=(0,o.mouse)(this),l=o.event.clientX,c=o.event.clientY;(0,u.dragDisable)(o.event.view),(0,s.nopropagation)(),e.mouse=[i,this.__zoom.invert(i)],(0,a.interrupt)(this),e.start()}}function F(){if(n.apply(this,arguments)){var e=this.__zoom,t=(0,o.mouse)(this),r=e.invert(t),u=e.k*(o.event.shiftKey?.5:2),i=m(R(A(e,u),t,r),h.apply(this,arguments),j);(0,d.default)(),x>0?(0,o.select)(this).transition().duration(x).call(q,i,t):(0,o.select)(this).call(C.transform,i)}}function Y(){if(n.apply(this,arguments)){var t,r,u,i,l=I(this,arguments),c=o.event.changedTouches,f=c.length;for((0,s.nopropagation)(),r=0;rr?(r+u)/2:Math.min(0,r)||Math.max(0,u),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){this.target=e,this.type=t,this.transform=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return i});var r=n(172),u=(n.n(r),function(e){if(e){var t="";switch(e.charAt(0)){case"$":t+="$";break;case"£":t+="£";break;case"€":t+="€"}e.indexOf(",")>-1&&(t+=",");var n=e.split(".");switch(t+=".",t+=n.length>1?n[1].length:0,e.slice(-1)){case"%":t+="%";break;case"0":t+="f"}return r.format(t)}}),i=function(e,t,n){var r=function(t,n,r,u,i){return!(!e.addError||!e.clearErrors)&&(ri?(e.addError({title:"Too Many "+n+"s",message:"This visualization requires "+(u===i?"exactly":"no more than")+" "+i+" "+n.toLowerCase()+(1===u?"":"s")+".",group:t}),!1):(e.clearErrors(t),!0))},u=t.fields,i=u.pivots,o=u.dimensions,a=u.measure_like;return r("pivot-req","Pivot",i.length,n.min_pivots,n.max_pivots)&&r("dim-req","Dimension",o.length,n.min_dimensions,n.max_dimensions)&&r("mes-req","Measure",a.length,n.min_measures,n.max_measures)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(172),u=(n.n(r),n(464));function i(e,t){var n={};return e.forEach(function(e){var r=n;t.forEach(function(t){var n=e[t.name].value;r[n]=n in r?r[n]:{},r=r[n]}),r.__data=e}),{name:"root",children:function e(t,n){void 0===n&&(n=0);var r=[];for(var u in t)if("__data"!==u){var i={name:u,depth:n,children:e(t[u],n+1)};"__data"in t[u]&&(i.data=t[u].__data),r.push(i)}return r}(n,1),depth:0}}var o={id:"collapsible_tree",label:"Collapsible Tree",options:{color_with_children:{label:"Node Color With Children",default:"#36c1b3",type:"string",display:"color"},color_empty:{label:"Empty Node Color",default:"#fff",type:"string",display:"color"}},create:function(e,t){this.svg=r.select(e).append("svg")},update:function(e,t,n,o){if(Object(u.b)(this,o,{min_pivots:0,max_pivots:0,min_dimensions:2,max_dimensions:void 0,min_measures:0,max_measures:void 0})){var a=0,l={children:n&&n.color_with_children||this.options.color_with_children.default,empty:n&&n.color_empty||this.options.color_empty.default},c=10,f=4,s=750,d=10,h=10,p=10,_=10,v=t.clientWidth-_-h,y=t.clientHeight-d-p,b=i(e,o.fields.dimension_like),g=this.svg.html("").attr("width",v+h+_).attr("height",y+d+p).append("g").attr("transform","translate("+_+","+d+")"),m=r.tree().size([y,v]),M=r.hierarchy(b,function(e){return e.children});M.x0=y/2,M.y0=0,M.children.forEach(function e(t){t.children&&(t._children=t.children,t._children.forEach(e),t.children=null)}),j(M)}function P(e,t){return("\n M "+e.y+" "+e.x+"\n C "+(e.y+t.y)/2+" "+e.x+",\n "+(e.y+t.y)/2+" "+t.x+",\n "+t.y+" "+t.x+"\n ").trim()}function O(e){e.children?(e._children=e.children,e.children=null):(e.children=e._children,e._children=null),j(e)}function j(e){var t=m(M),n=t.descendants(),r=t.descendants().slice(1);n.forEach(function(e){e.y=180*e.depth});var u=g.selectAll("g.node").data(n,function(e){return e.id||(e.id=++a)}),i=u.enter().append("g").attr("class","node").attr("transform",function(t){return"translate("+e.y0+","+e.x0+")"}).on("click",O);i.append("circle").attr("class","node").attr("r",1e-6),i.append("text").attr("dy",".35em").attr("x",function(e){return e.children||e._children?-c:c}).attr("text-anchor",function(e){return e.children||e._children?"end":"start"}).style("font-family","'Open Sans', Helvetica, sans-serif").style("font-size",c+"px").text(function(e){return e.data.name});var o=i.merge(u);o.transition().duration(s).attr("transform",function(e){return"translate("+e.y+","+e.x+")"}),o.select("circle.node").attr("r",f).style("fill",function(e){return e._children?l.children:l.empty}).style("stroke",l.children).style("stroke-width",1.5).attr("cursor","pointer");var d=u.exit().transition().duration(s).attr("transform",function(t){return"translate("+e.y+","+e.x+")"}).remove();d.select("circle").attr("r",1e-6),d.select("text").style("fill-opacity",1e-6);var h=g.selectAll("path.link").data(r,function(e){return e.id});h.enter().insert("path","g").attr("class","link").style("fill","none").style("stroke","#ddd").style("stroke-width",1.5).attr("d",function(t){var n={x:e.x0,y:e.y0};return P(n,n)}).merge(h).transition().duration(s).attr("d",function(e){return P(e,e.parent)}),h.exit().transition().duration(s).attr("d",function(t){var n={x:e.x,y:e.y};return P(n,n)}).remove(),n.forEach(function(e){e.x0=e.x,e.y0=e.y})}}};looker.plugins.visualizations.add(o)}])}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.collapsible_tree=t():e.collapsible_tree=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=505)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>1?u:e<-1?-u:Math.asin(e)},t.haversin=function(e){return(e=i(e/2))*e};t.epsilon=1e-6,t.epsilon2=1e-12;var r=t.pi=Math.PI,u=t.halfPi=r/2,i=(t.quarterPi=r/4,t.tau=2*r,t.degrees=180/r,t.radians=r/180,t.abs=Math.abs,t.atan=Math.atan,t.atan2=Math.atan2,t.cos=Math.cos,t.ceil=Math.ceil,t.exp=Math.exp,t.floor=Math.floor,t.log=Math.log,t.pow=Math.pow,t.sin=Math.sin);t.sign=Math.sign||function(e){return e>0?1:e<0?-1:0},t.sqrt=Math.sqrt,t.tan=Math.tan},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(199);Object.defineProperty(t,"create",{enumerable:!0,get:function(){return M(r).default}});var u=n(33);Object.defineProperty(t,"creator",{enumerable:!0,get:function(){return M(u).default}});var i=n(228);Object.defineProperty(t,"local",{enumerable:!0,get:function(){return M(i).default}});var o=n(104);Object.defineProperty(t,"matcher",{enumerable:!0,get:function(){return M(o).default}});var a=n(229);Object.defineProperty(t,"mouse",{enumerable:!0,get:function(){return M(a).default}});var l=n(52);Object.defineProperty(t,"namespace",{enumerable:!0,get:function(){return M(l).default}});var c=n(53);Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return M(c).default}});var f=n(34);Object.defineProperty(t,"clientPoint",{enumerable:!0,get:function(){return M(f).default}});var s=n(102);Object.defineProperty(t,"select",{enumerable:!0,get:function(){return M(s).default}});var d=n(230);Object.defineProperty(t,"selectAll",{enumerable:!0,get:function(){return M(d).default}});var h=n(4);Object.defineProperty(t,"selection",{enumerable:!0,get:function(){return M(h).default}});var p=n(54);Object.defineProperty(t,"selector",{enumerable:!0,get:function(){return M(p).default}});var _=n(103);Object.defineProperty(t,"selectorAll",{enumerable:!0,get:function(){return M(_).default}});var v=n(107);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return v.styleValue}});var y=n(231);Object.defineProperty(t,"touch",{enumerable:!0,get:function(){return M(y).default}});var b=n(232);Object.defineProperty(t,"touches",{enumerable:!0,get:function(){return M(b).default}});var g=n(55);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return M(g).default}});var m=n(56);function M(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"event",{enumerable:!0,get:function(){return m.event}}),Object.defineProperty(t,"customEvent",{enumerable:!0,get:function(){return m.customEvent}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,i,o){function a(e){return t(e=new Date(+e)),e}a.floor=a;a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e};a.round=function(e){var t=a(e),n=a.ceil(e);return e-t0))return o;do{o.push(i=new Date(+e)),n(e,u),t(e)}while(i=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););})};i&&(a.count=function(e,n){return r.setTime(+e),u.setTime(+n),t(r),t(u),Math.floor(i(r,u))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(o?function(t){return o(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null});return a};var r=new Date,u=new Date},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90);Object.defineProperty(t,"bisect",{enumerable:!0,get:function(){return T(r).default}}),Object.defineProperty(t,"bisectRight",{enumerable:!0,get:function(){return r.bisectRight}}),Object.defineProperty(t,"bisectLeft",{enumerable:!0,get:function(){return r.bisectLeft}});var u=n(17);Object.defineProperty(t,"ascending",{enumerable:!0,get:function(){return T(u).default}});var i=n(91);Object.defineProperty(t,"bisector",{enumerable:!0,get:function(){return T(i).default}});var o=n(175);Object.defineProperty(t,"cross",{enumerable:!0,get:function(){return T(o).default}});var a=n(176);Object.defineProperty(t,"descending",{enumerable:!0,get:function(){return T(a).default}});var l=n(93);Object.defineProperty(t,"deviation",{enumerable:!0,get:function(){return T(l).default}});var c=n(95);Object.defineProperty(t,"extent",{enumerable:!0,get:function(){return T(c).default}});var f=n(177);Object.defineProperty(t,"histogram",{enumerable:!0,get:function(){return T(f).default}});var s=n(180);Object.defineProperty(t,"thresholdFreedmanDiaconis",{enumerable:!0,get:function(){return T(s).default}});var d=n(181);Object.defineProperty(t,"thresholdScott",{enumerable:!0,get:function(){return T(d).default}});var h=n(99);Object.defineProperty(t,"thresholdSturges",{enumerable:!0,get:function(){return T(h).default}});var p=n(182);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return T(p).default}});var _=n(183);Object.defineProperty(t,"mean",{enumerable:!0,get:function(){return T(_).default}});var v=n(184);Object.defineProperty(t,"median",{enumerable:!0,get:function(){return T(v).default}});var y=n(185);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return T(y).default}});var b=n(100);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return T(b).default}});var g=n(92);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return T(g).default}});var m=n(186);Object.defineProperty(t,"permute",{enumerable:!0,get:function(){return T(m).default}});var M=n(50);Object.defineProperty(t,"quantile",{enumerable:!0,get:function(){return T(M).default}});var P=n(97);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return T(P).default}});var O=n(187);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return T(O).default}});var j=n(188);Object.defineProperty(t,"shuffle",{enumerable:!0,get:function(){return T(j).default}});var x=n(189);Object.defineProperty(t,"sum",{enumerable:!0,get:function(){return T(x).default}});var w=n(98);Object.defineProperty(t,"ticks",{enumerable:!0,get:function(){return T(w).default}}),Object.defineProperty(t,"tickIncrement",{enumerable:!0,get:function(){return w.tickIncrement}}),Object.defineProperty(t,"tickStep",{enumerable:!0,get:function(){return w.tickStep}});var E=n(101);Object.defineProperty(t,"transpose",{enumerable:!0,get:function(){return T(E).default}});var S=n(94);Object.defineProperty(t,"variance",{enumerable:!0,get:function(){return T(S).default}});var k=n(190);function T(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return T(k).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.root=void 0,t.Selection=z;var r=A(n(200)),u=A(n(201)),i=A(n(202)),o=A(n(203)),a=A(n(105)),l=A(n(205)),c=A(n(206)),f=A(n(207)),s=A(n(208)),d=A(n(209)),h=A(n(210)),p=A(n(211)),_=A(n(212)),v=A(n(213)),y=A(n(214)),b=A(n(215)),g=A(n(107)),m=A(n(216)),M=A(n(217)),P=A(n(218)),O=A(n(219)),j=A(n(220)),x=A(n(221)),w=A(n(222)),E=A(n(223)),S=A(n(224)),k=A(n(225)),T=A(n(226)),N=A(n(56)),C=A(n(227));function A(e){return e&&e.__esModule?e:{default:e}}var R=t.root=[null];function z(e,t){this._groups=e,this._parents=t}function q(){return new z([[document.documentElement]],R)}z.prototype=q.prototype={constructor:z,select:r.default,selectAll:u.default,filter:i.default,data:o.default,enter:a.default,exit:l.default,merge:c.default,order:f.default,sort:s.default,call:d.default,nodes:h.default,node:p.default,size:_.default,empty:v.default,each:y.default,attr:b.default,style:g.default,property:m.default,classed:M.default,text:P.default,html:O.default,raise:j.default,lower:x.default,append:w.default,insert:E.default,remove:S.default,clone:k.default,datum:T.default,on:N.default,dispatch:C.default},t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58);Object.defineProperty(t,"interpolate",{enumerable:!0,get:function(){return m(r).default}});var u=n(114);Object.defineProperty(t,"interpolateArray",{enumerable:!0,get:function(){return m(u).default}});var i=n(61);Object.defineProperty(t,"interpolateBasis",{enumerable:!0,get:function(){return m(i).default}});var o=n(112);Object.defineProperty(t,"interpolateBasisClosed",{enumerable:!0,get:function(){return m(o).default}});var a=n(115);Object.defineProperty(t,"interpolateDate",{enumerable:!0,get:function(){return m(a).default}});var l=n(35);Object.defineProperty(t,"interpolateNumber",{enumerable:!0,get:function(){return m(l).default}});var c=n(116);Object.defineProperty(t,"interpolateObject",{enumerable:!0,get:function(){return m(c).default}});var f=n(237);Object.defineProperty(t,"interpolateRound",{enumerable:!0,get:function(){return m(f).default}});var s=n(117);Object.defineProperty(t,"interpolateString",{enumerable:!0,get:function(){return m(s).default}});var d=n(238);Object.defineProperty(t,"interpolateTransformCss",{enumerable:!0,get:function(){return d.interpolateTransformCss}}),Object.defineProperty(t,"interpolateTransformSvg",{enumerable:!0,get:function(){return d.interpolateTransformSvg}});var h=n(241);Object.defineProperty(t,"interpolateZoom",{enumerable:!0,get:function(){return m(h).default}});var p=n(111);Object.defineProperty(t,"interpolateRgb",{enumerable:!0,get:function(){return m(p).default}}),Object.defineProperty(t,"interpolateRgbBasis",{enumerable:!0,get:function(){return p.rgbBasis}}),Object.defineProperty(t,"interpolateRgbBasisClosed",{enumerable:!0,get:function(){return p.rgbBasisClosed}});var _=n(242);Object.defineProperty(t,"interpolateHsl",{enumerable:!0,get:function(){return m(_).default}}),Object.defineProperty(t,"interpolateHslLong",{enumerable:!0,get:function(){return _.hslLong}});var v=n(243);Object.defineProperty(t,"interpolateLab",{enumerable:!0,get:function(){return m(v).default}});var y=n(244);Object.defineProperty(t,"interpolateHcl",{enumerable:!0,get:function(){return m(y).default}}),Object.defineProperty(t,"interpolateHclLong",{enumerable:!0,get:function(){return y.hclLong}});var b=n(245);Object.defineProperty(t,"interpolateCubehelix",{enumerable:!0,get:function(){return m(b).default}}),Object.defineProperty(t,"interpolateCubehelixLong",{enumerable:!0,get:function(){return b.cubehelixLong}});var g=n(246);function m(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"quantize",{enumerable:!0,get:function(){return m(g).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENDED=t.ENDING=t.RUNNING=t.STARTED=t.STARTING=t.SCHEDULED=t.CREATED=void 0,t.default=function(e,t,n,r,p,_){var v=e.__transition;if(v){if(n in v)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(d){var _,v,y,b;if(n.state!==l)return p();for(_ in i)if((b=i[_]).name===n.name){if(b.state===f)return(0,u.timeout)(o);b.state===s?(b.state=h,b.timer.stop(),b.on.call("interrupt",e,e.__data__,b.index,b.group),delete i[_]):+_a)throw new Error("too late; already scheduled");return n},t.set=function(e,t){var n=p(e,t);if(n.state>c)throw new Error("too late; already started");return n},t.get=p;var r=n(12),u=n(37),i=(0,r.dispatch)("start","end","interrupt"),o=[],a=t.CREATED=0,l=t.SCHEDULED=1,c=t.STARTING=2,f=t.STARTED=3,s=t.RUNNING=4,d=t.ENDING=5,h=t.ENDED=6;function p(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59);Object.defineProperty(t,"color",{enumerable:!0,get:function(){return o(r).default}}),Object.defineProperty(t,"rgb",{enumerable:!0,get:function(){return r.rgb}}),Object.defineProperty(t,"hsl",{enumerable:!0,get:function(){return r.hsl}});var u=n(235);Object.defineProperty(t,"lab",{enumerable:!0,get:function(){return o(u).default}}),Object.defineProperty(t,"hcl",{enumerable:!0,get:function(){return u.hcl}});var i=n(236);function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"cubehelix",{enumerable:!0,get:function(){return o(i).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return _(function(){return e})()},t.projectionMutator=_;var r=h(n(130)),u=h(n(136)),i=h(n(40)),o=h(n(129)),a=h(n(72)),l=n(0),c=n(39),f=n(41),s=n(75),d=h(n(340));function h(e){return e&&e.__esModule?e:{default:e}}var p=(0,f.transformer)({point:function(e,t){this.stream.point(e*l.radians,t*l.radians)}});function _(e){var t,n,h,_,v,y,b,g,m,M,P=150,O=480,j=250,x=0,w=0,E=0,S=0,k=0,T=null,N=r.default,C=null,A=a.default,R=.5,z=(0,d.default)(D,R);function q(e){return[(e=v(e[0]*l.radians,e[1]*l.radians))[0]*P+n,h-e[1]*P]}function I(e){return(e=v.invert((e[0]-n)/P,(h-e[1])/P))&&[e[0]*l.degrees,e[1]*l.degrees]}function D(e,r){return[(e=t(e,r))[0]*P+n,h-e[1]*P]}function L(){v=(0,o.default)(_=(0,c.rotateRadians)(E,S,k),t);var e=t(x,w);return n=O-e[0]*P,h=j+e[1]*P,U()}function U(){return m=M=null,q}return q.stream=function(e){return m&&M===e?m:m=p(function(e){return(0,f.transformer)({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}(_)(N(z(A(M=e)))))},q.preclip=function(e){return arguments.length?(N=e,T=void 0,U()):N},q.postclip=function(e){return arguments.length?(A=e,C=y=b=g=null,U()):A},q.clipAngle=function(e){return arguments.length?(N=+e?(0,u.default)(T=e*l.radians):(T=null,r.default),U()):T*l.degrees},q.clipExtent=function(e){return arguments.length?(A=null==e?(C=y=b=g=null,a.default):(0,i.default)(C=+e[0][0],y=+e[0][1],b=+e[1][0],g=+e[1][1]),U()):null==C?null:[[C,y],[b,g]]},q.scale=function(e){return arguments.length?(P=+e,L()):P},q.translate=function(e){return arguments.length?(O=+e[0],j=+e[1],L()):[O,j]},q.center=function(e){return arguments.length?(x=e[0]%360*l.radians,w=e[1]%360*l.radians,L()):[x*l.degrees,w*l.degrees]},q.rotate=function(e){return arguments.length?(E=e[0]%360*l.radians,S=e[1]%360*l.radians,k=e.length>2?e[2]%360*l.radians:0,L()):[E*l.degrees,S*l.degrees,k*l.degrees]},q.precision=function(e){return arguments.length?(z=(0,d.default)(D,R=e*e),U()):(0,l.sqrt)(R)},q.fitExtent=function(e,t){return(0,s.fitExtent)(q,e,t)},q.fitSize=function(e,t){return(0,s.fitSize)(q,e,t)},q.fitWidth=function(e,t){return(0,s.fitWidth)(q,e,t)},q.fitHeight=function(e,t){return(0,s.fitHeight)(q,e,t)},function(){return t=e.apply(this,arguments),q.invert=t.invert&&I,L()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.durationSecond=1e3,t.durationMinute=6e4,t.durationHour=36e5,t.durationDay=864e5,t.durationWeek=6048e5},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transition=O,t.default=j,t.newId=function(){return++P};var r=n(1),u=M(n(247)),i=M(n(250)),o=M(n(251)),a=M(n(252)),l=M(n(253)),c=M(n(254)),f=M(n(255)),s=M(n(256)),d=M(n(257)),h=M(n(258)),p=M(n(259)),_=M(n(260)),v=M(n(261)),y=M(n(262)),b=M(n(263)),g=M(n(264)),m=M(n(36));function M(e){return e&&e.__esModule?e:{default:e}}var P=0;function O(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function j(e){return(0,r.selection)().transition(e)}var x=r.selection.prototype;O.prototype=j.prototype={constructor:O,select:h.default,selectAll:p.default,filter:c.default,merge:f.default,selection:_.default,transition:g.default,call:x.call,nodes:x.nodes,node:x.node,size:x.size,empty:x.empty,each:x.each,on:s.default,attr:u.default,attrTween:i.default,style:v.default,styleTween:y.default,text:b.default,remove:d.default,tween:m.default,delay:o.default,duration:a.default,ease:l.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(197);Object.defineProperty(t,"dispatch",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(287);Object.defineProperty(t,"path",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";function r(e,t){e&&i.hasOwnProperty(e.type)&&i[e.type](e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e&&u.hasOwnProperty(e.type)?u[e.type](e,t):r(e,t)};var u={Feature:function(e,t){r(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,u=-1,i=n.length;++ut?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";function r(){this.reset()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new r},r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(e){i(u,e,this.t),i(this,u.s,this.s),this.s?this.t+=u.t:this.s=u.t},valueOf:function(){return this.s}};var u=new r;function i(e,t,n){var r=e.s=t+n,u=r-t,i=r-u;e.t=t-i+(n-u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Math.random()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(288);Object.defineProperty(t,"nest",{enumerable:!0,get:function(){return c(r).default}});var u=n(289);Object.defineProperty(t,"set",{enumerable:!0,get:function(){return c(u).default}});var i=n(64);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return c(i).default}});var o=n(290);Object.defineProperty(t,"keys",{enumerable:!0,get:function(){return c(o).default}});var a=n(291);Object.defineProperty(t,"values",{enumerable:!0,get:function(){return c(a).default}});var l=n(292);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"entries",{enumerable:!0,get:function(){return c(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hue=function(e,t){var n=t-e;return n?o(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,i.default)(isNaN(e)?t:e)},t.gamma=function(e){return 1==(e=+e)?a:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,i.default)(isNaN(t)?n:t)}},t.default=a;var r,u=n(113),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?o(e,n):(0,i.default)(isNaN(e)?t:e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spherical=function(e){return[(0,r.atan2)(e[1],e[0]),(0,r.asin)(e[2])]},t.cartesian=function(e){var t=e[0],n=e[1],u=(0,r.cos)(n);return[u*(0,r.cos)(t),u*(0,r.sin)(t),(0,r.sin)(n)]},t.cartesianDot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},t.cartesianCross=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},t.cartesianAddInPlace=function(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]},t.cartesianScale=function(e,t){return[e[0]*t,e[1]*t,e[2]*t]},t.cartesianNormalizeInPlace=function(e){var t=(0,r.sqrt)(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.azimuthalRaw=function(e){return function(t,n){var u=(0,r.cos)(t),i=(0,r.cos)(n),o=e(u*i);return[o*i*(0,r.sin)(t),o*(0,r.sin)(n)]}},t.azimuthalInvert=function(e){return function(t,n){var u=(0,r.sqrt)(t*t+n*n),i=e(u),o=(0,r.sin)(i),a=(0,r.cos)(i);return[(0,r.atan2)(t*o,u*a),(0,r.asin)(u&&n*o/u)]}};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){for(var i,o=e.children,a=-1,l=o.length,c=e.value&&(r-t)/e.value;++a0?(l=Math.floor(l/u)*u,c=Math.ceil(c/u)*u,u=(0,r.tickIncrement)(l,c,n)):u<0&&(l=Math.ceil(l*u)/u,c=Math.floor(c*u)/u,u=(0,r.tickIncrement)(l,c,n)),u>0?(i[o]=Math.floor(l/u)*u,i[a]=Math.ceil(c/u)*u,t(i)):u<0&&(i[o]=Math.ceil(l*u)/u,i[a]=Math.floor(c*u)/u,t(i)),e},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acos=function(e){return e>1?0:e<-1?r:Math.acos(e)},t.asin=function(e){return e>=1?u:e<=-1?-u:Math.asin(e)};t.abs=Math.abs,t.atan2=Math.atan2,t.cos=Math.cos,t.max=Math.max,t.min=Math.min,t.sin=Math.sin,t.sqrt=Math.sqrt,t.epsilon=1e-12;var r=t.pi=Math.PI,u=t.halfPi=r/2;t.tau=2*r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((u=e.length)>1)for(var n,r,u,i=1,o=e[t[0]],a=o.length;i=0;)n[t]=t;return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edges=t.circles=t.cells=t.beaches=t.epsilon2=t.epsilon=void 0,t.default=h;var r,u=n(458),i=n(169),o=n(170),a=n(89),l=n(88),c=(r=l)&&r.__esModule?r:{default:r};t.epsilon=1e-6,t.epsilon2=1e-12,t.beaches=void 0;var f=t.cells=void 0,s=(t.circles=void 0,t.edges=void 0);function d(e,t){return t[1]-e[1]||t[0]-e[0]}function h(e,n){var r,l,h,p=e.sort(d).pop();for(t.edges=s=[],t.cells=f=new Array(e.length),t.beaches=new c.default,t.circles=new c.default;;)if(h=o.firstCircle,p&&(!h||p[1]=a)return null;var l=e-u.site[0],c=t-u.site[1],f=l*l+c*c;do{u=i.cells[r=o],o=null,u.halfedges.forEach(function(n){var r=i.edges[n],a=r.left;if(a!==u.site&&a||(a=r.right)){var l=e-a[0],c=t-a[1],s=l*l+c*c;s2?e[2]*o.radians:0),t.invert=function(t){return(t=e.invert(t[0]*o.radians,t[1]*o.radians))[0]*=o.degrees,t[1]*=o.degrees,t},t};var r,u=n(129),i=(r=u)&&r.__esModule?r:{default:r},o=n(0);function a(e,t){return[e>o.pi?e-o.tau:e<-o.pi?e+o.tau:e,t]}function l(e,t,n){return(e%=o.tau)?t||n?(0,i.default)(f(e),s(t,n)):f(e):t||n?s(t,n):a}function c(e){return function(t,n){return[(t+=e)>o.pi?t-o.tau:t<-o.pi?t+o.tau:t,n]}}function f(e){var t=c(e);return t.invert=c(-e),t}function s(e,t){var n=(0,o.cos)(e),r=(0,o.sin)(e),u=(0,o.cos)(t),i=(0,o.sin)(t);function a(e,t){var a=(0,o.cos)(t),l=(0,o.cos)(e)*a,c=(0,o.sin)(e)*a,f=(0,o.sin)(t),s=f*n+l*r;return[(0,o.atan2)(c*u-s*i,l*n-f*r),(0,o.asin)(s*u+c*i)]}return a.invert=function(e,t){var a=(0,o.cos)(t),l=(0,o.cos)(e)*a,c=(0,o.sin)(e)*a,f=(0,o.sin)(t),s=f*u-c*i;return[(0,o.atan2)(c*u+f*i,l*n+s*r),(0,o.asin)(s*n-l*r)]},a}a.invert=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){function s(r,u){return e<=r&&r<=n&&t<=u&&u<=l}function d(r,u,i,o){var a=0,c=0;if(null==r||(a=h(r,i))!==(c=h(u,i))||_(r,u)<0^i>0)do{o.point(0===a||3===a?e:n,a>1?l:t)}while((a=(a+i+4)%4)!==c);else o.point(u[0],u[1])}function h(u,i){return(0,r.abs)(u[0]-e)0?0:3:(0,r.abs)(u[0]-n)0?2:1:(0,r.abs)(u[1]-t)0?1:0:i>0?3:2}function p(e,t){return _(e.x,t.x)}function _(e,t){var n=h(e,1),r=h(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(r){var h,_,v,y,b,g,m,M,P,O,j,x=r,w=(0,u.default)(),E={point:S,lineStart:function(){E.point=k,_&&_.push(v=[]);O=!0,P=!1,m=M=NaN},lineEnd:function(){h&&(k(y,b),g&&P&&w.rejoin(),h.push(w.result()));E.point=S,P&&x.lineEnd()},polygonStart:function(){x=w,h=[],_=[],j=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,r=_.length;nl&&(s-u)*(l-i)>(d-i)*(e-u)&&++t:d<=l&&(s-u)*(l-i)<(d-i)*(e-u)&&--t;return t}(),n=j&&t,u=(h=(0,a.merge)(h)).length;(n||u)&&(r.polygonStart(),n&&(r.lineStart(),d(null,null,1,r),r.lineEnd()),u&&(0,o.default)(h,p,t,d,r),r.polygonEnd());x=r,h=_=v=null}};function S(e,t){s(e,t)&&x.point(e,t)}function k(r,u){var o=s(r,u);if(_&&v.push([r,u]),O)y=r,b=u,g=o,O=!1,o&&(x.lineStart(),x.point(r,u));else if(o&&P)x.point(r,u);else{var a=[m=Math.max(f,Math.min(c,m)),M=Math.max(f,Math.min(c,M))],d=[r=Math.max(f,Math.min(c,r)),u=Math.max(f,Math.min(c,u))];(0,i.default)(a,d,e,t,n,l)?(P||(x.lineStart(),x.point(a[0],a[1])),x.point(d[0],d[1]),o||x.lineEnd(),j=!1):o&&(x.lineStart(),x.point(r,u),j=!1)}m=r,M=u,P=o}return E}};var r=n(0),u=l(n(132)),i=l(n(330)),o=l(n(133)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}var c=1e9,f=-c},function(e,t,n){"use strict";function r(e){return function(t){var n=new u;for(var r in e)n[r]=e[r];return n.stream=t,n}}function u(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{stream:r(e)}},t.transformer=r,u.prototype={constructor:u,point:function(e,t){this.stream.point(e,t)},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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){for(var i,o=e.children,a=-1,l=o.length,c=e.value&&(u-n)/e.value;++a2?d:s,r=o=null,y}function y(t){return(r||(r=n(l,h,_?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,p)))(+t)}return y.invert=function(e){return(o||(o=n(h,l,f,_?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},y.domain=function(e){return arguments.length?(l=i.map.call(e,a.default),v()):l.slice()},y.range=function(e){return arguments.length?(h=i.slice.call(e),v()):h.slice()},y.rangeRound=function(e){return h=i.slice.call(e),p=u.interpolateRound,v()},y.clamp=function(e){return arguments.length?(_=!!e,v()):_},y.interpolate=function(e){return arguments.length?(p=e,v()):p},v()};var r=n(3),u=n(5),i=n(15),o=l(n(81)),a=l(n(150));function l(e){return e&&e.__esModule?e:{default:e}}var c=[0,1];function f(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(0,o.default)(t)}function s(e,t,n,r){var u=e[0],i=e[1],o=t[0],a=t[1];return i=1)return+n(e[r-1],r-1,e);var r,u=(r-1)*t,o=Math.floor(u),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(u-o)}};var r,u=n(22),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(198);Object.defineProperty(t,"drag",{enumerable:!0,get:function(){return i(r).default}});var u=n(108);function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"dragDisable",{enumerable:!0,get:function(){return i(u).default}}),Object.defineProperty(t,"dragEnable",{enumerable:!0,get:function(){return u.yesdrag}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),i.default.hasOwnProperty(t)?{space:i.default[t],local:e}:e};var r,u=n(53),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.xhtml="http://www.w3.org/1999/xhtml";t.default={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(e,t,n){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e?r:function(){return this.querySelector(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,u,i=function(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),o=i.length;if(!(arguments.length<2)){for(c=t?l:a,null==n&&(n=!1),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=s.exec(e))?m(parseInt(t[1],16)):(t=d.exec(e))?new j(t[1],t[2],t[3],1):(t=h.exec(e))?new j(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?M(t[1],t[2],t[3],t[4]):(t=_.exec(e))?M(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=v.exec(e))?x(t[1],t[2]/100,t[3]/100,1):(t=y.exec(e))?x(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?m(b[e]):"transparent"===e?new j(NaN,NaN,NaN,0):null}function m(e){return new j(e>>16&255,e>>8&255,255&e,1)}function M(e,t,n,r){return r<=0&&(e=t=n=NaN),new j(e,t,n,r)}function P(e){return e instanceof o||(e=g(e)),e?new j((e=e.rgb()).r,e.g,e.b,e.opacity):new j}function O(e,t,n,r){return 1===arguments.length?P(e):new j(e,t,n,null==r?1:r)}function j(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function x(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new S(e,t,n,r)}function w(e){if(e instanceof S)return new S(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=g(e)),!e)return new S;if(e instanceof S)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,u=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-u,c=(i+u)/2;return l?(a=t===i?(n-r)/l+6*(n0&&c<1?0:a,new S(a,l,c,e.opacity)}function E(e,t,n,r){return 1===arguments.length?w(e):new S(e,t,n,null==r?1:r)}function S(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function k(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}(0,i.default)(o,g,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),(0,i.default)(j,O,(0,u.extend)(o,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new j(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new j(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),(0,i.default)(S,E,(0,u.extend)(o,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new S(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new S(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,u=2*n-r;return new j(k(e>=240?e-240:e+120,u,r),k(e,u,r),k(e<120?e+240:e-120,u,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},t.extend=function(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}},function(e,t,n){"use strict";function r(e,t,n,r,u){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*n+(1+3*e+3*i-3*o)*r+o*u)/6}Object.defineProperty(t,"__esModule",{value:!0}),t.basis=r,t.default=function(e){var t=e.length-1;return function(n){var u=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[u],o=e[u+1],a=u>0?e[u-1]:2*i-o,l=u=0&&t._call.call(null,e),t=t._next;--o}function m(){s=(f=h.now())+d,o=a=0;try{g()}finally{o=0,function(){var e,t,n=u,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:u=t);i=e,P(r)}(),s=0}}function M(){var e=h.now(),t=e-f;t>c&&(d-=t,f=e)}function P(e){o||(a&&(a=clearTimeout(a)),e-s>24?(e<1/0&&(a=setTimeout(m,e-h.now()-d)),l&&(l=clearInterval(l))):(l||(f=h.now(),l=setInterval(M,c)),o=1,p(m)))}y.prototype=b.prototype={constructor:y,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?_():+n)+(null==t?0:+t),this._next||i===this||(i?i._next=this:u=this,i=this),this._call=e,this._time=n,P()},stop:function(){this._call&&(this._call=null,this._time=1/0,P())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.prefix="$";function u(){}function i(e,t){var n=new u;if(e instanceof u)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,i=-1,o=e.length;if(null==t)for(;++i=f?h=!0:(l=e.charCodeAt(s++))===o?p=!0:l===a&&(p=!0,e.charCodeAt(s)===o&&++s),e.slice(c+1,t-1).replace(/""/g,'"')}for(;s1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEqualAreaRaw=o,t.default=function(){return(0,u.conicProjection)(o).scale(155.424).center([0,33.6442])};var r=n(0),u=n(74),i=n(341);function o(e,t){var n=(0,r.sin)(e),u=(n+(0,r.sin)(t))/2;if((0,r.abs)(u)=0;--i)c.push(r=n.children[i]=new g(u[i])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(b)}function v(e){return e.children}function y(e){e.data=e.data.data}function b(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function g(e){this.data=e,this.depth=this.height=0,this.parent=null}g.prototype=_.prototype={constructor:g,count:r.default,each:u.default,eachAfter:o.default,eachBefore:i.default,sum:a.default,sort:l.default,path:c.default,ancestors:f.default,descendants:s.default,leaves:d.default,links:h.default,copy:function(){return _(this).eachBefore(y)}}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new Error;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.optional=function(e){return null==e?null:r(e)},t.required=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.phi=void 0,t.squarifyRatio=a;var r=i(n(26)),u=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}var o=t.phi=(1+Math.sqrt(5))/2;function a(e,t,n,i,o,a){for(var l,c,f,s,d,h,p,_,v,y,b,g=[],m=t.children,M=0,P=0,O=m.length,j=t.value;Mp&&(p=c),b=d*d*y,(_=Math.max(p/b,b/h))>v){d-=c;break}v=_}g.push(l={value:d,dice:f1?t:1)},n}(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,i,o,a,l=(0,u.dispatch)("beforesend","progress","load","error"),c=(0,r.map)(),f=new XMLHttpRequest,s=null,d=null,h=0;function p(e){var t,r=f.status;if(!r&&function(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}(f)||r>=200&&r<300||304===r){if(o)try{t=o.call(n,f)}catch(e){return void l.call("error",n,e)}else t=f;l.call("load",n,t)}else l.call("error",n,e)}if("undefined"==typeof XDomainRequest||"withCredentials"in f||!/^(http(s)?:)?\/\//.test(e)||(f=new XDomainRequest),"onload"in f?f.onload=f.onerror=f.ontimeout=p:f.onreadystatechange=function(e){f.readyState>3&&p(e)},f.onprogress=function(e){l.call("progress",n,e)},n={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?c.get(e):(null==t?c.remove(e):c.set(e,t+""),n)},mimeType:function(e){return arguments.length?(i=null==e?null:e+"",n):i},responseType:function(e){return arguments.length?(a=e,n):a},timeout:function(e){return arguments.length?(h=+e,n):h},user:function(e){return arguments.length<1?s:(s=null==e?null:e+"",n)},password:function(e){return arguments.length<1?d:(d=null==e?null:e+"",n)},response:function(e){return o=e,n},get:function(e,t){return n.send("GET",e,t)},post:function(e,t){return n.send("POST",e,t)},send:function(t,r,u){return f.open(t,e,!0,s,d),null==i||c.has("accept")||c.set("accept",i+",*/*"),f.setRequestHeader&&c.each(function(e,t){f.setRequestHeader(t,e)}),null!=i&&f.overrideMimeType&&f.overrideMimeType(i),null!=a&&(f.responseType=a),h>0&&(f.timeout=h),null==u&&"function"==typeof r&&(u=r,r=null),null!=u&&1===u.length&&(u=function(e){return function(t,n){e(null==t?n:null)}}(u)),null!=u&&n.on("error",u).on("load",function(e){u(null,e)}),l.call("beforesend",n,f),f.send(null==r?null:r),n},abort:function(){return f.abort(),n},on:function(){var e=l.on.apply(l,arguments);return e===l?n:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return n.get(t)}return n};var r=n(21),u=n(12)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(83);Object.defineProperty(t,"timeFormatDefaultLocale",{enumerable:!0,get:function(){return a(r).default}}),Object.defineProperty(t,"timeFormat",{enumerable:!0,get:function(){return r.timeFormat}}),Object.defineProperty(t,"timeParse",{enumerable:!0,get:function(){return r.timeParse}}),Object.defineProperty(t,"utcFormat",{enumerable:!0,get:function(){return r.utcFormat}}),Object.defineProperty(t,"utcParse",{enumerable:!0,get:function(){return r.utcParse}});var u=n(153);Object.defineProperty(t,"timeFormatLocale",{enumerable:!0,get:function(){return a(u).default}});var i=n(154);Object.defineProperty(t,"isoFormat",{enumerable:!0,get:function(){return a(i).default}});var o=n(420);function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"isoParse",{enumerable:!0,get:function(){return a(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcParse=t.utcFormat=t.timeParse=t.timeFormat=void 0,t.default=a;var r,u,i=n(153),o=(r=i)&&r.__esModule?r:{default:r};t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0;function a(e){return u=(0,o.default)(e),t.timeFormat=u.format,t.timeParse=u.parse,t.utcFormat=u.utcFormat,t.utcParse=u.utcParse,u}a({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o.x,t=o.y,n=(0,u.default)(!0),a=null,l=i.default,c=null;function f(u){var i,o,f,s=u.length,d=!1;for(null==a&&(c=l(f=(0,r.path)())),i=0;i<=s;++i)!(ir.epsilon){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);u=(u*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>r.epsilon){var f=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*f+e._x1*e._l23_2a-t*e._l12_2a)/s,a=(a*f+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(u,i,o,a,e._x2,e._y2)}function o(e,t){this._context=e,this._alpha=t}t.point=i,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:i(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new o(e,t):new u.Cardinal(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map(o);return(0,i.default)(e).sort(function(e,n){return t[e]-t[n]})},t.sum=o;var r,u=n(31),i=(r=u)&&r.__esModule?r:{default:r};function o(e){for(var t,n=0,r=-1,u=e.length;++rr.epsilon||Math.abs(a[0][1]-a[1][1])>r.epsilon)||delete r.edges[l]};var r=n(32);function u(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function i(e,t,n,r,u){var i,o=e[0],a=e[1],l=o[0],c=o[1],f=0,s=1,d=a[0]-l,h=a[1]-c;if(i=t-l,d||!(i>0)){if(i/=d,d<0){if(i0){if(i>s)return;i>f&&(f=i)}if(i=r-l,d||!(i<0)){if(i/=d,d<0){if(i>s)return;i>f&&(f=i)}else if(d>0){if(i0)){if(i/=h,h<0){if(i0){if(i>s)return;i>f&&(f=i)}if(i=u-c,h||!(i<0)){if(i/=h,h<0){if(i>s)return;i>f&&(f=i)}else if(h>0){if(i0||s<1)||(f>0&&(e[0]=[l+f*d,c+f*h]),s<1&&(e[1]=[l+s*d,c+s*h]),!0)}}}}}function o(e,t,n,r,u){var i=e[1];if(i)return!0;var o,a,l=e[0],c=e.left,f=e.right,s=c[0],d=c[1],h=f[0],p=f[1],_=(s+h)/2,v=(d+p)/2;if(p===d){if(_=r)return;if(s>h){if(l){if(l[1]>=u)return}else l=[_,n];i=[_,u]}else{if(l){if(l[1]1)if(s>h){if(l){if(l[1]>=u)return}else l=[(n-a)/o,n];i=[(u-a)/o,u]}else{if(l){if(l[1]=r)return}else l=[t,o*t+a];i=[r,o*r+a]}else{if(l){if(l[0]>>1;e(t[i],n)<0?r=i+1:u=i}return r},right:function(t,n,r,u){for(null==r&&(r=0),null==u&&(u=t.length);r>>1;e(t[i],n)>0?u=i:r=i+1}return r}}};var r,u=n(17),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";function r(e,t){return[e,t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){null==t&&(t=r);for(var n=0,u=e.length-1,i=e[0],o=new Array(u<0?0:u);n1)return c/(o-1)};var r,u=n(22),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,u,i=e.length,o=-1;if(null==t){for(;++o=n)for(r=u=n;++on&&(r=n),u=n)for(r=u=n;++on&&(r=n),u0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(u=Math.ceil(t-e+1));++l=r?a*=10:l>=u?a*=5:l>=i&&(a*=2);return t=0?(l>=r?10:l>=u?5:l>=i?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(l>=r?10:l>=u?5:l>=i?2:1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,u=e.length,i=-1;if(null==t){for(;++i=n)for(r=n;++in&&(r=n)}else for(;++i=n)for(r=n;++in&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(u=e.length))return[];for(var t=-1,n=(0,i.default)(e,o),r=new Array(n);++t1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):o(this.node(),e)},t.styleValue=o;var r,u=n(55),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return e.style.getPropertyValue(t)||(0,i.default)(e).getComputedStyle(e,null).getPropertyValue(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.document.documentElement,n=(0,u.select)(e).on("dragstart.drag",o.default,!0);"onselectstart"in t?n.on("selectstart.drag",o.default,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")},t.yesdrag=function(e,t){var n=e.document.documentElement,r=(0,u.select)(e).on("dragstart.drag",null);t&&(r.on("click.drag",o.default,!0),setTimeout(function(){r.on("click.drag",null)},0));"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)};var r,u=n(1),i=n(109),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.deg2rad=Math.PI/180,t.rad2deg=180/Math.PI},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgbBasisClosed=t.rgbBasis=void 0;var r=n(7),u=l(n(61)),i=l(n(112)),o=n(23),a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(t){var n,u,i=t.length,o=new Array(i),a=new Array(i),l=new Array(i);for(n=0;nl&&(u=t.slice(l,u),f[c]?f[c]+=u:f[++c]=u),(n=n[0])===(r=r[0])?f[c]?f[c]+=r:f[++c]=r:(f[++c]=null,s.push({i:c,x:(0,i.default)(n,r)})),l=a.lastIndex;return lr.STARTING&&n.state1?(null==n?d.remove(e):d.set(e,b(n)),t):d.get(e)},find:function(t,n,r){var u,i,o,a,l,c=0,f=e.length;for(null==r?r=1/0:r*=r,c=0;c1?(p.on(e,n),t):p.on(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.grouping&&e.thousands?(0,u.default)(e.grouping,e.thousands):c.default,n=e.currency,f=e.decimal,d=e.numerals?(0,i.default)(e.numerals):c.default,h=e.percent||"%";function p(e){var r=(e=(0,o.default)(e)).fill,u=e.align,i=e.sign,c=e.symbol,p=e.zero,_=e.width,v=e.comma,y=e.precision,b=e.type,g="$"===c?n[0]:"#"===c&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",m="$"===c?n[1]:/[%p]/.test(b)?h:"",M=a.default[b],P=!b||/[defgprs%]/.test(b);function O(e){var n,o,a,c=g,h=m;if("c"===b)h=M(e)+h,e="";else{var O=(e=+e)<0;if(e=M(Math.abs(e),y),O&&0==+e&&(O=!1),c=(O?"("===i?i:"-":"-"===i||"("===i?"":i)+c,h=("s"===b?s[8+l.prefixExponent/3]:"")+h+(O&&"("===i?")":""),P)for(n=-1,o=e.length;++n(a=e.charCodeAt(n))||a>57){h=(46===a?f+e.slice(n+1):e.slice(n))+h,e=e.slice(0,n);break}}v&&!p&&(e=t(e,1/0));var j=c.length+e.length+h.length,x=j<_?new Array(_-j+1).join(r):"";switch(v&&p&&(e=t(x+e,x.length?_-h.length:1/0),x=""),u){case"<":e=c+e+h+x;break;case"=":e=c+x+e+h;break;case"^":e=x.slice(0,j=x.length>>1)+c+e+h+x.slice(j);break;default:e=x+c+e+h}return d(e)}return y=null==y?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),O.toString=function(){return e+""},O}return{format:p,formatPrefix:function(e,t){var n=p(((e=(0,o.default)(e)).type="f",e)),u=3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(t)/3))),i=Math.pow(10,-u),a=s[8+u/3];return function(e){return n(i*e)+a}}}};var r=f(n(38)),u=f(n(317)),i=f(n(318)),o=f(n(124)),a=f(n(125)),l=n(126),c=f(n(321));function f(e){return e&&e.__esModule?e:{default:e}}var s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,u=n(125),i=(r=u)&&r.__esModule?r:{default:r};var o=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function a(e){return new l(e)}function l(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",u=t[3]||"-",a=t[4]||"",l=!!t[5],c=t[6]&&+t[6],f=!!t[7],s=t[8]&&+t[8].slice(1),d=t[9]||"";"n"===d?(f=!0,d="g"):i.default[d]||(d=""),(l||"0"===n&&"="===r)&&(l=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=u,this.symbol=a,this.zero=l,this.width=c,this.comma=f,this.precision=s,this.type=d}a.prototype=l.prototype,l.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(319)),u=o(n(126)),i=o(n(320));function o(e){return e&&e.__esModule?e:{default:e}}t.default={"":r.default,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return(0,i.default)(100*e,t)},r:i.default,s:u.default,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prefixExponent=void 0,t.default=function(e,n){var r=(0,i.default)(e,n);if(!r)return e+"";var u=r[0],o=r[1],a=o-(t.prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,l=u.length;return a===l?u:a>l?u+new Array(a-l+1).join("0"):a>0?u.slice(0,a)+"."+u.slice(a):"0."+new Array(1-a).join("0")+(0,i.default)(e,Math.max(0,n+a-1))[0]};var r,u=n(71),i=(r=u)&&r.__esModule?r:{default:r};t.prefixExponent=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areaStream=t.areaRingSum=void 0,t.default=function(e){return p.reset(),(0,o.default)(e,_),2*p};var r=a(n(19)),u=n(0),i=a(n(11)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,c,f,s,d,h=t.areaRingSum=(0,r.default)(),p=(0,r.default)(),_=t.areaStream={point:i.default,lineStart:i.default,lineEnd:i.default,polygonStart:function(){h.reset(),_.lineStart=v,_.lineEnd=y},polygonEnd:function(){var e=+h;p.add(e<0?u.tau+e:e),this.lineStart=this.lineEnd=this.point=i.default},sphere:function(){p.add(u.tau)}};function v(){_.point=b}function y(){g(l,c)}function b(e,t){_.point=g,l=e,c=t,e*=u.radians,t*=u.radians,f=e,s=(0,u.cos)(t=t/2+u.quarterPi),d=(0,u.sin)(t)}function g(e,t){e*=u.radians,t=(t*=u.radians)/2+u.quarterPi;var n=e-f,r=n>=0?1:-1,i=r*n,o=(0,u.cos)(t),a=(0,u.sin)(t),l=d*a,c=s*o+l*(0,u.cos)(i),p=l*r*(0,u.sin)(i);h.add((0,u.atan2)(p,c)),f=e,s=o,d=a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.circleStream=c,t.default=function(){var e,t,n=(0,o.default)([0,0]),r=(0,o.default)(90),u=(0,o.default)(6),i={point:function(n,r){e.push(n=t(n,r)),n[0]*=a.degrees,n[1]*=a.degrees}};function f(){var o=n.apply(this,arguments),f=r.apply(this,arguments)*a.radians,s=u.apply(this,arguments)*a.radians;return e=[],t=(0,l.rotateRadians)(-o[0]*a.radians,-o[1]*a.radians,0).invert,c(i,f,s,1),o={type:"Polygon",coordinates:[e]},e=t=null,o}return f.center=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.default)([+e[0],+e[1]]),f):n},f.radius=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.default)(+e),f):r},f.precision=function(e){return arguments.length?(u="function"==typeof e?e:(0,o.default)(+e),f):u},f};var r,u=n(24),i=n(328),o=(r=i)&&r.__esModule?r:{default:r},a=n(0),l=n(39);function c(e,t,n,r,i,o){if(n){var l=(0,a.cos)(t),c=(0,a.sin)(t),s=r*n;null==i?(i=t+r*a.tau,o=t-s/2):(i=f(l,i),o=f(l,o),(r>0?io)&&(i+=r*a.tau));for(var d,h=i;r>0?h>o:h0?o.pi:-o.pi,c=(0,o.abs)(i-n);(0,o.abs)(c-o.pi)0?o.halfPi:-o.halfPi),e.point(u,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(i,r),t=0):u!==l&&c>=o.pi&&((0,o.abs)(n-u)o.epsilon?(0,o.atan)(((0,o.sin)(t)*(i=(0,o.cos)(r))*(0,o.sin)(n)-(0,o.sin)(r)*(u=(0,o.cos)(t))*(0,o.sin)(e))/(u*i*a)):(t+r)/2}(n,r,i,a),e.point(u,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=i,r=a),u=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var u;if(null==e)u=n*o.halfPi,r.point(-o.pi,u),r.point(0,u),r.point(o.pi,u),r.point(o.pi,0),r.point(o.pi,-u),r.point(0,-u),r.point(-o.pi,-u),r.point(-o.pi,0),r.point(-o.pi,u);else if((0,o.abs)(e[0]-t[0])>o.epsilon){var i=e[0]0){for(y||(l.polygonStart(),y=!0),l.lineStart(),e=0;e1&&2&u&&i.push(i.pop().concat(i.shift())),d.push(i.filter(c))}return b}};var r=l(n(132)),u=l(n(133)),i=n(0),o=l(n(135)),a=n(3);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.length>1}function f(e,t){return((e=e.x)[0]<0?e[1]-i.halfPi-i.epsilon:i.halfPi-e[1])-((t=t.x)[0]<0?t[1]-i.halfPi-i.epsilon:i.halfPi-t[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[];return{point:function(t,n){e.push([t,n])},lineStart:function(){t.push(e=[])},lineEnd:i.default,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}};var r,u=n(11),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,u){var l,c,f=[],s=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if((0,i.default)(r,a)){for(u.lineStart(),l=0;l=0;--l)u.point((h=d[l])[0],h[1]);else r(_.x,_.p.x,-1,u);_=_.p}d=(_=_.o).z,v=!v}while(!_.v);u.lineEnd()}}};var r,u=n(134),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function a(e){if(t=e.length){for(var t,n,r=0,u=e[0];++r=0?1:-1,E=w*x,S=E>a.pi,k=y*O;if(l.add((0,a.atan2)(k*w*(0,a.sin)(E),b*j+k*(0,a.cos)(E))),i+=S?x+w*a.tau:x,S^_>=n^M>=n){var T=(0,o.cartesianCross)((0,o.cartesian)(p),(0,o.cartesian)(m));(0,o.cartesianNormalizeInPlace)(T);var N=(0,o.cartesianCross)(u,T);(0,o.cartesianNormalizeInPlace)(N);var C=(S^x>=0?-1:1)*(0,a.asin)(N[2]);(r>C||r===C&&(T[0]||T[1]))&&(c+=S^x>=0?1:-1)}}return(i<-a.epsilon||i0,c=(0,i.abs)(t)>i.epsilon;function f(e,n){return(0,i.cos)(e)*(0,i.cos)(n)>t}function s(e,n,u){var o=(0,r.cartesian)(e),a=(0,r.cartesian)(n),l=[1,0,0],c=(0,r.cartesianCross)(o,a),f=(0,r.cartesianDot)(c,c),s=c[0],d=f-s*s;if(!d)return!u&&e;var h=t*f/d,p=-t*s/d,_=(0,r.cartesianCross)(l,c),v=(0,r.cartesianScale)(l,h),y=(0,r.cartesianScale)(c,p);(0,r.cartesianAddInPlace)(v,y);var b=_,g=(0,r.cartesianDot)(v,b),m=(0,r.cartesianDot)(b,b),M=g*g-m*((0,r.cartesianDot)(v,v)-1);if(!(M<0)){var P=(0,i.sqrt)(M),O=(0,r.cartesianScale)(b,(-g-P)/m);if((0,r.cartesianAddInPlace)(O,v),O=(0,r.spherical)(O),!u)return O;var j,x=e[0],w=n[0],E=e[1],S=n[1];w0^O[1]<((0,i.abs)(O[0]-x)i.pi^(x<=O[0]&&O[0]<=w)){var N=(0,r.cartesianScale)(b,(-g+P)/m);return(0,r.cartesianAddInPlace)(N,v),[O,(0,r.spherical)(N)]}}}function d(t,n){var r=l?e:i.pi-e,u=0;return t<-r?u|=1:t>r&&(u|=2),n<-r?u|=4:n>r&&(u|=8),u}return(0,a.default)(f,function(e){var t,n,r,u,a;return{lineStart:function(){u=r=!1,a=1},point:function(h,p){var _,v=[h,p],y=f(h,p),b=l?y?0:d(h,p):y?d(h+(h<0?i.pi:-i.pi),p):0;if(!t&&(u=r=y)&&e.lineStart(),y!==r&&(!(_=s(t,v))||(0,o.default)(t,_)||(0,o.default)(v,_))&&(v[0]+=i.epsilon,v[1]+=i.epsilon,y=f(v[0],v[1])),y!==r)a=0,y?(e.lineStart(),_=s(v,t),e.point(_[0],_[1])):(_=s(t,v),e.point(_[0],_[1]),e.lineEnd()),t=_;else if(c&&t&&l^y){var g;b&n||!(g=s(v,t,!0))||(a=0,l?(e.lineStart(),e.point(g[0][0],g[0][1]),e.point(g[1][0],g[1][1]),e.lineEnd()):(e.point(g[1][0],g[1][1]),e.lineEnd(),e.lineStart(),e.point(g[0][0],g[0][1])))}!y||t&&(0,o.default)(t,v)||e.point(v[0],v[1]),t=v,r=y,n=b},lineEnd:function(){r&&e.lineEnd(),t=null},clean:function(){return a|(u&&r)<<1}}},function(t,r,i,o){(0,u.circleStream)(o,e,n,i,t,r)},l?[0,-e]:[-i.pi,e-i.pi])};var r=n(24),u=n(128),i=n(0),o=l(n(134)),a=l(n(131));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return o[0]=e,o[1]=t,(0,i.default)(a)};var r,u=n(138),i=(r=u)&&r.__esModule?r:{default:r};var o=[null,null],a={type:"LineString",coordinates:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s.reset(),(0,o.default)(e,d),+s};var r=a(n(19)),u=n(0),i=a(n(11)),o=a(n(14));function a(e){return e&&e.__esModule?e:{default:e}}var l,c,f,s=(0,r.default)(),d={sphere:i.default,point:i.default,lineStart:function(){d.point=p,d.lineEnd=h},lineEnd:i.default,polygonStart:i.default,polygonEnd:i.default};function h(){d.point=d.lineEnd=i.default}function p(e,t){e*=u.radians,t*=u.radians,l=e,c=(0,u.sin)(t),f=(0,u.cos)(t),d.point=_}function _(e,t){e*=u.radians,t*=u.radians;var n=(0,u.sin)(t),r=(0,u.cos)(t),i=(0,u.abs)(e-l),o=(0,u.cos)(i),a=r*(0,u.sin)(i),d=f*n-c*r*o,h=c*n+f*r*o;s.add((0,u.atan2)((0,u.sqrt)(a*a+d*d),h)),l=e,c=n,f=r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(11),i=(r=u)&&r.__esModule?r:{default:r};var o=1/0,a=o,l=-o,c=l,f={point:function(e,t){el&&(l=e);tc&&(c=t)},lineStart:i.default,lineEnd:i.default,polygonStart:i.default,polygonEnd:i.default,result:function(){var e=[[o,a],[l,c]];return l=c=-(a=o=1/0),e}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var r,u=n(73),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equirectangularRaw=o,t.default=function(){return(0,i.default)(o).scale(152.63)};var r,u=n(8),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t){return[e,t]}o.invert=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packEnclose=f,t.default=function(e){return f(e),e};var r,u=n(143),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n){var r=e.x,u=e.y,i=t.r+n.r,o=e.r+n.r,a=t.x-r,l=t.y-u,c=a*a+l*l;if(c){var f=.5+((o*=o)-(i*=i))/(2*c),s=Math.sqrt(Math.max(0,2*i*(o+c)-(o-=c)*o-i*i))/(2*c);n.x=r+f*a+s*l,n.y=u+f*l-s*a}else n.x=r+o,n.y=u}function a(e,t){var n=t.x-e.x,r=t.y-e.y,u=e.r+t.r;return u*u-1e-6>n*n+r*r}function l(e){var t=e._,n=e.next._,r=t.r+n.r,u=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return u*u+i*i}function c(e){this._=e,this.next=null,this.previous=null}function f(e){if(!(u=e.length))return 0;var t,n,r,u,f,s,d,h,p,_,v;if((t=e[0]).x=0,t.y=0,!(u>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(u>2))return t.r+n.r;o(n,t,r=e[2]),t=new c(t),n=new c(n),r=new c(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(d=3;d0&&n*n>r*r+u*u}function a(e,t){for(var n=0;n1);return e+n*i*Math.sqrt(-2*Math.log(u)/u)}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){for(var n=0,r=0;r=12)]},Q:_e,s:ve,S:Y,u:H,U:B,V:X,w:V,W:W,x:null,X:null,y:Z,Y:$,Z:G,"%":pe},ke={a:function(e){return s[e.getUTCDay()]},A:function(e){return f[e.getUTCDay()]},b:function(e){return ye[e.getUTCMonth()]},B:function(e){return d[e.getUTCMonth()]},c:null,d:Q,e:Q,f:ne,H:J,I:K,j:ee,L:te,m:re,M:ue,p:function(e){return c[+(e.getUTCHours()>=12)]},Q:_e,s:ve,S:ie,u:oe,U:ae,V:le,w:ce,W:fe,x:null,X:null,y:se,Y:de,Z:he,"%":pe},Te={a:function(e,t,n){var r=Pe.exec(t.slice(n));return r?(e.w=Oe[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=me.exec(t.slice(n));return r?(e.w=Me[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=we.exec(t.slice(n));return r?(e.m=Ee[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=je.exec(t.slice(n));return r?(e.m=xe[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return Ae(e,t,n,r)},d:j,e:j,f:T,H:w,I:w,j:x,L:k,m:O,M:E,p:function(e,t,n){var r=be.exec(t.slice(n));return r?(e.p=ge[r[0].toLowerCase()],n+r[0].length):-1},Q:C,s:A,S:S,u:v,U:y,V:b,w:_,W:g,x:function(e,t,r){return Ae(e,n,t,r)},X:function(e,t,n){return Ae(e,l,t,n)},y:M,Y:m,Z:P,"%":N};function Ne(e,t){return function(n){var r,u,i,o=[],l=-1,c=0,f=e.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in l||(l.w=1),"Z"in l?(u=i(o(l.y)),a=u.getUTCDay(),u=a>4||0===a?r.utcMonday.ceil(u):(0,r.utcMonday)(u),u=r.utcDay.offset(u,7*(l.V-1)),l.y=u.getUTCFullYear(),l.m=u.getUTCMonth(),l.d=u.getUTCDate()+(l.w+6)%7):(u=t(o(l.y)),a=u.getDay(),u=a>4||0===a?r.timeMonday.ceil(u):(0,r.timeMonday)(u),u=r.timeDay.offset(u,7*(l.V-1)),l.y=u.getFullYear(),l.m=u.getMonth(),l.d=u.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),a="Z"in l?i(o(l.y)).getUTCDay():t(o(l.y)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(a+5)%7:l.w+7*l.U-(a+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,i(l)):t(l)}}function Ae(e,t,n,r){for(var u,i,o=0,l=t.length,c=n.length;o=c)return-1;if(37===(u=t.charCodeAt(o++))){if(u=t.charAt(o++),!(i=Te[u in a?t.charAt(o++):u])||(r=i(e,n,r))<0)return-1}else if(u!=n.charCodeAt(r++))return-1}return r}return Se.x=Ne(n,Se),Se.X=Ne(l,Se),Se.c=Ne(t,Se),ke.x=Ne(n,ke),ke.X=Ne(l,ke),ke.c=Ne(t,ke),{format:function(e){var t=Ne(e+="",Se);return t.toString=function(){return e},t},parse:function(e){var t=Ce(e+="",u);return t.toString=function(){return e},t},utcFormat:function(e){var t=Ne(e+="",ke);return t.toString=function(){return e},t},utcParse:function(e){var t=Ce(e,i);return t.toString=function(){return e},t}}};var r=n(45);function u(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function i(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var a={"-":"",_:" ",0:"0"},l=/^\s*\d+/,c=/^%/,f=/[\\^$*+?|[\]().{}]/g;function s(e,t,n){var r=e<0?"-":"",u=(r?-e:e)+"",i=u.length;return r+(i68?1900:2e3),n+r[0].length):-1}function P(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function O(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function j(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function x(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function w(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function E(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function S(e,t,n){var r=l.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function k(e,t,n){var r=l.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function T(e,t,n){var r=l.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function N(e,t,n){var r=c.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function C(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function A(e,t,n){var r=l.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function R(e,t){return s(e.getDate(),t,2)}function z(e,t){return s(e.getHours(),t,2)}function q(e,t){return s(e.getHours()%12||12,t,2)}function I(e,t){return s(1+r.timeDay.count((0,r.timeYear)(e),e),t,3)}function D(e,t){return s(e.getMilliseconds(),t,3)}function L(e,t){return D(e,t)+"000"}function U(e,t){return s(e.getMonth()+1,t,2)}function F(e,t){return s(e.getMinutes(),t,2)}function Y(e,t){return s(e.getSeconds(),t,2)}function H(e){var t=e.getDay();return 0===t?7:t}function B(e,t){return s(r.timeSunday.count((0,r.timeYear)(e),e),t,2)}function X(e,t){var n=e.getDay();return e=n>=4||0===n?(0,r.timeThursday)(e):r.timeThursday.ceil(e),s(r.timeThursday.count((0,r.timeYear)(e),e)+(4===(0,r.timeYear)(e).getDay()),t,2)}function V(e){return e.getDay()}function W(e,t){return s(r.timeMonday.count((0,r.timeYear)(e),e),t,2)}function Z(e,t){return s(e.getFullYear()%100,t,2)}function $(e,t){return s(e.getFullYear()%1e4,t,4)}function G(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+s(t/60|0,"0",2)+s(t%60,"0",2)}function Q(e,t){return s(e.getUTCDate(),t,2)}function J(e,t){return s(e.getUTCHours(),t,2)}function K(e,t){return s(e.getUTCHours()%12||12,t,2)}function ee(e,t){return s(1+r.utcDay.count((0,r.utcYear)(e),e),t,3)}function te(e,t){return s(e.getUTCMilliseconds(),t,3)}function ne(e,t){return te(e,t)+"000"}function re(e,t){return s(e.getUTCMonth()+1,t,2)}function ue(e,t){return s(e.getUTCMinutes(),t,2)}function ie(e,t){return s(e.getUTCSeconds(),t,2)}function oe(e){var t=e.getUTCDay();return 0===t?7:t}function ae(e,t){return s(r.utcSunday.count((0,r.utcYear)(e),e),t,2)}function le(e,t){var n=e.getUTCDay();return e=n>=4||0===n?(0,r.utcThursday)(e):r.utcThursday.ceil(e),s(r.utcThursday.count((0,r.utcYear)(e),e)+(4===(0,r.utcYear)(e).getUTCDay()),t,2)}function ce(e){return e.getUTCDay()}function fe(e,t){return s(r.utcMonday.count((0,r.utcYear)(e),e),t,2)}function se(e,t){return s(e.getUTCFullYear()%100,t,2)}function de(e,t){return s(e.getUTCFullYear()%1e4,t,4)}function he(){return"+0000"}function pe(){return"%"}function _e(e){return+e}function ve(e){return Math.floor(+e/1e3)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isoSpecifier=void 0;var r=n(83),u=t.isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ";var i=Date.prototype.toISOString?function(e){return e.toISOString()}:(0,r.utcFormat)(u);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.x,t=null,n=(0,u.default)(0),l=a.y,c=(0,u.default)(!0),f=null,s=i.default,d=null;function h(u){var i,o,a,h,p,_=u.length,v=!1,y=new Array(_),b=new Array(_);for(null==f&&(d=s(p=(0,r.path)())),i=0;i<=_;++i){if(!(i<_&&c(h=u[i],i,u))===v)if(v=!v)o=i,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),a=i-1;a>=o;--a)d.point(y[a],b[a]);d.lineEnd(),d.areaEnd()}v&&(y[i]=+e(h,i,u),b[i]=+n(h,i,u),d.point(t?+t(h,i,u):y[i],l?+l(h,i,u):b[i]))}if(p)return d=null,p+""||null}function p(){return(0,o.default)().defined(c).curve(s).context(f)}return h.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,u.default)(+n),t=null,h):e},h.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,u.default)(+t),h):e},h.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,u.default)(+e),h):t},h.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)(+e),l=null,h):n},h.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,u.default)(+e),h):n},h.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,u.default)(+e),h):l},h.lineX0=h.lineY0=function(){return p().x(e).y(n)},h.lineY1=function(){return p().x(e).y(l)},h.lineX1=function(){return p().x(t).y(n)},h.defined=function(e){return arguments.length?(c="function"==typeof e?e:(0,u.default)(!!e),h):c},h.curve=function(e){return arguments.length?(s=e,null!=f&&(d=s(f)),h):s},h.context=function(e){return arguments.length?(null==e?f=d=null:d=s(f=e),h):f},h};var r=n(13),u=l(n(16)),i=l(n(46)),o=l(n(84)),a=n(85);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.curveRadialLinear=void 0,t.default=a;var r,u=n(46),i=(r=u)&&r.__esModule?r:{default:r};t.curveRadialLinear=a(i.default);function o(e){this._curve=e}function a(e){function t(t){return new o(e(t))}return t._curve=e,t}o.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineRadial=a,t.default=function(){return a((0,i.default)().curve(r.curveRadialLinear))};var r=n(156),u=o(r),i=o(n(84));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t((0,u.default)(e)):t()._curve},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=Array.prototype.slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);t.default={draw:function(e,t){var n=Math.sqrt(t/r.pi);e.moveTo(n,0),e.arc(0,0,n,0,r.tau)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(1/3),u=2*r;t.default={draw:function(e,t){var n=Math.sqrt(t/u),i=n*r;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),u=Math.sin(r.pi/10)/Math.sin(7*r.pi/10),i=Math.sin(r.tau/10)*u,o=-Math.cos(r.tau/10)*u;t.default={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),u=i*n,a=o*n;e.moveTo(0,-n),e.lineTo(u,a);for(var l=1;l<5;++l){var c=r.tau*l/5,f=Math.cos(c),s=Math.sin(c);e.lineTo(s*n,-f*n),e.lineTo(f*u-s*a,s*u+f*a)}e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.sqrt(3);t.default={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=-.5,u=Math.sqrt(3)/2,i=1/Math.sqrt(12),o=3*(i/2+1);t.default={draw:function(e,t){var n=Math.sqrt(t/o),a=n/2,l=n*i,c=a,f=n*i+n,s=-c,d=f;e.moveTo(a,l),e.lineTo(c,f),e.lineTo(s,d),e.lineTo(r*a-u*l,u*a+r*l),e.lineTo(r*c-u*f,u*c+r*f),e.lineTo(r*s-u*d,u*s+r*d),e.lineTo(r*a+u*l,r*l-u*a),e.lineTo(r*c+u*f,r*f-u*c),e.lineTo(r*s+u*d,r*d-u*s),e.closePath()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalClosed=a;var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r},o=n(49);function a(e,t){this._context=e,this._k=(1-t)/6}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new a(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalOpen=u;var r=n(49);function u(e,t){this._context=e,this._k=(1-t)/6}u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,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:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return new u(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCell=function(e){return u.cells[e.index]={site:e,halfedges:[]}},t.cellHalfedgeStart=o,t.cellHalfedgeEnd=a,t.sortCellHalfedges=function(){for(var e,t,n,r,o=0,a=u.cells.length;ou.epsilon||Math.abs(g-v)>u.epsilon)&&(d.splice(s,0,u.edges.push((0,r.createBorderEdge)(f,y,Math.abs(b-e)u.epsilon?[e,Math.abs(_-e)u.epsilon?[Math.abs(v-i)u.epsilon?[n,Math.abs(_-n)u.epsilon?[Math.abs(v-t)=-u.epsilon2)return;var y=d*d+h*h,b=p*p+_*_,g=(_*y-h*b)/v,m=(d*b-p*y)/v,M=i.pop()||new function(){(0,r.RedBlackNode)(this),this.x=this.y=this.arc=this.site=this.cy=null};M.arc=e,M.site=l,M.x=g+f,M.y=(M.cy=m+s)+Math.sqrt(g*g+m*m),e.circle=M;var P=null,O=u.circles._;for(;O;)if(M.y build/package.js && node rollup.node",test:"tape 'test/**/*-test.js'",prepublishOnly:'npm run test && rollup -c --banner "$(preamble)" && uglifyjs -b beautify=false,preamble="\'$(preamble)\'" build/d3.js -c negate_iife=false -m -o build/d3.min.js',postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/build/d3.js d3.v4.js && cp ../d3/build/d3.min.js d3.v4.min.js && git add d3.v4.js d3.v4.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/build/d3.js ../d3/build/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m "${npm_package_version}" && git tag -am "${npm_package_version}" v${npm_package_version} && git push && git push --tags && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.min.js'},t.devDependencies={json2module:"0.0","package-preamble":"0.1",rimraf:"2",rollup:"0.53","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3",tape:"4","uglify-js":"3.2"},t.dependencies={"d3-array":"1.2.1","d3-axis":"1.0.8","d3-brush":"1.0.4","d3-chord":"1.0.4","d3-collection":"1.0.4","d3-color":"1.0.3","d3-dispatch":"1.0.3","d3-drag":"1.2.1","d3-dsv":"1.0.8","d3-ease":"1.0.3","d3-force":"1.1.0","d3-format":"1.2.2","d3-geo":"1.9.1","d3-hierarchy":"1.1.5","d3-interpolate":"1.1.6","d3-path":"1.0.5","d3-polygon":"1.0.3","d3-quadtree":"1.0.3","d3-queue":"3.0.7","d3-random":"1.1.0","d3-request":"1.0.6","d3-scale":"1.0.7","d3-selection":"1.3.0","d3-shape":"1.2.0","d3-time":"1.0.8","d3-time-format":"2.1.1","d3-timer":"1.0.7","d3-transition":"1.1.1","d3-voronoi":"1.1.2","d3-zoom":"1.7.1"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var u,i,o,a,l=e.length,c=t.length,f=new Array(l*c);for(null==n&&(n=r.pair),u=o=0;ue?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.default,t=o.default,n=f.default;function s(r){var i,o,a=r.length,f=new Array(a);for(i=0;ih;)p.pop(),--_;var v,y=new Array(_+1);for(i=0;i<=_;++i)(v=y[i]=[]).x0=i>0?p[i-1]:d,v.x1=i<_?p[i]:h;for(i=0;i=n)for(r=n;++ir&&(r=n)}else for(;++i=n)for(r=n;++ir&&(r=n);return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=e.length,u=r,o=-1,a=0;if(null==t)for(;++o=0;)for(t=(r=e[u]).length;--t>=0;)n[--o]=r[t];return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(n=e.length){var n,r,u=0,o=0,a=e[o];for(null==t&&(t=i.default);++u0&&(n=r-E),U<0?x=w-T:U>0&&(i=l-T),D=p,K.attr("cursor",m.selection),ne());break;default:return}(0,s.default)()},!0).on("keyup.brush",function(){switch(o.event.keyCode){case 16:Z&&(R=z=Z=!1,ne());break;case 18:D===v&&(L<0?c=g:L>0&&(n=r),U<0?x=w:U>0&&(i=l),D=_,ne());break;case 32:D===p&&(o.event.altKey?(L&&(c=g-E*L,n=r+E*L),U&&(x=w-T*U,i=l+T*U),D=v):(L<0?c=g:L>0&&(n=r),U<0?x=w:U>0&&(i=l),D=_),K.attr("cursor",m[I]),ne());break;default:return}(0,s.default)()},!0).on("mousemove.brush",te,!0).on("mouseup.brush",re,!0);(0,u.dragDisable)(o.event.view)}(0,f.nopropagation)(),(0,a.interrupt)(q),C.call(q),Q.start()}function te(){var e=(0,o.mouse)(q);!Z||R||z||(Math.abs(e[0]-G[0])>Math.abs(e[1]-G[1])?z=!0:R=!0),G=e,N=!0,(0,s.default)(),ne()}function ne(){var e;switch(E=G[0]-$[0],T=G[1]-$[1],D){case p:case h:L&&(E=Math.max(B-n,Math.min(V-c,E)),r=n+E,g=c+E),U&&(T=Math.max(X-i,Math.min(W-x,T)),l=i+T,w=x+T);break;case _:L<0?(E=Math.max(B-n,Math.min(V-n,E)),r=n+E,g=c):L>0&&(E=Math.max(B-c,Math.min(V-c,E)),r=n,g=c+E),U<0?(T=Math.max(X-i,Math.min(W-i,T)),l=i+T,w=x):U>0&&(T=Math.max(X-x,Math.min(W-x,T)),l=i,w=x+T);break;case v:L&&(r=Math.max(B,Math.min(V,n-E*L)),g=Math.max(B,Math.min(V,c+E*L))),U&&(l=Math.max(X,Math.min(W,i-T*U)),w=Math.max(X,Math.min(W,x+T*U)))}g=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),l=-1,c=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++l0)for(var n,r,u=new Array(n),i=0;iO}m.mouse("drag")}function E(){(0,u.select)(u.event.view).on("mousemove.drag mouseup.drag",null),(0,i.yesdrag)(u.event.view,n),(0,l.default)(),m.mouse("end")}function S(){if(v.apply(this,arguments)){var e,t,n=u.event.changedTouches,r=y.apply(this,arguments),i=n.length;for(e=0;e=j&&(j=O+1);!(P=m[j])&&++j=0;)(r=u[i])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=u);for(var n=this._groups,i=n.length,o=new Array(i),a=0;at?1:e>=t?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this._groups,t=0,n=e.length;t1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]}},function(e,t,n){"use strict";function r(e){return e.trim().split(/^|\s+/)}function u(e){return e.classList||new i(e)}function i(e){this._node=e,this._names=r(e.getAttribute("class")||"")}function o(e,t){for(var n=u(e),r=-1,i=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}},function(e,t,n){"use strict";function r(){this.textContent=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent}},function(e,t,n){"use strict";function r(){this.innerHTML=""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.each(null==e?r:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML}},function(e,t,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t="function"==typeof e?e:(0,i.default)(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})};var r,u=n(33),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n="function"==typeof e?e:(0,r.default)(e),i=null==t?o:"function"==typeof t?t:(0,u.default)(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})};var r=i(n(33)),u=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return null}},function(e,t,n){"use strict";function r(){var e=this.parentNode;e&&e.removeChild(this)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function u(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.select(e?u:r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.property("__data__",e):this.node().__data__}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return o(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return o(this,e,t)}})(e,t))};var r,u=n(55),i=(r=u)&&r.__esModule?r:{default:r};function o(e,t,n){var r=(0,i.default)(e),u=r.CustomEvent;"function"==typeof u?u=new u(t,n):(u=r.document.createEvent("Event"),n?(u.initEvent(t,n.bubbles,n.cancelable),u.detail=n.detail):u.initEvent(t,!1,!1)),e.dispatchEvent(u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=0;function u(){return new i}function i(){this._="@"+(++r).toString(36)}i.prototype=u.prototype={constructor:i,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)();return t.changedTouches&&(t=t.changedTouches[0]),(0,u.default)(e,t)};var r=i(n(57)),u=i(n(34));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e?new r.Selection([document.querySelectorAll(e)],[document.documentElement]):new r.Selection([null==e?[]:e],r.root)};var r=n(4)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){arguments.length<3&&(n=t,t=(0,r.default)().changedTouches);for(var i,o=0,a=t?t.length:0;op?Math.pow(e,1/3):e/h+s}function g(e){return e>d?e*e*e:h*(e-s)}function m(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function M(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function P(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof O)return new O(e.h,e.c,e.l,e.opacity);e instanceof y||(e=_(e));var t=Math.atan2(e.b,e.a)*a.rad2deg;return new O(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new O(e,t,n,null==r?1:r)}function O(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}(0,i.default)(y,v,(0,u.extend)(o.Color,{brighter:function(e){return new y(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new y(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=c*g(e),t=l*g(t),n=f*g(n),new o.Rgb(m(3.2404542*t-1.5371385*e-.4985314*n),m(-.969266*t+1.8760108*e+.041556*n),m(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),(0,i.default)(O,P,(0,u.extend)(o.Color,{brighter:function(e){return new O(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new O(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return _(this).rgb()}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v,t.Cubehelix=y;var r,u=n(60),i=(r=u)&&r.__esModule?r:{default:r},o=n(59),a=n(110);var l=-.14861,c=1.78277,f=-.29227,s=-.90649,d=1.97294,h=d*s,p=d*c,_=c*f-s*l;function v(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof y)return new y(e.h,e.s,e.l,e.opacity);e instanceof o.Rgb||(e=(0,o.rgbConvert)(e));var t=e.r/255,n=e.g/255,r=e.b/255,u=(_*r+h*t-p*n)/(_+h-p),i=r-u,l=(d*(n-u)-f*i)/s,c=Math.sqrt(l*l+i*i)/(d*u*(1-u)),v=c?Math.atan2(l,i)*a.rad2deg-120:NaN;return new y(v<0?v+360:v,c,u,e.opacity)}(e):new y(e,t,n,null==r?1:r)}function y(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,i.default)(y,v,(0,u.extend)(o.Color,{brighter:function(e){return e=null==e?o.brighter:Math.pow(o.brighter,e),new y(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?o.darker:Math.pow(o.darker,e),new y(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*a.deg2rad,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),u=Math.sin(e);return new o.Rgb(255*(t+n*(l*r+c*u)),255*(t+n*(f*r+s*u)),255*(t+n*(d*r)),this.opacity)}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateTransformSvg=t.interpolateTransformCss=void 0;var r,u=n(35),i=(r=u)&&r.__esModule?r:{default:r},o=n(239);function a(e,t,n,r){function u(e){return e.length?e.pop()+" ":""}return function(o,a){var l=[],c=[];return o=e(o),a=e(a),function(e,r,u,o,a,l){if(e!==u||r!==o){var c=a.push("translate(",null,t,null,n);l.push({i:c-4,x:(0,i.default)(e,u)},{i:c-2,x:(0,i.default)(r,o)})}else(u||o)&&a.push("translate("+u+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,l,c),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(u(n)+"rotate(",null,r)-2,x:(0,i.default)(e,t)})):t&&n.push(u(n)+"rotate("+t+r)}(o.rotate,a.rotate,l,c),function(e,t,n,o){e!==t?o.push({i:n.push(u(n)+"skewX(",null,r)-2,x:(0,i.default)(e,t)}):t&&n.push(u(n)+"skewX("+t+r)}(o.skewX,a.skewX,l,c),function(e,t,n,r,o,a){if(e!==n||t!==r){var l=o.push(u(o)+"scale(",null,",",null,")");a.push({i:l-4,x:(0,i.default)(e,n)},{i:l-2,x:(0,i.default)(t,r)})}else 1===n&&1===r||o.push(u(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,l,c),o=a=null,function(e){for(var t,n=-1,r=c.length;++n=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?r.init:r.set;return function(){var r=o(this,e),a=r.on;a!==u&&(i=(u=a).copy()).on(t,n),r.on=i}}(n,e,t))};var r=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=(0,u.selector)(e));for(var r=this._groups,l=r.length,c=new Array(l),f=0;fu.SCHEDULED&&n.name===t)return new r.Transition([[e]],i,t,+o);return null};var r=n(10),u=n(6),i=[null]},function(e,t,n){"use strict";var r=n(1),u=o(n(267)),i=o(n(268));function o(e){return e&&e.__esModule?e:{default:e}}r.selection.prototype.interrupt=u.default,r.selection.prototype.transition=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.each(function(){(0,i.default)(this,e)})};var r,u=n(119),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;e instanceof u.Transition?(t=e._id,e=e._name):(t=(0,u.newId)(),(n=c).time=(0,l.now)(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a1e-6)if(Math.abs(s*l-c*f)>1e-6&&i){var h=n-o,p=u-a,_=l*l+c*c,v=h*h+p*p,y=Math.sqrt(_),b=Math.sqrt(d),g=i*Math.tan((r-Math.acos((_+d-v)/(2*y*b)))/2),m=g/b,M=g/y;Math.abs(m-1)>1e-6&&(this._+="L"+(e+m*f)+","+(t+m*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>f*p)+","+(this._x1=e+M*l)+","+(this._y1=t+M*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,a,l){e=+e,t=+t;var c=(n=+n)*Math.cos(o),f=n*Math.sin(o),s=e+c,d=t+f,h=1^l,p=l?o-a:a-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+d:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+s+","+d),n&&(p<0&&(p=p%u+u),p>i?this._+="A"+n+","+n+",0,1,"+h+","+(e-c)+","+(t-f)+"A"+n+","+n+",0,1,"+h+","+(this._x1=s)+","+(this._y1=d):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+h+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n,r=[],u=[];function f(n,u,o,a){if(u>=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,c,s,d=-1,h=n.length,p=r[u++],_=(0,i.default)(),v=o();++dr.length)return n;var o,a=u[i-1];return null!=t&&i>=r.length?o=n.entries():(o=[],n.each(function(t,n){o.push({key:n,values:e(t,i)})})),null!=a?o.sort(function(e,t){return a(e.key,t.key)}):o}(f(e,0,l,c),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return u[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}};var r,u=n(64),i=(r=u)&&r.__esModule?r:{default:r};function o(){return{}}function a(e,t,n){e[t]=n}function l(){return(0,i.default)()}function c(e,t,n){e.set(t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(64);function i(){}var o=((r=u)&&r.__esModule?r:{default:r}).default.prototype;function a(e,t){var n=new i;if(e instanceof i)e.each(function(e){n.add(e)});else if(e){var r=-1,u=e.length;if(null==t)for(;++rd+c||rh+c||if.index){var s=d-a.x-a.vx,v=h-a.y-a.vy,y=s*s+v*v;ye.r&&(e.r=e[t].r)}function d(){if(t){var r,u,i=t.length;for(n=new Array(i),r=0;r=(i=(_+y)/2))?_=i:y=i,(f=n>=(o=(v+b)/2))?v=o:b=o,u=h,!(h=h[s=f<<1|c]))return u[s]=p,e;if(a=+e._x.call(null,h.data),l=+e._y.call(null,h.data),t===a&&n===l)return p.next=h,u?u[s]=p:e._root=p,e;do{u=u?u[s]=new Array(4):e._root=new Array(4),(c=t>=(i=(_+y)/2))?_=i:y=i,(f=n>=(o=(v+b)/2))?v=o:b=o}while((s=f<<1|c)==(d=(l>=o)<<1|a>=i));return u[d]=h,u[s]=p,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return r(this.cover(t,n),t,n,e)},t.addAll=function(e){var t,n,u,i,o=e.length,a=new Array(o),l=new Array(o),c=1/0,f=1/0,s=-1/0,d=-1/0;for(n=0;ns&&(s=u),id&&(d=i));se||e>u||r>t||t>i))return this;var o,a,l=u-n,c=this._root;switch(a=(t<(r+i)/2)<<1|e<(n+u)/2){case 0:do{(o=new Array(4))[a]=c,c=o}while(i=r+(l*=2),e>(u=n+l)||t>i);break;case 1:do{(o=new Array(4))[a]=c,c=o}while(i=r+(l*=2),(n=u-l)>e||t>i);break;case 2:do{(o=new Array(4))[a]=c,c=o}while(r=i-(l*=2),e>(u=n+l)||r>t);break;case 3:do{(o=new Array(4))[a]=c,c=o}while(r=i-(l*=2),(n=u-l)>e||r>t)}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=u,this._y1=i,this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,u,o,a,l,c,f,s=this._x0,d=this._y0,h=this._x1,p=this._y1,_=[],v=this._root;for(v&&_.push(new i.default(v,s,d,h,p)),null==n?n=1/0:(s=e-n,d=t-n,h=e+n,p=t+n,n*=n);c=_.pop();)if(!(!(v=c.node)||(u=c.x0)>h||(o=c.y0)>p||(a=c.x1)=b)<<1|e>=y)&&(c=_[_.length-1],_[_.length-1]=_[_.length-1-f],_[_.length-1-f]=c)}else{var g=e-+this._x.call(null,v.data),m=t-+this._y.call(null,v.data),M=g*g+m*m;if(M=(a=(p+v)/2))?p=a:v=a,(f=o>=(l=(_+y)/2))?_=l:y=l,t=h,!(h=h[s=f<<1|c]))return this;if(!h.length)break;(t[s+1&3]||t[s+2&3]||t[s+3&3])&&(n=t,d=s)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(u=h.next)&&delete h.next,r?(u?r.next=u:delete r.next,this):t?(u?t[s]=u:delete t[s],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=u,this)},t.removeAll=function(e){for(var t=0,n=e.length;t=f)){(e.data!==t||e.next)&&(0===l&&(p+=(l=(0,u.default)())*l),0===d&&(p+=(d=(0,u.default)())*d),p0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),i.push(n.substring(u-=a,u+a)),!((l+=a+1)>r));)a=e[o=(o+1)%e.length];return i.reverse().join(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e:for(var n,r=(e=e.toPrecision(t)).length,u=1,i=-1;u0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e,t);if(!n)return e+"";var r=n[0],u=n[1];return u<0?"0."+new Array(-u).join("0")+r:r.length>u+1?r.slice(0,u+1)+"."+r.slice(u+1):r+new Array(u-r.length+2).join("0")};var r,u=n(71),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max(0,-(0,i.default)(Math.abs(e)))};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,i.default)(t)/3)))-(0,i.default)(Math.abs(e)))};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,i.default)(t)-(0,i.default)(e))+1};var r,u=n(38),i=(r=u)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(127);Object.defineProperty(t,"geoArea",{enumerable:!0,get:function(){return q(r).default}});var u=n(326);Object.defineProperty(t,"geoBounds",{enumerable:!0,get:function(){return q(u).default}});var i=n(327);Object.defineProperty(t,"geoCentroid",{enumerable:!0,get:function(){return q(i).default}});var o=n(128);Object.defineProperty(t,"geoCircle",{enumerable:!0,get:function(){return q(o).default}});var a=n(130);Object.defineProperty(t,"geoClipAntimeridian",{enumerable:!0,get:function(){return q(a).default}});var l=n(136);Object.defineProperty(t,"geoClipCircle",{enumerable:!0,get:function(){return q(l).default}});var c=n(329);Object.defineProperty(t,"geoClipExtent",{enumerable:!0,get:function(){return q(c).default}});var f=n(40);Object.defineProperty(t,"geoClipRectangle",{enumerable:!0,get:function(){return q(f).default}});var s=n(331);Object.defineProperty(t,"geoContains",{enumerable:!0,get:function(){return q(s).default}});var d=n(137);Object.defineProperty(t,"geoDistance",{enumerable:!0,get:function(){return q(d).default}});var h=n(332);Object.defineProperty(t,"geoGraticule",{enumerable:!0,get:function(){return q(h).default}}),Object.defineProperty(t,"geoGraticule10",{enumerable:!0,get:function(){return h.graticule10}});var p=n(333);Object.defineProperty(t,"geoInterpolate",{enumerable:!0,get:function(){return q(p).default}});var _=n(138);Object.defineProperty(t,"geoLength",{enumerable:!0,get:function(){return q(_).default}});var v=n(334);Object.defineProperty(t,"geoPath",{enumerable:!0,get:function(){return q(v).default}});var y=n(140);Object.defineProperty(t,"geoAlbers",{enumerable:!0,get:function(){return q(y).default}});var b=n(342);Object.defineProperty(t,"geoAlbersUsa",{enumerable:!0,get:function(){return q(b).default}});var g=n(343);Object.defineProperty(t,"geoAzimuthalEqualArea",{enumerable:!0,get:function(){return q(g).default}}),Object.defineProperty(t,"geoAzimuthalEqualAreaRaw",{enumerable:!0,get:function(){return g.azimuthalEqualAreaRaw}});var m=n(344);Object.defineProperty(t,"geoAzimuthalEquidistant",{enumerable:!0,get:function(){return q(m).default}}),Object.defineProperty(t,"geoAzimuthalEquidistantRaw",{enumerable:!0,get:function(){return m.azimuthalEquidistantRaw}});var M=n(345);Object.defineProperty(t,"geoConicConformal",{enumerable:!0,get:function(){return q(M).default}}),Object.defineProperty(t,"geoConicConformalRaw",{enumerable:!0,get:function(){return M.conicConformalRaw}});var P=n(73);Object.defineProperty(t,"geoConicEqualArea",{enumerable:!0,get:function(){return q(P).default}}),Object.defineProperty(t,"geoConicEqualAreaRaw",{enumerable:!0,get:function(){return P.conicEqualAreaRaw}});var O=n(346);Object.defineProperty(t,"geoConicEquidistant",{enumerable:!0,get:function(){return q(O).default}}),Object.defineProperty(t,"geoConicEquidistantRaw",{enumerable:!0,get:function(){return O.conicEquidistantRaw}});var j=n(141);Object.defineProperty(t,"geoEquirectangular",{enumerable:!0,get:function(){return q(j).default}}),Object.defineProperty(t,"geoEquirectangularRaw",{enumerable:!0,get:function(){return j.equirectangularRaw}});var x=n(347);Object.defineProperty(t,"geoGnomonic",{enumerable:!0,get:function(){return q(x).default}}),Object.defineProperty(t,"geoGnomonicRaw",{enumerable:!0,get:function(){return x.gnomonicRaw}});var w=n(348);Object.defineProperty(t,"geoIdentity",{enumerable:!0,get:function(){return q(w).default}});var E=n(8);Object.defineProperty(t,"geoProjection",{enumerable:!0,get:function(){return q(E).default}}),Object.defineProperty(t,"geoProjectionMutator",{enumerable:!0,get:function(){return E.projectionMutator}});var S=n(76);Object.defineProperty(t,"geoMercator",{enumerable:!0,get:function(){return q(S).default}}),Object.defineProperty(t,"geoMercatorRaw",{enumerable:!0,get:function(){return S.mercatorRaw}});var k=n(349);Object.defineProperty(t,"geoNaturalEarth1",{enumerable:!0,get:function(){return q(k).default}}),Object.defineProperty(t,"geoNaturalEarth1Raw",{enumerable:!0,get:function(){return k.naturalEarth1Raw}});var T=n(350);Object.defineProperty(t,"geoOrthographic",{enumerable:!0,get:function(){return q(T).default}}),Object.defineProperty(t,"geoOrthographicRaw",{enumerable:!0,get:function(){return T.orthographicRaw}});var N=n(351);Object.defineProperty(t,"geoStereographic",{enumerable:!0,get:function(){return q(N).default}}),Object.defineProperty(t,"geoStereographicRaw",{enumerable:!0,get:function(){return N.stereographicRaw}});var C=n(352);Object.defineProperty(t,"geoTransverseMercator",{enumerable:!0,get:function(){return q(C).default}}),Object.defineProperty(t,"geoTransverseMercatorRaw",{enumerable:!0,get:function(){return C.transverseMercatorRaw}});var A=n(39);Object.defineProperty(t,"geoRotation",{enumerable:!0,get:function(){return q(A).default}});var R=n(14);Object.defineProperty(t,"geoStream",{enumerable:!0,get:function(){return q(R).default}});var z=n(41);function q(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"geoTransform",{enumerable:!0,get:function(){return q(z).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,u,i,o,l;if(d=s=-(c=f=1/0),y=[],(0,a.default)(e,m),n=y.length){for(y.sort(k),t=1,i=[r=y[0]];tS(r[0],r[1])&&(r[1]=u[1]),S(u[0],r[1])>S(r[0],r[1])&&(r[0]=u[0])):i.push(r=u);for(o=-1/0,t=0,r=i[n=i.length-1];t<=n;r=u,++t)u=i[t],(l=S(r[1],u[0]))>o&&(o=l,c=u[0],s=r[1])}return y=b=null,c===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,f],[s,d]]};var r=l(n(19)),u=n(127),i=n(24),o=n(0),a=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}var c,f,s,d,h,p,_,v,y,b,g=(0,r.default)(),m={point:M,lineStart:O,lineEnd:j,polygonStart:function(){m.point=x,m.lineStart=w,m.lineEnd=E,g.reset(),u.areaStream.polygonStart()},polygonEnd:function(){u.areaStream.polygonEnd(),m.point=M,m.lineStart=O,m.lineEnd=j,u.areaRingSum<0?(c=-(s=180),f=-(d=90)):g>o.epsilon?d=90:g<-o.epsilon&&(f=-90),b[0]=c,b[1]=s}};function M(e,t){y.push(b=[c=e,s=e]),td&&(d=t)}function P(e,t){var n=(0,i.cartesian)([e*o.radians,t*o.radians]);if(v){var r=(0,i.cartesianCross)(v,n),u=[r[1],-r[0],0],a=(0,i.cartesianCross)(u,r);(0,i.cartesianNormalizeInPlace)(a),a=(0,i.spherical)(a);var l,p=e-h,_=p>0?1:-1,g=a[0]*o.degrees*_,m=(0,o.abs)(p)>180;m^(_*hd&&(d=l):m^(_*h<(g=(g+360)%360-180)&&g<_*e)?(l=-a[1]*o.degrees)d&&(d=t)),m?eS(c,s)&&(s=e):S(e,s)>S(c,s)&&(c=e):s>=c?(es&&(s=e)):e>h?S(c,e)>S(c,s)&&(s=e):S(e,s)>S(c,s)&&(c=e)}else y.push(b=[c=e,s=e]);td&&(d=t),v=n,h=e}function O(){m.point=P}function j(){b[0]=c,b[1]=s,m.point=M,v=null}function x(e,t){if(v){var n=e-h;g.add((0,o.abs)(n)>180?n+(n>0?360:-360):n)}else p=e,_=t;u.areaStream.point(e,t),P(e,t)}function w(){u.areaStream.lineStart()}function E(){x(p,_),u.areaStream.lineEnd(),(0,o.abs)(g)>o.epsilon&&(c=-(s=180)),b[0]=c,b[1]=s,v=null}function S(e,t){return(t-=e)<0?t+360:t}function k(e,t){return e[0]-t[0]}function T(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t0)){if(o/=s,s<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=u-a,s||!(o<0)){if(o/=s,s<0){if(o>f)return;o>c&&(c=o)}else if(s>0){if(o0)){if(o/=d,d<0){if(o0){if(o>f)return;o>c&&(c=o)}if(o=i-l,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>c&&(c=o)}else if(d>0){if(o0&&(e[0]=a+c*s,e[1]=l+c*d),f<1&&(t[0]=a+f*s,t[1]=l+f*d),!0}}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e&&a.hasOwnProperty(e.type)?a[e.type]:c)(e,t)};var r=o(n(135)),u=o(n(137)),i=n(0);function o(e){return e&&e.__esModule?e:{default:e}}var a={Feature:function(e,t){return c(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,u=n.length;++ru.epsilon}).map(d)).concat((0,r.range)((0,u.ceil)(c/y)*y,l,y).filter(function(e){return(0,u.abs)(e%g)>u.epsilon}).map(h))}return M.lines=function(){return P().map(function(e){return{type:"LineString",coordinates:e}})},M.outline=function(){return{type:"Polygon",coordinates:[p(a).concat(_(f).slice(1),p(n).reverse().slice(1),_(s).reverse().slice(1))]}},M.extent=function(e){return arguments.length?M.extentMajor(e).extentMinor(e):M.extentMinor()},M.extentMajor=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],s=+e[0][1],f=+e[1][1],a>n&&(e=a,a=n,n=e),s>f&&(e=s,s=f,f=e),M.precision(m)):[[a,s],[n,f]]},M.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],c=+n[0][1],l=+n[1][1],t>e&&(n=t,t=e,e=n),c>l&&(n=c,c=l,l=n),M.precision(m)):[[t,c],[e,l]]},M.step=function(e){return arguments.length?M.stepMajor(e).stepMinor(e):M.stepMinor()},M.stepMajor=function(e){return arguments.length?(b=+e[0],g=+e[1],M):[b,g]},M.stepMinor=function(e){return arguments.length?(v=+e[0],y=+e[1],M):[v,y]},M.precision=function(r){return arguments.length?(m=+r,d=i(c,l,90),h=o(t,e,m),p=i(s,f,90),_=o(a,n,m),M):m},M.extentMajor([[-180,-90+u.epsilon],[180,90-u.epsilon]]).extentMinor([[-180,-80-u.epsilon],[180,80+u.epsilon]])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e[0]*r.radians,u=e[1]*r.radians,i=t[0]*r.radians,o=t[1]*r.radians,a=(0,r.cos)(u),l=(0,r.sin)(u),c=(0,r.cos)(o),f=(0,r.sin)(o),s=a*(0,r.cos)(n),d=a*(0,r.sin)(n),h=c*(0,r.cos)(i),p=c*(0,r.sin)(i),_=2*(0,r.asin)((0,r.sqrt)((0,r.haversin)(o-u)+a*c*(0,r.haversin)(i-n))),v=(0,r.sin)(_),y=_?function(e){var t=(0,r.sin)(e*=_)/v,n=(0,r.sin)(_-e)/v,u=n*s+t*h,i=n*d+t*p,o=n*l+t*f;return[(0,r.atan2)(i,u)*r.degrees,(0,r.atan2)(o,(0,r.sqrt)(u*u+i*i))*r.degrees]}:function(){return[n*r.degrees,u*r.degrees]};return y.distance=_,y};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,s,d=4.5;function h(e){return e&&("function"==typeof d&&s.pointRadius(+d.apply(this,arguments)),(0,u.default)(e,n(s))),s.result()}return h.area=function(e){return(0,u.default)(e,n(i.default)),i.default.result()},h.measure=function(e){return(0,u.default)(e,n(c.default)),c.default.result()},h.bounds=function(e){return(0,u.default)(e,n(o.default)),o.default.result()},h.centroid=function(e){return(0,u.default)(e,n(a.default)),a.default.result()},h.projection=function(t){return arguments.length?(n=null==t?(e=null,r.default):(e=t).stream,h):e},h.context=function(e){return arguments.length?(s=null==e?(t=null,new f.default):new l.default(t=e),"function"!=typeof d&&s.pointRadius(d),h):t},h.pointRadius=function(e){return arguments.length?(d="function"==typeof e?e:(s.pointRadius(+e),+e),h):d},h.projection(e).context(t)};var r=s(n(72)),u=s(n(14)),i=s(n(335)),o=s(n(139)),a=s(n(336)),l=s(n(337)),c=s(n(338)),f=s(n(339));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(19)),u=n(0),i=o(n(11));function o(e){return e&&e.__esModule?e:{default:e}}var a,l,c,f,s=(0,r.default)(),d=(0,r.default)(),h={point:i.default,lineStart:i.default,lineEnd:i.default,polygonStart:function(){h.lineStart=p,h.lineEnd=y},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=i.default,s.add((0,u.abs)(d)),d.reset()},result:function(){var e=s/2;return s.reset(),e}};function p(){h.point=_}function _(e,t){h.point=v,a=c=e,l=f=t}function v(e,t){d.add(f*e-c*t),c=e,f=t}function y(){v(a,l)}t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u,i,o,a=n(0),l=0,c=0,f=0,s=0,d=0,h=0,p=0,_=0,v=0,y={point:b,lineStart:g,lineEnd:P,polygonStart:function(){y.lineStart=O,y.lineEnd=j},polygonEnd:function(){y.point=b,y.lineStart=g,y.lineEnd=P},result:function(){var e=v?[p/v,_/v]:h?[s/h,d/h]:f?[l/f,c/f]:[NaN,NaN];return l=c=f=s=d=h=p=_=v=0,e}};function b(e,t){l+=e,c+=t,++f}function g(){y.point=m}function m(e,t){y.point=M,b(i=e,o=t)}function M(e,t){var n=e-i,r=t-o,u=(0,a.sqrt)(n*n+r*r);s+=u*(i+e)/2,d+=u*(o+t)/2,h+=u,b(i=e,o=t)}function P(){y.point=b}function O(){y.point=x}function j(){w(r,u)}function x(e,t){y.point=w,b(r=i=e,u=o=t)}function w(e,t){var n=e-i,r=t-o,u=(0,a.sqrt)(n*n+r*r);s+=u*(i+e)/2,d+=u*(o+t)/2,h+=u,p+=(u=o*e-i*t)*(i+e),_+=u*(o+t),v+=3*u,b(i=e,o=t)}t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r,u=n(0),i=n(11),o=(r=i)&&r.__esModule?r:{default:r};function a(e){this._context=e}a.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,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(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,u.tau)}},result:o.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(19)),u=n(0),i=o(n(11));function o(e){return e&&e.__esModule?e:{default:e}}var a,l,c,f,s,d=(0,r.default)(),h={point:i.default,lineStart:function(){h.point=p},lineEnd:function(){a&&_(l,c),h.point=i.default},polygonStart:function(){a=!0},polygonEnd:function(){a=null},result:function(){var e=+d;return d.reset(),e}};function p(e,t){h.point=_,l=f=e,c=s=t}function _(e,t){f-=e,s-=t,d.add((0,u.sqrt)(f*f+s*s)),f=e,s=t}t.default=h},function(e,t,n){"use strict";function r(){this._string=[]}function u(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={_radius:4.5,_circle:u(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,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(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=u(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return+t?function(e,t){function n(r,i,o,l,c,f,s,d,h,p,_,v,y,b){var g=s-r,m=d-i,M=g*g+m*m;if(M>4*t&&y--){var P=l+p,O=c+_,j=f+v,x=(0,u.sqrt)(P*P+O*O+j*j),w=(0,u.asin)(j/=x),E=(0,u.abs)((0,u.abs)(j)-1)t||(0,u.abs)((g*N+m*C)/M-.5)>.3||l*p+c*_+f*v=.12&&u<.234&&r>=-.425&&r<-.214?s:u>=.166&&u<.234&&r>=-.214&&r<-.115?d:f).invert(e)},p.stream=function(n){return e&&t===n?e:(r=[f.stream(t=n),s.stream(n),d.stream(n)],u=r.length,e={point:function(e,t){for(var n=-1;++n0?t<-r.halfPi+r.epsilon&&(t=-r.halfPi+r.epsilon):t>r.halfPi-r.epsilon&&(t=r.halfPi-r.epsilon);var n=a/(0,r.pow)(o(t),u);return[n*(0,r.sin)(u*e),a-n*(0,r.cos)(u*e)]}return l.invert=function(e,t){var n=a-t,i=(0,r.sign)(u)*(0,r.sqrt)(e*e+n*n);return[(0,r.atan2)(e,(0,r.abs)(n))/u*(0,r.sign)(n),2*(0,r.atan)((0,r.pow)(a/i,1/u))-r.halfPi]},l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conicEquidistantRaw=o,t.default=function(){return(0,u.conicProjection)(o).scale(131.154).center([0,13.9389])};var r=n(0),u=n(74),i=n(141);function o(e,t){var n=(0,r.cos)(e),u=e===t?(0,r.sin)(e):(n-(0,r.cos)(t))/(t-e),o=n/u+e;if((0,r.abs)(u)o.epsilon&&--u>0);return[e/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orthographicRaw=l,t.default=function(){return(0,a.default)(l).scale(249.5).clipAngle(90+u.epsilon)};var r,u=n(0),i=n(25),o=n(8),a=(r=o)&&r.__esModule?r:{default:r};function l(e,t){return[(0,u.cos)(t)*(0,u.sin)(e),(0,u.sin)(t)]}l.invert=(0,i.azimuthalInvert)(u.asin)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stereographicRaw=l,t.default=function(){return(0,a.default)(l).scale(250).clipAngle(142)};var r,u=n(0),i=n(25),o=n(8),a=(r=o)&&r.__esModule?r:{default:r};function l(e,t){var n=(0,u.cos)(t),r=1+(0,u.cos)(e)*n;return[n*(0,u.sin)(e)/r,(0,u.sin)(t)/r]}l.invert=(0,i.azimuthalInvert)(function(e){return 2*(0,u.atan)(e)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transverseMercatorRaw=i,t.default=function(){var e=(0,u.mercatorProjection)(i),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)};var r=n(0),u=n(76);function i(e,t){return[(0,r.log)((0,r.tan)((r.halfPi+t)/2)),-e]}i.invert=function(e,t){return[-t,2*(0,r.atan)((0,r.exp)(e))-r.halfPi]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(354);Object.defineProperty(t,"cluster",{enumerable:!0,get:function(){return b(r).default}});var u=n(77);Object.defineProperty(t,"hierarchy",{enumerable:!0,get:function(){return b(u).default}});var i=n(366);Object.defineProperty(t,"pack",{enumerable:!0,get:function(){return b(i).default}});var o=n(142);Object.defineProperty(t,"packSiblings",{enumerable:!0,get:function(){return b(o).default}});var a=n(143);Object.defineProperty(t,"packEnclose",{enumerable:!0,get:function(){return b(a).default}});var l=n(368);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return b(l).default}});var c=n(369);Object.defineProperty(t,"stratify",{enumerable:!0,get:function(){return b(c).default}});var f=n(370);Object.defineProperty(t,"tree",{enumerable:!0,get:function(){return b(f).default}});var s=n(371);Object.defineProperty(t,"treemap",{enumerable:!0,get:function(){return b(s).default}});var d=n(372);Object.defineProperty(t,"treemapBinary",{enumerable:!0,get:function(){return b(d).default}});var h=n(26);Object.defineProperty(t,"treemapDice",{enumerable:!0,get:function(){return b(h).default}});var p=n(42);Object.defineProperty(t,"treemapSlice",{enumerable:!0,get:function(){return b(p).default}});var _=n(373);Object.defineProperty(t,"treemapSliceDice",{enumerable:!0,get:function(){return b(_).default}});var v=n(79);Object.defineProperty(t,"treemapSquarify",{enumerable:!0,get:function(){return b(v).default}});var y=n(374);function b(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"treemapResquarify",{enumerable:!0,get:function(){return b(y).default}})},function(e,t,n){"use strict";function r(e,t){return e.parent===t.parent?1:2}function u(e,t){return e+t.x}function i(e,t){return Math.max(e,t.y)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=r,t=1,n=1,o=!1;function a(r){var a,l=0;r.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(u,0)/e.length}(n),t.y=function(e){return 1+e.reduce(i,0)}(n)):(t.x=a?l+=e(t,a):0,t.y=0,a=t)});var c=function(e){var t;for(;t=e.children;)e=t[0];return e}(r),f=function(e){var t;for(;t=e.children;)e=t[t.length-1];return e}(r),s=c.x-e(c,f)/2,d=f.x+e(f,c)/2;return r.eachAfter(o?function(e){e.x=(e.x-r.x)*t,e.y=(r.y-e.y)*n}:function(e){e.x=(e.x-s)/(d-s)*t,e.y=(1-(r.y?e.y/r.y:1))*n})}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(o=!1,t=+e[0],n=+e[1],a):o?null:[t,n]},a.nodeSize=function(e){return arguments.length?(o=!0,t=+e[0],n=+e[1],a):o?[t,n]:null},a}},function(e,t,n){"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.eachAfter(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,u,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),n=i.children)for(r=0,u=n.length;r=0;--n)u.push(t[n]);return this}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r,u=this,i=[u],o=[];u=i.pop();)if(o.push(u),t=u.children)for(n=0,r=t.length;n=0;)n+=r[u].value;t.value=n})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),u=null;e=n.pop(),t=r.pop();for(;e===t;)u=e,e=n.pop(),t=r.pop();return u}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var u=r.length;e!==n;)r.splice(u,0,e),e=e.parent;return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.each(function(t){e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null,t=1,n=1,r=o.constantZero;function u(u){return u.x=t/2,u.y=n/2,e?u.eachBefore(c(e)).eachAfter(f(r,.5)).eachBefore(s(1)):u.eachBefore(c(l)).eachAfter(f(o.constantZero,1)).eachAfter(f(r,u.r/Math.min(t,n))).eachBefore(s(Math.min(t,n)/(2*u.r))),u}return u.radius=function(t){return arguments.length?(e=(0,i.optional)(t),u):e},u.size=function(e){return arguments.length?(t=+e[0],n=+e[1],u):[t,n]},u.padding=function(e){return arguments.length?(r="function"==typeof e?e:(0,a.default)(+e),u):r},u};var r,u=n(142),i=n(78),o=n(144),a=(r=o)&&r.__esModule?r:{default:r};function l(e){return Math.sqrt(e.value)}function c(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function f(e,t){return function(n){if(r=n.children){var r,i,o,a=r.length,l=e(n)*t||0;if(l)for(i=0;i0)throw new Error("cycle");return c}return n.id=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n.parentId=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n};var r=n(78),u=n(77),i="$",o={depth:-1},a={};function l(e){return e.id}function c(e){return e.parentId}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u,t=1,n=1,r=null;function f(u){var i=function(e){var t,n,r,u,i,o=new c(e,0),a=[o];for(;t=a.pop();)if(r=t._.children)for(t.children=new Array(i=r.length),u=i-1;u>=0;--u)a.push(n=t.children[u]=new c(r[u],u)),n.parent=t;return(o.parent=new c(null,0)).children=[o],o}(u);if(i.eachAfter(s),i.parent.m=-i.z,i.eachBefore(d),r)u.eachBefore(h);else{var o=u,a=u,l=u;u.eachBefore(function(e){e.xa.x&&(a=e),e.depth>l.depth&&(l=e)});var f=o===a?1:e(o,a)/2,p=f-o.x,_=t/(a.x+f+p),v=n/(l.depth||1);u.eachBefore(function(e){e.x=(e.x+p)*_,e.y=e.depth*v})}return u}function s(t){var n=t.children,r=t.parent.children,u=t.i?r[t.i-1]:null;if(n){!function(e){var t,n=0,r=0,u=e.children,i=u.length;for(;--i>=0;)(t=u[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var c=(n[0].z+n[n.length-1].z)/2;u?(t.z=u.z+e(t._,u._),t.m=t.z-c):t.z=c}else u&&(t.z=u.z+e(t._,u._));t.parent.A=function(t,n,r){if(n){for(var u,c=t,f=t,s=n,d=c.parent.children[0],h=c.m,p=f.m,_=s.m,v=d.m;s=o(s),c=i(c),s&&c;)d=i(d),(f=o(f)).a=t,(u=s.z+_-c.z-h+e(s._,c._))>0&&(a(l(s,t,r),t,u),h+=u,p+=u),_+=s.m,h+=c.m,v+=d.m,p+=f.m;s&&!o(f)&&(f.t=s,f.m+=_-p),c&&!i(d)&&(d.t=c,d.m+=h-v,r=t)}return r}(t,u,t.parent.A||r[0])}function d(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function h(e){e.x*=t,e.y=e.depth*n}return f.separation=function(t){return arguments.length?(e=t,f):e},f.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],f):r?null:[t,n]},f.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],f):r?[t,n]:null},f};var r=n(77);function u(e,t){return e.parent===t.parent?1:2}function i(e){var t=e.children;return t?t[0]:e.t}function o(e){var t=e.children;return t?t[t.length-1]:e.t}function a(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function l(e,t,n){return e.a.parent===t.parent?e.a:n}function c(e,t){this._=e,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=t}c.prototype=Object.create(r.Node.prototype)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u.default,t=!1,n=1,l=1,c=[0],f=o.constantZero,s=o.constantZero,d=o.constantZero,h=o.constantZero,p=o.constantZero;function _(e){return e.x0=e.y0=0,e.x1=n,e.y1=l,e.eachBefore(v),c=[0],t&&e.eachBefore(r.default),e}function v(t){var n=c[t.depth],r=t.x0+n,u=t.y0+n,i=t.x1-n,o=t.y1-n;i=n-1){var f=a[t];return f.x0=u,f.y0=i,f.x1=o,void(f.y1=l)}var s=c[t],d=r/2+s,h=t+1,p=n-1;for(;h>>1;c[_]l-i){var b=(u*y+o*v)/r;e(t,h,v,u,i,b,l),e(h,n,y,b,i,o,l)}else{var g=(i*y+l*v)/r;e(t,h,v,u,i,o,g),e(h,n,y,u,g,o,l)}}(0,l,e.value,t,n,r,u)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i,o){(1&e.depth?u.default:r.default)(e,t,n,i,o)};var r=i(n(26)),u=i(n(42));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(26)),u=o(n(42)),i=n(79);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e,n,o,a,l){if((c=e._squarify)&&c.ratio===t)for(var c,f,s,d,h,p=-1,_=c.length,v=e.value;++p<_;){for(s=(f=c[p]).children,d=f.value=0,h=s.length;d1?t:1)},n}(i.phi)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(376);Object.defineProperty(t,"polygonArea",{enumerable:!0,get:function(){return l(r).default}});var u=n(377);Object.defineProperty(t,"polygonCentroid",{enumerable:!0,get:function(){return l(u).default}});var i=n(378);Object.defineProperty(t,"polygonHull",{enumerable:!0,get:function(){return l(i).default}});var o=n(380);Object.defineProperty(t,"polygonContains",{enumerable:!0,get:function(){return l(o).default}});var a=n(381);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"polygonLength",{enumerable:!0,get:function(){return l(a).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n=-1,r=e.length,u=e[r-1],i=0;++n=0;--t)s.push(e[r[i[t]][2]]);for(t=+c;t1&&(0,i.default)(e[n[r-2]],e[n[r-1]],e[u])<=0;)--r;n[r++]=u}return n.slice(0,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n,r,u=e.length,i=e[u-1],o=t[0],a=t[1],l=i[0],c=i[1],f=!1,s=0;sa!=c>a&&o<(l-n)*(a-r)/(c-r)+n&&(f=!f),l=n,c=r;return f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t,n,r=-1,u=e.length,i=e[u-1],o=i[0],a=i[1],l=0;++r=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(t){}e._active=NaN,c(e)}function c(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function f(e){if(null==e)e=1/0;else if(!((e=+e)>=1))throw new Error("invalid concurrency");return new i(e)}i.prototype=f.prototype={constructor:i,defer:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var t=r.slice.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),o(this),this},abort:function(){return null==this._error&&l(this,new Error("abort")),this},await:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(t,n){e.apply(null,[t].concat(n))},c(this),this},awaitAll:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=e,c(this),this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.slice=[].slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(386);Object.defineProperty(t,"randomUniform",{enumerable:!0,get:function(){return c(r).default}});var u=n(146);Object.defineProperty(t,"randomNormal",{enumerable:!0,get:function(){return c(u).default}});var i=n(387);Object.defineProperty(t,"randomLogNormal",{enumerable:!0,get:function(){return c(i).default}});var o=n(388);Object.defineProperty(t,"randomBates",{enumerable:!0,get:function(){return c(o).default}});var a=n(147);Object.defineProperty(t,"randomIrwinHall",{enumerable:!0,get:function(){return c(a).default}});var l=n(389);function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"randomExponential",{enumerable:!0,get:function(){return c(l).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(20)),u=i(n(146));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(){var e=u.default.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(20)),u=i(n(147));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){function n(e){var n=u.default.source(t)(e);return function(){return n()/e}}return n.source=e,n}(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(20),i=(r=u)&&r.__esModule?r:{default:r};t.default=function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"request",{enumerable:!0,get:function(){return f(r).default}});var u=n(391);Object.defineProperty(t,"html",{enumerable:!0,get:function(){return f(u).default}});var i=n(392);Object.defineProperty(t,"json",{enumerable:!0,get:function(){return f(i).default}});var o=n(393);Object.defineProperty(t,"text",{enumerable:!0,get:function(){return f(o).default}});var a=n(394);Object.defineProperty(t,"xml",{enumerable:!0,get:function(){return f(a).default}});var l=n(395);Object.defineProperty(t,"csv",{enumerable:!0,get:function(){return f(l).default}});var c=n(396);function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"tsv",{enumerable:!0,get:function(){return f(c).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("application/json",function(e){return JSON.parse(e.responseText)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("text/plain",function(e){return e.responseText})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(43),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(65),i=n(148),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/csv",u.csvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(65),i=n(148),o=(r=i)&&r.__esModule?r:{default:r};t.default=(0,o.default)("text/tab-separated-values",u.tsvParse)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(398);Object.defineProperty(t,"scaleBand",{enumerable:!0,get:function(){return P(r).default}}),Object.defineProperty(t,"scalePoint",{enumerable:!0,get:function(){return r.point}});var u=n(399);Object.defineProperty(t,"scaleIdentity",{enumerable:!0,get:function(){return P(u).default}});var i=n(27);Object.defineProperty(t,"scaleLinear",{enumerable:!0,get:function(){return P(i).default}});var o=n(401);Object.defineProperty(t,"scaleLog",{enumerable:!0,get:function(){return P(o).default}});var a=n(149);Object.defineProperty(t,"scaleOrdinal",{enumerable:!0,get:function(){return P(a).default}}),Object.defineProperty(t,"scaleImplicit",{enumerable:!0,get:function(){return a.implicit}});var l=n(402);Object.defineProperty(t,"scalePow",{enumerable:!0,get:function(){return P(l).default}}),Object.defineProperty(t,"scaleSqrt",{enumerable:!0,get:function(){return l.sqrt}});var c=n(403);Object.defineProperty(t,"scaleQuantile",{enumerable:!0,get:function(){return P(c).default}});var f=n(404);Object.defineProperty(t,"scaleQuantize",{enumerable:!0,get:function(){return P(f).default}});var s=n(405);Object.defineProperty(t,"scaleThreshold",{enumerable:!0,get:function(){return P(s).default}});var d=n(152);Object.defineProperty(t,"scaleTime",{enumerable:!0,get:function(){return P(d).default}});var h=n(421);Object.defineProperty(t,"scaleUtc",{enumerable:!0,get:function(){return P(h).default}});var p=n(422);Object.defineProperty(t,"schemeCategory10",{enumerable:!0,get:function(){return P(p).default}});var _=n(423);Object.defineProperty(t,"schemeCategory20b",{enumerable:!0,get:function(){return P(_).default}});var v=n(424);Object.defineProperty(t,"schemeCategory20c",{enumerable:!0,get:function(){return P(v).default}});var y=n(425);Object.defineProperty(t,"schemeCategory20",{enumerable:!0,get:function(){return P(y).default}});var b=n(426);Object.defineProperty(t,"interpolateCubehelixDefault",{enumerable:!0,get:function(){return P(b).default}});var g=n(427);Object.defineProperty(t,"interpolateRainbow",{enumerable:!0,get:function(){return P(g).default}}),Object.defineProperty(t,"interpolateWarm",{enumerable:!0,get:function(){return g.warm}}),Object.defineProperty(t,"interpolateCool",{enumerable:!0,get:function(){return g.cool}});var m=n(428);Object.defineProperty(t,"interpolateViridis",{enumerable:!0,get:function(){return P(m).default}}),Object.defineProperty(t,"interpolateMagma",{enumerable:!0,get:function(){return m.magma}}),Object.defineProperty(t,"interpolateInferno",{enumerable:!0,get:function(){return m.inferno}}),Object.defineProperty(t,"interpolatePlasma",{enumerable:!0,get:function(){return m.plasma}});var M=n(429);function P(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"scaleSequential",{enumerable:!0,get:function(){return P(M).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.point=function(){return function e(t){var n=t.copy;t.padding=t.paddingOuter;delete t.paddingInner;delete t.paddingOuter;t.copy=function(){return e(n())};return t}(a().paddingInner(1))};var r,u=n(3),i=n(149),o=(r=i)&&r.__esModule?r:{default:r};function a(){var e,t,n=(0,o.default)().unknown(void 0),r=n.domain,i=n.range,l=[0,1],c=!1,f=0,s=0,d=.5;function h(){var n=r().length,o=l[1]0){for(;ha)break;v.push(s)}}else for(;h=1;--f)if(!((s=l*f)a)break;v.push(s)}}else v=(0,r.ticks)(h,p,Math.min(p-h,_)).map(d);return t?v.reverse():v};t.tickFormat=function(e,n){if(null==n&&(n=10===i?".0e":","),"function"!=typeof n&&(n=(0,u.format)(n)),e===1/0)return n;null==e&&(e=10);var r=Math.max(1,i*e/t.ticks().length);return function(e){var t=e/d(Math.round(c(e)));return t*i0?i[r-1]:t[0],r=o?[a[o-1],n]:[a[r-1],a[r]]};c.copy=function(){return e().domain([t,n]).range(l)};return(0,i.linearish)(c)};var r=n(3),u=n(15),i=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=[.5],n=[0,1],i=1;function o(e){if(e<=e)return n[(0,r.bisect)(t,e,0,i)]}o.domain=function(e){return arguments.length?(t=u.slice.call(e),i=Math.min(t.length,n.length-1),o):t.slice()};o.range=function(e){return arguments.length?(n=u.slice.call(e),i=Math.min(t.length,n.length-1),o):n.slice()};o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]};o.copy=function(){return e().domain(t).range(n)};return o};var r=n(3),u=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.milliseconds=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,i.default)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):o:null},t.default=o;t.milliseconds=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seconds=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setTime(Math.floor(e/o.durationSecond)*o.durationSecond)},function(e,t){e.setTime(+e+t*o.durationSecond)},function(e,t){return(t-e)/o.durationSecond},function(e){return e.getUTCSeconds()});t.default=a;t.seconds=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minutes=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setTime(Math.floor(e/o.durationMinute)*o.durationMinute)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getMinutes()});t.default=a;t.minutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hours=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){var t=e.getTimezoneOffset()*o.durationMinute%o.durationHour;t<0&&(t+=o.durationHour),e.setTime(Math.floor((+e-t)/o.durationHour)*o.durationHour+t)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getHours()});t.default=a;t.hours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.days=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationDay},function(e){return e.getDate()-1});t.default=a;t.days=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saturdays=t.fridays=t.thursdays=t.wednesdays=t.tuesdays=t.mondays=t.sundays=t.saturday=t.friday=t.thursday=t.wednesday=t.tuesday=t.monday=t.sunday=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);function a(e){return(0,i.default)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationWeek})}var l=t.sunday=a(0),c=t.monday=a(1),f=t.tuesday=a(2),s=t.wednesday=a(3),d=t.thursday=a(4),h=t.friday=a(5),p=t.saturday=a(6);t.sundays=l.range,t.mondays=c.range,t.tuesdays=f.range,t.wednesdays=s.range,t.thursdays=d.range,t.fridays=h.range,t.saturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.months=void 0;var r,u=n(2);var i=(0,((r=u)&&r.__esModule?r:{default:r}).default)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.default=i;t.months=i.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.years=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.default=o;t.years=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMinutes=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getUTCMinutes()});t.default=a;t.utcMinutes=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcHours=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getUTCHours()});t.default=a;t.utcHours=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcDays=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);var a=(0,i.default)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/o.durationDay},function(e){return e.getUTCDate()-1});t.default=a;t.utcDays=a.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcSaturdays=t.utcFridays=t.utcThursdays=t.utcWednesdays=t.utcTuesdays=t.utcMondays=t.utcSundays=t.utcSaturday=t.utcFriday=t.utcThursday=t.utcWednesday=t.utcTuesday=t.utcMonday=t.utcSunday=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r},o=n(9);function a(e){return(0,i.default)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/o.durationWeek})}var l=t.utcSunday=a(0),c=t.utcMonday=a(1),f=t.utcTuesday=a(2),s=t.utcWednesday=a(3),d=t.utcThursday=a(4),h=t.utcFriday=a(5),p=t.utcSaturday=a(6);t.utcSundays=l.range,t.utcMondays=c.range,t.utcTuesdays=f.range,t.utcWednesdays=s.range,t.utcThursdays=d.range,t.utcFridays=h.range,t.utcSaturdays=p.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMonths=void 0;var r,u=n(2);var i=(0,((r=u)&&r.__esModule?r:{default:r}).default)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.default=i;t.utcMonths=i.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcYears=void 0;var r,u=n(2),i=(r=u)&&r.__esModule?r:{default:r};var o=(0,i.default)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.default=o;t.utcYears=o.range},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(154),u=n(83);var i=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:(0,u.utcParse)(r.isoSpecifier);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.calendar)(i.utcYear,i.utcMonth,i.utcWeek,i.utcDay,i.utcHour,i.utcMinute,i.utcSecond,i.utcMillisecond,u.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};var r=n(152),u=n(82),i=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};t.default=(0,i.default)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),u=n(5);t.default=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(300,.5,0),(0,r.cubehelix)(-240,.5,1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cool=t.warm=void 0,t.default=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return i.h=360*e-100,i.s=1.5-1.5*t,i.l=.8-.9*t,i+""};var r=n(7),u=n(5),i=(t.warm=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(-100,.75,.35),(0,r.cubehelix)(80,1.5,.8)),t.cool=(0,u.interpolateCubehelixLong)((0,r.cubehelix)(260,.75,.35),(0,r.cubehelix)(80,1.5,.8)),(0,r.cubehelix)())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plasma=t.inferno=t.magma=void 0;var r,u=n(28),i=(r=u)&&r.__esModule?r:{default:r};function o(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}t.default=o((0,i.default)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));t.magma=o((0,i.default)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),t.inferno=o((0,i.default)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),t.plasma=o((0,i.default)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=0,u=1,i=!1;function o(e){var r=(e-n)/(u-n);return t(i?Math.max(0,Math.min(1,r)):r)}o.domain=function(e){return arguments.length?(n=+e[0],u=+e[1],o):[n,u]};o.clamp=function(e){return arguments.length?(i=!!e,o):i};o.interpolator=function(e){return arguments.length?(t=e,o):t};o.copy=function(){return e(t).domain([n,u]).clamp(i)};return(0,r.linearish)(o)};var r=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=l,t=c,n=(0,o.default)(0),r=null,i=f,p=s,_=d,v=null;function y(){var o,l,c=+e.apply(this,arguments),f=+t.apply(this,arguments),s=i.apply(this,arguments)-a.halfPi,d=p.apply(this,arguments)-a.halfPi,y=(0,a.abs)(d-s),b=d>s;if(v||(v=o=(0,u.path)()),fa.epsilon)if(y>a.tau-a.epsilon)v.moveTo(f*(0,a.cos)(s),f*(0,a.sin)(s)),v.arc(0,0,f,s,d,!b),c>a.epsilon&&(v.moveTo(c*(0,a.cos)(d),c*(0,a.sin)(d)),v.arc(0,0,c,d,s,b));else{var g,m,M=s,P=d,O=s,j=d,x=y,w=y,E=_.apply(this,arguments)/2,S=E>a.epsilon&&(r?+r.apply(this,arguments):(0,a.sqrt)(c*c+f*f)),k=(0,a.min)((0,a.abs)(f-c)/2,+n.apply(this,arguments)),T=k,N=k;if(S>a.epsilon){var C=(0,a.asin)(S/c*(0,a.sin)(E)),A=(0,a.asin)(S/f*(0,a.sin)(E));(x-=2*C)>a.epsilon?(O+=C*=b?1:-1,j-=C):(x=0,O=j=(s+d)/2),(w-=2*A)>a.epsilon?(M+=A*=b?1:-1,P-=A):(w=0,M=P=(s+d)/2)}var R=f*(0,a.cos)(M),z=f*(0,a.sin)(M),q=c*(0,a.cos)(j),I=c*(0,a.sin)(j);if(k>a.epsilon){var D=f*(0,a.cos)(P),L=f*(0,a.sin)(P),U=c*(0,a.cos)(O),F=c*(0,a.sin)(O);if(ya.epsilon?function(e,t,n,r,u,i,o,a){var l=n-e,c=r-t,f=o-u,s=a-i,d=(f*(t-i)-s*(e-u))/(s*l-f*c);return[e+d*l,t+d*c]}(R,z,U,F,D,L,q,I):[q,I],H=R-Y[0],B=z-Y[1],X=D-Y[0],V=L-Y[1],W=1/(0,a.sin)((0,a.acos)((H*X+B*V)/((0,a.sqrt)(H*H+B*B)*(0,a.sqrt)(X*X+V*V)))/2),Z=(0,a.sqrt)(Y[0]*Y[0]+Y[1]*Y[1]);T=(0,a.min)(k,(c-Z)/(W-1)),N=(0,a.min)(k,(f-Z)/(W+1))}}w>a.epsilon?N>a.epsilon?(g=h(U,F,R,z,f,N,b),m=h(D,L,q,I,f,N,b),v.moveTo(g.cx+g.x01,g.cy+g.y01),Na.epsilon&&x>a.epsilon?T>a.epsilon?(g=h(q,I,D,L,c,-T,b),m=h(R,z,U,F,c,-T,b),v.lineTo(g.cx+g.x01,g.cy+g.y01),TN*N+C*C&&(x=E,w=S),{cx:x,cy:w,x01:-s,y01:-d,x11:x*(u/P-1),y11:w*(u/P-1)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i.default,t=u.default,n=null,a=(0,r.default)(0),l=(0,r.default)(o.tau),c=(0,r.default)(0);function f(r){var u,i,f,s,d,h=r.length,p=0,_=new Array(h),v=new Array(h),y=+a.apply(this,arguments),b=Math.min(o.tau,Math.max(-o.tau,l.apply(this,arguments)-y)),g=Math.min(Math.abs(b)/h,c.apply(this,arguments)),m=g*(b<0?-1:1);for(u=0;u0&&(p+=d);for(null!=t?_.sort(function(e,n){return t(v[e],v[n])}):null!=n&&_.sort(function(e,t){return n(r[e],r[t])}),u=0,f=p?(b-h*m)/p:0;u0?d*f:0)+m,v[i]={data:r[i],index:u,value:d,startAngle:y,endAngle:s,padAngle:g};return v}return f.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.default)(+t),f):e},f.sortValues=function(e){return arguments.length?(t=e,n=null,f):t},f.sort=function(e){return arguments.length?(n=e,t=null,f):n},f.startAngle=function(e){return arguments.length?(a="function"==typeof e?e:(0,r.default)(+e),f):a},f.endAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,r.default)(+e),f):l},f.padAngle=function(e){return arguments.length?(c="function"==typeof e?e:(0,r.default)(+e),f):c},f};var r=a(n(16)),u=a(n(432)),i=a(n(433)),o=n(29);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return te?1:t>=e?0:NaN}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)().curve(r.curveRadialLinear),t=e.curve,n=e.lineX0,a=e.lineX1,l=e.lineY0,c=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,o.lineRadial)(n())},delete e.lineX0,e.lineEndAngle=function(){return(0,o.lineRadial)(a())},delete e.lineX1,e.lineInnerRadius=function(){return(0,o.lineRadial)(l())},delete e.lineY0,e.lineOuterRadius=function(){return(0,o.lineRadial)(c())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,u.default)(e)):t()._curve},e};var r=n(156),u=a(r),i=a(n(155)),o=n(157);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkHorizontal=function(){return s(d)},t.linkVertical=function(){return s(h)},t.linkRadial=function(){var e=s(p);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e};var r=n(13),u=n(159),i=l(n(16)),o=n(85),a=l(n(158));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.source}function f(e){return e.target}function s(e){var t=c,n=f,a=o.x,l=o.y,s=null;function d(){var i,o=u.slice.call(arguments),c=t.apply(this,o),f=n.apply(this,o);if(s||(s=i=(0,r.path)()),e(s,+a.apply(this,(o[0]=c,o)),+l.apply(this,o),+a.apply(this,(o[0]=f,o)),+l.apply(this,o)),i)return s=null,i+""||null}return d.source=function(e){return arguments.length?(t=e,d):t},d.target=function(e){return arguments.length?(n=e,d):n},d.x=function(e){return arguments.length?(a="function"==typeof e?e:(0,i.default)(+e),d):a},d.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.default)(+e),d):l},d.context=function(e){return arguments.length?(s=null==e?null:e,d):s},d}function d(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,u,r,u)}function h(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+u)/2,r,n,r,u)}function p(e,t,n,r,u){var i=(0,a.default)(t,n),o=(0,a.default)(t,n=(n+u)/2),l=(0,a.default)(r,n),c=(0,a.default)(r,u);e.moveTo(i[0],i[1]),e.bezierCurveTo(o[0],o[1],l[0],l[1],c[0],c[1])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0,t.default=function(){var e=(0,s.default)(u.default),t=(0,s.default)(64),n=null;function i(){var u;if(n||(n=u=(0,r.path)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),u)return n=null,u+""||null}return i.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,s.default)(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,s.default)(+e),i):t},i.context=function(e){return arguments.length?(n=null==e?null:e,i):n},i};var r=n(13),u=d(n(160)),i=d(n(161)),o=d(n(162)),a=d(n(163)),l=d(n(164)),c=d(n(165)),f=d(n(166)),s=d(n(16));function d(e){return e&&e.__esModule?e:{default:e}}t.symbols=[u.default,i.default,o.default,l.default,a.default,c.default,f.default]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new a(e)};var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r},o=n(48);function a(e){this._context=e}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new u(e)};var r=n(48);function u(e){this._context=e}u.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,u=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,u):this._context.moveTo(n,u);break;case 3:this._point=4;default:(0,r.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48);function u(e,t){this._basis=new r.Basis(e),this._beta=t}u.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,u=e[0],i=t[0],o=e[n]-u,a=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(u+r*o),this._beta*t[l]+(1-this._beta)*(i+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},t.default=function e(t){function n(e){return 1===t?new r.Basis(e):new u(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=n(167),i=n(47),o=(r=i)&&r.__esModule?r:{default:r},a=n(86);function l(e,t){this._context=e,this._alpha=t}l.prototype={areaStart:o.default,areaEnd:o.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,a.point)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new l(e,t):new u.CardinalClosed(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(168),u=n(86);function i(e,t){this._context=e,this._alpha=t}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,u.point)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.default=function e(t){function n(e){return t?new i(e,t):new r.CardinalOpen(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new o(e)};var r,u=n(47),i=(r=u)&&r.__esModule?r:{default:r};function o(e){this._context=e}o.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},function(e,t,n){"use strict";function r(e){return e<0?-1:1}function u(e,t,n){var u=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(u||i<0&&-0),a=(n-e._y1)/(i||u<0&&-0),l=(o*i+a*u)/(u+i);return(r(o)+r(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(l))||0}function i(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function o(e,t,n){var r=e._x0,u=e._y0,i=e._x1,o=e._y1,a=(i-r)/3;e._context.bezierCurveTo(r+a,u+a*t,i-a,o-a*n,i,o)}function a(e){this._context=e}function l(e){this._context=new c(e)}function c(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.monotoneX=function(e){return new a(e)},t.monotoneY=function(e){return new l(e)},a.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:o(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(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,o(this,i(this,n=u(this,e,t)),n);break;default:o(this,this._t0,n=u(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(l.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},c.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,u,i){this._context.bezierCurveTo(t,e,r,n,i,u)}}},function(e,t,n){"use strict";function r(e){this._context=e}function u(e){var t,n,r=e.length-1,u=new Array(r),i=new Array(r),o=new Array(r);for(u[0]=0,i[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)u[t]=(o[t]-u[t+1])/i[t];for(i[r-1]=(e[r]+u[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,u.default)([]),t=o.default,n=i.default,a=l;function c(r){var u,i,o=e.apply(this,arguments),l=r.length,c=o.length,f=new Array(c);for(u=0;u0){for(var n,r,u,o=0,a=e[0].length;o1)for(var n,r,u,i,o,a,l=0,c=e[t[0]].length;l=0?(r[0]=i,r[1]=i+=u):u<0?(r[1]=o,r[0]=o+=u):r[0]=i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((n=e.length)>0){for(var n,r=0,u=e[t[0]],o=u.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,u,o=0,a=1;aa.epsilon)p=p.L;else{if(!((l=f-d(p,h))>a.epsilon)){r>-a.epsilon?(t=p.P,n=p):l>-a.epsilon?(t=p,n=p.N):t=n=p;break}if(!p.R){t=p;break}p=p.R}(0,u.createCell)(e);var _=c(e);if(a.beaches.insert(t,_),!t&&!n)return;if(t===n)return(0,i.detachCircle)(t),n=c(t.site),a.beaches.insert(_,n),_.edge=n.edge=(0,o.createEdge)(t.site,_.site),(0,i.attachCircle)(t),void(0,i.attachCircle)(n);if(!n)return void(_.edge=(0,o.createEdge)(t.site,_.site));(0,i.detachCircle)(t),(0,i.detachCircle)(n);var v=t.site,y=v[0],b=v[1],g=e[0]-y,m=e[1]-b,M=n.site,P=M[0]-y,O=M[1]-b,j=2*(g*O-m*P),x=g*g+m*m,w=P*P+O*O,E=[(O*x-m*w)/j+y,(g*w-P*x)/j+b];(0,o.setEdgeEnd)(n.edge,v,M,E),_.edge=(0,o.createEdge)(v,e,null,E),n.edge=(0,o.createEdge)(e,M,null,E),(0,i.attachCircle)(t),(0,i.attachCircle)(n)};var r=n(88),u=n(169),i=n(170),o=n(89),a=n(32),l=[];function c(e){var t=l.pop()||new function(){(0,r.RedBlackNode)(this),this.edge=this.site=this.circle=null};return t.site=e,t}function f(e){(0,i.detachCircle)(e),a.beaches.remove(e),l.push(e),(0,r.RedBlackNode)(e)}function s(e,t){var n=e.site,r=n[0],u=n[1],i=u-t;if(!i)return r;var o=e.P;if(!o)return-1/0;var a=(n=o.site)[0],l=n[1],c=l-t;if(!c)return a;var f=a-r,s=1/i-1/c,d=f/c;return s?(-d+Math.sqrt(d*d-2*s*(f*f/(-2*c)-l+c/2+u-i/2)))/s+r:(r+a)/2}function d(e,t){var n=e.N;if(n)return s(n,t);var r=e.site;return r[1]===t?r[0]:1/0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(460);Object.defineProperty(t,"zoom",{enumerable:!0,get:function(){return i(r).default}});var u=n(171);function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zoomTransform",{enumerable:!0,get:function(){return i(u).default}}),Object.defineProperty(t,"zoomIdentity",{enumerable:!0,get:function(){return u.identity}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n=p,h=_,m=g,M=y,P=b,O=[0,1/0],j=[[-1/0,-1/0],[1/0,1/0]],x=250,w=i.interpolateZoom,E=[],S=(0,r.dispatch)("start","zoom","end"),k=500,T=150,N=0;function C(e){e.property("__zoom",v).on("wheel.zoom",L).on("mousedown.zoom",U).on("dblclick.zoom",F).filter(P).on("touchstart.zoom",Y).on("touchmove.zoom",H).on("touchend.zoom touchcancel.zoom",B).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function A(e,t){return(t=Math.max(O[0],Math.min(O[1],t)))===e.k?e:new f.Transform(t,e.x,e.y)}function R(e,t,n){var r=t[0]-n[0]*e.k,u=t[1]-n[1]*e.k;return r===e.x&&u===e.y?e:new f.Transform(e.k,r,u)}function z(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function q(e,t,n){e.on("start.zoom",function(){I(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){I(this,arguments).end()}).tween("zoom",function(){var e=arguments,r=I(this,e),u=h.apply(this,e),i=n||z(u),o=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),a=this.__zoom,l="function"==typeof t?t.apply(this,e):t,c=w(a.invert(i).concat(o/a.k),l.invert(i).concat(o/l.k));return function(e){if(1===e)e=l;else{var t=c(e),n=o/t[2];e=new f.Transform(n,i[0]-t[0]*n,i[1]-t[1]*n)}r.zoom(null,e)}})}function I(e,t){for(var n,r=0,u=E.length;rN}e.zoom("mouse",m(R(e.that.__zoom,e.mouse[0]=(0,o.mouse)(e.that),e.mouse[1]),e.extent,j))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),(0,u.dragEnable)(o.event.view,e.moved),(0,d.default)(),e.end()},!0),i=(0,o.mouse)(this),l=o.event.clientX,c=o.event.clientY;(0,u.dragDisable)(o.event.view),(0,s.nopropagation)(),e.mouse=[i,this.__zoom.invert(i)],(0,a.interrupt)(this),e.start()}}function F(){if(n.apply(this,arguments)){var e=this.__zoom,t=(0,o.mouse)(this),r=e.invert(t),u=e.k*(o.event.shiftKey?.5:2),i=m(R(A(e,u),t,r),h.apply(this,arguments),j);(0,d.default)(),x>0?(0,o.select)(this).transition().duration(x).call(q,i,t):(0,o.select)(this).call(C.transform,i)}}function Y(){if(n.apply(this,arguments)){var t,r,u,i,l=I(this,arguments),c=o.event.changedTouches,f=c.length;for((0,s.nopropagation)(),r=0;rr?(r+u)/2:Math.min(0,r)||Math.max(0,u),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){this.target=e,this.type=t,this.transform=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nopropagation=function(){r.event.stopImmediatePropagation()},t.default=function(){r.event.preventDefault(),r.event.stopImmediatePropagation()};var r=n(1)},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return i});var r=n(172),u=(n.n(r),function(e){if(e){var t="";switch(e.charAt(0)){case"$":t+="$";break;case"£":t+="£";break;case"€":t+="€"}e.indexOf(",")>-1&&(t+=",");var n=e.split(".");switch(t+=".",t+=n.length>1?n[1].length:0,e.slice(-1)){case"%":t+="%";break;case"0":t+="f"}return r.format(t)}}),i=function(e,t,n){var r=function(t,n,r,u,i){return!(!e.addError||!e.clearErrors)&&(ri?(e.addError({title:"Too Many "+n+"s",message:"This visualization requires "+(u===i?"exactly":"no more than")+" "+i+" "+n.toLowerCase()+(1===u?"":"s")+".",group:t}),!1):(e.clearErrors(t),!0))},u=t.fields,i=u.pivots,o=u.dimensions,a=u.measure_like;return r("pivot-req","Pivot",i.length,n.min_pivots,n.max_pivots)&&r("dim-req","Dimension",o.length,n.min_dimensions,n.max_dimensions)&&r("mes-req","Measure",a.length,n.min_measures,n.max_measures)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(172),u=(n.n(r),n(464));function i(e,t){var n={};return e.forEach(function(e){var r=n;t.forEach(function(t){var n=e[t.name].value;r[n]=n in r?r[n]:{},r=r[n]}),r.__data=e}),{name:"root",children:function e(t,n){void 0===n&&(n=0);var r=[];for(var u in t)if("__data"!==u){var i={name:u,depth:n,children:e(t[u],n+1)};"__data"in t[u]&&(i.data=t[u].__data),r.push(i)}return r}(n,1),depth:0}}var o={id:"collapsible_tree",label:"Collapsible Tree",options:{color_with_children:{label:"Node Color With Children",default:"#36c1b3",type:"string",display:"color"},color_empty:{label:"Empty Node Color",default:"#fff",type:"string",display:"color"}},create:function(e,t){this.svg=r.select(e).append("svg")},update:function(e,t,n,o){if(Object(u.b)(this,o,{min_pivots:0,max_pivots:0,min_dimensions:2,max_dimensions:void 0,min_measures:0,max_measures:void 0})){var a=0,l={children:n&&n.color_with_children||this.options.color_with_children.default,empty:n&&n.color_empty||this.options.color_empty.default},c=10,f=4,s=750,d=10,h=10,p=10,_=10,v=t.clientWidth-_-h,y=t.clientHeight-d-p,b=i(e,o.fields.dimension_like),g=this.svg.html("").attr("width",v+h+_).attr("height",y+d+p).append("g").attr("transform","translate("+_+","+d+")"),m=r.tree().size([y,v]),M=r.hierarchy(b,function(e){return e.children});M.x0=y/2,M.y0=0,M.children.forEach(function e(t){t.children&&(t._children=t.children,t._children.forEach(e),t.children=null)}),j(M)}function P(e,t){return("\n M "+e.y+" "+e.x+"\n C "+(e.y+t.y)/2+" "+e.x+",\n "+(e.y+t.y)/2+" "+t.x+",\n "+t.y+" "+t.x+"\n ").trim()}function O(e){e.children?(e._children=e.children,e.children=null):(e.children=e._children,e._children=null),j(e)}function j(e){var t=m(M),n=t.descendants(),r=t.descendants().slice(1);n.forEach(function(e){e.y=180*e.depth});var u=g.selectAll("g.node").data(n,function(e){return e.id||(e.id=++a)}),i=u.enter().append("g").attr("class","node").attr("transform",function(t){return"translate("+e.y0+","+e.x0+")"}).on("click",O);i.append("circle").attr("class","node").attr("r",1e-6),i.append("text").attr("dy",".35em").attr("x",function(e){return e.children||e._children?-c:c}).attr("text-anchor",function(e){return e.children||e._children?"end":"start"}).style("font-family","'Open Sans', Helvetica, sans-serif").style("font-size",c+"px").text(function(e){return e.data.name});var o=i.merge(u);o.transition().duration(s).attr("transform",function(e){return"translate("+e.y+","+e.x+")"}),o.select("circle.node").attr("r",f).style("fill",function(e){return e._children?l.children:l.empty}).style("stroke",l.children).style("stroke-width",1.5).attr("cursor","pointer");var d=u.exit().transition().duration(s).attr("transform",function(t){return"translate("+e.y+","+e.x+")"}).remove();d.select("circle").attr("r",1e-6),d.select("text").style("fill-opacity",1e-6);var h=g.selectAll("path.link").data(r,function(e){return e.id});h.enter().insert("path","g").attr("class","link").style("fill","none").style("stroke","#ddd").style("stroke-width",1.5).attr("d",function(t){var n={x:e.x0,y:e.y0};return P(n,n)}).merge(h).transition().duration(s).attr("d",function(e){return P(e,e.parent)}),h.exit().transition().duration(s).attr("d",function(t){var n={x:e.x,y:e.y};return P(n,n)}).remove(),n.forEach(function(e){e.x0=e.x,e.y0=e.y})}}};looker.plugins.visualizations.add(o)}])}); \ No newline at end of file diff --git a/dist/hello_world.js b/dist/hello_world.js index 8f3f0baa..07cfcdc7 100644 --- a/dist/hello_world.js +++ b/dist/hello_world.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.hello_world=t():e.hello_world=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(l){if(t[l])return t[l].exports;var o=t[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,l){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:l})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=477)}({477:function(e,t,n){"use strict";looker.plugins.visualizations.add({id:"hello_world",label:"Hello World",options:{font_size:{type:"string",label:"Font Size",values:[{Large:"large"},{Small:"small"}],display:"radio",default:"large"}},create:function(e,t){e.innerHTML="\n \n ";var n=e.appendChild(document.createElement("div"));n.className="hello-world-vis",this._textElement=n.appendChild(document.createElement("div"))},updateAsync:function(e,t,n,l,o,r){if(this.clearErrors(),0!=l.fields.dimensions.length){var i=e[0][l.fields.dimensions[0].name];this._textElement.innerHTML=LookerCharts.Utils.htmlForCell(i),"small"==n.font_size?this._textElement.className="hello-world-text-small":this._textElement.className="hello-world-text-large",r()}else this.addError({title:"No Dimensions",message:"This chart requires dimensions."})}})}})}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.hello_world=t():e.hello_world=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(l){if(t[l])return t[l].exports;var o=t[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,l){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:l})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=483)}({483:function(e,t,n){"use strict";looker.plugins.visualizations.add({id:"hello_world",label:"Hello World",options:{font_size:{type:"string",label:"Font Size",values:[{Large:"large"},{Small:"small"}],display:"radio",default:"large"}},create:function(e,t){e.innerHTML="\n \n ";var n=e.appendChild(document.createElement("div"));n.className="hello-world-vis",this._textElement=n.appendChild(document.createElement("div"))},updateAsync:function(e,t,n,l,o,r){if(this.clearErrors(),0!=l.fields.dimensions.length){var i=e[0][l.fields.dimensions[0].name];this._textElement.innerHTML=LookerCharts.Utils.htmlForCell(i),"small"==n.font_size?this._textElement.className="hello-world-text-small":this._textElement.className="hello-world-text-large",r()}else this.addError({title:"No Dimensions",message:"This chart requires dimensions."})}})}})}); \ No newline at end of file diff --git a/dist/hello_world_react.js b/dist/hello_world_react.js index 308ce2b8..b94b1d59 100644 --- a/dist/hello_world_react.js +++ b/dist/hello_world_react.js @@ -1,9 +1,9 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.hello_world_react=t():e.hello_world_react=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=478)}({465:function(e,t,n){"use strict";var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{o="function"==typeof clearTimeout?clearTimeout:l}catch(e){o=l}}();var s,c=[],d=!1,f=-1;function p(){d&&s&&(d=!1,s.length?c=s.concat(c):f=-1,c.length&&m())}function m(){if(!d){var e=u(p);d=!0;for(var t=c.length;t;){for(s=c,c=[];++f1)for(var n=1;n1)for(var n=1;nO.length&&O.push(e)}function M(e,t,n){return null==e?0:function e(t,n,o,i){var u=void 0===t?"undefined":r(t);"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case a:case l:s=!0}}if(s)return o(i,t,""===n?"."+A(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;cO.length&&O.push(e)}function M(e,t,n){return null==e?0:function e(t,n,o,i){var u=void 0===t?"undefined":r(t);"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case a:case l:s=!0}}if(s)return o(i,t,""===n?"."+A(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c2?n-2:0),o=2;o1?t-1:0),r=1;r2?n-2:0),o=2;o8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!e){if("undefined"!=typeof console){var i=r.map(function(e){return""+e});i.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,i)}try{var a=0,l="Warning: "+t.replace(/%s/g,function(){return r[a++]});throw new Error(l)}catch(e){}}},C={};function _(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;C[o]||(S(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),C[o]=!0)}var E={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){_(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){_(e,"replaceState")},enqueueSetState:function(e,t,n,r){_(e,"setState")}},P={};function R(e,t,n){this.props=e,this.context=t,this.refs=P,this.updater=n||E}Object.freeze(P),R.prototype.isReactComponent={},R.prototype.setState=function(e,t){"object"!==(void 0===e?"undefined":r(e))&&"function"!=typeof e&&null!=e&&x(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},R.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var N={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},I=function(e,t){Object.defineProperty(R.prototype,e,{get:function(){T(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var O in N)N.hasOwnProperty(O)&&I(O,N[O]);function D(){}function U(e,t,n){this.props=e,this.context=t,this.refs=P,this.updater=n||E}D.prototype=R.prototype;var M=U.prototype=new D;M.constructor=U,t(M,R.prototype),M.isPureReactComponent=!0;var A={current:null,currentDispatcher:null},z=/^(.*)[\\\/]/,F=1;function W(e){if(null==e)return null;if("number"==typeof e.tag&&S(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"ConcurrentMode";case u:return"Fragment";case l:return"Portal";case c:return"Profiler";case s:return"StrictMode";case h:return"Suspense"}if("object"===(void 0===e?"undefined":r(e)))switch(e.$$typeof){case f:return"Context.Consumer";case d:return"Context.Provider";case m:return o=e,i=e.render,a="ForwardRef",g=i.displayName||i.name||"",o.displayName||(""!==g?a+"("+g+")":a);case v:return W(e.type);case y:var t=(n=e)._status===F?n._result:null;if(t)return W(t)}var n,o,i,a,g;return null}var L={},j=null;function B(e){j=e}L.getCurrentStack=null,L.getStackAddendum=function(){var e="";if(j){var t=W(j.type),n=j._owner;e+=function(e,t,n){var r="";if(t){var o=t.fileName,i=o.replace(z,"");if(/^index\./.test(i)){var a=o.match(z);if(a){var l=a[1];l&&(i=l.replace(z,"")+"/"+i)}}r=" (at "+i+":"+t.lineNumber+")"}else n&&(r=" (created by "+n+")");return"\n in "+(e||"Unknown")+r}(t,j._source,n&&W(n.type))}var r=L.getCurrentStack;return r&&(e+=r()||""),e};var V={ReactCurrentOwner:A,assign:t};t(V,{ReactDebugCurrentFrame:L,ReactComponentTreeHook:{}});var H=function(e,t){if(!e){for(var n=V.ReactDebugCurrentFrame.getStackAddendum(),r=arguments.length,o=Array(r>2?r-2:0),i=2;i1){for(var c=Array(s),d=0;d.")}return t}(t);if(!ye[n]){ye[n]=!0;var r="";e&&e._owner&&e._owner!==A.current&&(r=" It was passed a child from "+W(e._owner.type)+"."),B(e),H(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',n,r),B(null)}}}function be(e,t){if("object"===(void 0===e?"undefined":r(e)))if(Array.isArray(e))for(var n=0;n",i=" Did you accidentally export a JSX literal instead of a component?"):s=void 0===e?"undefined":r(e),H(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,i)}var c=Z.apply(this,arguments);if(null==c)return c;if(o)for(var d=2;d is not supported and will be removed in a future major release. Did you mean to render instead?")),n.Provider},set:function(e){n.Provider=e}},_currentValue:{get:function(){return n._currentValue},set:function(e){n._currentValue=e}},_currentValue2:{get:function(){return n._currentValue2},set:function(e){n._currentValue2=e}},_threadCount:{get:function(){return n._threadCount},set:function(e){n._threadCount=e}},Consumer:{get:function(){return r||(r=!0,H(!1,"Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),n.Consumer}}}),n.Consumer=i,n._currentRenderer=null,n._currentRenderer2=null,n},forwardRef:function(e){return null!=e&&e.$$typeof===v?S(!1,"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?S(!1,"forwardRef requires a render function but was given %s.",null===e?"null":void 0===e?"undefined":r(e)):0!==e.length&&2!==e.length&&S(!1,"forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&S(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:m,render:e}},lazy:function(e){var t={$$typeof:y,_ctor:e,_status:-1,_result:null},n=void 0,r=void 0;return Object.defineProperties(t,{defaultProps:{configurable:!0,get:function(){return n},set:function(e){H(!1,"React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(t,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){H(!1,"React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(t,"propTypes",{enumerable:!0})}}}),t},memo:function(e,t){return me(e)||S(!1,"memo: The first argument must be a component. Instead received: %s",null===e?"null":void 0===e?"undefined":r(e)),{$$typeof:v,type:e,compare:void 0===t?null:t}},Fragment:u,StrictMode:s,Suspense:h,createElement:ke,cloneElement:function(e,n,r){for(var o=function(e,n,r){null==e&&x(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);var o=void 0,i=t({},e.props),a=e.key,l=e.ref,u=e._self,s=e._source,c=e._owner;if(null!=n){K(n)&&(l=n.ref,c=A.current),X(n)&&(a=""+n.key);var d=void 0;for(o in e.type&&e.type.defaultProps&&(d=e.type.defaultProps),n)$.call(n,o)&&!q.hasOwnProperty(o)&&(void 0===n[o]&&void 0!==d?i[o]=d[o]:i[o]=n[o])}var f=arguments.length-2;if(1===f)i.children=r;else if(f>1){for(var p=Array(f),m=0;m2?n-2:0),o=2;o1?t-1:0),r=1;r2?n-2:0),o=2;o8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!e){if("undefined"!=typeof console){var i=r.map(function(e){return""+e});i.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,i)}try{var a=0,l="Warning: "+t.replace(/%s/g,function(){return r[a++]});throw new Error(l)}catch(e){}}},C={};function _(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;C[o]||(S(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),C[o]=!0)}var E={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){_(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){_(e,"replaceState")},enqueueSetState:function(e,t,n,r){_(e,"setState")}},P={};function R(e,t,n){this.props=e,this.context=t,this.refs=P,this.updater=n||E}Object.freeze(P),R.prototype.isReactComponent={},R.prototype.setState=function(e,t){"object"!==(void 0===e?"undefined":r(e))&&"function"!=typeof e&&null!=e&&x(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},R.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var N={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},I=function(e,t){Object.defineProperty(R.prototype,e,{get:function(){T(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var O in N)N.hasOwnProperty(O)&&I(O,N[O]);function D(){}function U(e,t,n){this.props=e,this.context=t,this.refs=P,this.updater=n||E}D.prototype=R.prototype;var M=U.prototype=new D;M.constructor=U,t(M,R.prototype),M.isPureReactComponent=!0;var A={current:null,currentDispatcher:null},z=/^(.*)[\\\/]/,F=1;function W(e){if(null==e)return null;if("number"==typeof e.tag&&S(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"ConcurrentMode";case u:return"Fragment";case l:return"Portal";case c:return"Profiler";case s:return"StrictMode";case h:return"Suspense"}if("object"===(void 0===e?"undefined":r(e)))switch(e.$$typeof){case f:return"Context.Consumer";case d:return"Context.Provider";case m:return o=e,i=e.render,a="ForwardRef",g=i.displayName||i.name||"",o.displayName||(""!==g?a+"("+g+")":a);case v:return W(e.type);case y:var t=(n=e)._status===F?n._result:null;if(t)return W(t)}var n,o,i,a,g;return null}var L={},j=null;function B(e){j=e}L.getCurrentStack=null,L.getStackAddendum=function(){var e="";if(j){var t=W(j.type),n=j._owner;e+=function(e,t,n){var r="";if(t){var o=t.fileName,i=o.replace(z,"");if(/^index\./.test(i)){var a=o.match(z);if(a){var l=a[1];l&&(i=l.replace(z,"")+"/"+i)}}r=" (at "+i+":"+t.lineNumber+")"}else n&&(r=" (created by "+n+")");return"\n in "+(e||"Unknown")+r}(t,j._source,n&&W(n.type))}var r=L.getCurrentStack;return r&&(e+=r()||""),e};var V={ReactCurrentOwner:A,assign:t};t(V,{ReactDebugCurrentFrame:L,ReactComponentTreeHook:{}});var H=function(e,t){if(!e){for(var n=V.ReactDebugCurrentFrame.getStackAddendum(),r=arguments.length,o=Array(r>2?r-2:0),i=2;i1){for(var c=Array(s),d=0;d.")}return t}(t);if(!ye[n]){ye[n]=!0;var r="";e&&e._owner&&e._owner!==A.current&&(r=" It was passed a child from "+W(e._owner.type)+"."),B(e),H(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',n,r),B(null)}}}function be(e,t){if("object"===(void 0===e?"undefined":r(e)))if(Array.isArray(e))for(var n=0;n",i=" Did you accidentally export a JSX literal instead of a component?"):s=void 0===e?"undefined":r(e),H(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,i)}var c=Z.apply(this,arguments);if(null==c)return c;if(o)for(var d=2;d is not supported and will be removed in a future major release. Did you mean to render instead?")),n.Provider},set:function(e){n.Provider=e}},_currentValue:{get:function(){return n._currentValue},set:function(e){n._currentValue=e}},_currentValue2:{get:function(){return n._currentValue2},set:function(e){n._currentValue2=e}},_threadCount:{get:function(){return n._threadCount},set:function(e){n._threadCount=e}},Consumer:{get:function(){return r||(r=!0,H(!1,"Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),n.Consumer}}}),n.Consumer=i,n._currentRenderer=null,n._currentRenderer2=null,n},forwardRef:function(e){return null!=e&&e.$$typeof===v?S(!1,"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?S(!1,"forwardRef requires a render function but was given %s.",null===e?"null":void 0===e?"undefined":r(e)):0!==e.length&&2!==e.length&&S(!1,"forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&S(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:m,render:e}},lazy:function(e){var t={$$typeof:y,_ctor:e,_status:-1,_result:null},n=void 0,r=void 0;return Object.defineProperties(t,{defaultProps:{configurable:!0,get:function(){return n},set:function(e){H(!1,"React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(t,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){H(!1,"React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(t,"propTypes",{enumerable:!0})}}}),t},memo:function(e,t){return me(e)||S(!1,"memo: The first argument must be a component. Instead received: %s",null===e?"null":void 0===e?"undefined":r(e)),{$$typeof:v,type:e,compare:void 0===t?null:t}},Fragment:u,StrictMode:s,Suspense:h,createElement:ke,cloneElement:function(e,n,r){for(var o=function(e,n,r){null==e&&x(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);var o=void 0,i=t({},e.props),a=e.key,l=e.ref,u=e._self,s=e._source,c=e._owner;if(null!=n){K(n)&&(l=n.ref,c=A.current),X(n)&&(a=""+n.key);var d=void 0;for(o in e.type&&e.type.defaultProps&&(d=e.type.defaultProps),n)$.call(n,o)&&!q.hasOwnProperty(o)&&(void 0===n[o]&&void 0!==d?i[o]=d[o]:i[o]=n[o])}var f=arguments.length-2;if(1===f)i.children=r;else if(f>1){for(var p=Array(f),m=0;mthis.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=ce,e.release=de}i(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=le)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=le)},persist:function(){this.isPersistent=le},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(se);var pe=se.extend({data:null}),me=se.extend({data:null}),he=[9,13,27,32],ve=q&&"CompositionEvent"in window,ye=null;q&&"documentMode"in document&&(ye=document.documentMode);var ge=q&&"TextEvent"in window&&!ye,be=q&&(!ve||ye&&8=ye),we=String.fromCharCode(32),ke={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function Te(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"===(void 0===(e=e.detail)?"undefined":r(e))&&"data"in e?e.data:null}var Ce=!1;var _e={eventTypes:ke,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(ve)e:{switch(e){case"compositionstart":o=ke.compositionStart;break e;case"compositionend":o=ke.compositionEnd;break e;case"compositionupdate":o=ke.compositionUpdate;break e}o=void 0}else Ce?Te(e,n)&&(o=ke.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ke.compositionStart);return o?(be&&"ko"!==n.locale&&(Ce||o!==ke.compositionStart?o===ke.compositionEnd&&Ce&&(i=ae()):(oe="value"in(re=r)?re.value:re.textContent,Ce=!0)),o=pe.getPooled(o,t,n,r),i?o.data=i:null!==(i=Se(n))&&(o.data=i),$(o),i=o):i=null,(e=ge?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(xe=!0,we);case"textInput":return(e=t.data)===we&&xe?null:e;default:return null}}(e,n):function(e,t){if(Ce)return"compositionend"===e||!ve&&Te(e,t)?(e=ae(),ie=oe=re=null,Ce=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function ht(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){vt[e]=new ht(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];vt[t]=new ht(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){vt[e]=new ht(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vt[e]=new ht(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){vt[e]=new ht(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){vt[e]=new ht(e,3,!0,e,null)}),["capture","download"].forEach(function(e){vt[e]=new ht(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){vt[e]=new ht(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){vt[e]=new ht(e,5,!1,e.toLowerCase(),null)});var yt=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function bt(e,t,n,r){var o=vt.hasOwnProperty(t)?vt[t]:null;(null!==o?0===o.type:!r&&(2Sn.length&&Sn.push(e)}}}var In={},On=0,Dn="_reactListenersID"+(""+Math.random()).slice(2);function Un(e){return Object.prototype.hasOwnProperty.call(e,Dn)||(e[Dn]=On++,In[e[Dn]]={}),In[e[Dn]]}function Mn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function An(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zn(e,t){var n,r=An(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=An(r)}}function Fn(){for(var e=window,t=Mn();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(e){break}t=Mn(e.document)}return t}function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Ln=q&&"documentMode"in document&&11>=document.documentMode,jn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Bn=null,Vn=null,Hn=null,$n=!1;function qn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return $n||null==Bn||Bn!==Mn(n)?null:("selectionStart"in(n=Bn)&&Wn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Hn&&nn(Hn,n)?null:(Hn=n,(e=se.getPooled(jn.select,Vn,e,t)).type="select",e.target=Bn,$(e),e))}var Qn={eventTypes:jn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Un(i),o=k.onSelect;for(var a=0;a=t.length||l("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:wt(n)}}function Zn(e,t){var n=wt(t.value),r=wt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Jn(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}N.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=W,T=z,S=F,N.injectEventPluginsByName({SimpleEventPlugin:xn,EnterLeaveEventPlugin:Jt,ChangeEventPlugin:jt,SelectEventPlugin:Qn,BeforeInputEventPlugin:_e});var er={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function tr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function nr(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?tr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var rr,or=void 0,ir=(rr=function(e,t){if(e.namespaceURI!==er.svg||"innerHTML"in e)e.innerHTML=t;else{for((or=or||document.createElement("div")).innerHTML=""+t+"",t=or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return rr(e,t)})}:rr);function ar(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var lr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ur=["Webkit","ms","Moz","O"];function sr(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||lr.hasOwnProperty(e)&&lr[e]?(""+t).trim():t+"px"}function cr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=sr(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(lr).forEach(function(e){ur.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lr[t]=lr[e]})});var dr=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fr(e,t){t&&(dr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&l("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&l("60"),"object"===r(t.dangerouslySetInnerHTML)&&"__html"in t.dangerouslySetInnerHTML||l("61")),null!=t.style&&"object"!==r(t.style)&&l("62",""))}function pr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function mr(e,t){var n=Un(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=k[t];for(var r=0;rCr||(e.current=Sr[Cr],Sr[Cr]=null,Cr--)}function Er(e,t){Sr[++Cr]=e.current,e.current=t}var Pr={},Rr={current:Pr},Nr={current:!1},Ir=Pr;function Or(e,t){var n=e.type.contextTypes;if(!n)return Pr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Dr(e){return null!=(e=e.childContextTypes)}function Ur(e){_r(Nr),_r(Rr)}function Mr(e){_r(Nr),_r(Rr)}function Ar(e,t,n){Rr.current!==Pr&&l("168"),Er(Rr,t),Er(Nr,n)}function zr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())o in e||l("108",ut(t)||"Unknown",o);return i({},n,r)}function Fr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Pr,Ir=Rr.current,Er(Rr,t),Er(Nr,Nr.current),!0}function Wr(e,t,n){var r=e.stateNode;r||l("169"),n?(t=zr(e,t,Ir),r.__reactInternalMemoizedMergedChildContext=t,_r(Nr),_r(Rr),Er(Rr,t)):_r(Nr),Er(Nr,n)}var Lr=null,jr=null;function Br(e){return function(t){try{return e(t)}catch(e){}}}function Vr(e,t,n,r){return new function(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}(e,t,n,r)}function Hr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $r(e,t){var n=e.alternate;return null===n?((n=Vr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.firstContextDependency=e.firstContextDependency,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qr(e,t,n,o,i,a){var u=2;if(o=e,"function"==typeof e)Hr(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case Xe:return Qr(n.children,i,a,t);case tt:return Yr(n,3|i,a,t);case Ge:return Yr(n,2|i,a,t);case Ze:return(e=Vr(12,n,t,4|i)).elementType=Ze,e.type=Ze,e.expirationTime=a,e;case rt:return(e=Vr(13,n,t,i)).elementType=rt,e.type=rt,e.expirationTime=a,e;default:if("object"===(void 0===e?"undefined":r(e))&&null!==e)switch(e.$$typeof){case Je:u=10;break e;case et:u=9;break e;case nt:u=11;break e;case ot:u=14;break e;case it:u=16,o=null;break e}l("130",null==e?e:void 0===e?"undefined":r(e),"")}return(t=Vr(u,n,t,i)).elementType=e,t.type=o,t.expirationTime=a,t}function Qr(e,t,n,r){return(e=Vr(7,e,r,t)).expirationTime=n,e}function Yr(e,t,n,r){return e=Vr(8,e,r,t),t=0==(1&t)?Ge:tt,e.elementType=t,e.type=t,e.expirationTime=n,e}function Kr(e,t,n){return(e=Vr(6,e,null,t)).expirationTime=n,e}function Xr(e,t,n){return(t=Vr(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gr(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),eo(t,e)}function Zr(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),eo(t,e)}function Jr(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function eo(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;0===(o=0!==o?o:i)&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}var to=!1;function no(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ro(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function oo(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function io(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function ao(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=no(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=no(e.memoizedState),o=n.updateQueue=no(n.memoizedState)):r=e.updateQueue=ro(o):null===o&&(o=n.updateQueue=ro(r));null===o||r===o?io(r,t):null===r.lastUpdate||null===o.lastUpdate?(io(r,t),io(o,t)):(io(r,t),o.lastUpdate=t)}function lo(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=no(e.memoizedState):uo(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function uo(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=ro(t)),t}function so(e,t,n,r,o,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,o):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(o="function"==typeof(e=n.payload)?e.call(a,r,o):e))break;return i({},r,o);case 2:to=!0}return r}function co(e,t,n,r,o){to=!1;for(var i=(t=uo(e,t)).baseState,a=null,l=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;cf?(v=d,d=null):v=d.sibling;var y=m(r,d,l[f],u);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&t(r,d),i=a(y,i,f),null===c?s=y:c.sibling=y,c=y,d=v}if(f===l.length)return n(r,d),s;if(null===d){for(;fv?(y=f,f=null):y=f.sibling;var b=m(r,f,g.value,s);if(null===b){f||(f=y);break}e&&f&&null===b.alternate&&t(r,f),i=a(b,i,v),null===d?c=b:d.sibling=b,d=b,f=y}if(g.done)return n(r,f),c;if(null===f){for(;!g.done;v++,g=u.next())null!==(g=p(r,g.value,s))&&(i=a(g,i,v),null===d?c=g:d.sibling=g,d=g);return c}for(f=o(r,f);!g.done;v++,g=u.next())null!==(g=h(f,r,v,g.value,s))&&(e&&null!==g.alternate&&f.delete(null===g.key?v:g.key),i=a(g,i,v),null===d?c=g:d.sibling=g,d=g);return e&&f.forEach(function(e){return t(r,e)}),c}return function(e,o,a,s){var c="object"===(void 0===a?"undefined":r(a))&&null!==a&&a.type===Xe&&null===a.key;c&&(a=a.props.children);var d="object"===(void 0===a?"undefined":r(a))&&null!==a;if(d)switch(a.$$typeof){case Ye:e:{for(d=a.key,c=o;null!==c;){if(c.key===d){if(7===c.tag?a.type===Xe:c.elementType===a.type){n(e,c.sibling),(o=i(c,a.type===Xe?a.props.children:a.props)).ref=Bo(e,c,a),o.return=e,e=o;break e}n(e,c);break}t(e,c),c=c.sibling}a.type===Xe?((o=Qr(a.props.children,e.mode,s,a.key)).return=e,e=o):((s=qr(a.type,a.key,a.props,null,e.mode,s)).ref=Bo(e,o,a),s.return=e,e=s)}return u(e);case Ke:e:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(e,o.sibling),(o=i(o,a.children||[])).return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}(o=Xr(a,e.mode,s)).return=e,e=o}return u(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==o&&6===o.tag?(n(e,o.sibling),(o=i(o,a)).return=e,e=o):(n(e,o),(o=Kr(a,e.mode,s)).return=e,e=o),u(e);if(jo(a))return v(e,o,a,s);if(lt(a))return y(e,o,a,s);if(d&&Vo(e,a),void 0===a&&!c)switch(e.tag){case 1:case 0:l("152",(s=e.type).displayName||s.name||"Component")}return n(e,o)}}var $o=Ho(!0),qo=Ho(!1),Qo=null,Yo=null,Ko=!1;function Xo(e,t){var n=Vr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Go(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Zo(e){if(Ko){var t=Yo;if(t){var n=t;if(!Go(e,t)){if(!(t=xr(n))||!Go(e,t))return e.effectTag|=2,Ko=!1,void(Qo=e);Xo(Qo,n)}Qo=e,Yo=Tr(t)}else e.effectTag|=2,Ko=!1,Qo=e}}function Jo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Qo=e}function ei(e){if(e!==Qo)return!1;if(!Ko)return Jo(e),Ko=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!br(t,e.memoizedProps))for(t=Yo;t;)Xo(e,t),t=xr(t);return Jo(e),Yo=Qo?xr(e.stateNode):null,!0}function ti(){Yo=Qo=null,Ko=!1}var ni=$e.ReactCurrentOwner;function ri(e,t,n,r){t.child=null===e?qo(t,null,n,r):$o(t,e.child,n,r)}function oi(e,t,n,r,o){n=n.render;var i=t.ref;return ko(t),r=n(r,i),t.effectTag|=1,ri(e,t,r,o),t.child}function ii(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Hr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=qr(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ai(e,t,a,r,o,i))}return a=e.child,o=n?fi(e,t,n):null!==(t=pi(e,t,n))?t.sibling:null}return pi(e,t,n)}switch(t.expirationTime=0,t.tag){case 2:o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=Or(t,Rr.current);if(ko(t),i=o(e,i),t.effectTag|=1,"object"===(void 0===i?"undefined":r(i))&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,Dr(o)){var a=!0;Fr(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var u=o.getDerivedStateFromProps;"function"==typeof u&&Mo(t,o,u,e),i.updater=Ao,t.stateNode=i,i._reactInternalFiber=t,Lo(t,o,e,n),t=ci(null,t,o,!0,a,n)}else t.tag=0,ri(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:throw e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._result=t,t}}(i),t.type=e,i=t.tag=function(e){if("function"==typeof e)return Hr(e)?1:0;if(null!=e){if((e=e.$$typeof)===nt)return 11;if(e===ot)return 14}return 2}(e),a=Oo(e,a),u=void 0,i){case 0:u=ui(null,t,e,a,n);break;case 1:u=si(null,t,e,a,n);break;case 11:u=oi(null,t,e,a,n);break;case 14:u=ii(null,t,e,Oo(e.type,a),o,n);break;default:l("306",e,"")}return u;case 0:return o=t.type,i=t.pendingProps,ui(e,t,o,i=t.elementType===o?i:Oo(o,i),n);case 1:return o=t.type,i=t.pendingProps,si(e,t,o,i=t.elementType===o?i:Oo(o,i),n);case 3:return di(t),null===(o=t.updateQueue)&&l("282"),i=null!==(i=t.memoizedState)?i.element:null,co(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===i?(ti(),t=pi(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(Yo=Tr(t.stateNode.containerInfo),Qo=t,i=Ko=!0),i?(t.effectTag|=2,t.child=qo(t,null,o,n)):(ri(e,t,o,n),ti()),t=t.child),t;case 5:return No(t),null===e&&Zo(t),o=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,u=i.children,br(o,i)?u=null:null!==a&&br(o,a)&&(t.effectTag|=16),li(e,t),1!==n&&1&t.mode&&i.hidden?(t.expirationTime=1,t=null):(ri(e,t,u,n),t=t.child),t;case 6:return null===e&&Zo(t),null;case 13:return fi(e,t,n);case 4:return Po(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=$o(t,null,o,n):ri(e,t,o,n),t.child;case 11:return o=t.type,i=t.pendingProps,oi(e,t,o,i=t.elementType===o?i:Oo(o,i),n);case 7:return ri(e,t,t.pendingProps,n),t.child;case 8:case 12:return ri(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(o=t.type._context,i=t.pendingProps,u=t.memoizedProps,bo(t,a=i.value),null!==u){var s=u.value;if(0===(a=s===a&&(0!==s||1/s==1/a)||s!=s&&a!=a?0:0|("function"==typeof o._calculateChangedBits?o._calculateChangedBits(s,a):1073741823))){if(u.children===i.children&&!Nr.current){t=pi(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){if(null!==(s=u.firstContextDependency))do{if(s.context===o&&0!=(s.observedBits&a)){if(1===u.tag){var c=oo(n);c.tag=2,ao(u,c)}u.expirationTime<\/script>",d=o.removeChild(o.firstChild)):"string"==typeof p.is?d=d.createElement(o,{is:p.is}):(d=d.createElement(o),"select"===o&&p.multiple&&(d.multiple=!0)):d=d.createElementNS(c,o),(o=d)[U]=f,o[M]=u,vi(o,t,!1,!1),p=o;var m=s,h=pr(d=a,f=u);switch(d){case"iframe":case"object":En("load",p),s=f;break;case"video":case"audio":for(s=0;su&&(u=o),(s=a.childExpirationTime)>u&&(u=s),a=a.sibling;t.childExpirationTime=u}if(null!==zi)return zi;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=h?p=0:(-1===p||h component higher in the tree to provide a loading indicator or placeholder to display."+st(c))}ji=!0,d=mo(d,c),u=s;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=a,lo(u,a=Ri(u,d,a));break e;case 1:if(f=d,p=u.type,m=u.stateNode,0==(64&u.effectTag)&&("function"==typeof p.getDerivedStateFromError||null!==m&&"function"==typeof m.componentDidCatch&&(null===qi||!qi.has(m)))){u.effectTag|=2048,u.expirationTime=a,lo(u,a=Ni(u,f,a));break e}}u=u.return}while(null!==u)}zi=Ki(i);continue}o=!0,za(t)}}break}if(Ai=!1,go=yo=vo=Di.currentDispatcher=null,o)Fi=null,e.finishedWork=null;else if(null!==zi)e.finishedWork=null;else{if(null===(o=e.current.alternate)&&l("281"),Fi=null,ji){if(i=e.latestPendingTime,a=e.latestSuspendedTime,u=e.latestPingedTime,0!==i&&it?0:t)):(e.pendingCommitExpirationTime=n,e.finishedWork=o)}}function Zi(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qi||!qi.has(r)))return ao(n,e=Ni(n,e=mo(t,e),1073741823)),void na(n,1073741823);break;case 3:return ao(n,e=Ri(n,e=mo(t,e),1073741823)),void na(n,1073741823)}n=n.return}3===e.tag&&(ao(e,n=Ri(e,n=mo(t,e),1073741823)),na(e,1073741823))}function Ji(e,t){return 0!==Mi?e=Mi:Ai?e=Vi?1073741823:Wi:1&t.mode?(e=va?1073741822-10*(1+((1073741822-e+15)/10|0)):1073741822-25*(1+((1073741822-e+500)/25|0)),null!==Fi&&e===Wi&&--e):e=1073741823,va&&(0===da||e=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),eo(n,e),0!==(n=e.expirationTime)&&Pa(e,n)))}function ta(e,t){e.expirationTimeWi&&Qi(),Gr(e,t),Ai&&!Vi&&Fi===e||Pa(e,e.expirationTime),xa>ka&&(xa=0,l("185")))}function ra(e,t,n,r,o){var i=Mi;Mi=1073741823;try{return e(t,n,r,o)}finally{Mi=i}}var oa=null,ia=null,aa=0,la=void 0,ua=!1,sa=null,ca=0,da=0,fa=!1,pa=null,ma=!1,ha=!1,va=!1,ya=null,ga=a.unstable_now(),ba=1073741822-(ga/10|0),wa=ba,ka=50,xa=0,Ta=null;function Sa(){ba=1073741822-((a.unstable_now()-ga)/10|0)}function Ca(e,t){if(0!==aa){if(te.expirationTime&&(e.expirationTime=t),ua||(ma?ha&&(sa=e,ca=1073741823,Ma(e,1073741823,!1)):1073741823===t?Da(1073741823,!1):Ca(e,t))}function Ra(){var e=0,t=null;if(null!==ia)for(var n=ia,r=oa;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===ia)&&l("244"),r===r.nextScheduledRoot){oa=ia=r.nextScheduledRoot=null;break}if(r===oa)oa=o=r.nextScheduledRoot,ia.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===ia){(ia=n).nextScheduledRoot=oa,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===ia)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}sa=t,ca=e}var Na=!1;function Ia(){return!!Na||!!a.unstable_shouldYield()&&(Na=!0)}function Oa(){try{if(!Ia()&&null!==oa){Sa();var e=oa;do{var t=e.expirationTime;0!==t&&ba<=t&&(e.nextExpirationTimeToWorkOn=ba),e=e.nextScheduledRoot}while(e!==oa)}Da(0,!0)}finally{Na=!1}}function Da(e,t){if(Ra(),t)for(Sa(),wa=ba;null!==sa&&0!==ca&&e<=ca&&!(Na&&ba>ca);)Ma(sa,ca,ba>ca),Ra(),Sa(),wa=ba;else for(;null!==sa&&0!==ca&&e<=ca;)Ma(sa,ca,!1),Ra();if(t&&(aa=0,la=null),0!==ca&&Ca(sa,ca),xa=0,Ta=null,null!==ya)for(e=ya,ya=null,t=0;t=n&&(null===ya?ya=[r]:ya.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===Ta?xa++:(Ta=e,xa=0),Vi=Ai=!0,e.current===t&&l("177"),0===(n=e.pendingCommitExpirationTime)&&l("261"),e.pendingCommitExpirationTime=0,r=t.expirationTime;var o=t.childExpirationTime;if(r=o>r?o:r,e.didError=!1,0===r?(e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0):(rr?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>r&&(e.earliestPendingTime=e.latestPendingTime)),0===(o=e.earliestSuspendedTime)?Gr(e,r):ro&&Gr(e,r)),eo(0,e),Di.current=null,1g&&(b=g,g=_,_=b),b=zn(T,_),w=zn(T,g),b&&w&&(1!==C.rangeCount||C.anchorNode!==b.node||C.anchorOffset!==b.offset||C.focusNode!==w.node||C.focusOffset!==w.offset)&&((S=S.createRange()).setStart(b.node,b.offset),C.removeAllRanges(),_>g?(C.addRange(S),C.extend(w.node,w.offset)):(S.setEnd(w.node,w.offset),C.addRange(S))))),S=[];for(C=T;C=C.parentNode;)1===C.nodeType&&S.push({element:C,left:C.scrollLeft,top:C.scrollTop});for("function"==typeof T.focus&&T.focus(),T=0;TE?t:E)&&(qi=null),e.expirationTime=t,e.finishedWork=null}function za(e){null===sa&&l("246"),sa.expirationTime=0,fa||(fa=!0,pa=e)}function Fa(e,t){var n=ma;ma=!0;try{return e(t)}finally{(ma=n)||ua||Da(1073741823,!1)}}function Wa(e,t){if(ma&&!ha){ha=!0;try{return e(t)}finally{ha=!1}}return e(t)}function La(e,t,n){if(va)return e(t,n);ma||ua||0===da||(Da(da,!1),da=0);var r=va,o=ma;ma=va=!0;try{return e(t,n)}finally{va=r,(ma=o)||ua||Da(1073741823,!1)}}function ja(e,t,n,r,o){var i=t.current;e:if(n){t:{2===rn(n=n._reactInternalFiber)&&1===n.tag||l("170");var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(Dr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);l("171"),a=void 0}if(1===n.tag){var u=n.type;if(Dr(u)){n=zr(n,u,a);break e}}n=a}else n=Pr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=oo(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Yi(),ao(i,o),na(i,r),r}function Ba(e,t,n,r){var o=t.current;return ja(e,t,n,o=Ji(Ea(),o),r)}function Va(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ha(e){var t=1073741822-25*(1+((1073741822-Ea()+500)/25|0));t>=Ui&&(t=Ui-1),this._expirationTime=Ui=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function $a(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function qa(e,t,n){e={current:t=Vr(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Qa(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ya(e,t,n,r,o){Qa(n)||l("200");var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Va(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new qa(e,!1,t)}(n,r),"function"==typeof o){var u=o;o=function(){var e=Va(i._internalRoot);u.call(e)}}Wa(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return Va(i._internalRoot)}function Ka(e,t){var n=2=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},De=Fa,Ue=La,Me=function(){ua||0===da||(Da(da,!1),da=0)};var Xa={createPortal:Ka,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?l("188"):l("268",Object.keys(e))),e=null===(e=an(t))?null:e.stateNode},hydrate:function(e,t,n){return Ya(null,e,t,!0,n)},render:function(e,t,n){return Ya(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return(null==e||void 0===e._reactInternalFiber)&&l("38"),Ya(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Qa(e)||l("40"),!!e._reactRootContainer&&(Wa(function(){Ya(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Ka.apply(void 0,arguments)},unstable_batchedUpdates:Fa,unstable_interactiveUpdates:La,flushSync:function(e,t){ua&&l("187");var n=ma;ma=!0;try{return ra(e,t)}finally{ma=n,Da(1073741823,!1)}},unstable_createRoot:function(e,t){return Qa(e)||l("299","unstable_createRoot"),new qa(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=ma;ma=!0;try{ra(e)}finally{(ma=t)||ua||Da(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[z,F,W,N.injectEventPluginsByName,b,$,function(e){E(e,H)},Ie,Oe,Nn,O]}};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Lr=Br(function(e){return t.onCommitFiberRoot(n,e)}),jr=Br(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}})(i({},e,{overrideProps:null,findHostInstanceByFiber:function(e){return null===(e=an(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:A,bundleType:0,version:"16.7.0",rendererPackageName:"react-dom"});var Ga={default:Xa},Za=Ga&&Xa||Ga;e.exports=Za.default||Za},485:function(e,t,n){"use strict";(function(e){ + */var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(468),i=n(469),a=n(473);function l(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rthis.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=ce,e.release=de}i(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=le)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=le)},persist:function(){this.isPersistent=le},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(se);var pe=se.extend({data:null}),me=se.extend({data:null}),he=[9,13,27,32],ve=q&&"CompositionEvent"in window,ye=null;q&&"documentMode"in document&&(ye=document.documentMode);var ge=q&&"TextEvent"in window&&!ye,be=q&&(!ve||ye&&8=ye),we=String.fromCharCode(32),ke={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function Te(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"===(void 0===(e=e.detail)?"undefined":r(e))&&"data"in e?e.data:null}var Ce=!1;var _e={eventTypes:ke,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(ve)e:{switch(e){case"compositionstart":o=ke.compositionStart;break e;case"compositionend":o=ke.compositionEnd;break e;case"compositionupdate":o=ke.compositionUpdate;break e}o=void 0}else Ce?Te(e,n)&&(o=ke.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ke.compositionStart);return o?(be&&"ko"!==n.locale&&(Ce||o!==ke.compositionStart?o===ke.compositionEnd&&Ce&&(i=ae()):(oe="value"in(re=r)?re.value:re.textContent,Ce=!0)),o=pe.getPooled(o,t,n,r),i?o.data=i:null!==(i=Se(n))&&(o.data=i),$(o),i=o):i=null,(e=ge?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(xe=!0,we);case"textInput":return(e=t.data)===we&&xe?null:e;default:return null}}(e,n):function(e,t){if(Ce)return"compositionend"===e||!ve&&Te(e,t)?(e=ae(),ie=oe=re=null,Ce=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function ht(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){vt[e]=new ht(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];vt[t]=new ht(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){vt[e]=new ht(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vt[e]=new ht(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){vt[e]=new ht(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){vt[e]=new ht(e,3,!0,e,null)}),["capture","download"].forEach(function(e){vt[e]=new ht(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){vt[e]=new ht(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){vt[e]=new ht(e,5,!1,e.toLowerCase(),null)});var yt=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function bt(e,t,n,r){var o=vt.hasOwnProperty(t)?vt[t]:null;(null!==o?0===o.type:!r&&(2Sn.length&&Sn.push(e)}}}var In={},On=0,Dn="_reactListenersID"+(""+Math.random()).slice(2);function Un(e){return Object.prototype.hasOwnProperty.call(e,Dn)||(e[Dn]=On++,In[e[Dn]]={}),In[e[Dn]]}function Mn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function An(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zn(e,t){var n,r=An(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=An(r)}}function Fn(){for(var e=window,t=Mn();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(e){break}t=Mn(e.document)}return t}function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Ln=q&&"documentMode"in document&&11>=document.documentMode,jn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Bn=null,Vn=null,Hn=null,$n=!1;function qn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return $n||null==Bn||Bn!==Mn(n)?null:("selectionStart"in(n=Bn)&&Wn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Hn&&nn(Hn,n)?null:(Hn=n,(e=se.getPooled(jn.select,Vn,e,t)).type="select",e.target=Bn,$(e),e))}var Qn={eventTypes:jn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Un(i),o=k.onSelect;for(var a=0;a=t.length||l("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:wt(n)}}function Zn(e,t){var n=wt(t.value),r=wt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Jn(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}N.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=W,T=z,S=F,N.injectEventPluginsByName({SimpleEventPlugin:xn,EnterLeaveEventPlugin:Jt,ChangeEventPlugin:jt,SelectEventPlugin:Qn,BeforeInputEventPlugin:_e});var er={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function tr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function nr(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?tr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var rr,or=void 0,ir=(rr=function(e,t){if(e.namespaceURI!==er.svg||"innerHTML"in e)e.innerHTML=t;else{for((or=or||document.createElement("div")).innerHTML=""+t+"",t=or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return rr(e,t)})}:rr);function ar(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var lr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ur=["Webkit","ms","Moz","O"];function sr(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||lr.hasOwnProperty(e)&&lr[e]?(""+t).trim():t+"px"}function cr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=sr(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(lr).forEach(function(e){ur.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lr[t]=lr[e]})});var dr=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fr(e,t){t&&(dr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&l("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&l("60"),"object"===r(t.dangerouslySetInnerHTML)&&"__html"in t.dangerouslySetInnerHTML||l("61")),null!=t.style&&"object"!==r(t.style)&&l("62",""))}function pr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function mr(e,t){var n=Un(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=k[t];for(var r=0;rCr||(e.current=Sr[Cr],Sr[Cr]=null,Cr--)}function Er(e,t){Sr[++Cr]=e.current,e.current=t}var Pr={},Rr={current:Pr},Nr={current:!1},Ir=Pr;function Or(e,t){var n=e.type.contextTypes;if(!n)return Pr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Dr(e){return null!=(e=e.childContextTypes)}function Ur(e){_r(Nr),_r(Rr)}function Mr(e){_r(Nr),_r(Rr)}function Ar(e,t,n){Rr.current!==Pr&&l("168"),Er(Rr,t),Er(Nr,n)}function zr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())o in e||l("108",ut(t)||"Unknown",o);return i({},n,r)}function Fr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Pr,Ir=Rr.current,Er(Rr,t),Er(Nr,Nr.current),!0}function Wr(e,t,n){var r=e.stateNode;r||l("169"),n?(t=zr(e,t,Ir),r.__reactInternalMemoizedMergedChildContext=t,_r(Nr),_r(Rr),Er(Rr,t)):_r(Nr),Er(Nr,n)}var Lr=null,jr=null;function Br(e){return function(t){try{return e(t)}catch(e){}}}function Vr(e,t,n,r){return new function(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}(e,t,n,r)}function Hr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $r(e,t){var n=e.alternate;return null===n?((n=Vr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.firstContextDependency=e.firstContextDependency,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qr(e,t,n,o,i,a){var u=2;if(o=e,"function"==typeof e)Hr(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case Xe:return Qr(n.children,i,a,t);case tt:return Yr(n,3|i,a,t);case Ge:return Yr(n,2|i,a,t);case Ze:return(e=Vr(12,n,t,4|i)).elementType=Ze,e.type=Ze,e.expirationTime=a,e;case rt:return(e=Vr(13,n,t,i)).elementType=rt,e.type=rt,e.expirationTime=a,e;default:if("object"===(void 0===e?"undefined":r(e))&&null!==e)switch(e.$$typeof){case Je:u=10;break e;case et:u=9;break e;case nt:u=11;break e;case ot:u=14;break e;case it:u=16,o=null;break e}l("130",null==e?e:void 0===e?"undefined":r(e),"")}return(t=Vr(u,n,t,i)).elementType=e,t.type=o,t.expirationTime=a,t}function Qr(e,t,n,r){return(e=Vr(7,e,r,t)).expirationTime=n,e}function Yr(e,t,n,r){return e=Vr(8,e,r,t),t=0==(1&t)?Ge:tt,e.elementType=t,e.type=t,e.expirationTime=n,e}function Kr(e,t,n){return(e=Vr(6,e,null,t)).expirationTime=n,e}function Xr(e,t,n){return(t=Vr(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gr(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),eo(t,e)}function Zr(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),eo(t,e)}function Jr(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function eo(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;0===(o=0!==o?o:i)&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}var to=!1;function no(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ro(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function oo(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function io(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function ao(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=no(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=no(e.memoizedState),o=n.updateQueue=no(n.memoizedState)):r=e.updateQueue=ro(o):null===o&&(o=n.updateQueue=ro(r));null===o||r===o?io(r,t):null===r.lastUpdate||null===o.lastUpdate?(io(r,t),io(o,t)):(io(r,t),o.lastUpdate=t)}function lo(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=no(e.memoizedState):uo(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function uo(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=ro(t)),t}function so(e,t,n,r,o,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,o):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(o="function"==typeof(e=n.payload)?e.call(a,r,o):e))break;return i({},r,o);case 2:to=!0}return r}function co(e,t,n,r,o){to=!1;for(var i=(t=uo(e,t)).baseState,a=null,l=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;cf?(v=d,d=null):v=d.sibling;var y=m(r,d,l[f],u);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&t(r,d),i=a(y,i,f),null===c?s=y:c.sibling=y,c=y,d=v}if(f===l.length)return n(r,d),s;if(null===d){for(;fv?(y=f,f=null):y=f.sibling;var b=m(r,f,g.value,s);if(null===b){f||(f=y);break}e&&f&&null===b.alternate&&t(r,f),i=a(b,i,v),null===d?c=b:d.sibling=b,d=b,f=y}if(g.done)return n(r,f),c;if(null===f){for(;!g.done;v++,g=u.next())null!==(g=p(r,g.value,s))&&(i=a(g,i,v),null===d?c=g:d.sibling=g,d=g);return c}for(f=o(r,f);!g.done;v++,g=u.next())null!==(g=h(f,r,v,g.value,s))&&(e&&null!==g.alternate&&f.delete(null===g.key?v:g.key),i=a(g,i,v),null===d?c=g:d.sibling=g,d=g);return e&&f.forEach(function(e){return t(r,e)}),c}return function(e,o,a,s){var c="object"===(void 0===a?"undefined":r(a))&&null!==a&&a.type===Xe&&null===a.key;c&&(a=a.props.children);var d="object"===(void 0===a?"undefined":r(a))&&null!==a;if(d)switch(a.$$typeof){case Ye:e:{for(d=a.key,c=o;null!==c;){if(c.key===d){if(7===c.tag?a.type===Xe:c.elementType===a.type){n(e,c.sibling),(o=i(c,a.type===Xe?a.props.children:a.props)).ref=Bo(e,c,a),o.return=e,e=o;break e}n(e,c);break}t(e,c),c=c.sibling}a.type===Xe?((o=Qr(a.props.children,e.mode,s,a.key)).return=e,e=o):((s=qr(a.type,a.key,a.props,null,e.mode,s)).ref=Bo(e,o,a),s.return=e,e=s)}return u(e);case Ke:e:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(e,o.sibling),(o=i(o,a.children||[])).return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}(o=Xr(a,e.mode,s)).return=e,e=o}return u(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==o&&6===o.tag?(n(e,o.sibling),(o=i(o,a)).return=e,e=o):(n(e,o),(o=Kr(a,e.mode,s)).return=e,e=o),u(e);if(jo(a))return v(e,o,a,s);if(lt(a))return y(e,o,a,s);if(d&&Vo(e,a),void 0===a&&!c)switch(e.tag){case 1:case 0:l("152",(s=e.type).displayName||s.name||"Component")}return n(e,o)}}var $o=Ho(!0),qo=Ho(!1),Qo=null,Yo=null,Ko=!1;function Xo(e,t){var n=Vr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Go(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Zo(e){if(Ko){var t=Yo;if(t){var n=t;if(!Go(e,t)){if(!(t=xr(n))||!Go(e,t))return e.effectTag|=2,Ko=!1,void(Qo=e);Xo(Qo,n)}Qo=e,Yo=Tr(t)}else e.effectTag|=2,Ko=!1,Qo=e}}function Jo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Qo=e}function ei(e){if(e!==Qo)return!1;if(!Ko)return Jo(e),Ko=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!br(t,e.memoizedProps))for(t=Yo;t;)Xo(e,t),t=xr(t);return Jo(e),Yo=Qo?xr(e.stateNode):null,!0}function ti(){Yo=Qo=null,Ko=!1}var ni=$e.ReactCurrentOwner;function ri(e,t,n,r){t.child=null===e?qo(t,null,n,r):$o(t,e.child,n,r)}function oi(e,t,n,r,o){n=n.render;var i=t.ref;return ko(t),r=n(r,i),t.effectTag|=1,ri(e,t,r,o),t.child}function ii(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Hr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=qr(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ai(e,t,a,r,o,i))}return a=e.child,o=n?fi(e,t,n):null!==(t=pi(e,t,n))?t.sibling:null}return pi(e,t,n)}switch(t.expirationTime=0,t.tag){case 2:o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=Or(t,Rr.current);if(ko(t),i=o(e,i),t.effectTag|=1,"object"===(void 0===i?"undefined":r(i))&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,Dr(o)){var a=!0;Fr(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var u=o.getDerivedStateFromProps;"function"==typeof u&&Mo(t,o,u,e),i.updater=Ao,t.stateNode=i,i._reactInternalFiber=t,Lo(t,o,e,n),t=ci(null,t,o,!0,a,n)}else t.tag=0,ri(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:throw e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._result=t,t}}(i),t.type=e,i=t.tag=function(e){if("function"==typeof e)return Hr(e)?1:0;if(null!=e){if((e=e.$$typeof)===nt)return 11;if(e===ot)return 14}return 2}(e),a=Oo(e,a),u=void 0,i){case 0:u=ui(null,t,e,a,n);break;case 1:u=si(null,t,e,a,n);break;case 11:u=oi(null,t,e,a,n);break;case 14:u=ii(null,t,e,Oo(e.type,a),o,n);break;default:l("306",e,"")}return u;case 0:return o=t.type,i=t.pendingProps,ui(e,t,o,i=t.elementType===o?i:Oo(o,i),n);case 1:return o=t.type,i=t.pendingProps,si(e,t,o,i=t.elementType===o?i:Oo(o,i),n);case 3:return di(t),null===(o=t.updateQueue)&&l("282"),i=null!==(i=t.memoizedState)?i.element:null,co(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===i?(ti(),t=pi(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(Yo=Tr(t.stateNode.containerInfo),Qo=t,i=Ko=!0),i?(t.effectTag|=2,t.child=qo(t,null,o,n)):(ri(e,t,o,n),ti()),t=t.child),t;case 5:return No(t),null===e&&Zo(t),o=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,u=i.children,br(o,i)?u=null:null!==a&&br(o,a)&&(t.effectTag|=16),li(e,t),1!==n&&1&t.mode&&i.hidden?(t.expirationTime=1,t=null):(ri(e,t,u,n),t=t.child),t;case 6:return null===e&&Zo(t),null;case 13:return fi(e,t,n);case 4:return Po(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=$o(t,null,o,n):ri(e,t,o,n),t.child;case 11:return o=t.type,i=t.pendingProps,oi(e,t,o,i=t.elementType===o?i:Oo(o,i),n);case 7:return ri(e,t,t.pendingProps,n),t.child;case 8:case 12:return ri(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(o=t.type._context,i=t.pendingProps,u=t.memoizedProps,bo(t,a=i.value),null!==u){var s=u.value;if(0===(a=s===a&&(0!==s||1/s==1/a)||s!=s&&a!=a?0:0|("function"==typeof o._calculateChangedBits?o._calculateChangedBits(s,a):1073741823))){if(u.children===i.children&&!Nr.current){t=pi(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){if(null!==(s=u.firstContextDependency))do{if(s.context===o&&0!=(s.observedBits&a)){if(1===u.tag){var c=oo(n);c.tag=2,ao(u,c)}u.expirationTime<\/script>",d=o.removeChild(o.firstChild)):"string"==typeof p.is?d=d.createElement(o,{is:p.is}):(d=d.createElement(o),"select"===o&&p.multiple&&(d.multiple=!0)):d=d.createElementNS(c,o),(o=d)[U]=f,o[M]=u,vi(o,t,!1,!1),p=o;var m=s,h=pr(d=a,f=u);switch(d){case"iframe":case"object":En("load",p),s=f;break;case"video":case"audio":for(s=0;su&&(u=o),(s=a.childExpirationTime)>u&&(u=s),a=a.sibling;t.childExpirationTime=u}if(null!==zi)return zi;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=h?p=0:(-1===p||h component higher in the tree to provide a loading indicator or placeholder to display."+st(c))}ji=!0,d=mo(d,c),u=s;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=a,lo(u,a=Ri(u,d,a));break e;case 1:if(f=d,p=u.type,m=u.stateNode,0==(64&u.effectTag)&&("function"==typeof p.getDerivedStateFromError||null!==m&&"function"==typeof m.componentDidCatch&&(null===qi||!qi.has(m)))){u.effectTag|=2048,u.expirationTime=a,lo(u,a=Ni(u,f,a));break e}}u=u.return}while(null!==u)}zi=Ki(i);continue}o=!0,za(t)}}break}if(Ai=!1,go=yo=vo=Di.currentDispatcher=null,o)Fi=null,e.finishedWork=null;else if(null!==zi)e.finishedWork=null;else{if(null===(o=e.current.alternate)&&l("281"),Fi=null,ji){if(i=e.latestPendingTime,a=e.latestSuspendedTime,u=e.latestPingedTime,0!==i&&it?0:t)):(e.pendingCommitExpirationTime=n,e.finishedWork=o)}}function Zi(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qi||!qi.has(r)))return ao(n,e=Ni(n,e=mo(t,e),1073741823)),void na(n,1073741823);break;case 3:return ao(n,e=Ri(n,e=mo(t,e),1073741823)),void na(n,1073741823)}n=n.return}3===e.tag&&(ao(e,n=Ri(e,n=mo(t,e),1073741823)),na(e,1073741823))}function Ji(e,t){return 0!==Mi?e=Mi:Ai?e=Vi?1073741823:Wi:1&t.mode?(e=va?1073741822-10*(1+((1073741822-e+15)/10|0)):1073741822-25*(1+((1073741822-e+500)/25|0)),null!==Fi&&e===Wi&&--e):e=1073741823,va&&(0===da||e=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),eo(n,e),0!==(n=e.expirationTime)&&Pa(e,n)))}function ta(e,t){e.expirationTimeWi&&Qi(),Gr(e,t),Ai&&!Vi&&Fi===e||Pa(e,e.expirationTime),xa>ka&&(xa=0,l("185")))}function ra(e,t,n,r,o){var i=Mi;Mi=1073741823;try{return e(t,n,r,o)}finally{Mi=i}}var oa=null,ia=null,aa=0,la=void 0,ua=!1,sa=null,ca=0,da=0,fa=!1,pa=null,ma=!1,ha=!1,va=!1,ya=null,ga=a.unstable_now(),ba=1073741822-(ga/10|0),wa=ba,ka=50,xa=0,Ta=null;function Sa(){ba=1073741822-((a.unstable_now()-ga)/10|0)}function Ca(e,t){if(0!==aa){if(te.expirationTime&&(e.expirationTime=t),ua||(ma?ha&&(sa=e,ca=1073741823,Ma(e,1073741823,!1)):1073741823===t?Da(1073741823,!1):Ca(e,t))}function Ra(){var e=0,t=null;if(null!==ia)for(var n=ia,r=oa;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===ia)&&l("244"),r===r.nextScheduledRoot){oa=ia=r.nextScheduledRoot=null;break}if(r===oa)oa=o=r.nextScheduledRoot,ia.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===ia){(ia=n).nextScheduledRoot=oa,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===ia)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}sa=t,ca=e}var Na=!1;function Ia(){return!!Na||!!a.unstable_shouldYield()&&(Na=!0)}function Oa(){try{if(!Ia()&&null!==oa){Sa();var e=oa;do{var t=e.expirationTime;0!==t&&ba<=t&&(e.nextExpirationTimeToWorkOn=ba),e=e.nextScheduledRoot}while(e!==oa)}Da(0,!0)}finally{Na=!1}}function Da(e,t){if(Ra(),t)for(Sa(),wa=ba;null!==sa&&0!==ca&&e<=ca&&!(Na&&ba>ca);)Ma(sa,ca,ba>ca),Ra(),Sa(),wa=ba;else for(;null!==sa&&0!==ca&&e<=ca;)Ma(sa,ca,!1),Ra();if(t&&(aa=0,la=null),0!==ca&&Ca(sa,ca),xa=0,Ta=null,null!==ya)for(e=ya,ya=null,t=0;t=n&&(null===ya?ya=[r]:ya.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===Ta?xa++:(Ta=e,xa=0),Vi=Ai=!0,e.current===t&&l("177"),0===(n=e.pendingCommitExpirationTime)&&l("261"),e.pendingCommitExpirationTime=0,r=t.expirationTime;var o=t.childExpirationTime;if(r=o>r?o:r,e.didError=!1,0===r?(e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0):(rr?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>r&&(e.earliestPendingTime=e.latestPendingTime)),0===(o=e.earliestSuspendedTime)?Gr(e,r):ro&&Gr(e,r)),eo(0,e),Di.current=null,1g&&(b=g,g=_,_=b),b=zn(T,_),w=zn(T,g),b&&w&&(1!==C.rangeCount||C.anchorNode!==b.node||C.anchorOffset!==b.offset||C.focusNode!==w.node||C.focusOffset!==w.offset)&&((S=S.createRange()).setStart(b.node,b.offset),C.removeAllRanges(),_>g?(C.addRange(S),C.extend(w.node,w.offset)):(S.setEnd(w.node,w.offset),C.addRange(S))))),S=[];for(C=T;C=C.parentNode;)1===C.nodeType&&S.push({element:C,left:C.scrollLeft,top:C.scrollTop});for("function"==typeof T.focus&&T.focus(),T=0;TE?t:E)&&(qi=null),e.expirationTime=t,e.finishedWork=null}function za(e){null===sa&&l("246"),sa.expirationTime=0,fa||(fa=!0,pa=e)}function Fa(e,t){var n=ma;ma=!0;try{return e(t)}finally{(ma=n)||ua||Da(1073741823,!1)}}function Wa(e,t){if(ma&&!ha){ha=!0;try{return e(t)}finally{ha=!1}}return e(t)}function La(e,t,n){if(va)return e(t,n);ma||ua||0===da||(Da(da,!1),da=0);var r=va,o=ma;ma=va=!0;try{return e(t,n)}finally{va=r,(ma=o)||ua||Da(1073741823,!1)}}function ja(e,t,n,r,o){var i=t.current;e:if(n){t:{2===rn(n=n._reactInternalFiber)&&1===n.tag||l("170");var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(Dr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);l("171"),a=void 0}if(1===n.tag){var u=n.type;if(Dr(u)){n=zr(n,u,a);break e}}n=a}else n=Pr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=oo(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Yi(),ao(i,o),na(i,r),r}function Ba(e,t,n,r){var o=t.current;return ja(e,t,n,o=Ji(Ea(),o),r)}function Va(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ha(e){var t=1073741822-25*(1+((1073741822-Ea()+500)/25|0));t>=Ui&&(t=Ui-1),this._expirationTime=Ui=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function $a(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function qa(e,t,n){e={current:t=Vr(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Qa(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ya(e,t,n,r,o){Qa(n)||l("200");var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Va(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new qa(e,!1,t)}(n,r),"function"==typeof o){var u=o;o=function(){var e=Va(i._internalRoot);u.call(e)}}Wa(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return Va(i._internalRoot)}function Ka(e,t){var n=2=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},De=Fa,Ue=La,Me=function(){ua||0===da||(Da(da,!1),da=0)};var Xa={createPortal:Ka,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?l("188"):l("268",Object.keys(e))),e=null===(e=an(t))?null:e.stateNode},hydrate:function(e,t,n){return Ya(null,e,t,!0,n)},render:function(e,t,n){return Ya(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return(null==e||void 0===e._reactInternalFiber)&&l("38"),Ya(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Qa(e)||l("40"),!!e._reactRootContainer&&(Wa(function(){Ya(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Ka.apply(void 0,arguments)},unstable_batchedUpdates:Fa,unstable_interactiveUpdates:La,flushSync:function(e,t){ua&&l("187");var n=ma;ma=!0;try{return ra(e,t)}finally{ma=n,Da(1073741823,!1)}},unstable_createRoot:function(e,t){return Qa(e)||l("299","unstable_createRoot"),new qa(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=ma;ma=!0;try{ra(e)}finally{(ma=t)||ua||Da(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[z,F,W,N.injectEventPluginsByName,b,$,function(e){E(e,H)},Ie,Oe,Nn,O]}};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Lr=Br(function(e){return t.onCommitFiberRoot(n,e)}),jr=Br(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}})(i({},e,{overrideProps:null,findHostInstanceByFiber:function(e){return null===(e=an(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:A,bundleType:0,version:"16.7.0",rendererPackageName:"react-dom"});var Ga={default:Xa},Za=Ga&&Xa||Ga;e.exports=Za.default||Za},491:function(e,t,n){"use strict";(function(e){ /** @license React v0.12.0 * scheduler.production.min.js * @@ -37,7 +37,7 @@ var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){re * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var r=null,o=!1,i=3,a=-1,l=-1,u=!1,s=!1;function c(){if(!u){var e=r.expirationTime;s?S():s=!0,T(p,e)}}function d(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=i,a=l;i=e,l=t;try{var u=n()}finally{i=o,l=a}if("function"==typeof u)if(u={callback:u,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=u.next=u.previous=u;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=u,c()),(t=n.previous).next=n.previous=u,u.next=n,u.previous=t}}function f(){if(-1===a&&null!==r&&1===r.priorityLevel){u=!0;try{do{d()}while(null!==r&&1===r.priorityLevel)}finally{u=!1,null!==r?c():s=!1}}}function p(e){u=!0;var n=o;o=e;try{if(e)for(;null!==r;){var i=t.unstable_now();if(!(r.expirationTime<=i))break;do{d()}while(null!==r&&r.expirationTime<=i)}else if(null!==r)do{d()}while(null!==r&&!C())}finally{u=!1,o=n,null!==r?c():s=!1,f()}}var m,h,v=Date,y="function"==typeof setTimeout?setTimeout:void 0,g="function"==typeof clearTimeout?clearTimeout:void 0,b="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,w="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function k(e){m=b(function(t){g(h),e(t)}),h=y(function(){w(m),e(t.unstable_now())},100)}if("object"===("undefined"==typeof performance?"undefined":n(performance))&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return v.now()};var T,S,C,_=null;if("undefined"!=typeof window?_=window:void 0!==e&&(_=e),_&&_._schedMock){var E=_._schedMock;T=E[0],S=E[1],C=E[2],t.unstable_now=E[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var P=null,R=function(e){if(null!==P)try{P(e)}finally{P=null}};T=function(e){null!==P?setTimeout(T,0,e):(P=e,setTimeout(R,0,!1))},S=function(){P=null},C=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof w&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var N=null,I=!1,O=-1,D=!1,U=!1,M=0,A=33,z=33;C=function(){return M<=t.unstable_now()};var F=new MessageChannel,W=F.port2;F.port1.onmessage=function(){I=!1;var e=N,n=O;N=null,O=-1;var r=t.unstable_now(),o=!1;if(0>=M-r){if(!(-1!==n&&n<=r))return D||(D=!0,k(L)),N=e,void(O=n);o=!0}if(null!==e){U=!0;try{e(o)}finally{U=!1}}};var L=function e(t){if(null!==N){k(e);var n=t-M+z;nn&&(n=8),z=nt?W.postMessage(void 0):D||(D=!0,k(L))},S=function(){N=null,I=!1,O=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,o=a;i=e,a=t.unstable_now();try{return n()}finally{i=r,a=o,f()}},t.unstable_scheduleCallback=function(e,o){var l=-1!==a?a:t.unstable_now();if("object"===(void 0===o?"undefined":n(o))&&null!==o&&"number"==typeof o.timeout)o=l+o.timeout;else switch(i){case 1:o=l+-1;break;case 2:o=l+250;break;case 5:o=l+1073741823;break;case 4:o=l+1e4;break;default:o=l+5e3}if(e={callback:e,priorityLevel:i,expirationTime:o,next:null,previous:null},null===r)r=e.next=e.previous=e,c();else{l=null;var u=r;do{if(u.expirationTime>o){l=u;break}u=u.next}while(u!==r);null===l?l=r:l===r&&(r=e,c()),(o=l.previous).next=l.previous=e,e.next=l,e.previous=o}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=i;return function(){var r=i,o=a;i=n,a=t.unstable_now();try{return e.apply(this,arguments)}finally{i=r,a=o,f()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!o&&(null!==r&&r.expirationTime=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=u,c()),(t=n.previous).next=n.previous=u,u.next=n,u.previous=t}}function f(){if(-1===a&&null!==r&&1===r.priorityLevel){u=!0;try{do{d()}while(null!==r&&1===r.priorityLevel)}finally{u=!1,null!==r?c():s=!1}}}function p(e){u=!0;var n=o;o=e;try{if(e)for(;null!==r;){var i=t.unstable_now();if(!(r.expirationTime<=i))break;do{d()}while(null!==r&&r.expirationTime<=i)}else if(null!==r)do{d()}while(null!==r&&!C())}finally{u=!1,o=n,null!==r?c():s=!1,f()}}var m,h,v=Date,y="function"==typeof setTimeout?setTimeout:void 0,g="function"==typeof clearTimeout?clearTimeout:void 0,b="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,w="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function k(e){m=b(function(t){g(h),e(t)}),h=y(function(){w(m),e(t.unstable_now())},100)}if("object"===("undefined"==typeof performance?"undefined":n(performance))&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return v.now()};var T,S,C,_=null;if("undefined"!=typeof window?_=window:void 0!==e&&(_=e),_&&_._schedMock){var E=_._schedMock;T=E[0],S=E[1],C=E[2],t.unstable_now=E[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var P=null,R=function(e){if(null!==P)try{P(e)}finally{P=null}};T=function(e){null!==P?setTimeout(T,0,e):(P=e,setTimeout(R,0,!1))},S=function(){P=null},C=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof w&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var N=null,I=!1,O=-1,D=!1,U=!1,M=0,A=33,z=33;C=function(){return M<=t.unstable_now()};var F=new MessageChannel,W=F.port2;F.port1.onmessage=function(){I=!1;var e=N,n=O;N=null,O=-1;var r=t.unstable_now(),o=!1;if(0>=M-r){if(!(-1!==n&&n<=r))return D||(D=!0,k(L)),N=e,void(O=n);o=!0}if(null!==e){U=!0;try{e(o)}finally{U=!1}}};var L=function e(t){if(null!==N){k(e);var n=t-M+z;nn&&(n=8),z=nt?W.postMessage(void 0):D||(D=!0,k(L))},S=function(){N=null,I=!1,O=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,o=a;i=e,a=t.unstable_now();try{return n()}finally{i=r,a=o,f()}},t.unstable_scheduleCallback=function(e,o){var l=-1!==a?a:t.unstable_now();if("object"===(void 0===o?"undefined":n(o))&&null!==o&&"number"==typeof o.timeout)o=l+o.timeout;else switch(i){case 1:o=l+-1;break;case 2:o=l+250;break;case 5:o=l+1073741823;break;case 4:o=l+1e4;break;default:o=l+5e3}if(e={callback:e,priorityLevel:i,expirationTime:o,next:null,previous:null},null===r)r=e.next=e.previous=e,c();else{l=null;var u=r;do{if(u.expirationTime>o){l=u;break}u=u.next}while(u!==r);null===l?l=r:l===r&&(r=e,c()),(o=l.previous).next=l.previous=e,e.next=l,e.previous=o}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=i;return function(){var r=i,o=a;i=n,a=t.unstable_now();try{return e.apply(this,arguments)}finally{i=r,a=o,f()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!o&&(null!==r&&r.expirationTime=i){c=d;break}d=d.next}while(d!==m);null===c?c=m:c===m&&(m=s,T());var f=c.previous;f.next=c.previous=s,s.next=c,s.previous=f}}}function C(){if(-1===g&&null!==m&&m.priorityLevel===o){w=!0;try{do{S()}while(null!==m&&m.priorityLevel===o)}finally{w=!1,null!==m?T():k=!1}}}function _(n){if(!e||!v){w=!0;var r=h;h=n;try{if(n)for(;!(null===m||e&&v);){var o=t.unstable_now();if(!(m.expirationTime<=o))break;do{S()}while(null!==m&&m.expirationTime<=o&&(!e||!v))}else if(null!==m)do{if(e&&v)break;S()}while(null!==m&&!I())}finally{w=!1,h=r,null!==m?T():k=!1,C()}}}var E,P,R,N,I,O=Date,D="function"==typeof setTimeout?setTimeout:void 0,U="function"==typeof clearTimeout?clearTimeout:void 0,M="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,A="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0,z=function(e){E=M(function(t){U(P),e(t)}),P=D(function(){A(E),e(t.unstable_now())},100)};if(x){var F=performance;t.unstable_now=function(){return F.now()}}else t.unstable_now=function(){return O.now()};var W=null;if("undefined"!=typeof window?W=window:void 0!==n&&(W=n),W&&W._schedMock){var L=W._schedMock;R=L[0],N=L[1],I=L[2],t.unstable_now=L[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var j=null,B=function(e){if(null!==j)try{j(e)}finally{j=null}};R=function(e,t){null!==j?setTimeout(R,0,e):(j=e,setTimeout(B,0,!1))},N=function(){j=null},I=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof M&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof A&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var V=null,H=!1,$=-1,q=!1,Q=!1,Y=0,K=33,X=33;I=function(){return Y<=t.unstable_now()};var G=new MessageChannel,Z=G.port2;G.port1.onmessage=function(e){H=!1;var n=V,r=$;V=null,$=-1;var o=t.unstable_now(),i=!1;if(Y-o<=0){if(!(-1!==r&&r<=o))return q||(q=!0,z(J)),V=n,void($=r);i=!0}if(null!==n){Q=!0;try{n(i)}finally{Q=!1}}};var J=function e(t){if(null!==V){z(e);var n=t-Y+X;nh){w=k;break}k=k.next}while(k!==m);null===w?w=m:w===m&&(m=b,T());var x=w.previous;x.next=w.previous=b,b.next=w,b.previous=x}return b},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)m=null;else{e===m&&(m=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=y;return function(){var r=y,o=g;y=n,g=t.unstable_now();try{return e.apply(this,arguments)}finally{y=r,g=o,C()}}},t.unstable_getCurrentPriorityLevel=function(){return y},t.unstable_shouldYield=function(){return!h&&(null!==m&&m.expirationTime=i){c=d;break}d=d.next}while(d!==m);null===c?c=m:c===m&&(m=s,T());var f=c.previous;f.next=c.previous=s,s.next=c,s.previous=f}}}function C(){if(-1===g&&null!==m&&m.priorityLevel===o){w=!0;try{do{S()}while(null!==m&&m.priorityLevel===o)}finally{w=!1,null!==m?T():k=!1}}}function _(n){if(!e||!v){w=!0;var r=h;h=n;try{if(n)for(;!(null===m||e&&v);){var o=t.unstable_now();if(!(m.expirationTime<=o))break;do{S()}while(null!==m&&m.expirationTime<=o&&(!e||!v))}else if(null!==m)do{if(e&&v)break;S()}while(null!==m&&!I())}finally{w=!1,h=r,null!==m?T():k=!1,C()}}}var E,P,R,N,I,O=Date,D="function"==typeof setTimeout?setTimeout:void 0,U="function"==typeof clearTimeout?clearTimeout:void 0,M="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,A="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0,z=function(e){E=M(function(t){U(P),e(t)}),P=D(function(){A(E),e(t.unstable_now())},100)};if(x){var F=performance;t.unstable_now=function(){return F.now()}}else t.unstable_now=function(){return O.now()};var W=null;if("undefined"!=typeof window?W=window:void 0!==n&&(W=n),W&&W._schedMock){var L=W._schedMock;R=L[0],N=L[1],I=L[2],t.unstable_now=L[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var j=null,B=function(e){if(null!==j)try{j(e)}finally{j=null}};R=function(e,t){null!==j?setTimeout(R,0,e):(j=e,setTimeout(B,0,!1))},N=function(){j=null},I=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof M&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof A&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var V=null,H=!1,$=-1,q=!1,Q=!1,Y=0,K=33,X=33;I=function(){return Y<=t.unstable_now()};var G=new MessageChannel,Z=G.port2;G.port1.onmessage=function(e){H=!1;var n=V,r=$;V=null,$=-1;var o=t.unstable_now(),i=!1;if(Y-o<=0){if(!(-1!==r&&r<=o))return q||(q=!0,z(J)),V=n,void($=r);i=!0}if(null!==n){Q=!0;try{n(i)}finally{Q=!1}}};var J=function e(t){if(null!==V){z(e);var n=t-Y+X;nh){w=k;break}k=k.next}while(k!==m);null===w?w=m:w===m&&(m=b,T());var x=w.previous;x.next=w.previous=b,b.next=w,b.previous=x}return b},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)m=null;else{e===m&&(m=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=y;return function(){var r=y,o=g;y=n,g=t.unstable_now();try{return e.apply(this,arguments)}finally{y=r,g=o,C()}}},t.unstable_getCurrentPriorityLevel=function(){return y},t.unstable_shouldYield=function(){return!h&&(null!==m&&m.expirationTime-1||s(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!_[n]){t.extractEvents||s(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),_[n]=t;var r=t.eventTypes;for(var o in r)S(r[o],t,o)||s(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",o,e)}}}function S(e,t,n){E.hasOwnProperty(n)&&s(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),E[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r){if(r.hasOwnProperty(o))C(r[o],t,n)}return!0}return!!e.registrationName&&(C(e.registrationName,t,n),!0)}function C(e,t,n){P[e]&&s(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),P[e]=t,R[e]=t.eventTypes[n].dependencies;var r=e.toLowerCase();N[r]=e,"onDoubleClick"===e&&(N.ondblclick=e)}var _=[],E={},P={},R={},N={};var I=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!e){if("undefined"!=typeof console){var i=r.map(function(e){return""+e});i.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,i)}try{var a=0,l="Warning: "+t.replace(/%s/g,function(){return r[a++]});throw new Error(l)}catch(e){}}},O=null,D=null,U=null;var M=void 0;function A(e,t,n){var r=e.type||"unknown-event";e.currentTarget=U(n),function(e,t,n,r,o,i,a,l,u){if(g.apply(this,arguments),p){var s=w();h||(h=!0,v=s)}}(r,t,void 0,e),e.currentTarget=null}function z(e,t){return null==t&&s(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function F(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}M=function(e){var t=e._dispatchListeners,n=e._dispatchInstances,r=Array.isArray(t),o=r?t.length:t?1:0,i=Array.isArray(n),a=i?n.length:n?1:0;(i!==r||a!==o)&&I(!1,"EventPluginUtils: Invalid `event`.")};var W=null,L=function(e){e&&(!function(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(M(e),Array.isArray(t))for(var r=0;r0;)e=be(e),n--;for(;o-n>0;)t=be(t),o--;for(var a=n;a--;){if(e===t||e===t.alternate)return e;e=be(e),t=be(t)}return null}(e,t):null,a=[];e&&e!==i;){var l=e.alternate;if(null!==l&&l===i)break;a.push(e),e=be(e)}for(var u=[];t&&t!==i;){var s=t.alternate;if(null!==s&&s===i)break;u.push(t),t=be(t)}for(var c=0;c0;)n(u[d],"captured",o)}function ke(e,t,n){e||I(!1,"Dispatching inst must not be null");var r=function(e,t,n){return V(e,t.dispatchConfig.phasedRegistrationNames[n])}(e,n,t);r&&(n._dispatchListeners=z(n._dispatchListeners,r),n._dispatchInstances=z(n._dispatchInstances,e))}function xe(e){e&&e.dispatchConfig.phasedRegistrationNames&&function(e,t,n){for(var r=[];e;)r.push(e),e=be(e);var o=void 0;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o1?1-r:void 0;return cn=o.slice(e,l)}function fn(){return"value"in un?un.value:un.textContent}var pn=10,mn={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function hn(){return!0}function vn(){return!1}function yn(e,t,n,r){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){delete this[i];var a=o[i];a?this[i]=a(n):"target"===i?this.target=r:this[i]=n[i]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=l?hn:vn,this.isPropagationStopped=vn,this}function gn(e,t){var n="function"==typeof t;return{configurable:!0,set:function(e){return r(n?"setting the method":"setting the property","This is effectively a no-op"),e},get:function(){return r(n?"accessing the method":"accessing the property",n?"This is a no-op function":"This is set to null"),t}};function r(t,n){I(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",t,e,n)}}function bn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function wn(e){e instanceof this||s(!1,"Trying to release an event instance into a pool of a different type."),e.destructor(),this.eventPool.length8&&En<=11),Nn=32,In=String.fromCharCode(Nn),On={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[He,vt,Yt,Pt]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[ze,He,ht,vt,yt,Tt]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[ze,$e,ht,vt,yt,Tt]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[ze,qe,ht,vt,yt,Tt]}},Dn=!1;function Un(e,t){switch(e){case yt:return-1!==Sn.indexOf(t.keyCode);case ht:return t.keyCode!==Cn;case vt:case Tt:case ze:return!0;default:return!1}}function Mn(e){var t=e.detail;return"object"===(void 0===t?"undefined":r(t))&&"data"in t?t.data:null}function An(e){return"ko"===e.locale}var zn=!1;function Fn(e,t,n,r){var o=void 0,i=void 0;if(_n?o=function(e){switch(e){case $e:return On.compositionStart;case He:return On.compositionEnd;case qe:return On.compositionUpdate}}(e):zn?Un(e,n)&&(o=On.compositionEnd):function(e,t){return e===ht&&t.keyCode===Cn}(e,n)&&(o=On.compositionStart),!o)return null;Rn&&!An(n)&&(zn||o!==On.compositionStart?o===On.compositionEnd&&zn&&(i=dn()):zn=function(e){return un=e,sn=fn(),!0}(r));var a=xn.getPooled(o,t,n,r);if(i)a.data=i;else{var l=Mn(n);null!==l&&(a.data=l)}return Ce(a),a}function Wn(e,t){if(zn){if(e===He||!_n&&Un(e,t)){var n=dn();return un=null,sn=null,cn=null,zn=!1,n}return null}switch(e){case Pt:return null;case vt:if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case He:return Rn&&!An(t)?null:t.data;default:return null}}function Ln(e,t,n,r){var o=void 0;if(!(o=Pn?function(e,t){switch(e){case He:return Mn(t);case vt:return t.which!==Nn?null:(Dn=!0,In);case Yt:var n=t.data;return n===In&&Dn?null:n;default:return null}}(e,n):Wn(e,n)))return null;var i=Tn.getPooled(On.beforeInput,t,n,r);return i.data=o,Ce(i),i}var jn={eventTypes:On,extractEvents:function(e,t,n,r){var o=Fn(e,t,n,r),i=Ln(e,t,n,r);return null===o?i:null===i?o:[o,i]}},Bn=null,Vn=null,Hn=null;function $n(e){var t=D(e);if(t){"function"!=typeof Bn&&s(!1,"setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=O(t.stateNode);Bn(t.stateNode,t.type,n)}}function qn(e){Vn?Hn?Hn.push(e):Hn=[e]:Vn=e}function Qn(){if(Vn){var e=Vn,t=Hn;if(Vn=null,Hn=null,$n(e),t)for(var n=0;n-1||s(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!_[n]){t.extractEvents||s(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),_[n]=t;var r=t.eventTypes;for(var o in r)S(r[o],t,o)||s(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",o,e)}}}function S(e,t,n){E.hasOwnProperty(n)&&s(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),E[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r){if(r.hasOwnProperty(o))C(r[o],t,n)}return!0}return!!e.registrationName&&(C(e.registrationName,t,n),!0)}function C(e,t,n){P[e]&&s(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),P[e]=t,R[e]=t.eventTypes[n].dependencies;var r=e.toLowerCase();N[r]=e,"onDoubleClick"===e&&(N.ondblclick=e)}var _=[],E={},P={},R={},N={};var I=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!e){if("undefined"!=typeof console){var i=r.map(function(e){return""+e});i.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,i)}try{var a=0,l="Warning: "+t.replace(/%s/g,function(){return r[a++]});throw new Error(l)}catch(e){}}},O=null,D=null,U=null;var M=void 0;function A(e,t,n){var r=e.type||"unknown-event";e.currentTarget=U(n),function(e,t,n,r,o,i,a,l,u){if(g.apply(this,arguments),p){var s=w();h||(h=!0,v=s)}}(r,t,void 0,e),e.currentTarget=null}function z(e,t){return null==t&&s(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function F(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}M=function(e){var t=e._dispatchListeners,n=e._dispatchInstances,r=Array.isArray(t),o=r?t.length:t?1:0,i=Array.isArray(n),a=i?n.length:n?1:0;(i!==r||a!==o)&&I(!1,"EventPluginUtils: Invalid `event`.")};var W=null,L=function(e){e&&(!function(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(M(e),Array.isArray(t))for(var r=0;r0;)e=be(e),n--;for(;o-n>0;)t=be(t),o--;for(var a=n;a--;){if(e===t||e===t.alternate)return e;e=be(e),t=be(t)}return null}(e,t):null,a=[];e&&e!==i;){var l=e.alternate;if(null!==l&&l===i)break;a.push(e),e=be(e)}for(var u=[];t&&t!==i;){var s=t.alternate;if(null!==s&&s===i)break;u.push(t),t=be(t)}for(var c=0;c0;)n(u[d],"captured",o)}function ke(e,t,n){e||I(!1,"Dispatching inst must not be null");var r=function(e,t,n){return V(e,t.dispatchConfig.phasedRegistrationNames[n])}(e,n,t);r&&(n._dispatchListeners=z(n._dispatchListeners,r),n._dispatchInstances=z(n._dispatchInstances,e))}function xe(e){e&&e.dispatchConfig.phasedRegistrationNames&&function(e,t,n){for(var r=[];e;)r.push(e),e=be(e);var o=void 0;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o1?1-r:void 0;return cn=o.slice(e,l)}function fn(){return"value"in un?un.value:un.textContent}var pn=10,mn={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function hn(){return!0}function vn(){return!1}function yn(e,t,n,r){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){delete this[i];var a=o[i];a?this[i]=a(n):"target"===i?this.target=r:this[i]=n[i]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=l?hn:vn,this.isPropagationStopped=vn,this}function gn(e,t){var n="function"==typeof t;return{configurable:!0,set:function(e){return r(n?"setting the method":"setting the property","This is effectively a no-op"),e},get:function(){return r(n?"accessing the method":"accessing the property",n?"This is a no-op function":"This is set to null"),t}};function r(t,n){I(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",t,e,n)}}function bn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function wn(e){e instanceof this||s(!1,"Trying to release an event instance into a pool of a different type."),e.destructor(),this.eventPool.length8&&En<=11),Nn=32,In=String.fromCharCode(Nn),On={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[He,vt,Yt,Pt]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[ze,He,ht,vt,yt,Tt]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[ze,$e,ht,vt,yt,Tt]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[ze,qe,ht,vt,yt,Tt]}},Dn=!1;function Un(e,t){switch(e){case yt:return-1!==Sn.indexOf(t.keyCode);case ht:return t.keyCode!==Cn;case vt:case Tt:case ze:return!0;default:return!1}}function Mn(e){var t=e.detail;return"object"===(void 0===t?"undefined":r(t))&&"data"in t?t.data:null}function An(e){return"ko"===e.locale}var zn=!1;function Fn(e,t,n,r){var o=void 0,i=void 0;if(_n?o=function(e){switch(e){case $e:return On.compositionStart;case He:return On.compositionEnd;case qe:return On.compositionUpdate}}(e):zn?Un(e,n)&&(o=On.compositionEnd):function(e,t){return e===ht&&t.keyCode===Cn}(e,n)&&(o=On.compositionStart),!o)return null;Rn&&!An(n)&&(zn||o!==On.compositionStart?o===On.compositionEnd&&zn&&(i=dn()):zn=function(e){return un=e,sn=fn(),!0}(r));var a=xn.getPooled(o,t,n,r);if(i)a.data=i;else{var l=Mn(n);null!==l&&(a.data=l)}return Ce(a),a}function Wn(e,t){if(zn){if(e===He||!_n&&Un(e,t)){var n=dn();return un=null,sn=null,cn=null,zn=!1,n}return null}switch(e){case Pt:return null;case vt:if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case He:return Rn&&!An(t)?null:t.data;default:return null}}function Ln(e,t,n,r){var o=void 0;if(!(o=Pn?function(e,t){switch(e){case He:return Mn(t);case vt:return t.which!==Nn?null:(Dn=!0,In);case Yt:var n=t.data;return n===In&&Dn?null:n;default:return null}}(e,n):Wn(e,n)))return null;var i=Tn.getPooled(On.beforeInput,t,n,r);return i.data=o,Ce(i),i}var jn={eventTypes:On,extractEvents:function(e,t,n,r){var o=Fn(e,t,n,r),i=Ln(e,t,n,r);return null===o?i:null===i?o:[o,i]}},Bn=null,Vn=null,Hn=null;function $n(e){var t=D(e);if(t){"function"!=typeof Bn&&s(!1,"setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=O(t.stateNode);Bn(t.stateNode,t.type,n)}}function qn(e){Vn?Hn?Hn.push(e):Hn=[e]:Vn=e}function Qn(){if(Vn){var e=Vn,t=Hn;if(Vn=null,Hn=null,$n(e),t)for(var n=0;n2?r-2:0),i=2;i2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function uo(e,t,n,o){if(null!==n&&n.type===Qr)return!1;switch(void 0===t?"undefined":r(t)){case"function":case"symbol":return!0;case"boolean":if(o)return!1;if(null!==n)return!n.acceptsBooleans;var i=e.toLowerCase().slice(0,5);return"data-"!==i&&"aria-"!==i;default:return!1}}function so(e,t,n,r){if(null==t)return!0;if(uo(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case Kr:return!t;case Xr:return!1===t;case Gr:return isNaN(t);case Zr:return isNaN(t)||t<1}return!1}function co(e){return po.hasOwnProperty(e)?po[e]:null}function fo(e,t,n,r,o){this.acceptsBooleans=t===Yr||t===Kr||t===Xr,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var po={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){po[e]=new fo(e,Qr,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];po[t]=new fo(t,1,!1,n,null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){po[e]=new fo(e,Yr,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){po[e]=new fo(e,Yr,!1,e,null)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){po[e]=new fo(e,Kr,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){po[e]=new fo(e,Kr,!0,e,null)}),["capture","download"].forEach(function(e){po[e]=new fo(e,Xr,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){po[e]=new fo(e,Zr,!1,e,null)}),["rowSpan","start"].forEach(function(e){po[e]=new fo(e,Gr,!1,e.toLowerCase(),null)});var mo=/[\-\:]([a-z])/g,ho=function(e){return e[1].toUpperCase()};function vo(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];var o=r.attributeName,i=null;if(r.type===Xr){if(e.hasAttribute(o)){var a=e.getAttribute(o);return""===a||(so(t,n,r,!1)?a:a===""+n?n:a)}}else if(e.hasAttribute(o)){if(so(t,n,r,!1))return e.getAttribute(o);if(r.type===Kr)return n;i=e.getAttribute(o)}return so(t,n,r,!1)?null===i?n:i:i===""+n?n:i}function yo(e,t,n){if(ao(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var r=e.getAttribute(t);return r===""+n?n:r}}function go(e,t,n,r){var o=co(t);if(!lo(t,o,r))if(so(t,n,o,r)&&(n=null),r||null===o){if(ao(t)){var i=t;null===n?e.removeAttribute(i):e.setAttribute(i,""+n)}}else if(o.mustUseProperty){var a=o.propertyName;if(null===n){var l=o.type;e[a]=l!==Kr&&""}else e[a]=n}else{var u=o.attributeName,s=o.attributeNamespace;if(null===n)e.removeAttribute(u);else{var c=o.type,d=void 0;d=c===Kr||c===Xr&&!0===n?"":""+n,s?e.setAttributeNS(s,u,d):e.setAttribute(u,d)}}}function bo(e){return""+e}function wo(e){switch(void 0===e?"undefined":r(e)){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(mo,ho);po[t]=new fo(t,1,!1,e,null)}),["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(mo,ho);po[t]=new fo(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(mo,ho);po[t]=new fo(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),po.tabIndex=new fo("tabIndex",1,!1,"tabindex",null);var ko,xo={checkPropTypes:null};ko=fr.ReactDebugCurrentFrame;var To={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},So={value:function(e,t,n){return To[e.type]||e.onChange||e.readOnly||e.disabled||null==e[t]?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return e.onChange||e.readOnly||e.disabled||null==e[t]?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};xo.checkPropTypes=function(e,t){i(So,t,"prop",e,ko.getStackAddendum)};var Co=!0,_o=!1,Eo=!1,Po=!0,Ro=!0,No=!1,Io=!0,Oo=!0,Do=!1,Uo=!1,Mo=!1,Ao=!1,zo=!1,Fo=!1,Wo=!1;function Lo(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function jo(e,t){var n=e,r=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked})}function Bo(e,t){xo.checkPropTypes("input",t),void 0===t.checked||void 0===t.defaultChecked||zo||(qr(!1,"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",jr()||"A component",t.type),zo=!0),void 0===t.value||void 0===t.defaultValue||Ao||(qr(!1,"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",jr()||"A component",t.type),Ao=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:wo(null!=t.value?t.value:r),controlled:Lo(t)}}function Vo(e,t){var n=e,r=t.checked;null!=r&&go(n,"checked",r,!1)}function Ho(e,t){var n=e,r=Lo(t);n._wrapperState.controlled||!r||Wo||(qr(!1,"A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",t.type),Wo=!0),!n._wrapperState.controlled||r||Fo||(qr(!1,"A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",t.type),Fo=!0),Vo(e,t);var o=wo(t.value),i=t.type;if(null!=o)"number"===i?(0===o&&""===n.value||n.value!=o)&&(n.value=bo(o)):n.value!==bo(o)&&(n.value=bo(o));else if("submit"===i||"reset"===i)return void n.removeAttribute("value");Do?t.hasOwnProperty("defaultValue")&&Qo(n,t.type,wo(t.defaultValue)):t.hasOwnProperty("value")?Qo(n,t.type,o):t.hasOwnProperty("defaultValue")&&Qo(n,t.type,wo(t.defaultValue)),Do?null==t.defaultChecked?n.removeAttribute("checked"):n.defaultChecked=!!t.defaultChecked:null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function $o(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type,i="submit"===o||"reset"===o;if(i&&(void 0===t.value||null===t.value))return;var a=bo(r._wrapperState.initialValue);if(!n)if(Do){var l=wo(t.value);null!=l&&(i||l!==r.value)&&(r.value=bo(l))}else a!==r.value&&(r.value=a);if(Do){var u=wo(t.defaultValue);null!=u&&(r.defaultValue=bo(u))}else r.defaultValue=a}var s=r.name;""!==s&&(r.name=""),Do?(n||Vo(e,t),t.hasOwnProperty("defaultChecked")&&(r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!t.defaultChecked)):(r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked),""!==s&&(r.name=s)}function qo(e,t){var n=e;Ho(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i9));var ui={eventTypes:Yo,_isInputEventSupported:ti,extractEvents:function(e,t,n,r){var o,i,a,l,u=t?ve(t):window,s=void 0,c=void 0;if("select"===(i=(o=u).nodeName&&o.nodeName.toLowerCase())||"input"===i&&"file"===o.type?s=ei:er(u)?ti?s=li:(s=ii,c=oi):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(u)&&(s=ai),s){var d=s(e,t);if(d)return Ko(d,n,r)}c&&c(e,u,t),e===ze&&(l=(a=u)._wrapperState)&&l.controlled&&"number"===a.type&&(Do||Qo(a,"number",a.value))}},si=yn.extend({view:null,detail:null}),ci={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function di(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=ci[e];return!!n&&!!t[n]}function fi(e){return di}var pi=0,mi=0,hi=!1,vi=!1,yi=si.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:fi,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=pi;return pi=e.screenX,hi?"mousemove"===e.type?e.screenX-t:0:(hi=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=mi;return mi=e.screenY,vi?"mousemove"===e.type?e.screenY-t:0:(vi=!0,0)}}),gi=yi.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),bi={mouseEnter:{registrationName:"onMouseEnter",dependencies:[Ct,_t]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[Ct,_t]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[Mt,At]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[Mt,At]}},wi={eventTypes:bi,extractEvents:function(e,t,n,r){var o=e===_t||e===At,i=e===Ct||e===Mt;if(o&&(n.relatedTarget||n.fromElement))return null;if(!i&&!o)return null;var a=void 0;if(r.window===r)a=r;else{var l=r.ownerDocument;a=l?l.defaultView||l.parentWindow:window}var u=void 0,s=void 0;if(i){u=t;var c=n.relatedTarget||n.toElement;s=c?me(c):null}else u=null,s=t;if(u===s)return null;var d=void 0,f=void 0,p=void 0,m=void 0;e===Ct||e===_t?(d=yi,f=bi.mouseLeave,p=bi.mouseEnter,m="mouse"):e!==Mt&&e!==At||(d=gi,f=bi.pointerLeave,p=bi.pointerEnter,m="pointer");var h=null==u?a:ve(u),v=null==s?a:ve(s),y=d.getPooled(f,u,n,r);y.type=m+"leave",y.target=h,y.relatedTarget=v;var g=d.getPooled(p,s,n,r);return g.type=m+"enter",g.target=v,g.relatedTarget=h,function(e,t,n,r){we(n,r,Te,e,t)}(y,g,u,s),[y,g]}},ki=Object.prototype.hasOwnProperty;function xi(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Ti(e,t){if(xi(e,t))return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i=32||13===t?t:0}var ea={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ta={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};var na=si.extend({key:function(e){if(e.key){var t=ea[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=Ji(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?ta[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:fi,charCode:function(e){return"keypress"===e.type?Ji(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ji(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ra=yi.extend({dataTransfer:null}),oa=si.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:fi}),ia=yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),aa=yi.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),la=[[De,"abort"],[Ue,"animationEnd"],[Me,"animationIteration"],[Ae,"animationStart"],[Fe,"canPlay"],[We,"canPlayThrough"],[Ze,"drag"],[et,"dragEnter"],[tt,"dragExit"],[nt,"dragLeave"],[rt,"dragOver"],[at,"durationChange"],[lt,"emptied"],[ut,"encrypted"],[st,"ended"],[ct,"error"],[ft,"gotPointerCapture"],[gt,"load"],[wt,"loadedData"],[kt,"loadedMetadata"],[bt,"loadStart"],[xt,"lostPointerCapture"],[St,"mouseMove"],[Ct,"mouseOut"],[_t,"mouseOver"],[It,"playing"],[Ut,"pointerMove"],[Mt,"pointerOut"],[At,"pointerOver"],[Ft,"progress"],[jt,"scroll"],[Vt,"seeking"],[$t,"stalled"],[Qt,"suspend"],[Kt,"timeUpdate"],[Xt,"toggle"],[Jt,"touchMove"],[tn,"transitionEnd"],[rn,"waiting"],[on,"wheel"]],ua={},sa={};function ca(e,t){var n=e[0],r=e[1],o="on"+(r[0].toUpperCase()+r.slice(1)),i={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],isInteractive:t};ua[r]=i,sa[n]=i}[[ze,"blur"],[Le,"cancel"],[Be,"click"],[Ve,"close"],[Qe,"contextMenu"],[Ye,"copy"],[Ke,"cut"],[Ge,"auxClick"],[Xe,"doubleClick"],[Je,"dragEnd"],[ot,"dragStart"],[it,"drop"],[dt,"focus"],[pt,"input"],[mt,"invalid"],[ht,"keyDown"],[vt,"keyPress"],[yt,"keyUp"],[Tt,"mouseDown"],[Et,"mouseUp"],[Pt,"paste"],[Rt,"pause"],[Nt,"play"],[Ot,"pointerCancel"],[Dt,"pointerDown"],[zt,"pointerUp"],[Wt,"rateChange"],[Lt,"reset"],[Bt,"seeked"],[qt,"submit"],[Gt,"touchCancel"],[Zt,"touchEnd"],[en,"touchStart"],[nn,"volumeChange"]].forEach(function(e){ca(e,!0)}),la.forEach(function(e){ca(e,!1)});var da=[De,Le,Fe,We,Ve,at,lt,ut,st,ct,pt,mt,gt,wt,kt,bt,Rt,Nt,It,Ft,Wt,Lt,Bt,Vt,$t,qt,Qt,Kt,Xt,nn,rn],fa={eventTypes:ua,isInteractiveTopLevelEventType:function(e){var t=sa[e];return void 0!==t&&!0===t.isInteractive},extractEvents:function(e,t,n,r){var o=sa[e];if(!o)return null;var i=void 0;switch(e){case vt:if(0===Ji(n))return null;case ht:case yt:i=na;break;case ze:case dt:i=Zi;break;case Be:if(2===n.button)return null;case Ge:case Xe:case Tt:case St:case Et:case Ct:case _t:case Qe:i=yi;break;case Ze:case Je:case et:case tt:case nt:case rt:case ot:case it:i=ra;break;case Gt:case Zt:case Jt:case en:i=oa;break;case Ue:case Me:case Ae:i=Xi;break;case tn:i=ia;break;case jt:i=si;break;case on:i=aa;break;case Ye:case Ke:case Pt:i=Gi;break;case ft:case xt:case Ot:case Dt:case Ut:case Mt:case At:case zt:i=gi;break;default:-1===da.indexOf(e)&&I(!1,"SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",e),i=yn}var a=i.getPooled(o,t,n,r);return Ce(a),a}},pa=fa.isInteractiveTopLevelEventType,ma=10,ha=[];function va(e){for(;e.return;)e=e.return;return e.tag!==K?null:e.stateNode.containerInfo}function ya(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=va(n);if(!r)break;e.ancestors.push(n),n=me(r)}while(n);for(var o=0;o=t)return{node:n,offset:t-r};r=o}n=Ra(Na(n))}}function Oa(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,i=r.anchorOffset,a=r.focusNode,l=r.focusOffset;try{o.nodeType,a.nodeType}catch(e){return null}return function(e,t,n,r,o){var i=0,a=-1,l=-1,u=0,s=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&c.nodeType!==nr||(a=i+n),c!==r||0!==o&&c.nodeType!==nr||(l=i+o),c.nodeType===nr&&(i+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++u===n&&(a=i),d===r&&++s===o&&(l=i),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}if(-1===a||-1===l)return null;return{start:a,end:l}}(e,o,i,a,l)}function Da(e){return e&&e.nodeType===nr}function Ua(e){return e&&e.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||!Da(t)&&(Da(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(e.ownerDocument.documentElement,e)}function Ma(){for(var e=window,t=Pa();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(e){return t}t=Pa(e.document)}return t}function Aa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function za(){var e=Ma();return{focusedElem:e,selectionRange:Aa(e)?function(e){var t=void 0;t="selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Oa(e);return t||{start:0,end:0}}(e):null}}function Fa(e){var t=Ma(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Ua(n)){null!==r&&Aa(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),i=e.textContent.length,a=Math.min(t.start,i),l=void 0===t.end?a:Math.min(t.end,i);if(!o.extend&&a>l){var u=l;l=a,a=u}var s=Ia(e,a),c=Ia(e,l);if(s&&c){if(1===o.rangeCount&&o.anchorNode===s.node&&o.anchorOffset===s.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var d=n.createRange();d.setStart(s.node,s.offset),o.removeAllRanges(),a>l?(o.addRange(d),o.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),o.addRange(d))}}}(e,t)}(n,r);for(var o=[],i=n;i=i.parentNode;)i.nodeType===tr&&o.push({element:i,left:i.scrollLeft,top:i.scrollTop});"function"==typeof n.focus&&n.focus();for(var a=0;a children.")))}),null==n.selected||Ya||(qr(!1,"Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",n,Ja())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||Za||(qr(!1,"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),Za=!0)}var ol=!1;function il(e,t){var n=e;return null!=t.dangerouslySetInnerHTML&&s(!1,"`dangerouslySetInnerHTML` does not make sense on ",b.noCloneChecked=!!_e.cloneNode(!0).lastChild.defaultValue;var Me=a.documentElement,Oe=/^key/,Pe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,je=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Ce(){return!1}function Te(){try{return a.activeElement}catch(e){}}function ke(e,t,n,r,i,u){var a,l;if("object"===(void 0===t?"undefined":o(t))){for(l in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,l,n,r,t[l],u);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ce;else if(!i)return e;return 1===u&&(a=i,(i=function(e){return O().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=O.guid++)),e.each(function(){O.event.add(this,t,i,r,n)})}O.event={global:{},add:function(e,t,n,r,i){var o,u,a,l,s,c,f,d,h,p,v,y=J.get(e);if(y)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&O.find.matchesSelector(Me,i),n.guid||(n.guid=O.guid++),(l=y.events)||(l=y.events={}),(u=y.handle)||(u=y.handle=function(t){return void 0!==O&&O.event.triggered!==t.type?O.event.dispatch.apply(e,arguments):void 0}),s=(t=(t||"").match(F)||[""]).length;s--;)h=v=(a=je.exec(t[s])||[])[1],p=(a[2]||"").split(".").sort(),h&&(f=O.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=O.event.special[h]||{},c=O.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=l[h])||((d=l[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,u)||e.addEventListener&&e.addEventListener(h,u)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),O.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,u,a,l,s,c,f,d,h,p,v,y=J.hasData(e)&&J.get(e);if(y&&(l=y.events)){for(s=(t=(t||"").match(F)||[""]).length;s--;)if(h=v=(a=je.exec(t[s])||[])[1],p=(a[2]||"").split(".").sort(),h){for(f=O.event.special[h]||{},d=l[h=(r?f.delegateType:f.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)c=d[o],!i&&v!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));u&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,y.handle)||O.removeEvent(e,h,y.handle),delete l[h])}else for(h in l)O.event.remove(e,h+t[s],n,r,!0);O.isEmptyObject(l)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,u,a=O.event.fix(e),l=new Array(arguments.length),s=(J.get(this,"events")||{})[a.type]||[],c=O.event.special[a.type]||{};for(l[0]=a,t=1;t=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(o=[],u={},n=0;n-1:O.find(i,this,null,[s]).length),u[i]&&o.push(r);o.length&&a.push({elem:s,handlers:o})}return s=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/\s*$/g;function Re(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&O(e).children("tbody")[0]||e}function qe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,i,o,u,a,l,s;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),u=J.set(t,o),s=o.events))for(i in delete u.handle,u.events={},s)for(n=0,r=s[i].length;n1&&"string"==typeof p&&!b.checkClone&&Ne.test(p))return e.each(function(i){var o=e.eq(i);v&&(t[0]=p.call(this,i,o.html())),Fe(o,t,n,r)});if(d&&(o=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(u=O.map(ge(i,"script"),qe)).length;f")},clone:function(e,t,n){var r,i,o,u,a,l,s,c=e.cloneNode(!0),f=O.contains(e.ownerDocument,e);if(!(b.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||O.isXMLDoc(e)))for(u=ge(c),r=0,i=(o=ge(e)).length;r0&&be(u,!f&&ge(e,"script")),c},cleanData:function(e){for(var t,n,r,i=O.event.special,o=0;void 0!==(n=e[o]);o++)if(Z(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?O.event.remove(n,r):O.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[ee.expando]&&(n[ee.expando]=void 0)}}}),O.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return W(this,function(e){return void 0===e?O.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Fe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return Fe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(O.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return O.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ye[(pe.exec(e)||["",""])[1].toLowerCase()]){e=O.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))),l}function tt(e,t,n){var r=Ue(e),i=$e(e,t,r),o="border-box"===O.css(e,"boxSizing",!1,r),u=o;if(ze.test(i)){if(!n)return i;i="auto"}return u=u&&(b.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===O.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],u=!0),(i=parseFloat(i)||0)+et(e,t,n||(o?"border":"content"),u,r,i)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}O.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,u,a,l=G(t),s=Ve.test(t),c=e.style;if(s||(t=Qe(l)),a=O.cssHooks[t]||O.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(u=void 0===n?"undefined":o(n))&&(i=oe.exec(n))&&i[1]&&(n=se(e,t,i),u="number"),null!=n&&n==n&&("number"===u&&(n+=i&&i[3]||(O.cssNumber[l]?"":"px")),b.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(s?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,u,a=G(t);return Ve.test(t)||(t=Qe(a)),(u=O.cssHooks[t]||O.cssHooks[a])&&"get"in u&&(i=u.get(e,!0,n)),void 0===i&&(i=$e(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),O.each(["height","width"],function(e,t){O.cssHooks[t]={get:function(e,n,r){if(n)return!We.test(O.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):le(e,Xe,function(){return tt(e,t,r)})},set:function(e,n,r){var i,o=Ue(e),u="border-box"===O.css(e,"boxSizing",!1,o),a=r&&et(e,t,r,u,o);return u&&b.scrollboxSize()===o.position&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),a&&(i=oe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=O.css(e,t)),Je(0,n,a)}}}),O.cssHooks.marginLeft=Ye(b.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),O.each({margin:"",padding:"",border:"Width"},function(e,t){O.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ue[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(O.cssHooks[e+t].set=Je)}),O.fn.extend({css:function(e,t){return W(this,function(e,t,n){var r,i,o={},u=0;if(Array.isArray(t)){for(r=Ue(e),i=t.length;u1)}}),O.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||O.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(O.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=O.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=O.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){O.fx.step[e.prop]?O.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[O.cssProps[e.prop]]&&!O.cssHooks[e.prop]?e.elem[e.prop]=e.now:O.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},O.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},O.fx=nt.prototype.init,O.fx.step={};var rt,it,ot=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function at(){it&&(!1===a.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(at):r.setTimeout(at,O.fx.interval),O.fx.tick())}function lt(){return r.setTimeout(function(){rt=void 0}),rt=Date.now()}function st(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ue[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,u=i.length;o1)},removeAttr:function(e){return this.each(function(){O.removeAttr(this,e)})}}),O.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?O.prop(e,t,n):(1===o&&O.isXMLDoc(e)||(i=O.attrHooks[t.toLowerCase()]||(O.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void O.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=O.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!b.radioValue&&"radio"===t&&E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(F);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?O.removeAttr(e,n):e.setAttribute(n,n),n}},O.each(O.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||O.find.attr;ht[t]=function(e,t,r){var i,o,u=t.toLowerCase();return r||(o=ht[u],ht[u]=i,i=null!=n(e,t,r)?u:null,ht[u]=o),i}});var pt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function yt(e){return(e.match(F)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}O.fn.extend({prop:function(e,t){return W(this,O.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[O.propFix[e]||e]})}}),O.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&O.isXMLDoc(e)||(t=O.propFix[t]||t,i=O.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=O.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(O.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){O.propFix[this.toLowerCase()]=this}),O.fn.extend({addClass:function(e){var t,n,r,i,o,u,a,l=0;if(_(e))return this.each(function(t){O(this).addClass(e.call(this,t,gt(this)))});if((t=bt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(u=0;o=t[u++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=yt(r))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,u,a,l=0;if(_(e))return this.each(function(t){O(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(u=0;o=t[u++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=yt(r))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":o(e),r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):_(e)?this.each(function(n){O(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,i,o,u;if(r)for(i=0,o=O(this),u=bt(e);t=u[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;O.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=_(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,O(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,function(e){return null==e?"":e+""})),(t=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_t,""):null==n?"":n:void 0}}),O.extend({valHooks:{option:{get:function(e){var t=O.find.attr(e,"value");return null!=t?t:yt(O.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,u="select-one"===e.type,a=u?null:[],l=u?o+1:i.length;for(r=o<0?l:u?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),O.each(["radio","checkbox"],function(){O.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=O.inArray(O(e).val(),t)>-1}},b.checkOn||(O.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),b.focusin="onfocusin"in r;var mt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};O.extend(O.event,{trigger:function(e,t,n,i){var u,l,s,c,f,d,h,p,y=[n||a],g=v.call(e,"type")?e.type:e,b=v.call(e,"namespace")?e.namespace.split("."):[];if(l=p=s=n=n||a,3!==n.nodeType&&8!==n.nodeType&&!mt.test(g+O.event.triggered)&&(g.indexOf(".")>-1&&(g=(b=g.split(".")).shift(),b.sort()),f=g.indexOf(":")<0&&"on"+g,(e=e[O.expando]?e:new O.Event(g,"object"===(void 0===e?"undefined":o(e))&&e)).isTrigger=i?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:O.makeArray(t,[e]),h=O.event.special[g]||{},i||!h.trigger||!1!==h.trigger.apply(n,t))){if(!i&&!h.noBubble&&!m(n)){for(c=h.delegateType||g,mt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)y.push(l),s=l;s===(n.ownerDocument||a)&&y.push(s.defaultView||s.parentWindow||r)}for(u=0;(l=y[u++])&&!e.isPropagationStopped();)p=l,e.type=u>1?c:h.bindType||g,(d=(J.get(l,"events")||{})[e.type]&&J.get(l,"handle"))&&d.apply(l,t),(d=f&&l[f])&&d.apply&&Z(l)&&(e.result=d.apply(l,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(y.pop(),t)||!Z(n)||f&&_(n[g])&&!m(n)&&((s=n[f])&&(n[f]=null),O.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,xt),n[g](),e.isPropagationStopped()&&p.removeEventListener(g,xt),O.event.triggered=void 0,s&&(n[f]=s)),e.result}},simulate:function(e,t,n){var r=O.extend(new O.Event,n,{type:e,isSimulated:!0});O.event.trigger(r,null,t)}}),O.fn.extend({trigger:function(e,t){return this.each(function(){O.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return O.event.trigger(e,t,n,!0)}}),b.focusin||O.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){O.event.simulate(t,e.target,O.event.fix(e))};O.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var wt=r.location,Mt=Date.now(),Ot=/\?/;O.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||O.error("Invalid XML: "+e),t};var Pt=/\[\]$/,jt=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,Ct=/^(?:input|select|textarea|keygen)/i;function Tt(e,t,n,r){var i;if(Array.isArray(t))O.each(t,function(t,i){n||Pt.test(e)?r(e,i):Tt(e+"["+("object"===(void 0===i?"undefined":o(i))&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==M(t))r(e,t);else for(i in t)Tt(e+"["+i+"]",t[i],n,r)}O.param=function(e,t){var n,r=[],i=function(e,t){var n=_(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!O.isPlainObject(e))O.each(e,function(){i(this.name,this.value)});else for(n in e)Tt(n,e[n],t,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=O.prop(this,"elements");return e?O.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!O(this).is(":disabled")&&Ct.test(this.nodeName)&&!St.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var n=O(this).val();return null==n?null:Array.isArray(n)?O.map(n,function(e){return{name:t.name,value:e.replace(jt,"\r\n")}}):{name:t.name,value:n.replace(jt,"\r\n")}}).get()}});var kt=/%20/g,Et=/#.*$/,At=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Dt=/^(?:GET|HEAD)$/,Rt=/^\/\//,qt={},Lt={},It="*/".concat("*"),Ft=a.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(F)||[];if(_(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function zt(e,t,n,r){var i={},o=e===Lt;function u(a){var l;return i[a]=!0,O.each(e[a]||[],function(e,a){var s=a(t,n,r);return"string"!=typeof s||o||i[s]?o?!(l=s):void 0:(t.dataTypes.unshift(s),u(s),!1)}),l}return u(t.dataTypes[0])||!i["*"]&&u("*")}function Ut(e,t){var n,r,i=O.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&O.extend(!0,e,r),e}Ft.href=wt.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,O.ajaxSettings),t):Ut(O.ajaxSettings,e)},ajaxPrefilter:Ht(qt),ajaxTransport:Ht(Lt),ajax:function(e,t){"object"===(void 0===e?"undefined":o(e))&&(t=e,e=void 0),t=t||{};var n,i,u,l,s,c,f,d,h,p,v=O.ajaxSetup({},t),y=v.context||v,g=v.context&&(y.nodeType||y.jquery)?O(y):O.event,b=O.Deferred(),_=O.Callbacks("once memory"),m=v.statusCode||{},x={},w={},M="canceled",P={readyState:0,getResponseHeader:function(e){var t;if(f){if(!l)for(l={};t=Nt.exec(u);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return f?u:null},setRequestHeader:function(e,t){return null==f&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==f&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)P.always(e[P.status]);else for(t in e)m[t]=[m[t],e[t]];return this},abort:function(e){var t=e||M;return n&&n.abort(t),j(0,t),this}};if(b.promise(P),v.url=((e||v.url||wt.href)+"").replace(Rt,wt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(F)||[""],null==v.crossDomain){c=a.createElement("a");try{c.href=v.url,c.href=c.href,v.crossDomain=Ft.protocol+"//"+Ft.host!=c.protocol+"//"+c.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=O.param(v.data,v.traditional)),zt(qt,v,t,P),f)return P;for(h in(d=O.event&&v.global)&&0==O.active++&&O.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Dt.test(v.type),i=v.url.replace(Et,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(kt,"+")):(p=v.url.slice(i.length),v.data&&(v.processData||"string"==typeof v.data)&&(i+=(Ot.test(i)?"&":"?")+v.data,delete v.data),!1===v.cache&&(i=i.replace(At,"$1"),p=(Ot.test(i)?"&":"?")+"_="+Mt+++p),v.url=i+p),v.ifModified&&(O.lastModified[i]&&P.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&P.setRequestHeader("If-None-Match",O.etag[i])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&P.setRequestHeader("Content-Type",v.contentType),P.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+It+"; q=0.01":""):v.accepts["*"]),v.headers)P.setRequestHeader(h,v.headers[h]);if(v.beforeSend&&(!1===v.beforeSend.call(y,P,v)||f))return P.abort();if(M="abort",_.add(v.complete),P.done(v.success),P.fail(v.error),n=zt(Lt,v,t,P)){if(P.readyState=1,d&&g.trigger("ajaxSend",[P,v]),f)return P;v.async&&v.timeout>0&&(s=r.setTimeout(function(){P.abort("timeout")},v.timeout));try{f=!1,n.send(x,j)}catch(e){if(f)throw e;j(-1,e)}}else j(-1,"No Transport");function j(e,t,o,a){var l,c,h,p,x,w=t;f||(f=!0,s&&r.clearTimeout(s),n=void 0,u=a||"",P.readyState=e>0?4:0,l=e>=200&&e<300||304===e,o&&(p=function(e,t,n){for(var r,i,o,u,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}u||(u=i)}o=o||u}if(o)return o!==l[0]&&l.unshift(o),n[o]}(v,P,o)),p=function(e,t,n,r){var i,o,u,a,l,s={},c=e.dataTypes.slice();if(c[1])for(u in e.converters)s[u.toLowerCase()]=e.converters[u];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(u=s[l+" "+o]||s["* "+o]))for(i in s)if((a=i.split(" "))[1]===o&&(u=s[l+" "+a[0]]||s["* "+a[0]])){!0===u?u=s[i]:!0!==s[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==u)if(u&&e.throws)t=u(t);else try{t=u(t)}catch(e){return{state:"parsererror",error:u?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(v,p,P,l),l?(v.ifModified&&((x=P.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=x),(x=P.getResponseHeader("etag"))&&(O.etag[i]=x)),204===e||"HEAD"===v.type?w="nocontent":304===e?w="notmodified":(w=p.state,c=p.data,l=!(h=p.error))):(h=w,!e&&w||(w="error",e<0&&(e=0))),P.status=e,P.statusText=(t||w)+"",l?b.resolveWith(y,[c,w,P]):b.rejectWith(y,[P,w,h]),P.statusCode(m),m=void 0,d&&g.trigger(l?"ajaxSuccess":"ajaxError",[P,v,l?c:h]),_.fireWith(y,[P,w]),d&&(g.trigger("ajaxComplete",[P,v]),--O.active||O.event.trigger("ajaxStop")))}return P},getJSON:function(e,t,n){return O.get(e,t,n,"json")},getScript:function(e,t){return O.get(e,void 0,t,"script")}}),O.each(["get","post"],function(e,t){O[t]=function(e,n,r,i){return _(n)&&(i=i||r,r=n,n=void 0),O.ajax(O.extend({url:e,type:t,dataType:i,data:n,success:r},O.isPlainObject(e)&&e))}}),O._evalUrl=function(e){return O.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},O.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=O(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _(e)?this.each(function(t){O(this).wrapInner(e.call(this,t))}):this.each(function(){var t=O(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=_(e);return this.each(function(n){O(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){O(this).replaceWith(this.childNodes)}),this}}),O.expr.pseudos.hidden=function(e){return!O.expr.pseudos.visible(e)},O.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},$t=O.ajaxSettings.xhr();b.cors=!!$t&&"withCredentials"in $t,b.ajax=$t=!!$t,O.ajaxTransport(function(e){var t,n;if(b.cors||$t&&!e.crossDomain)return{send:function(i,o){var u,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(u in e.xhrFields)a[u]=e.xhrFields[u];for(u in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(u,i[u]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Bt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&r.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),O.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return O.globalEval(e),e}}}),O.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),O.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=O("