diff --git a/dist/aster_plot.js b/dist/aster_plot.js new file mode 100644 index 00000000..82f70375 --- /dev/null +++ b/dist/aster_plot.js @@ -0,0 +1 @@ +looker.plugins.visualizations.add({options:{legend:{section:"Data",type:"string",label:"Legend",values:[{Left:"left"},{Right:"right"},{Off:"off"}],display:"radio",default:"off"},label_value:{section:"Data",type:"string",label:"Data Labels",values:[{On:"on"},{Off:"off"}],display:"radio",default:"on"},center_value:{section:"Data",type:"string",label:"Center Value",values:[{"Weighted Avg":"avg"},{Min:"min"},{Max:"max"},{None:"off"}],display:"select",default:"avg"},color_range:{section:"Format",order:1,type:"array",label:"Color Range",display:"colors",default:["#9E0041","#C32F4B","#E1514B","#F47245","#FB9F59","#FEC574","#FAE38C","#EAF195","#C7E89E","#9CD6A4","#6CC4A4","#4D9DB4","#4776B4","#5E4EA1"]},inner_circle_color:{section:"Format",order:2,type:"string",label:"Inner Circle",display:"color",default:"#ffffff"},text_color:{section:"Format",order:3,type:"string",label:"Text Color",display:"color",default:"#000000"},font_size:{section:"Format",order:4,type:"number",label:"Font Size",display:"range",min:10,max:100,default:40},radius:{section:"Data",type:"number",label:"Range Override",placeholder:"Value represented by radius of circle"},threshold:{section:"Format",type:"number",label:"Label Minimum Slice Size (radians)",default:.2},label_size:{section:"Format",type:"number",label:"Label Font Size (px)",default:10},chart_size:{section:"Format",order:4,type:"string",label:"Chart Size",default:"100%"}},create:function(e,t){e.innerHTML='\n ';var n=e.appendChild(document.createElement("div"));this.container=n,n.className="d3-aster-plot",this._textElement=n.appendChild(document.createElement("div"))},updateAsync:function(e,t,n,a,r,l){if(this.container.innerHTML="",this.clearErrors(),i=this,o={min_pivots:0,max_pivots:0,min_dimensions:1,max_dimensions:1,min_measures:2,max_measures:2},s=function(e,t,n,a,r){return!(!i.addError||!i.clearErrors)&&(nr?(i.addError({title:"Too Many "+t+"s",message:"This visualization requires "+(a===r?"exactly":"no more than")+" "+r+" "+t.toLowerCase()+(1===a?"":"s")+".",group:e}),!1):(i.clearErrors(e),!0))},d=a.fields,c=d.pivots,u=d.dimension_like,f=d.measure_like,s("pivot-req","Pivot",c.length,o.min_pivots,o.max_pivots)&&s("dim-req","Dimension",u.length,o.min_dimensions,o.max_dimensions)&&s("mes-req","Measure",f.length,o.min_measures,o.max_measures)){var i,o,s,d,c,u,f,p=a.fields.dimension_like[0].name,g=a.fields.measure_like[0].name,h=a.fields.measure_like[1].name,m=30,x=30,y=30,v=30,_=t.clientWidth-v-x,b=t.clientHeight-m-y,A=Math.min(_,b)/2,E=.3*A;if(!isNaN(parseFloat(n.chart_size))){var k=parseFloat(n.chart_size)/100;A*=k>2?2:k<.2?.2:k}n.color_range||(n.color_range=["#9E0041","#C32F4B","#E1514B","#F47245","#FB9F59","#FEC574","#FAE38C","#EAF195","#C7E89E","#9CD6A4","#6CC4A4","#4D9DB4","#4776B4","#5E4EA1"]);var C=[],z=[],F=n.color_range.length,w={};for(let t=0;t=F){let a=Math.floor(t/F);e[t].color=n.color_range[t-a*F]}else e[t].color=n.color_range[t];e[t].label=e[t][p].value,e[t].score=+e[t][g].value,e[t].weight=+e[t][h].value,e[t].width=+e[t][h].value,e[t].rendered=e[t][g].rendered?e[t][g].rendered:e[t][g].value,C.push(e[t][g].value),z.push(e[t][h].value),w[e[t][p].value]=e[t][g].rendered?e[t][g].rendered:e[t][g].value}if(n.radius?console.log("Radius config set to: "+n.radius):(console.log("Radius not set. Defaulting to max score: "+V(C)),n.radius=V(C)),n.keyword_search){for(let t=0;t"+e.data.rendered+""}),N=d3.svg.arc().innerRadius(E).outerRadius(function(e){return(A-E)*(e.data.score/(1*n.radius))+E}),S=d3.svg.arc().innerRadius(E).outerRadius(A),T=d3.select(".d3-aster-plot").append("svg").attr("width",_+v+x).attr("height",b+m+y).append("g").attr("transform","translate("+(_/2+v)+","+(b/2+m)+")");T.call(R);T.append("circle").attr("cx",0).attr("cy",0).attr("r",E).attr("fill",n.inner_circle_color),T.append("svg:text").attr("class","aster-score").attr("dy",".35em").attr("text-anchor","middle").style("fill",n.text_color).attr("font-size",n.font_size).text(()=>{if("off"!=n.center_value)return"avg"==n.center_value?B:"min"==n.center_value?D:"max"==n.center_value?L:void 0});T.append("text").attr("class","score-sublabel").attr("dy","2em").attr("text-anchor","middle").style("fill","#282828").attr("font-size",.4*n.font_size).text(()=>{if("off"!=n.center_value)return"avg"==n.center_value?"AVG":"min"==n.center_value?"MIN":"max"==n.center_value?"MAX":void 0});T.selectAll(".solidArc").data(O(e)).enter().append("path").attr("data-legend",function(e){return e.data.label}).attr("fill",function(e){return e.data.color}).attr("class","solidArc").attr("stroke","gray").attr("d",N).on("mouseover",R.show).on("mouseout",R.hide),T.selectAll(".outlineArc").data(O(e)).enter().append("path").attr("fill","none").attr("stroke","gray").attr("class","outlineArc").attr("d",S).each(function(e,t){var n=/(^.+?)L/.exec(d3.select(this).attr("d"))[1];if(n=n.replace(/,/g," "),q(e.startAngle,e.endAngle)){var a=/0 0 1 (.*?)$/.exec(n)[1],r=/M(.*?)A/.exec(n)[1];n="M"+a+"A"+/A(.*?)0 0 1/.exec(n)[1]+"0 0 0 "+r}T.append("path").attr("class","hiddenDonutArcs").attr("id","sliceOutlineArc_"+t).attr("d",n).style("fill","none")});if("on"==n.label_value&&(T.selectAll(".label-line-1").data(O(e)).enter().append("text").attr("class","label-line-1").attr("dy",function(e,t){return q(e.startAngle,e.endAngle)?18:-21}).append("textPath").attr("startOffset","50%").style("text-anchor","middle").attr("xlink:href",function(e,t){return"#sliceOutlineArc_"+t}).attr("font-size",n.label_size).text(function(e){if(e.endAngle-e.startAngle>n.threshold)return e.data.label}),T.selectAll(".label-line-2").data(O(e)).enter().append("text").attr("class","label-line-2").attr("dy",function(e,t){return q(e.startAngle,e.endAngle)?28:-11}).append("textPath").attr("startOffset","50%").style("text-anchor","middle").attr("font-size",n.label_size).attr("xlink:href",function(e,t){return"#sliceOutlineArc_"+t}).text(function(e){if(e.endAngle-e.startAngle>n.threshold)return e.data.rendered})),"left"==n.legend)T.append("g").attr("class","legend").attr("transform","translate(-"+_/2.2+" ,-"+b/2.5+")").style("font-size","12px").call(H);else if("right"==n.legend)T.append("g").attr("class","legend").attr("transform","translate("+_/3+" ,-"+b/2.5+")").style("font-size","12px").call(H);l()}function q(e,t){return P(t)>90&&P(t)<270&&P(t-e)<180}function P(e){return 180*e/Math.PI}function V(e){return Math.max.apply(null,e)}function H(e){return e.each(function(){var e=d3.select(this),t={},n=d3.select(e.property("nearestViewportElement")),a=e.attr("data-style-padding")||5,r=e.selectAll(".legend-box").data([!0]),l=e.selectAll(".legend-items").data([!0]);r.enter().append("rect").classed("legend-box",!0),l.enter().append("g").classed("legend-items",!0),n.selectAll("[data-legend]").each(function(){var e=d3.select(this);t[e.attr("data-legend")]={pos:e.attr("data-legend-pos")||this.getBBox().y,color:null!=e.attr("data-legend-color")?e.attr("data-legend-color"):"none"!=e.style("fill")?e.style("fill"):e.style("stroke"),rendered:"100"}}),t=d3.entries(t).sort(function(e,t){return e.keyt.key?1:0});for(let e=0;e dist/package.js && node rollup.node",test:"tape 'test/**/*-test.js'",prepublishOnly:"yarn test && rollup -c",postpublish:'git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v5.js && cp ../d3/dist/d3.min.js d3.v5.min.js && git add d3.v5.js d3.v5.min.js && git commit -m "d3 ${npm_package_version}" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/dist/d3.js ../d3/dist/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 dist/d3.zip -- LICENSE README.md API.md CHANGES.md dist/d3.js dist/d3.min.js'};exports.scripts=l;var u={json2module:"0.0",rimraf:"2",rollup:"0.64","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3","rollup-plugin-terser":"1",tape:"4"};exports.devDependencies=u;var v={"d3-array":"1","d3-axis":"1","d3-brush":"1","d3-chord":"1","d3-collection":"1","d3-color":"1","d3-contour":"1","d3-dispatch":"1","d3-drag":"1","d3-dsv":"1","d3-ease":"1","d3-fetch":"1","d3-force":"1","d3-format":"1","d3-geo":"1","d3-hierarchy":"1","d3-interpolate":"1","d3-path":"1","d3-polygon":"1","d3-quadtree":"1","d3-random":"1","d3-scale":"2","d3-scale-chromatic":"1","d3-selection":"1","d3-shape":"1","d3-time":"1","d3-time-format":"2","d3-timer":"1","d3-transition":"1","d3-voronoi":"1","d3-zoom":"1"};exports.dependencies=v; + },{}],"yJgn":[function(require,module,exports) { + "use strict";function e(e,t){return et?1:e>=t?0:NaN}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"CQHQ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=n(require("./ascending"));function n(e){return e&&e.__esModule?e:{default:e}}function t(e){return 1===e.length&&(e=r(e)),{left:function(n,t,r,u){for(null==r&&(r=0),null==u&&(u=n.length);r>>1;e(n[l],t)<0?r=l+1:u=l}return r},right:function(n,t,r,u){for(null==r&&(r=0),null==u&&(u=n.length);r>>1;e(n[l],t)>0?u=l:r=l+1}return r}}}function r(n){return function(t,r){return(0,e.default)(n(t),r)}} + },{"./ascending":"yJgn"}],"+YrT":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.bisectLeft=exports.bisectRight=void 0;var e=r(require("./ascending")),t=r(require("./bisector"));function r(e){return e&&e.__esModule?e:{default:e}}var s=(0,t.default)(e.default),i=s.right;exports.bisectRight=i;var o=s.left;exports.bisectLeft=o;var u=i;exports.default=u; + },{"./ascending":"yJgn","./bisector":"CQHQ"}],"DkXH":[function(require,module,exports) { + "use strict";function e(e,t){null==t&&(t=r);for(var n=0,u=e.length-1,o=e[0],l=new Array(u<0?0:u);ne?1:t>=e?0:NaN}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"X/WL":[function(require,module,exports) { + "use strict";function e(e){return null===e?NaN:+e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"Nh5Q":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=r(require("./number"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r,t){var u,f,l=r.length,n=0,a=-1,i=0,o=0;if(null==t)for(;++a1)return o/(n-1)} + },{"./number":"X/WL"}],"WEAa":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=r(require("./variance"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r,t){var u=(0,e.default)(r,t);return u?Math.sqrt(u):u} + },{"./variance":"Nh5Q"}],"UaWb":[function(require,module,exports) { + "use strict";function e(e,l){var r,u,f,n=e.length,t=-1;if(null==l){for(;++t=r)for(u=f=r;++tr&&(u=r),f=r)for(u=f=r;++tr&&(u=r),f0)return[t];if((e=r0)for(t=Math.ceil(t/i),r=Math.floor(r/i),h=new Array(M=Math.ceil(r-t+1));++n=0?(n>=t?10:n>=r?5:n>=a?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(n>=t?10:n>=r?5:n>=a?2:1)}function M(e,o,M){var h=Math.abs(o-e)/Math.max(0,M),i=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),n=h/i;return n>=t?i*=10:n>=r?i*=5:n>=a&&(i*=2),oh;)y.pop(),--p;var q,v=new Array(p+1);for(t=0;t<=p;++t)(q=v[t]=[]).x0=t>0?y[t-1]:d,q.x1=t=1)return+u(r[n-1],n-1,r);var n,f=(n-1)*t,l=Math.floor(f),o=+u(r[l],l,r);return o+(+u(r[l+1],l+1,r)-o)*(f-l)}} + },{"./number":"X/WL"}],"nJJ4":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var e=require("../array"),r=a(require("../ascending")),t=a(require("../number")),u=a(require("../quantile"));function a(e){return e&&e.__esModule?e:{default:e}}function l(a,l,n){return a=e.map.call(a,t.default).sort(r.default),Math.ceil((n-l)/(2*((0,u.default)(a,.75)-(0,u.default)(a,.25))*Math.pow(a.length,-1/3)))} + },{"../array":"RkzJ","../ascending":"yJgn","../number":"X/WL","../quantile":"xM5B"}],"Rqev":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("../deviation"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t,r,u){return Math.ceil((u-r)/(3.5*(0,e.default)(t)*Math.pow(t.length,-1/3)))} + },{"../deviation":"WEAa"}],"9Oug":[function(require,module,exports) { + "use strict";function e(e,l){var r,u,f=e.length,n=-1;if(null==l){for(;++n=r)for(u=r;++nu&&(u=r)}else for(;++n=r)for(u=r;++nu&&(u=r);return u}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"Y/y5":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=r(require("./number"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r,t){var u,f=r.length,l=f,n=-1,a=0;if(null==t)for(;++n=0;)for(r=(n=e[o]).length;--r>=0;)t[--l]=n[r];return t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"kP8m":[function(require,module,exports) { + "use strict";function e(e,l){var r,u,f=e.length,n=-1;if(null==l){for(;++n=r)for(u=r;++nr&&(u=r)}else for(;++n=r)for(u=r;++nr&&(u=r);return u}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"RhiG":[function(require,module,exports) { + "use strict";function e(e,r){for(var t=r.length,n=new Array(t);t--;)n[t]=e[r[t]];return n}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"swlo":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=r(require("./ascending"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r,t){if(u=r.length){var u,n,l=0,o=0,d=r[o];for(null==t&&(t=e.default);++l=0&&(e=n.slice(t+1),n=n.slice(0,t)),n&&!r.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:e}})}function o(n,r){for(var e,t=0,o=n.length;t0)for(var e,t,o=new Array(e),i=0;i=0&&"xmlns"!==(t=r.slice(0,s))&&(r=r.slice(s+1)),e.default.hasOwnProperty(t)?{space:e.default[t],local:r}:r} + },{"./namespaces":"YeOr"}],"z8hd":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=n(require("./namespace")),t=require("./namespaces");function n(e){return e&&e.__esModule?e:{default:e}}function r(e){return function(){var n=this.ownerDocument,r=this.namespaceURI;return r===t.xhtml&&n.documentElement.namespaceURI===t.xhtml?n.createElement(e):n.createElementNS(r,e)}}function u(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function a(t){var n=(0,e.default)(t);return(n.local?u:r)(n)} + },{"./namespace":"U3j5","./namespaces":"YeOr"}],"vXaf":[function(require,module,exports) { + "use strict";function e(){}function t(t){return null==t?e:function(){return this.querySelector(t)}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t; + },{}],"LlPS":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=_;var e=require("./index"),t=r(require("../selector"));function r(e){return e&&e.__esModule?e:{default:e}}function _(r){"function"!=typeof r&&(r=(0,t.default)(r));for(var _=this._groups,a=_.length,n=new Array(a),u=0;u=M&&(M=E+1);!(q=p[M])&&++M=0;)(o=n[s])&&(i&&4^o.compareDocumentPosition(i)&&i.parentNode.insertBefore(o,i),i=o);return this}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"Vwkw":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;var r=require("./index");function e(e){function n(r,t){return r&&t?e(r.__data__,t.__data__):!r-!t}e||(e=t);for(var a=this._groups,o=a.length,u=new Array(o),_=0;_e?1:r>=e?0:NaN} + },{"./index":"G2fv"}],"fuyN":[function(require,module,exports) { + "use strict";function e(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"x3ma":[function(require,module,exports) { + "use strict";function e(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"zOHW":[function(require,module,exports) { + "use strict";function e(){for(var e=this._groups,r=0,t=e.length;r1?this.each((null==t?r:"function"==typeof t?u:n)(e,t,null==o?"":o)):l(this.node(),e)}function l(t,r){return t.style.getPropertyValue(r)||(0,e.default)(t).getComputedStyle(t,null).getPropertyValue(r)} + },{"../window":"6iFw"}],"Tr0z":[function(require,module,exports) { + "use strict";function t(t){return function(){delete this[t]}}function e(t,e){return function(){this[t]=e}}function n(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function u(u,i){return arguments.length>1?this.each((null==i?t:"function"==typeof i?n:e)(u,i)):this.node()[u]}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u; + },{}],"/CVL":[function(require,module,exports) { + "use strict";function t(t){return t.trim().split(/^|\s+/)}function n(t){return t.classList||new e(t)}function e(n){this._node=n,this._names=t(n.getAttribute("class")||"")}function i(t,e){for(var i=n(t),s=-1,r=e.length;++s=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}}; + },{}],"wYBq":[function(require,module,exports) { + "use strict";function t(){this.textContent=""}function n(t){return function(){this.textContent=t}}function e(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function o(o){return arguments.length?this.each(null==o?t:("function"==typeof o?e:n)(o)):this.node().textContent}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o; + },{}],"F/dS":[function(require,module,exports) { + "use strict";function n(){this.innerHTML=""}function t(n){return function(){this.innerHTML=n}}function e(n){return function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}}function i(i){return arguments.length?this.each(null==i?n:("function"==typeof i?e:t)(i)):this.node().innerHTML}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i; + },{}],"AlDR":[function(require,module,exports) { + "use strict";function e(){this.nextSibling&&this.parentNode.appendChild(this)}function t(){return this.each(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t; + },{}],"wunq":[function(require,module,exports) { + "use strict";function e(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function t(){return this.each(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t; + },{}],"jPcQ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("../creator"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){var r="function"==typeof t?t:(0,e.default)(t);return this.select(function(){return this.appendChild(r.apply(this,arguments))})} + },{"../creator":"z8hd"}],"NP4m":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var e=r(require("../creator")),t=r(require("../selector"));function r(e){return e&&e.__esModule?e:{default:e}}function u(){return null}function n(r,n){var l="function"==typeof r?r:(0,e.default)(r),o=null==n?u:"function"==typeof n?n:(0,t.default)(n);return this.select(function(){return this.insertBefore(l.apply(this,arguments),o.apply(this,arguments)||null)})} + },{"../creator":"z8hd","../selector":"vXaf"}],"7Bhw":[function(require,module,exports) { + "use strict";function e(){var e=this.parentNode;e&&e.removeChild(this)}function t(){return this.each(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t; + },{}],"C0r/":[function(require,module,exports) { + "use strict";function e(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function t(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}function n(n){return this.select(n?t:e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n; + },{}],"dIrG":[function(require,module,exports) { + "use strict";function e(e){return arguments.length?this.property("__data__",e):this.node().__data__}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"pgiW":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a,exports.customEvent=p,exports.event=void 0;var e={},t=null;if(exports.event=t,"undefined"!=typeof document){var n=document.documentElement;"onmouseenter"in n||(e={mouseenter:"mouseover",mouseleave:"mouseout"})}function r(e,t,n){return e=i(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function i(e,n,r){return function(i){var o=t;exports.event=t=i;try{e.call(this,this.__data__,n,r)}finally{exports.event=t=o}}}function o(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}})}function s(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;rw}m.mouse("drag")}function x(){(0,t.select)(t.event.view).on("mousemove.drag mouseup.drag",null),(0,n.yesdrag)(t.event.view,d),(0,r.default)(),m.mouse("end")}function T(){if(v.apply(this,arguments)){var e,n,o=t.event.changedTouches,u=h.apply(this,arguments),i=o.length;for(e=0;e>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=h.exec(e))?k(parseInt(t[1],16)):(t=u.exec(e))?new O(t[1],t[2],t[3],1):(t=g.exec(e))?new O(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=d.exec(e))?v(t[1],t[2],t[3],t[4]):(t=c.exec(e))?v(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=p.exec(e))?E(t[1],t[2]/100,t[3]/100,1):(t=b.exec(e))?E(t[1],t[2]/100,t[3]/100,t[4]):f.hasOwnProperty(e)?k(f[e]):"transparent"===e?new O(NaN,NaN,NaN,0):null}function k(e){return new O(e>>16&255,e>>8&255,255&e,1)}function v(e,t,r,n){return n<=0&&(e=t=r=NaN),new O(e,t,r,n)}function N(e){return e instanceof r||(e=x(e)),e?new O((e=e.rgb()).r,e.g,e.b,e.opacity):new O}function M(e,t,r,n){return 1===arguments.length?N(e):new O(e,t,r,null==n?1:n)}function O(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function q(){return"#"+j(this.r)+j(this.g)+j(this.b)}function R(){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+")")}function j(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function E(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new H(e,t,r,n)}function $(e){if(e instanceof H)return new H(e.h,e.s,e.l,e.opacity);if(e instanceof r||(e=x(e)),!e)return new H;if(e instanceof H)return e;var t=(e=e.rgb()).r/255,n=e.g/255,i=e.b/255,a=Math.min(t,n,i),o=Math.max(t,n,i),s=NaN,l=o-a,h=(o+a)/2;return l?(s=t===o?(n-i)/l+6*(n0&&h<1?0:s,new H(s,l,h,e.opacity)}function P(e,t,r,n){return 1===arguments.length?$(e):new H(e,t,r,null==n?1:n)}function H(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function C(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}(0,e.default)(r,x,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHsl:y,formatRgb:w,toString:w}),(0,e.default)(O,M,(0,e.extend)(r,{brighter:function(e){return e=null==e?i:Math.pow(i,e),new O(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?n:Math.pow(n,e),new O(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:q,formatHex:q,formatRgb:R,toString:R})),(0,e.default)(H,P,(0,e.extend)(r,{brighter:function(e){return e=null==e?i:Math.pow(i,e),new H(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?n:Math.pow(n,e),new H(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,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new O(C(e>=240?e-240:e+120,i,n),C(e,i,n),C(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}})); + },{"./define":"8fV2"}],"8XzI":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rad2deg=exports.deg2rad=void 0;var e=Math.PI/180;exports.deg2rad=e;var r=180/Math.PI;exports.rad2deg=r; + },{}],"2f7A":[function(require,module,exports) { + + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gray=p,exports.default=b,exports.Lab=w,exports.lch=x,exports.hcl=M,exports.Hcl=O;var t=e(require("./define")),n=require("./color"),r=require("./math");function e(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var e=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};e.get||e.set?Object.defineProperty(n,r,e):n[r]=t[r]}return n.default=t,n}var i=18,o=.96422,a=1,u=.82521,c=4/29,s=6/29,h=3*s*s,l=s*s*s;function f(t){if(t instanceof w)return new w(t.l,t.a,t.b,t.opacity);if(t instanceof O)return j(t);t instanceof n.Rgb||(t=(0,n.rgbConvert)(t));var r,e,i=v(t.r),c=v(t.g),s=v(t.b),h=y((.2225045*i+.7168786*c+.0606169*s)/a);return i===c&&c===s?r=e=h:(r=y((.4360747*i+.3850649*c+.1430804*s)/o),e=y((.0139322*i+.0971045*c+.7141733*s)/u)),new w(116*h-16,500*(r-h),200*(h-e),t.opacity)}function p(t,n){return new w(t,0,0,null==n?1:n)}function b(t,n,r,e){return 1===arguments.length?f(t):new w(t,n,r,null==e?1:e)}function w(t,n,r,e){this.l=+t,this.a=+n,this.b=+r,this.opacity=+e}function y(t){return t>l?Math.pow(t,1/3):t/h+c}function d(t){return t>s?t*t*t:h*(t-c)}function g(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function v(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function N(t){if(t instanceof O)return new O(t.h,t.c,t.l,t.opacity);if(t instanceof w||(t=f(t)),0===t.a&&0===t.b)return new O(NaN,0=1?(n=1,t-1):Math.floor(n*t),u=r[o],s=r[o+1],a=o>0?r[o-1]:2*u-s,f=o180||u<-180?u-360*Math.round(u/360):u):(0,t.default)(isNaN(e)?r:e)}function o(e){return 1==(e=+e)?a:function(n,u){return u-n?r(n,u,e):(0,t.default)(isNaN(n)?u:n)}}function a(e,r){var u=r-e;return u?n(e,u):(0,t.default)(isNaN(e)?r:e)} + },{"./constant":"aCvo"}],"rvVK":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rgbBasisClosed=exports.rgbBasis=exports.default=void 0;var r=require("d3-color"),e=n(require("./basis")),t=n(require("./basisClosed")),o=a(require("./color"));function a(r){if(r&&r.__esModule)return r;var e={};if(null!=r)for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(r,t):{};o.get||o.set?Object.defineProperty(e,t,o):e[t]=r[t]}return e.default=r,e}function n(r){return r&&r.__esModule?r:{default:r}}var u=function e(t){var a=(0,o.gamma)(t);function n(e,t){var n=a((e=(0,r.rgb)(e)).r,(t=(0,r.rgb)(t)).r),u=a(e.g,t.g),i=a(e.b,t.b),s=(0,o.default)(e.opacity,t.opacity);return function(r){return e.r=n(r),e.g=u(r),e.b=i(r),e.opacity=s(r),e+""}}return n.gamma=e,n}(1);function i(e){return function(t){var o,a,n=t.length,u=new Array(n),i=new Array(n),s=new Array(n);for(o=0;of&&(d=l.slice(f,d),x[s]?x[s]+=d:x[++s]=d),(o=o[0])===(c=c[0])?x[s]?x[s]+=c:x[++s]=c:(x[++s]=null,a.push({i:s,x:(0,e.default)(o,c)})),f=t.lastIndex;return f180?r+=360:r-t>180&&(t+=360),u.push({i:s.push(a(s)+"rotate(",null,n)-2,x:(0,e.default)(t,r)})):r&&s.push(a(s)+"rotate("+r+n)}(u.rotate,l.rotate,o,p),function(t,r,s,u){t!==r?u.push({i:s.push(a(s)+"skewX(",null,n)-2,x:(0,e.default)(t,r)}):r&&s.push(a(s)+"skewX("+r+n)}(u.skewX,l.skewX,o,p),function(t,r,s,n,u,l){if(t!==s||r!==n){var o=u.push(a(u)+"scale(",null,",",null,")");l.push({i:o-4,x:(0,e.default)(t,s)},{i:o-2,x:(0,e.default)(r,n)})}else 1===s&&1===n||u.push(a(u)+"scale("+s+","+n+")")}(u.scaleX,u.scaleY,l.scaleX,l.scaleY,o,p),u=l=null,function(e){for(var t,r=-1,s=p.length;++r=0&&o._call.call(null,n),o=o._next;--e}function h(){c=(l=u.now())+s,e=o=0;try{w()}finally{e=0,y(),c=0}}function x(){var t=u.now(),n=t-l;n>r&&(s-=n,l=t)}function y(){for(var e,o,i=t,r=1/0;i;)i._call?(r>i._time&&(r=i._time),e=i,i=i._next):(o=i._next,i._next=null,i=e?e._next=o:t=o);n=e,v(r)}function v(t){e||(o&&(o=clearTimeout(o)),t-c>24?(t<1/0&&(o=setTimeout(h,t-u.now()-s)),i&&(i=clearInterval(i))):(i||(l=u.now(),i=setInterval(x,r)),e=1,a(h)))}m.prototype=p.prototype={constructor:m,restart:function(e,o,i){if("function"!=typeof e)throw new TypeError("callback is not a function");i=(null==i?f():+i)+(null==o?0:+o),this._next||n===this||(n?n._next=this:t=this,n=this),this._call=e,this._time=i,v()},stop:function(){this._call&&(this._call=null,this._time=1/0,v())}}; + },{}],"jIZm":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("./timer");function r(r,t,u){var n=new e.Timer;return t=null==t?0:+t,n.restart(function(e){n.stop(),r(e+t)},t,u),n} + },{"./timer":"ea66"}],"QZ3s":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("./timer");function r(r,t,n){var u=new e.Timer,s=t;return null==t?(u.restart(r,t,n),u):(t=+t,n=null==n?(0,e.now)():+n,u.restart(function e(a){a+=s,u.restart(e,s+=t,n),r(a)},t,n),u)} + },{"./timer":"ea66"}],"rdzS":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"now",{enumerable:!0,get:function(){return e.now}}),Object.defineProperty(exports,"timer",{enumerable:!0,get:function(){return e.timer}}),Object.defineProperty(exports,"timerFlush",{enumerable:!0,get:function(){return e.timerFlush}}),Object.defineProperty(exports,"timeout",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"interval",{enumerable:!0,get:function(){return r.default}});var e=require("./timer"),t=n(require("./timeout")),r=n(require("./interval"));function n(e){return e&&e.__esModule?e:{default:e}} + },{"./timer":"ea66","./timeout":"jIZm","./interval":"QZ3s"}],"nqGJ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=p,exports.init=_,exports.set=c,exports.get=f,exports.ENDED=exports.ENDING=exports.RUNNING=exports.STARTED=exports.STARTING=exports.SCHEDULED=exports.CREATED=void 0;var t=require("d3-dispatch"),e=require("d3-timer"),r=(0,t.dispatch)("start","end","cancel","interrupt"),a=[],n=0;exports.CREATED=n;var o=1;exports.SCHEDULED=o;var i=2;exports.STARTING=i;var s=3;exports.STARTED=s;var l=4;exports.RUNNING=l;var u=5;exports.ENDING=u;var d=6;function p(t,e,o,i,s,l){var u=t.__transition;if(u){if(o in u)return}else t.__transition={};x(t,o,{name:e,index:i,group:s,on:r,tween:a,time:l.time,delay:l.delay,duration:l.duration,ease:l.ease,timer:null,state:n})}function _(t,e){var r=f(t,e);if(r.state>n)throw new Error("too late; already scheduled");return r}function c(t,e){var r=f(t,e);if(r.state>s)throw new Error("too late; already running");return r}function f(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function x(t,r,a){var n,p=t.__transition;function _(u){var x,m,E,v;if(a.state!==o)return f();for(x in p)if((v=p[x]).name===a.name){if(v.state===s)return(0,e.timeout)(_);v.state===l?(v.state=d,v.timer.stop(),v.on.call("interrupt",t,t.__data__,v.index,v.group),delete p[x]):+xe.STARTING&&r.state=0&&(e=e.slice(0,t)),!e||"start"===e})}function n(n,r,i){var o,s,u=t(r)?e.init:e.set;return function(){var e=u(this,n),t=e.on;t!==o&&(s=(o=t).copy()).on(r,i),e.on=s}}function r(t,r){var i=this._id;return arguments.length<2?(0,e.get)(this.node(),i).on.on(t):this.each(n(i,t,r))} + },{"./schedule":"nqGJ"}],"mXFz":[function(require,module,exports) { + "use strict";function e(e){return function(){var t=this.parentNode;for(var r in this.__transition)if(+r!==e)return;t&&t.removeChild(this)}}function t(){return this.on("end.remove",e(this._id))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t; + },{}],"P4XU":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=require("d3-selection"),r=require("./index"),t=n(require("./schedule"));function n(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};n.get||n.set?Object.defineProperty(r,t,n):r[t]=e[t]}return r.default=e,r}function a(n){var a=this._name,i=this._id;"function"!=typeof n&&(n=(0,e.selector)(n));for(var o=this._groups,_=o.length,s=new Array(_),u=0;u<_;++u)for(var c,l,d=o[u],f=d.length,p=s[u]=new Array(f),y=0;yn.SCHEDULED&&u.name===i)return new e.Transition([[t]],r,i,+l);return null} + },{"./transition/index":"OWOq","./transition/schedule":"nqGJ"}],"UqVV":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"transition",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"active",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"interrupt",{enumerable:!0,get:function(){return r.default}}),require("./selection/index");var e=n(require("./transition/index")),t=n(require("./active")),r=n(require("./interrupt"));function n(e){return e&&e.__esModule?e:{default:e}} + },{"./selection/index":"vGqA","./transition/index":"OWOq","./active":"UWV/","./interrupt":"fDNN"}],"Bo4j":[function(require,module,exports) { + "use strict";function e(e,t,s){this.target=e,this.type=t,this.selection=s}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"qu2I":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.brushSelection=P,exports.brushX=K,exports.brushY=E,exports.default=T;var t=require("d3-dispatch"),e=require("d3-drag"),n=require("d3-interpolate"),r=require("d3-selection"),s=require("d3-transition"),i=l(require("./constant.js")),a=l(require("./event.js")),u=o(require("./noevent.js"));function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}function l(t){return t&&t.__esModule?t:{default:t}}var c={name:"drag"},h={name:"space"},f={name:"handle"},p={name:"center"};function d(t){return[+t[0],+t[1]]}function v(t){return[d(t[0]),d(t[1])]}var y={name:"x",handles:["w","e"].map(k),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},b={name:"y",handles:["n","s"].map(k),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},m={name:"xy",handles:["nw","n","ne","w","e","sw","s","se"].map(k),input:function(t){return null==t?null:v(t)},output:function(t){return t}},w={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},g={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},x={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},_={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},M={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function k(t){return{type:t}}function j(){return!r.event.ctrlKey&&!r.event.button}function z(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function O(){return navigator.maxTouchPoints||"ontouchstart"in this}function q(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function A(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function P(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function K(){return V(y)}function E(){return V(b)}function T(){return V(m)}function V(o){var l,d=z,m=j,P=O,K=!0,E=(0,t.dispatch)(V,"start","brush","end"),T=6;function V(t){var e=t.property("__brush",Y).selectAll(".overlay").data([k("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",w.overlay).merge(e).each(function(){var t=q(this).extent;(0,r.select)(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),t.selectAll(".selection").data([k("selection")]).enter().append("rect").attr("class","selection").attr("cursor",w.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var n=t.selectAll(".handle").data(o.handles,function(t){return t.type});n.exit().remove(),n.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return w[t.type]}),t.each(D).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",G).filter(P).on("touchstart.brush",G).on("touchmove.brush",N).on("touchend.brush touchcancel.brush",X).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function D(){var t=(0,r.select)(this),e=q(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-T/2:e[0][0]-T/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-T/2:e[0][1]-T/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+T:T}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+T:T})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function S(t,e,n){return!n&&t.__brush.emitter||new B(t,e)}function B(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function C(t){return(0,r.clientPoint)(t,r.event.touches?r.event.touches[0]:r.event)}function G(){if(r.event.touches){if(r.event.changedTouches.length0&&(t=n-L),G<0?k=j-Q:G>0&&(i=a-Q),V=h,tt.attr("cursor",w.selection),rt());break;default:return}(0,u.default)()},!0).on("keyup.brush",function(){switch(r.event.keyCode){case 16:R&&(O=P=R=!1,rt());break;case 18:V===p&&(B<0?d=v:B>0&&(t=n),G<0?k=j:G>0&&(i=a),V=f,rt());break;case 32:V===h&&(r.event.altKey?(B&&(d=v-L*B,t=n+L*B),G&&(k=j-Q*G,i=a+Q*G),V=p):(B<0?d=v:B>0&&(t=n),G<0?k=j:G>0&&(i=a),V=f),tt.attr("cursor",w[T]),rt());break;default:return}(0,u.default)()},!0),(0,e.dragDisable)(r.event.view)}(0,u.nopropagation)(),(0,s.interrupt)(E),D.call(E),Z.start()}function nt(){var t=C(E);!R||O||P||(Math.abs(t[0]-W[0])>Math.abs(t[1]-W[1])?P=!0:O=!0),W=t,z=!0,(0,u.default)(),rt()}function rt(){var e;switch(L=W[0]-U[0],Q=W[1]-U[1],V){case h:case c:B&&(L=Math.max(F-t,Math.min(I-d,L)),n=t+L,v=d+L),G&&(Q=Math.max(H-i,Math.min(J-k,Q)),a=i+Q,j=k+Q);break;case f:B<0?(L=Math.max(F-t,Math.min(I-t,L)),n=t+L,v=d):B>0&&(L=Math.max(F-d,Math.min(I-d,L)),n=t,v=d+L),G<0?(Q=Math.max(H-i,Math.min(J-i,Q)),a=i+Q,j=k):G>0&&(Q=Math.max(H-k,Math.min(J-k,Q)),a=i,j=k+Q);break;case p:B&&(n=Math.max(F,Math.min(I,t-L*B)),v=Math.max(F,Math.min(I,d+L*B))),G&&(a=Math.max(H,Math.min(J,i-Q*G)),j=Math.max(H,Math.min(J,k+Q*G)))}vs)if(Math.abs(c*a-u*x)>s&&e){var f=_-r,M=n-o,l=a*a+u*u,v=f*f+M*M,d=Math.sqrt(l),p=Math.sqrt(y),b=e*Math.tan((t-Math.acos((l+y-v)/(2*d*p)))/2),w=b/p,T=b/d;Math.abs(w-1)>s&&(this._+="L"+(i+w*x)+","+(h+w*c)),this._+="A"+e+","+e+",0,0,"+ +(c*f>x*M)+","+(this._x1=i+T*a)+","+(this._y1=h+T*u)}else this._+="L"+(this._x1=i)+","+(this._y1=h);else;},arc:function(_,n,e,r,o,a){_=+_,n=+n,a=!!a;var u=(e=+e)*Math.cos(r),x=e*Math.sin(r),c=_+u,y=n+x,f=1^a,M=a?r-o:o-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+y:(Math.abs(this._x1-c)>s||Math.abs(this._y1-y)>s)&&(this._+="L"+c+","+y),e&&(M<0&&(M=M%i+i),M>h?this._+="A"+e+","+e+",0,1,"+f+","+(_-u)+","+(n-x)+"A"+e+","+e+",0,1,"+f+","+(this._x1=c)+","+(this._y1=y):M>s&&(this._+="A"+e+","+e+",0,"+ +(M>=t)+","+f+","+(this._x1=_+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,i,s,h){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +h+"h"+-s+"Z"},toString:function(){return this._}};var e=n;exports.default=e; + },{}],"9OTy":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"path",{enumerable:!0,get:function(){return e.default}});var e=t(require("./path"));function t(e){return e&&e.__esModule?e:{default:e}} + },{"./path":"hMob"}],"stmI":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=f;var t=require("./array"),n=u(require("./constant")),e=require("./math"),r=require("d3-path");function u(t){return t&&t.__esModule?t:{default:t}}function l(t){return t.source}function i(t){return t.target}function a(t){return t.radius}function o(t){return t.startAngle}function c(t){return t.endAngle}function f(){var u=l,f=i,s=a,p=o,h=c,d=null;function y(){var n,l=t.slice.call(arguments),i=u.apply(this,l),a=f.apply(this,l),o=+s.apply(this,(l[0]=i,l)),c=p.apply(this,l)-e.halfPi,y=h.apply(this,l)-e.halfPi,g=o*(0,e.cos)(c),v=o*(0,e.sin)(c),q=+s.apply(this,(l[0]=a,l)),P=p.apply(this,l)-e.halfPi,A=h.apply(this,l)-e.halfPi;if(d||(d=n=(0,r.path)()),d.moveTo(g,v),d.arc(0,0,o,c,y),c===P&&y===A||(d.quadraticCurveTo(0,0,q*(0,e.cos)(P),q*(0,e.sin)(P)),d.arc(0,0,q,P,A)),d.quadraticCurveTo(0,0,g,v),d.closePath(),n)return d=null,n+""||null}return y.radius=function(t){return arguments.length?(s="function"==typeof t?t:(0,n.default)(+t),y):s},y.startAngle=function(t){return arguments.length?(p="function"==typeof t?t:(0,n.default)(+t),y):p},y.endAngle=function(t){return arguments.length?(h="function"==typeof t?t:(0,n.default)(+t),y):h},y.source=function(t){return arguments.length?(u=t,y):u},y.target=function(t){return arguments.length?(f=t,y):f},y.context=function(t){return arguments.length?(d=null==t?null:t,y):d},y} + },{"./array":"KXlw","./constant":"aCvo","./math":"0nrz","d3-path":"9OTy"}],"Iy8J":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"chord",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"ribbon",{enumerable:!0,get:function(){return r.default}});var e=t(require("./chord")),r=t(require("./ribbon"));function t(e){return e&&e.__esModule?e:{default:e}} + },{"./chord":"TnSC","./ribbon":"stmI"}],"lDu+":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.prefix=void 0;var t="$";function r(){}function e(t,e){var i=new r;if(t instanceof r)t.each(function(t,r){i.set(r,t)});else if(Array.isArray(t)){var n,s=-1,o=t.length;if(null==e)for(;++s=l.length)return null!=t&&u.sort(t),null!=e?e(u):u;for(var i,c,a,h=-1,p=u.length,d=l[r++],g=(0,n.default)(),v=o();++hl.length)return t;var r,o=c[u-1];return null!=e&&u>=l.length?r=t.entries():(r=[],t.each(function(t,e){r.push({key:e,values:n(t,u)})})),null!=o?r.sort(function(n,t){return o(n.key,t.key)}):r}(s(n,0,o,f),0)},key:function(n){return l.push(n),i},sortKeys:function(n){return c[l.length-1]=n,i},sortValues:function(n){return t=n,i},rollup:function(n){return e=n,i}}}function u(){return{}}function r(n,t,e){n[t]=e}function o(){return(0,n.default)()}function f(n,t,e){n.set(t,e)} + },{"./map":"lDu+"}],"1vFP":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("./map"));function r(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};o.get||o.set?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,r}function t(){}var o=e.default.prototype;function a(e,r){var o=new t;if(e instanceof t)e.each(function(e){o.add(e)});else if(e){var a=-1,n=e.length;if(null==r)for(;++au!=p>u&&n<(d-l)*(u-s)/(p-s)+l&&(f=-f)}return f}function e(r,t,e){var f;return n(r,t,e)&&u(r[f=+(r[0]===t[0])],e[f],t[f])}function n(r,t,e){return(t[0]-r[0])*(e[1]-r[1])==(e[0]-r[0])*(t[1]-r[1])}function u(r,t,e){return r<=t&&t<=e||e<=t&&t<=r}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r; + },{}],"zOhu":[function(require,module,exports) { + "use strict";function e(){}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"DT0k":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=c;var r=require("d3-array"),e=require("./array"),t=u(require("./ascending")),n=u(require("./area")),a=u(require("./constant")),o=u(require("./contains")),i=u(require("./noop"));function u(r){return r&&r.__esModule?r:{default:r}}var f=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function c(){var u=1,c=1,s=r.thresholdSturges,l=v;function d(e){var n=s(e);if(Array.isArray(n))n=n.slice().sort(t.default);else{var a=(0,r.extent)(e),o=a[0],i=a[1];n=(0,r.tickStep)(o,i,n),n=(0,r.range)(Math.floor(o/n)*n,Math.floor(i/n)*n,n)}return n.map(function(r){return h(e,r)})}function h(r,e){var t=[],a=[];return function(r,e,t){var n,a,o,i,s,l,d=new Array,h=new Array;n=a=-1,i=r[0]>=e,f[i<<1].forEach(v);for(;++n=e,f[o|i<<1].forEach(v);f[i<<0].forEach(v);for(;++a=e,s=r[a*u]>=e,f[i<<1|s<<2].forEach(v);++n=e,l=s,s=r[a*u+n+1]>=e,f[o|i<<1|s<<2|l<<3].forEach(v);f[i|s<<3].forEach(v)}n=-1,s=r[a*u]>=e,f[s<<2].forEach(v);for(;++n=e,f[s<<2|l<<3].forEach(v);function v(r){var e,o,i=[r[0][0]+n,r[0][1]+a],u=[r[1][0]+n,r[1][1]+a],f=g(i),c=g(u);(e=h[f])?(o=d[c])?(delete h[e.end],delete d[o.start],e===o?(e.ring.push(u),t(e.ring)):d[e.start]=h[o.end]={start:e.start,end:o.end,ring:e.ring.concat(o.ring)}):(delete h[e.end],e.ring.push(u),h[e.end=c]=e):(e=d[c])?(o=h[f])?(delete d[e.start],delete h[o.end],e===o?(e.ring.push(u),t(e.ring)):d[o.start]=h[e.end]={start:o.start,end:e.end,ring:o.ring.concat(e.ring)}):(delete d[e.start],e.ring.unshift(i),d[e.start=f]=e):d[f]=h[c]={start:f,end:c,ring:[i,u]}}f[s<<3].forEach(v)}(r,e,function(o){l(o,r,e),(0,n.default)(o)>0?t.push([o]):a.push(o)}),a.forEach(function(r){for(var e,n=0,a=t.length;n0&&a0&&o0&&t>0))throw new Error("invalid size");return u=e,c=t,d},d.thresholds=function(r){return arguments.length?(s="function"==typeof r?r:Array.isArray(r)?(0,a.default)(e.slice.call(r)):(0,a.default)(r),d):s},d.smooth=function(r){return arguments.length?(l=r?v:i.default,d):l===v},d} + },{"d3-array":"K0bd","./array":"TvZ5","./ascending":"T6bn","./area":"TIuo","./constant":"aCvo","./contains":"Mo/C","./noop":"zOhu"}],"DGMp":[function(require,module,exports) { + "use strict";function t(t,a,r){for(var e=t.width,o=t.height,d=1+(r<<1),i=0;i=r&&(h>=d&&(f-=t.data[h-d+i*e]),a.data[h-r+i*e]=f/Math.min(h+1,e-1+d-h,d))}function a(t,a,r){for(var e=t.width,o=t.height,d=1+(r<<1),i=0;i=r&&(h>=d&&(f-=t.data[i+(h-d)*e]),a.data[i+(h-r)*e]=f/Math.min(h+1,o-1+d-h,d))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.blurX=t,exports.blurY=a; + },{}],"3NV0":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=f;var t=require("d3-array"),r=require("./array"),e=require("./blur"),n=a(require("./constant")),i=a(require("./contours"));function a(t){return t&&t.__esModule?t:{default:t}}function h(t){return t[0]}function u(t){return t[1]}function o(){return 1}function f(){var a=h,f=u,d=o,l=960,c=500,w=20,s=2,g=3*w,y=l+2*g>>s,M=c+2*g>>s,p=(0,n.default)(20);function v(r){var n=new Float32Array(y*M),h=new Float32Array(y*M);r.forEach(function(t,r,e){var i=+a(t,r,e)+g>>s,h=+f(t,r,e)+g>>s,u=+d(t,r,e);i>=0&&i=0&&h>s),(0,e.blurY)({width:y,height:M,data:h},{width:y,height:M,data:n},w>>s),(0,e.blurX)({width:y,height:M,data:n},{width:y,height:M,data:h},w>>s),(0,e.blurY)({width:y,height:M,data:h},{width:y,height:M,data:n},w>>s),(0,e.blurX)({width:y,height:M,data:n},{width:y,height:M,data:h},w>>s),(0,e.blurY)({width:y,height:M,data:h},{width:y,height:M,data:n},w>>s);var u=p(n);if(!Array.isArray(u)){var o=(0,t.max)(n);u=(0,t.tickStep)(0,o,u),(u=(0,t.range)(0,Math.floor(o/u)*u,u)).shift()}return(0,i.default)().thresholds(u).size([y,M])(n).map(b)}function b(t){return t.value*=Math.pow(2,-2*s),t.coordinates.forEach(q),t}function q(t){t.forEach(E)}function E(t){t.forEach(A)}function A(t){t[0]=t[0]*Math.pow(2,s)-g,t[1]=t[1]*Math.pow(2,s)-g}function z(){return y=l+2*(g=3*w)>>s,M=c+2*g>>s,v}return v.x=function(t){return arguments.length?(a="function"==typeof t?t:(0,n.default)(+t),v):a},v.y=function(t){return arguments.length?(f="function"==typeof t?t:(0,n.default)(+t),v):f},v.weight=function(t){return arguments.length?(d="function"==typeof t?t:(0,n.default)(+t),v):d},v.size=function(t){if(!arguments.length)return[l,c];var r=Math.ceil(t[0]),e=Math.ceil(t[1]);if(!(r>=0||r>=0))throw new Error("invalid size");return l=r,c=e,z()},v.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return s=Math.floor(Math.log(t)/Math.LN2),z()},v.thresholds=function(t){return arguments.length?(p="function"==typeof t?t:Array.isArray(t)?(0,n.default)(r.slice.call(t)):(0,n.default)(t),v):p},v.bandwidth=function(t){if(!arguments.length)return Math.sqrt(w*(w+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return w=Math.round((Math.sqrt(4*t*t+1)-1)/2),z()},v} + },{"d3-array":"K0bd","./array":"TvZ5","./blur":"DGMp","./constant":"aCvo","./contours":"DT0k"}],"5SiB":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"contours",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"contourDensity",{enumerable:!0,get:function(){return t.default}});var e=r(require("./contours")),t=r(require("./density"));function r(e){return e&&e.__esModule?e:{default:e}} + },{"./contours":"DT0k","./density":"3NV0"}],"uRW4":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var n={},r={},t=34,e=10,u=13;function o(n){return new Function("d","return {"+n.map(function(n,r){return JSON.stringify(n)+": d["+r+"]"}).join(",")+"}")}function i(n,r){var t=o(n);return function(e,u){return r(t(e),u,n)}}function c(n){var r=Object.create(null),t=[];return n.forEach(function(n){for(var e in n)e in r||t.push(r[e]=e)}),t}function a(n,r){var t=n+"",e=t.length;return e9999?"+"+a(n,6):a(n,4)}function l(n){var r=n.getUTCHours(),t=n.getUTCMinutes(),e=n.getUTCSeconds(),u=n.getUTCMilliseconds();return isNaN(n)?"Invalid Date":f(n.getUTCFullYear(),4)+"-"+a(n.getUTCMonth()+1,2)+"-"+a(n.getUTCDate(),2)+(u?"T"+a(r,2)+":"+a(t,2)+":"+a(e,2)+"."+a(u,3)+"Z":e?"T"+a(r,2)+":"+a(t,2)+":"+a(e,2)+"Z":t||r?"T"+a(r,2)+":"+a(t,2)+"Z":"")}function s(a){var f=new RegExp('["'+a+"\n\r]"),s=a.charCodeAt(0);function d(o,i){var c,a=[],f=o.length,l=0,d=0,h=f<=0,p=!1;function C(){if(h)return r;if(p)return p=!1,n;var i,c,a=l;if(o.charCodeAt(a)===t){for(;l++=f?h=!0:(c=o.charCodeAt(l++))===e?p=!0:c===u&&(p=!0,o.charCodeAt(l)===e&&++l),o.slice(a+1,i-1).replace(/""/g,'"')}for(;l=(a=(d+N)/2))?d=a:N=a,(_=l>=(i=(x+v)/2))?x=i:v=i,n=h,!(h=h[c=_<<1|s]))return n[c]=y,r;if(o=+r._x.call(null,h.data),u=+r._y.call(null,h.data),t===o&&l===u)return y.next=h,n?n[c]=y:r._root=y,r;do{n=n?n[c]=new Array(4):r._root=new Array(4),(s=t>=(a=(d+N)/2))?d=a:N=a,(_=l>=(i=(x+v)/2))?x=i:v=i}while((c=_<<1|s)==(f=(u>=i)<<1|o>=a));return n[f]=h,n[c]=y,r}function l(r){var l,e,n,a,i=r.length,o=new Array(i),u=new Array(i),s=1/0,_=1/0,c=-1/0,f=-1/0;for(e=0;ec&&(c=n),a<_&&(_=a),a>f&&(f=a));if(s>c||_>f)return this;for(this.cover(s,_).cover(c,f),e=0;et||t>=r||i>s||s>=h;)switch(a=(s_||(r=h.y0)>p||(s=h.x1)=y)<<1|t>=v)&&(h=x[x.length-1],x[x.length-1]=x[x.length-1-i],x[x.length-1-i]=h)}else{var g=t-+this._x.call(null,c.data),w=l-+this._y.call(null,c.data),q=g*g+w*w;if(q=(l=(d+v)/2))?d=l:v=l,(f=n>=(o=(c+g)/2))?c=o:g=o,e=_,!(_=_[a=f<<1|u]))return this;if(!_.length)break;(e[a+1&3]||e[a+2&3]||e[a+3&3])&&(i=e,x=a)}for(;_.data!==t;)if(r=_,!(_=_.next))return this;return(s=_.next)&&delete _.next,r?(s?r.next=s:delete r.next,this):e?(s?e[a]=s:delete e[a],(_=e[0]||e[1]||e[2]||e[3])&&_===(e[3]||e[2]||e[1]||e[0])&&!_.length&&(i?i[x]=_:this._root=_),this):(this._root=s,this)}function e(t){for(var e=0,i=t.length;ec+d||ix+d||uv.index){var l=c-f.x-f.vx,g=x-f.y-f.vy,h=l*l+g*g;ht.r&&(t.r=t[r].r)}function c(){if(f){var t,r,e=f.length;for(a=new Array(e),t=0;t1?(null==t?s.remove(n):s.set(n,g(t)),i):s.get(n)},find:function(n,t,e){var i,u,o,a,l,c=0,f=r.length;for(null==e?e=1/0:e*=e,c=0;c1?(v.on(n,t),i):v.on(n)}}} + },{"d3-dispatch":"D3zY","d3-collection":"S3hn","d3-timer":"rdzS"}],"i5c4":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var t=r(require("./constant")),e=r(require("./jiggle")),n=require("d3-quadtree"),a=require("./simulation");function r(t){return t&&t.__esModule?t:{default:t}}function u(){var r,u,i,f,l=(0,t.default)(-30),d=1,o=1/0,s=.81;function v(t){var e,f=r.length,l=(0,n.quadtree)(r,a.x,a.y).visitAfter(x);for(i=t,e=0;e=o)){(t.data!==u||t.next)&&(0===l&&(x+=(l=(0,e.default)())*l),0===v&&(x+=(v=(0,e.default)())*v),x1?l[0]+l.slice(2):l,+e.slice(n+1)]}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"tXBB":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./formatDecimal"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return(t=(0,e.default)(Math.abs(t)))?t[1]:NaN} + },{"./formatDecimal":"GAUC"}],"rbAM":[function(require,module,exports) { + "use strict";function e(e,t){return function(r,n){for(var u=r.length,s=[],o=0,i=e[0],a=0;u>0&&i>0&&(a+i+1>n&&(i=Math.max(1,n-a)),s.push(r.substring(u-=i,u+i)),!((a+=i+1)>n));)i=e[o=(o+1)%e.length];return s.reverse().join(t)}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"h+Tc":[function(require,module,exports) { + "use strict";function e(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"9aib":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i;var t=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){return new s(t)}function s(i){if(!(s=t.exec(i)))throw new Error("invalid format: "+i);var s;this.fill=s[1]||" ",this.align=s[2]||">",this.sign=s[3]||"-",this.symbol=s[4]||"",this.zero=!!s[5],this.width=s[6]&&+s[6],this.comma=!!s[7],this.precision=s[8]&&+s[8].slice(1),this.trim=!!s[9],this.type=s[10]||""}i.prototype=s.prototype,s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}; + },{}],"SUnU":[function(require,module,exports) { + "use strict";function e(e){e:for(var r,t=e.length,s=1,a=-1;s0){if(!+e[s])break e;a=0}}return a>0?e.slice(0,a)+e.slice(r+1):e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"f+bp":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n,exports.prefixExponent=void 0;var e,r=t(require("./formatDecimal"));function t(e){return e&&e.__esModule?e:{default:e}}function n(t,n){var o=(0,r.default)(t,n);if(!o)return t+"";var a=o[0],i=o[1],u=i-(exports.prefixExponent=e=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,f=a.length;return u===f?a:u>f?a+new Array(u-f+1).join("0"):u>0?a.slice(0,u)+"."+a.slice(u):"0."+new Array(1-u).join("0")+(0,r.default)(t,Math.max(0,n+u-1))[0]}exports.prefixExponent=e; + },{"./formatDecimal":"GAUC"}],"UDrw":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=r(require("./formatDecimal"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r,t){var n=(0,e.default)(r,t);if(!n)return r+"";var u=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+u:u.length>a+1?u.slice(0,a+1)+"."+u.slice(a+1):u+new Array(a-u.length+2).join("0")} + },{"./formatDecimal":"GAUC"}],"Wavi":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=n(require("./formatPrefixAuto")),r=n(require("./formatRounded"));function n(t){return t&&t.__esModule?t:{default:t}}var e={"%":function(t,r){return(100*t).toFixed(r)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,r){return t.toExponential(r)},f:function(t,r){return t.toFixed(r)},g:function(t,r){return t.toPrecision(r)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return(0,r.default)(100*t,n)},r:r.default,s:t.default,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};exports.default=e; + },{"./formatPrefixAuto":"f+bp","./formatRounded":"UDrw"}],"IVmM":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var e=l(require("./exponent")),r=l(require("./formatGroup")),t=l(require("./formatNumerals")),a=l(require("./formatSpecifier")),n=l(require("./formatTrim")),u=l(require("./formatTypes")),i=require("./formatPrefixAuto"),f=l(require("./identity"));function l(e){return e&&e.__esModule?e:{default:e}}var o=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function s(l){var s=l.grouping&&l.thousands?(0,r.default)(l.grouping,l.thousands):f.default,c=l.currency,m=l.decimal,d=l.numerals?(0,t.default)(l.numerals):f.default,h=l.percent||"%";function p(e){var r=(e=(0,a.default)(e)).fill,t=e.align,f=e.sign,l=e.symbol,p=e.zero,g=e.width,M=e.comma,x=e.precision,v=e.trim,y=e.type;"n"===y?(M=!0,y="g"):u.default[y]||(null==x&&(x=12),v=!0,y="g"),(p||"0"===r&&"="===t)&&(p=!0,r="0",t="=");var b="$"===l?c[0]:"#"===l&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",q="$"===l?c[1]:/[%p]/.test(y)?h:"",k=u.default[y],w=/[defgprs%]/.test(y);function P(e){var a,u,l,c=b,h=q;if("c"===y)h=k(e)+h,e="";else{var P=(e=+e)<0;if(e=k(Math.abs(e),x),v&&(e=(0,n.default)(e)),P&&0==+e&&(P=!1),c=(P?"("===f?f:"-":"-"===f||"("===f?"":f)+c,h=("s"===y?o[8+i.prefixExponent/3]:"")+h+(P&&"("===f?")":""),w)for(a=-1,u=e.length;++a(l=e.charCodeAt(a))||l>57){h=(46===l?m+e.slice(a+1):e.slice(a))+h,e=e.slice(0,a);break}}M&&!p&&(e=s(e,1/0));var _=c.length+e.length+h.length,A=_>1)+c+e+h+A.slice(_);break;default:e=A+c+e+h}return d(e)}return x=null==x?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),P.toString=function(){return e+""},P}return{format:p,formatPrefix:function(r,t){var n=p(((r=(0,a.default)(r)).type="f",r)),u=3*Math.max(-8,Math.min(8,Math.floor((0,e.default)(t)/3))),i=Math.pow(10,-u),f=o[8+u/3];return function(e){return n(i*e)+f}}}} + },{"./exponent":"tXBB","./formatGroup":"rbAM","./formatNumerals":"h+Tc","./formatSpecifier":"9aib","./formatTrim":"SUnU","./formatTypes":"Wavi","./formatPrefixAuto":"f+bp","./identity":"NNW9"}],"9KaM":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a,exports.formatPrefix=exports.format=void 0;var r,e,t,o=f(require("./locale"));function f(r){return r&&r.__esModule?r:{default:r}}function a(f){return r=(0,o.default)(f),exports.format=e=r.format,exports.formatPrefix=t=r.formatPrefix,r}exports.format=e,exports.formatPrefix=t,a({decimal:".",thousands:",",grouping:[3],currency:["$",""]}); + },{"./locale":"IVmM"}],"EyKk":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./exponent"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return Math.max(0,-(0,e.default)(Math.abs(t)))} + },{"./exponent":"tXBB"}],"V+pk":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=t(require("./exponent"));function t(e){return e&&e.__esModule?e:{default:e}}function a(t,a){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,e.default)(a)/3)))-(0,e.default)(Math.abs(t)))} + },{"./exponent":"tXBB"}],"DMyZ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=t(require("./exponent"));function t(e){return e&&e.__esModule?e:{default:e}}function u(t,u){return t=Math.abs(t),u=Math.abs(u)-t,Math.max(0,(0,e.default)(u)-(0,e.default)(t))+1} + },{"./exponent":"tXBB"}],"VuZR":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"formatDefaultLocale",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"format",{enumerable:!0,get:function(){return e.format}}),Object.defineProperty(exports,"formatPrefix",{enumerable:!0,get:function(){return e.formatPrefix}}),Object.defineProperty(exports,"formatLocale",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"formatSpecifier",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"precisionFixed",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"precisionPrefix",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"precisionRound",{enumerable:!0,get:function(){return i.default}});var e=f(require("./defaultLocale")),r=u(require("./locale")),t=u(require("./formatSpecifier")),n=u(require("./precisionFixed")),o=u(require("./precisionPrefix")),i=u(require("./precisionRound"));function u(e){return e&&e.__esModule?e:{default:e}}function f(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};n.get||n.set?Object.defineProperty(r,t,n):r[t]=e[t]}return r.default=e,r} + },{"./defaultLocale":"9KaM","./locale":"IVmM","./formatSpecifier":"9aib","./precisionFixed":"EyKk","./precisionPrefix":"V+pk","./precisionRound":"DMyZ"}],"fG8A":[function(require,module,exports) { + "use strict";function t(){return new s}function s(){this.reset()}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t,s.prototype={constructor:s,reset:function(){this.s=this.t=0},add:function(t){i(e,t,this.t),i(this,e.s,this.s),this.s?this.t+=e.t:this.s=e.t},valueOf:function(){return this.s}};var e=new s;function i(t,s,e){var i=t.s=s+e,n=i-s,r=i-n;t.t=s-r+(e-n)} + },{}],"JQgf":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acos=b,exports.asin=w,exports.haversin=_,exports.tan=exports.sqrt=exports.sign=exports.sin=exports.pow=exports.log=exports.floor=exports.exp=exports.ceil=exports.cos=exports.atan2=exports.atan=exports.abs=exports.radians=exports.degrees=exports.tau=exports.quarterPi=exports.halfPi=exports.pi=exports.epsilon2=exports.epsilon=void 0;var r=1e-6;exports.epsilon=r;var t=1e-12;exports.epsilon2=t;var e=Math.PI;exports.pi=e;var s=e/2;exports.halfPi=s;var o=e/4;exports.quarterPi=o;var a=2*e;exports.tau=a;var p=180/e;exports.degrees=p;var x=e/180;exports.radians=x;var n=Math.abs;exports.abs=n;var i=Math.atan;exports.atan=i;var v=Math.atan2;exports.atan2=v;var h=Math.cos;exports.cos=h;var l=Math.ceil;exports.ceil=l;var M=Math.exp;exports.exp=M;var u=Math.floor;exports.floor=u;var c=Math.log;exports.log=c;var f=Math.pow;exports.pow=f;var g=Math.sin;exports.sin=g;var d=Math.sign||function(r){return r>0?1:r<0?-1:0};exports.sign=d;var P=Math.sqrt;exports.sqrt=P;var q=Math.tan;function b(r){return r>1?0:r<-1?e:Math.acos(r)}function w(r){return r>1?s:r<-1?-s:Math.asin(r)}function _(r){return(r=g(r/2))*r}exports.tan=q; + },{}],"XQuq":[function(require,module,exports) { + "use strict";function n(n,t){n&&o.hasOwnProperty(n.type)&&o[n.type](n,t)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i;var t={Feature:function(t,o){n(t.geometry,o)},FeatureCollection:function(t,o){for(var e=t.features,r=-1,i=e.length;++r=0?1:-1,u=n*r,o=(0,t.cos)(a),f=(0,t.sin)(a),p=l*f,c=s*o+p*(0,t.cos)(u),S=p*n*(0,t.sin)(u);i.add((0,t.atan2)(S,c)),d=e,s=o,l=f}function q(e){return f.reset(),(0,r.default)(e,p),2*f}exports.areaStream=p; + },{"./adder":"fG8A","./math":"JQgf","./noop":"zOhu","./stream":"XQuq"}],"V83Q":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.spherical=e,exports.cartesian=t,exports.cartesianDot=n,exports.cartesianCross=s,exports.cartesianAddInPlace=a,exports.cartesianScale=o,exports.cartesianNormalizeInPlace=c;var r=require("./math");function e(e){return[(0,r.atan2)(e[1],e[0]),(0,r.asin)(e[2])]}function t(e){var t=e[0],n=e[1],s=(0,r.cos)(n);return[s*(0,r.cos)(t),s*(0,r.sin)(t),(0,r.sin)(n)]}function n(r,e){return r[0]*e[0]+r[1]*e[1]+r[2]*e[2]}function s(r,e){return[r[1]*e[2]-r[2]*e[1],r[2]*e[0]-r[0]*e[2],r[0]*e[1]-r[1]*e[0]]}function a(r,e){r[0]+=e[0],r[1]+=e[1],r[2]+=e[2]}function o(r,e){return[r[0]*e,r[1]*e,r[2]*e]}function c(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} + },{"./math":"JQgf"}],"rw3L":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=P;var e=i(require("./adder")),n=require("./area"),r=require("./cartesian"),a=require("./math"),t=i(require("./stream"));function i(e){return e&&e.__esModule?e:{default:e}}var o,u,s,l,f,c,d,p,S,g,m=(0,e.default)(),N={point:h,lineStart:E,lineEnd:q,polygonStart:function(){N.point=y,N.lineStart=b,N.lineEnd=_,m.reset(),n.areaStream.polygonStart()},polygonEnd:function(){n.areaStream.polygonEnd(),N.point=h,N.lineStart=E,N.lineEnd=q,n.areaRingSum<0?(o=-(s=180),u=-(l=90)):m>a.epsilon?l=90:m<-a.epsilon&&(u=-90),g[0]=o,g[1]=s},sphere:function(){o=-(s=180),u=-(l=90)}};function h(e,n){S.push(g=[o=e,s=e]),nl&&(l=n)}function v(e,n){var t=(0,r.cartesian)([e*a.radians,n*a.radians]);if(p){var i=(0,r.cartesianCross)(p,t),c=[i[1],-i[0],0],d=(0,r.cartesianCross)(c,i);(0,r.cartesianNormalizeInPlace)(d),d=(0,r.spherical)(d);var m,N=e-f,h=N>0?1:-1,v=d[0]*a.degrees*h,E=(0,a.abs)(N)>180;E^(h*fl&&(l=m):E^(h*f<(v=(v+360)%360-180)&&vl&&(l=n)),E?ex(o,s)&&(s=e):x(e,s)>x(o,s)&&(o=e):s>=o?(es&&(s=e)):e>f?x(o,e)>x(o,s)&&(s=e):x(e,s)>x(o,s)&&(o=e)}else S.push(g=[o=e,s=e]);nl&&(l=n),p=t,f=e}function E(){N.point=v}function q(){g[0]=o,g[1]=s,N.point=h,p=null}function y(e,r){if(p){var t=e-f;m.add((0,a.abs)(t)>180?t+(t>0?360:-360):t)}else c=e,d=r;n.areaStream.point(e,r),v(e,r)}function b(){n.areaStream.lineStart()}function _(){y(c,d),n.areaStream.lineEnd(),(0,a.abs)(m)>a.epsilon&&(o=-(s=180)),g[0]=o,g[1]=s,p=null}function x(e,n){return(n-=e)<0?n+360:n}function C(e,n){return e[0]-n[0]}function M(e,n){return e[0]<=e[1]?e[0]<=n&&n<=e[1]:nx(a[0],a[1])&&(a[1]=i[1]),x(i[0],a[1])>x(a[0],a[1])&&(a[0]=i[0])):f.push(a=i);for(c=-1/0,n=0,a=f[r=f.length-1];n<=r;a=i,++n)i=f[n],(d=x(a[1],i[0]))>c&&(c=d,o=i[0],s=a[1])}return S=g=null,o===1/0||u===1/0?[[NaN,NaN],[NaN,NaN]]:[[o,u],[s,l]]} + },{"./adder":"fG8A","./area":"2rKt","./cartesian":"V83Q","./math":"JQgf","./stream":"XQuq"}],"GCsQ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=w;var n,i,s,t,a,o,r,e,u,c,d,f,l,p,v,q,g=require("./math"),E=S(require("./noop")),N=S(require("./stream"));function S(n){return n&&n.__esModule?n:{default:n}}var _={sphere:E.default,point:y,lineStart:m,lineEnd:b,polygonStart:function(){_.lineStart=j,_.lineEnd=O},polygonEnd:function(){_.lineStart=m,_.lineEnd=b}};function y(n,i){n*=g.radians,i*=g.radians;var s=(0,g.cos)(i);h(s*(0,g.cos)(n),s*(0,g.sin)(n),(0,g.sin)(i))}function h(i,o,r){s+=(i-s)/++n,t+=(o-t)/n,a+=(r-a)/n}function m(){_.point=x}function x(n,i){n*=g.radians,i*=g.radians;var s=(0,g.cos)(i);p=s*(0,g.cos)(n),v=s*(0,g.sin)(n),q=(0,g.sin)(i),_.point=M,h(p,v,q)}function M(n,s){n*=g.radians,s*=g.radians;var t=(0,g.cos)(s),a=t*(0,g.cos)(n),u=t*(0,g.sin)(n),c=(0,g.sin)(s),d=(0,g.atan2)((0,g.sqrt)((d=v*c-q*u)*d+(d=q*a-p*c)*d+(d=p*u-v*a)*d),p*a+v*u+q*c);i+=d,o+=d*(p+(p=a)),r+=d*(v+(v=u)),e+=d*(q+(q=c)),h(p,v,q)}function b(){_.point=y}function j(){_.point=P}function O(){k(f,l),_.point=y}function P(n,i){f=n,l=i,n*=g.radians,i*=g.radians,_.point=k;var s=(0,g.cos)(i);p=s*(0,g.cos)(n),v=s*(0,g.sin)(n),q=(0,g.sin)(i),h(p,v,q)}function k(n,s){n*=g.radians,s*=g.radians;var t=(0,g.cos)(s),a=t*(0,g.cos)(n),f=t*(0,g.sin)(n),l=(0,g.sin)(s),E=v*l-q*f,N=q*a-p*l,S=p*f-v*a,_=(0,g.sqrt)(E*E+N*N+S*S),y=(0,g.asin)(_),m=_&&-y/_;u+=m*E,c+=m*N,d+=m*S,i+=y,o+=y*(p+(p=a)),r+=y*(v+(v=f)),e+=y*(q+(q=l)),h(p,v,q)}function w(f){n=i=s=t=a=o=r=e=u=c=d=0,(0,N.default)(f,_);var l=u,p=c,v=d,q=l*l+p*p+v*v;return qr.pi?n+Math.round(-n/r.tau)*r.tau:n,e]}function a(e,a,i){return(e%=r.tau)?a||i?(0,n.default)(u(e),s(a,i)):u(e):a||i?s(a,i):t}function i(n){return function(e,t){return[(e+=n)>r.pi?e-r.tau:e<-r.pi?e+r.tau:e,t]}}function u(n){var r=i(n);return r.invert=i(-n),r}function s(n,e){var t=(0,r.cos)(n),a=(0,r.sin)(n),i=(0,r.cos)(e),u=(0,r.sin)(e);function s(n,e){var s=(0,r.cos)(e),o=(0,r.cos)(n)*s,c=(0,r.sin)(n)*s,d=(0,r.sin)(e),f=d*t+o*a;return[(0,r.atan2)(c*i-f*u,o*t-d*a),(0,r.asin)(f*i+c*u)]}return s.invert=function(n,e){var s=(0,r.cos)(e),o=(0,r.cos)(n)*s,c=(0,r.sin)(n)*s,d=(0,r.sin)(e),f=d*i-c*u;return[(0,r.atan2)(c*i+d*u,o*t+f*a),(0,r.asin)(f*t-o*a)]},s}function o(n){function e(e){return(e=n(e[0]*r.radians,e[1]*r.radians))[0]*=r.degrees,e[1]*=r.degrees,e}return n=a(n[0]*r.radians,n[1]*r.radians,n.length>2?n[2]*r.radians:0),e.invert=function(e){return(e=n.invert(e[0]*r.radians,e[1]*r.radians))[0]*=r.degrees,e[1]*=r.degrees,e},e}t.invert=t; + },{"./compose":"8tY9","./math":"JQgf"}],"KcOR":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.circleStream=i,exports.default=o;var e=require("./cartesian"),t=a(require("./constant")),n=require("./math"),r=require("./rotation");function a(e){return e&&e.__esModule?e:{default:e}}function i(t,r,a,i,o,s){if(a){var c=(0,n.cos)(r),l=(0,n.sin)(r),f=i*a;null==o?(o=r+i*n.tau,s=r-f/2):(o=u(c,o),s=u(c,s),(i>0?os)&&(o+=i*n.tau));for(var d,p=o;i>0?p>s:p1&&t.push(t.pop().concat(t.shift()))},result:function(){var e=t;return t=[],n=null,e}}} + },{"../noop":"zOhu"}],"yH90":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("./math");function r(r,t){return(0,e.abs)(r[0]-t[0])=0;--u)f.point((v=a[u])[0],v[1]);else r(c.x,c.p.x,-1,f);c=c.p}a=(c=c.o).z,x=!x}while(!c.v);f.lineEnd()}}}function l(e){if(n=e.length){for(var n,t,i=0,l=e[0];++i=0?1:-1,y=j*N,O=y>r.pi,k=b*I;if(s.add((0,r.atan2)(k*j*(0,r.sin)(y),g*M+k*(0,r.cos)(y))),c+=O?N+j*r.tau:N,O^q>=t^z>=t){var w=(0,a.cartesianCross)((0,a.cartesian)(h),(0,a.cartesian)(x));(0,a.cartesianNormalizeInPlace)(w);var A=(0,a.cartesianCross)(l,w);(0,a.cartesianNormalizeInPlace)(A);var B=(O^N>=0?-1:1)*(0,r.asin)(A[2]);(o>B||o===B&&(w[0]||w[1]))&&(f+=O^N>=0?1:-1)}}return(c<-r.epsilon||c0){for(y||(p.polygonStart(),y=!0),p.lineStart(),n=0;n1&&2&l&&o.push(o.pop().concat(o.shift())),d.push(o.filter(u))}return E}}function u(n){return n.length>1}function a(n,t){return((n=n.x)[0]<0?n[1]-e.halfPi-e.epsilon:e.halfPi-n[1])-((t=t.x)[0]<0?t[1]-e.halfPi-e.epsilon:e.halfPi-t[1])} + },{"./buffer":"jFd0","./rejoin":"Nr15","../math":"JQgf","../polygonContains":"GrwB","d3-array":"K0bd"}],"/1Go":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var i=t(require("./index")),n=require("../math");function t(i){return i&&i.__esModule?i:{default:i}}var e=(0,i.default)(function(){return!0},o,a,[-n.pi,-n.halfPi]);function o(i){var t,e=NaN,o=NaN,a=NaN;return{lineStart:function(){i.lineStart(),t=1},point:function(l,r){var s=l>0?n.pi:-n.pi,u=(0,n.abs)(l-e);(0,n.abs)(u-n.pi)0?n.halfPi:-n.halfPi),i.point(a,o),i.lineEnd(),i.lineStart(),i.point(s,o),i.point(l,o),t=0):a!==s&&u>=n.pi&&((0,n.abs)(e-a)n.epsilon?(0,n.atan)(((0,n.sin)(t)*(a=(0,n.cos)(o))*(0,n.sin)(e)-(0,n.sin)(o)*(p=(0,n.cos)(t))*(0,n.sin)(i))/(p*a*l)):(t+o)/2}function a(i,t,e,o){var p;if(null==i)p=e*n.halfPi,o.point(-n.pi,p),o.point(0,p),o.point(n.pi,p),o.point(n.pi,0),o.point(n.pi,-p),o.point(0,-p),o.point(-n.pi,-p),o.point(-n.pi,0),o.point(-n.pi,p);else if((0,n.abs)(i[0]-t[0])>n.epsilon){var a=i[0]0,o=(0,i.abs)(c)>i.epsilon;function u(e,n){return(0,i.cos)(e)*(0,i.cos)(n)>c}function p(n,r,a){var t=(0,e.cartesian)(n),s=(0,e.cartesian)(r),l=[1,0,0],o=(0,e.cartesianCross)(t,s),u=(0,e.cartesianDot)(o,o),p=o[0],f=u-p*p;if(!f)return!a&&n;var d=c*u/f,v=-c*p/f,S=(0,e.cartesianCross)(l,o),q=(0,e.cartesianScale)(l,d),E=(0,e.cartesianScale)(o,v);(0,e.cartesianAddInPlace)(q,E);var b=S,D=(0,e.cartesianDot)(q,b),P=(0,e.cartesianDot)(b,b),_=D*D-P*((0,e.cartesianDot)(q,q)-1);if(!(_<0)){var h=(0,i.sqrt)(_),x=(0,e.cartesianScale)(b,(-D-h)/P);if((0,e.cartesianAddInPlace)(x,q),x=(0,e.spherical)(x),!a)return x;var A,I=n[0],m=r[0],C=n[1],M=r[1];m0^x[1]<((0,i.abs)(x[0]-I)i.pi^(I<=x[0]&&x[0]<=m)){var O=(0,e.cartesianScale)(b,(-D+h)/P);return(0,e.cartesianAddInPlace)(O,q),[x,(0,e.spherical)(O)]}}}function f(e,n){var r=l?t:i.pi-t,a=0;return e<-r?a|=1:e>r&&(a|=2),n<-r?a|=4:n>r&&(a|=8),a}return(0,a.default)(u,function(e){var n,a,t,c,s;return{lineStart:function(){c=t=!1,s=1},point:function(d,v){var S,q=[d,v],E=u(d,v),b=l?E?0:f(d,v):E?f(d+(d<0?i.pi:-i.pi),v):0;if(!n&&(c=t=E)&&e.lineStart(),E!==t&&(!(S=p(n,q))||(0,r.default)(n,S)||(0,r.default)(q,S))&&(q[0]+=i.epsilon,q[1]+=i.epsilon,E=u(q[0],q[1])),E!==t)s=0,E?(e.lineStart(),S=p(q,n),e.point(S[0],S[1])):(S=p(n,q),e.point(S[0],S[1]),e.lineEnd()),n=S;else if(o&&n&&l^E){var D;b&a||!(D=p(q,n,!0))||(s=0,l?(e.lineStart(),e.point(D[0][0],D[0][1]),e.point(D[1][0],D[1][1]),e.lineEnd()):(e.point(D[1][0],D[1][1]),e.lineEnd(),e.lineStart(),e.point(D[0][0],D[0][1])))}!E||n&&(0,r.default)(n,q)||e.point(q[0],q[1]),n=q,t=E,a=b},lineEnd:function(){t&&e.lineEnd(),n=null},clean:function(){return s|(c&&t)<<1}}},function(e,i,r,a){(0,n.circleStream)(a,t,s,r,e,i)},l?[0,-t]:[-i.pi,t-i.pi])} + },{"../cartesian":"V83Q","../circle":"KcOR","../math":"JQgf","../pointEqual":"yH90","./index":"J6h6"}],"w1ni":[function(require,module,exports) { + "use strict";function e(e,r,f,i,t,u){var n,s=e[0],l=e[1],o=0,a=1,c=r[0]-s,d=r[1]-l;if(n=f-s,c||!(n>0)){if(n/=c,c<0){if(n0){if(n>a)return;n>o&&(o=n)}if(n=t-s,c||!(n<0)){if(n/=c,c<0){if(n>a)return;n>o&&(o=n)}else if(c>0){if(n0)){if(n/=d,d<0){if(n0){if(n>a)return;n>o&&(o=n)}if(n=u-l,d||!(n<0)){if(n/=d,d<0){if(n>a)return;n>o&&(o=n)}else if(d>0){if(n0&&(e[0]=s+o*c,e[1]=l+o*d),a<1&&(r[0]=s+a*c,r[1]=l+a*d),!0}}}}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"jRQA":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var n=require("../math"),t=o(require("./buffer")),e=o(require("./line")),r=o(require("./rejoin")),i=require("d3-array");function o(n){return n&&n.__esModule?n:{default:n}}var u=1e9,a=-u;function l(o,l,f,p){function s(n,t){return o<=n&&n<=f&&l<=t&&t<=p}function c(n,t,e,r){var i=0,u=0;if(null==n||(i=d(n,e))!==(u=d(t,e))||v(n,t)<0^e>0)do{r.point(0===i||3===i?o:f,i>1?p:l)}while((i=(i+e+4)%4)!==u);else r.point(t[0],t[1])}function d(t,e){return(0,n.abs)(t[0]-o)0?0:3:(0,n.abs)(t[0]-f)0?2:1:(0,n.abs)(t[1]-l)0?1:0:e>0?3:2}function h(n,t){return v(n.x,t.x)}function v(n,t){var e=d(n,1),r=d(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(n){var d,v,m,M,g,x,S,y,E,b,q,_=n,j=(0,t.default)(),N={point:w,lineStart:function(){N.point=O,v&&v.push(m=[]);b=!0,E=!1,S=y=NaN},lineEnd:function(){d&&(O(M,g),x&&E&&j.rejoin(),d.push(j.result()));N.point=w,E&&_.lineEnd()},polygonStart:function(){_=j,d=[],v=[],q=!0},polygonEnd:function(){var t=function(){for(var n=0,t=0,e=v.length;tp&&(s-r)*(p-i)>(c-i)*(o-r)&&++n:c<=p&&(s-r)*(p-i)<(c-i)*(o-r)&&--n;return n}(),e=q&&t,u=(d=(0,i.merge)(d)).length;(e||u)&&(n.polygonStart(),e&&(n.lineStart(),c(null,null,1,n),n.lineEnd()),u&&(0,r.default)(d,h,t,c,n),n.polygonEnd());_=n,d=v=m=null}};function w(n,t){s(n,t)&&_.point(n,t)}function O(n,t){var r=s(n,t);if(v&&m.push([n,t]),b)M=n,g=t,x=r,b=!1,r&&(_.lineStart(),_.point(n,t));else if(r&&E)_.point(n,t);else{var i=[S=Math.max(a,Math.min(u,S)),y=Math.max(a,Math.min(u,y))],c=[n=Math.max(a,Math.min(u,n)),t=Math.max(a,Math.min(u,t))];(0,e.default)(i,c,o,l,f,p)?(E||(_.lineStart(),_.point(i[0],i[1])),_.point(c[0],c[1]),r||_.lineEnd(),q=!1):r&&(_.lineStart(),_.point(n,t),q=!1)}S=n,y=t,E=r}return N}} + },{"../math":"JQgf","./buffer":"jFd0","./line":"w1ni","./rejoin":"Nr15","d3-array":"K0bd"}],"EodF":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./rectangle"));function t(e){return e&&e.__esModule?e:{default:e}}function r(){var t,r,n,u=0,l=0,o=960,a=500;return n={stream:function(n){return t&&r===n?t:t=(0,e.default)(u,l,o,a)(r=n)},extent:function(e){return arguments.length?(u=+e[0][0],l=+e[0][1],o=+e[1][0],a=+e[1][1],t=r=null,n):[[u,l],[o,a]]}}} + },{"./rectangle":"jRQA"}],"bXUe":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=q;var e=r(require("./adder")),n=require("./math"),t=r(require("./noop")),a=r(require("./stream"));function r(e){return e&&e.__esModule?e:{default:e}}var i,u,d,o=(0,e.default)(),s={sphere:t.default,point:t.default,lineStart:l,lineEnd:t.default,polygonStart:t.default,polygonEnd:t.default};function l(){s.point=c,s.lineEnd=f}function f(){s.point=s.lineEnd=t.default}function c(e,t){e*=n.radians,t*=n.radians,i=e,u=(0,n.sin)(t),d=(0,n.cos)(t),s.point=p}function p(e,t){e*=n.radians,t*=n.radians;var a=(0,n.sin)(t),r=(0,n.cos)(t),s=(0,n.abs)(e-i),l=(0,n.cos)(s),f=r*(0,n.sin)(s),c=d*a-u*r*l,p=u*a+d*r*l;o.add((0,n.atan2)((0,n.sqrt)(f*f+c*c),p)),i=e,u=a,d=r}function q(e){return o.reset(),(0,a.default)(e,s),+o} + },{"./adder":"fG8A","./math":"JQgf","./noop":"zOhu","./stream":"XQuq"}],"hTgK":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var e=t(require("./length"));function t(e){return e&&e.__esModule?e:{default:e}}var r=[null,null],u={type:"LineString",coordinates:r};function n(t,n){return r[0]=t,r[1]=n,(0,e.default)(u)} + },{"./length":"bXUe"}],"tRhb":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=d;var r=e(require("./polygonContains")),n=e(require("./distance")),t=require("./math");function e(r){return r&&r.__esModule?r:{default:r}}var o={Feature:function(r,n){return i(r.geometry,n)},FeatureCollection:function(r,n){for(var t=r.features,e=-1,o=t.length;++e0&&(i=(0,n.default)(r[f],r[f-1]))>0&&o<=i&&u<=i&&(o+u-i)*(1-Math.pow((o-u)/i,2))e.epsilon}).map(f)).concat((0,n.range)((0,e.ceil)(s/m)*m,a,m).filter(function(n){return(0,e.abs)(n%v)>e.epsilon}).map(g))}return y.lines=function(){return b().map(function(n){return{type:"LineString",coordinates:n}})},y.outline=function(){return{type:"Polygon",coordinates:[M(c).concat(x(l).slice(1),M(u).reverse().slice(1),x(p).reverse().slice(1))]}},y.extent=function(n){return arguments.length?y.extentMajor(n).extentMinor(n):y.extentMinor()},y.extentMajor=function(n){return arguments.length?(c=+n[0][0],u=+n[1][0],p=+n[0][1],l=+n[1][1],c>u&&(n=c,c=u,u=n),p>l&&(n=p,p=l,l=n),y.precision(j)):[[c,p],[u,l]]},y.extentMinor=function(n){return arguments.length?(o=+n[0][0],i=+n[1][0],s=+n[0][1],a=+n[1][1],o>i&&(n=o,o=i,i=n),s>a&&(n=s,s=a,a=n),y.precision(j)):[[o,s],[i,a]]},y.step=function(n){return arguments.length?y.stepMajor(n).stepMinor(n):y.stepMinor()},y.stepMajor=function(n){return arguments.length?(d=+n[0],v=+n[1],y):[d,v]},y.stepMinor=function(n){return arguments.length?(h=+n[0],m=+n[1],y):[h,m]},y.precision=function(n){return arguments.length?(j=+n,f=t(s,a,90),g=r(o,i,j),M=t(p,l,90),x=r(c,u,j),y):j},y.extentMajor([[-180,-90+e.epsilon],[180,90-e.epsilon]]).extentMinor([[-180,-80-e.epsilon],[180,80+e.epsilon]])}function o(){return i()()} + },{"d3-array":"K0bd","./math":"JQgf"}],"uuLr":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var e=require("./math");function s(s,r){var n=s[0]*e.radians,a=s[1]*e.radians,i=r[0]*e.radians,t=r[1]*e.radians,d=(0,e.cos)(a),o=(0,e.sin)(a),u=(0,e.cos)(t),c=(0,e.sin)(t),v=d*(0,e.cos)(n),f=d*(0,e.sin)(n),g=u*(0,e.cos)(i),h=u*(0,e.sin)(i),l=2*(0,e.asin)((0,e.sqrt)((0,e.haversin)(t-a)+d*u*(0,e.haversin)(i-n))),p=(0,e.sin)(l),q=l?function(s){var r=(0,e.sin)(s*=l)/p,n=(0,e.sin)(l-s)/p,a=n*v+r*g,i=n*f+r*h,t=n*o+r*c;return[(0,e.atan2)(i,a)*e.degrees,(0,e.atan2)(t,(0,e.sqrt)(a*a+i*i))*e.degrees]}:function(){return[n*e.degrees,a*e.degrees]};return q.distance=l,q} + },{"./math":"JQgf"}],"ueEe":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("../adder")),t=require("../math"),n=r(require("../noop"));function r(e){return e&&e.__esModule?e:{default:e}}var u,o,i,a,d=(0,e.default)(),l=(0,e.default)(),f={point:n.default,lineStart:n.default,lineEnd:n.default,polygonStart:function(){f.lineStart=p,f.lineEnd=v},polygonEnd:function(){f.lineStart=f.lineEnd=f.point=n.default,d.add((0,t.abs)(l)),l.reset()},result:function(){var e=d/2;return d.reset(),e}};function p(){f.point=s}function s(e,t){f.point=c,u=i=e,o=a=t}function c(e,t){l.add(a*e-i*t),i=e,a=t}function v(){c(u,o)}var E=f;exports.default=E; + },{"../adder":"fG8A","../math":"JQgf","../noop":"zOhu"}],"597t":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("../noop"));function t(e){return e&&e.__esModule?e:{default:e}}var r=1/0,u=r,n=-r,o=n,l={point:a,lineStart:e.default,lineEnd:e.default,polygonStart:e.default,polygonEnd:e.default,result:function(){var e=[[r,u],[n,o]];return n=o=-(u=r=1/0),e}};function a(e,t){en&&(n=e),to&&(o=t)}var d=l;exports.default=d; + },{"../noop":"zOhu"}],"PA8j":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n,t,i,o,e=require("../math"),r=0,u=0,a=0,f=0,c=0,l=0,p=0,d=0,s=0,v={point:E,lineStart:N,lineEnd:x,polygonStart:function(){v.lineStart=y,v.lineEnd=g},polygonEnd:function(){v.point=E,v.lineStart=N,v.lineEnd=x},result:function(){var n=s?[p/s,d/s]:l?[f/l,c/l]:a?[r/a,u/a]:[NaN,NaN];return r=u=a=f=c=l=p=d=s=0,n}};function E(n,t){r+=n,u+=t,++a}function N(){v.point=S}function S(n,t){v.point=q,E(i=n,o=t)}function q(n,t){var r=n-i,u=t-o,a=(0,e.sqrt)(r*r+u*u);f+=a*(i+n)/2,c+=a*(o+t)/2,l+=a,E(i=n,o=t)}function x(){v.point=E}function y(){v.point=_}function g(){b(n,t)}function _(e,r){v.point=b,E(n=i=e,t=o=r)}function b(n,t){var r=n-i,u=t-o,a=(0,e.sqrt)(r*r+u*u);f+=a*(i+n)/2,c+=a*(o+t)/2,l+=a,p+=(a=o*n-i*t)*(i+n),d+=a*(o+t),s+=3*a,E(i=n,o=t)}var h=v;exports.default=h; + },{"../math":"JQgf"}],"r69t":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var t=require("../math"),i=e(require("../noop"));function e(t){return t&&t.__esModule?t:{default:t}}function n(t){this._context=t}n.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(i,e){switch(this._point){case 0:this._context.moveTo(i,e),this._point=1;break;case 1:this._context.lineTo(i,e);break;default:this._context.moveTo(i+this._radius,e),this._context.arc(i,e,this._radius,0,t.tau)}},result:i.default}; + },{"../math":"JQgf","../noop":"zOhu"}],"SjQK":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=r(require("../adder")),e=require("../math"),n=r(require("../noop"));function r(t){return t&&t.__esModule?t:{default:t}}var o,u,i,a,d,l=(0,t.default)(),f={point:n.default,lineStart:function(){f.point=p},lineEnd:function(){o&&c(u,i),f.point=n.default},polygonStart:function(){o=!0},polygonEnd:function(){o=null},result:function(){var t=+l;return l.reset(),t}};function p(t,e){f.point=c,u=a=t,i=d=e}function c(t,n){a-=t,d-=n,l.add((0,e.sqrt)(a*a+d*d)),a=t,d=n}var s=f;exports.default=s; + },{"../adder":"fG8A","../math":"JQgf","../noop":"zOhu"}],"cxj1":[function(require,module,exports) { + "use strict";function t(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t,t.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}; + },{}],"JRMk":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=f(require("../identity")),t=f(require("../stream")),u=f(require("./area")),n=f(require("./bounds")),r=f(require("./centroid")),i=f(require("./context")),l=f(require("./measure")),o=f(require("./string"));function f(e){return e&&e.__esModule?e:{default:e}}function a(f,a){var d,s,c=4.5;function p(e){return e&&("function"==typeof c&&s.pointRadius(+c.apply(this,arguments)),(0,t.default)(e,d(s))),s.result()}return p.area=function(e){return(0,t.default)(e,d(u.default)),u.default.result()},p.measure=function(e){return(0,t.default)(e,d(l.default)),l.default.result()},p.bounds=function(e){return(0,t.default)(e,d(n.default)),n.default.result()},p.centroid=function(e){return(0,t.default)(e,d(r.default)),r.default.result()},p.projection=function(t){return arguments.length?(d=null==t?(f=null,e.default):(f=t).stream,p):f},p.context=function(e){return arguments.length?(s=null==e?(a=null,new o.default):new i.default(a=e),"function"!=typeof c&&s.pointRadius(c),p):a},p.pointRadius=function(e){return arguments.length?(c="function"==typeof e?e:(s.pointRadius(+e),+e),p):c},p.projection(f).context(a)} + },{"../identity":"NNW9","../stream":"XQuq","./area":"ueEe","./bounds":"597t","./centroid":"PA8j","./context":"r69t","./measure":"SjQK","./string":"cxj1"}],"pfKH":[function(require,module,exports) { + "use strict";function t(t){return{stream:n(t)}}function n(t){return function(n){var e=new r;for(var o in t)e[o]=t[o];return e.stream=n,e}}function r(){}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t,exports.transformer=n,r.prototype={constructor:r,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}; + },{}],"Ycma":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fitExtent=u,exports.fitSize=a,exports.fitWidth=l,exports.fitHeight=i;var t=n(require("../stream")),e=n(require("../path/bounds"));function n(t){return t&&t.__esModule?t:{default:t}}function r(n,r,u){var a=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),null!=a&&n.clipExtent(null),(0,t.default)(u,n.stream(e.default)),r(e.default.result()),null!=a&&n.clipExtent(a),n}function u(t,e,n){return r(t,function(n){var r=e[1][0]-e[0][0],u=e[1][1]-e[0][1],a=Math.min(r/(n[1][0]-n[0][0]),u/(n[1][1]-n[0][1])),l=+e[0][0]+(r-a*(n[1][0]+n[0][0]))/2,i=+e[0][1]+(u-a*(n[1][1]+n[0][1]))/2;t.scale(150*a).translate([l,i])},n)}function a(t,e,n){return u(t,[[0,0],e],n)}function l(t,e,n){return r(t,function(n){var r=+e,u=r/(n[1][0]-n[0][0]),a=(r-u*(n[1][0]+n[0][0]))/2,l=-u*n[0][1];t.scale(150*u).translate([a,l])},n)}function i(t,e,n){return r(t,function(n){var r=+e,u=r/(n[1][1]-n[0][1]),a=-u*n[0][0],l=(r-u*(n[1][1]+n[0][1]))/2;t.scale(150*u).translate([a,l])},n)} + },{"../stream":"XQuq","../path/bounds":"597t"}],"nAh8":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;var n=require("../cartesian"),t=require("../math"),i=require("../transform"),o=16,r=(0,t.cos)(30*t.radians);function e(n,t){return+t?u(n,t):a(n)}function a(n){return(0,i.transformer)({point:function(t,i){t=n(t,i),this.stream.point(t[0],t[1])}})}function u(i,e){function a(n,o,u,s,c,f,p,l,d,v,E,S,b,y){var g=p-n,m=l-o,q=g*g+m*m;if(q>4*e&&b--){var h=s+v,x=c+E,N=f+S,_=(0,t.sqrt)(h*h+x*x+N*N),j=(0,t.asin)(N/=_),M=(0,t.abs)((0,t.abs)(N)-1)e||(0,t.abs)((g*w+m*z)/q-.5)>.3||s*v+c*E+f*S2?n[2]%360*u.radians:0,G()):[b*u.degrees,A*u.degrees,O*u.degrees]},D.angle=function(n){return arguments.length?(P=n%360*u.radians,G()):P*u.degrees},D.precision=function(n){return arguments.length?(x=(0,f.default)(y,C=n*n),I()):(0,u.sqrt)(C)},D.fitExtent=function(n,e){return(0,o.fitExtent)(D,n,e)},D.fitSize=function(n,e){return(0,o.fitSize)(D,n,e)},D.fitWidth=function(n,e){return(0,o.fitWidth)(D,n,e)},D.fitHeight=function(n,e){return(0,o.fitHeight)(D,n,e)},function(){return c=l.apply(this,arguments),D.invert=c.invert&&F,G()}} + },{"../clip/antimeridian":"/1Go","../clip/circle":"lcCJ","../clip/rectangle":"jRQA","../compose":"8tY9","../identity":"NNW9","../math":"JQgf","../rotation":"LqUY","../transform":"pfKH","./fit":"Ycma","./resample":"nAh8"}],"Q2ed":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conicProjection=t;var e=require("../math"),r=require("./index");function t(t){var n=0,i=e.pi/3,o=(0,r.projectionMutator)(t),a=o(n,i);return a.parallels=function(r){return arguments.length?o(n=r[0]*e.radians,i=r[1]*e.radians):[n*e.degrees,i*e.degrees]},a} + },{"../math":"JQgf","./index":"0Ktp"}],"JFau":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cylindricalEqualAreaRaw=e;var r=require("../math");function e(e){var n=(0,r.cos)(e);function t(e,t){return[e*n,(0,r.sin)(t)/n]}return t.invert=function(e,t){return[e/n,(0,r.asin)(t*n)]},t} + },{"../math":"JQgf"}],"/TNC":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conicEqualAreaRaw=i,exports.default=a;var r=require("../math"),e=require("./conic"),n=require("./cylindricalEqualArea");function i(e,i){var a=(0,r.sin)(e),t=(a+(0,r.sin)(i))/2;if((0,r.abs)(t)=.12&&i<.234&&r>=-.425&&r<-.214?p:i>=.166&&i<.234&&r>=-.214&&r<-.115?v:f).invert(t)},h.stream=function(t){return i&&o===t?i:i=a([f.stream(o=t),p.stream(t),v.stream(t)])},h.precision=function(t){return arguments.length?(f.precision(t),p.precision(t),v.precision(t),g()):f.precision()},h.scale=function(t){return arguments.length?(f.scale(t),p.scale(.35*t),v.scale(t),h.translate(f.translate())):f.scale()},h.translate=function(n){if(!arguments.length)return f.translate();var e=f.scale(),r=+n[0],i=+n[1];return l=f.translate(n).clipExtent([[r-.455*e,i-.238*e],[r+.455*e,i+.238*e]]).stream(d),u=p.translate([r-.307*e,i+.201*e]).clipExtent([[r-.425*e+t.epsilon,i+.12*e+t.epsilon],[r-.214*e-t.epsilon,i+.234*e-t.epsilon]]).stream(d),s=v.translate([r-.205*e,i+.212*e]).clipExtent([[r-.214*e+t.epsilon,i+.166*e+t.epsilon],[r-.115*e-t.epsilon,i+.234*e-t.epsilon]]).stream(d),g()},h.fitExtent=function(t,n){return(0,r.fitExtent)(h,t,n)},h.fitSize=function(t,n){return(0,r.fitSize)(h,t,n)},h.fitWidth=function(t,n){return(0,r.fitWidth)(h,t,n)},h.fitHeight=function(t,n){return(0,r.fitHeight)(h,t,n)},h.scale(1070)} + },{"../math":"JQgf","./albers":"cpQd","./conicEqualArea":"/TNC","./fit":"Ycma"}],"WksQ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.azimuthalRaw=t,exports.azimuthalInvert=n;var r=require("../math");function t(t){return function(n,e){var s=(0,r.cos)(n),u=(0,r.cos)(e),a=t(s*u);return[a*u*(0,r.sin)(n),a*(0,r.sin)(e)]}}function n(t){return function(n,e){var s=(0,r.sqrt)(n*n+e*e),u=t(s),a=(0,r.sin)(u),i=(0,r.cos)(u);return[(0,r.atan2)(n*a,s*i),(0,r.asin)(s&&e*a/s)]}} + },{"../math":"JQgf"}],"OyGo":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i,exports.azimuthalEqualAreaRaw=void 0;var e=require("../math"),r=require("./azimuthal"),t=a(require("./index"));function a(e){return e&&e.__esModule?e:{default:e}}var u=(0,r.azimuthalRaw)(function(r){return(0,e.sqrt)(2/(1+r))});function i(){return(0,t.default)(u).scale(124.75).clipAngle(179.999)}exports.azimuthalEqualAreaRaw=u,u.invert=(0,r.azimuthalInvert)(function(r){return 2*(0,e.asin)(r/2)}); + },{"../math":"JQgf","./azimuthal":"WksQ","./index":"0Ktp"}],"mwct":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i,exports.azimuthalEquidistantRaw=void 0;var e=require("../math"),t=require("./azimuthal"),r=u(require("./index"));function u(e){return e&&e.__esModule?e:{default:e}}var a=(0,t.azimuthalRaw)(function(t){return(t=(0,e.acos)(t))&&t/(0,e.sin)(t)});function i(){return(0,r.default)(a).scale(79.4188).clipAngle(179.999)}exports.azimuthalEquidistantRaw=a,a.invert=(0,t.azimuthalInvert)(function(e){return e}); + },{"../math":"JQgf","./azimuthal":"WksQ","./index":"0Ktp"}],"n0Ot":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mercatorRaw=u,exports.default=a,exports.mercatorProjection=l;var t=require("../math"),e=r(require("../rotation")),n=r(require("./index"));function r(t){return t&&t.__esModule?t:{default:t}}function u(e,n){return[e,(0,t.log)((0,t.tan)((t.halfPi+n)/2))]}function a(){return l(u).scale(961/t.tau)}function l(r){var a,l,i,o=(0,n.default)(r),c=o.center,f=o.scale,s=o.translate,h=o.clipExtent,x=null;function p(){var n=t.pi*f(),c=o((0,e.default)(o.rotate()).invert([0,0]));return h(null==x?[[c[0]-n,c[1]-n],[c[0]+n,c[1]+n]]:r===u?[[Math.max(c[0]-n,x),a],[Math.min(c[0]+n,l),i]]:[[x,Math.max(c[1]-n,a)],[l,Math.min(c[1]+n,i)]])}return o.scale=function(t){return arguments.length?(f(t),p()):f()},o.translate=function(t){return arguments.length?(s(t),p()):s()},o.center=function(t){return arguments.length?(c(t),p()):c()},o.clipExtent=function(t){return arguments.length?(null==t?x=a=l=i=null:(x=+t[0][0],a=+t[0][1],l=+t[1][0],i=+t[1][1]),p()):null==x?null:[[x,a],[l,i]]},p()}u.invert=function(e,n){return[e,2*(0,t.atan)((0,t.exp)(n))-t.halfPi]}; + },{"../math":"JQgf","../rotation":"LqUY","./index":"0Ktp"}],"kVD1":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conicConformalRaw=i,exports.default=t;var r=require("../math"),e=require("./conic"),n=require("./mercator");function o(e){return(0,r.tan)((r.halfPi+e)/2)}function i(e,i){var t=(0,r.cos)(e),a=e===i?(0,r.sin)(e):(0,r.log)(t/(0,r.cos)(i))/(0,r.log)(o(i)/o(e)),s=t*(0,r.pow)(o(e),a)/a;if(!a)return n.mercatorRaw;function c(e,n){s>0?n<-r.halfPi+r.epsilon&&(n=-r.halfPi+r.epsilon):n>r.halfPi-r.epsilon&&(n=r.halfPi-r.epsilon);var i=s/(0,r.pow)(o(n),a);return[i*(0,r.sin)(a*e),s-i*(0,r.cos)(a*e)]}return c.invert=function(e,n){var o=s-n,i=(0,r.sign)(a)*(0,r.sqrt)(e*e+o*o);return[(0,r.atan2)(e,(0,r.abs)(o))/a*(0,r.sign)(o),2*(0,r.atan)((0,r.pow)(s/i,1/a))-r.halfPi]},c}function t(){return(0,e.conicProjection)(i).scale(109.5).parallels([30,30])} + },{"../math":"JQgf","./conic":"Q2ed","./mercator":"n0Ot"}],"RMXQ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equirectangularRaw=t,exports.default=u;var e=r(require("./index"));function r(e){return e&&e.__esModule?e:{default:e}}function t(e,r){return[e,r]}function u(){return(0,e.default)(t).scale(152.63)}t.invert=t; + },{"./index":"0Ktp"}],"TJ85":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conicEquidistantRaw=t,exports.default=i;var r=require("../math"),e=require("./conic"),n=require("./equirectangular");function t(e,t){var i=(0,r.cos)(e),u=e===t?(0,r.sin)(e):(i-(0,r.cos)(t))/(t-e),c=i/u+e;if((0,r.abs)(u)r.epsilon&&--a>0);return[e/(.8707+(i=n*n)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),n]}; + },{"./index":"0Ktp","../math":"JQgf"}],"UMbg":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.orthographicRaw=n,exports.default=u;var e=require("../math"),r=require("./azimuthal"),t=i(require("./index"));function i(e){return e&&e.__esModule?e:{default:e}}function n(r,t){return[(0,e.cos)(t)*(0,e.sin)(r),(0,e.sin)(t)]}function u(){return(0,t.default)(n).scale(249.5).clipAngle(90+e.epsilon)}n.invert=(0,r.azimuthalInvert)(e.asin); + },{"../math":"JQgf","./azimuthal":"WksQ","./index":"0Ktp"}],"vfE9":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stereographicRaw=u,exports.default=i;var e=require("../math"),r=require("./azimuthal"),t=n(require("./index"));function n(e){return e&&e.__esModule?e:{default:e}}function u(r,t){var n=(0,e.cos)(t),u=1+(0,e.cos)(r)*n;return[n*(0,e.sin)(r)/u,(0,e.sin)(t)/u]}function i(){return(0,t.default)(u).scale(250).clipAngle(142)}u.invert=(0,r.azimuthalInvert)(function(r){return 2*(0,e.atan)(r)}); + },{"../math":"JQgf","./azimuthal":"WksQ","./index":"0Ktp"}],"o0eF":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.transverseMercatorRaw=t,exports.default=n;var e=require("../math"),r=require("./mercator");function t(r,t){return[(0,e.log)((0,e.tan)((e.halfPi+t)/2)),-r]}function n(){var e=(0,r.mercatorProjection)(t),n=e.center,a=e.rotate;return e.center=function(e){return arguments.length?n([-e[1],e[0]]):[(e=n())[1],-e[0]]},e.rotate=function(e){return arguments.length?a([e[0],e[1],e.length>2?e[2]+90:90]):[(e=a())[0],e[1],e[2]-90]},a([0,0,90]).scale(159.155)}t.invert=function(r,t){return[-t,2*(0,e.atan)((0,e.exp)(r))-e.halfPi]}; + },{"../math":"JQgf","./mercator":"n0Ot"}],"/Ah6":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"geoArea",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"geoBounds",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"geoCentroid",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"geoCircle",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"geoClipAntimeridian",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"geoClipCircle",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"geoClipExtent",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"geoClipRectangle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"geoContains",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(exports,"geoDistance",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(exports,"geoGraticule",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(exports,"geoGraticule10",{enumerable:!0,get:function(){return f.graticule10}}),Object.defineProperty(exports,"geoInterpolate",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(exports,"geoLength",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(exports,"geoPath",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(exports,"geoAlbers",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(exports,"geoAlbersUsa",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(exports,"geoAzimuthalEqualArea",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(exports,"geoAzimuthalEqualAreaRaw",{enumerable:!0,get:function(){return j.azimuthalEqualAreaRaw}}),Object.defineProperty(exports,"geoAzimuthalEquidistant",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(exports,"geoAzimuthalEquidistantRaw",{enumerable:!0,get:function(){return m.azimuthalEquidistantRaw}}),Object.defineProperty(exports,"geoConicConformal",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(exports,"geoConicConformalRaw",{enumerable:!0,get:function(){return O.conicConformalRaw}}),Object.defineProperty(exports,"geoConicEqualArea",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(exports,"geoConicEqualAreaRaw",{enumerable:!0,get:function(){return q.conicEqualAreaRaw}}),Object.defineProperty(exports,"geoConicEquidistant",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(exports,"geoConicEquidistantRaw",{enumerable:!0,get:function(){return y.conicEquidistantRaw}}),Object.defineProperty(exports,"geoEqualEarth",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(exports,"geoEqualEarthRaw",{enumerable:!0,get:function(){return P.equalEarthRaw}}),Object.defineProperty(exports,"geoEquirectangular",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(exports,"geoEquirectangularRaw",{enumerable:!0,get:function(){return x.equirectangularRaw}}),Object.defineProperty(exports,"geoGnomonic",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(exports,"geoGnomonicRaw",{enumerable:!0,get:function(){return h.gnomonicRaw}}),Object.defineProperty(exports,"geoIdentity",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(exports,"geoProjection",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(exports,"geoProjectionMutator",{enumerable:!0,get:function(){return E.projectionMutator}}),Object.defineProperty(exports,"geoMercator",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(exports,"geoMercatorRaw",{enumerable:!0,get:function(){return R.mercatorRaw}}),Object.defineProperty(exports,"geoNaturalEarth1",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(exports,"geoNaturalEarth1Raw",{enumerable:!0,get:function(){return C.naturalEarth1Raw}}),Object.defineProperty(exports,"geoOrthographic",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(exports,"geoOrthographicRaw",{enumerable:!0,get:function(){return A.orthographicRaw}}),Object.defineProperty(exports,"geoStereographic",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(exports,"geoStereographicRaw",{enumerable:!0,get:function(){return M.stereographicRaw}}),Object.defineProperty(exports,"geoTransverseMercator",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(exports,"geoTransverseMercatorRaw",{enumerable:!0,get:function(){return v.transverseMercatorRaw}}),Object.defineProperty(exports,"geoRotation",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(exports,"geoStream",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(exports,"geoTransform",{enumerable:!0,get:function(){return G.default}});var e=S(require("./area")),r=S(require("./bounds")),t=S(require("./centroid")),n=S(require("./circle")),o=S(require("./clip/antimeridian")),u=S(require("./clip/circle")),i=S(require("./clip/extent")),a=S(require("./clip/rectangle")),c=S(require("./contains")),l=S(require("./distance")),f=D(require("./graticule")),p=S(require("./interpolate")),g=S(require("./length")),d=S(require("./path/index")),b=S(require("./projection/albers")),s=S(require("./projection/albersUsa")),j=D(require("./projection/azimuthalEqualArea")),m=D(require("./projection/azimuthalEquidistant")),O=D(require("./projection/conicConformal")),q=D(require("./projection/conicEqualArea")),y=D(require("./projection/conicEquidistant")),P=D(require("./projection/equalEarth")),x=D(require("./projection/equirectangular")),h=D(require("./projection/gnomonic")),w=S(require("./projection/identity")),E=D(require("./projection/index")),R=D(require("./projection/mercator")),C=D(require("./projection/naturalEarth1")),A=D(require("./projection/orthographic")),M=D(require("./projection/stereographic")),v=D(require("./projection/transverseMercator")),z=S(require("./rotation")),_=S(require("./stream")),G=S(require("./transform"));function D(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};n.get||n.set?Object.defineProperty(r,t,n):r[t]=e[t]}return r.default=e,r}function S(e){return e&&e.__esModule?e:{default:e}} + },{"./area":"2rKt","./bounds":"rw3L","./centroid":"GCsQ","./circle":"KcOR","./clip/antimeridian":"/1Go","./clip/circle":"lcCJ","./clip/extent":"EodF","./clip/rectangle":"jRQA","./contains":"tRhb","./distance":"hTgK","./graticule":"69Id","./interpolate":"uuLr","./length":"bXUe","./path/index":"JRMk","./projection/albers":"cpQd","./projection/albersUsa":"RPZI","./projection/azimuthalEqualArea":"OyGo","./projection/azimuthalEquidistant":"mwct","./projection/conicConformal":"kVD1","./projection/conicEqualArea":"/TNC","./projection/conicEquidistant":"TJ85","./projection/equalEarth":"qrWJ","./projection/equirectangular":"RMXQ","./projection/gnomonic":"KVOo","./projection/identity":"1X+K","./projection/index":"0Ktp","./projection/mercator":"n0Ot","./projection/naturalEarth1":"Y5z/","./projection/orthographic":"UMbg","./projection/stereographic":"vfE9","./projection/transverseMercator":"o0eF","./rotation":"LqUY","./stream":"XQuq","./transform":"pfKH"}],"66JR":[function(require,module,exports) { + "use strict";function n(n,r){return n.parent===r.parent?1:2}function r(n){return n.reduce(e,0)/n.length}function e(n,r){return n+r.x}function t(n){return 1+n.reduce(u,0)}function u(n,r){return Math.max(n,r.y)}function c(n){for(var r;r=n.children;)n=r[0];return n}function i(n){for(var r;r=n.children;)n=r[r.length-1];return n}function o(){var e=n,u=1,o=1,f=!1;function a(n){var a,l=0;n.eachAfter(function(n){var u=n.children;u?(n.x=r(u),n.y=t(u)):(n.x=a?l+=e(n,a):0,n.y=0,a=n)});var x=c(n),h=i(n),y=x.x-e(x,h)/2,d=h.x+e(h,x)/2;return n.eachAfter(f?function(r){r.x=(r.x-n.x)*u,r.y=(n.y-r.y)*o}:function(r){r.x=(r.x-y)/(d-y)*u,r.y=(1-(n.y?r.y/n.y:1))*o})}return a.separation=function(n){return arguments.length?(e=n,a):e},a.size=function(n){return arguments.length?(f=!1,u=+n[0],o=+n[1],a):f?null:[u,o]},a.nodeSize=function(n){return arguments.length?(f=!0,u=+n[0],o=+n[1],a):f?[u,o]:null},a}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o; + },{}],"Fb+P":[function(require,module,exports) { + "use strict";function e(e){var t=0,r=e.children,u=r&&r.length;if(u)for(;--u>=0;)t+=r[u].value;else t=1;e.value=t}function t(){return this.eachAfter(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t; + },{}],"6aoO":[function(require,module,exports) { + "use strict";function e(e){var r,t,o,s,i=this,h=[i];do{for(r=h.reverse(),h=[];i=r.pop();)if(e(i),t=i.children)for(o=0,s=t.length;o=0;--r)s.push(t[r]);return this}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"bidz":[function(require,module,exports) { + "use strict";function e(e){for(var r,t,o,p=this,s=[p],u=[];p=s.pop();)if(u.push(p),r=p.children)for(t=0,o=r.length;t=0;)r+=u[a].value;t.value=r})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"l55u":[function(require,module,exports) { + "use strict";function e(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"Rfs8":[function(require,module,exports) { + "use strict";function r(r){for(var t=this,o=e(t,r),p=[t];t!==o;)t=t.parent,p.push(t);for(var n=p.length;r!==o;)p.splice(n,0,r),r=r.parent;return p}function e(r,e){if(r===e)return r;var t=r.ancestors(),o=e.ancestors(),p=null;for(r=t.pop(),e=o.pop();r===e;)p=r,r=t.pop(),e=o.pop();return p}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r; + },{}],"iENO":[function(require,module,exports) { + "use strict";function e(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"b4YN":[function(require,module,exports) { + "use strict";function e(){var e=[];return this.each(function(t){e.push(t)}),e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"A1Sr":[function(require,module,exports) { + "use strict";function e(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"NfF5":[function(require,module,exports) { + "use strict";function e(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"xn1B":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=c,exports.computeHeight=v,exports.Node=g;var e=s(require("./count")),t=s(require("./each")),r=s(require("./eachBefore")),a=s(require("./eachAfter")),u=s(require("./sum")),n=s(require("./sort")),o=s(require("./path")),i=s(require("./ancestors")),d=s(require("./descendants")),l=s(require("./leaves")),h=s(require("./links"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var r,a,u,n,o,i=new g(e),d=+e.value&&(i.value=e.value),l=[i];for(null==t&&(t=p);r=l.pop();)if(d&&(r.value=+r.data.value),(u=t(r.data))&&(o=u.length))for(r.children=new Array(o),n=o-1;n>=0;--n)l.push(a=r.children[n]=new g(u[n])),a.parent=r,a.depth=r.depth+1;return i.eachBefore(v)}function f(){return c(this).eachBefore(q)}function p(e){return e.children}function q(e){e.data=e.data.data}function v(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=c.prototype={constructor:g,count:e.default,each:t.default,eachAfter:a.default,eachBefore:r.default,sum:u.default,sort:n.default,path:o.default,ancestors:i.default,descendants:d.default,leaves:l.default,links:h.default,copy:f}; + },{"./count":"Fb+P","./each":"6aoO","./eachBefore":"vU7q","./eachAfter":"bidz","./sum":"tYQG","./sort":"l55u","./path":"Rfs8","./ancestors":"iENO","./descendants":"b4YN","./leaves":"A1Sr","./links":"NfF5"}],"aDgv":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.shuffle=r,exports.slice=void 0;var e=Array.prototype.slice;function r(e){for(var r,t,o=e.length;o;)t=Math.random()*o--|0,r=e[o],e[o]=e[t],e[t]=r;return e}exports.slice=e; + },{}],"H7R8":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var r=require("../array");function t(t){for(var n,f,a=0,i=(t=(0,r.shuffle)(r.slice.call(t))).length,c=[];a0&&e*e>n*n+u*u}function f(r,t){for(var e=0;e(i*=i)?(n=(f+i-u)/(2*f),x=Math.sqrt(Math.max(0,i/f-n*n)),t.x=r.x-n*o-x*s,t.y=r.y-n*s+x*o):(n=(f+u-i)/(2*f),x=Math.sqrt(Math.max(0,u/f-n*n)),t.x=e.x+n*o-x*s,t.y=e.y+n*s+x*o)):(t.x=e.x+t.r,t.y=e.y)}function n(r,e){var t=r.r+e.r-1e-6,n=e.x-r.x,u=e.y-r.y;return t>0&&t*t>n*n+u*u}function u(r){var e=r._,t=r.next._,n=e.r+t.r,u=(e.x*t.r+t.x*e.r)/n,x=(e.y*t.r+t.y*e.r)/n;return u*u+x*x}function x(r){this._=r,this.next=null,this.previous=null}function i(e){if(!(f=e.length))return 0;var i,o,s,f,_,y,a,p,v,l,c;if((i=e[0]).x=0,i.y=0,!(f>1))return i.r;if(o=e[1],i.x=-o.r,o.x=i.r,o.y=0,!(f>2))return i.r+o.r;t(o,i,s=e[2]),i=new x(i),o=new x(o),s=new x(s),i.next=s.previous=o,o.next=i.previous=s,s.next=o.previous=i;r:for(a=3;a0)throw new Error("cycle");return f}return f.id=function(e){return arguments.length?(c=(0,r.required)(e),f):c},f.parentId=function(e){return arguments.length?(h=(0,r.required)(e),f):h},f} + },{"./accessors":"kxuB","./hierarchy/index":"xn1B"}],"xQqP":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var n=require("./hierarchy/index");function e(n,e){return n.parent===e.parent?1:2}function t(n){var e=n.children;return e?e[0]:n.t}function r(n){var e=n.children;return e?e[e.length-1]:n.t}function i(n,e,t){var r=t/(e.i-n.i);e.c-=r,e.s+=t,n.c+=r,e.z+=t,e.m+=t}function u(n){for(var e,t=0,r=0,i=n.children,u=i.length;--u>=0;)(e=i[u]).z+=t,e.m+=t,t+=e.s+(r+=e.c)}function c(n,e,t){return n.a.parent===e.parent?n.a:t}function a(n,e){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function h(n){for(var e,t,r,i,u,c=new a(n,0),h=[c];e=h.pop();)if(r=e._.children)for(e.children=new Array(u=r.length),i=u-1;i>=0;--i)h.push(t=e.children[i]=new a(r[i],i)),t.parent=e;return(c.parent=new a(null,0)).children=[c],c}function l(){var n=e,a=1,l=1,o=null;function f(e){var t=h(e);if(t.eachAfter(p),t.parent.m=-t.z,t.eachBefore(s),o)e.eachBefore(d);else{var r=e,i=e,u=e;e.eachBefore(function(n){n.xi.x&&(i=n),n.depth>u.depth&&(u=n)});var c=r===i?1:n(r,i)/2,f=c-r.x,m=a/(i.x+c+f),z=l/(u.depth||1);e.eachBefore(function(n){n.x=(n.x+f)*m,n.y=n.depth*z})}return e}function p(e){var a=e.children,h=e.parent.children,l=e.i?h[e.i-1]:null;if(a){u(e);var o=(a[0].z+a[a.length-1].z)/2;l?(e.z=l.z+n(e._,l._),e.m=e.z-o):e.z=o}else l&&(e.z=l.z+n(e._,l._));e.parent.A=function(e,u,a){if(u){for(var h,l=e,o=e,f=u,p=l.parent.children[0],s=l.m,d=o.m,m=f.m,z=p.m;f=r(f),l=t(l),f&&l;)p=t(p),(o=r(o)).a=e,(h=f.z+m-l.z-s+n(f._,l._))>0&&(i(c(f,e,a),e,h),s+=h,d+=h),m+=f.m,s+=l.m,z+=p.m,d+=o.m;f&&!r(o)&&(o.t=f,o.m+=m-d),l&&!t(p)&&(p.t=l,p.m+=s-z,a=e)}return a}(e,l,e.parent.A||h[0])}function s(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function d(n){n.x*=a,n.y=n.depth*l}return f.separation=function(e){return arguments.length?(n=e,f):n},f.size=function(n){return arguments.length?(o=!1,a=+n[0],l=+n[1],f):o?null:[a,l]},f.nodeSize=function(n){return arguments.length?(o=!0,a=+n[0],l=+n[1],f):o?[a,l]:null},f}a.prototype=Object.create(n.Node.prototype); + },{"./hierarchy/index":"xn1B"}],"XP76":[function(require,module,exports) { + "use strict";function e(e,t,l,r,u){for(var a,o=e.children,n=-1,s=o.length,v=e.value&&(u-l)/e.value;++np&&(p=d),q=c*c*M,(v=Math.max(p/q,q/h))>x){c-=d;break}x=v}_.push(n={value:c,dice:f1?r:1)},t}(u);exports.default=i; + },{"./dice":"Z1AK","./slice":"XP76"}],"dRX5":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i;var e=u(require("./round")),n=u(require("./squarify")),t=require("../accessors"),r=o(require("../constant"));function o(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};r.get||r.set?Object.defineProperty(n,t,r):n[t]=e[t]}return n.default=e,n}function u(e){return e&&e.__esModule?e:{default:e}}function i(){var o=n.default,u=!1,i=1,d=1,f=[0],a=r.constantZero,c=r.constantZero,p=r.constantZero,g=r.constantZero,l=r.constantZero;function s(n){return n.x0=n.y0=0,n.x1=i,n.y1=d,n.eachBefore(y),f=[0],u&&n.eachBefore(e.default),n}function y(e){var n=f[e.depth],t=e.x0+n,r=e.y0+n,u=e.x1-n,i=e.y1-n;u=a-1){var l=u[r];return l.x0=v,l.y0=n,l.x1=o,void(l.y1=f)}var s=i[r],c=t/2+s,d=r+1,x=a-1;for(;d>>1;i[y]f-n){var _=(v*h+o*p)/t;e(r,d,p,v,n,_,f),e(d,a,h,_,n,o,f)}else{var b=(n*h+f*p)/t;e(r,d,p,v,n,o,b),e(d,a,h,v,b,o,f)}}(0,f,e.value,r,a,t,v)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"rOuR":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=u(require("./dice")),t=u(require("./slice"));function u(e){return e&&e.__esModule?e:{default:e}}function r(u,r,d,i,l){(1&u.depth?t.default:e.default)(u,r,d,i,l)} + },{"./dice":"Z1AK","./slice":"XP76"}],"XhZ5":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("./dice")),r=t(require("./slice")),u=require("./squarify");function t(e){return e&&e.__esModule?e:{default:e}}var a=function t(a){function i(t,i,l,f,o){if((n=t._squarify)&&n.ratio===a)for(var n,s,d,v,c,q=-1,_=n.length,p=t.value;++q<_;){for(d=(s=n[q]).children,v=s.value=0,c=d.length;v1?e:1)},i}(u.phi);exports.default=a; + },{"./dice":"Z1AK","./slice":"XP76","./squarify":"sjir"}],"Kps6":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"cluster",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"hierarchy",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"pack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"packSiblings",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"packEnclose",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"partition",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"stratify",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"tree",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(exports,"treemap",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"treemapBinary",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(exports,"treemapDice",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(exports,"treemapSlice",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(exports,"treemapSliceDice",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(exports,"treemapSquarify",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(exports,"treemapResquarify",{enumerable:!0,get:function(){return s.default}});var e=m(require("./cluster")),r=m(require("./hierarchy/index")),t=m(require("./pack/index")),n=m(require("./pack/siblings")),u=m(require("./pack/enclose")),i=m(require("./partition")),a=m(require("./stratify")),f=m(require("./tree")),o=m(require("./treemap/index")),p=m(require("./treemap/binary")),c=m(require("./treemap/dice")),l=m(require("./treemap/slice")),d=m(require("./treemap/sliceDice")),b=m(require("./treemap/squarify")),s=m(require("./treemap/resquarify"));function m(e){return e&&e.__esModule?e:{default:e}} + },{"./cluster":"66JR","./hierarchy/index":"xn1B","./pack/index":"fIYd","./pack/siblings":"ObEg","./pack/enclose":"H7R8","./partition":"1ekb","./stratify":"fM3r","./tree":"xQqP","./treemap/index":"dRX5","./treemap/binary":"dN/V","./treemap/dice":"Z1AK","./treemap/slice":"XP76","./treemap/sliceDice":"rOuR","./treemap/squarify":"sjir","./treemap/resquarify":"XhZ5"}],"lAFu":[function(require,module,exports) { + "use strict";function e(e){for(var t,r=-1,o=e.length,u=e[o-1],n=0;++r1&&(0,r.default)(e[n[u-2]],e[n[u-1]],e[o])<=0;)--u;n[u++]=o}return n.slice(0,u)}function u(r){if((u=r.length)<3)return null;var e,u,o=new Array(u),f=new Array(u);for(e=0;e=0;--e)c.push(r[o[l[e]][2]]);for(e=+a;ef!=a>f&&s<(l-r)*(f-o)/(a-o)+r&&(c=!c),l=r,a=o;return c}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"AReD":[function(require,module,exports) { + "use strict";function e(e){for(var t,r,o=-1,s=e.length,u=e[s-1],n=u[0],a=u[1],f=0;++o1);return e+r*n*Math.sqrt(-2*Math.log(l)/l)}}return r.source=e,r}(e.default);exports.default=r; + },{"./defaultSource":"m3Qw"}],"egwl":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("./defaultSource")),r=t(require("./normal"));function t(e){return e&&e.__esModule?e:{default:e}}var u=function e(t){function u(){var e=r.default.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return u.source=e,u}(e.default);exports.default=u; + },{"./defaultSource":"m3Qw","./normal":"rHsL"}],"xpLv":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("./defaultSource"));function r(e){return e&&e.__esModule?e:{default:e}}var t=function e(r){function t(e){return function(){for(var t=0,u=0;ut&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function f(n,r,e){var t=n[0],u=n[1],i=r[0],a=r[1];return u2?s:f,p=m=null,N}function N(r){return isNaN(r=+r)?i:(p||(p=l(d.map(n),g,h)))(n(v(r)))}return N.invert=function(e){return v(t((m||(m=l(g,d.map(n),r.interpolateNumber)))(e)))},N.domain=function(n){return arguments.length?(d=e.map.call(n,u.default),v===o||(v=c(d)),y()):d.slice()},N.range=function(n){return arguments.length?(g=e.slice.call(n),y()):g.slice()},N.rangeRound=function(n){return g=e.slice.call(n),h=r.interpolateRound,y()},N.clamp=function(n){return arguments.length?(v=n?c(d):o,N):v!==o},N.interpolate=function(n){return arguments.length?(h=n,y()):h},N.unknown=function(n){return arguments.length?(i=n,N):i},function(r,e){return n=r,t=e,y()}}function d(n,r){return m()(n,r)} + },{"d3-array":"K0bd","d3-interpolate":"k9aH","./array":"qoMs","./constant":"aCvo","./number":"FNaI"}],"qjRa":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=require("d3-array"),r=require("d3-format");function a(a,i,s,t){var c,n=(0,e.tickStep)(a,i,s);switch((t=(0,r.formatSpecifier)(null==t?",f":t)).type){case"s":var o=Math.max(Math.abs(a),Math.abs(i));return null!=t.precision||isNaN(c=(0,r.precisionPrefix)(n,o))||(t.precision=c),(0,r.formatPrefix)(t,o);case"":case"e":case"g":case"p":case"r":null!=t.precision||isNaN(c=(0,r.precisionRound)(n,Math.max(Math.abs(a),Math.abs(i))))||(t.precision=c-("e"===t.type));break;case"f":case"%":null!=t.precision||isNaN(c=(0,r.precisionFixed)(n))||(t.precision=c-2*("%"===t.type))}return(0,r.format)(t)} + },{"d3-array":"K0bd","d3-format":"VuZR"}],"+LIJ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.linearish=u,exports.default=c;var t=require("d3-array"),e=o(require("./continuous")),r=require("./init"),n=i(require("./tickFormat"));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}return e.default=t,e}function u(e){var r=e.domain;return e.ticks=function(e){var n=r();return(0,t.ticks)(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(t,e){var i=r();return(0,n.default)(i[0],i[i.length-1],null==t?10:t,e)},e.nice=function(n){null==n&&(n=10);var i,o=r(),u=0,c=o.length-1,a=o[u],l=o[c];return l0?(a=Math.floor(a/i)*i,l=Math.ceil(l/i)*i,i=(0,t.tickIncrement)(a,l,n)):i<0&&(a=Math.ceil(a*i)/i,l=Math.floor(l*i)/i,i=(0,t.tickIncrement)(a,l,n)),i>0?(o[u]=Math.floor(a/i)*i,o[c]=Math.ceil(l/i)*i,r(o)):i<0&&(o[u]=Math.ceil(a*i)/i,o[c]=Math.floor(l*i)/i,r(o)),e},e}function c(){var t=(0,e.default)(e.identity,e.identity);return t.copy=function(){return(0,e.copy)(t,c())},r.initRange.apply(t,arguments),u(t)} + },{"d3-array":"K0bd","./continuous":"CjJ5","./init":"buZa","./tickFormat":"qjRa"}],"FKHe":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=require("./array"),n=require("./linear"),r=t(require("./number"));function t(e){return e&&e.__esModule?e:{default:e}}function u(t){var a;function i(e){return isNaN(e=+e)?a:e}return i.invert=i,i.domain=i.range=function(n){return arguments.length?(t=e.map.call(n,r.default),i):t.slice()},i.unknown=function(e){return arguments.length?(a=e,i):a},i.copy=function(){return u(t).unknown(a)},t=arguments.length?e.map.call(t,r.default):[0,1],(0,n.linearish)(i)} + },{"./array":"qoMs","./linear":"+LIJ","./number":"FNaI"}],"eMTM":[function(require,module,exports) { + "use strict";function e(e,t){var r,l=0,o=(e=e.slice()).length-1,s=e[l],u=e[o];return u0){for(;ha)break;g.push(l)}}else for(;h=1;--c)if(!((l=f*c)a)break;g.push(l)}}else g=(0,n.ticks)(h,s,Math.min(s-h,M)).map(o);return r?g.reverse():g},l.tickFormat=function(n,r){if(null==r&&(r=10===d?".0e":","),"function"!=typeof r&&(r=(0,t.format)(r)),n===1/0)return r;null==n&&(n=10);var e=Math.max(1,d*n/l.ticks().length);return function(n){var t=n/o(Math.round(u(n)));return t*d0?l[e-1]:u[0],e=c?[l[c-1],o]:[l[r-1],l[r]]},s.unknown=function(n){return arguments.length?(u=n,s):s},s.thresholds=function(){return l.slice()},s.copy=function(){return i().domain([a,o]).range(f).unknown(u)},t.initRange.apply((0,e.linearish)(s),arguments)} + },{"d3-array":"K0bd","./array":"qoMs","./linear":"+LIJ","./init":"buZa"}],"7I63":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var n=require("d3-array"),e=require("./array"),t=require("./init");function r(){var i,u=[.5],a=[0,1],l=1;function c(e){return e<=e?a[(0,n.bisect)(u,e,0,l)]:i}return c.domain=function(n){return arguments.length?(u=e.slice.call(n),l=Math.min(u.length,a.length-1),c):u.slice()},c.range=function(n){return arguments.length?(a=e.slice.call(n),l=Math.min(u.length,a.length-1),c):a.slice()},c.invertExtent=function(n){var e=a.indexOf(n);return[u[e-1],u[e]]},c.unknown=function(n){return arguments.length?(i=n,c):i},c.copy=function(){return r().domain(u).range(a).unknown(i)},t.initRange.apply(c,arguments)} + },{"d3-array":"K0bd","./array":"qoMs","./init":"buZa"}],"+QFU":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=new Date,n=new Date;function t(r,o,u,f){function i(e){return r(e=new Date(+e)),e}return i.floor=i,i.ceil=function(e){return r(e=new Date(e-1)),o(e,1),r(e),e},i.round=function(e){var n=i(e),t=i.ceil(e);return e-n0))return f;do{f.push(u=new Date(+e)),o(e,t),r(e)}while(u=n)for(;r(n),!e(n);)n.setTime(n-1)},function(n,t){if(n>=n)if(t<0)for(;++t<=0;)for(;o(n,-1),!e(n););else for(;--t>=0;)for(;o(n,1),!e(n););})},u&&(i.count=function(t,o){return e.setTime(+t),n.setTime(+o),r(e),r(n),Math.floor(u(e,n))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(f?function(n){return f(n)%e==0}:function(n){return i.count(0,n)%e==0}):i:null}),i} + },{}],"46WV":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.milliseconds=exports.default=void 0;var e=t(require("./interval"));function t(e){return e&&e.__esModule?e:{default:e}}var n=(0,e.default)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});n.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,e.default)(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):n:null};var r=n;exports.default=r;var i=n.range;exports.milliseconds=i; + },{"./interval":"+QFU"}],"Vnta":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.durationWeek=exports.durationDay=exports.durationHour=exports.durationMinute=exports.durationSecond=void 0;var e=1e3;exports.durationSecond=e;var r=6e4;exports.durationMinute=r;var o=36e5;exports.durationHour=o;var t=864e5;exports.durationDay=t;var a=6048e5;exports.durationWeek=a; + },{}],"AYLw":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.seconds=exports.default=void 0;var e=r(require("./interval")),t=require("./duration");function r(e){return e&&e.__esModule?e:{default:e}}var n=(0,e.default)(function(e){e.setTime(e-e.getMilliseconds())},function(e,r){e.setTime(+e+r*t.durationSecond)},function(e,r){return(r-e)/t.durationSecond},function(e){return e.getUTCSeconds()}),o=n;exports.default=o;var u=n.range;exports.seconds=u; + },{"./interval":"+QFU","./duration":"Vnta"}],"etD9":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.minutes=exports.default=void 0;var e=n(require("./interval")),t=require("./duration");function n(e){return e&&e.__esModule?e:{default:e}}var r=(0,e.default)(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*t.durationSecond)},function(e,n){e.setTime(+e+n*t.durationMinute)},function(e,n){return(n-e)/t.durationMinute},function(e){return e.getMinutes()}),u=r;exports.default=u;var i=r.range;exports.minutes=i; + },{"./interval":"+QFU","./duration":"Vnta"}],"/6py":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hours=exports.default=void 0;var e=r(require("./interval")),t=require("./duration");function r(e){return e&&e.__esModule?e:{default:e}}var u=(0,e.default)(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*t.durationSecond-e.getMinutes()*t.durationMinute)},function(e,r){e.setTime(+e+r*t.durationHour)},function(e,r){return(r-e)/t.durationHour},function(e){return e.getHours()}),o=u;exports.default=o;var n=u.range;exports.hours=n; + },{"./interval":"+QFU","./duration":"Vnta"}],"LWrz":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.days=exports.default=void 0;var e=r(require("./interval")),t=require("./duration");function r(e){return e&&e.__esModule?e:{default:e}}var u=(0,e.default)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,r){return(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*t.durationMinute)/t.durationDay},function(e){return e.getDate()-1}),n=u;exports.default=n;var o=u.range;exports.days=o; + },{"./interval":"+QFU","./duration":"Vnta"}],"Dweu":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.saturdays=exports.fridays=exports.thursdays=exports.wednesdays=exports.tuesdays=exports.mondays=exports.sundays=exports.saturday=exports.friday=exports.thursday=exports.wednesday=exports.tuesday=exports.monday=exports.sunday=void 0;var e=t(require("./interval")),r=require("./duration");function t(e){return e&&e.__esModule?e:{default:e}}function s(t){return(0,e.default)(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,r){e.setDate(e.getDate()+7*r)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*r.durationMinute)/r.durationWeek})}var a=s(0);exports.sunday=a;var o=s(1);exports.monday=o;var d=s(2);exports.tuesday=d;var n=s(3);exports.wednesday=n;var u=s(4);exports.thursday=u;var p=s(5);exports.friday=p;var y=s(6);exports.saturday=y;var x=a.range;exports.sundays=x;var i=o.range;exports.mondays=i;var v=d.range;exports.tuesdays=v;var f=n.range;exports.wednesdays=f;var g=u.range;exports.thursdays=g;var c=p.range;exports.fridays=c;var l=y.range;exports.saturdays=l; + },{"./interval":"+QFU","./duration":"Vnta"}],"gOAO":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.months=exports.default=void 0;var t=e(require("./interval"));function e(t){return t&&t.__esModule?t:{default:t}}var r=(0,t.default)(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),n=r;exports.default=n;var o=r.range;exports.months=o; + },{"./interval":"+QFU"}],"kReM":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.years=exports.default=void 0;var e=t(require("./interval"));function t(e){return e&&e.__esModule?e:{default:e}}var r=(0,e.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()});r.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,e.default)(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)}):null};var u=r;exports.default=u;var l=r.range;exports.years=l; + },{"./interval":"+QFU"}],"O6lW":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.utcMinutes=exports.default=void 0;var e=u(require("./interval")),t=require("./duration");function u(e){return e&&e.__esModule?e:{default:e}}var r=(0,e.default)(function(e){e.setUTCSeconds(0,0)},function(e,u){e.setTime(+e+u*t.durationMinute)},function(e,u){return(u-e)/t.durationMinute},function(e){return e.getUTCMinutes()}),n=r;exports.default=n;var i=r.range;exports.utcMinutes=i; + },{"./interval":"+QFU","./duration":"Vnta"}],"qnVA":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.utcHours=exports.default=void 0;var e=t(require("./interval")),r=require("./duration");function t(e){return e&&e.__esModule?e:{default:e}}var u=(0,e.default)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*r.durationHour)},function(e,t){return(t-e)/r.durationHour},function(e){return e.getUTCHours()}),o=u;exports.default=o;var n=u.range;exports.utcHours=n; + },{"./interval":"+QFU","./duration":"Vnta"}],"HXiV":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.utcDays=exports.default=void 0;var e=r(require("./interval")),t=require("./duration");function r(e){return e&&e.__esModule?e:{default:e}}var u=(0,e.default)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,r){return(r-e)/t.durationDay},function(e){return e.getUTCDate()-1}),a=u;exports.default=a;var n=u.range;exports.utcDays=n; + },{"./interval":"+QFU","./duration":"Vnta"}],"CRXo":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.utcSaturdays=exports.utcFridays=exports.utcThursdays=exports.utcWednesdays=exports.utcTuesdays=exports.utcMondays=exports.utcSundays=exports.utcSaturday=exports.utcFriday=exports.utcThursday=exports.utcWednesday=exports.utcTuesday=exports.utcMonday=exports.utcSunday=void 0;var t=r(require("./interval")),e=require("./duration");function r(t){return t&&t.__esModule?t:{default:t}}function a(r){return(0,t.default)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-r)%7),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,r){return(r-t)/e.durationWeek})}var s=a(0);exports.utcSunday=s;var u=a(1);exports.utcMonday=u;var o=a(2);exports.utcTuesday=o;var d=a(3);exports.utcWednesday=d;var n=a(4);exports.utcThursday=n;var c=a(5);exports.utcFriday=c;var p=a(6);exports.utcSaturday=p;var y=s.range;exports.utcSundays=y;var x=u.range;exports.utcMondays=x;var v=o.range;exports.utcTuesdays=v;var i=d.range;exports.utcWednesdays=i;var T=n.range;exports.utcThursdays=T;var g=c.range;exports.utcFridays=g;var f=p.range;exports.utcSaturdays=f; + },{"./interval":"+QFU","./duration":"Vnta"}],"EphR":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.utcMonths=exports.default=void 0;var t=e(require("./interval"));function e(t){return t&&t.__esModule?t:{default:t}}var r=(0,t.default)(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),n=r;exports.default=n;var o=r.range;exports.utcMonths=o; + },{"./interval":"+QFU"}],"Abfv":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.utcYears=exports.default=void 0;var e=t(require("./interval"));function t(e){return e&&e.__esModule?e:{default:e}}var r=(0,e.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()});r.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,e.default)(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null};var u=r;exports.default=u;var l=r.range;exports.utcYears=l; + },{"./interval":"+QFU"}],"0hQY":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"timeInterval",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"timeMillisecond",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"timeMilliseconds",{enumerable:!0,get:function(){return t.milliseconds}}),Object.defineProperty(exports,"utcMillisecond",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"utcMilliseconds",{enumerable:!0,get:function(){return t.milliseconds}}),Object.defineProperty(exports,"timeSecond",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"timeSeconds",{enumerable:!0,get:function(){return r.seconds}}),Object.defineProperty(exports,"utcSecond",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"utcSeconds",{enumerable:!0,get:function(){return r.seconds}}),Object.defineProperty(exports,"timeMinute",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"timeMinutes",{enumerable:!0,get:function(){return n.minutes}}),Object.defineProperty(exports,"timeHour",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"timeHours",{enumerable:!0,get:function(){return u.hours}}),Object.defineProperty(exports,"timeDay",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"timeDays",{enumerable:!0,get:function(){return o.days}}),Object.defineProperty(exports,"timeWeek",{enumerable:!0,get:function(){return i.sunday}}),Object.defineProperty(exports,"timeWeeks",{enumerable:!0,get:function(){return i.sundays}}),Object.defineProperty(exports,"timeSunday",{enumerable:!0,get:function(){return i.sunday}}),Object.defineProperty(exports,"timeSundays",{enumerable:!0,get:function(){return i.sundays}}),Object.defineProperty(exports,"timeMonday",{enumerable:!0,get:function(){return i.monday}}),Object.defineProperty(exports,"timeMondays",{enumerable:!0,get:function(){return i.mondays}}),Object.defineProperty(exports,"timeTuesday",{enumerable:!0,get:function(){return i.tuesday}}),Object.defineProperty(exports,"timeTuesdays",{enumerable:!0,get:function(){return i.tuesdays}}),Object.defineProperty(exports,"timeWednesday",{enumerable:!0,get:function(){return i.wednesday}}),Object.defineProperty(exports,"timeWednesdays",{enumerable:!0,get:function(){return i.wednesdays}}),Object.defineProperty(exports,"timeThursday",{enumerable:!0,get:function(){return i.thursday}}),Object.defineProperty(exports,"timeThursdays",{enumerable:!0,get:function(){return i.thursdays}}),Object.defineProperty(exports,"timeFriday",{enumerable:!0,get:function(){return i.friday}}),Object.defineProperty(exports,"timeFridays",{enumerable:!0,get:function(){return i.fridays}}),Object.defineProperty(exports,"timeSaturday",{enumerable:!0,get:function(){return i.saturday}}),Object.defineProperty(exports,"timeSaturdays",{enumerable:!0,get:function(){return i.saturdays}}),Object.defineProperty(exports,"timeMonth",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(exports,"timeMonths",{enumerable:!0,get:function(){return c.months}}),Object.defineProperty(exports,"timeYear",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"timeYears",{enumerable:!0,get:function(){return a.years}}),Object.defineProperty(exports,"utcMinute",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(exports,"utcMinutes",{enumerable:!0,get:function(){return s.utcMinutes}}),Object.defineProperty(exports,"utcHour",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(exports,"utcHours",{enumerable:!0,get:function(){return d.utcHours}}),Object.defineProperty(exports,"utcDay",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(exports,"utcDays",{enumerable:!0,get:function(){return f.utcDays}}),Object.defineProperty(exports,"utcWeek",{enumerable:!0,get:function(){return y.utcSunday}}),Object.defineProperty(exports,"utcWeeks",{enumerable:!0,get:function(){return y.utcSundays}}),Object.defineProperty(exports,"utcSunday",{enumerable:!0,get:function(){return y.utcSunday}}),Object.defineProperty(exports,"utcSundays",{enumerable:!0,get:function(){return y.utcSundays}}),Object.defineProperty(exports,"utcMonday",{enumerable:!0,get:function(){return y.utcMonday}}),Object.defineProperty(exports,"utcMondays",{enumerable:!0,get:function(){return y.utcMondays}}),Object.defineProperty(exports,"utcTuesday",{enumerable:!0,get:function(){return y.utcTuesday}}),Object.defineProperty(exports,"utcTuesdays",{enumerable:!0,get:function(){return y.utcTuesdays}}),Object.defineProperty(exports,"utcWednesday",{enumerable:!0,get:function(){return y.utcWednesday}}),Object.defineProperty(exports,"utcWednesdays",{enumerable:!0,get:function(){return y.utcWednesdays}}),Object.defineProperty(exports,"utcThursday",{enumerable:!0,get:function(){return y.utcThursday}}),Object.defineProperty(exports,"utcThursdays",{enumerable:!0,get:function(){return y.utcThursdays}}),Object.defineProperty(exports,"utcFriday",{enumerable:!0,get:function(){return y.utcFriday}}),Object.defineProperty(exports,"utcFridays",{enumerable:!0,get:function(){return y.utcFridays}}),Object.defineProperty(exports,"utcSaturday",{enumerable:!0,get:function(){return y.utcSaturday}}),Object.defineProperty(exports,"utcSaturdays",{enumerable:!0,get:function(){return y.utcSaturdays}}),Object.defineProperty(exports,"utcMonth",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(exports,"utcMonths",{enumerable:!0,get:function(){return p.utcMonths}}),Object.defineProperty(exports,"utcYear",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(exports,"utcYears",{enumerable:!0,get:function(){return b.utcYears}});var e=m(require("./interval")),t=l(require("./millisecond")),r=l(require("./second")),n=l(require("./minute")),u=l(require("./hour")),o=l(require("./day")),i=require("./week"),c=l(require("./month")),a=l(require("./year")),s=l(require("./utcMinute")),d=l(require("./utcHour")),f=l(require("./utcDay")),y=require("./utcWeek"),p=l(require("./utcMonth")),b=l(require("./utcYear"));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}} + },{"./interval":"+QFU","./millisecond":"46WV","./second":"AYLw","./minute":"etD9","./hour":"/6py","./day":"LWrz","./week":"Dweu","./month":"gOAO","./year":"kReM","./utcMinute":"O6lW","./utcHour":"qnVA","./utcDay":"HXiV","./utcWeek":"CRXo","./utcMonth":"EphR","./utcYear":"Abfv"}],"UbHU":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var n=require("d3-time");function t(n){if(0<=n.y&&n.y<100){var t=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return t.setFullYear(n.y),t}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function e(n){if(0<=n.y&&n.y<100){var t=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return t.setUTCFullYear(n.y),t}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function r(n){return{y:n,m:0,d:1,H:0,M:0,S:0,L:0}}function u(u){var i=u.dateTime,o=u.date,a=u.time,f=u.periods,l=u.days,vn=u.shortDays,mn=u.months,Cn=u.shortMonths,Dn=g(f),Tn=s(f),xn=g(l),Mn=s(l),Un=g(vn),wn=s(vn),Yn=g(mn),Hn=s(mn),pn=g(Cn),Sn=s(Cn),Ln={a:function(n){return vn[n.getDay()]},A:function(n){return l[n.getDay()]},b:function(n){return Cn[n.getMonth()]},B:function(n){return mn[n.getMonth()]},c:null,d:F,e:F,f:X,H:V,I:W,j:j,L:Q,m:b,M:B,p:function(n){return f[+(n.getHours()>=12)]},Q:yn,s:dn,S:I,u:_,U:O,V:P,w:$,W:q,x:null,X:null,y:z,Y:E,Z:R,"%":hn},An={a:function(n){return vn[n.getUTCDay()]},A:function(n){return l[n.getUTCDay()]},b:function(n){return Cn[n.getUTCMonth()]},B:function(n){return mn[n.getUTCMonth()]},c:null,d:k,e:k,f:nn,H:G,I:J,j:K,L:N,m:tn,M:en,p:function(n){return f[+(n.getUTCHours()>=12)]},Q:yn,s:dn,S:rn,u:un,U:cn,V:on,w:an,W:fn,x:null,X:null,y:ln,Y:gn,Z:sn,"%":hn},Zn={a:function(n,t,e){var r=Un.exec(t.slice(e));return r?(n.w=wn[r[0].toLowerCase()],e+r[0].length):-1},A:function(n,t,e){var r=xn.exec(t.slice(e));return r?(n.w=Mn[r[0].toLowerCase()],e+r[0].length):-1},b:function(n,t,e){var r=pn.exec(t.slice(e));return r?(n.m=Sn[r[0].toLowerCase()],e+r[0].length):-1},B:function(n,t,e){var r=Yn.exec(t.slice(e));return r?(n.m=Hn[r[0].toLowerCase()],e+r[0].length):-1},c:function(n,t,e){return Wn(n,i,t,e)},d:M,e:M,f:S,H:w,I:w,j:U,L:p,m:x,M:Y,p:function(n,t,e){var r=Dn.exec(t.slice(e));return r?(n.p=Tn[r[0].toLowerCase()],e+r[0].length):-1},Q:A,s:Z,S:H,u:y,U:d,V:v,w:h,W:m,x:function(n,t,e){return Wn(n,o,t,e)},X:function(n,t,e){return Wn(n,a,t,e)},y:D,Y:C,Z:T,"%":L};function Fn(n,t){return function(e){var r,u,i,o=[],a=-1,f=0,l=n.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in a||(a.w=1),"Z"in a?(o=(i=e(r(a.y))).getUTCDay(),i=o>4||0===o?n.utcMonday.ceil(i):(0,n.utcMonday)(i),i=n.utcDay.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(o=(i=u(r(a.y))).getDay(),i=o>4||0===o?n.timeMonday.ceil(i):(0,n.timeMonday)(i),i=n.timeDay.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),o="Z"in a?e(r(a.y)).getUTCDay():u(r(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(o+5)%7:a.w+7*a.U-(o+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,e(a)):u(a)}}function Wn(n,t,e,r){for(var u,i,o=0,a=t.length,f=e.length;o=f)return-1;if(37===(u=t.charCodeAt(o++))){if(u=t.charAt(o++),!(i=Zn[u in c?t.charAt(o++):u])||(r=i(n,e,r))<0)return-1}else if(u!=e.charCodeAt(r++))return-1}return r}return Ln.x=Fn(o,Ln),Ln.X=Fn(a,Ln),Ln.c=Fn(i,Ln),An.x=Fn(o,An),An.X=Fn(a,An),An.c=Fn(i,An),{format:function(n){var t=Fn(n+="",Ln);return t.toString=function(){return n},t},parse:function(n){var e=Vn(n+="",t);return e.toString=function(){return n},e},utcFormat:function(n){var t=Fn(n+="",An);return t.toString=function(){return n},t},utcParse:function(n){var t=Vn(n,e);return t.toString=function(){return n},t}}}var c={"-":"",_:" ",0:"0"},i=/^\s*\d+/,o=/^%/,a=/[\\^$*+?|[\]().{}]/g;function f(n,t,e){var r=n<0?"-":"",u=(r?-n:n)+"",c=u.length;return r+(c68?1900:2e3),e+r[0].length):-1}function T(n,t,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(e,e+6));return r?(n.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function x(n,t,e){var r=i.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function M(n,t,e){var r=i.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function U(n,t,e){var r=i.exec(t.slice(e,e+3));return r?(n.m=0,n.d=+r[0],e+r[0].length):-1}function w(n,t,e){var r=i.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function Y(n,t,e){var r=i.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function H(n,t,e){var r=i.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function p(n,t,e){var r=i.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function S(n,t,e){var r=i.exec(t.slice(e,e+6));return r?(n.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function L(n,t,e){var r=o.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function A(n,t,e){var r=i.exec(t.slice(e));return r?(n.Q=+r[0],e+r[0].length):-1}function Z(n,t,e){var r=i.exec(t.slice(e));return r?(n.Q=1e3*+r[0],e+r[0].length):-1}function F(n,t){return f(n.getDate(),t,2)}function V(n,t){return f(n.getHours(),t,2)}function W(n,t){return f(n.getHours()%12||12,t,2)}function j(t,e){return f(1+n.timeDay.count((0,n.timeYear)(t),t),e,3)}function Q(n,t){return f(n.getMilliseconds(),t,3)}function X(n,t){return Q(n,t)+"000"}function b(n,t){return f(n.getMonth()+1,t,2)}function B(n,t){return f(n.getMinutes(),t,2)}function I(n,t){return f(n.getSeconds(),t,2)}function _(n){var t=n.getDay();return 0===t?7:t}function O(t,e){return f(n.timeSunday.count((0,n.timeYear)(t),t),e,2)}function P(t,e){var r=t.getDay();return t=r>=4||0===r?(0,n.timeThursday)(t):n.timeThursday.ceil(t),f(n.timeThursday.count((0,n.timeYear)(t),t)+(4===(0,n.timeYear)(t).getDay()),e,2)}function $(n){return n.getDay()}function q(t,e){return f(n.timeMonday.count((0,n.timeYear)(t),t),e,2)}function z(n,t){return f(n.getFullYear()%100,t,2)}function E(n,t){return f(n.getFullYear()%1e4,t,4)}function R(n){var t=n.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+f(t/60|0,"0",2)+f(t%60,"0",2)}function k(n,t){return f(n.getUTCDate(),t,2)}function G(n,t){return f(n.getUTCHours(),t,2)}function J(n,t){return f(n.getUTCHours()%12||12,t,2)}function K(t,e){return f(1+n.utcDay.count((0,n.utcYear)(t),t),e,3)}function N(n,t){return f(n.getUTCMilliseconds(),t,3)}function nn(n,t){return N(n,t)+"000"}function tn(n,t){return f(n.getUTCMonth()+1,t,2)}function en(n,t){return f(n.getUTCMinutes(),t,2)}function rn(n,t){return f(n.getUTCSeconds(),t,2)}function un(n){var t=n.getUTCDay();return 0===t?7:t}function cn(t,e){return f(n.utcSunday.count((0,n.utcYear)(t),t),e,2)}function on(t,e){var r=t.getUTCDay();return t=r>=4||0===r?(0,n.utcThursday)(t):n.utcThursday.ceil(t),f(n.utcThursday.count((0,n.utcYear)(t),t)+(4===(0,n.utcYear)(t).getUTCDay()),e,2)}function an(n){return n.getUTCDay()}function fn(t,e){return f(n.utcMonday.count((0,n.utcYear)(t),t),e,2)}function ln(n,t){return f(n.getUTCFullYear()%100,t,2)}function gn(n,t){return f(n.getUTCFullYear()%1e4,t,4)}function sn(){return"+0000"}function hn(){return"%"}function yn(n){return+n}function dn(n){return Math.floor(+n/1e3)} + },{"d3-time":"0hQY"}],"5csj":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=p,exports.utcParse=exports.utcFormat=exports.timeParse=exports.timeFormat=void 0;var e,t,r,a,o,s=u(require("./locale"));function u(e){return e&&e.__esModule?e:{default:e}}function p(u){return e=(0,s.default)(u),exports.timeFormat=t=e.format,exports.timeParse=r=e.parse,exports.utcFormat=a=e.utcFormat,exports.utcParse=o=e.utcParse,e}exports.timeFormat=t,exports.timeParse=r,exports.utcFormat=a,exports.utcParse=o,p({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"]}); + },{"./locale":"UbHU"}],"PKKZ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.isoSpecifier=void 0;var e=require("./defaultLocale"),t="%Y-%m-%dT%H:%M:%S.%LZ";function r(e){return e.toISOString()}exports.isoSpecifier=t;var o=Date.prototype.toISOString?r:(0,e.utcFormat)(t),i=o;exports.default=i; + },{"./defaultLocale":"5csj"}],"d4jk":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("./isoFormat"),r=require("./defaultLocale");function t(e){var r=new Date(e);return isNaN(r)?null:r}var a=+new Date("2000-01-01T00:00:00.000Z")?t:(0,r.utcParse)(e.isoSpecifier),u=a;exports.default=u; + },{"./isoFormat":"PKKZ","./defaultLocale":"5csj"}],"UYpZ":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"timeFormatDefaultLocale",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"timeFormat",{enumerable:!0,get:function(){return e.timeFormat}}),Object.defineProperty(exports,"timeParse",{enumerable:!0,get:function(){return e.timeParse}}),Object.defineProperty(exports,"utcFormat",{enumerable:!0,get:function(){return e.utcFormat}}),Object.defineProperty(exports,"utcParse",{enumerable:!0,get:function(){return e.utcParse}}),Object.defineProperty(exports,"timeFormatLocale",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"isoFormat",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"isoParse",{enumerable:!0,get:function(){return o.default}});var e=u(require("./defaultLocale")),t=n(require("./locale")),r=n(require("./isoFormat")),o=n(require("./isoParse"));function n(e){return e&&e.__esModule?e:{default:e}}function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};o.get||o.set?Object.defineProperty(t,r,o):t[r]=e[r]}return t.default=e,t} + },{"./defaultLocale":"5csj","./locale":"UbHU","./isoFormat":"PKKZ","./isoParse":"d4jk"}],"kVXt":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.calendar=g,exports.default=h;var e=require("d3-array"),t=require("d3-time"),r=require("d3-time-format"),n=require("./array"),i=c(require("./continuous")),u=require("./init"),a=o(require("./nice"));function o(e){return e&&e.__esModule?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}var f=1e3,l=60*f,d=60*l,p=24*d,m=7*p,s=30*p,y=365*p;function v(e){return new Date(e)}function b(e){return e instanceof Date?+e:+new Date(+e)}function g(t,r,u,o,c,h,D,M,O){var w=(0,i.default)(i.identity,i.identity),q=w.invert,j=w.domain,P=O(".%L"),_=O(":%S"),k=O("%I:%M"),x=O("%I %p"),S=O("%a %d"),F=O("%b %d"),I=O("%B"),Y=O("%Y"),B=[[D,1,f],[D,5,5*f],[D,15,15*f],[D,30,30*f],[h,1,l],[h,5,5*l],[h,15,15*l],[h,30,30*l],[c,1,d],[c,3,3*d],[c,6,6*d],[c,12,12*d],[o,1,p],[o,2,2*p],[u,1,m],[r,1,s],[r,3,3*s],[t,1,y]];function H(e){return(D(e)1)&&(e-=Math.floor(e));var r=Math.abs(e-.5);return l.h=360*e-100,l.s=1.5-1.5*r,l.l=.8-.9*r,l+""} + },{"d3-color":"Peej","d3-interpolate":"k9aH"}],"+ZXM":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var t=require("d3-color"),e=(0,t.rgb)(),r=Math.PI/3,a=2*Math.PI/3;function s(t){var s;return t=(.5-t)*Math.PI,e.r=255*(s=Math.sin(t))*s,e.g=255*(s=Math.sin(t+r))*s,e.b=255*(s=Math.sin(t+a))*s,e+""} + },{"d3-color":"Peej"}],"SfG7":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.plasma=exports.inferno=exports.magma=exports.default=void 0;var f=e(require("../colors"));function e(f){return f&&f.__esModule?f:{default:f}}function a(f){var e=f.length;return function(a){return f[Math.max(0,Math.min(e-1,Math.floor(a*e)))]}}var d=a((0,f.default)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));exports.default=d;var c=a((0,f.default)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"));exports.magma=c;var b=a((0,f.default)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"));exports.inferno=b;var r=a((0,f.default)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));exports.plasma=r; + },{"../colors":"xz73"}],"1ado":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"schemeCategory10",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"schemeAccent",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"schemeDark2",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"schemePaired",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"schemePastel1",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"schemePastel2",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"schemeSet1",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"schemeSet2",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(exports,"schemeSet3",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(exports,"interpolateBrBG",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"schemeBrBG",{enumerable:!0,get:function(){return a.scheme}}),Object.defineProperty(exports,"interpolatePRGn",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(exports,"schemePRGn",{enumerable:!0,get:function(){return s.scheme}}),Object.defineProperty(exports,"interpolatePiYG",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(exports,"schemePiYG",{enumerable:!0,get:function(){return f.scheme}}),Object.defineProperty(exports,"interpolatePuOr",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(exports,"schemePuOr",{enumerable:!0,get:function(){return p.scheme}}),Object.defineProperty(exports,"interpolateRdBu",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(exports,"schemeRdBu",{enumerable:!0,get:function(){return d.scheme}}),Object.defineProperty(exports,"interpolateRdGy",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(exports,"schemeRdGy",{enumerable:!0,get:function(){return m.scheme}}),Object.defineProperty(exports,"interpolateRdYlBu",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(exports,"schemeRdYlBu",{enumerable:!0,get:function(){return b.scheme}}),Object.defineProperty(exports,"interpolateRdYlGn",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(exports,"schemeRdYlGn",{enumerable:!0,get:function(){return g.scheme}}),Object.defineProperty(exports,"interpolateSpectral",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(exports,"schemeSpectral",{enumerable:!0,get:function(){return P.scheme}}),Object.defineProperty(exports,"interpolateBuGn",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(exports,"schemeBuGn",{enumerable:!0,get:function(){return O.scheme}}),Object.defineProperty(exports,"interpolateBuPu",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(exports,"schemeBuPu",{enumerable:!0,get:function(){return y.scheme}}),Object.defineProperty(exports,"interpolateGnBu",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(exports,"schemeGnBu",{enumerable:!0,get:function(){return j.scheme}}),Object.defineProperty(exports,"interpolateOrRd",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(exports,"schemeOrRd",{enumerable:!0,get:function(){return x.scheme}}),Object.defineProperty(exports,"interpolatePuBuGn",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(exports,"schemePuBuGn",{enumerable:!0,get:function(){return h.scheme}}),Object.defineProperty(exports,"interpolatePuBu",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(exports,"schemePuBu",{enumerable:!0,get:function(){return q.scheme}}),Object.defineProperty(exports,"interpolatePuRd",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(exports,"schemePuRd",{enumerable:!0,get:function(){return B.scheme}}),Object.defineProperty(exports,"interpolateRdPu",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(exports,"schemeRdPu",{enumerable:!0,get:function(){return G.scheme}}),Object.defineProperty(exports,"interpolateYlGnBu",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(exports,"schemeYlGnBu",{enumerable:!0,get:function(){return R.scheme}}),Object.defineProperty(exports,"interpolateYlGn",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(exports,"schemeYlGn",{enumerable:!0,get:function(){return Y.scheme}}),Object.defineProperty(exports,"interpolateYlOrBr",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(exports,"schemeYlOrBr",{enumerable:!0,get:function(){return v.scheme}}),Object.defineProperty(exports,"interpolateYlOrRd",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(exports,"schemeYlOrRd",{enumerable:!0,get:function(){return S.scheme}}),Object.defineProperty(exports,"interpolateBlues",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(exports,"schemeBlues",{enumerable:!0,get:function(){return w.scheme}}),Object.defineProperty(exports,"interpolateGreens",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(exports,"schemeGreens",{enumerable:!0,get:function(){return _.scheme}}),Object.defineProperty(exports,"interpolateGreys",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(exports,"schemeGreys",{enumerable:!0,get:function(){return D.scheme}}),Object.defineProperty(exports,"interpolatePurples",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(exports,"schemePurples",{enumerable:!0,get:function(){return M.scheme}}),Object.defineProperty(exports,"interpolateReds",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(exports,"schemeReds",{enumerable:!0,get:function(){return C.scheme}}),Object.defineProperty(exports,"interpolateOranges",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(exports,"schemeOranges",{enumerable:!0,get:function(){return k.scheme}}),Object.defineProperty(exports,"interpolateCubehelixDefault",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(exports,"interpolateRainbow",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(exports,"interpolateWarm",{enumerable:!0,get:function(){return I.warm}}),Object.defineProperty(exports,"interpolateCool",{enumerable:!0,get:function(){return I.cool}}),Object.defineProperty(exports,"interpolateSinebow",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(exports,"interpolateViridis",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(exports,"interpolateMagma",{enumerable:!0,get:function(){return W.magma}}),Object.defineProperty(exports,"interpolateInferno",{enumerable:!0,get:function(){return W.inferno}}),Object.defineProperty(exports,"interpolatePlasma",{enumerable:!0,get:function(){return W.plasma}});var e=E(require("./categorical/category10")),r=E(require("./categorical/Accent")),t=E(require("./categorical/Dark2")),n=E(require("./categorical/Paired")),u=E(require("./categorical/Pastel1")),i=E(require("./categorical/Pastel2")),o=E(require("./categorical/Set1")),l=E(require("./categorical/Set2")),c=E(require("./categorical/Set3")),a=z(require("./diverging/BrBG")),s=z(require("./diverging/PRGn")),f=z(require("./diverging/PiYG")),p=z(require("./diverging/PuOr")),d=z(require("./diverging/RdBu")),m=z(require("./diverging/RdGy")),b=z(require("./diverging/RdYlBu")),g=z(require("./diverging/RdYlGn")),P=z(require("./diverging/Spectral")),O=z(require("./sequential-multi/BuGn")),y=z(require("./sequential-multi/BuPu")),j=z(require("./sequential-multi/GnBu")),x=z(require("./sequential-multi/OrRd")),h=z(require("./sequential-multi/PuBuGn")),q=z(require("./sequential-multi/PuBu")),B=z(require("./sequential-multi/PuRd")),G=z(require("./sequential-multi/RdPu")),R=z(require("./sequential-multi/YlGnBu")),Y=z(require("./sequential-multi/YlGn")),v=z(require("./sequential-multi/YlOrBr")),S=z(require("./sequential-multi/YlOrRd")),w=z(require("./sequential-single/Blues")),_=z(require("./sequential-single/Greens")),D=z(require("./sequential-single/Greys")),M=z(require("./sequential-single/Purples")),C=z(require("./sequential-single/Reds")),k=z(require("./sequential-single/Oranges")),A=E(require("./sequential-multi/cubehelix")),I=z(require("./sequential-multi/rainbow")),V=E(require("./sequential-multi/sinebow")),W=z(require("./sequential-multi/viridis"));function z(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};n.get||n.set?Object.defineProperty(r,t,n):r[t]=e[t]}return r.default=e,r}function E(e){return e&&e.__esModule?e:{default:e}} + },{"./categorical/category10":"dTYe","./categorical/Accent":"o8vx","./categorical/Dark2":"regV","./categorical/Paired":"E9sC","./categorical/Pastel1":"RCRU","./categorical/Pastel2":"QfGF","./categorical/Set1":"IldB","./categorical/Set2":"KR9o","./categorical/Set3":"XNXw","./diverging/BrBG":"ArEB","./diverging/PRGn":"kzYK","./diverging/PiYG":"PI8x","./diverging/PuOr":"h8TC","./diverging/RdBu":"+i3r","./diverging/RdGy":"WaJg","./diverging/RdYlBu":"Jvs/","./diverging/RdYlGn":"9K9l","./diverging/Spectral":"rXym","./sequential-multi/BuGn":"1KGB","./sequential-multi/BuPu":"lAoh","./sequential-multi/GnBu":"ZoIf","./sequential-multi/OrRd":"+7Si","./sequential-multi/PuBuGn":"vp6S","./sequential-multi/PuBu":"Wfss","./sequential-multi/PuRd":"NZPG","./sequential-multi/RdPu":"fzkB","./sequential-multi/YlGnBu":"fL+1","./sequential-multi/YlGn":"xEGO","./sequential-multi/YlOrBr":"Bmd/","./sequential-multi/YlOrRd":"SHo5","./sequential-single/Blues":"jpg6","./sequential-single/Greens":"rjqF","./sequential-single/Greys":"x8Iu","./sequential-single/Purples":"MJdW","./sequential-single/Reds":"DiEh","./sequential-single/Oranges":"O9hI","./sequential-multi/cubehelix":"c/i8","./sequential-multi/rainbow":"BkJF","./sequential-multi/sinebow":"+ZXM","./sequential-multi/viridis":"SfG7"}],"kIKs":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acos=h,exports.asin=M,exports.tau=exports.halfPi=exports.pi=exports.epsilon=exports.sqrt=exports.sin=exports.min=exports.max=exports.cos=exports.atan2=exports.abs=void 0;var t=Math.abs;exports.abs=t;var r=Math.atan2;exports.atan2=r;var s=Math.cos;exports.cos=s;var a=Math.max;exports.max=a;var e=Math.min;exports.min=e;var o=Math.sin;exports.sin=o;var p=Math.sqrt;exports.sqrt=p;var x=1e-12;exports.epsilon=x;var n=Math.PI;exports.pi=n;var i=n/2;exports.halfPi=i;var v=2*n;function h(t){return t>1?0:t<-1?n:Math.acos(t)}function M(t){return t>=1?i:t<=-1?-i:Math.asin(t)}exports.tau=v; + },{}],"BL7I":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=f;var n=require("d3-path"),t=a(require("./constant")),e=require("./math");function a(n){return n&&n.__esModule?n:{default:n}}function i(n){return n.innerRadius}function r(n){return n.outerRadius}function o(n){return n.startAngle}function c(n){return n.endAngle}function u(n){return n&&n.padAngle}function l(n,t,a,i,r,o,c,u){var l=a-n,s=i-t,f=c-r,p=u-o,y=p*l-f*s;if(!(y*yw*w+z*z&&(_=M,b=j),{cx:_,cy:b,x01:-f,y01:-p,x11:_*(r/A-1),y11:b*(r/A-1)}}function f(){var a=i,f=r,p=(0,t.default)(0),y=null,x=o,d=c,h=u,v=null;function g(){var t,i,r=+a.apply(this,arguments),o=+f.apply(this,arguments),c=x.apply(this,arguments)-e.halfPi,u=d.apply(this,arguments)-e.halfPi,g=(0,e.abs)(u-c),m=u>c;if(v||(v=t=(0,n.path)()),oe.epsilon)if(g>e.tau-e.epsilon)v.moveTo(o*(0,e.cos)(c),o*(0,e.sin)(c)),v.arc(0,0,o,c,u,!m),r>e.epsilon&&(v.moveTo(r*(0,e.cos)(u),r*(0,e.sin)(u)),v.arc(0,0,r,u,c,m));else{var q,T,A=c,R=u,P=c,_=u,b=g,M=g,j=h.apply(this,arguments)/2,O=j>e.epsilon&&(y?+y.apply(this,arguments):(0,e.sqrt)(r*r+o*o)),k=(0,e.min)((0,e.abs)(o-r)/2,+p.apply(this,arguments)),w=k,z=k;if(O>e.epsilon){var B=(0,e.asin)(O/r*(0,e.sin)(j)),C=(0,e.asin)(O/o*(0,e.sin)(j));(b-=2*B)>e.epsilon?(P+=B*=m?1:-1,_-=B):(b=0,P=_=(c+u)/2),(M-=2*C)>e.epsilon?(A+=C*=m?1:-1,R-=C):(M=0,A=R=(c+u)/2)}var D=o*(0,e.cos)(A),E=o*(0,e.sin)(A),F=r*(0,e.cos)(_),G=r*(0,e.sin)(_);if(k>e.epsilon){var H,I=o*(0,e.cos)(R),J=o*(0,e.sin)(R),K=r*(0,e.cos)(P),L=r*(0,e.sin)(P);if(ge.epsilon?z>e.epsilon?(q=s(K,L,D,E,o,z,m),T=s(I,J,F,G,o,z,m),v.moveTo(q.cx+q.x01,q.cy+q.y01),ze.epsilon&&b>e.epsilon?w>e.epsilon?(q=s(F,G,I,J,r,-w,m),T=s(D,E,K,L,r,-w,m),v.lineTo(q.cx+q.x01,q.cy+q.y01),w=u;--l)y.point(s[l],v[l]);y.lineEnd(),y.areaEnd()}g&&(s[t]=+r(p,t,e),v[t]=+i(p,t,e),y.point(f?+f(p,t,e):s[t],o?+o(p,t,e):v[t]))}if(h)return y=null,h+""||null}function h(){return(0,u.default)().defined(c).curve(d).context(a)}return p.x=function(n){return arguments.length?(r="function"==typeof n?n:(0,e.default)(+n),f=null,p):r},p.x0=function(n){return arguments.length?(r="function"==typeof n?n:(0,e.default)(+n),p):r},p.x1=function(n){return arguments.length?(f=null==n?null:"function"==typeof n?n:(0,e.default)(+n),p):f},p.y=function(n){return arguments.length?(i="function"==typeof n?n:(0,e.default)(+n),o=null,p):i},p.y0=function(n){return arguments.length?(i="function"==typeof n?n:(0,e.default)(+n),p):i},p.y1=function(n){return arguments.length?(o=null==n?null:"function"==typeof n?n:(0,e.default)(+n),p):o},p.lineX0=p.lineY0=function(){return h().x(r).y(i)},p.lineY1=function(){return h().x(r).y(o)},p.lineX1=function(){return h().x(f).y(i)},p.defined=function(n){return arguments.length?(c="function"==typeof n?n:(0,e.default)(!!n),p):c},p.curve=function(n){return arguments.length?(d=n,null!=a&&(y=d(a)),p):d},p.context=function(n){return arguments.length?(null==n?a=y=null:y=d(a=n),p):a},p} + },{"d3-path":"9OTy","./constant":"aCvo","./curve/linear":"+L3Q","./line":"KhHE","./point":"LnI9"}],"bAZU":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var t=r(require("./constant")),n=r(require("./descending")),e=r(require("./identity")),u=require("./math");function r(t){return t&&t.__esModule?t:{default:t}}function l(){var r=e.default,l=n.default,a=null,f=(0,t.default)(0),o=(0,t.default)(u.tau),i=(0,t.default)(0);function d(t){var n,e,d,c,s,h=t.length,p=0,g=new Array(h),y=new Array(h),A=+f.apply(this,arguments),v=Math.min(u.tau,Math.max(-u.tau,o.apply(this,arguments)-A)),M=Math.min(Math.abs(v)/h,i.apply(this,arguments)),m=M*(v<0?-1:1);for(n=0;n0&&(p+=s);for(null!=l?g.sort(function(t,n){return l(y[t],y[n])}):null!=a&&g.sort(function(n,e){return a(t[n],t[e])}),n=0,d=p?(v-h*m)/p:0;n0?s*d:0)+m,y[e]={data:t[e],index:n,value:s,startAngle:A,endAngle:c,padAngle:M};return y}return d.value=function(n){return arguments.length?(r="function"==typeof n?n:(0,t.default)(+n),d):r},d.sortValues=function(t){return arguments.length?(l=t,a=null,d):l},d.sort=function(t){return arguments.length?(a=t,l=null,d):a},d.startAngle=function(n){return arguments.length?(f="function"==typeof n?n:(0,t.default)(+n),d):f},d.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:(0,t.default)(+n),d):o},d.padAngle=function(n){return arguments.length?(i="function"==typeof n?n:(0,t.default)(+n),d):i},d} + },{"./constant":"aCvo","./descending":"fBAz","./identity":"NNW9","./math":"kIKs"}],"LARK":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i,exports.curveRadialLinear=void 0;var e=t(require("./linear"));function t(e){return e&&e.__esModule?e:{default:e}}var r=i(e.default);function n(e){this._curve=e}function i(e){function t(t){return new n(e(t))}return t._curve=e,t}exports.curveRadialLinear=r,n.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))}}; + },{"./linear":"+L3Q"}],"faWF":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lineRadial=n,exports.default=i;var e=u(require("./curve/radial")),r=t(require("./line"));function t(e){return e&&e.__esModule?e:{default:e}}function u(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var u=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};u.get||u.set?Object.defineProperty(r,t,u):r[t]=e[t]}return r.default=e,r}function n(r){var t=r.curve;return r.angle=r.x,delete r.x,r.radius=r.y,delete r.y,r.curve=function(r){return arguments.length?t((0,e.default)(r)):t()._curve},r}function i(){return n((0,r.default)().curve(e.curveRadialLinear))} + },{"./curve/radial":"LARK","./line":"KhHE"}],"T5gn":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i;var e=l(require("./curve/radial")),r=t(require("./area")),n=require("./lineRadial");function t(e){return e&&e.__esModule?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};t.get||t.set?Object.defineProperty(r,n,t):r[n]=e[n]}return r.default=e,r}function i(){var t=(0,r.default)().curve(e.curveRadialLinear),l=t.curve,i=t.lineX0,u=t.lineX1,a=t.lineY0,d=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return(0,n.lineRadial)(i())},delete t.lineX0,t.lineEndAngle=function(){return(0,n.lineRadial)(u())},delete t.lineX1,t.lineInnerRadius=function(){return(0,n.lineRadial)(a())},delete t.lineY0,t.lineOuterRadius=function(){return(0,n.lineRadial)(d())},delete t.lineY1,t.curve=function(r){return arguments.length?l((0,e.default)(r)):l()._curve},t} + },{"./curve/radial":"LARK","./area":"IYvJ","./lineRadial":"faWF"}],"vzjT":[function(require,module,exports) { + "use strict";function e(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"npGN":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkHorizontal=s,exports.linkVertical=d,exports.linkRadial=y;var e=require("d3-path"),t=require("../array"),n=i(require("../constant")),r=require("../point"),u=i(require("../pointRadial"));function i(e){return e&&e.__esModule?e:{default:e}}function l(e){return e.source}function o(e){return e.target}function a(u){var i=l,a=o,f=r.x,c=r.y,p=null;function s(){var n,r=t.slice.call(arguments),l=i.apply(this,r),o=a.apply(this,r);if(p||(p=n=(0,e.path)()),u(p,+f.apply(this,(r[0]=l,r)),+c.apply(this,r),+f.apply(this,(r[0]=o,r)),+c.apply(this,r)),n)return p=null,n+""||null}return s.source=function(e){return arguments.length?(i=e,s):i},s.target=function(e){return arguments.length?(a=e,s):a},s.x=function(e){return arguments.length?(f="function"==typeof e?e:(0,n.default)(+e),s):f},s.y=function(e){return arguments.length?(c="function"==typeof e?e:(0,n.default)(+e),s):c},s.context=function(e){return arguments.length?(p=null==e?null:e,s):p},s}function f(e,t,n,r,u){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,u,r,u)}function c(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,i){var l=(0,u.default)(t,n),o=(0,u.default)(t,n=(n+i)/2),a=(0,u.default)(r,n),f=(0,u.default)(r,i);e.moveTo(l[0],l[1]),e.bezierCurveTo(o[0],o[1],a[0],a[1],f[0],f[1])}function s(){return a(f)}function d(){return a(c)}function y(){var e=a(p);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e} + },{"d3-path":"9OTy","../array":"KXlw","../constant":"aCvo","../point":"LnI9","../pointRadial":"vzjT"}],"zjv7":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("../math"),t={draw:function(t,r){var a=Math.sqrt(r/e.pi);t.moveTo(a,0),t.arc(0,0,a,0,e.tau)}};exports.default=t; + },{"../math":"kIKs"}],"PTh9":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={draw:function(e,o){var l=Math.sqrt(o/5)/2;e.moveTo(-3*l,-l),e.lineTo(-l,-l),e.lineTo(-l,-3*l),e.lineTo(l,-3*l),e.lineTo(l,-l),e.lineTo(3*l,-l),e.lineTo(3*l,l),e.lineTo(l,l),e.lineTo(l,3*l),e.lineTo(-l,3*l),e.lineTo(-l,l),e.lineTo(-3*l,l),e.closePath()}};exports.default=e; + },{}],"08fu":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=Math.sqrt(1/3),t=2*e,o={draw:function(o,r){var a=Math.sqrt(r/t),s=a*e;o.moveTo(0,-a),o.lineTo(s,0),o.lineTo(0,a),o.lineTo(-s,0),o.closePath()}};exports.default=o; + },{}],"L5Ql":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("../math"),a=.8908130915292852,e=Math.sin(t.pi/10)/Math.sin(7*t.pi/10),o=Math.sin(t.tau/10)*e,r=-Math.cos(t.tau/10)*e,i={draw:function(e,i){var s=Math.sqrt(i*a),n=o*s,u=r*s;e.moveTo(0,-s),e.lineTo(n,u);for(var h=1;h<5;++h){var l=t.tau*h/5,M=Math.cos(l),v=Math.sin(l);e.lineTo(v*s,-M*s),e.lineTo(M*n-v*u,v*n+M*u)}e.closePath()}};exports.default=i; + },{"../math":"kIKs"}],"bj9s":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={draw:function(e,t){var r=Math.sqrt(t),a=-r/2;e.rect(a,a,r,r)}};exports.default=e; + },{}],"owZx":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=Math.sqrt(3),t={draw:function(t,o){var r=-Math.sqrt(o/(3*e));t.moveTo(0,2*r),t.lineTo(-e*r,-r),t.lineTo(e*r,-r),t.closePath()}};exports.default=t; + },{}],"UZQY":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=-.5,o=Math.sqrt(3)/2,t=1/Math.sqrt(12),l=3*(t/2+1),i={draw:function(i,r){var n=Math.sqrt(r/l),a=n/2,s=n*t,T=a,d=n*t+n,u=-T,v=d;i.moveTo(a,s),i.lineTo(T,d),i.lineTo(u,v),i.lineTo(e*a-o*s,o*a+e*s),i.lineTo(e*T-o*d,o*T+e*d),i.lineTo(e*u-o*v,o*u+e*v),i.lineTo(e*a+o*s,e*s-o*a),i.lineTo(e*T+o*d,e*d-o*T),i.lineTo(e*u+o*v,e*v-o*u),i.closePath()}};exports.default=i; + },{}],"bBh/":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=d,exports.symbols=void 0;var e=require("d3-path"),t=s(require("./symbol/circle")),r=s(require("./symbol/cross")),u=s(require("./symbol/diamond")),l=s(require("./symbol/star")),n=s(require("./symbol/square")),o=s(require("./symbol/triangle")),a=s(require("./symbol/wye")),i=s(require("./constant"));function s(e){return e&&e.__esModule?e:{default:e}}var f=[t.default,r.default,u.default,n.default,l.default,o.default,a.default];function d(){var r=(0,i.default)(t.default),u=(0,i.default)(64),l=null;function n(){var t;if(l||(l=t=(0,e.path)()),r.apply(this,arguments).draw(l,+u.apply(this,arguments)),t)return l=null,t+""||null}return n.type=function(e){return arguments.length?(r="function"==typeof e?e:(0,i.default)(e),n):r},n.size=function(e){return arguments.length?(u="function"==typeof e?e:(0,i.default)(+e),n):u},n.context=function(e){return arguments.length?(l=null==e?null:e,n):l},n}exports.symbols=f; + },{"d3-path":"9OTy","./symbol/circle":"zjv7","./symbol/cross":"PTh9","./symbol/diamond":"08fu","./symbol/star":"L5Ql","./symbol/square":"bj9s","./symbol/triangle":"owZx","./symbol/wye":"UZQY","./constant":"aCvo"}],"cx05":[function(require,module,exports) { + "use strict";function t(t,i,s){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+i)/6,(t._y0+4*t._y1+s)/6)}function i(t){this._context=t}function s(t){return new i(t)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.point=t,exports.Basis=i,exports.default=s,i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:t(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,s){switch(i=+i,s=+s,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,s):this._context.moveTo(i,s);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:t(this,i,s)}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=s}}; + },{}],"FS5M":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=_;var t=s(require("../noop")),i=require("./basis");function s(t){return t&&t.__esModule?t:{default:t}}function h(t){this._context=t}function _(t){return new h(t)}h.prototype={areaStart:t.default,areaEnd:t.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,s){switch(t=+t,s=+s,this._point){case 0:this._point=1,this._x2=t,this._y2=s;break;case 1:this._point=2,this._x3=t,this._y3=s;break;case 2:this._point=3,this._x4=t,this._y4=s,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+s)/6);break;default:(0,i.point)(this,t,s)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=s}}; + },{"../noop":"zOhu","./basis":"cx05"}],"feGb":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var t=require("./basis");function i(t){this._context=t}function s(t){return new i(t)}i.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(i,s){switch(i=+i,s=+s,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+i)/6,n=(this._y0+4*this._y1+s)/6;this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 3:this._point=4;default:(0,t.point)(this,i,s)}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=s}}; + },{"./basis":"cx05"}],"i+ag":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("./basis");function i(i,s){this._basis=new t.Basis(i),this._beta=s}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,i=this._y,s=t.length-1;if(s>0)for(var e,n=t[0],a=i[0],r=t[s]-n,h=i[s]-a,u=-1;++u<=s;)e=u/s,this._basis.point(this._beta*t[u]+(1-this._beta)*(n+e*r),this._beta*i[u]+(1-this._beta)*(a+e*h));this._x=this._y=null,this._basis.lineEnd()},point:function(t,i){this._x.push(+t),this._y.push(+i)}};var s=function s(e){function n(s){return 1===e?new t.Basis(s):new i(s,e)}return n.beta=function(t){return s(+t)},n}(.85);exports.default=s; + },{"./basis":"cx05"}],"8DOR":[function(require,module,exports) { + "use strict";function t(t,i,s){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-i),t._y2+t._k*(t._y1-s),t._x2,t._y2)}function i(t,i){this._context=t,this._k=(1-i)/6}Object.defineProperty(exports,"__esModule",{value:!0}),exports.point=t,exports.Cardinal=i,exports.default=void 0,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._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:t(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,s){switch(i=+i,s=+s,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,s):this._context.moveTo(i,s);break;case 1:this._point=2,this._x1=i,this._y1=s;break;case 2:this._point=3;default:t(this,i,s)}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=s}};var s=function t(s){function _(t){return new i(t,s)}return _.tension=function(i){return t(+i)},_}(0);exports.default=s; + },{}],"FUQi":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CardinalClosed=h,exports.default=void 0;var t=s(require("../noop")),i=require("./cardinal");function s(t){return t&&t.__esModule?t:{default:t}}function h(t,i){this._context=t,this._k=(1-i)/6}h.prototype={areaStart:t.default,areaEnd:t.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,s){switch(t=+t,s=+s,this._point){case 0:this._point=1,this._x3=t,this._y3=s;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=s);break;case 2:this._point=3,this._x5=t,this._y5=s;break;default:(0,i.point)(this,t,s)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=s}};var e=function t(i){function s(t){return new h(t,i)}return s.tension=function(i){return t(+i)},s}(0);exports.default=e; + },{"../noop":"zOhu","./cardinal":"8DOR"}],"6iWb":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CardinalOpen=i,exports.default=void 0;var t=require("./cardinal");function i(t,i){this._context=t,this._k=(1-i)/6}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._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,s){switch(i=+i,s=+s,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,t.point)(this,i,s)}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=s}};var s=function t(s){function n(t){return new i(t,s)}return n.tension=function(i){return t(+i)},n}(0);exports.default=s; + },{"./cardinal":"8DOR"}],"6oFi":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.point=i,exports.default=void 0;var _=require("../math"),t=require("./cardinal");function i(t,i,a){var s=t._x1,h=t._y1,l=t._x2,n=t._y2;if(t._l01_a>_.epsilon){var e=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,o=3*t._l01_a*(t._l01_a+t._l12_a);s=(s*e-t._x0*t._l12_2a+t._x2*t._l01_2a)/o,h=(h*e-t._y0*t._l12_2a+t._y2*t._l01_2a)/o}if(t._l23_a>_.epsilon){var r=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);l=(l*r+t._x1*t._l23_2a-i*t._l12_2a)/c,n=(n*r+t._y1*t._l23_2a-a*t._l12_2a)/c}t._context.bezierCurveTo(s,h,l,n,t._x2,t._y2)}function a(_,t){this._context=_,this._alpha=t}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(_,t){if(_=+_,t=+t,this._point){var a=this._x2-_,s=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(a*a+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(_,t):this._context.moveTo(_,t);break;case 1:this._point=2;break;case 2:this._point=3;default:i(this,_,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=_,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var s=function _(i){function s(_){return i?new a(_,i):new t.Cardinal(_,0)}return s.alpha=function(t){return _(+t)},s}(.5);exports.default=s; + },{"../math":"kIKs","./cardinal":"8DOR"}],"AW0P":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("./cardinalClosed"),i=_(require("../noop")),s=require("./catmullRom");function _(t){return t&&t.__esModule?t:{default:t}}function h(t,i){this._context=t,this._alpha=i}h.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._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,i){if(t=+t,i=+i,this._point){var _=this._x2-t,h=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(_*_+h*h,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=i);break;case 2:this._point=3,this._x5=t,this._y5=i;break;default:(0,s.point)(this,t,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var e=function i(s){function _(i){return s?new h(i,s):new t.CardinalClosed(i,0)}return _.alpha=function(t){return i(+t)},_}(.5);exports.default=e; + },{"./cardinalClosed":"FUQi","../noop":"zOhu","./catmullRom":"6oFi"}],"PGVM":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("./cardinalOpen"),i=require("./catmullRom");function _(t,i){this._context=t,this._alpha=i}_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,_){if(t=+t,_=+_,this._point){var s=this._x2-t,h=this._y2-_;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(s*s+h*h,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,i.point)(this,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=t,this._y0=this._y1,this._y1=this._y2,this._y2=_}};var s=function i(s){function h(i){return s?new _(i,s):new t.CardinalOpen(i,0)}return h.alpha=function(t){return i(+t)},h}(.5);exports.default=s; + },{"./cardinalOpen":"6iWb","./catmullRom":"6oFi"}],"c2vC":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var t=e(require("../noop"));function e(t){return t&&t.__esModule?t:{default:t}}function n(t){this._context=t}function o(t){return new n(t)}n.prototype={areaStart:t.default,areaEnd:t.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}}; + },{"../noop":"zOhu"}],"DNx2":[function(require,module,exports) { + "use strict";function t(t){return t<0?-1:1}function i(i,n,e){var o=i._x1-i._x0,s=n-i._x1,h=(i._y1-i._y0)/(o||s<0&&-0),_=(e-i._y1)/(s||o<0&&-0),c=(h*s+_*o)/(o+s);return(t(h)+t(_))*Math.min(Math.abs(h),Math.abs(_),.5*Math.abs(c))||0}function n(t,i){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-i)/2:i}function e(t,i,n){var e=t._x0,o=t._y0,s=t._x1,h=t._y1,_=(s-e)/3;t._context.bezierCurveTo(e+_,o+_*i,s-_,h-_*n,s,h)}function o(t){this._context=t}function s(t){this._context=new h(t)}function h(t){this._context=t}function _(t){return new o(t)}function c(t){return new s(t)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.monotoneX=_,exports.monotoneY=c,o.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:e(this,this._t0,n(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,o){var s=NaN;if(o=+o,(t=+t)!==this._x1||o!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,o):this._context.moveTo(t,o);break;case 1:this._point=2;break;case 2:this._point=3,e(this,n(this,s=i(this,t,o)),s);break;default:e(this,this._t0,s=i(this,t,o))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=o,this._t0=s}}},(s.prototype=Object.create(o.prototype)).point=function(t,i){o.prototype.point.call(this,i,t)},h.prototype={moveTo:function(t,i){this._context.moveTo(i,t)},closePath:function(){this._context.closePath()},lineTo:function(t,i){this._context.lineTo(i,t)},bezierCurveTo:function(t,i,n,e,o,s){this._context.bezierCurveTo(i,t,e,n,s,o)}}; + },{}],"qyH2":[function(require,module,exports) { + "use strict";function t(t){this._context=t}function e(t){var e,i,n=t.length-1,o=new Array(n),r=new Array(n),s=new Array(n);for(o[0]=0,r[0]=2,s[0]=t[0]+2*t[1],e=1;e=0;--e)o[e]=(s[e]-o[e+1])/r[e];for(r[n-1]=(t[n]+o[n-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,i),this._context.lineTo(t,i);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,i)}}this._x=t,this._y=i}}; + },{}],"jW6Y":[function(require,module,exports) { + "use strict";function e(e,t){if((f=e.length)>1)for(var r,o,f,s=1,i=e[t[0]],l=i.length;s=0;)t[r]=r;return t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"k9Ur":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var e=require("./array"),t=u(require("./constant")),n=u(require("./offset/none")),r=u(require("./order/none"));function u(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return e[t]}function l(){var u=(0,t.default)([]),l=r.default,o=n.default,a=f;function i(e){var t,n,r=u.apply(this,arguments),f=e.length,i=r.length,c=new Array(i);for(t=0;t0){for(var f,o,u,n=0,l=r[0].length;n0)for(var r,o,f,l,n,s,u=0,i=e[t[0]].length;u=0?(o[0]=l,o[1]=l+=f):f<0?(o[1]=n,o[0]=n+=f):o[0]=l}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; + },{}],"UGaf":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=r(require("./none"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r,t){if((u=r.length)>0){for(var u,n=0,o=r[t[0]],f=o.length;n0&&(u=(o=r[t[0]]).length)>0){for(var o,u,f,n=0,a=1;ao&&(o=r,n=t);return n} + },{"./none":"NTwk"}],"Z1jP":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t,exports.sum=u;var e=r(require("./none"));function r(e){return e&&e.__esModule?e:{default:e}}function t(r){var t=r.map(u);return(0,e.default)(r).sort(function(e,r){return t[e]-t[r]})}function u(e){for(var r,t=0,u=-1,n=e.length;++u0)){if(n/=g,g<0){if(n0){if(n>o)return;n>d&&(d=n)}if(n=f-u,g||!(n<0)){if(n/=g,g<0){if(n>o)return;n>d&&(d=n)}else if(g>0){if(n0)){if(n/=c,c<0){if(n0){if(n>o)return;n>d&&(d=n)}if(n=t-a,c||!(n<0)){if(n/=c,c<0){if(n>o)return;n>d&&(d=n)}else if(c>0){if(n0||o<1)||(d>0&&(e[0]=[u+d*g,a+d*c]),o<1&&(e[1]=[u+o*g,a+o*c]),!0)}}}}}function n(e,r,i,f,t){var n=e[1];if(n)return!0;var s,l,u=e[0],a=e.left,d=e.right,o=a[0],g=a[1],c=d[0],p=d[1],h=(o+c)/2,v=(g+p)/2;if(p===g){if(h=f)return;if(o>c){if(u){if(u[1]>=t)return}else u=[h,i];n=[h,t]}else{if(u){if(u[1]1)if(o>c){if(u){if(u[1]>=t)return}else u=[(i-l)/s,i];n=[(t-l)/s,t]}else{if(u){if(u[1]=f)return}else u=[r,s*r+l];n=[f,s*f+l]}else{if(u){if(u[0]e.epsilon||Math.abs(l[0][1]-l[1][1])>e.epsilon)||delete e.edges[u]} + },{"./Diagram":"ZmLv"}],"bFev":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCell=l,exports.cellHalfedgeStart=t,exports.cellHalfedgeEnd=a,exports.sortCellHalfedges=n,exports.clipCells=o;var e=require("./Edge"),s=require("./Diagram");function l(e){return s.cells[e.index]={site:e,halfedges:[]}}function r(e,s){var l=e.site,r=s.left,t=s.right;return l===t&&(t=r,r=l),t?Math.atan2(t[1]-r[1],t[0]-r[0]):(l===r?(r=s[1],t=s[0]):(r=s[0],t=s[1]),Math.atan2(r[0]-t[0],t[1]-r[1]))}function t(e,s){return s[+(s.left!==e.site)]}function a(e,s){return s[+(s.left===e.site)]}function n(){for(var e,l,t,a,n=0,o=s.cells.length;ns.epsilon||Math.abs(x-M)>s.epsilon)&&(h.splice(g,0,s.edges.push((0,e.createBorderEdge)(f,b,Math.abs(v-l)s.epsilon?[l,Math.abs(u-l)s.epsilon?[Math.abs(M-o)s.epsilon?[n,Math.abs(u-n)s.epsilon?[Math.abs(M-r)=-i.epsilon2)){var y=u*u+x*x,C=h*h+v*v,k=(v*y-x*C)/d,R=(u*C-h*y)/d,N=t.pop()||new s;N.arc=r,N.site=o,N.x=k+n,N.y=(N.cy=R+p)+Math.sqrt(k*k+R*R),r.circle=N;for(var P=null,b=i.circles._;b;)if(N.yc.epsilon)g=g.L;else{if(!((d=h-o(g,f))>c.epsilon)){n>-c.epsilon?(a=g.P,s=g):d>-c.epsilon?(a=g,s=g.N):a=s=g;break}if(!g.R){a=g;break}g=g.R}(0,r.createCell)(e);var v=l(e);if(c.beaches.insert(a,v),a||s){if(a===s)return(0,i.detachCircle)(a),s=l(a.site),c.beaches.insert(v,s),v.edge=s.edge=(0,t.createEdge)(a.site,v.site),(0,i.attachCircle)(a),void(0,i.attachCircle)(s);if(s){(0,i.detachCircle)(a),(0,i.detachCircle)(s);var p=a.site,C=p[0],b=p[1],E=e[0]-C,q=e[1]-b,x=s.site,M=x[0]-C,N=x[1]-b,k=2*(E*N-q*M),B=E*E+q*q,P=M*M+N*N,R=[(N*B-q*P)/k+C,(E*P-M*B)/k+b];(0,t.setEdgeEnd)(s.edge,p,x,R),v.edge=(0,t.createEdge)(p,e,null,R),s.edge=(0,t.createEdge)(e,x,null,R),(0,i.attachCircle)(a),(0,i.attachCircle)(s)}else v.edge=(0,t.createEdge)(a.site,v.site)}}function u(e,r){var i=e.site,t=i[0],c=i[1],a=c-r;if(!a)return t;var s=e.P;if(!s)return-1/0;var l=(i=s.site)[0],n=i[1],d=n-r;if(!d)return l;var h=l-t,u=1/a-1/d,o=h/d;return u?(-o+Math.sqrt(o*o-2*u*(h*h/(-2*d)-n+d/2+c-a/2)))/u+t:(t+l)/2}function o(e,r){var i=e.N;if(i)return u(i,r);var t=e.site;return t[1]===r?t[0]:1/0} + },{"./RedBlackTree":"getm","./Cell":"bFev","./Circle":"Nay5","./Edge":"R6Hk","./Diagram":"ZmLv"}],"ZmLv":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=h,exports.edges=exports.circles=exports.cells=exports.beaches=exports.epsilon2=exports.epsilon=void 0;var e=require("./Beach"),r=require("./Cell"),t=require("./Circle"),s=require("./Edge"),l=i(require("./RedBlackTree"));function i(e){return e&&e.__esModule?e:{default:e}}var n=1e-6;exports.epsilon=n;var o,a,c,u,f=1e-12;function d(e,r,t){return(e[0]-t[0])*(r[1]-e[1])-(e[0]-r[0])*(t[1]-e[1])}function p(e,r){return r[1]-e[1]||r[0]-e[0]}function h(i,n){var f,d,h,g=i.sort(p).pop();for(exports.edges=u=[],exports.cells=a=new Array(i.length),exports.beaches=o=new l.default,exports.circles=c=new l.default;;)if(h=t.firstCircle,g&&(!h||g[1]=o)return null;var a=e-l.site[0],c=r-l.site[1],u=a*a+c*c;do{l=i.cells[s=n],n=null,l.halfedges.forEach(function(t){var s=i.edges[t],o=s.left;if(o!==l.site&&o||(o=s.right)){var a=e-o[0],c=r-o[1],f=a*a+c*c;fo?(o+i)/2:Math.min(0,o)||Math.max(0,i),u>r?(r+u)/2:Math.min(0,r)||Math.max(0,u))}function y(){var a,c,y=l,_=f,z=d,g=p,w=v,x=[0,1/0],b=[[-1/0,-1/0],[1/0,1/0]],M=250,T=n.interpolateZoom,k=(0,t.dispatch)("start","zoom","end"),q=500,j=150,O=0;function P(t){t.property("__zoom",m).on("wheel.zoom",G).on("mousedown.zoom",K).on("dblclick.zoom",S).filter(w).on("touchstart.zoom",A).on("touchmove.zoom",H).on("touchend.zoom touchcancel.zoom",W).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(t,e){return(e=Math.max(x[0],Math.min(x[1],e)))===t.k?t:new s.Transform(e,t.x,t.y)}function D(t,e,n){var o=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return o===t.x&&i===t.y?t:new s.Transform(t.k,o,i)}function V(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function Y(t,e,n){t.on("start.zoom",function(){B(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){B(this,arguments).end()}).tween("zoom",function(){var t=arguments,o=B(this,t),i=_.apply(this,t),r=n||V(i),u=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),h=this.__zoom,a="function"==typeof e?e.apply(this,t):e,c=T(h.invert(r).concat(u/h.k),a.invert(r).concat(u/a.k));return function(t){if(1===t)t=a;else{var e=c(t),n=u/e[2];t=new s.Transform(n,r[0]-e[0]*n,r[1]-e[1]*n)}o.zoom(null,t)}})}function B(t,e,n){return!n&&t.__zooming||new X(t,e)}function X(t,e){this.that=t,this.args=e,this.active=0,this.extent=_.apply(t,e),this.taps=0}function G(){if(y.apply(this,arguments)){var t=B(this,arguments),e=this.__zoom,n=Math.max(x[0],Math.min(x[1],e.k*Math.pow(2,g.apply(this,arguments)))),r=(0,o.mouse)(this);e.k!==n&&(t.wheel?(t.mouse[0][0]===r[0]&&t.mouse[0][1]===r[1]||(t.mouse[1]=e.invert(t.mouse[0]=r)),clearTimeout(t.wheel)):(t.mouse=[r,e.invert(r)],(0,i.interrupt)(this),t.start()),(0,h.default)(),t.wheel=setTimeout(function(){t.wheel=null,t.end()},j),t.zoom("mouse",z(D(E(e,n),t.mouse[0],t.mouse[1]),t.extent,b)))}}function K(){if(!c&&y.apply(this,arguments)){var t=B(this,arguments,!0),n=(0,o.select)(o.event.view).on("mousemove.zoom",function(){if((0,h.default)(),!t.moved){var e=o.event.clientX-u,n=o.event.clientY-s;t.moved=e*e+n*n>O}t.zoom("mouse",z(D(t.that.__zoom,t.mouse[0]=(0,o.mouse)(t.that),t.mouse[1]),t.extent,b))},!0).on("mouseup.zoom",function(){n.on("mousemove.zoom mouseup.zoom",null),(0,e.dragEnable)(o.event.view,t.moved),(0,h.default)(),t.end()},!0),r=(0,o.mouse)(this),u=o.event.clientX,s=o.event.clientY;(0,e.dragDisable)(o.event.view),(0,h.nopropagation)(),t.mouse=[r,this.__zoom.invert(r)],(0,i.interrupt)(this),t.start()}}function S(){if(y.apply(this,arguments)){var t=this.__zoom,e=(0,o.mouse)(this),n=t.invert(e),i=t.k*(o.event.shiftKey?.5:2),r=z(D(E(t,i),e,n),_.apply(this,arguments),b);(0,h.default)(),M>0?(0,o.select)(this).transition().duration(M).call(Y,r,e):(0,o.select)(this).call(P.transform,r)}}function A(){if(y.apply(this,arguments)){var t,e,n,r,u=o.event.touches,s=u.length,c=B(this,arguments,o.event.changedTouches.length===s);for((0,h.nopropagation)(),e=0;ei.text.length?t:i.text.length},0);return 7.4*Math.max(t,this.title.length)+25},f=function(){return 20*(this.items.length+1)+10},u=function(){return this.position.type===n.positionType.upRight||this.position.type===n.positionType.downRight?this.position.x:this.position.x-s(this,a,p).call(this)-20},c=function(){return this.position.type===n.positionType.downLeft||this.position.type===n.positionType.downRight?this.position.y:this.position.y-s(this,o,f).call(this)-20},d=n;exports.default=d; + },{}],"FpdU":[function(require,module,exports) { + "use strict";function t(t){t.append("defs").append("style").attr("type","text/css").text("@font-face {\n font-family: \"xkcd\";\n src: url('https://cdn.rawgit.com/ipython/xkcd-font/master/xkcd-script/font/xkcd-script.woff');\n }")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t; + },{}],"OZEo":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=[["#dd4528","#28a3dd","#f3db52","#ed84b5","#4ab74e","#9179c0","#8e6d5a","#f19839","#949494"],["#2CCCE4","#F47373","#DCE775","#FF8A65","#37D67A","#D9E3F0"]];exports.default=e; + },{}],"l9uX":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var t=e(require("./colors"));function e(t){return t&&t.__esModule?t:{default:t}}function r(e){e.append("filter").attr("id","xkcdify").attr("filterUnits","userSpaceOnUse").attr("x",-1e3).attr("y",-1e3).attr("width",1e4).attr("height",1e4).call(function(t){return t.append("feTurbulence").attr("type","fractalNoise").attr("baseFrequency","0.05").attr("result","noise")}).call(function(t){return t.append("feDisplacementMap").attr("scale","5").attr("xChannelSelector","R").attr("yChannelSelector","G").attr("in","SourceGraphic").attr("in2","noise")}),e.append("filter").attr("id","xkcdify-pie").call(function(t){return t.append("feTurbulence").attr("type","fractalNoise").attr("baseFrequency","0.05").attr("result","noise")}).call(function(t){return t.append("feDisplacementMap").attr("scale","5").attr("xChannelSelector","R").attr("yChannelSelector","G").attr("in","SourceGraphic").attr("in2","noise")}),e.append("pattern").attr("id","hatch00").attr("patternUnits","userSpaceOnUse").attr("x",0).attr("y",0).attr("width",10).attr("height",10).call(function(e){return e.append("path").attr("d","M3,0 l7,7 l0,-2 l-5,-5 l-2,0 M0,7 l3,3 l2,0 l-5,-5 l0,2").attr("fill",t.default[0][1]).attr("stroke","none")})} + },{"./colors":"OZEo"}],"BINh":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("d3"),e=n(require("./components/Tooltip")),a=n(require("./utils/addFont")),i=n(require("./utils/addFilter")),r=n(require("./utils/colors"));function n(t){return t&&t.__esModule?t:{default:t}}function o(t){return d(t)||s(t)||l()}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function s(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function d(t){if(Array.isArray(t)){for(var e=0,a=new Array(t.length);ea.width/2&&sa.width/2&&s>a.height/2?d=e.default.positionType.upLeft:la.height/2&&(d=e.default.positionType.upRight),a.tooltip.update({title:a.data.labels[n],items:[{color:r.default[0][n],text:"".concat(a.data.datasets[0].label||"",": ").concat(i)}],position:{x:l,y:s,type:d}})}),s.append("g").attr("transform","translate(0,"+this.height+")").call((0,t.axisBottom)(i).tickSize(0).tickPadding(6)).attr("font-family","xkcd").attr("font-size","16"),s.append("g").call((0,t.axisLeft)(l).tickSize(0).tickPadding(10).ticks(6)).attr("font-family","xkcd").attr("font-size","16"),(0,t.selectAll)(".domain").attr("filter","url(#xkcdify)")}},{key:"update",value:function(){}}]),n}(),g=p;exports.default=g; + },{"d3":"UzF0","./components/Tooltip":"/RUb","./utils/addFont":"FpdU","./utils/addFilter":"l9uX","./utils/colors":"OZEo"}],"DctN":[function(require,module,exports) { + "use strict";function t(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function i(t,i,e){return i in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}function e(t,i,e){if(!i.has(t))throw new TypeError("attempted to get private field on non-instance");return e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=function i(n){var d=this,f=n.parent,u=n.items,y=n.position;t(this,i),a.add(this),o.add(this),s.add(this),r.add(this),this.items=u,this.position=y,this.svg=f.append("svg").attr("x",e(this,o,l).call(this)).attr("y",e(this,a,c).call(this)),this.tipBackground=this.svg.append("rect").style("fill","white").attr("fill-opacity",.85).attr("stroke","black").attr("stroke-width",2).attr("rx",5).attr("ry",5).attr("filter","url(#xkcdify)").attr("width",e(this,r,h).call(this)).attr("height",e(this,s,p).call(this)).attr("x",5).attr("y",5),this.tipItems=u.map(function(t,i){var e=d.svg.append("g");return e.append("rect").style("fill",t.color).attr("width",8).attr("height",8).attr("rx",2).attr("ry",2).attr("filter","url(#xkcdify)").attr("x",15).attr("y",17+20*i),e.append("text").attr("font-family","xkcd").attr("font-size","15").attr("font-weight","lighter").attr("x",27).attr("y",17+20*i+8).text(t.text),e})},r=new WeakSet,s=new WeakSet,o=new WeakSet,a=new WeakSet;i(n,"positionType",{upLeft:1,upRight:2,downLeft:3,downRight:4});var h=function(){return 7.5*this.items.reduce(function(t,i){return t>i.text.length?t:i.text.length},0)+30},p=function(){return 20*this.items.length+10},l=function(){return this.position.type===n.positionType.upRight||this.position.type===n.positionType.downRight?this.position.x:this.position.x-e(this,r,h).call(this)-20},c=function(){return this.position.type===n.positionType.downLeft||this.position.type===n.positionType.downRight?this.position.y:this.position.y-e(this,s,p).call(this)-20},d=n;exports.default=d; + },{}],"D7TA":[function(require,module,exports) { + "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=s(require("d3")),e=n(require("./components/Tooltip")),i=n(require("./components/Legend")),a=n(require("./utils/addFont")),r=n(require("./utils/addFilter")),o=n(require("./utils/colors"));function n(t){return t&&t.__esModule?t:{default:t}}function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,i):{};a.get||a.set?Object.defineProperty(e,i,a):e[i]=t[i]}return e.default=t,e}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var i=0;ii.width/2&&fi.width/2&&f>i.height/2?m=e.default.positionType.upLeft:hi.height/2&&(m=e.default.positionType.upRight),i.tooltip.update({title:i.data.labels[g],items:b,position:{x:h,y:f,type:m}})});new a.default({parent:d,items:this.data.datasets.map(function(t,e){return{color:n.default[0][e],text:t.label}}),position:{x:3,y:3,type:e.default.positionType.downRight}})}},{key:"update",value:function(){}}]),o}(),b=g;exports.default=b; + },{"d3":"UzF0","./components/Tooltip":"/RUb","./components/Legend":"DctN","./utils/addFont":"FpdU","./utils/addFilter":"l9uX","./utils/colors":"OZEo"}],"fpy/":[function(require,module,exports) { + "use strict";var e=i(require("./Bar")),r=i(require("./Pie")),u=i(require("./Line"));function i(e){return e&&e.__esModule?e:{default:e}}module.exports={Bar:e.default,Pie:r.default,Line:u.default}; + },{"./Bar":"BINh","./Pie":"D7TA","./Line":"CmSo"}]},{},["fpy/"], "chartXkcd") + //# sourceMappingURL=/chart.xkcd.js.map + + + + + + + + + + + + + +looker.plugins.visualizations.add({ + // Id and Label are legacy properties that no longer have any function besides documenting + // what the visualization used to have. The properties are now set via the manifest + // form within the admin/visualizations page of Looker + id: "xkcd", + label: "XKCD", + options: { + chart_type: { + type: "string", + label: "Chart type", + values: [ + {"Bar": "Bar"}, + {"Line": "Line"}, + {"Pie": "Pie"} + ], + display: "radio", + default: "Bar" + } + }, + // Set up the initial state of the visualization + create: function(element, config) { + + // Insert a