UNPKG

421 kBSource Map (JSON)View Raw
1{"version":3,"file":"data-set.js","sources":["webpack://DataSet/data-set.js"],"sourcesContent":["!function(n,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.DataSet=t():n.DataSet=t()}(window,(function(){return function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(n,\"__esModule\",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&\"object\"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,\"default\",{enumerable:!0,value:n}),2&t&&\"string\"!=typeof n)for(var o in n)r.d(e,o,function(t){return n[t]}.bind(null,o));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,\"a\",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p=\"\",r(r.s=148)}([function(n,t,r){\"use strict\";r.d(t,\"h\",(function(){return e})),r.d(t,\"i\",(function(){return o})),r.d(t,\"n\",(function(){return i})),r.d(t,\"k\",(function(){return u})),r.d(t,\"p\",(function(){return a})),r.d(t,\"v\",(function(){return c})),r.d(t,\"g\",(function(){return f})),r.d(t,\"q\",(function(){return s})),r.d(t,\"a\",(function(){return l})),r.d(t,\"d\",(function(){return h})),r.d(t,\"e\",(function(){return p})),r.d(t,\"f\",(function(){return d})),r.d(t,\"j\",(function(){return v})),r.d(t,\"m\",(function(){return g})),r.d(t,\"o\",(function(){return y})),r.d(t,\"s\",(function(){return m})),r.d(t,\"r\",(function(){return b})),r.d(t,\"t\",(function(){return w})),r.d(t,\"u\",(function(){return x})),r.d(t,\"b\",(function(){return _})),r.d(t,\"c\",(function(){return E})),r.d(t,\"l\",(function(){return j}));var e=1e-6,o=1e-12,i=Math.PI,u=i/2,a=i/4,c=2*i,f=180/i,s=i/180,l=Math.abs,h=Math.atan,p=Math.atan2,d=Math.cos,v=(Math.ceil,Math.exp),g=(Math.floor,Math.log),y=Math.pow,m=Math.sin,b=Math.sign||function(n){return n>0?1:n<0?-1:0},w=Math.sqrt,x=Math.tan;function _(n){return n>1?0:n<-1?i:Math.acos(n)}function E(n){return n>1?u:n<-1?-u:Math.asin(n)}function j(n){return(n=m(n/2))*n}},,function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(86)),u=r(38),a=e.__importDefault(r(89)),c=function(n){function t(t){void 0===t&&(t={state:{}});var r=n.call(this)||this;return r.isDataSet=!0,r._onChangeTimer=null,r.views={},r.state={},r.state=t.state,r}return e.__extends(t,n),t.registerConnector=function(n,r){t.connectors[n]=r},t.getConnector=function(n){return t.connectors[n]||t.connectors.default},t.registerTransform=function(n,r){t.transforms[n]=r},t.getTransform=function(n){return t.transforms[n]||t.transforms.default},t.prototype._getUniqueViewName=function(){for(var n=o.uniqueId(\"view_\");this.views[n];)n=o.uniqueId(\"view_\");return n},t.prototype.createView=function(n,t){if(o.isNil(n)&&(n=this._getUniqueViewName()),o.isObject(n)&&(t=n,n=this._getUniqueViewName()),this.views[n])throw new Error(\"data view exists: \"+n);var r=new u.View(this,t);return this.views[n]=r,r},t.prototype.getView=function(n){return this.views[n]},t.prototype.setView=function(n,t){this.views[n]=t},t.prototype.setState=function(n,t){var r=this;this.state[n]=t,this._onChangeTimer&&(window.clearTimeout(this._onChangeTimer),this._onChangeTimer=null),this._onChangeTimer=window.setTimeout((function(){r.emit(\"statechange\",n,t)}),16)},t.CONSTANTS=a.default,t.connectors={},t.transforms={},t.DataSet=t,t.DataView=u.View,t.View=u.View,t.version=\"____DATASET_VERSION____\",t}(i.default);t.DataSet=c,o.assign(c,a.default),o.assign(c.prototype,{view:c.prototype.createView}),u.View.DataSet=c},function(n,t,r){\"use strict\";r.r(t);var e=function(n){return null!==n&&\"function\"!=typeof n&&isFinite(n.length)},o=function(n,t){return!!e(n)&&n.indexOf(t)>-1},i={}.toString,u=function(n,t){return i.call(n)===\"[object \"+t+\"]\"},a=function(n){return Array.isArray?Array.isArray(n):u(n,\"Array\")},c=function(n){var t=typeof n;return null!==n&&\"object\"===t||\"function\"===t};var f=function(n,t){if(n)if(a(n))for(var r=0,e=n.length;r<e&&!1!==t(n[r],r);r++);else if(c(n))for(var o in n)if(n.hasOwnProperty(o)&&!1===t(n[o],o))break},s=function(n,t){if(!e(n))return n;var r=[];return f(n,(function(n,e){t(n,e)&&r.push(n)})),r},l=function(n,t){return void 0===t&&(t=[]),s(n,(function(n){return!o(t,n)}))},h=function(n){return u(n,\"Function\")},p=function(n){return null==n},d=Object.keys?function(n){return Object.keys(n)}:function(n){var t=[];return f(n,(function(r,e){h(n)&&\"prototype\"===e||t.push(e)})),t};var v=function(n,t){var r=d(t),e=r.length;if(p(n))return!e;for(var o=0;o<e;o+=1){var i=r[o];if(t[i]!==n[i]||!(i in n))return!1}return!0},g=function(n){return\"object\"==typeof n&&null!==n},y=function(n){if(!g(n)||!u(n,\"Object\"))return!1;if(null===Object.getPrototypeOf(n))return!0;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t};var m=function(n,t){if(!a(n))return null;var r;if(h(t)&&(r=t),y(t)&&(r=function(n){return v(n,t)}),r)for(var e=0;e<n.length;e+=1)if(r(n[e]))return n[e];return null};var b=function(n,t,r){void 0===r&&(r=0);for(var e=r;e<n.length;e++)if(t(n[e],e))return e;return-1},w=function(n,t){for(var r=null,e=0;e<n.length;e++){var o=n[e][t];if(!p(o)){r=a(o)?o[0]:o;break}}return r},x=function(n){if(!a(n))return[];for(var t=[],r=0;r<n.length;r++)t=t.concat(n[r]);return t},_=function(n,t){if(void 0===t&&(t=[]),a(n))for(var r=0;r<n.length;r+=1)_(n[r],t);else t.push(n);return t},E=_,j=function(n){if(!(n=s(n,(function(n){return!isNaN(n)}))).length)return{min:0,max:0};if(a(n[0])){for(var t=[],r=0;r<n.length;r++)t=t.concat(n[r]);n=t}var e=Math.max.apply(null,n);return{min:Math.min.apply(null,n),max:e}},O=Array.prototype,S=O.splice,M=O.indexOf,T=function(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var e=0;e<t.length;e++)for(var o=t[e],i=-1;(i=M.call(n,o))>-1;)S.call(n,i,1);return n},k=Array.prototype.splice,P=function(n,t){if(!e(n))return[];for(var r=n?t.length:0,o=r-1;r--;){var i=void 0,u=t[r];r!==o&&u===i||(i=u,k.call(n,u,1))}return n},C=function(n,t,r){if(!a(n)&&!y(n))return n;var e=r;return f(n,(function(n,r){e=t(e,n,r)})),e},A=function(n,t){var r=[];if(!e(n))return r;for(var o=-1,i=[],u=n.length;++o<u;){var a=n[o];t(a,o,n)&&(r.push(a),i.push(o))}return P(n,i),r},N=function(n){return u(n,\"String\")};var R=function(n,t){var r;if(h(t))r=function(n,r){return t(n)-t(r)};else{var e=[];N(t)?e.push(t):a(t)&&(e=t),r=function(n,t){for(var r=0;r<e.length;r+=1){var o=e[r];if(n[o]>t[o])return 1;if(n[o]<t[o])return-1}return 0}}return n.sort(r),n},I=function(n){var t=[];return f(n,(function(n){o(t,n)||t.push(n)})),t},D=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return I([].concat.apply([],n))},L=function(n,t){var r=[],e={};return n.forEach((function(n){var o=n[t];p(o)||(a(o)||(o=[o]),f(o,(function(n){e[n]||(r.push(n),e[n]=!0)})))})),r};function q(n){if(e(n))return n[0]}function B(n){if(e(n)){return n[n.length-1]}}var z=function(n,t){return!(!a(n)&&!N(n))&&n[0]===t};var F=function(n,t){return!(!a(n)&&!N(n))&&n[n.length-1]===t},G=function(n,t){for(var r=0;r<n.length;r++)if(!t(n[r],r))return!1;return!0},V=function(n,t){for(var r=0;r<n.length;r++)if(t(n[r],r))return!0;return!1},H=Object.prototype.hasOwnProperty;var U=function(n,t){if(!t||!a(n))return{};var r,e={},o=h(t)?t:function(n){return n[t]};return f(n,(function(n){r=o(n),H.call(e,r)?e[r].push(n):e[r]=[n]})),e},W=function(n,t){if(!t)return{0:n};if(!h(t)){var r=a(t)?t:t.replace(/\\s+/g,\"\").split(\"*\");t=function(n){for(var t=\"_\",e=0,o=r.length;e<o;e++)t+=n[r[e]]&&n[r[e]].toString();return t}}return U(n,t)},Y=function(n,t){if(!t)return[n];var r=W(n,t),e=[];for(var o in r)e.push(r[o]);return e};var $=function(n,t){return n[\"_wrap_\"+t]};var J=function(n,t){if(n[\"_wrap_\"+t])return n[\"_wrap_\"+t];var r=function(r){n[t](r)};return n[\"_wrap_\"+t]=r,r},X={};var K=function(n){var t=X[n];if(!t){for(var r=n.toString(16),e=r.length;e<6;e++)r=\"0\"+r;t=\"#\"+r,X[n]=t}return t};var Q=function(n){var t=0,r=0,e=0,o=0;return a(n)?1===n.length?t=r=e=o=n[0]:2===n.length?(t=e=n[0],r=o=n[1]):3===n.length?(t=n[0],r=o=n[1],e=n[2]):(t=n[0],r=n[1],e=n[2],o=n[3]):t=r=e=o=n,{r1:t,r2:r,r3:e,r4:o}},Z=function(n,t,r){return n<t?t:n>r?r:n},nn=function(n,t){var r=t.toString(),e=r.indexOf(\".\");if(-1===e)return Math.round(n);var o=r.substr(e+1).length;return o>20&&(o=20),parseFloat(n.toFixed(o))},tn=function(n){return u(n,\"Number\")},rn=function(n){return tn(n)&&n%1!=0},en=function(n){return tn(n)&&n%2==0},on=Number.isInteger?Number.isInteger:function(n){return tn(n)&&n%1==0},un=function(n){return tn(n)&&n<0};function an(n,t,r){return void 0===r&&(r=1e-5),Math.abs(n-t)<r}var cn=function(n){return tn(n)&&n%2!=0},fn=function(n){return tn(n)&&n>0},sn=function(n,t){if(a(n)){var r,e,o=n[0];return r=h(t)?t(n[0]):n[0][t],f(n,(function(n){(e=h(t)?t(n):n[t])>r&&(o=n,r=e)})),o}},ln=function(n,t){if(a(n)){var r,e,o=n[0];return r=h(t)?t(n[0]):n[0][t],f(n,(function(n){(e=h(t)?t(n):n[t])<r&&(o=n,r=e)})),o}},hn=function(n,t){return(n%t+t)%t},pn=180/Math.PI,dn=function(n){return pn*n},vn=parseInt,gn=Math.PI/180,yn=function(n){return gn*n},mn=f,bn=function(n,t){return n.hasOwnProperty(t)},wn=bn,xn=Object.values?function(n){return Object.values(n)}:function(n){var t=[];return f(n,(function(r,e){h(n)&&\"prototype\"===e||t.push(r)})),t},_n=function(n,t){return o(xn(n),t)},En=function(n){return p(n)?\"\":n.toString()},jn=function(n){return En(n).toLowerCase()},On=function(n){var t=En(n);return t.charAt(0).toLowerCase()+t.substring(1)};var Sn=function(n,t){return n&&t?n.replace(/\\\\?\\{([^{}]+)\\}/g,(function(n,r){return\"\\\\\"===n.charAt(0)?n.slice(1):void 0===t[r]?\"\":t[r]})):n},Mn=function(n){return En(n).toUpperCase()},Tn=function(n){var t=En(n);return t.charAt(0).toUpperCase()+t.substring(1)},kn={}.toString,Pn=function(n){return kn.call(n).replace(/^\\[object /,\"\").replace(/]$/,\"\")},Cn=function(n){return u(n,\"Arguments\")},An=function(n){return u(n,\"Boolean\")},Nn=function(n){return u(n,\"Date\")},Rn=function(n){return u(n,\"Error\")},In=function(n){return tn(n)&&isFinite(n)},Dn=function(n){return null===n},Ln=Object.prototype,qn=function(n){var t=n&&n.constructor;return n===(\"function\"==typeof t&&t.prototype||Ln)},Bn=function(n){return u(n,\"RegExp\")},zn=function(n){return void 0===n},Fn=function(n){return n instanceof Element||n instanceof HTMLDocument};function Gn(n){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(n){return setTimeout(n,16)})(n)}function Vn(n){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(n)}function Hn(n,t){for(var r in t)t.hasOwnProperty(r)&&\"constructor\"!==r&&void 0!==t[r]&&(n[r]=t[r])}function Un(n,t,r,e){return t&&Hn(n,t),r&&Hn(n,r),e&&Hn(n,e),n}var Wn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var r=n[0],e=1;e<n.length;e++){var o=n[e];h(o)&&(o=o.prototype),Un(r.prototype,o)}},Yn=function(n){if(\"object\"!=typeof n||null===n)return n;var t;if(a(n)){t=[];for(var r=0,e=n.length;r<e;r++)\"object\"==typeof n[r]&&null!=n[r]?t[r]=Yn(n[r]):t[r]=n[r]}else for(var o in t={},n)\"object\"==typeof n[o]&&null!=n[o]?t[o]=Yn(n[o]):t[o]=n[o];return t},$n=Yn;var Jn=function(n,t,r){var e;return function(){var o=this,i=arguments,u=function(){e=null,r||n.apply(o,i)},a=r&&!e;clearTimeout(e),e=setTimeout(u,t),a&&n.apply(o,i)}},Xn=function(n,t){if(!h(n))throw new TypeError(\"Expected a function\");var r=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];var i=t?t.apply(this,e):e[0],u=r.cache;if(u.has(i))return u.get(i);var a=n.apply(this,e);return u.set(i,a),a};return r.cache=new Map,r};function Kn(n,t,r,e){for(var o in r=r||0,e=e||5,t)if(t.hasOwnProperty(o)){var i=t[o];null!==i&&y(i)?(y(n[o])||(n[o]={}),r<e?Kn(n[o],i,r+1,e):n[o]=t[o]):a(i)?(n[o]=[],n[o]=n[o].concat(i)):void 0!==i&&(n[o]=i)}}var Qn=function(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var e=0;e<t.length;e+=1)Kn(n,t[e]);return n},Zn=function(n,t,r,e){h(t)||(r=t,t=n,n=function(){});var o=Object.create?function(n,t){return Object.create(n,{constructor:{value:t}})}:function(n,t){function r(){}r.prototype=n;var e=new r;return e.constructor=t,e},i=o(t.prototype,n);return n.prototype=Un(i,n.prototype),n.superclass=o(t.prototype,t),Un(i,r),Un(n,e),n},nt=function(n,t){if(!e(n))return-1;var r=Array.prototype.indexOf;if(r)return r.call(n,t);for(var o=-1,i=0;i<n.length;i++)if(n[i]===t){o=i;break}return o},tt=Object.prototype.hasOwnProperty;var rt=function(n){if(p(n))return!0;if(e(n))return!n.length;var t=Pn(n);if(\"Map\"===t||\"Set\"===t)return!n.size;if(qn(n))return!Object.keys(n).length;for(var r in n)if(tt.call(n,r))return!1;return!0},et=function(n,t){if(n===t)return!0;if(!n||!t)return!1;if(N(n)||N(t))return!1;if(e(n)||e(t)){if(n.length!==t.length)return!1;for(var r=!0,o=0;o<n.length&&(r=et(n[o],t[o]));o++);return r}if(g(n)||g(t)){var i=Object.keys(n),u=Object.keys(t);if(i.length!==u.length)return!1;for(r=!0,o=0;o<i.length&&(r=et(n[i[o]],t[i[o]]));o++);return r}return!1},ot=et,it=function(n,t,r){return h(r)?!!r(n,t):ot(n,t)},ut=function(n,t){if(!e(n))return n;var r=[];return f(n,(function(n,e){r.push(t(n,e))})),r},at=function(n){return n},ct=function(n,t){void 0===t&&(t=at);var r={};return c(n)&&!p(n)&&Object.keys(n).forEach((function(e){r[e]=t(n[e],e)})),r},ft=function(n,t,r){for(var e=0,o=N(t)?t.split(\".\"):t;n&&e<o.length;)n=n[o[e++]];return void 0===n||e<o.length?r:n},st=function(n,t,r){var e=n,o=N(t)?t.split(\".\"):t;return o.forEach((function(n,t){t<o.length-1?(c(e[n])||(e[n]=tn(o[t+1])?[]:{}),e=e[n]):e[n]=r})),n},lt=Object.prototype.hasOwnProperty,ht=function(n,t){if(null===n||!y(n))return{};var r={};return f(t,(function(t){lt.call(n,t)&&(r[t]=n[t])})),r},pt=function(n,t,r){var e,o,i,u,a=0;r||(r={});var c=function(){a=!1===r.leading?0:Date.now(),e=null,u=n.apply(o,i),e||(o=i=null)},f=function(){var f=Date.now();a||!1!==r.leading||(a=f);var s=t-(f-a);return o=this,i=arguments,s<=0||s>t?(e&&(clearTimeout(e),e=null),a=f,u=n.apply(o,i),e||(o=i=null)):e||!1===r.trailing||(e=setTimeout(c,s)),u};return f.cancel=function(){clearTimeout(e),a=0,e=o=i=null},f},dt=function(n){return e(n)?Array.prototype.slice.call(n):[]},vt={},gt=function(n){return vt[n=n||\"g\"]?vt[n]+=1:vt[n]=1,n+vt[n]},yt=function(){},mt=function(n){return n};function bt(n){return p(n)?0:e(n)?n.length:Object.keys(n).length}var wt=function(){function n(){this.map={}}return n.prototype.has=function(n){return void 0!==this.map[n]},n.prototype.get=function(n,t){var r=this.map[n];return void 0===r?t:r},n.prototype.set=function(n,t){this.map[n]=t},n.prototype.clear=function(){this.map={}},n.prototype.delete=function(n){delete this.map[n]},n.prototype.size=function(){return Object.keys(this.map).length},n}();r.d(t,\"contains\",(function(){return o})),r.d(t,\"includes\",(function(){return o})),r.d(t,\"difference\",(function(){return l})),r.d(t,\"find\",(function(){return m})),r.d(t,\"findIndex\",(function(){return b})),r.d(t,\"firstValue\",(function(){return w})),r.d(t,\"flatten\",(function(){return x})),r.d(t,\"flattenDeep\",(function(){return E})),r.d(t,\"getRange\",(function(){return j})),r.d(t,\"pull\",(function(){return T})),r.d(t,\"pullAt\",(function(){return P})),r.d(t,\"reduce\",(function(){return C})),r.d(t,\"remove\",(function(){return A})),r.d(t,\"sortBy\",(function(){return R})),r.d(t,\"union\",(function(){return D})),r.d(t,\"uniq\",(function(){return I})),r.d(t,\"valuesOfKey\",(function(){return L})),r.d(t,\"head\",(function(){return q})),r.d(t,\"last\",(function(){return B})),r.d(t,\"startsWith\",(function(){return z})),r.d(t,\"endsWith\",(function(){return F})),r.d(t,\"filter\",(function(){return s})),r.d(t,\"every\",(function(){return G})),r.d(t,\"some\",(function(){return V})),r.d(t,\"group\",(function(){return Y})),r.d(t,\"groupBy\",(function(){return U})),r.d(t,\"groupToMap\",(function(){return W})),r.d(t,\"getWrapBehavior\",(function(){return $})),r.d(t,\"wrapBehavior\",(function(){return J})),r.d(t,\"number2color\",(function(){return K})),r.d(t,\"parseRadius\",(function(){return Q})),r.d(t,\"clamp\",(function(){return Z})),r.d(t,\"fixedBase\",(function(){return nn})),r.d(t,\"isDecimal\",(function(){return rn})),r.d(t,\"isEven\",(function(){return en})),r.d(t,\"isInteger\",(function(){return on})),r.d(t,\"isNegative\",(function(){return un})),r.d(t,\"isNumberEqual\",(function(){return an})),r.d(t,\"isOdd\",(function(){return cn})),r.d(t,\"isPositive\",(function(){return fn})),r.d(t,\"maxBy\",(function(){return sn})),r.d(t,\"minBy\",(function(){return ln})),r.d(t,\"mod\",(function(){return hn})),r.d(t,\"toDegree\",(function(){return dn})),r.d(t,\"toInteger\",(function(){return vn})),r.d(t,\"toRadian\",(function(){return yn})),r.d(t,\"forIn\",(function(){return mn})),r.d(t,\"has\",(function(){return bn})),r.d(t,\"hasKey\",(function(){return wn})),r.d(t,\"hasValue\",(function(){return _n})),r.d(t,\"keys\",(function(){return d})),r.d(t,\"isMatch\",(function(){return v})),r.d(t,\"values\",(function(){return xn})),r.d(t,\"lowerCase\",(function(){return jn})),r.d(t,\"lowerFirst\",(function(){return On})),r.d(t,\"substitute\",(function(){return Sn})),r.d(t,\"upperCase\",(function(){return Mn})),r.d(t,\"upperFirst\",(function(){return Tn})),r.d(t,\"getType\",(function(){return Pn})),r.d(t,\"isArguments\",(function(){return Cn})),r.d(t,\"isArray\",(function(){return a})),r.d(t,\"isArrayLike\",(function(){return e})),r.d(t,\"isBoolean\",(function(){return An})),r.d(t,\"isDate\",(function(){return Nn})),r.d(t,\"isError\",(function(){return Rn})),r.d(t,\"isFunction\",(function(){return h})),r.d(t,\"isFinite\",(function(){return In})),r.d(t,\"isNil\",(function(){return p})),r.d(t,\"isNull\",(function(){return Dn})),r.d(t,\"isNumber\",(function(){return tn})),r.d(t,\"isObject\",(function(){return c})),r.d(t,\"isObjectLike\",(function(){return g})),r.d(t,\"isPlainObject\",(function(){return y})),r.d(t,\"isPrototype\",(function(){return qn})),r.d(t,\"isRegExp\",(function(){return Bn})),r.d(t,\"isString\",(function(){return N})),r.d(t,\"isType\",(function(){return u})),r.d(t,\"isUndefined\",(function(){return zn})),r.d(t,\"isElement\",(function(){return Fn})),r.d(t,\"requestAnimationFrame\",(function(){return Gn})),r.d(t,\"clearAnimationFrame\",(function(){return Vn})),r.d(t,\"augment\",(function(){return Wn})),r.d(t,\"clone\",(function(){return $n})),r.d(t,\"debounce\",(function(){return Jn})),r.d(t,\"memoize\",(function(){return Xn})),r.d(t,\"deepMix\",(function(){return Qn})),r.d(t,\"each\",(function(){return f})),r.d(t,\"extend\",(function(){return Zn})),r.d(t,\"indexOf\",(function(){return nt})),r.d(t,\"isEmpty\",(function(){return rt})),r.d(t,\"isEqual\",(function(){return ot})),r.d(t,\"isEqualWith\",(function(){return it})),r.d(t,\"map\",(function(){return ut})),r.d(t,\"mapValues\",(function(){return ct})),r.d(t,\"mix\",(function(){return Un})),r.d(t,\"assign\",(function(){return Un})),r.d(t,\"get\",(function(){return ft})),r.d(t,\"set\",(function(){return st})),r.d(t,\"pick\",(function(){return ht})),r.d(t,\"throttle\",(function(){return pt})),r.d(t,\"toArray\",(function(){return dt})),r.d(t,\"toString\",(function(){return En})),r.d(t,\"uniqueId\",(function(){return gt})),r.d(t,\"noop\",(function(){return yt})),r.d(t,\"identity\",(function(){return mt})),r.d(t,\"size\",(function(){return bt})),r.d(t,\"Cache\",(function(){return wt}))},function(n,t,r){\"use strict\";r.r(t),r.d(t,\"__extends\",(function(){return o})),r.d(t,\"__assign\",(function(){return i})),r.d(t,\"__rest\",(function(){return u})),r.d(t,\"__decorate\",(function(){return a})),r.d(t,\"__param\",(function(){return c})),r.d(t,\"__metadata\",(function(){return f})),r.d(t,\"__awaiter\",(function(){return s})),r.d(t,\"__generator\",(function(){return l})),r.d(t,\"__exportStar\",(function(){return h})),r.d(t,\"__values\",(function(){return p})),r.d(t,\"__read\",(function(){return d})),r.d(t,\"__spread\",(function(){return v})),r.d(t,\"__spreadArrays\",(function(){return g})),r.d(t,\"__await\",(function(){return y})),r.d(t,\"__asyncGenerator\",(function(){return m})),r.d(t,\"__asyncDelegator\",(function(){return b})),r.d(t,\"__asyncValues\",(function(){return w})),r.d(t,\"__makeTemplateObject\",(function(){return x})),r.d(t,\"__importStar\",(function(){return _})),r.d(t,\"__importDefault\",(function(){return E}));\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\nvar e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};function o(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(n){for(var t,r=1,e=arguments.length;r<e;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}).apply(this,arguments)};function u(n,t){var r={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&t.indexOf(e)<0&&(r[e]=n[e]);if(null!=n&&\"function\"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(n);o<e.length;o++)t.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(n,e[o])&&(r[e[o]]=n[e[o]])}return r}function a(n,t,r,e){var o,i=arguments.length,u=i<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,r):e;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)u=Reflect.decorate(n,t,r,e);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(u=(i<3?o(u):i>3?o(t,r,u):o(t,r))||u);return i>3&&u&&Object.defineProperty(t,r,u),u}function c(n,t){return function(r,e){t(r,e,n)}}function f(n,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(n,t)}function s(n,t,r,e){return new(r||(r=Promise))((function(o,i){function u(n){try{c(e.next(n))}catch(n){i(n)}}function a(n){try{c(e.throw(n))}catch(n){i(n)}}function c(n){n.done?o(n.value):new r((function(t){t(n.value)})).then(u,a)}c((e=e.apply(n,t||[])).next())}))}function l(n,t){var r,e,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError(\"Generator is already executing.\");for(;u;)try{if(r=1,e&&(o=2&i[0]?e.return:i[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,i[1])).done)return o;switch(e=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,e=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(n,u)}catch(n){i=[6,n],e=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function h(n,t){for(var r in n)t.hasOwnProperty(r)||(t[r]=n[r])}function p(n){var t=\"function\"==typeof Symbol&&n[Symbol.iterator],r=0;return t?t.call(n):{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}}}function d(n,t){var r=\"function\"==typeof Symbol&&n[Symbol.iterator];if(!r)return n;var e,o,i=r.call(n),u=[];try{for(;(void 0===t||t-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(n){o={error:n}}finally{try{e&&!e.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function v(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(d(arguments[t]));return n}function g(){for(var n=0,t=0,r=arguments.length;t<r;t++)n+=arguments[t].length;var e=Array(n),o=0;for(t=0;t<r;t++)for(var i=arguments[t],u=0,a=i.length;u<a;u++,o++)e[o]=i[u];return e}function y(n){return this instanceof y?(this.v=n,this):new y(n)}function m(n,t,r){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var e,o=r.apply(n,t||[]),i=[];return e={},u(\"next\"),u(\"throw\"),u(\"return\"),e[Symbol.asyncIterator]=function(){return this},e;function u(n){o[n]&&(e[n]=function(t){return new Promise((function(r,e){i.push([n,t,r,e])>1||a(n,t)}))})}function a(n,t){try{(r=o[n](t)).value instanceof y?Promise.resolve(r.value.v).then(c,f):s(i[0][2],r)}catch(n){s(i[0][3],n)}var r}function c(n){a(\"next\",n)}function f(n){a(\"throw\",n)}function s(n,t){n(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function b(n){var t,r;return t={},e(\"next\"),e(\"throw\",(function(n){throw n})),e(\"return\"),t[Symbol.iterator]=function(){return this},t;function e(e,o){t[e]=n[e]?function(t){return(r=!r)?{value:y(n[e](t)),done:\"return\"===e}:o?o(t):t}:o}}function w(n){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var t,r=n[Symbol.asyncIterator];return r?r.call(n):(n=p(n),t={},e(\"next\"),e(\"throw\"),e(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function e(r){t[r]=n[r]&&function(t){return new Promise((function(e,o){(function(n,t,r,e){Promise.resolve(e).then((function(t){n({value:t,done:r})}),t)})(e,o,(t=n[r](t)).done,t.value)}))}}}function x(n,t){return Object.defineProperty?Object.defineProperty(n,\"raw\",{value:t}):n.raw=t,n}function _(n){if(n&&n.__esModule)return n;var t={};if(null!=n)for(var r in n)Object.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t.default=n,t}function E(n){return n&&n.__esModule?n:{default:n}}},function(n,t,r){\"use strict\";r.d(t,\"g\",(function(){return o})),r.d(t,\"a\",(function(){return i})),r.d(t,\"d\",(function(){return u})),r.d(t,\"c\",(function(){return a})),r.d(t,\"b\",(function(){return c})),r.d(t,\"f\",(function(){return f})),r.d(t,\"e\",(function(){return s}));var e=r(0);function o(n){return[Object(e.e)(n[1],n[0]),Object(e.c)(n[2])]}function i(n){var t=n[0],r=n[1],o=Object(e.f)(r);return[o*Object(e.f)(t),o*Object(e.s)(t),Object(e.s)(r)]}function u(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function a(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function c(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function f(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function s(n){var t=Object(e.t)(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}},function(n,t,r){\"use strict\";r.r(t);var e=function(n,t){return n<t?-1:n>t?1:n>=t?0:NaN},o=function(n){var t;return 1===n.length&&(t=n,n=function(n,r){return e(t(n),r)}),{left:function(t,r,e,o){for(null==e&&(e=0),null==o&&(o=t.length);e<o;){var i=e+o>>>1;n(t[i],r)<0?e=i+1:o=i}return e},right:function(t,r,e,o){for(null==e&&(e=0),null==o&&(o=t.length);e<o;){var i=e+o>>>1;n(t[i],r)>0?o=i:e=i+1}return e}}};var i=o(e),u=i.right,a=i.left,c=u,f=function(n,t){null==t&&(t=s);for(var r=0,e=n.length-1,o=n[0],i=new Array(e<0?0:e);r<e;)i[r]=t(o,o=n[++r]);return i};function s(n,t){return[n,t]}var l=function(n,t,r){var e,o,i,u,a=n.length,c=t.length,f=new Array(a*c);for(null==r&&(r=s),e=i=0;e<a;++e)for(u=n[e],o=0;o<c;++o,++i)f[i]=r(u,t[o]);return f},h=function(n,t){return t<n?-1:t>n?1:t>=n?0:NaN},p=function(n){return null===n?NaN:+n},d=function(n,t){var r,e,o=n.length,i=0,u=-1,a=0,c=0;if(null==t)for(;++u<o;)isNaN(r=p(n[u]))||(c+=(e=r-a)*(r-(a+=e/++i)));else for(;++u<o;)isNaN(r=p(t(n[u],u,n)))||(c+=(e=r-a)*(r-(a+=e/++i)));if(i>1)return c/(i-1)},v=function(n,t){var r=d(n,t);return r?Math.sqrt(r):r},g=function(n,t){var r,e,o,i=n.length,u=-1;if(null==t){for(;++u<i;)if(null!=(r=n[u])&&r>=r)for(e=o=r;++u<i;)null!=(r=n[u])&&(e>r&&(e=r),o<r&&(o=r))}else for(;++u<i;)if(null!=(r=t(n[u],u,n))&&r>=r)for(e=o=r;++u<i;)null!=(r=t(n[u],u,n))&&(e>r&&(e=r),o<r&&(o=r));return[e,o]},y=Array.prototype,m=y.slice,b=y.map,w=function(n){return function(){return n}},x=function(n){return n},_=function(n,t,r){n=+n,t=+t,r=(o=arguments.length)<2?(t=n,n=0,1):o<3?1:+r;for(var e=-1,o=0|Math.max(0,Math.ceil((t-n)/r)),i=new Array(o);++e<o;)i[e]=n+e*r;return i},E=Math.sqrt(50),j=Math.sqrt(10),O=Math.sqrt(2),S=function(n,t,r){var e,o,i,u,a=-1;if(r=+r,(n=+n)===(t=+t)&&r>0)return[n];if((e=t<n)&&(o=n,n=t,t=o),0===(u=M(n,t,r))||!isFinite(u))return[];if(u>0)for(n=Math.ceil(n/u),t=Math.floor(t/u),i=new Array(o=Math.ceil(t-n+1));++a<o;)i[a]=(n+a)*u;else for(n=Math.floor(n*u),t=Math.ceil(t*u),i=new Array(o=Math.ceil(n-t+1));++a<o;)i[a]=(n-a)/u;return e&&i.reverse(),i};function M(n,t,r){var e=(t-n)/Math.max(0,r),o=Math.floor(Math.log(e)/Math.LN10),i=e/Math.pow(10,o);return o>=0?(i>=E?10:i>=j?5:i>=O?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=E?10:i>=j?5:i>=O?2:1)}function T(n,t,r){var e=Math.abs(t-n)/Math.max(0,r),o=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),i=e/o;return i>=E?o*=10:i>=j?o*=5:i>=O&&(o*=2),t<n?-o:o}var k=function(n){return Math.ceil(Math.log(n.length)/Math.LN2)+1},P=function(){var n=x,t=g,r=k;function e(e){var o,i,u=e.length,a=new Array(u);for(o=0;o<u;++o)a[o]=n(e[o],o,e);var f=t(a),s=f[0],l=f[1],h=r(a,s,l);Array.isArray(h)||(h=T(s,l,h),h=_(Math.ceil(s/h)*h,l,h));for(var p=h.length;h[0]<=s;)h.shift(),--p;for(;h[p-1]>l;)h.pop(),--p;var d,v=new Array(p+1);for(o=0;o<=p;++o)(d=v[o]=[]).x0=o>0?h[o-1]:s,d.x1=o<p?h[o]:l;for(o=0;o<u;++o)s<=(i=a[o])&&i<=l&&v[c(h,i,0,p)].push(e[o]);return v}return e.value=function(t){return arguments.length?(n=\"function\"==typeof t?t:w(t),e):n},e.domain=function(n){return arguments.length?(t=\"function\"==typeof n?n:w([n[0],n[1]]),e):t},e.thresholds=function(n){return arguments.length?(r=\"function\"==typeof n?n:Array.isArray(n)?w(m.call(n)):w(n),e):r},e},C=function(n,t,r){if(null==r&&(r=p),e=n.length){if((t=+t)<=0||e<2)return+r(n[0],0,n);if(t>=1)return+r(n[e-1],e-1,n);var e,o=(e-1)*t,i=Math.floor(o),u=+r(n[i],i,n);return u+(+r(n[i+1],i+1,n)-u)*(o-i)}},A=function(n,t,r){return n=b.call(n,p).sort(e),Math.ceil((r-t)/(2*(C(n,.75)-C(n,.25))*Math.pow(n.length,-1/3)))},N=function(n,t,r){return Math.ceil((r-t)/(3.5*v(n)*Math.pow(n.length,-1/3)))},R=function(n,t){var r,e,o=n.length,i=-1;if(null==t){for(;++i<o;)if(null!=(r=n[i])&&r>=r)for(e=r;++i<o;)null!=(r=n[i])&&r>e&&(e=r)}else for(;++i<o;)if(null!=(r=t(n[i],i,n))&&r>=r)for(e=r;++i<o;)null!=(r=t(n[i],i,n))&&r>e&&(e=r);return e},I=function(n,t){var r,e=n.length,o=e,i=-1,u=0;if(null==t)for(;++i<e;)isNaN(r=p(n[i]))?--o:u+=r;else for(;++i<e;)isNaN(r=p(t(n[i],i,n)))?--o:u+=r;if(o)return u/o},D=function(n,t){var r,o=n.length,i=-1,u=[];if(null==t)for(;++i<o;)isNaN(r=p(n[i]))||u.push(r);else for(;++i<o;)isNaN(r=p(t(n[i],i,n)))||u.push(r);return C(u.sort(e),.5)},L=function(n){for(var t,r,e,o=n.length,i=-1,u=0;++i<o;)u+=n[i].length;for(r=new Array(u);--o>=0;)for(t=(e=n[o]).length;--t>=0;)r[--u]=e[t];return r},q=function(n,t){var r,e,o=n.length,i=-1;if(null==t){for(;++i<o;)if(null!=(r=n[i])&&r>=r)for(e=r;++i<o;)null!=(r=n[i])&&e>r&&(e=r)}else for(;++i<o;)if(null!=(r=t(n[i],i,n))&&r>=r)for(e=r;++i<o;)null!=(r=t(n[i],i,n))&&e>r&&(e=r);return e},B=function(n,t){for(var r=t.length,e=new Array(r);r--;)e[r]=n[t[r]];return e},z=function(n,t){if(r=n.length){var r,o,i=0,u=0,a=n[u];for(null==t&&(t=e);++i<r;)(t(o=n[i],a)<0||0!==t(a,a))&&(a=o,u=i);return 0===t(a,a)?u:void 0}},F=function(n,t,r){for(var e,o,i=(null==r?n.length:r)-(t=null==t?0:+t);i;)o=Math.random()*i--|0,e=n[i+t],n[i+t]=n[o+t],n[o+t]=e;return n},G=function(n,t){var r,e=n.length,o=-1,i=0;if(null==t)for(;++o<e;)(r=+n[o])&&(i+=r);else for(;++o<e;)(r=+t(n[o],o,n))&&(i+=r);return i},V=function(n){if(!(o=n.length))return[];for(var t=-1,r=q(n,H),e=new Array(r);++t<r;)for(var o,i=-1,u=e[t]=new Array(o);++i<o;)u[i]=n[i][t];return e};function H(n){return n.length}var U=function(){return V(arguments)};r.d(t,\"bisect\",(function(){return c})),r.d(t,\"bisectRight\",(function(){return u})),r.d(t,\"bisectLeft\",(function(){return a})),r.d(t,\"ascending\",(function(){return e})),r.d(t,\"bisector\",(function(){return o})),r.d(t,\"cross\",(function(){return l})),r.d(t,\"descending\",(function(){return h})),r.d(t,\"deviation\",(function(){return v})),r.d(t,\"extent\",(function(){return g})),r.d(t,\"histogram\",(function(){return P})),r.d(t,\"thresholdFreedmanDiaconis\",(function(){return A})),r.d(t,\"thresholdScott\",(function(){return N})),r.d(t,\"thresholdSturges\",(function(){return k})),r.d(t,\"max\",(function(){return R})),r.d(t,\"mean\",(function(){return I})),r.d(t,\"median\",(function(){return D})),r.d(t,\"merge\",(function(){return L})),r.d(t,\"min\",(function(){return q})),r.d(t,\"pairs\",(function(){return f})),r.d(t,\"permute\",(function(){return B})),r.d(t,\"quantile\",(function(){return C})),r.d(t,\"range\",(function(){return _})),r.d(t,\"scan\",(function(){return z})),r.d(t,\"shuffle\",(function(){return F})),r.d(t,\"sum\",(function(){return G})),r.d(t,\"ticks\",(function(){return S})),r.d(t,\"tickIncrement\",(function(){return M})),r.d(t,\"tickStep\",(function(){return T})),r.d(t,\"transpose\",(function(){return V})),r.d(t,\"variance\",(function(){return d})),r.d(t,\"zip\",(function(){return U}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=\"Invalid fields: it must be an array!\";t.getField=function(n,t){var r=n.field,o=n.fields;if(e.isString(r))return r;if(e.isArray(r))return console.warn(\"Invalid field: it must be a string!\"),r[0];if(console.warn(\"Invalid field: it must be a string! will try to get fields instead.\"),e.isString(o))return o;if(e.isArray(o)&&o.length)return o[0];if(t)return t;throw new TypeError(\"Invalid field: it must be a string!\")},t.getFields=function(n,t){var r=n.field,i=n.fields;if(e.isArray(i))return i;if(e.isString(i))return console.warn(o),[i];if(console.warn(o+\" will try to get field instead.\"),e.isString(r))return console.warn(o),[r];if(e.isArray(r)&&r.length)return console.warn(o),r;if(t)return t;throw new TypeError(o)}},function(n,t,r){var e;try{e={cloneDeep:r(309),constant:r(77),defaults:r(310),each:r(110),filter:r(113),find:r(311),flatten:r(140),forEach:r(111),forIn:r(316),has:r(124),isUndefined:r(125),last:r(317),map:r(126),mapValues:r(318),max:r(319),merge:r(321),min:r(327),minBy:r(328),now:r(329),pick:r(330),range:r(335),reduce:r(128),sortBy:r(338),uniqueId:r(343),values:r(133),zipObject:r(344)}}catch(n){}e||(e=window._),n.exports=e},function(n,t){var r=Array.isArray;n.exports=r},function(n,t,r){\"use strict\";var e=r(12),o=function(){var n,t=[];return{point:function(t,r){n.push([t,r])},lineStart:function(){t.push(n=[])},lineEnd:e.a,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var r=t;return t=[],n=null,r}}},i=r(0),u=function(n,t){return Object(i.a)(n[0]-t[0])<i.h&&Object(i.a)(n[1]-t[1])<i.h};function a(n,t,r,e){this.x=n,this.z=t,this.o=r,this.e=e,this.v=!1,this.n=this.p=null}var c=function(n,t,r,e,o){var i,c,s=[],l=[];if(n.forEach((function(n){if(!((t=n.length-1)<=0)){var t,r,e=n[0],c=n[t];if(u(e,c)){for(o.lineStart(),i=0;i<t;++i)o.point((e=n[i])[0],e[1]);o.lineEnd()}else s.push(r=new a(e,n,null,!0)),l.push(r.o=new a(e,null,r,!1)),s.push(r=new a(c,n,null,!1)),l.push(r.o=new a(c,null,r,!0))}})),s.length){for(l.sort(t),f(s),f(l),i=0,c=l.length;i<c;++i)l[i].e=r=!r;for(var h,p,d=s[0];;){for(var v=d,g=!0;v.v;)if((v=v.n)===d)return;h=v.z,o.lineStart();do{if(v.v=v.o.v=!0,v.e){if(g)for(i=0,c=h.length;i<c;++i)o.point((p=h[i])[0],p[1]);else e(v.x,v.n.x,1,o);v=v.n}else{if(g)for(h=v.p.z,i=h.length-1;i>=0;--i)o.point((p=h[i])[0],p[1]);else e(v.x,v.p.x,-1,o);v=v.p}h=(v=v.o).z,g=!g}while(!v.v);o.lineEnd()}}};function f(n){if(t=n.length){for(var t,r,e=0,o=n[0];++e<t;)o.n=r=n[e],r.p=o,o=r;o.n=r=n[0],r.p=o}}var s=r(29),l=r(5),h=Object(s.a)();function p(n){return Object(i.a)(n[0])<=i.n?n[0]:Object(i.r)(n[0])*((Object(i.a)(n[0])+i.n)%i.v-i.n)}var d=r(6),v=function(n,t,r,e){return function(u){var a,f,s,v=t(u),m=o(),b=t(m),w=!1,x={point:_,lineStart:j,lineEnd:O,polygonStart:function(){x.point=S,x.lineStart=M,x.lineEnd=T,f=[],a=[]},polygonEnd:function(){x.point=_,x.lineStart=j,x.lineEnd=O,f=Object(d.merge)(f);var n=function(n,t){var r=p(t),e=t[1],o=Object(i.s)(e),u=[Object(i.s)(r),-Object(i.f)(r),0],a=0,c=0;h.reset(),1===o?e=i.k+i.h:-1===o&&(e=-i.k-i.h);for(var f=0,s=n.length;f<s;++f)if(v=(d=n[f]).length)for(var d,v,g=d[v-1],y=p(g),m=g[1]/2+i.p,b=Object(i.s)(m),w=Object(i.f)(m),x=0;x<v;++x,y=E,b=O,w=S,g=_){var _=d[x],E=p(_),j=_[1]/2+i.p,O=Object(i.s)(j),S=Object(i.f)(j),M=E-y,T=M>=0?1:-1,k=T*M,P=k>i.n,C=b*O;if(h.add(Object(i.e)(C*T*Object(i.s)(k),w*S+C*Object(i.f)(k))),a+=P?M+T*i.v:M,P^y>=r^E>=r){var A=Object(l.c)(Object(l.a)(g),Object(l.a)(_));Object(l.e)(A);var N=Object(l.c)(u,A);Object(l.e)(N);var R=(P^M>=0?-1:1)*Object(i.c)(N[2]);(e>R||e===R&&(A[0]||A[1]))&&(c+=P^M>=0?1:-1)}}return(a<-i.h||a<i.h&&h<-i.h)^1&c}(a,e);f.length?(w||(u.polygonStart(),w=!0),c(f,y,n,r,u)):n&&(w||(u.polygonStart(),w=!0),u.lineStart(),r(null,null,1,u),u.lineEnd()),w&&(u.polygonEnd(),w=!1),f=a=null},sphere:function(){u.polygonStart(),u.lineStart(),r(null,null,1,u),u.lineEnd(),u.polygonEnd()}};function _(t,r){n(t,r)&&u.point(t,r)}function E(n,t){v.point(n,t)}function j(){x.point=E,v.lineStart()}function O(){x.point=_,v.lineEnd()}function S(n,t){s.push([n,t]),b.point(n,t)}function M(){b.lineStart(),s=[]}function T(){S(s[0][0],s[0][1]),b.lineEnd();var n,t,r,e,o=b.clean(),i=m.result(),c=i.length;if(s.pop(),a.push(s),s=null,c)if(1&o){if((t=(r=i[0]).length-1)>0){for(w||(u.polygonStart(),w=!0),u.lineStart(),n=0;n<t;++n)u.point((e=r[n])[0],e[1]);u.lineEnd()}}else c>1&&2&o&&i.push(i.pop().concat(i.shift())),f.push(i.filter(g))}return x}};function g(n){return n.length>1}function y(n,t){return((n=n.x)[0]<0?n[1]-i.k-i.h:i.k-n[1])-((t=t.x)[0]<0?t[1]-i.k-i.h:i.k-t[1])}var m=v((function(){return!0}),(function(n){var t,r=NaN,e=NaN,o=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,a){var c=u>0?i.n:-i.n,f=Object(i.a)(u-r);Object(i.a)(f-i.n)<i.h?(n.point(r,e=(e+a)/2>0?i.k:-i.k),n.point(o,e),n.lineEnd(),n.lineStart(),n.point(c,e),n.point(u,e),t=0):o!==c&&f>=i.n&&(Object(i.a)(r-o)<i.h&&(r-=o*i.h),Object(i.a)(u-c)<i.h&&(u-=c*i.h),e=function(n,t,r,e){var o,u,a=Object(i.s)(n-r);return Object(i.a)(a)>i.h?Object(i.d)((Object(i.s)(t)*(u=Object(i.f)(e))*Object(i.s)(r)-Object(i.s)(e)*(o=Object(i.f)(t))*Object(i.s)(n))/(o*u*a)):(t+e)/2}(r,e,u,a),n.point(o,e),n.lineEnd(),n.lineStart(),n.point(c,e),t=0),n.point(r=u,e=a),o=c},lineEnd:function(){n.lineEnd(),r=e=NaN},clean:function(){return 2-t}}}),(function(n,t,r,e){var o;if(null==n)o=r*i.k,e.point(-i.n,o),e.point(0,o),e.point(i.n,o),e.point(i.n,0),e.point(i.n,-o),e.point(0,-o),e.point(-i.n,-o),e.point(-i.n,0),e.point(-i.n,o);else if(Object(i.a)(n[0]-t[0])>i.h){var u=n[0]<t[0]?i.n:-i.n;o=r*u/2,e.point(-u,o),e.point(0,o),e.point(u,o)}else e.point(t[0],t[1])}),[-i.n,-i.k]);var b=r(147),w=function(n){var t=Object(i.f)(n),r=6*i.q,e=t>0,o=Object(i.a)(t)>i.h;function a(n,r){return Object(i.f)(n)*Object(i.f)(r)>t}function c(n,r,e){var o=Object(l.a)(n),u=Object(l.a)(r),a=[1,0,0],c=Object(l.c)(o,u),f=Object(l.d)(c,c),s=c[0],h=f-s*s;if(!h)return!e&&n;var p=t*f/h,d=-t*s/h,v=Object(l.c)(a,c),g=Object(l.f)(a,p),y=Object(l.f)(c,d);Object(l.b)(g,y);var m=v,b=Object(l.d)(g,m),w=Object(l.d)(m,m),x=b*b-w*(Object(l.d)(g,g)-1);if(!(x<0)){var _=Object(i.t)(x),E=Object(l.f)(m,(-b-_)/w);if(Object(l.b)(E,g),E=Object(l.g)(E),!e)return E;var j,O=n[0],S=r[0],M=n[1],T=r[1];S<O&&(j=O,O=S,S=j);var k=S-O,P=Object(i.a)(k-i.n)<i.h;if(!P&&T<M&&(j=M,M=T,T=j),P||k<i.h?P?M+T>0^E[1]<(Object(i.a)(E[0]-O)<i.h?M:T):M<=E[1]&&E[1]<=T:k>i.n^(O<=E[0]&&E[0]<=S)){var C=Object(l.f)(m,(-b+_)/w);return Object(l.b)(C,g),[E,Object(l.g)(C)]}}}function f(t,r){var o=e?n:i.n-n,u=0;return t<-o?u|=1:t>o&&(u|=2),r<-o?u|=4:r>o&&(u|=8),u}return v(a,(function(n){var t,r,s,l,h;return{lineStart:function(){l=s=!1,h=1},point:function(p,d){var v,g=[p,d],y=a(p,d),m=e?y?0:f(p,d):y?f(p+(p<0?i.n:-i.n),d):0;if(!t&&(l=s=y)&&n.lineStart(),y!==s&&(!(v=c(t,g))||u(t,v)||u(g,v))&&(g[0]+=i.h,g[1]+=i.h,y=a(g[0],g[1])),y!==s)h=0,y?(n.lineStart(),v=c(g,t),n.point(v[0],v[1])):(v=c(t,g),n.point(v[0],v[1]),n.lineEnd()),t=v;else if(o&&t&&e^y){var b;m&r||!(b=c(g,t,!0))||(h=0,e?(n.lineStart(),n.point(b[0][0],b[0][1]),n.point(b[1][0],b[1][1]),n.lineEnd()):(n.point(b[1][0],b[1][1]),n.lineEnd(),n.lineStart(),n.point(b[0][0],b[0][1])))}!y||t&&u(t,g)||n.point(g[0],g[1]),t=g,s=y,r=m},lineEnd:function(){s&&n.lineEnd(),t=null},clean:function(){return h|(l&&s)<<1}}}),(function(t,e,o,i){Object(b.a)(i,n,r,o,t,e)}),e?[0,-n]:[-i.n,n-i.n])};function x(n,t,r,e){function u(o,i){return n<=o&&o<=r&&t<=i&&i<=e}function a(o,i,u,a){var c=0,s=0;if(null==o||(c=f(o,u))!==(s=f(i,u))||l(o,i)<0^u>0)do{a.point(0===c||3===c?n:r,c>1?e:t)}while((c=(c+u+4)%4)!==s);else a.point(i[0],i[1])}function f(e,o){return Object(i.a)(e[0]-n)<i.h?o>0?0:3:Object(i.a)(e[0]-r)<i.h?o>0?2:1:Object(i.a)(e[1]-t)<i.h?o>0?1:0:o>0?3:2}function s(n,t){return l(n.x,t.x)}function l(n,t){var r=f(n,1),e=f(t,1);return r!==e?r-e:0===r?t[1]-n[1]:1===r?n[0]-t[0]:2===r?n[1]-t[1]:t[0]-n[0]}return function(i){var f,l,h,p,v,g,y,m,b,w,x,_=i,E=o(),j={point:O,lineStart:function(){j.point=S,l&&l.push(h=[]);w=!0,b=!1,y=m=NaN},lineEnd:function(){f&&(S(p,v),g&&b&&E.rejoin(),f.push(E.result()));j.point=O,b&&_.lineEnd()},polygonStart:function(){_=E,f=[],l=[],x=!0},polygonEnd:function(){var t=function(){for(var t=0,r=0,o=l.length;r<o;++r)for(var i,u,a=l[r],c=1,f=a.length,s=a[0],h=s[0],p=s[1];c<f;++c)i=h,u=p,s=a[c],h=s[0],p=s[1],u<=e?p>e&&(h-i)*(e-u)>(p-u)*(n-i)&&++t:p<=e&&(h-i)*(e-u)<(p-u)*(n-i)&&--t;return t}(),r=x&&t,o=(f=Object(d.merge)(f)).length;(r||o)&&(i.polygonStart(),r&&(i.lineStart(),a(null,null,1,i),i.lineEnd()),o&&c(f,s,t,a,i),i.polygonEnd());_=i,f=l=h=null}};function O(n,t){u(n,t)&&_.point(n,t)}function S(o,i){var a=u(o,i);if(l&&h.push([o,i]),w)p=o,v=i,g=a,w=!1,a&&(_.lineStart(),_.point(o,i));else if(a&&b)_.point(o,i);else{var c=[y=Math.max(-1e9,Math.min(1e9,y)),m=Math.max(-1e9,Math.min(1e9,m))],f=[o=Math.max(-1e9,Math.min(1e9,o)),i=Math.max(-1e9,Math.min(1e9,i))];!function(n,t,r,e,o,i){var u,a=n[0],c=n[1],f=0,s=1,l=t[0]-a,h=t[1]-c;if(u=r-a,l||!(u>0)){if(u/=l,l<0){if(u<f)return;u<s&&(s=u)}else if(l>0){if(u>s)return;u>f&&(f=u)}if(u=o-a,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u<f)return;u<s&&(s=u)}if(u=e-c,h||!(u>0)){if(u/=h,h<0){if(u<f)return;u<s&&(s=u)}else if(h>0){if(u>s)return;u>f&&(f=u)}if(u=i-c,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u<f)return;u<s&&(s=u)}return f>0&&(n[0]=a+f*l,n[1]=c+f*h),s<1&&(t[0]=a+s*l,t[1]=c+s*h),!0}}}}}(c,f,n,t,r,e)?a&&(_.lineStart(),_.point(o,i),x=!1):(b||(_.lineStart(),_.point(c[0],c[1])),_.point(f[0],f[1]),a||_.lineEnd(),x=!1)}y=o,m=i,b=a}return j}}var _=r(45),E=function(n){return n},j=r(37);function O(n){return function(t){var r=new S;for(var e in n)r[e]=n[e];return r.stream=t,r}}function S(){}S.prototype={constructor:S,point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var M=r(25),T=1/0,k=T,P=-T,C=P;var A={point:function(n,t){n<T&&(T=n);n>P&&(P=n);t<k&&(k=t);t>C&&(C=t)},lineStart:e.a,lineEnd:e.a,polygonStart:e.a,polygonEnd:e.a,result:function(){var n=[[T,k],[P,C]];return P=C=-(k=T=1/0),n}};function N(n,t,r){var e=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),null!=e&&n.clipExtent(null),Object(M.a)(r,n.stream(A)),t(A.result()),null!=e&&n.clipExtent(e),n}function R(n,t,r){return N(n,(function(r){var e=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=Math.min(e/(r[1][0]-r[0][0]),o/(r[1][1]-r[0][1])),u=+t[0][0]+(e-i*(r[1][0]+r[0][0]))/2,a=+t[0][1]+(o-i*(r[1][1]+r[0][1]))/2;n.scale(150*i).translate([u,a])}),r)}var I=Object(i.f)(30*i.q),D=function(n,t){return+t?function(n,t){function r(e,o,u,a,c,f,s,l,h,p,d,v,g,y){var m=s-e,b=l-o,w=m*m+b*b;if(w>4*t&&g--){var x=a+p,_=c+d,E=f+v,j=Object(i.t)(x*x+_*_+E*E),O=Object(i.c)(E/=j),S=Object(i.a)(Object(i.a)(E)-1)<i.h||Object(i.a)(u-h)<i.h?(u+h)/2:Object(i.e)(_,x),M=n(S,O),T=M[0],k=M[1],P=T-e,C=k-o,A=b*P-m*C;(A*A/w>t||Object(i.a)((m*P+b*C)/w-.5)>.3||a*p+c*d+f*v<I)&&(r(e,o,u,a,c,f,T,k,S,x/=j,_/=j,E,g,y),y.point(T,k),r(T,k,S,x,_,E,s,l,h,p,d,v,g,y))}}return function(t){var e,o,i,u,a,c,f,s,h,p,d,v,g={point:y,lineStart:m,lineEnd:w,polygonStart:function(){t.polygonStart(),g.lineStart=x},polygonEnd:function(){t.polygonEnd(),g.lineStart=m}};function y(r,e){r=n(r,e),t.point(r[0],r[1])}function m(){s=NaN,g.point=b,t.lineStart()}function b(e,o){var i=Object(l.a)([e,o]),u=n(e,o);r(s,h,f,p,d,v,s=u[0],h=u[1],f=e,p=i[0],d=i[1],v=i[2],16,t),t.point(s,h)}function w(){g.point=y,t.lineEnd()}function x(){m(),g.point=_,g.lineEnd=E}function _(n,t){b(e=n,t),o=s,i=h,u=p,a=d,c=v,g.point=b}function E(){r(s,h,f,p,d,v,o,i,e,u,a,c,16,t),g.lineEnd=w,w()}return g}}(n,t):function(n){return O({point:function(t,r){t=n(t,r),this.stream.point(t[0],t[1])}})}(n)};r.d(t,\"a\",(function(){return z})),r.d(t,\"b\",(function(){return F}));var L=O({point:function(n,t){this.stream.point(n*i.q,t*i.q)}});function q(n,t,r){function e(e,o){return[t+n*e,r-n*o]}return e.invert=function(e,o){return[(e-t)/n,(r-o)/n]},e}function B(n,t,r,e){var o=Object(i.f)(e),u=Object(i.s)(e),a=o*n,c=u*n,f=o/n,s=u/n,l=(u*r-o*t)/n,h=(u*t+o*r)/n;function p(n,e){return[a*n-c*e+t,r-c*n-a*e]}return p.invert=function(n,t){return[f*n-s*t+l,h-s*n-f*t]},p}function z(n){return F((function(){return n}))()}function F(n){var t,r,e,o,u,a,c,f,s,l,h=150,p=480,d=250,v=0,g=0,y=0,b=0,S=0,M=0,T=null,k=m,P=null,C=E,A=.5;function I(n){return f(n[0]*i.q,n[1]*i.q)}function z(n){return(n=f.invert(n[0],n[1]))&&[n[0]*i.g,n[1]*i.g]}function F(){var n=B(h,0,0,M).apply(null,t(v,g)),e=(M?B:q)(h,p-n[0],d-n[1],M);return r=Object(j.b)(y,b,S),c=Object(_.a)(t,e),f=Object(_.a)(r,c),a=D(c,A),G()}function G(){return s=l=null,I}return I.stream=function(n){return s&&l===n?s:s=L(function(n){return O({point:function(t,r){var e=n(t,r);return this.stream.point(e[0],e[1])}})}(r)(k(a(C(l=n)))))},I.preclip=function(n){return arguments.length?(k=n,T=void 0,G()):k},I.postclip=function(n){return arguments.length?(C=n,P=e=o=u=null,G()):C},I.clipAngle=function(n){return arguments.length?(k=+n?w(T=n*i.q):(T=null,m),G()):T*i.g},I.clipExtent=function(n){return arguments.length?(C=null==n?(P=e=o=u=null,E):x(P=+n[0][0],e=+n[0][1],o=+n[1][0],u=+n[1][1]),G()):null==P?null:[[P,e],[o,u]]},I.scale=function(n){return arguments.length?(h=+n,F()):h},I.translate=function(n){return arguments.length?(p=+n[0],d=+n[1],F()):[p,d]},I.center=function(n){return arguments.length?(v=n[0]%360*i.q,g=n[1]%360*i.q,F()):[v*i.g,g*i.g]},I.rotate=function(n){return arguments.length?(y=n[0]%360*i.q,b=n[1]%360*i.q,S=n.length>2?n[2]%360*i.q:0,F()):[y*i.g,b*i.g,S*i.g]},I.angle=function(n){return arguments.length?(M=n%360*i.q,F()):M*i.g},I.precision=function(n){return arguments.length?(a=D(c,A=n*n),G()):Object(i.t)(A)},I.fitExtent=function(n,t){return R(I,n,t)},I.fitSize=function(n,t){return function(n,t,r){return R(n,[[0,0],t],r)}(I,n,t)},I.fitWidth=function(n,t){return function(n,t,r){return N(n,(function(r){var e=+t,o=e/(r[1][0]-r[0][0]),i=(e-o*(r[1][0]+r[0][0]))/2,u=-o*r[0][1];n.scale(150*o).translate([i,u])}),r)}(I,n,t)},I.fitHeight=function(n,t){return function(n,t,r){return N(n,(function(r){var e=+t,o=e/(r[1][1]-r[0][1]),i=-o*r[0][0],u=(e-o*(r[1][1]+r[0][1]))/2;n.scale(150*o).translate([i,u])}),r)}(I,n,t)},function(){return t=n.apply(this,arguments),I.invert=t.invert&&z,F()}}},function(n,t,r){\"use strict\";var e=r(8),o=r(18).Graph;function i(n,t,r,o){var i;do{i=e.uniqueId(o)}while(n.hasNode(i));return r.dummy=t,n.setNode(i,r),i}function u(n){return e.max(e.map(n.nodes(),(function(t){var r=n.node(t).rank;if(!e.isUndefined(r))return r})))}n.exports={addDummyNode:i,simplify:function(n){var t=(new o).setGraph(n.graph());return e.forEach(n.nodes(),(function(r){t.setNode(r,n.node(r))})),e.forEach(n.edges(),(function(r){var e=t.edge(r.v,r.w)||{weight:0,minlen:1},o=n.edge(r);t.setEdge(r.v,r.w,{weight:e.weight+o.weight,minlen:Math.max(e.minlen,o.minlen)})})),t},asNonCompoundGraph:function(n){var t=new o({multigraph:n.isMultigraph()}).setGraph(n.graph());return e.forEach(n.nodes(),(function(r){n.children(r).length||t.setNode(r,n.node(r))})),e.forEach(n.edges(),(function(r){t.setEdge(r,n.edge(r))})),t},successorWeights:function(n){var t=e.map(n.nodes(),(function(t){var r={};return e.forEach(n.outEdges(t),(function(t){r[t.w]=(r[t.w]||0)+n.edge(t).weight})),r}));return e.zipObject(n.nodes(),t)},predecessorWeights:function(n){var t=e.map(n.nodes(),(function(t){var r={};return e.forEach(n.inEdges(t),(function(t){r[t.v]=(r[t.v]||0)+n.edge(t).weight})),r}));return e.zipObject(n.nodes(),t)},intersectRect:function(n,t){var r,e,o=n.x,i=n.y,u=t.x-o,a=t.y-i,c=n.width/2,f=n.height/2;if(!u&&!a)throw new Error(\"Not possible to find intersection inside of the rectangle\");Math.abs(a)*c>Math.abs(u)*f?(a<0&&(f=-f),r=f*u/a,e=f):(u<0&&(c=-c),r=c,e=c*a/u);return{x:o+r,y:i+e}},buildLayerMatrix:function(n){var t=e.map(e.range(u(n)+1),(function(){return[]}));return e.forEach(n.nodes(),(function(r){var o=n.node(r),i=o.rank;e.isUndefined(i)||(t[i][o.order]=r)})),t},normalizeRanks:function(n){var t=e.min(e.map(n.nodes(),(function(t){return n.node(t).rank})));e.forEach(n.nodes(),(function(r){var o=n.node(r);e.has(o,\"rank\")&&(o.rank-=t)}))},removeEmptyRanks:function(n){var t=e.min(e.map(n.nodes(),(function(t){return n.node(t).rank}))),r=[];e.forEach(n.nodes(),(function(e){var o=n.node(e).rank-t;r[o]||(r[o]=[]),r[o].push(e)}));var o=0,i=n.graph().nodeRankFactor;e.forEach(r,(function(t,r){e.isUndefined(t)&&r%i!=0?--o:o&&e.forEach(t,(function(t){n.node(t).rank+=o}))}))},addBorderNode:function(n,t,r,e){var o={width:0,height:0};arguments.length>=4&&(o.rank=r,o.order=e);return i(n,\"border\",o,t)},maxRank:u,partition:function(n,t){var r={lhs:[],rhs:[]};return e.forEach(n,(function(n){t(n)?r.lhs.push(n):r.rhs.push(n)})),r},time:function(n,t){var r=e.now();try{return t()}finally{console.log(n+\" time: \"+(e.now()-r)+\"ms\")}},notime:function(n,t){return t()}}},function(n,t,r){\"use strict\";function e(){}r.d(t,\"a\",(function(){return e}))},,function(n,t,r){var e;try{e={clone:r(196),constant:r(77),each:r(110),filter:r(113),has:r(124),isArray:r(9),isEmpty:r(273),isFunction:r(39),isUndefined:r(125),keys:r(24),map:r(126),reduce:r(128),size:r(276),transform:r(282),union:r(283),values:r(133)}}catch(n){}e||(e=window._),n.exports=e},function(n,t){n.exports=function(n){var t=typeof n;return null!=n&&(\"object\"==t||\"function\"==t)}},function(n,t,r){\"use strict\";r.d(t,\"b\",(function(){return o})),r.d(t,\"a\",(function(){return i}));var e=r(0);function o(n){return function(t,r){var o=Object(e.f)(t),i=Object(e.f)(r),u=n(o*i);return[u*i*Object(e.s)(t),u*Object(e.s)(r)]}}function i(n){return function(t,r){var o=Object(e.t)(t*t+r*r),i=n(o),u=Object(e.s)(i),a=Object(e.f)(i);return[Object(e.e)(t*u,o*a),Object(e.c)(o&&r*u/o)]}}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(152));t.default=function(n,t,r){void 0===r&&(r=[]);var e,u=n;return r&&r.length&&(u=i.default(n,r)),o.isFunction(t)?e=t:o.isArray(t)?e=function(n){return\"_\"+t.map((function(t){return n[t]})).join(\"-\")}:o.isString(t)&&(e=function(n){return\"_\"+n[t]}),o.groupBy(u,e)}},function(n,t,r){var e;try{e=r(194)}catch(n){}e||(e=window.graphlib),n.exports=e},function(n,t,r){var e=r(93),o=\"object\"==typeof self&&self&&self.Object===Object&&self,i=e||o||Function(\"return this\")();n.exports=i},function(n,t){n.exports=function(n){return null!=n&&\"object\"==typeof n}},function(n,t,r){!function(n){\"use strict\";function t(n){if(0===n.length)return 0;for(var t,r=n[0],e=0,o=1;o<n.length;o++)t=r+n[o],Math.abs(r)>=Math.abs(n[o])?e+=r-t+n[o]:e+=n[o]-t+r,r=t;return r+e}function r(n){if(0===n.length)throw new Error(\"mean requires at least one data point\");return t(n)/n.length}function e(n,t){var e,o,i=r(n),u=0;if(2===t)for(o=0;o<n.length;o++)u+=(e=n[o]-i)*e;else for(o=0;o<n.length;o++)u+=Math.pow(n[o]-i,t);return u}function o(n){if(0===n.length)throw new Error(\"variance requires at least one data point\");return e(n,2)/n.length}function i(n){if(1===n.length)return 0;var t=o(n);return Math.sqrt(t)}function u(n){if(0===n.length)throw new Error(\"mode requires at least one data point\");if(1===n.length)return n[0];for(var t=n[0],r=NaN,e=0,o=1,i=1;i<n.length+1;i++)n[i]!==t?(e<o&&(e=o,r=t),o=1,t=n[i]):o++;return r}function a(n){return n.slice().sort((function(n,t){return n-t}))}function c(n){if(0===n.length)throw new Error(\"min requires at least one data point\");for(var t=n[0],r=1;r<n.length;r++)n[r]<t&&(t=n[r]);return t}function f(n){if(0===n.length)throw new Error(\"max requires at least one data point\");for(var t=n[0],r=1;r<n.length;r++)n[r]>t&&(t=n[r]);return t}function s(n,t){var r=n.length*t;if(0===n.length)throw new Error(\"quantile requires at least one data point.\");if(t<0||1<t)throw new Error(\"quantiles must be between 0 and 1\");return 1===t?n[n.length-1]:0===t?n[0]:r%1!=0?n[Math.ceil(r)-1]:n.length%2==0?(n[r-1]+n[r])/2:n[r]}function l(n,t,r,e){for(r=r||0,e=e||n.length-1;r<e;){if(600<e-r){var o=e-r+1,i=t-r+1,u=Math.log(o),a=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*a*(o-a)/o);i-o/2<0&&(c*=-1),l(n,t,Math.max(r,Math.floor(t-i*a/o+c)),Math.min(e,Math.floor(t+(o-i)*a/o+c)))}var f=n[t],s=r,p=e;for(h(n,r,t),n[e]>f&&h(n,r,e);s<p;){for(h(n,s,p),s++,p--;n[s]<f;)s++;for(;n[p]>f;)p--}n[r]===f?h(n,r,p):h(n,++p,e),p<=t&&(r=p+1),t<=p&&(e=p-1)}}function h(n,t,r){var e=n[t];n[t]=n[r],n[r]=e}function p(n,t){var r=n.slice();if(Array.isArray(t)){!function(n,t){for(var r=[0],e=0;e<t.length;e++)r.push(g(n.length,t[e]));r.push(n.length-1),r.sort(v);for(var o=[0,r.length-1];o.length;){var i=Math.ceil(o.pop()),u=Math.floor(o.pop());if(!(i-u<=1)){var a=Math.floor((u+i)/2);d(n,r[a],r[u],r[i]),o.push(u,a,a,i)}}}(r,t);for(var e=[],o=0;o<t.length;o++)e[o]=s(r,t[o]);return e}return d(r,g(r.length,t),0,r.length-1),s(r,t)}function d(n,t,r,e){t%1==0?l(n,t,r,e):(l(n,t=Math.floor(t),r,e),l(n,t+1,t+1,e))}function v(n,t){return n-t}function g(n,t){var r=n*t;return 1===t?n-1:0===t?0:r%1!=0?Math.ceil(r)-1:n%2==0?r-.5:r}function y(n,t){if(t<n[0])return 0;if(t>n[n.length-1])return 1;var r=function(n,t){for(var r=0,e=0,o=n.length;e<o;)t<=n[r=e+o>>>1]?o=r:e=-~r;return e}(n,t);if(n[r]!==t)return r/n.length;r++;var e=function(n,t){for(var r=0,e=0,o=n.length;e<o;)t>=n[r=e+o>>>1]?e=-~r:o=r;return e}(n,t);if(e===r)return r/n.length;var o=e-r+1;return o*(e+r)/2/o/n.length}function m(n){var t=p(n,.75),r=p(n,.25);if(\"number\"==typeof t&&\"number\"==typeof r)return t-r}function b(n){return+p(n,.5)}function w(n){for(var t=b(n),r=[],e=0;e<n.length;e++)r.push(Math.abs(n[e]-t));return b(r)}function x(n,t){t=t||Math.random;for(var r,e,o=n.length;0<o;)e=Math.floor(t()*o--),r=n[o],n[o]=n[e],n[e]=r;return n}function _(n,t){return x(n.slice().slice(),t)}function E(n){for(var t,r=0,e=0;e<n.length;e++)0!==e&&n[e]===t||(t=n[e],r++);return r}function j(n,t){for(var r=[],e=0;e<n;e++){for(var o=[],i=0;i<t;i++)o.push(0);r.push(o)}return r}function O(n,t,r,e){var o;if(0<n){var i=(r[t]-r[n-1])/(t-n+1);o=e[t]-e[n-1]-(t-n+1)*i*i}else o=e[t]-r[t]*r[t]/(t+1);return o<0?0:o}function S(n,t,r,e,o,i,u){if(!(t<n)){var a=Math.floor((n+t)/2);e[r][a]=e[r-1][a-1],o[r][a]=a;var c=r;r<n&&(c=Math.max(c,o[r][n-1]||0)),c=Math.max(c,o[r-1][a]||0);var f,s,l,h=a-1;t<e.length-1&&(h=Math.min(h,o[r][t+1]||0));for(var p=h;c<=p&&!((f=O(p,a,i,u))+e[r-1][c-1]>=e[r][a]);--p)(s=O(c,a,i,u)+e[r-1][c-1])<e[r][a]&&(e[r][a]=s,o[r][a]=c),c++,(l=f+e[r-1][p-1])<e[r][a]&&(e[r][a]=l,o[r][a]=p);S(n,a-1,r,e,o,i,u),S(a+1,t,r,e,o,i,u)}}function M(n,t){if(n.length!==t.length)throw new Error(\"sampleCovariance requires samples with equal lengths\");if(n.length<2)throw new Error(\"sampleCovariance requires at least two data points in each sample\");for(var e=r(n),o=r(t),i=0,u=0;u<n.length;u++)i+=(n[u]-e)*(t[u]-o);return i/(n.length-1)}function T(n){if(n.length<2)throw new Error(\"sampleVariance requires at least two data points\");return e(n,2)/(n.length-1)}function k(n){var t=T(n);return Math.sqrt(t)}function P(n,t,r,e){return(n*t+r*e)/(t+e)}function C(n){if(0===n.length)throw new Error(\"rootMeanSquare requires at least one data point\");for(var t=0,r=0;r<n.length;r++)t+=Math.pow(n[r],2);return Math.sqrt(t/n.length)}function A(){this.totalCount=0,this.data={}}function N(){this.weights=[],this.bias=0}A.prototype.train=function(n,t){for(var r in this.data[t]||(this.data[t]={}),n){var e=n[r];void 0===this.data[t][r]&&(this.data[t][r]={}),void 0===this.data[t][r][e]&&(this.data[t][r][e]=0),this.data[t][r][e]++}this.totalCount++},A.prototype.score=function(n){var t,r={};for(var e in n){var o=n[e];for(t in this.data)r[t]={},this.data[t][e]?r[t][e+\"_\"+o]=(this.data[t][e][o]||0)/this.totalCount:r[t][e+\"_\"+o]=0}var i={};for(t in r)for(var u in i[t]=0,r[t])i[t]+=r[t][u];return i},N.prototype.predict=function(n){if(n.length!==this.weights.length)return null;for(var t=0,r=0;r<this.weights.length;r++)t+=this.weights[r]*n[r];return 0<(t+=this.bias)?1:0},N.prototype.train=function(n,t){if(0!==t&&1!==t)return null;n.length!==this.weights.length&&(this.weights=n,this.bias=1);var r=this.predict(n);if(r!==t){for(var e=t-r,o=0;o<this.weights.length;o++)this.weights[o]+=e*n[o];this.bias+=e}return this};var R=1e-4;function I(n){if(n<0)throw new Error(\"factorial requires a non-negative value\");if(Math.floor(n)!==n)throw new Error(\"factorial requires an integer input\");for(var t=1,r=2;r<=n;r++)t*=r;return t}var D=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22],L=Math.log(Math.sqrt(2*Math.PI)),q={1:{.995:0,.99:0,.975:0,.95:0,.9:.02,.5:.45,.1:2.71,.05:3.84,.025:5.02,.01:6.63,.005:7.88},2:{.995:.01,.99:.02,.975:.05,.95:.1,.9:.21,.5:1.39,.1:4.61,.05:5.99,.025:7.38,.01:9.21,.005:10.6},3:{.995:.07,.99:.11,.975:.22,.95:.35,.9:.58,.5:2.37,.1:6.25,.05:7.81,.025:9.35,.01:11.34,.005:12.84},4:{.995:.21,.99:.3,.975:.48,.95:.71,.9:1.06,.5:3.36,.1:7.78,.05:9.49,.025:11.14,.01:13.28,.005:14.86},5:{.995:.41,.99:.55,.975:.83,.95:1.15,.9:1.61,.5:4.35,.1:9.24,.05:11.07,.025:12.83,.01:15.09,.005:16.75},6:{.995:.68,.99:.87,.975:1.24,.95:1.64,.9:2.2,.5:5.35,.1:10.65,.05:12.59,.025:14.45,.01:16.81,.005:18.55},7:{.995:.99,.99:1.25,.975:1.69,.95:2.17,.9:2.83,.5:6.35,.1:12.02,.05:14.07,.025:16.01,.01:18.48,.005:20.28},8:{.995:1.34,.99:1.65,.975:2.18,.95:2.73,.9:3.49,.5:7.34,.1:13.36,.05:15.51,.025:17.53,.01:20.09,.005:21.96},9:{.995:1.73,.99:2.09,.975:2.7,.95:3.33,.9:4.17,.5:8.34,.1:14.68,.05:16.92,.025:19.02,.01:21.67,.005:23.59},10:{.995:2.16,.99:2.56,.975:3.25,.95:3.94,.9:4.87,.5:9.34,.1:15.99,.05:18.31,.025:20.48,.01:23.21,.005:25.19},11:{.995:2.6,.99:3.05,.975:3.82,.95:4.57,.9:5.58,.5:10.34,.1:17.28,.05:19.68,.025:21.92,.01:24.72,.005:26.76},12:{.995:3.07,.99:3.57,.975:4.4,.95:5.23,.9:6.3,.5:11.34,.1:18.55,.05:21.03,.025:23.34,.01:26.22,.005:28.3},13:{.995:3.57,.99:4.11,.975:5.01,.95:5.89,.9:7.04,.5:12.34,.1:19.81,.05:22.36,.025:24.74,.01:27.69,.005:29.82},14:{.995:4.07,.99:4.66,.975:5.63,.95:6.57,.9:7.79,.5:13.34,.1:21.06,.05:23.68,.025:26.12,.01:29.14,.005:31.32},15:{.995:4.6,.99:5.23,.975:6.27,.95:7.26,.9:8.55,.5:14.34,.1:22.31,.05:25,.025:27.49,.01:30.58,.005:32.8},16:{.995:5.14,.99:5.81,.975:6.91,.95:7.96,.9:9.31,.5:15.34,.1:23.54,.05:26.3,.025:28.85,.01:32,.005:34.27},17:{.995:5.7,.99:6.41,.975:7.56,.95:8.67,.9:10.09,.5:16.34,.1:24.77,.05:27.59,.025:30.19,.01:33.41,.005:35.72},18:{.995:6.26,.99:7.01,.975:8.23,.95:9.39,.9:10.87,.5:17.34,.1:25.99,.05:28.87,.025:31.53,.01:34.81,.005:37.16},19:{.995:6.84,.99:7.63,.975:8.91,.95:10.12,.9:11.65,.5:18.34,.1:27.2,.05:30.14,.025:32.85,.01:36.19,.005:38.58},20:{.995:7.43,.99:8.26,.975:9.59,.95:10.85,.9:12.44,.5:19.34,.1:28.41,.05:31.41,.025:34.17,.01:37.57,.005:40},21:{.995:8.03,.99:8.9,.975:10.28,.95:11.59,.9:13.24,.5:20.34,.1:29.62,.05:32.67,.025:35.48,.01:38.93,.005:41.4},22:{.995:8.64,.99:9.54,.975:10.98,.95:12.34,.9:14.04,.5:21.34,.1:30.81,.05:33.92,.025:36.78,.01:40.29,.005:42.8},23:{.995:9.26,.99:10.2,.975:11.69,.95:13.09,.9:14.85,.5:22.34,.1:32.01,.05:35.17,.025:38.08,.01:41.64,.005:44.18},24:{.995:9.89,.99:10.86,.975:12.4,.95:13.85,.9:15.66,.5:23.34,.1:33.2,.05:36.42,.025:39.36,.01:42.98,.005:45.56},25:{.995:10.52,.99:11.52,.975:13.12,.95:14.61,.9:16.47,.5:24.34,.1:34.28,.05:37.65,.025:40.65,.01:44.31,.005:46.93},26:{.995:11.16,.99:12.2,.975:13.84,.95:15.38,.9:17.29,.5:25.34,.1:35.56,.05:38.89,.025:41.92,.01:45.64,.005:48.29},27:{.995:11.81,.99:12.88,.975:14.57,.95:16.15,.9:18.11,.5:26.34,.1:36.74,.05:40.11,.025:43.19,.01:46.96,.005:49.65},28:{.995:12.46,.99:13.57,.975:15.31,.95:16.93,.9:18.94,.5:27.34,.1:37.92,.05:41.34,.025:44.46,.01:48.28,.005:50.99},29:{.995:13.12,.99:14.26,.975:16.05,.95:17.71,.9:19.77,.5:28.34,.1:39.09,.05:42.56,.025:45.72,.01:49.59,.005:52.34},30:{.995:13.79,.99:14.95,.975:16.79,.95:18.49,.9:20.6,.5:29.34,.1:40.26,.05:43.77,.025:46.98,.01:50.89,.005:53.67},40:{.995:20.71,.99:22.16,.975:24.43,.95:26.51,.9:29.05,.5:39.34,.1:51.81,.05:55.76,.025:59.34,.01:63.69,.005:66.77},50:{.995:27.99,.99:29.71,.975:32.36,.95:34.76,.9:37.69,.5:49.33,.1:63.17,.05:67.5,.025:71.42,.01:76.15,.005:79.49},60:{.995:35.53,.99:37.48,.975:40.48,.95:43.19,.9:46.46,.5:59.33,.1:74.4,.05:79.08,.025:83.3,.01:88.38,.005:91.95},70:{.995:43.28,.99:45.44,.975:48.76,.95:51.74,.9:55.33,.5:69.33,.1:85.53,.05:90.53,.025:95.02,.01:100.42,.005:104.22},80:{.995:51.17,.99:53.54,.975:57.15,.95:60.39,.9:64.28,.5:79.33,.1:96.58,.05:101.88,.025:106.63,.01:112.33,.005:116.32},90:{.995:59.2,.99:61.75,.975:65.65,.95:69.13,.9:73.29,.5:89.33,.1:107.57,.05:113.14,.025:118.14,.01:124.12,.005:128.3},100:{.995:67.33,.99:70.06,.975:74.22,.95:77.93,.9:82.36,.5:99.33,.1:118.5,.05:124.34,.025:129.56,.01:135.81,.005:140.17}},B=Math.sqrt(2*Math.PI),z={gaussian:function(n){return Math.exp(-.5*n*n)/B}},F={nrd:function(n){var t=k(n),r=m(n);return\"number\"==typeof r&&(t=Math.min(t,r/1.34)),1.06*t*Math.pow(n.length,-.2)}};function G(n,t,r){var e,o;if(void 0===t)e=z.gaussian;else if(\"string\"==typeof t){if(!z[t])throw new Error('Unknown kernel \"'+t+'\"');e=z[t]}else e=t;if(void 0===r)o=F.nrd(n);else if(\"string\"==typeof r){if(!F[r])throw new Error('Unknown bandwidth method \"'+r+'\"');o=F[r](n)}else o=r;return function(t){var r=0,i=0;for(r=0;r<n.length;r++)i+=e((t-n[r])/o);return i/o/n.length}}var V=Math.sqrt(2*Math.PI);function H(n){for(var t=n,r=n,e=1;e<15;e++)t+=r*=n*n/(2*e+1);return Math.round(1e4*(.5+t/V*Math.exp(-n*n/2)))/1e4}for(var U=[],W=0;W<=3.09;W+=.01)U.push(H(W));function Y(n){var t=1/(1+.5*Math.abs(n)),r=t*Math.exp(-Math.pow(n,2)-1.26551223+1.00002368*t+.37409196*Math.pow(t,2)+.09678418*Math.pow(t,3)-.18628806*Math.pow(t,4)+.27886807*Math.pow(t,5)-1.13520398*Math.pow(t,6)+1.48851587*Math.pow(t,7)-.82215223*Math.pow(t,8)+.17087277*Math.pow(t,9));return 0<=n?1-r:r-1}function $(n){var t=8*(Math.PI-3)/(3*Math.PI*(4-Math.PI)),r=Math.sqrt(Math.sqrt(Math.pow(2/(Math.PI*t)+Math.log(1-n*n)/2,2)-Math.log(1-n*n)/t)-(2/(Math.PI*t)+Math.log(1-n*n)/2));return 0<=n?r:-r}function J(n){if(\"number\"==typeof n)return n<0?-1:0===n?0:1;throw new TypeError(\"not a number\")}n.linearRegression=function(n){var t,r,e=n.length;if(1===e)r=n[t=0][1];else{for(var o,i,u,a=0,c=0,f=0,s=0,l=0;l<e;l++)a+=i=(o=n[l])[0],c+=u=o[1],f+=i*i,s+=i*u;r=c/e-(t=(e*s-a*c)/(e*f-a*a))*a/e}return{m:t,b:r}},n.linearRegressionLine=function(n){return function(t){return n.b+n.m*t}},n.standardDeviation=i,n.rSquared=function(n,t){if(n.length<2)return 1;for(var r,e=0,o=0;o<n.length;o++)e+=n[o][1];r=e/n.length;for(var i=0,u=0;u<n.length;u++)i+=Math.pow(r-n[u][1],2);for(var a=0,c=0;c<n.length;c++)a+=Math.pow(n[c][1]-t(n[c][0]),2);return 1-a/i},n.mode=function(n){return u(a(n))},n.modeFast=function(n){for(var t,r=new Map,e=0,o=0;o<n.length;o++){var i=r.get(n[o]);void 0===i?i=1:i++,e<i&&(t=n[o],e=i),r.set(n[o],i)}if(0===e)throw new Error(\"mode requires at last one data point\");return t},n.modeSorted=u,n.min=c,n.max=f,n.extent=function(n){if(0===n.length)throw new Error(\"extent requires at least one data point\");for(var t=n[0],r=n[0],e=1;e<n.length;e++)n[e]>r&&(r=n[e]),n[e]<t&&(t=n[e]);return[t,r]},n.minSorted=function(n){return n[0]},n.maxSorted=function(n){return n[n.length-1]},n.extentSorted=function(n){return[n[0],n[n.length-1]]},n.sum=t,n.sumSimple=function(n){for(var t=0,r=0;r<n.length;r++)t+=n[r];return t},n.product=function(n){for(var t=1,r=0;r<n.length;r++)t*=n[r];return t},n.quantile=p,n.quantileSorted=s,n.quantileRank=function(n,t){return y(a(n),t)},n.quantileRankSorted=y,n.interquartileRange=m,n.iqr=m,n.medianAbsoluteDeviation=w,n.mad=w,n.chunk=function(n,t){var r=[];if(t<1)throw new Error(\"chunk size must be a positive number\");if(Math.floor(t)!==t)throw new Error(\"chunk size must be an integer\");for(var e=0;e<n.length;e+=t)r.push(n.slice(e,e+t));return r},n.sampleWithReplacement=function(n,t,r){if(0===n.length)return[];r=r||Math.random;for(var e=n.length,o=[],i=0;i<t;i++){var u=Math.floor(r()*e);o.push(n[u])}return o},n.shuffle=_,n.shuffleInPlace=x,n.sample=function(n,t,r){return _(n,r).slice(0,t)},n.ckmeans=function(n,t){if(t>n.length)throw new Error(\"cannot generate more classes than there are data values\");var r=a(n);if(1===E(r))return[r];var e=j(t,r.length),o=j(t,r.length);!function(n,t,r){for(var e,o=t[0].length,i=n[Math.floor(o/2)],u=[],a=[],c=0;c<o;++c)e=n[c]-i,0===c?(u.push(e),a.push(e*e)):(u.push(u[c-1]+e),a.push(a[c-1]+e*e)),t[0][c]=O(0,c,u,a),r[0][c]=0;for(var f=1;f<t.length;++f)S(f<t.length-1?f:o-1,o-1,f,t,r,u,a)}(r,e,o);for(var i=[],u=o[0].length-1,c=o.length-1;0<=c;c--){var f=o[c][u];i[c]=r.slice(f,u+1),0<c&&(u=f-1)}return i},n.uniqueCountSorted=E,n.sumNthPowerDeviations=e,n.equalIntervalBreaks=function(n,t){if(n.length<2)return n;for(var r=c(n),e=f(n),o=[r],i=(e-r)/t,u=1;u<t;u++)o.push(o[0]+i*u);return o.push(e),o},n.sampleCovariance=M,n.sampleCorrelation=function(n,t){return M(n,t)/k(n)/k(t)},n.sampleVariance=T,n.sampleStandardDeviation=k,n.sampleSkewness=function(n){if(n.length<3)throw new Error(\"sampleSkewness requires at least three data points\");for(var t,e=r(n),o=0,i=0,u=0;u<n.length;u++)o+=(t=n[u]-e)*t,i+=t*t*t;var a=n.length-1,c=Math.sqrt(o/a),f=n.length;return f*i/((f-1)*(f-2)*Math.pow(c,3))},n.sampleKurtosis=function(n){var t=n.length;if(t<4)throw new Error(\"sampleKurtosis requires at least four data points\");for(var e,o=r(n),i=0,u=0,a=0;a<t;a++)i+=(e=n[a]-o)*e,u+=e*e*e*e;return(t-1)/((t-2)*(t-3))*(t*(t+1)*u/(i*i)-3*(t-1))},n.permutationsHeap=function(n){for(var t=new Array(n.length),r=[n.slice()],e=0;e<n.length;e++)t[e]=0;for(e=0;e<n.length;)if(t[e]<e){var o=0;e%2!=0&&(o=t[e]);var i=n[o];n[o]=n[e],n[e]=i,r.push(n.slice()),t[e]++,e=0}else t[e]=0,e++;return r},n.combinations=function n(t,r){var e,o,i,u,a=[];for(e=0;e<t.length;e++)if(1===r)a.push([t[e]]);else for(i=n(t.slice(e+1,t.length),r-1),o=0;o<i.length;o++)(u=i[o]).unshift(t[e]),a.push(u);return a},n.combinationsReplacement=function n(t,r){for(var e=[],o=0;o<t.length;o++)if(1===r)e.push([t[o]]);else for(var i=n(t.slice(o,t.length),r-1),u=0;u<i.length;u++)e.push([t[o]].concat(i[u]));return e},n.addToMean=function(n,t,r){return n+(r-n)/(t+1)},n.combineMeans=P,n.combineVariances=function(n,t,r,e,o,i){var u=P(t,r,o,i);return(r*(n+Math.pow(t-u,2))+i*(e+Math.pow(o-u,2)))/(r+i)},n.geometricMean=function(n){if(0===n.length)throw new Error(\"geometricMean requires at least one data point\");for(var t=1,r=0;r<n.length;r++){if(n[r]<=0)throw new Error(\"geometricMean requires only positive numbers as input\");t*=n[r]}return Math.pow(t,1/n.length)},n.harmonicMean=function(n){if(0===n.length)throw new Error(\"harmonicMean requires at least one data point\");for(var t=0,r=0;r<n.length;r++){if(n[r]<=0)throw new Error(\"harmonicMean requires only positive numbers as input\");t+=1/n[r]}return n.length/t},n.average=r,n.mean=r,n.median=b,n.medianSorted=function(n){return s(n,.5)},n.subtractFromMean=function(n,t,r){return(n*t-r)/(t-1)},n.rootMeanSquare=C,n.rms=C,n.variance=o,n.tTest=function(n,t){return(r(n)-t)/(i(n)/Math.sqrt(n.length))},n.tTestTwoSample=function(n,t,e){var o=n.length,i=t.length;if(!o||!i)return null;e||(e=0);var u=r(n),a=r(t),c=T(n),f=T(t);if(\"number\"==typeof u&&\"number\"==typeof a&&\"number\"==typeof c&&\"number\"==typeof f){var s=((o-1)*c+(i-1)*f)/(o+i-2);return(u-a-e)/Math.sqrt(s*(1/o+1/i))}},n.BayesianClassifier=A,n.bayesian=A,n.PerceptronModel=N,n.perceptron=N,n.epsilon=R,n.factorial=I,n.gamma=function n(t){if(\"number\"==typeof(r=t)&&isFinite(r)&&Math.floor(r)===r)return t<=0?NaN:I(t-1);var r;if(--t<0)return Math.PI/(Math.sin(Math.PI*-t)*n(-t));var e=t+.25;return Math.pow(t/Math.E,t)*Math.sqrt(2*Math.PI*(t+1/6))*(1+1/144/Math.pow(e,2)-1/12960/Math.pow(e,3)-257/207360/Math.pow(e,4)-52/2612736/Math.pow(e,5)+5741173/9405849600/Math.pow(e,6)+37529/18811699200/Math.pow(e,7))},n.gammaln=function(n){if(n<=0)return 1/0;n--;for(var t=D[0],r=1;r<15;r++)t+=D[r]/(n+r);var e=5.2421875+n;return L+Math.log(t)-e+(n+.5)*Math.log(e)},n.bernoulliDistribution=function(n){if(n<0||1<n)throw new Error(\"bernoulliDistribution requires probability to be between 0 and 1 inclusive\");return[1-n,n]},n.binomialDistribution=function(n,t){if(!(t<0||1<t||n<=0||n%1!=0)){for(var r=0,e=0,o=[],i=1;o[r]=i*Math.pow(t,r)*Math.pow(1-t,n-r),e+=o[r],i=i*(n-++r+1)/r,e<1-R;);return o}},n.poissonDistribution=function(n){if(!(n<=0)){for(var t=0,r=0,e=[],o=1;e[t]=Math.exp(-n)*Math.pow(n,t)/o,r+=e[t],o*=++t,r<1-R;);return e}},n.chiSquaredDistributionTable=q,n.chiSquaredGoodnessOfFit=function(n,t,e){for(var o,i,u=0,a=t(r(n)),c=[],f=[],s=0;s<n.length;s++)void 0===c[n[s]]&&(c[n[s]]=0),c[n[s]]++;for(s=0;s<c.length;s++)void 0===c[s]&&(c[s]=0);for(i in a)i in c&&(f[+i]=a[i]*n.length);for(i=f.length-1;0<=i;i--)f[i]<3&&(f[i-1]+=f[i],f.pop(),c[i-1]+=c[i],c.pop());for(i=0;i<c.length;i++)u+=Math.pow(c[i]-f[i],2)/f[i];return o=c.length-1-1,q[o][e]<u},n.kernelDensityEstimation=G,n.kde=G,n.zScore=function(n,t,r){return(n-t)/r},n.cumulativeStdNormalProbability=function(n){var t=Math.abs(n),r=Math.min(Math.round(100*t),U.length-1);return 0<=n?U[r]:+(1-U[r]).toFixed(4)},n.standardNormalTable=U,n.errorFunction=Y,n.erf=Y,n.inverseErrorFunction=$,n.probit=function(n){return 0===n?n=R:1<=n&&(n=1-R),Math.sqrt(2)*$(2*n-1)},n.permutationTest=function(n,t,e,o){if(void 0===o&&(o=1e4),void 0===e&&(e=\"two_side\"),\"two_side\"!==e&&\"greater\"!==e&&\"less\"!==e)throw new Error(\"`alternative` must be either 'two_side', 'greater', or 'less'\");for(var i=r(n)-r(t),u=new Array(o),a=n.concat(t),c=Math.floor(a.length/2),f=0;f<o;f++){x(a);var s=a.slice(0,c),l=a.slice(c,a.length),h=r(s)-r(l);u[f]=h}var p=0;if(\"two_side\"===e)for(f=0;f<=o;f++)Math.abs(u[f])>=Math.abs(i)&&(p+=1);else if(\"greater\"===e)for(f=0;f<=o;f++)u[f]>=i&&(p+=1);else for(f=0;f<=o;f++)u[f]<=i&&(p+=1);return p/o},n.bisect=function(n,t,r,e,o){if(\"function\"!=typeof n)throw new TypeError(\"func must be a function\");for(var i=0;i<e;i++){var u=(t+r)/2;if(0===n(u)||Math.abs((r-t)/2)<o)return u;J(n(u))===J(n(t))?t=u:r=u}throw new Error(\"maximum number of iterations exceeded\")},n.quickselect=l,n.sign=J,n.numericSort=a,Object.defineProperty(n,\"__esModule\",{value:!0})}(t)},function(n,t,r){var e=r(39),o=r(71);n.exports=function(n){return null!=n&&o(n.length)&&!e(n)}},function(n,t,r){var e=r(253),o=r(263),i=r(28),u=r(9),a=r(270);n.exports=function(n){return\"function\"==typeof n?n:null==n?i:\"object\"==typeof n?u(n)?o(n[0],n[1]):e(n):a(n)}},function(n,t,r){var e=r(96),o=r(73),i=r(22);n.exports=function(n){return i(n)?e(n):o(n)}},function(n,t,r){\"use strict\";function e(n,t){n&&i.hasOwnProperty(n.type)&&i[n.type](n,t)}var o={Feature:function(n,t){e(n.geometry,t)},FeatureCollection:function(n,t){for(var r=n.features,o=-1,i=r.length;++o<i;)e(r[o].geometry,t)}},i={Sphere:function(n,t){t.sphere()},Point:function(n,t){n=n.coordinates,t.point(n[0],n[1],n[2])},MultiPoint:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)n=r[e],t.point(n[0],n[1],n[2])},LineString:function(n,t){u(n.coordinates,t,0)},MultiLineString:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)u(r[e],t,0)},Polygon:function(n,t){a(n.coordinates,t)},MultiPolygon:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)a(r[e],t)},GeometryCollection:function(n,t){for(var r=n.geometries,o=-1,i=r.length;++o<i;)e(r[o],t)}};function u(n,t,r){var e,o=-1,i=n.length-r;for(t.lineStart();++o<i;)e=n[o],t.point(e[0],e[1],e[2]);t.lineEnd()}function a(n,t){var r=-1,e=n.length;for(t.polygonStart();++r<e;)u(n[r],t,1);t.polygonEnd()}t.a=function(n,t){n&&o.hasOwnProperty(n.type)?o[n.type](n,t):e(n,t)}},function(n,t,r){var e=r(207),o=r(213);n.exports=function(n,t){var r=o(n,t);return e(r)?r:void 0}},function(n,t,r){var e=r(31),o=r(209),i=r(210),u=e?e.toStringTag:void 0;n.exports=function(n){return null==n?void 0===n?\"[object Undefined]\":\"[object Null]\":u&&u in Object(n)?o(n):i(n)}},function(n,t){n.exports=function(n){return n}},function(n,t,r){\"use strict\";function e(){this.reset()}t.a=function(){return new e},e.prototype={constructor:e,reset:function(){this.s=this.t=0},add:function(n){i(o,n,this.t),i(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new e;function i(n,t,r){var e=n.s=t+r,o=e-t,i=e-o;n.t=t-i+(r-o)}},function(n,t){n.exports=function(n,t){return n===t||n!=n&&t!=t}},function(n,t,r){var e=r(19).Symbol;n.exports=e},function(n,t,r){(function(n){var e=r(19),o=r(229),i=t&&!t.nodeType&&t,u=i&&\"object\"==typeof n&&n&&!n.nodeType&&n,a=u&&u.exports===i?e.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;n.exports=c}).call(this,r(70)(n))},function(n,t,r){var e=r(96),o=r(233),i=r(22);n.exports=function(n){return i(n)?e(n,!0):o(n)}},function(n,t,r){var e=r(238),o=r(67),i=r(239),u=r(105),a=r(240),c=r(27),f=r(94),s=f(e),l=f(o),h=f(i),p=f(u),d=f(a),v=c;(e&&\"[object DataView]\"!=v(new e(new ArrayBuffer(1)))||o&&\"[object Map]\"!=v(new o)||i&&\"[object Promise]\"!=v(i.resolve())||u&&\"[object Set]\"!=v(new u)||a&&\"[object WeakMap]\"!=v(new a))&&(v=function(n){var t=c(n),r=\"[object Object]\"==t?n.constructor:void 0,e=r?f(r):\"\";if(e)switch(e){case s:return\"[object DataView]\";case l:return\"[object Map]\";case h:return\"[object Promise]\";case p:return\"[object Set]\";case d:return\"[object WeakMap]\"}return t}),n.exports=v},function(n,t,r){var e=r(27),o=r(20);n.exports=function(n){return\"symbol\"==typeof n||o(n)&&\"[object Symbol]\"==e(n)}},function(n,t,r){\"use strict\";function e(n,t){return n.parent===t.parent?1:2}function o(n,t){return n+t.x}function i(n,t){return Math.max(n,t.y)}r.r(t);var u=function(){var n=e,t=1,r=1,u=!1;function a(e){var a,c=0;e.eachAfter((function(t){var r=t.children;r?(t.x=function(n){return n.reduce(o,0)/n.length}(r),t.y=function(n){return 1+n.reduce(i,0)}(r)):(t.x=a?c+=n(t,a):0,t.y=0,a=t)}));var f=function(n){for(var t;t=n.children;)n=t[0];return n}(e),s=function(n){for(var t;t=n.children;)n=t[t.length-1];return n}(e),l=f.x-n(f,s)/2,h=s.x+n(s,f)/2;return e.eachAfter(u?function(n){n.x=(n.x-e.x)*t,n.y=(e.y-n.y)*r}:function(n){n.x=(n.x-l)/(h-l)*t,n.y=(1-(e.y?n.y/e.y:1))*r})}return a.separation=function(t){return arguments.length?(n=t,a):n},a.size=function(n){return arguments.length?(u=!1,t=+n[0],r=+n[1],a):u?null:[t,r]},a.nodeSize=function(n){return arguments.length?(u=!0,t=+n[0],r=+n[1],a):u?[t,r]:null},a};function a(n){var t=0,r=n.children,e=r&&r.length;if(e)for(;--e>=0;)t+=r[e].value;else t=1;n.value=t}function c(n,t){var r,e,o,i,u,a=new h(n),c=+n.value&&(a.value=n.value),s=[a];for(null==t&&(t=f);r=s.pop();)if(c&&(r.value=+r.data.value),(o=t(r.data))&&(u=o.length))for(r.children=new Array(u),i=u-1;i>=0;--i)s.push(e=r.children[i]=new h(o[i])),e.parent=r,e.depth=r.depth+1;return a.eachBefore(l)}function f(n){return n.children}function s(n){n.data=n.data.data}function l(n){var t=0;do{n.height=t}while((n=n.parent)&&n.height<++t)}function h(n){this.data=n,this.depth=this.height=0,this.parent=null}h.prototype=c.prototype={constructor:h,count:function(){return this.eachAfter(a)},each:function(n){var t,r,e,o,i=this,u=[i];do{for(t=u.reverse(),u=[];i=t.pop();)if(n(i),r=i.children)for(e=0,o=r.length;e<o;++e)u.push(r[e])}while(u.length);return this},eachAfter:function(n){for(var t,r,e,o=this,i=[o],u=[];o=i.pop();)if(u.push(o),t=o.children)for(r=0,e=t.length;r<e;++r)i.push(t[r]);for(;o=u.pop();)n(o);return this},eachBefore:function(n){for(var t,r,e=this,o=[e];e=o.pop();)if(n(e),t=e.children)for(r=t.length-1;r>=0;--r)o.push(t[r]);return this},sum:function(n){return this.eachAfter((function(t){for(var r=+n(t.data)||0,e=t.children,o=e&&e.length;--o>=0;)r+=e[o].value;t.value=r}))},sort:function(n){return this.eachBefore((function(t){t.children&&t.children.sort(n)}))},path:function(n){for(var t=this,r=function(n,t){if(n===t)return n;var r=n.ancestors(),e=t.ancestors(),o=null;n=r.pop(),t=e.pop();for(;n===t;)o=n,n=r.pop(),t=e.pop();return o}(t,n),e=[t];t!==r;)t=t.parent,e.push(t);for(var o=e.length;n!==r;)e.splice(o,0,n),n=n.parent;return e},ancestors:function(){for(var n=this,t=[n];n=n.parent;)t.push(n);return t},descendants:function(){var n=[];return this.each((function(t){n.push(t)})),n},leaves:function(){var n=[];return this.eachBefore((function(t){t.children||n.push(t)})),n},links:function(){var n=this,t=[];return n.each((function(r){r!==n&&t.push({source:r.parent,target:r})})),t},copy:function(){return c(this).eachBefore(s)}};var p=Array.prototype.slice;var d=function(n){for(var t,r,e=0,o=(n=function(n){for(var t,r,e=n.length;e;)r=Math.random()*e--|0,t=n[e],n[e]=n[r],n[r]=t;return n}(p.call(n))).length,i=[];e<o;)t=n[e],r&&y(r,t)?++e:(r=b(i=v(i,t)),e=0);return r};function v(n,t){var r,e;if(m(t,n))return[t];for(r=0;r<n.length;++r)if(g(t,n[r])&&m(w(n[r],t),n))return[n[r],t];for(r=0;r<n.length-1;++r)for(e=r+1;e<n.length;++e)if(g(w(n[r],n[e]),t)&&g(w(n[r],t),n[e])&&g(w(n[e],t),n[r])&&m(x(n[r],n[e],t),n))return[n[r],n[e],t];throw new Error}function g(n,t){var r=n.r-t.r,e=t.x-n.x,o=t.y-n.y;return r<0||r*r<e*e+o*o}function y(n,t){var r=n.r-t.r+1e-6,e=t.x-n.x,o=t.y-n.y;return r>0&&r*r>e*e+o*o}function m(n,t){for(var r=0;r<t.length;++r)if(!y(n,t[r]))return!1;return!0}function b(n){switch(n.length){case 1:return{x:(t=n[0]).x,y:t.y,r:t.r};case 2:return w(n[0],n[1]);case 3:return x(n[0],n[1],n[2])}var t}function w(n,t){var r=n.x,e=n.y,o=n.r,i=t.x,u=t.y,a=t.r,c=i-r,f=u-e,s=a-o,l=Math.sqrt(c*c+f*f);return{x:(r+i+c/l*s)/2,y:(e+u+f/l*s)/2,r:(l+o+a)/2}}function x(n,t,r){var e=n.x,o=n.y,i=n.r,u=t.x,a=t.y,c=t.r,f=r.x,s=r.y,l=r.r,h=e-u,p=e-f,d=o-a,v=o-s,g=c-i,y=l-i,m=e*e+o*o-i*i,b=m-u*u-a*a+c*c,w=m-f*f-s*s+l*l,x=p*d-h*v,_=(d*w-v*b)/(2*x)-e,E=(v*g-d*y)/x,j=(p*b-h*w)/(2*x)-o,O=(h*y-p*g)/x,S=E*E+O*O-1,M=2*(i+_*E+j*O),T=_*_+j*j-i*i,k=-(S?(M+Math.sqrt(M*M-4*S*T))/(2*S):T/M);return{x:e+_+E*k,y:o+j+O*k,r:k}}function _(n,t,r){var e,o,i,u,a=n.x-t.x,c=n.y-t.y,f=a*a+c*c;f?(o=t.r+r.r,o*=o,u=n.r+r.r,o>(u*=u)?(e=(f+u-o)/(2*f),i=Math.sqrt(Math.max(0,u/f-e*e)),r.x=n.x-e*a-i*c,r.y=n.y-e*c+i*a):(e=(f+o-u)/(2*f),i=Math.sqrt(Math.max(0,o/f-e*e)),r.x=t.x+e*a-i*c,r.y=t.y+e*c+i*a)):(r.x=t.x+r.r,r.y=t.y)}function E(n,t){var r=n.r+t.r-1e-6,e=t.x-n.x,o=t.y-n.y;return r>0&&r*r>e*e+o*o}function j(n){var t=n._,r=n.next._,e=t.r+r.r,o=(t.x*r.r+r.x*t.r)/e,i=(t.y*r.r+r.y*t.r)/e;return o*o+i*i}function O(n){this._=n,this.next=null,this.previous=null}function S(n){if(!(o=n.length))return 0;var t,r,e,o,i,u,a,c,f,s,l;if((t=n[0]).x=0,t.y=0,!(o>1))return t.r;if(r=n[1],t.x=-r.r,r.x=t.r,r.y=0,!(o>2))return t.r+r.r;_(r,t,e=n[2]),t=new O(t),r=new O(r),e=new O(e),t.next=e.previous=r,r.next=t.previous=e,e.next=r.previous=t;n:for(a=3;a<o;++a){_(t._,r._,e=n[a]),e=new O(e),c=r.next,f=t.previous,s=r._.r,l=t._.r;do{if(s<=l){if(E(c._,e._)){r=c,t.next=r,r.previous=t,--a;continue n}s+=c._.r,c=c.next}else{if(E(f._,e._)){(t=f).next=r,r.previous=t,--a;continue n}l+=f._.r,f=f.previous}}while(c!==f.next);for(e.previous=t,e.next=r,t.next=r.previous=r=e,i=j(t);(e=e.next)!==r;)(u=j(e))<i&&(t=e,i=u);r=t.next}for(t=[r._],e=r;(e=e.next)!==r;)t.push(e._);for(e=d(t),a=0;a<o;++a)(t=n[a]).x-=e.x,t.y-=e.y;return e.r}var M=function(n){return S(n),n};function T(n){return null==n?null:k(n)}function k(n){if(\"function\"!=typeof n)throw new Error;return n}function P(){return 0}var C=function(n){return function(){return n}};function A(n){return Math.sqrt(n.value)}var N=function(){var n=null,t=1,r=1,e=P;function o(o){return o.x=t/2,o.y=r/2,n?o.eachBefore(R(n)).eachAfter(I(e,.5)).eachBefore(D(1)):o.eachBefore(R(A)).eachAfter(I(P,1)).eachAfter(I(e,o.r/Math.min(t,r))).eachBefore(D(Math.min(t,r)/(2*o.r))),o}return o.radius=function(t){return arguments.length?(n=T(t),o):n},o.size=function(n){return arguments.length?(t=+n[0],r=+n[1],o):[t,r]},o.padding=function(n){return arguments.length?(e=\"function\"==typeof n?n:C(+n),o):e},o};function R(n){return function(t){t.children||(t.r=Math.max(0,+n(t)||0))}}function I(n,t){return function(r){if(e=r.children){var e,o,i,u=e.length,a=n(r)*t||0;if(a)for(o=0;o<u;++o)e[o].r+=a;if(i=S(e),a)for(o=0;o<u;++o)e[o].r-=a;r.r=i+a}}}function D(n){return function(t){var r=t.parent;t.r*=n,r&&(t.x=r.x+n*t.x,t.y=r.y+n*t.y)}}var L=function(n){n.x0=Math.round(n.x0),n.y0=Math.round(n.y0),n.x1=Math.round(n.x1),n.y1=Math.round(n.y1)},q=function(n,t,r,e,o){for(var i,u=n.children,a=-1,c=u.length,f=n.value&&(e-t)/n.value;++a<c;)(i=u[a]).y0=r,i.y1=o,i.x0=t,i.x1=t+=i.value*f},B=function(){var n=1,t=1,r=0,e=!1;function o(o){var i=o.height+1;return o.x0=o.y0=r,o.x1=n,o.y1=t/i,o.eachBefore(function(n,t){return function(e){e.children&&q(e,e.x0,n*(e.depth+1)/t,e.x1,n*(e.depth+2)/t);var o=e.x0,i=e.y0,u=e.x1-r,a=e.y1-r;u<o&&(o=u=(o+u)/2),a<i&&(i=a=(i+a)/2),e.x0=o,e.y0=i,e.x1=u,e.y1=a}}(t,i)),e&&o.eachBefore(L),o}return o.round=function(n){return arguments.length?(e=!!n,o):e},o.size=function(r){return arguments.length?(n=+r[0],t=+r[1],o):[n,t]},o.padding=function(n){return arguments.length?(r=+n,o):r},o},z={depth:-1},F={};function G(n){return n.id}function V(n){return n.parentId}var H=function(){var n=G,t=V;function r(r){var e,o,i,u,a,c,f,s=r.length,p=new Array(s),d={};for(o=0;o<s;++o)e=r[o],a=p[o]=new h(e),null!=(c=n(e,o,r))&&(c+=\"\")&&(d[f=\"$\"+(a.id=c)]=f in d?F:a);for(o=0;o<s;++o)if(a=p[o],null!=(c=t(r[o],o,r))&&(c+=\"\")){if(!(u=d[\"$\"+c]))throw new Error(\"missing: \"+c);if(u===F)throw new Error(\"ambiguous: \"+c);u.children?u.children.push(a):u.children=[a],a.parent=u}else{if(i)throw new Error(\"multiple roots\");i=a}if(!i)throw new Error(\"no root\");if(i.parent=z,i.eachBefore((function(n){n.depth=n.parent.depth+1,--s})).eachBefore(l),i.parent=null,s>0)throw new Error(\"cycle\");return i}return r.id=function(t){return arguments.length?(n=k(t),r):n},r.parentId=function(n){return arguments.length?(t=k(n),r):t},r};function U(n,t){return n.parent===t.parent?1:2}function W(n){var t=n.children;return t?t[0]:n.t}function Y(n){var t=n.children;return t?t[t.length-1]:n.t}function $(n,t,r){var e=r/(t.i-n.i);t.c-=e,t.s+=r,n.c+=e,t.z+=r,t.m+=r}function J(n,t,r){return n.a.parent===t.parent?n.a:r}function X(n,t){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=t}X.prototype=Object.create(h.prototype);var K=function(){var n=U,t=1,r=1,e=null;function o(o){var c=function(n){for(var t,r,e,o,i,u=new X(n,0),a=[u];t=a.pop();)if(e=t._.children)for(t.children=new Array(i=e.length),o=i-1;o>=0;--o)a.push(r=t.children[o]=new X(e[o],o)),r.parent=t;return(u.parent=new X(null,0)).children=[u],u}(o);if(c.eachAfter(i),c.parent.m=-c.z,c.eachBefore(u),e)o.eachBefore(a);else{var f=o,s=o,l=o;o.eachBefore((function(n){n.x<f.x&&(f=n),n.x>s.x&&(s=n),n.depth>l.depth&&(l=n)}));var h=f===s?1:n(f,s)/2,p=h-f.x,d=t/(s.x+h+p),v=r/(l.depth||1);o.eachBefore((function(n){n.x=(n.x+p)*d,n.y=n.depth*v}))}return o}function i(t){var r=t.children,e=t.parent.children,o=t.i?e[t.i-1]:null;if(r){!function(n){for(var t,r=0,e=0,o=n.children,i=o.length;--i>=0;)(t=o[i]).z+=r,t.m+=r,r+=t.s+(e+=t.c)}(t);var i=(r[0].z+r[r.length-1].z)/2;o?(t.z=o.z+n(t._,o._),t.m=t.z-i):t.z=i}else o&&(t.z=o.z+n(t._,o._));t.parent.A=function(t,r,e){if(r){for(var o,i=t,u=t,a=r,c=i.parent.children[0],f=i.m,s=u.m,l=a.m,h=c.m;a=Y(a),i=W(i),a&&i;)c=W(c),(u=Y(u)).a=t,(o=a.z+l-i.z-f+n(a._,i._))>0&&($(J(a,t,e),t,o),f+=o,s+=o),l+=a.m,f+=i.m,h+=c.m,s+=u.m;a&&!Y(u)&&(u.t=a,u.m+=l-s),i&&!W(c)&&(c.t=i,c.m+=f-h,e=t)}return e}(t,o,t.parent.A||e[0])}function u(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function a(n){n.x*=t,n.y=n.depth*r}return o.separation=function(t){return arguments.length?(n=t,o):n},o.size=function(n){return arguments.length?(e=!1,t=+n[0],r=+n[1],o):e?null:[t,r]},o.nodeSize=function(n){return arguments.length?(e=!0,t=+n[0],r=+n[1],o):e?[t,r]:null},o},Q=function(n,t,r,e,o){for(var i,u=n.children,a=-1,c=u.length,f=n.value&&(o-r)/n.value;++a<c;)(i=u[a]).x0=t,i.x1=e,i.y0=r,i.y1=r+=i.value*f},Z=(1+Math.sqrt(5))/2;function nn(n,t,r,e,o,i){for(var u,a,c,f,s,l,h,p,d,v,g,y=[],m=t.children,b=0,w=0,x=m.length,_=t.value;b<x;){c=o-r,f=i-e;do{s=m[w++].value}while(!s&&w<x);for(l=h=s,g=s*s*(v=Math.max(f/c,c/f)/(_*n)),d=Math.max(h/g,g/l);w<x;++w){if(s+=a=m[w].value,a<l&&(l=a),a>h&&(h=a),g=s*s*v,(p=Math.max(h/g,g/l))>d){s-=a;break}d=p}y.push(u={value:s,dice:c<f,children:m.slice(b,w)}),u.dice?q(u,r,e,o,_?e+=f*s/_:i):Q(u,r,e,_?r+=c*s/_:o,i),_-=s,b=w}return y}var tn=function n(t){function r(n,r,e,o,i){nn(t,n,r,e,o,i)}return r.ratio=function(t){return n((t=+t)>1?t:1)},r}(Z),rn=function(){var n=tn,t=!1,r=1,e=1,o=[0],i=P,u=P,a=P,c=P,f=P;function s(n){return n.x0=n.y0=0,n.x1=r,n.y1=e,n.eachBefore(l),o=[0],t&&n.eachBefore(L),n}function l(t){var r=o[t.depth],e=t.x0+r,s=t.y0+r,l=t.x1-r,h=t.y1-r;l<e&&(e=l=(e+l)/2),h<s&&(s=h=(s+h)/2),t.x0=e,t.y0=s,t.x1=l,t.y1=h,t.children&&(r=o[t.depth+1]=i(t)/2,e+=f(t)-r,s+=u(t)-r,(l-=a(t)-r)<e&&(e=l=(e+l)/2),(h-=c(t)-r)<s&&(s=h=(s+h)/2),n(t,e,s,l,h))}return s.round=function(n){return arguments.length?(t=!!n,s):t},s.size=function(n){return arguments.length?(r=+n[0],e=+n[1],s):[r,e]},s.tile=function(t){return arguments.length?(n=k(t),s):n},s.padding=function(n){return arguments.length?s.paddingInner(n).paddingOuter(n):s.paddingInner()},s.paddingInner=function(n){return arguments.length?(i=\"function\"==typeof n?n:C(+n),s):i},s.paddingOuter=function(n){return arguments.length?s.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n):s.paddingTop()},s.paddingTop=function(n){return arguments.length?(u=\"function\"==typeof n?n:C(+n),s):u},s.paddingRight=function(n){return arguments.length?(a=\"function\"==typeof n?n:C(+n),s):a},s.paddingBottom=function(n){return arguments.length?(c=\"function\"==typeof n?n:C(+n),s):c},s.paddingLeft=function(n){return arguments.length?(f=\"function\"==typeof n?n:C(+n),s):f},s},en=function(n,t,r,e,o){var i,u,a=n.children,c=a.length,f=new Array(c+1);for(f[0]=u=i=0;i<c;++i)f[i+1]=u+=a[i].value;!function n(t,r,e,o,i,u,c){if(t>=r-1){var s=a[t];return s.x0=o,s.y0=i,s.x1=u,void(s.y1=c)}var l=f[t],h=e/2+l,p=t+1,d=r-1;for(;p<d;){var v=p+d>>>1;f[v]<h?p=v+1:d=v}h-f[p-1]<f[p]-h&&t+1<p&&--p;var g=f[p]-l,y=e-g;if(u-o>c-i){var m=(o*y+u*g)/e;n(t,p,g,o,i,m,c),n(p,r,y,m,i,u,c)}else{var b=(i*y+c*g)/e;n(t,p,g,o,i,u,b),n(p,r,y,o,b,u,c)}}(0,c,n.value,t,r,e,o)},on=function(n,t,r,e,o){(1&n.depth?Q:q)(n,t,r,e,o)},un=function n(t){function r(n,r,e,o,i){if((u=n._squarify)&&u.ratio===t)for(var u,a,c,f,s,l=-1,h=u.length,p=n.value;++l<h;){for(c=(a=u[l]).children,f=a.value=0,s=c.length;f<s;++f)a.value+=c[f].value;a.dice?q(a,r,e,o,e+=(i-e)*a.value/p):Q(a,r,e,r+=(o-r)*a.value/p,i),p-=a.value}else n._squarify=u=nn(t,n,r,e,o,i),u.ratio=t}return r.ratio=function(t){return n((t=+t)>1?t:1)},r}(Z);r.d(t,\"cluster\",(function(){return u})),r.d(t,\"hierarchy\",(function(){return c})),r.d(t,\"pack\",(function(){return N})),r.d(t,\"packSiblings\",(function(){return M})),r.d(t,\"packEnclose\",(function(){return d})),r.d(t,\"partition\",(function(){return B})),r.d(t,\"stratify\",(function(){return H})),r.d(t,\"tree\",(function(){return K})),r.d(t,\"treemap\",(function(){return rn})),r.d(t,\"treemapBinary\",(function(){return en})),r.d(t,\"treemapDice\",(function(){return q})),r.d(t,\"treemapSlice\",(function(){return Q})),r.d(t,\"treemapSliceDice\",(function(){return on})),r.d(t,\"treemapSquarify\",(function(){return tn})),r.d(t,\"treemapResquarify\",(function(){return un}))},function(n,t,r){\"use strict\";r.d(t,\"b\",(function(){return u}));var e=r(45),o=r(0);function i(n,t){return[Object(o.a)(n)>o.n?n+Math.round(-n/o.v)*o.v:n,t]}function u(n,t,r){return(n%=o.v)?t||r?Object(e.a)(c(n),f(t,r)):c(n):t||r?f(t,r):i}function a(n){return function(t,r){return[(t+=n)>o.n?t-o.v:t<-o.n?t+o.v:t,r]}}function c(n){var t=a(n);return t.invert=a(-n),t}function f(n,t){var r=Object(o.f)(n),e=Object(o.s)(n),i=Object(o.f)(t),u=Object(o.s)(t);function a(n,t){var a=Object(o.f)(t),c=Object(o.f)(n)*a,f=Object(o.s)(n)*a,s=Object(o.s)(t),l=s*r+c*e;return[Object(o.e)(f*i-l*u,c*r-s*e),Object(o.c)(l*i+f*u)]}return a.invert=function(n,t){var a=Object(o.f)(t),c=Object(o.f)(n)*a,f=Object(o.s)(n)*a,s=Object(o.s)(t),l=s*i-f*u;return[Object(o.e)(f*i+s*u,c*r+l*e),Object(o.c)(l*r-c*e)]},a}i.invert=i,t.a=function(n){function t(t){return(t=n(t[0]*o.q,t[1]*o.q))[0]*=o.g,t[1]*=o.g,t}return n=u(n[0]*o.q,n[1]*o.q,n.length>2?n[2]*o.q:0),t.invert=function(t){return(t=n.invert(t[0]*o.q,t[1]*o.q))[0]*=o.g,t[1]*=o.g,t},t}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=e.__importDefault(r(86)),i=r(3);var u=function(n){function t(t,r){var e=n.call(this)||this;if(e.isView=!0,e.isDataView=!0,e.watchingStates=null,e.dataType=\"table\",e.transforms=[],e.origin=[],e.rows=[],t&&t.isDataSet?e.dataSet=t:(e.dataSet=null,r=t),e.loose=!e.dataSet,r&&(e.watchingStates=r.watchingStates),!e.loose){var o=e.watchingStates;t.on(\"statechange\",(function(n){i.isArray(o)?o.indexOf(n)>-1&&e._reExecute():e._reExecute()}))}return e}return e.__extends(t,n),t.prototype._parseStateExpression=function(n){var t=this.dataSet;if(null!==t){var r=/^\\$state\\.(\\w+)/.exec(n);return r?t.state[r[1]]:n}},t.prototype._preparseOptions=function(n){var t=this,r=function(n){var t={};return i.forIn(n,(function(n,r){i.isObject(n)&&n.isView?t[r]=n:i.isArray(n)?t[r]=n.concat([]):i.isPlainObject(n)?t[r]=i.clone(n):t[r]=n})),t}(n);return this.loose?r:(i.forIn(r,(function(n,e){i.isString(n)&&/^\\$state\\./.test(n)&&(r[e]=t._parseStateExpression(n))})),r)},t.prototype._prepareSource=function(n,r){if(this._source={source:n,options:r},r){e=this._preparseOptions(r);this.origin=t.DataSet.getConnector(e.type)(n,e,this)}else if(n instanceof t||i.isString(n))this.origin=t.DataSet.getConnector(\"default\")(n,this.dataSet);else if(i.isArray(n))this.origin=n;else{if(!i.isObject(n)||!n.type)throw new TypeError(\"Invalid source\");var e=this._preparseOptions(n);this.origin=t.DataSet.getConnector(e.type)(e,this)}return this.rows=i.deepMix([],this.origin),this},t.prototype.source=function(n,t){return this._prepareSource(n,t)._reExecuteTransforms(),this.trigger(\"change\",[]),this},t.prototype.transform=function(n){return n&&n.type&&(this.transforms.push(n),this._executeTransform(n)),this},t.prototype._executeTransform=function(n){n=this._preparseOptions(n),t.DataSet.getTransform(n.type)(this,n)},t.prototype._reExecuteTransforms=function(){var n=this;this.transforms.forEach((function(t){n._executeTransform(t)}))},t.prototype.addRow=function(n){this.rows.push(n)},t.prototype.removeRow=function(n){this.rows.splice(n,1)},t.prototype.updateRow=function(n,t){i.assign(this.rows[n],t)},t.prototype.findRows=function(n){return this.rows.filter((function(t){return i.isMatch(t,n)}))},t.prototype.findRow=function(n){return i.find(this.rows,n)},t.prototype.getColumnNames=function(){var n=this.rows[0];return n?i.keys(n):[]},t.prototype.getColumnName=function(n){return this.getColumnNames()[n]},t.prototype.getColumnIndex=function(n){return this.getColumnNames().indexOf(n)},t.prototype.getColumn=function(n){return this.rows.map((function(t){return t[n]}))},t.prototype.getColumnData=function(n){return this.getColumn(n)},t.prototype.getSubset=function(n,t,r){for(var e=[],o=n;o<=t;o++)e.push(i.pick(this.rows[o],r));return e},t.prototype.toString=function(n){return void 0===n&&(n=!1),n?JSON.stringify(this.rows,null,2):JSON.stringify(this.rows)},t.prototype._reExecute=function(){var n=this._source,t=n.source,r=n.options;this._prepareSource(t,r),this._reExecuteTransforms(),this.trigger(\"change\",[])},t}(o.default);t.View=u},function(n,t,r){var e=r(27),o=r(15);n.exports=function(n){if(!o(n))return!1;var t=e(n);return\"[object Function]\"==t||\"[object GeneratorFunction]\"==t||\"[object AsyncFunction]\"==t||\"[object Proxy]\"==t}},function(n,t,r){var e=r(53),o=r(54);n.exports=function(n,t,r,i){var u=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var f=t[a],s=i?i(r[f],n[f],f,r,n):void 0;void 0===s&&(s=n[f]),u?o(r,f,s):e(r,f,s)}return r}},function(n,t,r){var e=r(228),o=r(20),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,c=e(function(){return arguments}())?e:function(n){return o(n)&&u.call(n,\"callee\")&&!a.call(n,\"callee\")};n.exports=c},function(n,t,r){var e=r(230),o=r(56),i=r(72),u=i&&i.isTypedArray,a=u?o(u):e;n.exports=a},function(n,t,r){var e=r(35);n.exports=function(n){if(\"string\"==typeof n||e(n))return n;var t=n+\"\";return\"0\"==t&&1/n==-1/0?\"-0\":t}},function(n,t,r){\"use strict\";r.r(t);var e=function(){return new o};function o(){this.reset()}o.prototype={constructor:o,reset:function(){this.s=this.t=0},add:function(n){u(i,n,this.t),u(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new o;function u(n,t,r){var e=n.s=t+r,o=e-t,i=e-o;n.t=t-i+(r-o)}var a=Math.PI,c=a/2,f=a/4,s=2*a,l=180/a,h=a/180,p=Math.abs,d=Math.atan,v=Math.atan2,g=Math.cos,y=Math.ceil,m=Math.exp,b=(Math.floor,Math.log),w=Math.pow,x=Math.sin,_=Math.sign||function(n){return n>0?1:n<0?-1:0},E=Math.sqrt,j=Math.tan;function O(n){return n>1?0:n<-1?a:Math.acos(n)}function S(n){return n>1?c:n<-1?-c:Math.asin(n)}function M(n){return(n=x(n/2))*n}function T(){}function k(n,t){n&&C.hasOwnProperty(n.type)&&C[n.type](n,t)}var P={Feature:function(n,t){k(n.geometry,t)},FeatureCollection:function(n,t){for(var r=n.features,e=-1,o=r.length;++e<o;)k(r[e].geometry,t)}},C={Sphere:function(n,t){t.sphere()},Point:function(n,t){n=n.coordinates,t.point(n[0],n[1],n[2])},MultiPoint:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)n=r[e],t.point(n[0],n[1],n[2])},LineString:function(n,t){A(n.coordinates,t,0)},MultiLineString:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)A(r[e],t,0)},Polygon:function(n,t){N(n.coordinates,t)},MultiPolygon:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)N(r[e],t)},GeometryCollection:function(n,t){for(var r=n.geometries,e=-1,o=r.length;++e<o;)k(r[e],t)}};function A(n,t,r){var e,o=-1,i=n.length-r;for(t.lineStart();++o<i;)e=n[o],t.point(e[0],e[1],e[2]);t.lineEnd()}function N(n,t){var r=-1,e=n.length;for(t.polygonStart();++r<e;)A(n[r],t,1);t.polygonEnd()}var R,I,D,L,q,B=function(n,t){n&&P.hasOwnProperty(n.type)?P[n.type](n,t):k(n,t)},z=e(),F=e(),G={point:T,lineStart:T,lineEnd:T,polygonStart:function(){z.reset(),G.lineStart=V,G.lineEnd=H},polygonEnd:function(){var n=+z;F.add(n<0?s+n:n),this.lineStart=this.lineEnd=this.point=T},sphere:function(){F.add(s)}};function V(){G.point=U}function H(){W(R,I)}function U(n,t){G.point=W,R=n,I=t,D=n*=h,L=g(t=(t*=h)/2+f),q=x(t)}function W(n,t){var r=(n*=h)-D,e=r>=0?1:-1,o=e*r,i=g(t=(t*=h)/2+f),u=x(t),a=q*u,c=L*i+a*g(o),s=a*e*x(o);z.add(v(s,c)),D=n,L=i,q=u}var Y=function(n){return F.reset(),B(n,G),2*F};function $(n){return[v(n[1],n[0]),S(n[2])]}function J(n){var t=n[0],r=n[1],e=g(r);return[e*g(t),e*x(t),x(r)]}function X(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function K(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Q(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function Z(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function nn(n){var t=E(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}var tn,rn,en,on,un,an,cn,fn,sn,ln,hn=e(),pn={point:dn,lineStart:gn,lineEnd:yn,polygonStart:function(){pn.point=mn,pn.lineStart=bn,pn.lineEnd=wn,hn.reset(),G.polygonStart()},polygonEnd:function(){G.polygonEnd(),pn.point=dn,pn.lineStart=gn,pn.lineEnd=yn,z<0?(tn=-(en=180),rn=-(on=90)):hn>1e-6?on=90:hn<-1e-6&&(rn=-90),ln[0]=tn,ln[1]=en}};function dn(n,t){sn.push(ln=[tn=n,en=n]),t<rn&&(rn=t),t>on&&(on=t)}function vn(n,t){var r=J([n*h,t*h]);if(fn){var e=K(fn,r),o=K([e[1],-e[0],0],e);nn(o),o=$(o);var i,u=n-un,a=u>0?1:-1,c=o[0]*l*a,f=p(u)>180;f^(a*un<c&&c<a*n)?(i=o[1]*l)>on&&(on=i):f^(a*un<(c=(c+360)%360-180)&&c<a*n)?(i=-o[1]*l)<rn&&(rn=i):(t<rn&&(rn=t),t>on&&(on=t)),f?n<un?xn(tn,n)>xn(tn,en)&&(en=n):xn(n,en)>xn(tn,en)&&(tn=n):en>=tn?(n<tn&&(tn=n),n>en&&(en=n)):n>un?xn(tn,n)>xn(tn,en)&&(en=n):xn(n,en)>xn(tn,en)&&(tn=n)}else sn.push(ln=[tn=n,en=n]);t<rn&&(rn=t),t>on&&(on=t),fn=r,un=n}function gn(){pn.point=vn}function yn(){ln[0]=tn,ln[1]=en,pn.point=dn,fn=null}function mn(n,t){if(fn){var r=n-un;hn.add(p(r)>180?r+(r>0?360:-360):r)}else an=n,cn=t;G.point(n,t),vn(n,t)}function bn(){G.lineStart()}function wn(){mn(an,cn),G.lineEnd(),p(hn)>1e-6&&(tn=-(en=180)),ln[0]=tn,ln[1]=en,fn=null}function xn(n,t){return(t-=n)<0?t+360:t}function _n(n,t){return n[0]-t[0]}function En(n,t){return n[0]<=n[1]?n[0]<=t&&t<=n[1]:t<n[0]||n[1]<t}var jn,On,Sn,Mn,Tn,kn,Pn,Cn,An,Nn,Rn,In,Dn,Ln,qn,Bn,zn=function(n){var t,r,e,o,i,u,a;if(on=en=-(tn=rn=1/0),sn=[],B(n,pn),r=sn.length){for(sn.sort(_n),t=1,i=[e=sn[0]];t<r;++t)En(e,(o=sn[t])[0])||En(e,o[1])?(xn(e[0],o[1])>xn(e[0],e[1])&&(e[1]=o[1]),xn(o[0],e[1])>xn(e[0],e[1])&&(e[0]=o[0])):i.push(e=o);for(u=-1/0,t=0,e=i[r=i.length-1];t<=r;e=o,++t)o=i[t],(a=xn(e[1],o[0]))>u&&(u=a,tn=o[0],en=e[1])}return sn=ln=null,tn===1/0||rn===1/0?[[NaN,NaN],[NaN,NaN]]:[[tn,rn],[en,on]]},Fn={sphere:T,point:Gn,lineStart:Hn,lineEnd:Yn,polygonStart:function(){Fn.lineStart=$n,Fn.lineEnd=Jn},polygonEnd:function(){Fn.lineStart=Hn,Fn.lineEnd=Yn}};function Gn(n,t){n*=h;var r=g(t*=h);Vn(r*g(n),r*x(n),x(t))}function Vn(n,t,r){++jn,Sn+=(n-Sn)/jn,Mn+=(t-Mn)/jn,Tn+=(r-Tn)/jn}function Hn(){Fn.point=Un}function Un(n,t){n*=h;var r=g(t*=h);Ln=r*g(n),qn=r*x(n),Bn=x(t),Fn.point=Wn,Vn(Ln,qn,Bn)}function Wn(n,t){n*=h;var r=g(t*=h),e=r*g(n),o=r*x(n),i=x(t),u=v(E((u=qn*i-Bn*o)*u+(u=Bn*e-Ln*i)*u+(u=Ln*o-qn*e)*u),Ln*e+qn*o+Bn*i);On+=u,kn+=u*(Ln+(Ln=e)),Pn+=u*(qn+(qn=o)),Cn+=u*(Bn+(Bn=i)),Vn(Ln,qn,Bn)}function Yn(){Fn.point=Gn}function $n(){Fn.point=Xn}function Jn(){Kn(In,Dn),Fn.point=Gn}function Xn(n,t){In=n,Dn=t,n*=h,t*=h,Fn.point=Kn;var r=g(t);Ln=r*g(n),qn=r*x(n),Bn=x(t),Vn(Ln,qn,Bn)}function Kn(n,t){n*=h;var r=g(t*=h),e=r*g(n),o=r*x(n),i=x(t),u=qn*i-Bn*o,a=Bn*e-Ln*i,c=Ln*o-qn*e,f=E(u*u+a*a+c*c),s=S(f),l=f&&-s/f;An+=l*u,Nn+=l*a,Rn+=l*c,On+=s,kn+=s*(Ln+(Ln=e)),Pn+=s*(qn+(qn=o)),Cn+=s*(Bn+(Bn=i)),Vn(Ln,qn,Bn)}var Qn=function(n){jn=On=Sn=Mn=Tn=kn=Pn=Cn=An=Nn=Rn=0,B(n,Fn);var t=An,r=Nn,e=Rn,o=t*t+r*r+e*e;return o<1e-12&&(t=kn,r=Pn,e=Cn,On<1e-6&&(t=Sn,r=Mn,e=Tn),(o=t*t+r*r+e*e)<1e-12)?[NaN,NaN]:[v(r,t)*l,S(e/E(o))*l]},Zn=function(n){return function(){return n}},nt=function(n,t){function r(r,e){return r=n(r,e),t(r[0],r[1])}return n.invert&&t.invert&&(r.invert=function(r,e){return(r=t.invert(r,e))&&n.invert(r[0],r[1])}),r};function tt(n,t){return[n>a?n-s:n<-a?n+s:n,t]}function rt(n,t,r){return(n%=s)?t||r?nt(ot(n),it(t,r)):ot(n):t||r?it(t,r):tt}function et(n){return function(t,r){return[(t+=n)>a?t-s:t<-a?t+s:t,r]}}function ot(n){var t=et(n);return t.invert=et(-n),t}function it(n,t){var r=g(n),e=x(n),o=g(t),i=x(t);function u(n,t){var u=g(t),a=g(n)*u,c=x(n)*u,f=x(t),s=f*r+a*e;return[v(c*o-s*i,a*r-f*e),S(s*o+c*i)]}return u.invert=function(n,t){var u=g(t),a=g(n)*u,c=x(n)*u,f=x(t),s=f*o-c*i;return[v(c*o+f*i,a*r+s*e),S(s*r-a*e)]},u}tt.invert=tt;var ut=function(n){function t(t){return(t=n(t[0]*h,t[1]*h))[0]*=l,t[1]*=l,t}return n=rt(n[0]*h,n[1]*h,n.length>2?n[2]*h:0),t.invert=function(t){return(t=n.invert(t[0]*h,t[1]*h))[0]*=l,t[1]*=l,t},t};function at(n,t,r,e,o,i){if(r){var u=g(t),a=x(t),c=e*r;null==o?(o=t+e*s,i=t-c/2):(o=ct(u,o),i=ct(u,i),(e>0?o<i:o>i)&&(o+=e*s));for(var f,l=o;e>0?l>i:l<i;l-=c)f=$([u,-a*g(l),-a*x(l)]),n.point(f[0],f[1])}}function ct(n,t){(t=J(t))[0]-=n,nn(t);var r=O(-t[1]);return((-t[2]<0?-r:r)+s-1e-6)%s}var ft=function(){var n,t,r=Zn([0,0]),e=Zn(90),o=Zn(6),i={point:function(r,e){n.push(r=t(r,e)),r[0]*=l,r[1]*=l}};function u(){var u=r.apply(this,arguments),a=e.apply(this,arguments)*h,c=o.apply(this,arguments)*h;return n=[],t=rt(-u[0]*h,-u[1]*h,0).invert,at(i,a,c,1),u={type:\"Polygon\",coordinates:[n]},n=t=null,u}return u.center=function(n){return arguments.length?(r=\"function\"==typeof n?n:Zn([+n[0],+n[1]]),u):r},u.radius=function(n){return arguments.length?(e=\"function\"==typeof n?n:Zn(+n),u):e},u.precision=function(n){return arguments.length?(o=\"function\"==typeof n?n:Zn(+n),u):o},u},st=function(){var n,t=[];return{point:function(t,r){n.push([t,r])},lineStart:function(){t.push(n=[])},lineEnd:T,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var r=t;return t=[],n=null,r}}},lt=function(n,t){return p(n[0]-t[0])<1e-6&&p(n[1]-t[1])<1e-6};function ht(n,t,r,e){this.x=n,this.z=t,this.o=r,this.e=e,this.v=!1,this.n=this.p=null}var pt=function(n,t,r,e,o){var i,u,a=[],c=[];if(n.forEach((function(n){if(!((t=n.length-1)<=0)){var t,r,e=n[0],u=n[t];if(lt(e,u)){for(o.lineStart(),i=0;i<t;++i)o.point((e=n[i])[0],e[1]);o.lineEnd()}else a.push(r=new ht(e,n,null,!0)),c.push(r.o=new ht(e,null,r,!1)),a.push(r=new ht(u,n,null,!1)),c.push(r.o=new ht(u,null,r,!0))}})),a.length){for(c.sort(t),dt(a),dt(c),i=0,u=c.length;i<u;++i)c[i].e=r=!r;for(var f,s,l=a[0];;){for(var h=l,p=!0;h.v;)if((h=h.n)===l)return;f=h.z,o.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(i=0,u=f.length;i<u;++i)o.point((s=f[i])[0],s[1]);else e(h.x,h.n.x,1,o);h=h.n}else{if(p)for(f=h.p.z,i=f.length-1;i>=0;--i)o.point((s=f[i])[0],s[1]);else e(h.x,h.p.x,-1,o);h=h.p}f=(h=h.o).z,p=!p}while(!h.v);o.lineEnd()}}};function dt(n){if(t=n.length){for(var t,r,e=0,o=n[0];++e<t;)o.n=r=n[e],r.p=o,o=r;o.n=r=n[0],r.p=o}}var vt=r(6);function gt(n,t,r,e){function o(o,i){return n<=o&&o<=r&&t<=i&&i<=e}function i(o,i,a,f){var s=0,l=0;if(null==o||(s=u(o,a))!==(l=u(i,a))||c(o,i)<0^a>0)do{f.point(0===s||3===s?n:r,s>1?e:t)}while((s=(s+a+4)%4)!==l);else f.point(i[0],i[1])}function u(e,o){return p(e[0]-n)<1e-6?o>0?0:3:p(e[0]-r)<1e-6?o>0?2:1:p(e[1]-t)<1e-6?o>0?1:0:o>0?3:2}function a(n,t){return c(n.x,t.x)}function c(n,t){var r=u(n,1),e=u(t,1);return r!==e?r-e:0===r?t[1]-n[1]:1===r?n[0]-t[0]:2===r?n[1]-t[1]:t[0]-n[0]}return function(u){var c,f,s,l,h,p,d,v,g,y,m,b=u,w=st(),x={point:_,lineStart:function(){x.point=E,f&&f.push(s=[]);y=!0,g=!1,d=v=NaN},lineEnd:function(){c&&(E(l,h),p&&g&&w.rejoin(),c.push(w.result()));x.point=_,g&&b.lineEnd()},polygonStart:function(){b=w,c=[],f=[],m=!0},polygonEnd:function(){var t=function(){for(var t=0,r=0,o=f.length;r<o;++r)for(var i,u,a=f[r],c=1,s=a.length,l=a[0],h=l[0],p=l[1];c<s;++c)i=h,u=p,l=a[c],h=l[0],p=l[1],u<=e?p>e&&(h-i)*(e-u)>(p-u)*(n-i)&&++t:p<=e&&(h-i)*(e-u)<(p-u)*(n-i)&&--t;return t}(),r=m&&t,o=(c=Object(vt.merge)(c)).length;(r||o)&&(u.polygonStart(),r&&(u.lineStart(),i(null,null,1,u),u.lineEnd()),o&&pt(c,a,t,i,u),u.polygonEnd());b=u,c=f=s=null}};function _(n,t){o(n,t)&&b.point(n,t)}function E(i,u){var a=o(i,u);if(f&&s.push([i,u]),y)l=i,h=u,p=a,y=!1,a&&(b.lineStart(),b.point(i,u));else if(a&&g)b.point(i,u);else{var c=[d=Math.max(-1e9,Math.min(1e9,d)),v=Math.max(-1e9,Math.min(1e9,v))],w=[i=Math.max(-1e9,Math.min(1e9,i)),u=Math.max(-1e9,Math.min(1e9,u))];!function(n,t,r,e,o,i){var u,a=n[0],c=n[1],f=0,s=1,l=t[0]-a,h=t[1]-c;if(u=r-a,l||!(u>0)){if(u/=l,l<0){if(u<f)return;u<s&&(s=u)}else if(l>0){if(u>s)return;u>f&&(f=u)}if(u=o-a,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u<f)return;u<s&&(s=u)}if(u=e-c,h||!(u>0)){if(u/=h,h<0){if(u<f)return;u<s&&(s=u)}else if(h>0){if(u>s)return;u>f&&(f=u)}if(u=i-c,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u<f)return;u<s&&(s=u)}return f>0&&(n[0]=a+f*l,n[1]=c+f*h),s<1&&(t[0]=a+s*l,t[1]=c+s*h),!0}}}}}(c,w,n,t,r,e)?a&&(b.lineStart(),b.point(i,u),m=!1):(g||(b.lineStart(),b.point(c[0],c[1])),b.point(w[0],w[1]),a||b.lineEnd(),m=!1)}d=i,v=u,g=a}return x}}var yt,mt,bt,wt=function(){var n,t,r,e=0,o=0,i=960,u=500;return r={stream:function(r){return n&&t===r?n:n=gt(e,o,i,u)(t=r)},extent:function(a){return arguments.length?(e=+a[0][0],o=+a[0][1],i=+a[1][0],u=+a[1][1],n=t=null,r):[[e,o],[i,u]]}}},xt=e(),_t=function(n,t){var r=t[0],e=t[1],o=[x(r),-g(r),0],i=0,u=0;xt.reset();for(var c=0,l=n.length;c<l;++c)if(p=(h=n[c]).length)for(var h,p,d=h[p-1],y=d[0],m=d[1]/2+f,b=x(m),w=g(m),_=0;_<p;++_,y=j,b=M,w=T,d=E){var E=h[_],j=E[0],O=E[1]/2+f,M=x(O),T=g(O),k=j-y,P=k>=0?1:-1,C=P*k,A=C>a,N=b*M;if(xt.add(v(N*P*x(C),w*T+N*g(C))),i+=A?k+P*s:k,A^y>=r^j>=r){var R=K(J(d),J(E));nn(R);var I=K(o,R);nn(I);var D=(A^k>=0?-1:1)*S(I[2]);(e>D||e===D&&(R[0]||R[1]))&&(u+=A^k>=0?1:-1)}}return(i<-1e-6||i<1e-6&&xt<-1e-6)^1&u},Et=e(),jt={sphere:T,point:T,lineStart:function(){jt.point=St,jt.lineEnd=Ot},lineEnd:T,polygonStart:T,polygonEnd:T};function Ot(){jt.point=jt.lineEnd=T}function St(n,t){yt=n*=h,mt=x(t*=h),bt=g(t),jt.point=Mt}function Mt(n,t){n*=h;var r=x(t*=h),e=g(t),o=p(n-yt),i=g(o),u=e*x(o),a=bt*r-mt*e*i,c=mt*r+bt*e*i;Et.add(v(E(u*u+a*a),c)),yt=n,mt=r,bt=e}var Tt=function(n){return Et.reset(),B(n,jt),+Et},kt=[null,null],Pt={type:\"LineString\",coordinates:kt},Ct=function(n,t){return kt[0]=n,kt[1]=t,Tt(Pt)},At={Feature:function(n,t){return Rt(n.geometry,t)},FeatureCollection:function(n,t){for(var r=n.features,e=-1,o=r.length;++e<o;)if(Rt(r[e].geometry,t))return!0;return!1}},Nt={Sphere:function(){return!0},Point:function(n,t){return It(n.coordinates,t)},MultiPoint:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)if(It(r[e],t))return!0;return!1},LineString:function(n,t){return Dt(n.coordinates,t)},MultiLineString:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)if(Dt(r[e],t))return!0;return!1},Polygon:function(n,t){return Lt(n.coordinates,t)},MultiPolygon:function(n,t){for(var r=n.coordinates,e=-1,o=r.length;++e<o;)if(Lt(r[e],t))return!0;return!1},GeometryCollection:function(n,t){for(var r=n.geometries,e=-1,o=r.length;++e<o;)if(Rt(r[e],t))return!0;return!1}};function Rt(n,t){return!(!n||!Nt.hasOwnProperty(n.type))&&Nt[n.type](n,t)}function It(n,t){return 0===Ct(n,t)}function Dt(n,t){var r=Ct(n[0],n[1]);return Ct(n[0],t)+Ct(t,n[1])<=r+1e-6}function Lt(n,t){return!!_t(n.map(qt),Bt(t))}function qt(n){return(n=n.map(Bt)).pop(),n}function Bt(n){return[n[0]*h,n[1]*h]}var zt=function(n,t){return(n&&At.hasOwnProperty(n.type)?At[n.type]:Rt)(n,t)};function Ft(n,t,r){var e=Object(vt.range)(n,t-1e-6,r).concat(t);return function(n){return e.map((function(t){return[n,t]}))}}function Gt(n,t,r){var e=Object(vt.range)(n,t-1e-6,r).concat(t);return function(n){return e.map((function(t){return[t,n]}))}}function Vt(){var n,t,r,e,o,i,u,a,c,f,s,l,h=10,d=h,v=90,g=360,m=2.5;function b(){return{type:\"MultiLineString\",coordinates:w()}}function w(){return Object(vt.range)(y(e/v)*v,r,v).map(s).concat(Object(vt.range)(y(a/g)*g,u,g).map(l)).concat(Object(vt.range)(y(t/h)*h,n,h).filter((function(n){return p(n%v)>1e-6})).map(c)).concat(Object(vt.range)(y(i/d)*d,o,d).filter((function(n){return p(n%g)>1e-6})).map(f))}return b.lines=function(){return w().map((function(n){return{type:\"LineString\",coordinates:n}}))},b.outline=function(){return{type:\"Polygon\",coordinates:[s(e).concat(l(u).slice(1),s(r).reverse().slice(1),l(a).reverse().slice(1))]}},b.extent=function(n){return arguments.length?b.extentMajor(n).extentMinor(n):b.extentMinor()},b.extentMajor=function(n){return arguments.length?(e=+n[0][0],r=+n[1][0],a=+n[0][1],u=+n[1][1],e>r&&(n=e,e=r,r=n),a>u&&(n=a,a=u,u=n),b.precision(m)):[[e,a],[r,u]]},b.extentMinor=function(r){return arguments.length?(t=+r[0][0],n=+r[1][0],i=+r[0][1],o=+r[1][1],t>n&&(r=t,t=n,n=r),i>o&&(r=i,i=o,o=r),b.precision(m)):[[t,i],[n,o]]},b.step=function(n){return arguments.length?b.stepMajor(n).stepMinor(n):b.stepMinor()},b.stepMajor=function(n){return arguments.length?(v=+n[0],g=+n[1],b):[v,g]},b.stepMinor=function(n){return arguments.length?(h=+n[0],d=+n[1],b):[h,d]},b.precision=function(h){return arguments.length?(m=+h,c=Ft(i,o,90),f=Gt(t,n,m),s=Ft(a,u,90),l=Gt(e,r,m),b):m},b.extentMajor([[-180,1e-6-90],[180,90-1e-6]]).extentMinor([[-180,-80-1e-6],[180,80+1e-6]])}function Ht(){return Vt()()}var Ut,Wt,Yt,$t,Jt=function(n,t){var r=n[0]*h,e=n[1]*h,o=t[0]*h,i=t[1]*h,u=g(e),a=x(e),c=g(i),f=x(i),s=u*g(r),p=u*x(r),d=c*g(o),y=c*x(o),m=2*S(E(M(i-e)+u*c*M(o-r))),b=x(m),w=m?function(n){var t=x(n*=m)/b,r=x(m-n)/b,e=r*s+t*d,o=r*p+t*y,i=r*a+t*f;return[v(o,e)*l,v(i,E(e*e+o*o))*l]}:function(){return[r*l,e*l]};return w.distance=m,w},Xt=function(n){return n},Kt=e(),Qt=e(),Zt={point:T,lineStart:T,lineEnd:T,polygonStart:function(){Zt.lineStart=nr,Zt.lineEnd=er},polygonEnd:function(){Zt.lineStart=Zt.lineEnd=Zt.point=T,Kt.add(p(Qt)),Qt.reset()},result:function(){var n=Kt/2;return Kt.reset(),n}};function nr(){Zt.point=tr}function tr(n,t){Zt.point=rr,Ut=Yt=n,Wt=$t=t}function rr(n,t){Qt.add($t*n-Yt*t),Yt=n,$t=t}function er(){rr(Ut,Wt)}var or=Zt,ir=1/0,ur=ir,ar=-ir,cr=ar;var fr,sr,lr,hr,pr={point:function(n,t){n<ir&&(ir=n);n>ar&&(ar=n);t<ur&&(ur=t);t>cr&&(cr=t)},lineStart:T,lineEnd:T,polygonStart:T,polygonEnd:T,result:function(){var n=[[ir,ur],[ar,cr]];return ar=cr=-(ur=ir=1/0),n}},dr=0,vr=0,gr=0,yr=0,mr=0,br=0,wr=0,xr=0,_r=0,Er={point:jr,lineStart:Or,lineEnd:Tr,polygonStart:function(){Er.lineStart=kr,Er.lineEnd=Pr},polygonEnd:function(){Er.point=jr,Er.lineStart=Or,Er.lineEnd=Tr},result:function(){var n=_r?[wr/_r,xr/_r]:br?[yr/br,mr/br]:gr?[dr/gr,vr/gr]:[NaN,NaN];return dr=vr=gr=yr=mr=br=wr=xr=_r=0,n}};function jr(n,t){dr+=n,vr+=t,++gr}function Or(){Er.point=Sr}function Sr(n,t){Er.point=Mr,jr(lr=n,hr=t)}function Mr(n,t){var r=n-lr,e=t-hr,o=E(r*r+e*e);yr+=o*(lr+n)/2,mr+=o*(hr+t)/2,br+=o,jr(lr=n,hr=t)}function Tr(){Er.point=jr}function kr(){Er.point=Cr}function Pr(){Ar(fr,sr)}function Cr(n,t){Er.point=Ar,jr(fr=lr=n,sr=hr=t)}function Ar(n,t){var r=n-lr,e=t-hr,o=E(r*r+e*e);yr+=o*(lr+n)/2,mr+=o*(hr+t)/2,br+=o,wr+=(o=hr*n-lr*t)*(lr+n),xr+=o*(hr+t),_r+=3*o,jr(lr=n,hr=t)}var Nr=Er;function Rr(n){this._context=n}Rr.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,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(n,t){switch(this._point){case 0:this._context.moveTo(n,t),this._point=1;break;case 1:this._context.lineTo(n,t);break;default:this._context.moveTo(n+this._radius,t),this._context.arc(n,t,this._radius,0,s)}},result:T};var Ir,Dr,Lr,qr,Br,zr=e(),Fr={point:T,lineStart:function(){Fr.point=Gr},lineEnd:function(){Ir&&Vr(Dr,Lr),Fr.point=T},polygonStart:function(){Ir=!0},polygonEnd:function(){Ir=null},result:function(){var n=+zr;return zr.reset(),n}};function Gr(n,t){Fr.point=Vr,Dr=qr=n,Lr=Br=t}function Vr(n,t){qr-=n,Br-=t,zr.add(E(qr*qr+Br*Br)),qr=n,Br=t}var Hr=Fr;function Ur(){this._string=[]}function Wr(n){return\"m0,\"+n+\"a\"+n+\",\"+n+\" 0 1,1 0,\"+-2*n+\"a\"+n+\",\"+n+\" 0 1,1 0,\"+2*n+\"z\"}Ur.prototype={_radius:4.5,_circle:Wr(4.5),pointRadius:function(n){return(n=+n)!==this._radius&&(this._radius=n,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(n,t){switch(this._point){case 0:this._string.push(\"M\",n,\",\",t),this._point=1;break;case 1:this._string.push(\"L\",n,\",\",t);break;default:null==this._circle&&(this._circle=Wr(this._radius)),this._string.push(\"M\",n,\",\",t,this._circle)}},result:function(){if(this._string.length){var n=this._string.join(\"\");return this._string=[],n}return null}};var Yr=function(n,t){var r,e,o=4.5;function i(n){return n&&(\"function\"==typeof o&&e.pointRadius(+o.apply(this,arguments)),B(n,r(e))),e.result()}return i.area=function(n){return B(n,r(or)),or.result()},i.measure=function(n){return B(n,r(Hr)),Hr.result()},i.bounds=function(n){return B(n,r(pr)),pr.result()},i.centroid=function(n){return B(n,r(Nr)),Nr.result()},i.projection=function(t){return arguments.length?(r=null==t?(n=null,Xt):(n=t).stream,i):n},i.context=function(n){return arguments.length?(e=null==n?(t=null,new Ur):new Rr(t=n),\"function\"!=typeof o&&e.pointRadius(o),i):t},i.pointRadius=function(n){return arguments.length?(o=\"function\"==typeof n?n:(e.pointRadius(+n),+n),i):o},i.projection(n).context(t)},$r=function(n,t,r,e){return function(o,i){var u,a,c,f=t(i),s=o.invert(e[0],e[1]),l=st(),h=t(l),p=!1,d={point:v,lineStart:y,lineEnd:m,polygonStart:function(){d.point=b,d.lineStart=w,d.lineEnd=x,a=[],u=[]},polygonEnd:function(){d.point=v,d.lineStart=y,d.lineEnd=m,a=Object(vt.merge)(a);var n=_t(u,s);a.length?(p||(i.polygonStart(),p=!0),pt(a,Xr,n,r,i)):n&&(p||(i.polygonStart(),p=!0),i.lineStart(),r(null,null,1,i),i.lineEnd()),p&&(i.polygonEnd(),p=!1),a=u=null},sphere:function(){i.polygonStart(),i.lineStart(),r(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function v(t,r){var e=o(t,r);n(t=e[0],r=e[1])&&i.point(t,r)}function g(n,t){var r=o(n,t);f.point(r[0],r[1])}function y(){d.point=g,f.lineStart()}function m(){d.point=v,f.lineEnd()}function b(n,t){c.push([n,t]);var r=o(n,t);h.point(r[0],r[1])}function w(){h.lineStart(),c=[]}function x(){b(c[0][0],c[0][1]),h.lineEnd();var n,t,r,e,o=h.clean(),f=l.result(),s=f.length;if(c.pop(),u.push(c),c=null,s)if(1&o){if((t=(r=f[0]).length-1)>0){for(p||(i.polygonStart(),p=!0),i.lineStart(),n=0;n<t;++n)i.point((e=r[n])[0],e[1]);i.lineEnd()}}else s>1&&2&o&&f.push(f.pop().concat(f.shift())),a.push(f.filter(Jr))}return d}};function Jr(n){return n.length>1}function Xr(n,t){return((n=n.x)[0]<0?n[1]-c-1e-6:c-n[1])-((t=t.x)[0]<0?t[1]-c-1e-6:c-t[1])}var Kr=$r((function(){return!0}),(function(n){var t,r=NaN,e=NaN,o=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(i,u){var f=i>0?a:-a,s=p(i-r);p(s-a)<1e-6?(n.point(r,e=(e+u)/2>0?c:-c),n.point(o,e),n.lineEnd(),n.lineStart(),n.point(f,e),n.point(i,e),t=0):o!==f&&s>=a&&(p(r-o)<1e-6&&(r-=1e-6*o),p(i-f)<1e-6&&(i-=1e-6*f),e=function(n,t,r,e){var o,i,u=x(n-r);return p(u)>1e-6?d((x(t)*(i=g(e))*x(r)-x(e)*(o=g(t))*x(n))/(o*i*u)):(t+e)/2}(r,e,i,u),n.point(o,e),n.lineEnd(),n.lineStart(),n.point(f,e),t=0),n.point(r=i,e=u),o=f},lineEnd:function(){n.lineEnd(),r=e=NaN},clean:function(){return 2-t}}}),(function(n,t,r,e){var o;if(null==n)o=r*c,e.point(-a,o),e.point(0,o),e.point(a,o),e.point(a,0),e.point(a,-o),e.point(0,-o),e.point(-a,-o),e.point(-a,0),e.point(-a,o);else if(p(n[0]-t[0])>1e-6){var i=n[0]<t[0]?a:-a;o=r*i/2,e.point(-i,o),e.point(0,o),e.point(i,o)}else e.point(t[0],t[1])}),[-a,-c]);var Qr=function(n,t){var r=g(n),e=r>0,o=p(r)>1e-6;function i(n,t){return g(n)*g(t)>r}function u(n,t,e){var o=[1,0,0],i=K(J(n),J(t)),u=X(i,i),c=i[0],f=u-c*c;if(!f)return!e&&n;var s=r*u/f,l=-r*c/f,h=K(o,i),d=Z(o,s);Q(d,Z(i,l));var v=h,g=X(d,v),y=X(v,v),m=g*g-y*(X(d,d)-1);if(!(m<0)){var b=E(m),w=Z(v,(-g-b)/y);if(Q(w,d),w=$(w),!e)return w;var x,_=n[0],j=t[0],O=n[1],S=t[1];j<_&&(x=_,_=j,j=x);var M=j-_,T=p(M-a)<1e-6;if(!T&&S<O&&(x=O,O=S,S=x),T||M<1e-6?T?O+S>0^w[1]<(p(w[0]-_)<1e-6?O:S):O<=w[1]&&w[1]<=S:M>a^(_<=w[0]&&w[0]<=j)){var k=Z(v,(-g+b)/y);return Q(k,d),[w,$(k)]}}}function c(t,r){var o=e?n:a-n,i=0;return t<-o?i|=1:t>o&&(i|=2),r<-o?i|=4:r>o&&(i|=8),i}return $r(i,(function(n){var t,r,f,s,l;return{lineStart:function(){s=f=!1,l=1},point:function(h,p){var d,v=[h,p],g=i(h,p),y=e?g?0:c(h,p):g?c(h+(h<0?a:-a),p):0;if(!t&&(s=f=g)&&n.lineStart(),g!==f&&(!(d=u(t,v))||lt(t,d)||lt(v,d))&&(v[0]+=1e-6,v[1]+=1e-6,g=i(v[0],v[1])),g!==f)l=0,g?(n.lineStart(),d=u(v,t),n.point(d[0],d[1])):(d=u(t,v),n.point(d[0],d[1]),n.lineEnd()),t=d;else if(o&&t&&e^g){var m;y&r||!(m=u(v,t,!0))||(l=0,e?(n.lineStart(),n.point(m[0][0],m[0][1]),n.point(m[1][0],m[1][1]),n.lineEnd()):(n.point(m[1][0],m[1][1]),n.lineEnd(),n.lineStart(),n.point(m[0][0],m[0][1])))}!g||t&&lt(t,v)||n.point(v[0],v[1]),t=v,f=g,r=y},lineEnd:function(){f&&n.lineEnd(),t=null},clean:function(){return l|(s&&f)<<1}}}),(function(r,e,o,i){at(i,n,t,o,r,e)}),e?[0,-n]:[-a,n-a])},Zr=function(n){return{stream:ne(n)}};function ne(n){return function(t){var r=new te;for(var e in n)r[e]=n[e];return r.stream=t,r}}function te(){}function re(n,t,r){var e=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=n.clipExtent&&n.clipExtent();n.scale(150).translate([0,0]),null!=i&&n.clipExtent(null),B(r,n.stream(pr));var u=pr.result(),a=Math.min(e/(u[1][0]-u[0][0]),o/(u[1][1]-u[0][1])),c=+t[0][0]+(e-a*(u[1][0]+u[0][0]))/2,f=+t[0][1]+(o-a*(u[1][1]+u[0][1]))/2;return null!=i&&n.clipExtent(i),n.scale(150*a).translate([c,f])}function ee(n,t,r){return re(n,[[0,0],t],r)}te.prototype={constructor:te,point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var oe=g(30*h),ie=function(n,t){return+t?function(n,t){function r(e,o,i,u,a,c,f,s,l,h,d,g,y,m){var b=f-e,w=s-o,x=b*b+w*w;if(x>4*t&&y--){var _=u+h,j=a+d,O=c+g,M=E(_*_+j*j+O*O),T=S(O/=M),k=p(p(O)-1)<1e-6||p(i-l)<1e-6?(i+l)/2:v(j,_),P=n(k,T),C=P[0],A=P[1],N=C-e,R=A-o,I=w*N-b*R;(I*I/x>t||p((b*N+w*R)/x-.5)>.3||u*h+a*d+c*g<oe)&&(r(e,o,i,u,a,c,C,A,k,_/=M,j/=M,O,y,m),m.point(C,A),r(C,A,k,_,j,O,f,s,l,h,d,g,y,m))}}return function(t){var e,o,i,u,a,c,f,s,l,h,p,d,v={point:g,lineStart:y,lineEnd:b,polygonStart:function(){t.polygonStart(),v.lineStart=w},polygonEnd:function(){t.polygonEnd(),v.lineStart=y}};function g(r,e){r=n(r,e),t.point(r[0],r[1])}function y(){s=NaN,v.point=m,t.lineStart()}function m(e,o){var i=J([e,o]),u=n(e,o);r(s,l,f,h,p,d,s=u[0],l=u[1],f=e,h=i[0],p=i[1],d=i[2],16,t),t.point(s,l)}function b(){v.point=g,t.lineEnd()}function w(){y(),v.point=x,v.lineEnd=_}function x(n,t){m(e=n,t),o=s,i=l,u=h,a=p,c=d,v.point=m}function _(){r(s,l,f,h,p,d,o,i,e,u,a,c,16,t),v.lineEnd=b,b()}return v}}(n,t):function(n){return ne({point:function(t,r){t=n(t,r),this.stream.point(t[0],t[1])}})}(n)};var ue=ne({point:function(n,t){this.stream.point(n*h,t*h)}});function ae(n){return ce((function(){return n}))()}function ce(n){var t,r,e,o,i,u,a,c,f,s,p=150,d=480,v=250,g=0,y=0,m=0,b=0,w=0,x=null,_=Kr,j=null,O=Xt,S=.5,M=ie(P,S);function T(n){return[(n=i(n[0]*h,n[1]*h))[0]*p+r,e-n[1]*p]}function k(n){return(n=i.invert((n[0]-r)/p,(e-n[1])/p))&&[n[0]*l,n[1]*l]}function P(n,o){return[(n=t(n,o))[0]*p+r,e-n[1]*p]}function C(){i=nt(o=rt(m,b,w),t);var n=t(g,y);return r=d-n[0]*p,e=v+n[1]*p,A()}function A(){return f=s=null,T}return T.stream=function(n){return f&&s===n?f:f=ue(_(o,M(O(s=n))))},T.clipAngle=function(n){return arguments.length?(_=+n?Qr(x=n*h,6*h):(x=null,Kr),A()):x*l},T.clipExtent=function(n){return arguments.length?(O=null==n?(j=u=a=c=null,Xt):gt(j=+n[0][0],u=+n[0][1],a=+n[1][0],c=+n[1][1]),A()):null==j?null:[[j,u],[a,c]]},T.scale=function(n){return arguments.length?(p=+n,C()):p},T.translate=function(n){return arguments.length?(d=+n[0],v=+n[1],C()):[d,v]},T.center=function(n){return arguments.length?(g=n[0]%360*h,y=n[1]%360*h,C()):[g*l,y*l]},T.rotate=function(n){return arguments.length?(m=n[0]%360*h,b=n[1]%360*h,w=n.length>2?n[2]%360*h:0,C()):[m*l,b*l,w*l]},T.precision=function(n){return arguments.length?(M=ie(P,S=n*n),A()):E(S)},T.fitExtent=function(n,t){return re(T,n,t)},T.fitSize=function(n,t){return ee(T,n,t)},function(){return t=n.apply(this,arguments),T.invert=t.invert&&k,C()}}function fe(n){var t=0,r=a/3,e=ce(n),o=e(t,r);return o.parallels=function(n){return arguments.length?e(t=n[0]*h,r=n[1]*h):[t*l,r*l]},o}function se(n,t){var r=x(n),e=(r+x(t))/2;if(p(e)<1e-6)return function(n){var t=g(n);function r(n,r){return[n*t,x(r)/t]}return r.invert=function(n,r){return[n/t,S(r*t)]},r}(n);var o=1+r*(2*e-r),i=E(o)/e;function u(n,t){var r=E(o-2*e*x(t))/e;return[r*x(n*=e),i-r*g(n)]}return u.invert=function(n,t){var r=i-t;return[v(n,p(r))/e*_(r),S((o-(n*n+r*r)*e*e)/(2*e))]},u}var le=function(){return fe(se).scale(155.424).center([0,33.6442])},he=function(){return le().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var pe=function(){var n,t,r,e,o,i,u=he(),a=le().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=le().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={point:function(n,t){i=[n,t]}};function s(n){var t=n[0],u=n[1];return i=null,r.point(t,u),i||(e.point(t,u),i)||(o.point(t,u),i)}function l(){return n=t=null,s}return s.invert=function(n){var t=u.scale(),r=u.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=.12&&o<.234&&e>=-.425&&e<-.214?a:o>=.166&&o<.234&&e>=-.214&&e<-.115?c:u).invert(n)},s.stream=function(r){return n&&t===r?n:(e=[u.stream(t=r),a.stream(r),c.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},s.precision=function(n){return arguments.length?(u.precision(n),a.precision(n),c.precision(n),l()):u.precision()},s.scale=function(n){return arguments.length?(u.scale(n),a.scale(.35*n),c.scale(n),s.translate(u.translate())):u.scale()},s.translate=function(n){if(!arguments.length)return u.translate();var t=u.scale(),i=+n[0],s=+n[1];return r=u.translate(n).clipExtent([[i-.455*t,s-.238*t],[i+.455*t,s+.238*t]]).stream(f),e=a.translate([i-.307*t,s+.201*t]).clipExtent([[i-.425*t+1e-6,s+.12*t+1e-6],[i-.214*t-1e-6,s+.234*t-1e-6]]).stream(f),o=c.translate([i-.205*t,s+.212*t]).clipExtent([[i-.214*t+1e-6,s+.166*t+1e-6],[i-.115*t-1e-6,s+.234*t-1e-6]]).stream(f),l()},s.fitExtent=function(n,t){return re(s,n,t)},s.fitSize=function(n,t){return ee(s,n,t)},s.scale(1070)};function de(n){return function(t,r){var e=g(t),o=g(r),i=n(e*o);return[i*o*x(t),i*x(r)]}}function ve(n){return function(t,r){var e=E(t*t+r*r),o=n(e),i=x(o),u=g(o);return[v(t*i,e*u),S(e&&r*i/e)]}}var ge=de((function(n){return E(2/(1+n))}));ge.invert=ve((function(n){return 2*S(n/2)}));var ye=function(){return ae(ge).scale(124.75).clipAngle(179.999)},me=de((function(n){return(n=O(n))&&n/x(n)}));me.invert=ve((function(n){return n}));var be=function(){return ae(me).scale(79.4188).clipAngle(179.999)};function we(n,t){return[n,b(j((c+t)/2))]}we.invert=function(n,t){return[n,2*d(m(t))-c]};var xe=function(){return _e(we).scale(961/s)};function _e(n){var t,r,e,o=ae(n),i=o.center,u=o.scale,c=o.translate,f=o.clipExtent,s=null;function l(){var i=a*u(),c=o(ut(o.rotate()).invert([0,0]));return f(null==s?[[c[0]-i,c[1]-i],[c[0]+i,c[1]+i]]:n===we?[[Math.max(c[0]-i,s),t],[Math.min(c[0]+i,r),e]]:[[s,Math.max(c[1]-i,t)],[r,Math.min(c[1]+i,e)]])}return o.scale=function(n){return arguments.length?(u(n),l()):u()},o.translate=function(n){return arguments.length?(c(n),l()):c()},o.center=function(n){return arguments.length?(i(n),l()):i()},o.clipExtent=function(n){return arguments.length?(null==n?s=t=r=e=null:(s=+n[0][0],t=+n[0][1],r=+n[1][0],e=+n[1][1]),l()):null==s?null:[[s,t],[r,e]]},l()}function Ee(n){return j((c+n)/2)}function je(n,t){var r=g(n),e=n===t?x(n):b(r/g(t))/b(Ee(t)/Ee(n)),o=r*w(Ee(n),e)/e;if(!e)return we;function i(n,t){o>0?t<1e-6-c&&(t=1e-6-c):t>c-1e-6&&(t=c-1e-6);var r=o/w(Ee(t),e);return[r*x(e*n),o-r*g(e*n)]}return i.invert=function(n,t){var r=o-t,i=_(e)*E(n*n+r*r);return[v(n,p(r))/e*_(r),2*d(w(o/i,1/e))-c]},i}var Oe=function(){return fe(je).scale(109.5).parallels([30,30])};function Se(n,t){return[n,t]}Se.invert=Se;var Me=function(){return ae(Se).scale(152.63)};function Te(n,t){var r=g(n),e=n===t?x(n):(r-g(t))/(t-n),o=r/e+n;if(p(e)<1e-6)return Se;function i(n,t){var r=o-t,i=e*n;return[r*x(i),o-r*g(i)]}return i.invert=function(n,t){var r=o-t;return[v(n,p(r))/e*_(r),o-_(e)*E(n*n+r*r)]},i}var ke=function(){return fe(Te).scale(131.154).center([0,13.9389])};function Pe(n,t){var r=g(t),e=g(n)*r;return[r*x(n)/e,x(t)/e]}Pe.invert=ve(d);var Ce=function(){return ae(Pe).scale(144.049).clipAngle(60)};function Ae(n,t,r,e){return 1===n&&1===t&&0===r&&0===e?Xt:ne({point:function(o,i){this.stream.point(o*n+r,i*t+e)}})}var Ne=function(){var n,t,r,e,o,i,u=1,a=0,c=0,f=1,s=1,l=Xt,h=null,p=Xt;function d(){return e=o=null,i}return i={stream:function(n){return e&&o===n?e:e=l(p(o=n))},clipExtent:function(e){return arguments.length?(p=null==e?(h=n=t=r=null,Xt):gt(h=+e[0][0],n=+e[0][1],t=+e[1][0],r=+e[1][1]),d()):null==h?null:[[h,n],[t,r]]},scale:function(n){return arguments.length?(l=Ae((u=+n)*f,u*s,a,c),d()):u},translate:function(n){return arguments.length?(l=Ae(u*f,u*s,a=+n[0],c=+n[1]),d()):[a,c]},reflectX:function(n){return arguments.length?(l=Ae(u*(f=n?-1:1),u*s,a,c),d()):f<0},reflectY:function(n){return arguments.length?(l=Ae(u*f,u*(s=n?-1:1),a,c),d()):s<0},fitExtent:function(n,t){return re(i,n,t)},fitSize:function(n,t){return ee(i,n,t)}}};function Re(n,t){return[g(t)*x(n),x(t)]}Re.invert=ve(S);var Ie=function(){return ae(Re).scale(249.5).clipAngle(90+1e-6)};function De(n,t){var r=g(t),e=1+g(n)*r;return[r*x(n)/e,x(t)/e]}De.invert=ve((function(n){return 2*d(n)}));var Le=function(){return ae(De).scale(250).clipAngle(142)};function qe(n,t){return[b(j((c+t)/2)),-n]}qe.invert=function(n,t){return[-t,2*d(m(n))-c]};var Be=function(){var n=_e(qe),t=n.center,r=n.rotate;return n.center=function(n){return arguments.length?t([-n[1],n[0]]):[(n=t())[1],-n[0]]},n.rotate=function(n){return arguments.length?r([n[0],n[1],n.length>2?n[2]+90:90]):[(n=r())[0],n[1],n[2]-90]},r([0,0,90]).scale(159.155)};r.d(t,\"geoArea\",(function(){return Y})),r.d(t,\"geoBounds\",(function(){return zn})),r.d(t,\"geoCentroid\",(function(){return Qn})),r.d(t,\"geoCircle\",(function(){return ft})),r.d(t,\"geoClipExtent\",(function(){return wt})),r.d(t,\"geoContains\",(function(){return zt})),r.d(t,\"geoDistance\",(function(){return Ct})),r.d(t,\"geoGraticule\",(function(){return Vt})),r.d(t,\"geoGraticule10\",(function(){return Ht})),r.d(t,\"geoInterpolate\",(function(){return Jt})),r.d(t,\"geoLength\",(function(){return Tt})),r.d(t,\"geoPath\",(function(){return Yr})),r.d(t,\"geoAlbers\",(function(){return he})),r.d(t,\"geoAlbersUsa\",(function(){return pe})),r.d(t,\"geoAzimuthalEqualArea\",(function(){return ye})),r.d(t,\"geoAzimuthalEqualAreaRaw\",(function(){return ge})),r.d(t,\"geoAzimuthalEquidistant\",(function(){return be})),r.d(t,\"geoAzimuthalEquidistantRaw\",(function(){return me})),r.d(t,\"geoConicConformal\",(function(){return Oe})),r.d(t,\"geoConicConformalRaw\",(function(){return je})),r.d(t,\"geoConicEqualArea\",(function(){return le})),r.d(t,\"geoConicEqualAreaRaw\",(function(){return se})),r.d(t,\"geoConicEquidistant\",(function(){return ke})),r.d(t,\"geoConicEquidistantRaw\",(function(){return Te})),r.d(t,\"geoEquirectangular\",(function(){return Me})),r.d(t,\"geoEquirectangularRaw\",(function(){return Se})),r.d(t,\"geoGnomonic\",(function(){return Ce})),r.d(t,\"geoGnomonicRaw\",(function(){return Pe})),r.d(t,\"geoIdentity\",(function(){return Ne})),r.d(t,\"geoProjection\",(function(){return ae})),r.d(t,\"geoProjectionMutator\",(function(){return ce})),r.d(t,\"geoMercator\",(function(){return xe})),r.d(t,\"geoMercatorRaw\",(function(){return we})),r.d(t,\"geoOrthographic\",(function(){return Ie})),r.d(t,\"geoOrthographicRaw\",(function(){return Re})),r.d(t,\"geoStereographic\",(function(){return Le})),r.d(t,\"geoStereographicRaw\",(function(){return De})),r.d(t,\"geoTransverseMercator\",(function(){return Be})),r.d(t,\"geoTransverseMercatorRaw\",(function(){return qe})),r.d(t,\"geoRotation\",(function(){return ut})),r.d(t,\"geoStream\",(function(){return B})),r.d(t,\"geoTransform\",(function(){return Zr}))},function(n,t,r){\"use strict\";t.a=function(n,t){function r(r,e){return r=n(r,e),t(r[0],r[1])}return n.invert&&t.invert&&(r.invert=function(r,e){return(r=t.invert(r,e))&&n.invert(r[0],r[1])}),r}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4);t.default=function(n,t){for(var r=t||1,o=e.__read(n,2),i=o[0],u=o[1],a=[],c=i;c<u;)a.push(c),c+=r;return a.push(u),a}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(21);t.silverman=function(n){var t=e.standardDeviation(n),r=4*Math.pow(t,5),o=3*n.length;return Math.pow(r/o,.2)},t.nrd=function(n){var t=e.standardDeviation(n),r=e.interquartileRange(n);return\"number\"==typeof r&&(t=Math.min(t,r/1.34)),1.06*t*Math.pow(n.length,-.2)}},function(n,t,r){var e=r(49),o=r(202),i=r(203),u=r(204),a=r(205),c=r(206);function f(n){var t=this.__data__=new e(n);this.size=t.size}f.prototype.clear=o,f.prototype.delete=i,f.prototype.get=u,f.prototype.has=a,f.prototype.set=c,n.exports=f},function(n,t,r){var e=r(197),o=r(198),i=r(199),u=r(200),a=r(201);function c(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}c.prototype.clear=e,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=u,c.prototype.set=a,n.exports=c},function(n,t,r){var e=r(30);n.exports=function(n,t){for(var r=n.length;r--;)if(e(n[r][0],t))return r;return-1}},function(n,t,r){var e=r(26)(Object,\"create\");n.exports=e},function(n,t,r){var e=r(222);n.exports=function(n,t){var r=n.__data__;return e(t)?r[\"string\"==typeof t?\"string\":\"hash\"]:r.map}},function(n,t,r){var e=r(54),o=r(30),i=Object.prototype.hasOwnProperty;n.exports=function(n,t,r){var u=n[t];i.call(n,t)&&o(u,r)&&(void 0!==r||t in n)||e(n,t,r)}},function(n,t,r){var e=r(95);n.exports=function(n,t,r){\"__proto__\"==t&&e?e(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}},function(n,t){var r=/^(?:0|[1-9]\\d*)$/;n.exports=function(n,t){var e=typeof n;return!!(t=null==t?9007199254740991:t)&&(\"number\"==e||\"symbol\"!=e&&r.test(n))&&n>-1&&n%1==0&&n<t}},function(n,t){n.exports=function(n){return function(t){return n(t)}}},function(n,t){var r=Object.prototype;n.exports=function(n){var t=n&&n.constructor;return n===(\"function\"==typeof t&&t.prototype||r)}},function(n,t,r){var e=r(97)(Object.getPrototypeOf,Object);n.exports=e},function(n,t,r){var e=r(78),o=r(251)(e);n.exports=o},function(n,t,r){var e=r(9),o=r(82),i=r(265),u=r(120);n.exports=function(n,t){return e(n)?n:o(n,t)?[n]:i(u(n))}},function(n,t){n.exports=function(n,t){for(var r=-1,e=null==n?0:n.length,o=Array(e);++r<e;)o[r]=t(n[r],r,n);return o}},function(n,t,r){var e=r(28),o=r(129),i=r(130);n.exports=function(n,t){return i(o(n,t,e),n+\"\")}},function(n,t,r){var e=r(30),o=r(22),i=r(55),u=r(15);n.exports=function(n,t,r){if(!u(r))return!1;var a=typeof t;return!!(\"number\"==a?o(r)&&i(t,r.length):\"string\"==a&&t in r)&&e(r[t],n)}},function(n,t,r){\"use strict\";var e=r(8);n.exports={longestPath:function(n){var t={};e.forEach(n.sources(),(function r(o){var i=n.node(o);if(e.has(t,o))return i.rank;t[o]=!0;var u=e.min(e.map(n.outEdges(o),(function(t){return r(t.w)-n.edge(t).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),i.rank=u}))},slack:function(n,t){return n.node(t.w).rank-n.node(t.v).rank-n.edge(t).minlen}}},function(n,t,r){\"use strict\";function e(n){return Math.abs(n)<=1?.5:0}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default={boxcar:e,cosine:function(n){return Math.abs(n)<=1?Math.PI/4*Math.cos(Math.PI/2*n):0},epanechnikov:function(n){return Math.abs(n)<1?.75*(1-n*n):0},gaussian:function(n){return.3989422804*Math.exp(-.5*n*n)},quartic:function(n){if(Math.abs(n)<1){var t=1-n*n;return.9375*t*t}return 0},triangular:function(n){var t=Math.abs(n);return t<1?1-t:0},tricube:function(n){return Math.abs(n)<1?70/81*function(n){var t=1-Math.pow(Math.abs(n),3);return Math.pow(t,3)}(n):0},triweight:function(n){if(Math.abs(n)<1){var t=1-n*n;return 35/32*t*t*t}return 0},uniform:e}},function(n,t,r){\"use strict\";var e=r(14);n.exports=o;function o(n){this._isDirected=!e.has(n,\"directed\")||n.directed,this._isMultigraph=!!e.has(n,\"multigraph\")&&n.multigraph,this._isCompound=!!e.has(n,\"compound\")&&n.compound,this._label=void 0,this._defaultNodeLabelFn=e.constant(void 0),this._defaultEdgeLabelFn=e.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[\"\\0\"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function i(n,t){n[t]?n[t]++:n[t]=1}function u(n,t){--n[t]||delete n[t]}function a(n,t,r,o){var i=\"\"+t,u=\"\"+r;if(!n&&i>u){var a=i;i=u,u=a}return i+\"\u0001\"+u+\"\u0001\"+(e.isUndefined(o)?\"\\0\":o)}function c(n,t,r,e){var o=\"\"+t,i=\"\"+r;if(!n&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return e&&(a.name=e),a}function f(n,t){return a(n,t.v,t.w,t.name)}o.prototype._nodeCount=0,o.prototype._edgeCount=0,o.prototype.isDirected=function(){return this._isDirected},o.prototype.isMultigraph=function(){return this._isMultigraph},o.prototype.isCompound=function(){return this._isCompound},o.prototype.setGraph=function(n){return this._label=n,this},o.prototype.graph=function(){return this._label},o.prototype.setDefaultNodeLabel=function(n){return e.isFunction(n)||(n=e.constant(n)),this._defaultNodeLabelFn=n,this},o.prototype.nodeCount=function(){return this._nodeCount},o.prototype.nodes=function(){return e.keys(this._nodes)},o.prototype.sources=function(){var n=this;return e.filter(this.nodes(),(function(t){return e.isEmpty(n._in[t])}))},o.prototype.sinks=function(){var n=this;return e.filter(this.nodes(),(function(t){return e.isEmpty(n._out[t])}))},o.prototype.setNodes=function(n,t){var r=arguments,o=this;return e.each(n,(function(n){r.length>1?o.setNode(n,t):o.setNode(n)})),this},o.prototype.setNode=function(n,t){return e.has(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=t),this):(this._nodes[n]=arguments.length>1?t:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=\"\\0\",this._children[n]={},this._children[\"\\0\"][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)},o.prototype.node=function(n){return this._nodes[n]},o.prototype.hasNode=function(n){return e.has(this._nodes,n)},o.prototype.removeNode=function(n){var t=this;if(e.has(this._nodes,n)){var r=function(n){t.removeEdge(t._edgeObjs[n])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],e.each(this.children(n),(function(n){t.setParent(n)})),delete this._children[n]),e.each(e.keys(this._in[n]),r),delete this._in[n],delete this._preds[n],e.each(e.keys(this._out[n]),r),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this},o.prototype.setParent=function(n,t){if(!this._isCompound)throw new Error(\"Cannot set parent in a non-compound graph\");if(e.isUndefined(t))t=\"\\0\";else{for(var r=t+=\"\";!e.isUndefined(r);r=this.parent(r))if(r===n)throw new Error(\"Setting \"+t+\" as parent of \"+n+\" would create a cycle\");this.setNode(t)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=t,this._children[t][n]=!0,this},o.prototype._removeFromParentsChildList=function(n){delete this._children[this._parent[n]][n]},o.prototype.parent=function(n){if(this._isCompound){var t=this._parent[n];if(\"\\0\"!==t)return t}},o.prototype.children=function(n){if(e.isUndefined(n)&&(n=\"\\0\"),this._isCompound){var t=this._children[n];if(t)return e.keys(t)}else{if(\"\\0\"===n)return this.nodes();if(this.hasNode(n))return[]}},o.prototype.predecessors=function(n){var t=this._preds[n];if(t)return e.keys(t)},o.prototype.successors=function(n){var t=this._sucs[n];if(t)return e.keys(t)},o.prototype.neighbors=function(n){var t=this.predecessors(n);if(t)return e.union(t,this.successors(n))},o.prototype.isLeaf=function(n){return 0===(this.isDirected()?this.successors(n):this.neighbors(n)).length},o.prototype.filterNodes=function(n){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var r=this;e.each(this._nodes,(function(r,e){n(e)&&t.setNode(e,r)})),e.each(this._edgeObjs,(function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,r.edge(n))}));var o={};return this._isCompound&&e.each(t.nodes(),(function(n){t.setParent(n,function n(e){var i=r.parent(e);return void 0===i||t.hasNode(i)?(o[e]=i,i):i in o?o[i]:n(i)}(n))})),t},o.prototype.setDefaultEdgeLabel=function(n){return e.isFunction(n)||(n=e.constant(n)),this._defaultEdgeLabelFn=n,this},o.prototype.edgeCount=function(){return this._edgeCount},o.prototype.edges=function(){return e.values(this._edgeObjs)},o.prototype.setPath=function(n,t){var r=this,o=arguments;return e.reduce(n,(function(n,e){return o.length>1?r.setEdge(n,e,t):r.setEdge(n,e),e})),this},o.prototype.setEdge=function(){var n,t,r,o,u=!1,f=arguments[0];\"object\"==typeof f&&null!==f&&\"v\"in f?(n=f.v,t=f.w,r=f.name,2===arguments.length&&(o=arguments[1],u=!0)):(n=f,t=arguments[1],r=arguments[3],arguments.length>2&&(o=arguments[2],u=!0)),n=\"\"+n,t=\"\"+t,e.isUndefined(r)||(r=\"\"+r);var s=a(this._isDirected,n,t,r);if(e.has(this._edgeLabels,s))return u&&(this._edgeLabels[s]=o),this;if(!e.isUndefined(r)&&!this._isMultigraph)throw new Error(\"Cannot set a named edge when isMultigraph = false\");this.setNode(n),this.setNode(t),this._edgeLabels[s]=u?o:this._defaultEdgeLabelFn(n,t,r);var l=c(this._isDirected,n,t,r);return n=l.v,t=l.w,Object.freeze(l),this._edgeObjs[s]=l,i(this._preds[t],n),i(this._sucs[n],t),this._in[t][s]=l,this._out[n][s]=l,this._edgeCount++,this},o.prototype.edge=function(n,t,r){var e=1===arguments.length?f(this._isDirected,arguments[0]):a(this._isDirected,n,t,r);return this._edgeLabels[e]},o.prototype.hasEdge=function(n,t,r){var o=1===arguments.length?f(this._isDirected,arguments[0]):a(this._isDirected,n,t,r);return e.has(this._edgeLabels,o)},o.prototype.removeEdge=function(n,t,r){var e=1===arguments.length?f(this._isDirected,arguments[0]):a(this._isDirected,n,t,r),o=this._edgeObjs[e];return o&&(n=o.v,t=o.w,delete this._edgeLabels[e],delete this._edgeObjs[e],u(this._preds[t],n),u(this._sucs[n],t),delete this._in[t][e],delete this._out[n][e],this._edgeCount--),this},o.prototype.inEdges=function(n,t){var r=this._in[n];if(r){var o=e.values(r);return t?e.filter(o,(function(n){return n.v===t})):o}},o.prototype.outEdges=function(n,t){var r=this._out[n];if(r){var o=e.values(r);return t?e.filter(o,(function(n){return n.w===t})):o}},o.prototype.nodeEdges=function(n,t){var r=this.inEdges(n,t);if(r)return r.concat(this.outEdges(n,t))}},function(n,t,r){var e=r(26)(r(19),\"Map\");n.exports=e},function(n,t,r){var e=r(214),o=r(221),i=r(223),u=r(224),a=r(225);function c(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}c.prototype.clear=e,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=u,c.prototype.set=a,n.exports=c},function(n,t){n.exports=function(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}},function(n,t){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,\"loaded\",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,\"id\",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(n,t){n.exports=function(n){return\"number\"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}},function(n,t,r){(function(n){var e=r(93),o=t&&!t.nodeType&&t,i=o&&\"object\"==typeof n&&n&&!n.nodeType&&n,u=i&&i.exports===o&&e.process,a=function(){try{var n=i&&i.require&&i.require(\"util\").types;return n||u&&u.binding&&u.binding(\"util\")}catch(n){}}();n.exports=a}).call(this,r(70)(n))},function(n,t,r){var e=r(57),o=r(231),i=Object.prototype.hasOwnProperty;n.exports=function(n){if(!e(n))return o(n);var t=[];for(var r in Object(n))i.call(n,r)&&\"constructor\"!=r&&t.push(r);return t}},function(n,t,r){var e=r(100),o=r(101),i=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols,a=u?function(n){return null==n?[]:(n=Object(n),e(u(n),(function(t){return i.call(n,t)})))}:o;n.exports=a},function(n,t){n.exports=function(n,t){for(var r=-1,e=t.length,o=n.length;++r<e;)n[o+r]=t[r];return n}},function(n,t,r){var e=r(106);n.exports=function(n){var t=new n.constructor(n.byteLength);return new e(t).set(new e(n)),t}},function(n,t){n.exports=function(n){return function(){return n}}},function(n,t,r){var e=r(79),o=r(24);n.exports=function(n,t){return n&&e(n,t,o)}},function(n,t,r){var e=r(250)();n.exports=e},function(n,t){n.exports=function(n){var t=-1,r=Array(n.size);return n.forEach((function(n){r[++t]=n})),r}},function(n,t,r){var e=r(60),o=r(43);n.exports=function(n,t){for(var r=0,i=(t=e(t,n)).length;null!=n&&r<i;)n=n[o(t[r++])];return r&&r==i?n:void 0}},function(n,t,r){var e=r(9),o=r(35),i=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,u=/^\\w*$/;n.exports=function(n,t){if(e(n))return!1;var r=typeof n;return!(\"number\"!=r&&\"symbol\"!=r&&\"boolean\"!=r&&null!=n&&!o(n))||(u.test(n)||!i.test(n)||null!=t&&n in Object(t))}},function(n,t,r){var e=r(75),o=r(284);n.exports=function n(t,r,i,u,a){var c=-1,f=t.length;for(i||(i=o),a||(a=[]);++c<f;){var s=t[c];r>0&&i(s)?r>1?n(s,r-1,i,u,a):e(a,s):u||(a[a.length]=s)}return a}},function(n,t,r){var e=r(35);n.exports=function(n,t,r){for(var o=-1,i=n.length;++o<i;){var u=n[o],a=t(u);if(null!=a&&(void 0===c?a==a&&!e(a):r(a,c)))var c=a,f=u}return f}},function(n,t,r){var e;\"undefined\"!=typeof self&&self,e=function(){return function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,\"a\",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p=\"\",r(r.s=5)}([function(n,t,r){var e=r(7);n.exports={assign:e}},function(n,t,r){var e=r(3),o=function(){function n(n,t){void 0===t&&(t={}),this.options=t,this.rootNode=e(n,t)}return n.prototype.execute=function(){throw new Error(\"please override this method\")},n}();n.exports=o},function(n,t,r){var e=r(4),o=[\"LR\",\"RL\",\"TB\",\"BT\",\"H\",\"V\"],i=[\"LR\",\"RL\",\"H\"],u=o[0];n.exports=function(n,t,r){var a=t.direction||u;if(t.isHorizontal=function(n){return i.indexOf(n)>-1}(a),a&&-1===o.indexOf(a))throw new TypeError(\"Invalid direction: \"+a);if(a===o[0])r(n,t);else if(a===o[1])r(n,t),n.right2left();else if(a===o[2])r(n,t);else if(a===o[3])r(n,t),n.bottom2top();else if(a===o[4]||a===o[5]){var c=e(n,t),f=c.left,s=c.right;r(f,t),r(s,t),t.isHorizontal?f.right2left():f.bottom2top(),s.translate(f.x-s.x,f.y-s.y),n.x=f.x,n.y=s.y;var l=n.getBoundingBox();t.isHorizontal?l.top<0&&n.translate(0,-l.top):l.left<0&&n.translate(-l.left,0)}return t.fixedRoot||n.translate(-(n.x+n.width/2+n.hgap),-(n.y+n.height/2+n.vgap)),n}},function(n,t,r){var e=r(0),o={getId:function(n){return n.id||n.name},getHGap:function(n){return n.hgap||18},getVGap:function(n){return n.vgap||18},getChildren:function(n){return n.children},getHeight:function(n){return n.height||36},getWidth:function(n){var t=n.name||\" \";return n.width||18*t.split(\"\").length}};function i(n,t){var r=this;if(r.vgap=r.hgap=0,n instanceof i)return n;r.data=n;var e=t.getHGap(n),o=t.getVGap(n);return r.width=t.getWidth(n),r.height=t.getHeight(n),r.id=t.getId(n),r.x=r.y=0,r.depth=0,r.children||(r.children=[]),r.addGap(e,o),r}e.assign(i.prototype,{isRoot:function(){return 0===this.depth},isLeaf:function(){return 0===this.children.length},addGap:function(n,t){this.hgap+=n,this.vgap+=t,this.width+=2*n,this.height+=2*t},eachNode:function(n){for(var t,r=[this];t=r.pop();)n(t),r=r.concat(t.children)},DFTraverse:function(n){this.eachNode(n)},BFTraverse:function(n){for(var t,r=[this];t=r.shift();)n(t),r=r.concat(t.children)},getBoundingBox:function(){var n={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode((function(t){n.left=Math.min(n.left,t.x),n.top=Math.min(n.top,t.y),n.width=Math.max(n.width,t.x+t.width),n.height=Math.max(n.height,t.y+t.height)})),n},translate:function(n,t){void 0===n&&(n=0),void 0===t&&(t=0),this.eachNode((function(r){r.x+=n,r.y+=t}))},right2left:function(){var n=this.getBoundingBox();this.eachNode((function(t){t.x=t.x-2*(t.x-n.left)-t.width})),this.translate(n.width,0)},bottom2top:function(){var n=this.getBoundingBox();this.eachNode((function(t){t.y=t.y-2*(t.y-n.top)-t.height})),this.translate(0,n.height)}}),n.exports=function(n,t,r){void 0===t&&(t={});var u,a=new i(n,t=e.assign({},o,t)),c=[a];if(!r&&!n.collapsed)for(;u=c.pop();)if(!u.data.collapsed){var f=t.getChildren(u.data),s=f?f.length:0;if(u.children=new Array(s),f&&s)for(var l=0;l<s;l++){var h=new i(f[l],t);u.children[l]=h,c.push(h),h.parent=u,h.depth=u.depth+1}}return a}},function(n,t,r){var e=r(3);n.exports=function(n,t){for(var r=e(n.data,t,!0),o=e(n.data,t,!0),i=n.children.length,u=Math.round(i/2),a=t.getSide||function(n,t){return t<u?\"right\":\"left\"},c=0;c<i;c++){var f=n.children[c];\"right\"===a(f,c)?o.children.push(f):r.children.push(f)}return r.eachNode((function(n){n.isRoot()||(n.side=\"left\")})),o.eachNode((function(n){n.isRoot()||(n.side=\"right\")})),{left:r,right:o}}},function(n,t,r){var e={compactBox:r(6),dendrogram:r(9),indented:r(11),mindmap:r(13)};n.exports=e},function(n,t,r){var e=r(1),o=r(8),i=r(2),u=r(0),a=function(n){var t,r;function e(){return n.apply(this,arguments)||this}return r=n,(t=e).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,e.prototype.execute=function(){return i(this.rootNode,this.options,o)},e}(e),c={};n.exports=function(n,t){return t=u.assign({},c,t),new a(n,t).execute()}},function(n,t){function r(n,t){for(var r in t)t.hasOwnProperty(r)&&\"constructor\"!==r&&void 0!==t[r]&&(n[r]=t[r])}n.exports=function(n,t,e,o){return t&&r(n,t),e&&r(n,e),o&&r(n,o),n}},function(n,t){function r(n,t,r,e){void 0===e&&(e=[]);var o=this;o.w=n||0,o.h=t||0,o.y=r||0,o.x=0,o.c=e||[],o.cs=e.length,o.prelim=0,o.mod=0,o.shift=0,o.change=0,o.tl=null,o.tr=null,o.el=null,o.er=null,o.msel=0,o.mser=0}function e(n,t){var r=function n(t,r){var e=r?t.y:t.x;return t.children.forEach((function(t){e=Math.min(n(t,r),e)})),e}(n,t);!function n(t,r,e){e?t.y+=r:t.x+=r,t.children.forEach((function(t){n(t,r,e)}))}(n,-r,t)}r.fromNode=function(n,t){if(!n)return null;var e=[];return n.children.forEach((function(n){e.push(r.fromNode(n,t))})),t?new r(n.height,n.width,n.x,e):new r(n.width,n.height,n.y,e)},n.exports=function(n,t){void 0===t&&(t={});var o=t.isHorizontal;function i(n){0===n.cs?(n.el=n,n.er=n,n.msel=n.mser=0):(n.el=n.c[0].el,n.msel=n.c[0].msel,n.er=n.c[n.cs-1].er,n.mser=n.c[n.cs-1].mser)}function u(n,t,r){for(var e=n.c[t-1],o=e.mod,i=n.c[t],u=i.mod;null!==e&&null!==i;){s(e)>r.low&&(r=r.nxt);var l=o+e.prelim+e.w-(u+i.prelim);l>0&&(u+=l,a(n,t,r.index,l));var h=s(e),p=s(i);h<=p&&null!==(e=f(e))&&(o+=e.mod),h>=p&&null!==(i=c(i))&&(u+=i.mod)}!e&&i?function(n,t,r,e){var o=n.c[0].el;o.tl=r;var i=e-r.mod-n.c[0].msel;o.mod+=i,o.prelim-=i,n.c[0].el=n.c[t].el,n.c[0].msel=n.c[t].msel}(n,t,i,u):e&&!i&&function(n,t,r,e){var o=n.c[t].er;o.tr=r;var i=e-r.mod-n.c[t].mser;o.mod+=i,o.prelim-=i,n.c[t].er=n.c[t-1].er,n.c[t].mser=n.c[t-1].mser}(n,t,e,o)}function a(n,t,r,e){n.c[t].mod+=e,n.c[t].msel+=e,n.c[t].mser+=e,function(n,t,r,e){if(r!==t-1){var o=t-r;n.c[r+1].shift+=e/o,n.c[t].shift-=e/o,n.c[t].change-=e-e/o}}(n,t,r,e)}function c(n){return 0===n.cs?n.tl:n.c[0]}function f(n){return 0===n.cs?n.tr:n.c[n.cs-1]}function s(n){return n.y+n.h}function l(n,t,r){for(;null!==r&&n>=r.low;)r=r.nxt;return{low:n,index:t,nxt:r}}!function n(t,r,e){void 0===e&&(e=0),r?(t.x=e,e+=t.width):(t.y=e,e+=t.height),t.children.forEach((function(t){n(t,r,e)}))}(n,o);var h=r.fromNode(n,o);return function n(t){if(0!==t.cs){n(t.c[0]);for(var r=l(s(t.c[0].el),0,null),e=1;e<t.cs;++e){n(t.c[e]);var o=s(t.c[e].er);u(t,e,r),r=l(o,e,r)}!function(n){n.prelim=(n.c[0].prelim+n.c[0].mod+n.c[n.cs-1].mod+n.c[n.cs-1].prelim+n.c[n.cs-1].w)/2-n.w/2}(t),i(t)}else i(t)}(h),function n(t,r){r+=t.mod,t.x=t.prelim+r,function(n){for(var t=0,r=0,e=0;e<n.cs;e++)t+=n.c[e].shift,r+=t+n.c[e].change,n.c[e].mod+=r}(t);for(var e=0;e<t.cs;e++)n(t.c[e],r)}(h,0),function n(t,r,e){e?r.y=t.x:r.x=t.x,t.c.forEach((function(t,o){n(t,r.children[o],e)}))}(h,n,o),e(n,o),n}},function(n,t,r){var e=r(1),o=r(10),i=r(2),u=r(0),a=function(n){var t,r;function e(){return n.apply(this,arguments)||this}return r=n,(t=e).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,e.prototype.execute=function(){return this.rootNode.width=0,i(this.rootNode,this.options,o)},e}(e),c={};n.exports=function(n,t){return t=u.assign({},c,t),new a(n,t).execute()}},function(n,t,r){var e=r(0);function o(n,t){void 0===n&&(n=0),void 0===t&&(t=[]);var r=this;r.x=r.y=0,r.leftChild=r.rightChild=null,r.height=0,r.children=t}var i={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};n.exports=function(n,t){void 0===t&&(t={}),t=e.assign({},i,t);var r,u=0,a=function n(t){if(!t)return null;t.width=0,t.depth&&t.depth>u&&(u=t.depth);var r=t.children,e=r.length,i=new o(t.height,[]);return r.forEach((function(t,r){var o=n(t);i.children.push(o),0===r&&(i.leftChild=o),r===e-1&&(i.rightChild=o)})),i.originNode=t,i.isLeaf=t.isLeaf(),i}(n);return function n(t){if(t.isLeaf||0===t.children.length)t.drawingDepth=u;else{var r=t.children.map((function(t){return n(t)})),e=Math.min.apply(null,r);t.drawingDepth=e-1}return t.drawingDepth}(a),function n(e){e.x=e.drawingDepth*t.rankSep,e.isLeaf?(e.y=0,r&&(e.y=r.y+r.height+t.nodeSep,e.originNode.parent!==r.originNode.parent&&(e.y+=t.subTreeSep)),r=e):(e.children.forEach((function(t){n(t)})),e.y=(e.leftChild.y+e.rightChild.y)/2)}(a),function n(t,r,e){e?(r.x=t.x,r.y=t.y):(r.x=t.y,r.y=t.x),t.children.forEach((function(t,o){n(t,r.children[o],e)}))}(a,n,t.isHorizontal),n}},function(n,t,r){var e=r(1),o=r(12),i=r(4),u=r(0),a=[\"LR\",\"RL\",\"H\"],c=a[0],f=function(n){var t,r;function e(){return n.apply(this,arguments)||this}return r=n,(t=e).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,e.prototype.execute=function(){var n=this.options,t=this.rootNode;n.isHorizontal=!0;var r=n.indent,e=n.direction||c;if(e&&-1===a.indexOf(e))throw new TypeError(\"Invalid direction: \"+e);if(e===a[0])o(t,r);else if(e===a[1])o(t,r),t.right2left();else if(e===a[2]){var u=i(t,n),f=u.left,s=u.right;o(f,r),f.right2left(),o(s,r);var l=f.getBoundingBox();s.translate(l.width,0),t.x=s.x-t.width/2}return t},e}(e),s={};n.exports=function(n,t){return t=u.assign({},s,t),new f(n,t).execute()}},function(n,t){n.exports=function(n,t){void 0===t&&(t=20);var r=null;n.eachNode((function(n){!function(n,t,r){n.x+=r*n.depth,n.y=t?t.y+t.height:0}(n,r,t),r=n}))}},function(n,t,r){var e=r(1),o=r(14),i=r(2),u=r(0),a=function(n){var t,r;function e(){return n.apply(this,arguments)||this}return r=n,(t=e).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,e.prototype.execute=function(){return i(this.rootNode,this.options,o)},e}(e),c={};n.exports=function(n,t){return t=u.assign({},c,t),new a(n,t).execute()}},function(n,t,r){var e=r(0),o={getSubTreeSep:function(){return 0}};n.exports=function(n,t){void 0===t&&(t={}),t=e.assign({},o,t),n.parent={x:0,width:0,height:0,y:0},n.BFTraverse((function(n){n.x=n.parent.x+n.parent.width})),n.parent=null,function n(t,r){var e=0;return t.children.length?t.children.forEach((function(t){e+=n(t,r)})):e=t.height,t._subTreeSep=r.getSubTreeSep(t.data),t.totalHeight=Math.max(t.height,e)+2*t._subTreeSep,t.totalHeight}(n,t),n.startY=0,n.y=n.totalHeight/2-n.height/2,n.eachNode((function(n){var t=n.children,r=t.length;if(r){var e=t[0];if(e.startY=n.startY+n._subTreeSep,1===r)e.y=n.y+n.height/2-e.height/2;else{e.y=e.startY+e.totalHeight/2-e.height/2;for(var o=1;o<r;o++){var i=t[o];i.startY=t[o-1].startY+t[o-1].totalHeight,i.y=i.startY+i.totalHeight/2-i.height/2}}}})),function n(t){var r=t.children,e=r.length;if(e){r.forEach((function(t){n(t)}));var o=r[0],i=r[e-1],u=i.y-o.y+i.height,a=0;if(r.forEach((function(n){a+=n.totalHeight})),u>t.height)t.y=o.y+u/2-t.height/2;else if(1!==r.length||t.height>a){var c=t.y+(t.height-u)/2-o.y;r.forEach((function(n){n.translate(0,c)}))}else t.y=(o.y+o.height/2+i.y+i.height/2)/2-t.height/2}}(n)}}])},n.exports=e()},function(n,t,r){var e;\n/*!\n * EventEmitter v5.2.9 - git.io/ee\n * Unlicense - http://unlicense.org/\n * Oliver Caldwell - https://oli.me.uk/\n * @preserve\n */!function(t){\"use strict\";function o(){}var i=o.prototype,u=t.EventEmitter;function a(n,t){for(var r=n.length;r--;)if(n[r].listener===t)return r;return-1}function c(n){return function(){return this[n].apply(this,arguments)}}i.getListeners=function(n){var t,r,e=this._getEvents();if(n instanceof RegExp)for(r in t={},e)e.hasOwnProperty(r)&&n.test(r)&&(t[r]=e[r]);else t=e[n]||(e[n]=[]);return t},i.flattenListeners=function(n){var t,r=[];for(t=0;t<n.length;t+=1)r.push(n[t].listener);return r},i.getListenersAsObject=function(n){var t,r=this.getListeners(n);return r instanceof Array&&((t={})[n]=r),t||r},i.addListener=function(n,t){if(!function n(t){return\"function\"==typeof t||t instanceof RegExp||!(!t||\"object\"!=typeof t)&&n(t.listener)}(t))throw new TypeError(\"listener must be a function\");var r,e=this.getListenersAsObject(n),o=\"object\"==typeof t;for(r in e)e.hasOwnProperty(r)&&-1===a(e[r],t)&&e[r].push(o?t:{listener:t,once:!1});return this},i.on=c(\"addListener\"),i.addOnceListener=function(n,t){return this.addListener(n,{listener:t,once:!0})},i.once=c(\"addOnceListener\"),i.defineEvent=function(n){return this.getListeners(n),this},i.defineEvents=function(n){for(var t=0;t<n.length;t+=1)this.defineEvent(n[t]);return this},i.removeListener=function(n,t){var r,e,o=this.getListenersAsObject(n);for(e in o)o.hasOwnProperty(e)&&-1!==(r=a(o[e],t))&&o[e].splice(r,1);return this},i.off=c(\"removeListener\"),i.addListeners=function(n,t){return this.manipulateListeners(!1,n,t)},i.removeListeners=function(n,t){return this.manipulateListeners(!0,n,t)},i.manipulateListeners=function(n,t,r){var e,o,i=n?this.removeListener:this.addListener,u=n?this.removeListeners:this.addListeners;if(\"object\"!=typeof t||t instanceof RegExp)for(e=r.length;e--;)i.call(this,t,r[e]);else for(e in t)t.hasOwnProperty(e)&&(o=t[e])&&(\"function\"==typeof o?i.call(this,e,o):u.call(this,e,o));return this},i.removeEvent=function(n){var t,r=typeof n,e=this._getEvents();if(\"string\"===r)delete e[n];else if(n instanceof RegExp)for(t in e)e.hasOwnProperty(t)&&n.test(t)&&delete e[t];else delete this._events;return this},i.removeAllListeners=c(\"removeEvent\"),i.emitEvent=function(n,t){var r,e,o,i,u=this.getListenersAsObject(n);for(i in u)if(u.hasOwnProperty(i))for(r=u[i].slice(0),o=0;o<r.length;o++)!0===(e=r[o]).once&&this.removeListener(n,e.listener),e.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(n,e.listener);return this},i.trigger=c(\"emitEvent\"),i.emit=function(n){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(n,t)},i.setOnceReturnValue=function(n){return this._onceReturnValue=n,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty(\"_onceReturnValue\")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},o.noConflict=function(){return t.EventEmitter=u,o},void 0===(e=function(){return o}.call(t,r,t,n))||(n.exports=e)}(\"undefined\"!=typeof window?window:this||{})},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importStar(r(44)),u=e.__importStar(r(145)),a=e.__importStar(r(384));t.default=function(n,t){if(void 0===t&&(t=!1),o.isFunction(n))return t?n:n();if(o.isString(n)){if(i[n])return t?i[n]:i[n]();if(u[n])return t?u[n]:u[n]();if(a[n])return t?a[n]:a[n]()}return null}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(n){for(var t=1/n,r=[],e=0;e<=1;e+=t)r.push(e);return r}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default={HIERARCHY:\"hierarchy\",GEO:\"geo\",HEX:\"hex\",GRAPH:\"graph\",TABLE:\"table\",GEO_GRATICULE:\"geo-graticule\",STATISTICS_METHODS:[\"max\",\"mean\",\"median\",\"min\",\"mode\",\"product\",\"standardDeviation\",\"sum\",\"sumSimple\",\"variance\"]}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importDefault(r(91)),o=r(3),i=r(44),u=r(2),a=i.geoPath();function c(n,t,r){r.dataType=u.DataSet.CONSTANTS.GEO;var i=o.deepMix([],n.features);return i.forEach((function(n){n.name=n.properties.name,n.longitude=[],n.latitude=[];var t=n.pathData=a(n);e.default(t)._path.forEach((function(t){n.longitude.push(t[1]),n.latitude.push(t[2])}));var r=a.centroid(n);n.centroidX=r[0],n.centroidY=r[1]})),i}u.DataSet.registerConnector(\"geo\",c),u.DataSet.registerConnector(\"geojson\",c),u.DataSet.registerConnector(\"GeoJSON\",c),t.default=c},function(n,t,r){var e=r(157),o=r(158),i=r(159);function u(n){if(!(this instanceof u))return new u(n);this._path=o(n)?n:e(n),this._path=i(this._path),this._path=function(n){for(var t,r=[],e=[\"L\",0,0],o=0,i=n.length;o<i;o++){var u=n[o];switch(u[0]){case\"M\":e=[\"L\",u[1],u[2]],r.push(u);break;case\"Z\":r.push(e);break;case\"H\":t=r[r.length-1]||[\"L\",0,0],r.push([\"L\",u[1],t[t.length-1]]);break;case\"V\":t=r[r.length-1]||[\"L\",0,0],r.push([\"L\",t[t.length-2],u[1]]);break;default:r.push(u)}}return r}(this._path),this._path=function(n){for(var t,r=0,e=0,o={S:{to:\"C\",x:3},T:{to:\"Q\",x:1}},i=0,u=n.length;i<u;i++){var a=n[i],c=o[a[0]];c&&(a[0]=c.to,t&&(t[0]===c.to?(r=2*t[c.x+2]-t[c.x],e=2*t[c.x+3]-t[c.x+1]):(r=t[t.length-2],e=t[t.length-1])),a.splice(1,0,r,e)),t=a}return n}(this._path)}function a(n,t,r,e){var o=n-r,i=t-e;return Math.sqrt(o*o+i*i)}n.exports=u,u.prototype.at=function(n,t){return this._walk(n,t).pos},u.prototype.length=function(){return this._walk(null).length},u.prototype._walk=function(n,t){for(var r=[0,0],e=[0,0,0],o=[0,0],i=0,u=0;u<this._path.length;u++){var c=this._path[u];if(\"M\"===c[0]){if(r[0]=c[1],r[1]=c[2],0===n)return{length:i,pos:r}}else if(\"C\"===c[0]){e[0]=o[0]=r[0],e[1]=o[1]=r[1],e[2]=i;for(var f=100,s=0;s<=f;s++){var l=v(c,d=s/f),h=g(c,d);if(i+=a(r[0],r[1],l,h),r[0]=l,r[1]=h,\"number\"==typeof n&&i>=n){var p=(i-n)/(i-e[2]);return{length:i,pos:[r[0]*(1-p)+e[0]*p,r[1]*(1-p)+e[1]*p]}}e[0]=r[0],e[1]=r[1],e[2]=i}}else if(\"Q\"===c[0]){e[0]=o[0]=r[0],e[1]=o[1]=r[1],e[2]=i;for(f=100,s=0;s<=f;s++){var d;l=y(c,d=s/f),h=m(c,d);if(i+=a(r[0],r[1],l,h),r[0]=l,r[1]=h,\"number\"==typeof n&&i>=n){p=(i-n)/(i-e[2]);return{length:i,pos:[r[0]*(1-p)+e[0]*p,r[1]*(1-p)+e[1]*p]}}e[0]=r[0],e[1]=r[1],e[2]=i}}else if(\"L\"===c[0]){if(e[0]=r[0],e[1]=r[1],e[2]=i,i+=a(r[0],r[1],c[1],c[2]),r[0]=c[1],r[1]=c[2],\"number\"==typeof n&&i>=n){p=(i-n)/(i-e[2]);return{length:i,pos:[r[0]*(1-p)+e[0]*p,r[1]*(1-p)+e[1]*p]}}e[0]=r[0],e[1]=r[1],e[2]=i}}return{length:i,pos:r};function v(n,t){return Math.pow(1-t,3)*o[0]+3*Math.pow(1-t,2)*t*n[1]+3*(1-t)*Math.pow(t,2)*n[3]+Math.pow(t,3)*n[5]}function g(n,t){return Math.pow(1-t,3)*o[1]+3*Math.pow(1-t,2)*t*n[2]+3*(1-t)*Math.pow(t,2)*n[4]+Math.pow(t,3)*n[6]}function y(n,t){return Math.pow(1-t,2)*o[0]+2*(1-t)*t*n[1]+Math.pow(t,2)*n[3]}function m(n,t){return Math.pow(1-t,2)*o[1]+2*(1-t)*t*n[2]+Math.pow(t,2)*n[4]}}},function(n,t,r){var e=r(48),o=r(69),i=r(53),u=r(226),a=r(232),c=r(98),f=r(99),s=r(235),l=r(236),h=r(103),p=r(237),d=r(34),v=r(241),g=r(242),y=r(108),m=r(9),b=r(32),w=r(246),x=r(15),_=r(248),E=r(24),j={};j[\"[object Arguments]\"]=j[\"[object Array]\"]=j[\"[object ArrayBuffer]\"]=j[\"[object DataView]\"]=j[\"[object Boolean]\"]=j[\"[object Date]\"]=j[\"[object Float32Array]\"]=j[\"[object Float64Array]\"]=j[\"[object Int8Array]\"]=j[\"[object Int16Array]\"]=j[\"[object Int32Array]\"]=j[\"[object Map]\"]=j[\"[object Number]\"]=j[\"[object Object]\"]=j[\"[object RegExp]\"]=j[\"[object Set]\"]=j[\"[object String]\"]=j[\"[object Symbol]\"]=j[\"[object Uint8Array]\"]=j[\"[object Uint8ClampedArray]\"]=j[\"[object Uint16Array]\"]=j[\"[object Uint32Array]\"]=!0,j[\"[object Error]\"]=j[\"[object Function]\"]=j[\"[object WeakMap]\"]=!1,n.exports=function n(t,r,O,S,M,T){var k,P=1&r,C=2&r,A=4&r;if(O&&(k=M?O(t,S,M,T):O(t)),void 0!==k)return k;if(!x(t))return t;var N=m(t);if(N){if(k=v(t),!P)return f(t,k)}else{var R=d(t),I=\"[object Function]\"==R||\"[object GeneratorFunction]\"==R;if(b(t))return c(t,P);if(\"[object Object]\"==R||\"[object Arguments]\"==R||I&&!M){if(k=C||I?{}:y(t),!P)return C?l(t,a(k,t)):s(t,u(k,t))}else{if(!j[R])return M?t:{};k=g(t,R,P)}}T||(T=new e);var D=T.get(t);if(D)return D;T.set(t,k),_(t)?t.forEach((function(e){k.add(n(e,r,O,e,t,T))})):w(t)&&t.forEach((function(e,o){k.set(o,n(e,r,O,o,t,T))}));var L=A?C?p:h:C?keysIn:E,q=N?void 0:L(t);return o(q||t,(function(e,o){q&&(e=t[o=e]),i(k,o,n(e,r,O,o,t,T))})),k}},function(n,t,r){(function(t){var r=\"object\"==typeof t&&t&&t.Object===Object&&t;n.exports=r}).call(this,r(208))},function(n,t){var r=Function.prototype.toString;n.exports=function(n){if(null!=n){try{return r.call(n)}catch(n){}try{return n+\"\"}catch(n){}}return\"\"}},function(n,t,r){var e=r(26),o=function(){try{var n=e(Object,\"defineProperty\");return n({},\"\",{}),n}catch(n){}}();n.exports=o},function(n,t,r){var e=r(227),o=r(41),i=r(9),u=r(32),a=r(55),c=r(42),f=Object.prototype.hasOwnProperty;n.exports=function(n,t){var r=i(n),s=!r&&o(n),l=!r&&!s&&u(n),h=!r&&!s&&!l&&c(n),p=r||s||l||h,d=p?e(n.length,String):[],v=d.length;for(var g in n)!t&&!f.call(n,g)||p&&(\"length\"==g||l&&(\"offset\"==g||\"parent\"==g)||h&&(\"buffer\"==g||\"byteLength\"==g||\"byteOffset\"==g)||a(g,v))||d.push(g);return d}},function(n,t){n.exports=function(n,t){return function(r){return n(t(r))}}},function(n,t,r){(function(n){var e=r(19),o=t&&!t.nodeType&&t,i=o&&\"object\"==typeof n&&n&&!n.nodeType&&n,u=i&&i.exports===o?e.Buffer:void 0,a=u?u.allocUnsafe:void 0;n.exports=function(n,t){if(t)return n.slice();var r=n.length,e=a?a(r):new n.constructor(r);return n.copy(e),e}}).call(this,r(70)(n))},function(n,t){n.exports=function(n,t){var r=-1,e=n.length;for(t||(t=Array(e));++r<e;)t[r]=n[r];return t}},function(n,t){n.exports=function(n,t){for(var r=-1,e=null==n?0:n.length,o=0,i=[];++r<e;){var u=n[r];t(u,r,n)&&(i[o++]=u)}return i}},function(n,t){n.exports=function(){return[]}},function(n,t,r){var e=r(75),o=r(58),i=r(74),u=r(101),a=Object.getOwnPropertySymbols?function(n){for(var t=[];n;)e(t,i(n)),n=o(n);return t}:u;n.exports=a},function(n,t,r){var e=r(104),o=r(74),i=r(24);n.exports=function(n){return e(n,i,o)}},function(n,t,r){var e=r(75),o=r(9);n.exports=function(n,t,r){var i=t(n);return o(n)?i:e(i,r(n))}},function(n,t,r){var e=r(26)(r(19),\"Set\");n.exports=e},function(n,t,r){var e=r(19).Uint8Array;n.exports=e},function(n,t,r){var e=r(76);n.exports=function(n,t){var r=t?e(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}},function(n,t,r){var e=r(109),o=r(58),i=r(57);n.exports=function(n){return\"function\"!=typeof n.constructor||i(n)?{}:e(o(n))}},function(n,t,r){var e=r(15),o=Object.create,i=function(){function n(){}return function(t){if(!e(t))return{};if(o)return o(t);n.prototype=t;var r=new n;return n.prototype=void 0,r}}();n.exports=i},function(n,t,r){n.exports=r(111)},function(n,t,r){var e=r(69),o=r(59),i=r(112),u=r(9);n.exports=function(n,t){return(u(n)?e:o)(n,i(t))}},function(n,t,r){var e=r(28);n.exports=function(n){return\"function\"==typeof n?n:e}},function(n,t,r){var e=r(100),o=r(252),i=r(23),u=r(9);n.exports=function(n,t){return(u(n)?e:o)(n,i(t,3))}},function(n,t,r){var e=r(255),o=r(20);n.exports=function n(t,r,i,u,a){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:e(t,r,i,u,n,a))}},function(n,t,r){var e=r(116),o=r(258),i=r(117);n.exports=function(n,t,r,u,a,c){var f=1&r,s=n.length,l=t.length;if(s!=l&&!(f&&l>s))return!1;var h=c.get(n);if(h&&c.get(t))return h==t;var p=-1,d=!0,v=2&r?new e:void 0;for(c.set(n,t),c.set(t,n);++p<s;){var g=n[p],y=t[p];if(u)var m=f?u(y,g,p,t,n,c):u(g,y,p,n,t,c);if(void 0!==m){if(m)continue;d=!1;break}if(v){if(!o(t,(function(n,t){if(!i(v,t)&&(g===n||a(g,n,r,u,c)))return v.push(t)}))){d=!1;break}}else if(g!==y&&!a(g,y,r,u,c)){d=!1;break}}return c.delete(n),c.delete(t),d}},function(n,t,r){var e=r(68),o=r(256),i=r(257);function u(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new e;++t<r;)this.add(n[t])}u.prototype.add=u.prototype.push=o,u.prototype.has=i,n.exports=u},function(n,t){n.exports=function(n,t){return n.has(t)}},function(n,t,r){var e=r(15);n.exports=function(n){return n==n&&!e(n)}},function(n,t){n.exports=function(n,t){return function(r){return null!=r&&(r[n]===t&&(void 0!==t||n in Object(r)))}}},function(n,t,r){var e=r(268);n.exports=function(n){return null==n?\"\":e(n)}},function(n,t,r){var e=r(269),o=r(122);n.exports=function(n,t){return null!=n&&o(n,t,e)}},function(n,t,r){var e=r(60),o=r(41),i=r(9),u=r(55),a=r(71),c=r(43);n.exports=function(n,t,r){for(var f=-1,s=(t=e(t,n)).length,l=!1;++f<s;){var h=c(t[f]);if(!(l=null!=n&&r(n,h)))break;n=n[h]}return l||++f!=s?l:!!(s=null==n?0:n.length)&&a(s)&&u(h,s)&&(i(n)||o(n))}},function(n,t){n.exports=function(n){return function(t){return null==t?void 0:t[n]}}},function(n,t,r){var e=r(272),o=r(122);n.exports=function(n,t){return null!=n&&o(n,t,e)}},function(n,t){n.exports=function(n){return void 0===n}},function(n,t,r){var e=r(61),o=r(23),i=r(127),u=r(9);n.exports=function(n,t){return(u(n)?e:i)(n,o(t,3))}},function(n,t,r){var e=r(59),o=r(22);n.exports=function(n,t){var r=-1,i=o(n)?Array(n.length):[];return e(n,(function(n,e,o){i[++r]=t(n,e,o)})),i}},function(n,t,r){var e=r(274),o=r(59),i=r(23),u=r(275),a=r(9);n.exports=function(n,t,r){var c=a(n)?e:u,f=arguments.length<3;return c(n,i(t,4),r,f,o)}},function(n,t,r){var e=r(285),o=Math.max;n.exports=function(n,t,r){return t=o(void 0===t?n.length-1:t,0),function(){for(var i=arguments,u=-1,a=o(i.length-t,0),c=Array(a);++u<a;)c[u]=i[t+u];u=-1;for(var f=Array(t+1);++u<t;)f[u]=i[u];return f[t]=r(c),e(n,this,f)}}},function(n,t,r){var e=r(286),o=r(287)(e);n.exports=o},function(n,t){n.exports=function(n,t,r,e){for(var o=n.length,i=r+(e?1:-1);e?i--:++i<o;)if(t(n[i],i,n))return i;return-1}},function(n,t,r){var e=r(22),o=r(20);n.exports=function(n){return o(n)&&e(n)}},function(n,t,r){var e=r(296),o=r(24);n.exports=function(n){return null==n?[]:e(n,o(n))}},function(n,t,r){var e=r(14),o=r(135);n.exports=function(n,t,r,e){return function(n,t,r,e){var i,u,a={},c=new o,f=function(n){var t=n.v!==i?n.v:n.w,e=a[t],o=r(n),f=u.distance+o;if(o<0)throw new Error(\"dijkstra does not allow negative edge weights. Bad edge: \"+n+\" Weight: \"+o);f<e.distance&&(e.distance=f,e.predecessor=i,c.decrease(t,f))};n.nodes().forEach((function(n){var r=n===t?0:Number.POSITIVE_INFINITY;a[n]={distance:r},c.add(n,r)}));for(;c.size()>0&&(i=c.removeMin(),(u=a[i]).distance!==Number.POSITIVE_INFINITY);)e(i).forEach(f);return a}(n,String(t),r||i,e||function(t){return n.outEdges(t)})};var i=e.constant(1)},function(n,t,r){var e=r(14);function o(){this._arr=[],this._keyIndices={}}n.exports=o,o.prototype.size=function(){return this._arr.length},o.prototype.keys=function(){return this._arr.map((function(n){return n.key}))},o.prototype.has=function(n){return e.has(this._keyIndices,n)},o.prototype.priority=function(n){var t=this._keyIndices[n];if(void 0!==t)return this._arr[t].priority},o.prototype.min=function(){if(0===this.size())throw new Error(\"Queue underflow\");return this._arr[0].key},o.prototype.add=function(n,t){var r=this._keyIndices;if(n=String(n),!e.has(r,n)){var o=this._arr,i=o.length;return r[n]=i,o.push({key:n,priority:t}),this._decrease(i),!0}return!1},o.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key},o.prototype.decrease=function(n,t){var r=this._keyIndices[n];if(t>this._arr[r].priority)throw new Error(\"New priority is greater than current priority. Key: \"+n+\" Old: \"+this._arr[r].priority+\" New: \"+t);this._arr[r].priority=t,this._decrease(r)},o.prototype._heapify=function(n){var t=this._arr,r=2*n,e=r+1,o=n;r<t.length&&(o=t[r].priority<t[o].priority?r:o,e<t.length&&(o=t[e].priority<t[o].priority?e:o),o!==n&&(this._swap(n,o),this._heapify(o)))},o.prototype._decrease=function(n){for(var t,r=this._arr,e=r[n].priority;0!==n&&!(r[t=n>>1].priority<e);)this._swap(n,t),n=t},o.prototype._swap=function(n,t){var r=this._arr,e=this._keyIndices,o=r[n],i=r[t];r[n]=i,r[t]=o,e[i.key]=n,e[o.key]=t}},function(n,t,r){var e=r(14);n.exports=function(n){var t=0,r=[],o={},i=[];return n.nodes().forEach((function(u){e.has(o,u)||function u(a){var c=o[a]={onStack:!0,lowlink:t,index:t++};if(r.push(a),n.successors(a).forEach((function(n){e.has(o,n)?o[n].onStack&&(c.lowlink=Math.min(c.lowlink,o[n].index)):(u(n),c.lowlink=Math.min(c.lowlink,o[n].lowlink))})),c.lowlink===c.index){var f,s=[];do{f=r.pop(),o[f].onStack=!1,s.push(f)}while(a!==f);i.push(s)}}(u)})),i}},function(n,t,r){var e=r(14);function o(n){var t={},r={},o=[];if(e.each(n.sinks(),(function u(a){if(e.has(r,a))throw new i;e.has(t,a)||(r[a]=!0,t[a]=!0,e.each(n.predecessors(a),u),delete r[a],o.push(a))})),e.size(t)!==n.nodeCount())throw new i;return o}function i(){}n.exports=o,o.CycleException=i,i.prototype=new Error},function(n,t,r){var e=r(14);n.exports=function(n,t,r){e.isArray(t)||(t=[t]);var o=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],u={};return e.each(t,(function(t){if(!n.hasNode(t))throw new Error(\"Graph does not have node: \"+t);!function n(t,r,o,i,u,a){e.has(i,r)||(i[r]=!0,o||a.push(r),e.each(u(r),(function(r){n(t,r,o,i,u,a)})),o&&a.push(r))}(n,t,\"post\"===r,u,o,i)})),i}},function(n,t,r){var e=r(315);n.exports=function(n){return n?(n=e(n))===1/0||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}},function(n,t,r){var e=r(83);n.exports=function(n){return(null==n?0:n.length)?e(n,1):[]}},function(n,t,r){var e=r(54),o=r(30);n.exports=function(n,t,r){(void 0===r||o(n[t],r))&&(void 0!==r||t in n)||e(n,t,r)}},function(n,t){n.exports=function(n,t){if((\"constructor\"!==t||\"function\"!=typeof n[t])&&\"__proto__\"!=t)return n[t]}},function(n,t){n.exports=function(n,t){return n<t}},function(n,t,r){\"use strict\";var e=r(8),o=r(18).Graph,i=r(64).slack;function u(n,t){return e.forEach(n.nodes(),(function r(o){e.forEach(t.nodeEdges(o),(function(e){var u=e.v,a=o===u?e.w:u;n.hasNode(a)||i(t,e)||(n.setNode(a,{}),n.setEdge(o,a,{}),r(a))}))})),n.nodeCount()}function a(n,t){return e.minBy(t.edges(),(function(r){if(n.hasNode(r.v)!==n.hasNode(r.w))return i(t,r)}))}function c(n,t,r){e.forEach(n.nodes(),(function(n){t.node(n).rank+=r}))}n.exports=function(n){var t,r,e=new o({directed:!1}),f=n.nodes()[0],s=n.nodeCount();e.setNode(f,{});for(;u(e,n)<s;)t=a(e,n),r=e.hasNode(t.v)?i(n,t):-i(n,t),c(e,n,r);return e}},function(n,t,r){\"use strict\";r.r(t);var e=r(10),o=Math.abs,i=Math.atan,u=Math.atan2,a=(Math.ceil,Math.cos),c=Math.exp,f=Math.floor,s=Math.log,l=Math.max,h=Math.min,p=Math.pow,d=Math.round,v=Math.sign||function(n){return n>0?1:n<0?-1:0},g=Math.sin,y=Math.tan,m=Math.PI,b=m/2,w=m/4,x=Math.SQRT1_2,_=k(2),E=k(m),j=2*m,O=180/m,S=m/180;function M(n){return n>1?b:n<-1?-b:Math.asin(n)}function T(n){return n>1?0:n<-1?m:Math.acos(n)}function k(n){return n>0?Math.sqrt(n):0}function P(n){return(c(n)-c(-n))/2}function C(n){return(c(n)+c(-n))/2}function A(n){var t=y(n/2),r=2*s(a(n/2))/(t*t);function e(n,t){var e=a(n),o=a(t),i=g(t),u=o*e,c=-((1-u?s((1+u)/2)/(1-u):-.5)+r/(1+u));return[c*o*g(n),c*i]}return e.invert=function(t,e){var i,c=k(t*t+e*e),f=-n/2,l=50;if(!c)return[0,0];do{var h=f/2,p=a(h),d=g(h),v=y(h),m=s(1/p);f-=i=(2/v*m-r*v-c)/(-m/(d*d)+1-r/(2*p*p))}while(o(i)>1e-6&&--l>0);var b=g(f);return[u(t*b,c*a(f)),M(e*b/c)]},e}var N=function(){var n=b,t=Object(e.b)(A),r=t(n);return r.radius=function(r){return arguments.length?t(n=r*S):n*O},r.scale(179.976).clipAngle(147)};function R(n,t){var r=a(t),e=function(n){return n?n/Math.sin(n):1}(T(r*a(n/=2)));return[2*r*g(n)*e,g(t)*e]}R.invert=function(n,t){if(!(n*n+4*t*t>m*m+1e-6)){var r=n,e=t,i=25;do{var u,c=g(r),f=g(r/2),s=a(r/2),l=g(e),h=a(e),p=g(2*e),d=l*l,v=h*h,y=f*f,b=1-v*s*s,w=b?T(h*s)*k(u=1/b):u=0,x=2*w*h*f-n,_=w*l-t,E=u*(v*y+w*h*s*d),j=u*(.5*c*p-2*w*l*f),O=.25*u*(p*f-w*l*v*c),S=u*(d*s+w*y*h),M=j*O-S*E;if(!M)break;var P=(_*j-x*S)/M,C=(x*O-_*E)/M;r-=P,e-=C}while((o(P)>1e-6||o(C)>1e-6)&&--i>0);return[r,e]}};var I=function(){return Object(e.a)(R).scale(152.63)};function D(n){var t=g(n),r=a(n),e=n>=0?1:-1,i=y(e*n),c=(1+t-r)/2;function f(n,o){var f=a(o),s=a(n/=2);return[(1+f)*g(n),(e*o>-u(s,i)-.001?0:10*-e)+c+g(o)*r-(1+f)*t*s]}return f.invert=function(n,f){var s=0,l=0,h=50;do{var p=a(s),d=g(s),v=a(l),y=g(l),m=1+v,b=m*d-n,w=c+y*r-m*t*p-f,x=m*p/2,_=-d*y,E=t*m*d/2,j=r*v+t*p*y,O=_*E-j*x,S=(w*_-b*j)/O/2,M=(b*E-w*x)/O;s-=S,l-=M}while((o(S)>1e-6||o(M)>1e-6)&&--h>0);return e*l>-u(a(s),i)-.001?[2*s,l]:null},f}var L=function(){var n=20*S,t=n>=0?1:-1,r=y(t*n),o=Object(e.b)(D),i=o(n),c=i.stream;return i.parallel=function(e){return arguments.length?(r=y((t=(n=e*S)>=0?1:-1)*n),o(n)):n*O},i.stream=function(e){var o=i.rotate(),f=c(e),s=(i.rotate([0,0]),c(e));return i.rotate(o),f.sphere=function(){s.polygonStart(),s.lineStart();for(var e=-180*t;t*e<180;e+=90*t)s.point(e,90*t);for(;t*(e-=n)>=-180;)s.point(e,t*-u(a(e*S/2),r)*O);s.lineEnd(),s.polygonEnd()},f},i.scale(218.695).center([0,28.0974])};function q(n,t){var r=y(t/2),e=k(1-r*r),o=1+e*a(n/=2),i=g(n)*e/o,u=r/o,c=i*i,f=u*u;return[4/3*i*(3+c-3*f),4/3*u*(3+3*c-f)]}q.invert=function(n,t){if(t*=3/8,!(n*=3/8)&&o(t)>1)return null;var r=1+n*n+t*t,e=k((r-k(r*r-4*t*t))/2),i=M(e)/3,c=e?function(n){return s(n+k(n*n-1))}(o(t/e))/3:function(n){return s(n+k(n*n+1))}(o(n))/3,f=a(i),l=C(c),h=l*l-f*f;return[2*v(n)*u(P(c)*f,.25-h),2*v(t)*u(l*g(i),.25+h)]};var B=function(){return Object(e.a)(q).scale(66.1603)},z=k(8),F=s(1+_);function G(n,t){var r=o(t);return r<w?[n,s(y(w+t/2))]:[n*a(r)*(2*_-1/g(r)),v(t)*(2*_*(r-w)-s(y(r/2)))]}G.invert=function(n,t){if((e=o(t))<F)return[n,2*i(c(t))-b];var r,e,u=w,f=25;do{var l=a(u/2),h=y(u/2);u-=r=(z*(u-w)-s(h)-e)/(z-l*l/(2*h))}while(o(r)>1e-12&&--f>0);return[n/(a(u)*(z-1/g(u))),v(t)*u]};var V=function(){return Object(e.a)(G).scale(112.314)},H=r(0),U=r(16),W=Object(U.b)((function(n){return(n=Object(H.b)(n))&&n/Object(H.s)(n)}));W.invert=Object(U.a)((function(n){return n}));function Y(n){var t=2*m/n;function r(n,r){var e=W(n,r);if(o(n)>b){var i=u(e[1],e[0]),c=k(e[0]*e[0]+e[1]*e[1]),f=t*d((i-b)/t)+b,s=u(g(i-=f),2-a(i));i=f+M(m/c*g(s))-s,e[0]=c*a(i),e[1]=c*g(i)}return e}return r.invert=function(n,r){var e=k(n*n+r*r);if(e>b){var o=u(r,n),c=t*d((o-b)/t)+b,f=o>c?-1:1,s=e*a(c-o),l=1/y(f*T((s-m)/k(m*(m-2*s)+e*e)));o=c+2*i((l+f*k(l*l-3))/3),n=e*a(o),r=e*g(o)}return W.invert(n,r)},r}var $=function(){var n=5,t=Object(e.b)(Y),r=t(n),o=r.stream,i=-a(.01*S),c=g(.01*S);return r.lobes=function(r){return arguments.length?t(n=+r):n},r.stream=function(t){var e=r.rotate(),f=o(t),s=(r.rotate([0,0]),o(t));return r.rotate(e),f.sphere=function(){s.polygonStart(),s.lineStart();for(var t=0,r=360/n,e=2*m/n,o=90-180/n,f=b;t<n;++t,o-=r,f-=e)s.point(u(c*a(f),i)*O,M(c*g(f))*O),o<-90?(s.point(-90,-180-o-.01),s.point(-90,-180-o+.01)):(s.point(90,o+.01),s.point(90,o-.01));s.lineEnd(),s.polygonEnd()},f},r.scale(87.8076).center([0,17.1875]).clipAngle(179.999)};function J(n,t){var r,e=n*g(t),i=30;do{t-=r=(t+g(t)-e)/(1+a(t))}while(o(r)>1e-6&&--i>0);return t/2}function X(n,t,r){function e(e,o){return[n*e*a(o=J(r,o)),t*g(o)]}return e.invert=function(e,o){return o=M(o/t),[e/(n*a(o)),M((2*o+g(2*o))/r)]},e}var K=X(_/b,_,m),Q=function(){return Object(e.a)(K).scale(169.529)};function Z(n,t){var r=J(m,t);return[2.00276*n/(1/a(t)+1.11072/a(r)),(t+_*g(r))/2.00276]}Z.invert=function(n,t){var r,e,i=2.00276*t,u=t<0?-w:w,c=25;do{e=i-_*g(u),u-=r=(g(2*u)+2*u-m*g(e))/(2*a(2*u)+2+m*a(e)*_*a(u))}while(o(r)>1e-6&&--c>0);return e=i-_*g(u),[n*(1/a(e)+1.11072/a(u))/2.00276,e]};var nn=function(){return Object(e.a)(Z).scale(160.857)},tn=function(n){var t=0,r=Object(e.b)(n),o=r(t);return o.parallel=function(n){return arguments.length?r(t=n*S):t*O},o};function rn(n,t){return[n*a(t),t]}rn.invert=function(n,t){return[n/a(t),t]};var en=function(){return Object(e.a)(rn).scale(152.63)};function on(n){if(!n)return rn;var t=1/y(n);function r(r,e){var o=t+n-e,i=o?r*a(e)/o:o;return[o*g(i),t-o*a(i)]}return r.invert=function(r,e){var o=k(r*r+(e=t-e)*e),i=t+n-o;return[o/a(i)*u(r,e),i]},r}var un=function(){return tn(on).scale(123.082).center([0,26.1441]).parallel(45)};function an(n){function t(t,r){var e=b-r,o=e?t*n*g(e)/e:e;return[e*g(o)/n,b-e*a(o)]}return t.invert=function(t,r){var e=t*n,o=b-r,i=k(e*e+o*o),a=u(e,o);return[(i?i/g(i):1)*a/n,b-i]},t}var cn,fn,sn,ln,hn,pn,dn,vn,gn,yn,mn,bn,wn,xn,_n,En,jn=function(){var n=.5,t=Object(e.b)(an),r=t(n);return r.fraction=function(r){return arguments.length?t(n=+r):n},r.scale(158.837)},On=X(1,4/m,m),Sn=function(){return Object(e.a)(On).scale(152.63)},Mn=r(12),Tn=r(25),kn={sphere:Mn.a,point:Pn,lineStart:An,lineEnd:In,polygonStart:function(){kn.lineStart=Dn,kn.lineEnd=Ln},polygonEnd:function(){kn.lineStart=An,kn.lineEnd=In}};function Pn(n,t){n*=H.q,t*=H.q;var r=Object(H.f)(t);Cn(r*Object(H.f)(n),r*Object(H.s)(n),Object(H.s)(t))}function Cn(n,t,r){++cn,sn+=(n-sn)/cn,ln+=(t-ln)/cn,hn+=(r-hn)/cn}function An(){kn.point=Nn}function Nn(n,t){n*=H.q,t*=H.q;var r=Object(H.f)(t);xn=r*Object(H.f)(n),_n=r*Object(H.s)(n),En=Object(H.s)(t),kn.point=Rn,Cn(xn,_n,En)}function Rn(n,t){n*=H.q,t*=H.q;var r=Object(H.f)(t),e=r*Object(H.f)(n),o=r*Object(H.s)(n),i=Object(H.s)(t),u=Object(H.e)(Object(H.t)((u=_n*i-En*o)*u+(u=En*e-xn*i)*u+(u=xn*o-_n*e)*u),xn*e+_n*o+En*i);fn+=u,pn+=u*(xn+(xn=e)),dn+=u*(_n+(_n=o)),vn+=u*(En+(En=i)),Cn(xn,_n,En)}function In(){kn.point=Pn}function Dn(){kn.point=qn}function Ln(){Bn(bn,wn),kn.point=Pn}function qn(n,t){bn=n,wn=t,n*=H.q,t*=H.q,kn.point=Bn;var r=Object(H.f)(t);xn=r*Object(H.f)(n),_n=r*Object(H.s)(n),En=Object(H.s)(t),Cn(xn,_n,En)}function Bn(n,t){n*=H.q,t*=H.q;var r=Object(H.f)(t),e=r*Object(H.f)(n),o=r*Object(H.s)(n),i=Object(H.s)(t),u=_n*i-En*o,a=En*e-xn*i,c=xn*o-_n*e,f=Object(H.t)(u*u+a*a+c*c),s=Object(H.c)(f),l=f&&-s/f;gn+=l*u,yn+=l*a,mn+=l*c,fn+=s,pn+=s*(xn+(xn=e)),dn+=s*(_n+(_n=o)),vn+=s*(En+(En=i)),Cn(xn,_n,En)}var zn=function(n){cn=fn=sn=ln=hn=pn=dn=vn=gn=yn=mn=0,Object(Tn.a)(n,kn);var t=gn,r=yn,e=mn,o=t*t+r*r+e*e;return o<H.i&&(t=pn,r=dn,e=vn,fn<H.h&&(t=sn,r=ln,e=hn),(o=t*t+r*r+e*e)<H.i)?[NaN,NaN]:[Object(H.e)(r,t)*H.g,Object(H.c)(e/Object(H.t)(o))*H.g]},Fn=r(37);function Gn(n,t,r,e,i,c){var f,s=a(c);if(o(n)>1||o(c)>1)f=T(r*i+t*e*s);else{var l=g(n/2),h=g(c/2);f=2*M(k(l*l+t*e*h*h))}return o(f)>1e-6?[f,u(e*g(c),t*i-r*e*s)]:[0,0]}function Vn(n,t,r){return T((n*n+t*t-r*r)/(2*n*t))}function Hn(n){return n-2*m*f((n+m)/(2*m))}function Un(n,t,r){for(var e,o=[[n[0],n[1],g(n[1]),a(n[1])],[t[0],t[1],g(t[1]),a(t[1])],[r[0],r[1],g(r[1]),a(r[1])]],i=o[2],u=0;u<3;++u,i=e)e=o[u],i.v=Gn(e[1]-i[1],i[3],i[2],e[3],e[2],e[0]-i[0]),i.point=[0,0];var c=Vn(o[0].v[0],o[2].v[0],o[1].v[0]),f=Vn(o[0].v[0],o[1].v[0],o[2].v[0]),s=m-c;o[2].point[1]=0,o[0].point[0]=-(o[1].point[0]=o[0].v[0]/2);var l=[o[2].point[0]=o[0].point[0]+o[2].v[0]*a(c),2*(o[0].point[1]=o[1].point[1]=o[2].v[0]*g(c))];return function(n,t){var r,e=g(t),i=a(t),u=new Array(3);for(r=0;r<3;++r){var c=o[r];if(u[r]=Gn(t-c[1],c[3],c[2],i,e,n-c[0]),!u[r][0])return c.point;u[r][1]=Hn(u[r][1]-c.v[1])}var h=l.slice();for(r=0;r<3;++r){var p=2==r?0:r+1,d=Vn(o[r].v[0],u[r][0],u[p][0]);u[r][1]<0&&(d=-d),r?1==r?(d=f-d,h[0]-=u[r][0]*a(d),h[1]-=u[r][0]*g(d)):(d=s-d,h[0]+=u[r][0]*a(d),h[1]+=u[r][0]*g(d)):(h[0]+=u[r][0]*a(d),h[1]-=u[r][0]*g(d))}return h[0]/=3,h[1]/=3,h}}function Wn(n){return n[0]*=S,n[1]*=S,n}function Yn(){return $n([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function $n(n,t,r){var o=zn({type:\"MultiPoint\",coordinates:[n,t,r]}),i=[-o[0],-o[1]],u=Object(Fn.a)(i),a=Object(e.a)(Un(Wn(u(n)),Wn(u(t)),Wn(u(r)))).rotate(i),c=a.center;return delete a.rotate,a.center=function(n){return arguments.length?c(u(n)):u.invert(c())},a.clipAngle(90)}function Jn(n,t){var r=k(1-g(t));return[2/E*n*r,E*(1-r)]}Jn.invert=function(n,t){var r=(r=t/E-1)*r;return[r>0?n*k(m/r)/2:0,M(1-r)]};var Xn=function(){return Object(e.a)(Jn).scale(95.6464).center([0,30])};function Kn(n){var t=y(n);function r(n,r){return[n,(n?n/g(n):1)*(g(r)*a(n)-t*a(r))]}return r.invert=t?function(n,r){n&&(r*=g(n)/n);var e=a(n);return[n,2*u(k(e*e+t*t-r*r)-e,t-r)]}:function(n,t){return[n,M(n?t*y(n)/n:t)]},r}var Qn=function(){return tn(Kn).scale(249.828).clipAngle(90)},Zn=k(3);function nt(n,t){return[Zn*n*(2*a(2*t/3)-1)/E,Zn*E*g(t/3)]}nt.invert=function(n,t){var r=3*M(t/(Zn*E));return[E*n/(Zn*(2*a(2*r/3)-1)),r]};var tt=function(){return Object(e.a)(nt).scale(156.19)};function rt(n){var t=a(n);function r(n,r){return[n*t,g(r)/t]}return r.invert=function(n,r){return[n/t,M(r*t)]},r}var et=function(){return tn(rt).parallel(38.58).scale(195.044)};function ot(n){var t=a(n);function r(n,r){return[n*t,(1+t)*y(r/2)]}return r.invert=function(n,r){return[n/t,2*i(r/(1+t))]},r}var it=function(){return tn(ot).scale(124.75)};function ut(n,t){var r=k(8/(3*m));return[r*n*(1-o(t)/m),r*t]}ut.invert=function(n,t){var r=k(8/(3*m)),e=t/r;return[n/(r*(1-o(e)/m)),e]};var at=function(){return Object(e.a)(ut).scale(165.664)};function ct(n,t){var r=k(4-3*g(o(t)));return[2/k(6*m)*n*r,v(t)*k(2*m/3)*(2-r)]}ct.invert=function(n,t){var r=2-o(t)/k(2*m/3);return[n*k(6*m)/(2*r),v(t)*M((4-r*r)/3)]};var ft=function(){return Object(e.a)(ct).scale(165.664)};function st(n,t){var r=k(m*(4+m));return[2/r*n*(1+k(1-4*t*t/(m*m))),4/r*t]}st.invert=function(n,t){var r=k(m*(4+m))/2;return[n*r/(1+k(1-t*t*(4+m)/(4*m))),t*r/2]};var lt=function(){return Object(e.a)(st).scale(180.739)};function ht(n,t){var r=(2+b)*g(t);t/=2;for(var e=0,i=1/0;e<10&&o(i)>1e-6;e++){var u=a(t);t-=i=(t+g(t)*(u+2)-r)/(2*u*(1+u))}return[2/k(m*(4+m))*n*(1+a(t)),2*k(m/(4+m))*g(t)]}ht.invert=function(n,t){var r=t*k((4+m)/m)/2,e=M(r),o=a(e);return[n/(2/k(m*(4+m))*(1+o)),M((e+r*(o+2))/(2+b))]};var pt=function(){return Object(e.a)(ht).scale(180.739)};function dt(n,t){return[n*(1+a(t))/k(2+m),2*t/k(2+m)]}dt.invert=function(n,t){var r=k(2+m),e=t*r/2;return[r*n/(1+a(e)),e]};var vt=function(){return Object(e.a)(dt).scale(173.044)};function gt(n,t){for(var r=(1+b)*g(t),e=0,i=1/0;e<10&&o(i)>1e-6;e++)t-=i=(t+g(t)-r)/(1+a(t));return r=k(2+m),[n*(1+a(t))/r,2*t/r]}gt.invert=function(n,t){var r=1+b,e=k(r/2);return[2*n*e/(1+a(t*=e)),M((t+g(t))/r)]};var yt=function(){return Object(e.a)(gt).scale(173.044)},mt=3+2*_;function bt(n,t){var r=g(n/=2),e=a(n),o=k(a(t)),u=a(t/=2),c=g(t)/(u+_*e*o),f=k(2/(1+c*c)),l=k((_*u+(e+r)*o)/(_*u+(e-r)*o));return[mt*(f*(l-1/l)-2*s(l)),mt*(f*c*(l+1/l)-2*i(c))]}bt.invert=function(n,t){if(!(r=q.invert(n/1.2,1.065*t)))return null;var r,e=r[0],u=r[1],c=20;n/=mt,t/=mt;do{var f=e/2,p=u/2,d=g(f),v=a(f),y=g(p),m=a(p),w=a(u),E=k(w),j=y/(m+_*v*E),O=j*j,S=k(2/(1+O)),M=(_*m+(v+d)*E)/(_*m+(v-d)*E),T=k(M),P=T-1/T,C=T+1/T,A=S*P-2*s(T)-n,N=S*j*C-2*i(j)-t,R=y&&x*E*d*O/y,I=(_*v*m+E)/(2*(m+_*v*E)*(m+_*v*E)*E),D=-.5*j*S*S*S,L=D*R,B=D*I,z=(z=2*m+_*E*(v-d))*z*T,F=(_*v*m*E+w)/z,G=-_*d*y/(E*z),V=P*L-2*F/T+S*(F+F/M),H=P*B-2*G/T+S*(G+G/M),U=j*C*L-2*R/(1+O)+S*C*R+S*j*(F-F/M),W=j*C*B-2*I/(1+O)+S*C*I+S*j*(G-G/M),Y=H*U-W*V;if(!Y)break;var $=(N*H-A*W)/Y,J=(A*U-N*V)/Y;e-=$,u=l(-b,h(b,u-J))}while((o($)>1e-6||o(J)>1e-6)&&--c>0);return o(o(u)-b)<1e-6?[0,u]:c&&[e,u]};var wt=function(){return Object(e.a)(bt).scale(62.5271)},xt=a(35*S);function _t(n,t){var r=y(t/2);return[n*xt*k(1-r*r),(1+xt)*r]}_t.invert=function(n,t){var r=t/(1+xt);return[n&&n/(xt*k(1-r*r)),2*i(r)]};var Et=function(){return Object(e.a)(_t).scale(137.152)};function jt(n,t){var r=t/2,e=a(r);return[2*n/E*a(t)*e*e,E*y(r)]}jt.invert=function(n,t){var r=i(t/E),e=a(r),o=2*r;return[n*E/2/(a(o)*e*e),o]};var Ot=function(){return Object(e.a)(jt).scale(135.264)};function St(n,t){return[Object(H.f)(t)*Object(H.s)(n),Object(H.s)(t)]}St.invert=Object(U.a)(H.c);var Mt=function(){return Object(e.a)(St).scale(249.5).clipAngle(90+H.h)},Tt=r(146);function kt(n){return[n[0]/2,M(y(n[1]/2*S))*O]}function Pt(n){return[2*n[0],2*i(g(n[1]*S))*O]}var Ct=function(n){null==n&&(n=Mt);var t=n(),r=Object(Tt.a)().scale(O).precision(0).clipAngle(null).translate([0,0]);function e(n){return t(kt(n))}function o(n){e[n]=function(r){return arguments.length?(t[n](r),e):t[n]()}}return t.invert&&(e.invert=function(n){return Pt(t.invert(n))}),e.stream=function(n){var e=t.stream(n),o=r.stream({point:function(n,t){e.point(n/2,M(y(-t/2*S))*O)},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}});return o.sphere=e.sphere,o},e.rotate=function(n){return arguments.length?(r.rotate(n),e):r.rotate()},e.center=function(n){return arguments.length?(t.center(kt(n)),e):Pt(t.center())},o(\"clipAngle\"),o(\"clipExtent\"),o(\"scale\"),o(\"translate\"),o(\"precision\"),e.scale(249.5)};function At(n,t){var r=2*m/t,e=n*n;function i(t,i){var c=W(t,i),f=c[0],s=c[1],l=f*f+s*s;if(l>e){var h=k(l),p=u(s,f),v=r*d(p/r),y=p-v,w=n*a(y),x=(n*g(y)-y*g(w))/(b-w),_=Nt(y,x),E=(m-n)/Rt(_,w,m);f=h;var j,O=50;do{f-=j=(n+Rt(_,w,f)*E-h)/(_(f)*E)}while(o(j)>1e-6&&--O>0);s=y*g(f),f<b&&(s-=x*(f-b));var S=g(v),M=a(v);c[0]=f*M-s*S,c[1]=f*S+s*M}return c}return i.invert=function(t,i){var c=t*t+i*i;if(c>e){var f=k(c),s=u(i,t),l=r*d(s/r),h=s-l;t=f*a(h),i=f*g(h);for(var p=t-b,v=g(t),y=i/v,w=t<b?1/0:0,x=10;;){var _=n*g(y),E=n*a(y),j=g(E),O=b-E,S=(_-y*j)/O,M=Nt(y,S);if(o(w)<1e-12||!--x)break;y-=w=(y*v-S*p-i)/(v-2*p*(O*(E+y*_*a(E)-j)-_*(_-y*j))/(O*O))}t=(f=n+Rt(M,E,t)*(m-n)/Rt(M,E,m))*a(s=l+y),i=f*g(s)}return W.invert(t,i)},i}function Nt(n,t){return function(r){var e=n*a(r);return r<b&&(e-=t),k(1+e*e)}}function Rt(n,t,r){for(var e=(r-t)/50,o=n(t)+n(r),i=1,u=t;i<50;++i)o+=2*n(u+=e);return.5*o*e}var It=function(){var n=6,t=30*S,r=a(t),o=g(t),i=Object(e.b)(At),c=i(t,n),f=c.stream,s=-a(.01*S),l=g(.01*S);return c.radius=function(e){return arguments.length?(r=a(t=e*S),o=g(t),i(t,n)):t*O},c.lobes=function(r){return arguments.length?i(t,n=+r):n},c.stream=function(t){var e=c.rotate(),i=f(t),h=(c.rotate([0,0]),f(t));return c.rotate(e),i.sphere=function(){h.polygonStart(),h.lineStart();for(var t=0,e=2*m/n,i=0;t<n;++t,i-=e)h.point(u(l*a(i),s)*O,M(l*g(i))*O),h.point(u(o*a(i-e/2),r)*O,M(o*g(i-e/2))*O);h.lineEnd(),h.polygonEnd()},i},c.rotate([90,-40]).scale(91.7095).clipAngle(179.999)},Dt=function(n,t,r,e,i,u,c,f){function s(o,s){if(!s)return[n*o/m,0];var l=s*s,h=n+l*(t+l*(r+l*e)),p=s*(i-1+l*(u-f+l*c)),d=(h*h+p*p)/(2*p),v=o*M(h/d)/m;return[d*g(v),s*(1+l*f)+d*(1-a(v))]}return arguments.length<8&&(f=0),s.invert=function(s,l){var h,p,d=m*s/n,v=l,y=50;do{var b=v*v,w=n+b*(t+b*(r+b*e)),x=v*(i-1+b*(u-f+b*c)),_=w*w+x*x,E=2*x,j=_/E,O=j*j,S=M(w/j)/m,T=d*S,P=w*w,C=(2*t+b*(4*r+6*b*e))*v,A=i+b*(3*u+5*b*c),N=(2*(w*C+x*(A-1))*E-_*(2*(A-1)))/(E*E),R=a(T),I=g(T),D=j*R,L=j*I,q=d/m*(1/k(1-P/O))*(C*j-w*N)/O,B=L-s,z=v*(1+b*f)+j-D-l,F=N*I+D*q,G=D*S,V=1+N-(N*R-L*q),H=L*S,U=F*H-V*G;if(!U)break;d-=h=(z*F-B*V)/U,v-=p=(B*H-z*G)/U}while((o(h)>1e-6||o(p)>1e-6)&&--y>0);return[d,v]},s},Lt=Dt(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),qt=function(){return Object(e.a)(Lt).scale(149.995)},Bt=Dt(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),zt=function(){return Object(e.a)(Bt).scale(153.93)},Ft=Dt(5/6*m,-.62636,-.0344,0,1.3493,-.05524,0,.045),Gt=function(){return Object(e.a)(Ft).scale(130.945)};function Vt(n,t){var r=n*n,e=t*t;return[n*(1-.162388*e)*(.87-952426e-9*r*r),t*(1+e/12)]}Vt.invert=function(n,t){var r,e=n,i=t,u=50;do{var a=i*i;i-=r=(i*(1+a/12)-t)/(1+a/4)}while(o(r)>1e-6&&--u>0);u=50,n/=1-.162388*a;do{var c=(c=e*e)*c;e-=r=(e*(.87-952426e-9*c)-n)/(.87-.00476213*c)}while(o(r)>1e-6&&--u>0);return[e,i]};var Ht=function(){return Object(e.a)(Vt).scale(131.747)},Ut=Dt(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),Wt=function(){return Object(e.a)(Ut).scale(131.087)},Yt=function(n){var t=n(b,0)[0]-n(-b,0)[0];function r(r,e){var o=r>0?-.5:.5,i=n(r+o*m,e);return i[0]-=o*t,i}return n.invert&&(r.invert=function(r,e){var o=r>0?-.5:.5,i=n.invert(r+o*t,e),u=i[0]-o*m;return u<-m?u+=2*m:u>m&&(u-=2*m),i[0]=u,i}),r};function $t(n,t){var r=v(n),e=v(t),i=a(t),c=a(n)*i,f=g(n)*i,s=g(e*t);n=o(u(f,s)),t=M(c),o(n-b)>1e-6&&(n%=b);var l=function(n,t){if(t===b)return[0,0];var r,e,i=g(t),u=i*i,c=u*u,f=1+c,s=1+3*c,l=1-c,h=M(1/k(f)),p=l+u*f*h,d=(1-i)/p,v=k(d),y=d*f,w=k(y),x=v*l;if(0===n)return[0,-(x+u*w)];var _,E=a(t),j=1/E,O=2*i*E,S=(-p*E-(-3*u+h*s)*O*(1-i))/(p*p),T=-j*O,P=-j*(u*f*S+d*s*O),C=-2*j*(l*(.5*S/v)-2*u*v*O),A=4*n/m;if(n>.222*m||t<m/4&&n>.175*m){if(r=(x+u*k(y*(1+c)-x*x))/(1+c),n>m/4)return[r,r];var N=r,R=.5*r;r=.5*(R+N),e=50;do{var I=k(y-r*r),D=r*(C+T*I)+P*M(r/w)-A;if(!D)break;D<0?R=r:N=r,r=.5*(R+N)}while(o(N-R)>1e-6&&--e>0)}else{r=1e-6,e=25;do{var L=r*r,q=k(y-L),B=C+T*q,z=r*B+P*M(r/w)-A,F=B+(P-T*L)/q;r-=_=q?z/F:0}while(o(_)>1e-6&&--e>0)}return[r,-x-u*k(y-r*r)]}(n>m/4?b-n:n,t);return n>m/4&&(s=l[0],l[0]=-l[1],l[1]=-s),l[0]*=r,l[1]*=-e,l}$t.invert=function(n,t){o(n)>1&&(n=2*v(n)-n),o(t)>1&&(t=2*v(t)-t);var r=v(n),e=v(t),i=-r*n,c=-e*t,f=c/i<1,s=function(n,t){var r=0,e=1,i=.5,u=50;for(;;){var c=i*i,f=k(i),s=M(1/k(1+c)),l=1-c+i*(1+c)*s,h=(1-f)/l,p=k(h),d=h*(1+c),v=p*(1-c),g=k(d-n*n),y=t+v+i*g;if(o(e-r)<1e-12||0==--u||0===y)break;y>0?r=i:e=i,i=.5*(r+e)}if(!u)return null;var b=M(f),w=a(b),x=1/w,_=2*f*w,E=(-l*w-(-3*i+s*(1+3*c))*_*(1-f))/(l*l);return[m/4*(n*(-2*x*(.5*E/p*(1-c)-2*i*p*_)+-x*_*g)+-x*(i*(1+c)*E+h*(1+3*c)*_)*M(n/k(d))),b]}(f?c:i,f?i:c),l=s[0],h=s[1],p=a(h);return f&&(l=-b-l),[r*(u(g(l)*p,-g(h))+m),e*M(a(l)*p)]};var Jt=function(){return Object(e.a)(Yt($t)).scale(239.75)};function Xt(n,t){var r,e,u,f,s,l;if(t<1e-6)return[(f=g(n))-(r=t*(n-f*(e=a(n)))/4)*e,e+r*f,1-t*f*f/2,n-r];if(t>=1-1e-6)return r=(1-t)/4,u=1/(e=C(n)),[(f=((l=c(2*(l=n)))-1)/(l+1))+r*((s=e*P(n))-n)/(e*e),u-r*f*u*(s-n),u+r*f*u*(s+n),2*i(c(n))-b+r*(s-n)/e];var h=[1,0,0,0,0,0,0,0,0],p=[k(t),0,0,0,0,0,0,0,0],d=0;for(e=k(1-t),s=1;o(p[d]/h[d])>1e-6&&d<8;)r=h[d++],p[d]=(r-e)/2,h[d]=(r+e)/2,e=k(r*e),s*=2;u=s*h[d]*n;do{u=(M(f=p[d]*g(e=u)/h[d])+u)/2}while(--d);return[g(u),f=a(u),f/a(u-e),u]}function Kt(n,t){if(!t)return n;if(1===t)return s(y(n/2+w));for(var r=1,e=k(1-t),u=k(t),a=0;o(u)>1e-6;a++){if(n%m){var c=i(e*y(n)/r);c<0&&(c+=m),n+=c+~~(n/m)*m}else n+=n;u=(r+e)/2,e=k(r*e),u=((r=u)-e)/2}return n/(p(2,a)*r)}function Qt(n,t){var r=(_-1)/(_+1),e=k(1-r*r),f=Kt(b,e*e),l=s(y(m/4+o(t)/2)),h=c(-1*l)/k(r),p=function(n,t){var r=n*n,e=t+1,o=1-r-t*t;return[.5*((n>=0?b:-b)-u(o,2*n)),-.25*s(o*o+4*r)+.5*s(e*e+r)]}(h*a(-1*n),h*g(-1*n)),d=function(n,t,r){var e=o(n),u=P(o(t));if(e){var a=1/g(e),c=1/(y(e)*y(e)),f=-(c+r*(u*u*a*a)-1+r),s=(-f+k(f*f-4*((r-1)*c)))/2;return[Kt(i(1/k(s)),r)*v(n),Kt(i(k((s/c-1)/r)),1-r)*v(t)]}return[0,Kt(i(u),1-r)*v(t)]}(p[0],p[1],e*e);return[-d[1],(t>=0?1:-1)*(.5*f-d[0])]}Qt.invert=function(n,t){var r,e,o,a,f,l,h=(_-1)/(_+1),p=k(1-h*h),d=Kt(b,p*p),v=(e=-n,o=p*p,(r=.5*d-t)?(a=Xt(r,o),e?(l=(f=Xt(e,1-o))[1]*f[1]+o*a[0]*a[0]*f[0]*f[0],[[a[0]*f[2]/l,a[1]*a[2]*f[0]*f[1]/l],[a[1]*f[1]/l,-a[0]*a[2]*f[0]*f[2]/l],[a[2]*f[1]*f[2]/l,-o*a[0]*a[1]*f[0]/l]]):[[a[0],0],[a[1],0],[a[2],0]]):[[0,(f=Xt(e,1-o))[0]/f[1]],[1/f[1],0],[f[2]/f[1],0]]),g=function(n,t){var r=t[0]*t[0]+t[1]*t[1];return[(n[0]*t[0]+n[1]*t[1])/r,(n[1]*t[0]-n[0]*t[1])/r]}(v[0],v[1]);return[u(g[1],g[0])/-1,2*i(c(-.5*s(h*g[0]*g[0]+h*g[1]*g[1])))-b]};var Zt=function(){return Object(e.a)(Yt(Qt)).scale(151.496)},nr=Object(U.b)((function(n){return Object(H.t)(2/(1+n))}));nr.invert=Object(U.a)((function(n){return 2*Object(H.c)(n/2)}));function tr(n,t){if(arguments.length<2&&(t=n),1===t)return nr;if(t===1/0)return rr;function r(r,e){var o=nr(r/t,e);return o[0]*=n,o}return r.invert=function(r,e){var o=nr.invert(r/n,e);return o[0]*=t,o},r}function rr(n,t){return[n*a(t)/a(t/=2),2*g(t)]}rr.invert=function(n,t){var r=2*M(t/2);return[n*a(r/2)/a(r),r]};var er=function(){var n=2,t=Object(e.b)(tr),r=t(n);return r.coefficient=function(r){return arguments.length?t(n=+r):n},r.scale(169.529)},or=r(147);function ir(n){var t=g(n),r=a(n),e=ur(n);function i(n,i){var u=e(n,i);n=u[0],i=u[1];var c=g(i),f=a(i),s=a(n),l=T(t*c+r*f*s),h=g(l),p=o(h)>1e-6?l/h:1;return[p*r*g(n),(o(n)>b?p:-p)*(t*f-r*c*s)]}return e.invert=ur(-n),i.invert=function(n,r){var o=k(n*n+r*r),i=-g(o),c=a(o),f=o*c,s=-r*i,l=o*t,h=k(f*f+s*s-l*l),p=u(f*l+s*h,s*l-f*h),d=(o>b?-1:1)*u(n*i,o*a(p)*c+r*g(p)*i);return e.invert(d,p)},i}function ur(n){var t=g(n),r=a(n);return function(n,e){var o=a(e),i=a(n)*o,c=g(n)*o,f=g(e);return[u(c,i*r-f*t),M(f*r+i*t)]}}var ar=function(){var n=0,t=Object(e.b)(ir),r=t(n),o=r.rotate,i=r.stream,u=Object(or.b)();return r.parallel=function(e){if(!arguments.length)return n*O;var o=r.rotate();return t(n=e*S).rotate(o)},r.rotate=function(t){return arguments.length?(o.call(r,[t[0],t[1]-n*O]),u.center([-t[0],-t[1]]),r):((t=o.call(r))[1]+=n*O,t)},r.stream=function(n){return(n=i(n)).sphere=function(){n.polygonStart();var t,r=u.radius(89.99)().coordinates[0],e=r.length-1,o=-1;for(n.lineStart();++o<e;)n.point((t=r[o])[0],t[1]);for(n.lineEnd(),e=(r=u.radius(90.01)().coordinates[0]).length-1,n.lineStart();--o>=0;)n.point((t=r[o])[0],t[1]);n.lineEnd(),n.polygonEnd()},n},r.scale(79.4187).parallel(45).clipAngle(179.999)},cr=r(6),fr=rt(0);function sr(n){var t=(41+48/36+37/3600)*S,r=Jn(m,t)[0]-Jn(-m,t)[0],e=fr(0,t)[1],i=Jn(0,t)[1],u=E-i,a=j/n,c=4/j,s=e+u*u*4/j;function p(p,d){var v,g=o(d);if(g>t){var y=h(n-1,l(0,f((p+m)/a)));(v=Jn(p+=m*(n-1)/n-y*a,g))[0]=v[0]*j/r-j*(n-1)/(2*n)+y*j/n,v[1]=e+4*(v[1]-i)*u/j,d<0&&(v[1]=-v[1])}else v=fr(p,d);return v[0]*=c,v[1]/=s,v}return p.invert=function(t,p){t/=c;var d=o(p*=s);if(d>e){var v=h(n-1,l(0,f((t+m)/a)));t=(t+m*(n-1)/n-v*a)*r/j;var g=Jn.invert(t,.25*(d-e)*j/u+i);return g[0]-=m*(n-1)/n-v*a,p<0&&(g[1]=-g[1]),g}return fr.invert(t,p)},p}var lr=function(){var n=4,t=Object(e.b)(sr),r=t(n),o=r.stream;return r.lobes=function(r){return arguments.length?t(n=+r):n},r.stream=function(t){var e=r.rotate(),i=o(t),u=(r.rotate([0,0]),o(t));return r.rotate(e),i.sphere=function(){var t;Object(Tn.a)((t=180/n,{type:\"Polygon\",coordinates:[Object(cr.range)(-180,180+t/2,t).map((function(n,t){return[n,1&t?90-1e-6:41+48/36+37/3600]})).concat(Object(cr.range)(180,-180-t/2,-t).map((function(n,t){return[n,1&t?1e-6-90:-42.343611111111116]})))]}),u)},i},r.scale(239.75)};function hr(n){var t,r=1+n,e=M(g(1/r)),i=2*k(m/(t=m+4*e*r)),c=.5*i*(r+k(n*(2+n))),f=n*n,s=r*r;function l(l,h){var p,d,v=1-g(h);if(v&&v<2){var y,w=b-h,x=25;do{var _=g(w),E=a(w),j=e+u(_,r-E),O=1+s-2*r*E;w-=y=(w-f*e-r*_+O*j-.5*v*t)/(2*r*_*j)}while(o(y)>1e-12&&--x>0);p=i*k(O),d=l*j/m}else p=i*(n+v),d=l*e/m;return[p*g(d),c-p*a(d)]}return l.invert=function(n,o){var a=n*n+(o-=c)*o,l=(1+s-a/(i*i))/(2*r),h=T(l),p=g(h),d=e+u(p,r-l);return[M(n/k(a))*m/d,M(1-2*(h-f*e-r*p+(1+s-2*r*l)*d)/t)]},l}var pr=function(){var n=1,t=Object(e.b)(hr),r=t(n);return r.ratio=function(r){return arguments.length?t(n=+r):n},r.scale(167.774).center([0,18.67])};function dr(n,t){return t>-.7109889596207567?((n=K(n,t))[1]+=.0528035274542,n):rn(n,t)}dr.invert=function(n,t){return t>-.7109889596207567?K.invert(n,t-.0528035274542):rn.invert(n,t)};var vr=function(){return Object(e.a)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])};function gr(n,t){return o(t)>.7109889596207567?((n=K(n,t))[1]-=t>0?.0528035274542:-.0528035274542,n):rn(n,t)}gr.invert=function(n,t){return o(t)>.7109889596207567?K.invert(n,t+(t>0?.0528035274542:-.0528035274542)):rn.invert(n,t)};var yr=function(){return Object(e.a)(gr).scale(152.63)};function mr(n,t){return o(n[0]-t[0])<1e-6&&o(n[1]-t[1])<1e-6}function br(n,t){for(var r,e,o,i=-1,u=n.length,a=n[0],c=[];++i<u;){e=((r=n[i])[0]-a[0])/t,o=(r[1]-a[1])/t;for(var f=0;f<t;++f)c.push([a[0]+f*e,a[1]+f*o]);a=r}return c.push(r),c}var wr=function(n,t){var r=function(n){var t,r,e,o,i,u,a,c=[],f=n[0].length;for(a=0;a<f;++a)r=(t=n[0][a])[0][0],e=t[0][1],o=t[1][1],i=t[2][0],u=t[2][1],c.push(br([[r+1e-6,e+1e-6],[r+1e-6,o-1e-6],[i-1e-6,o-1e-6],[i-1e-6,u+1e-6]],30));for(a=n[1].length-1;a>=0;--a)r=(t=n[1][a])[0][0],e=t[0][1],o=t[1][1],i=t[2][0],u=t[2][1],c.push(br([[i-1e-6,u-1e-6],[i-1e-6,o+1e-6],[r+1e-6,o+1e-6],[r+1e-6,e-1e-6]],30));return{type:\"Polygon\",coordinates:[Object(cr.merge)(c)]}}(t),o=(t=t.map((function(n){return n.map((function(n){return[[n[0][0]*S,n[0][1]*S],[n[1][0]*S,n[1][1]*S],[n[2][0]*S,n[2][1]*S]]}))}))).map((function(t){return t.map((function(t){var r,e=n(t[0][0],t[0][1])[0],o=n(t[2][0],t[2][1])[0],i=n(t[1][0],t[0][1])[1],u=n(t[1][0],t[1][1])[1];return i>u&&(r=i,i=u,u=r),[[e,i],[o,u]]}))}));function i(r,e){for(var o=e<0?-1:1,i=t[+(e<0)],u=0,a=i.length-1;u<a&&r>i[u][2][0];++u);var c=n(r-i[u][1][0],e);return c[0]+=n(i[u][1][0],o*e>o*i[u][0][1]?i[u][0][1]:e)[0],c}n.invert&&(i.invert=function(r,e){for(var u=o[+(e<0)],a=t[+(e<0)],c=0,f=u.length;c<f;++c){var s=u[c];if(s[0][0]<=r&&r<s[1][0]&&s[0][1]<=e&&e<s[1][1]){var l=n.invert(r-n(a[c][1][0],0)[0],e);return l[0]+=a[c][1][0],mr(i(l[0],l[1]),[r,e])?l:null}}});var u=Object(e.a)(i),a=u.stream;return u.stream=function(n){var t=u.rotate(),e=a(n),o=(u.rotate([0,0]),a(n));return u.rotate(t),e.sphere=function(){Object(Tn.a)(r,o)},e},u},xr=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],_r=function(){return wr(Z,xr).scale(160.857)},Er=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],jr=function(){return wr(gr,Er).scale(152.63)},Or=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],Sr=function(){return wr(K,Or).scale(169.529)},Mr=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]],Tr=function(){return wr(K,Mr).scale(169.529).rotate([20,0])},kr=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]],Pr=function(){return wr(dr,kr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])},Cr=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]],Ar=function(){return wr(rn,Cr).scale(152.63).rotate([-20,0])};function Nr(n,t){return[3/j*n*k(m*m/3-t*t),t]}Nr.invert=function(n,t){return[j/3*n/k(m*m/3-t*t),t]};var Rr=function(){return Object(e.a)(Nr).scale(158.837)};function Ir(n){function t(t,r){if(o(o(r)-b)<1e-6)return[0,r<0?-2:2];var e=g(r),i=p((1+e)/(1-e),n/2),u=.5*(i+1/i)+a(t*=n);return[2*g(t)/u,(i-1/i)/u]}return t.invert=function(t,r){var e=o(r);if(o(e-2)<1e-6)return t?null:[0,v(r)*b];if(e>2)return null;var i=(t/=2)*t,a=(r/=2)*r,c=2*r/(1+i+a);return c=p((1+c)/(1-c),1/n),[u(2*t,1-i-a)/n,M((c-1)/(c+1))]},t}var Dr=function(){var n=.5,t=Object(e.b)(Ir),r=t(n);return r.spacing=function(r){return arguments.length?t(n=+r):n},r.scale(124.75)},Lr=m/_;function qr(n,t){return[n*(1+k(a(t)))/2,t/(a(t/2)*a(n/6))]}qr.invert=function(n,t){var r=o(n),e=o(t),i=1e-6,u=b;e<Lr?u*=e/Lr:i+=6*T(Lr/e);for(var c=0;c<25;c++){var f=g(u),s=k(a(u)),l=g(u/2),h=a(u/2),p=g(i/6),d=a(i/6),v=.5*i*(1+s)-r,y=u/(h*d)-e,m=s?-.25*i*f/s:0,w=.5*(1+s),x=(1+.5*u*l/h)/(h*d),_=u/h*(p/6)/(d*d),E=m*_-x*w,j=(v*_-y*w)/E,O=(y*m-v*x)/E;if(u-=j,i-=O,o(j)<1e-6&&o(O)<1e-6)break}return[n<0?-i:i,t<0?-u:u]};var Br=function(){return Object(e.a)(qr).scale(97.2672)};function zr(n,t){var r=n*n,e=t*t;return[n*(.975534+e*(-.0143059*r-.119161+-.0547009*e)),t*(1.00384+r*(.0802894+-.02855*e+199025e-9*r)+e*(.0998909+-.0491032*e))]}zr.invert=function(n,t){var r=v(n)*m,e=t/2,i=50;do{var u=r*r,a=e*e,c=r*e,f=r*(.975534+a*(-.0143059*u-.119161+-.0547009*a))-n,s=e*(1.00384+u*(.0802894+-.02855*a+199025e-9*u)+a*(.0998909+-.0491032*a))-t,l=.975534-a*(.119161+3*u*.0143059+.0547009*a),h=-c*(.238322+.2188036*a+.0286118*u),p=c*(.1605788+7961e-7*u+-.0571*a),d=1.00384+u*(.0802894+199025e-9*u)+a*(3*(.0998909-.02855*u)-.245516*a),g=h*p-d*l,y=(s*h-f*d)/g,b=(f*p-s*l)/g;r-=y,e-=b}while((o(y)>1e-6||o(b)>1e-6)&&--i>0);return i&&[r,e]};var Fr=function(){return Object(e.a)(zr).scale(139.98)};function Gr(n,t){return[g(n)/a(t),y(t)*a(n)]}Gr.invert=function(n,t){var r=n*n,e=t*t,o=e+1,i=n?x*k((o-k(r*r+2*r*(e-1)+o*o))/r+1):1/k(o);return[M(n*i),v(t)*T(i)]};var Vr=function(){return Object(e.a)(Gr).scale(144.049).clipAngle(89.999)};function Hr(n){var t=a(n),r=y(w+n/2);function e(e,i){var u=i-n,a=o(u)<1e-6?e*t:o(a=w+i/2)<1e-6||o(o(a)-b)<1e-6?0:e*u/s(y(a)/r);return[a,u]}return e.invert=function(e,i){var u,a=i+n;return[o(i)<1e-6?e/t:o(u=w+a/2)<1e-6||o(o(u)-b)<1e-6?0:e*s(y(u)/r)/i,a]},e}var Ur=function(){return tn(Hr).parallel(40).scale(158.837)};function Wr(n,t){return[n,1.25*s(y(w+.4*t))]}Wr.invert=function(n,t){return[n,2.5*i(c(.8*t))-.625*m]};var Yr=function(){return Object(e.a)(Wr).scale(108.318)};function $r(n){var t=n.length-1;function r(r,e){for(var o,i=a(e),u=2/(1+i*a(r)),c=u*i*g(r),f=u*g(e),s=t,l=n[s],h=l[0],p=l[1];--s>=0;)h=(l=n[s])[0]+c*(o=h)-f*p,p=l[1]+c*p+f*o;return[h=c*(o=h)-f*p,p=c*p+f*o]}return r.invert=function(r,e){var c=20,f=r,s=e;do{for(var l,h=t,p=n[h],d=p[0],v=p[1],y=0,m=0;--h>=0;)y=d+f*(l=y)-s*m,m=v+f*m+s*l,d=(p=n[h])[0]+f*(l=d)-s*v,v=p[1]+f*v+s*l;var b,w,x=(y=d+f*(l=y)-s*m)*y+(m=v+f*m+s*l)*m;f-=b=((d=f*(l=d)-s*v-r)*y+(v=f*v+s*l-e)*m)/x,s-=w=(v*y-d*m)/x}while(o(b)+o(w)>1e-12&&--c>0);if(c){var _=k(f*f+s*s),E=2*i(.5*_),j=g(E);return[u(f*j,_*a(E)),_?M(s*j/_):0]}},r}var Jr=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Xr=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Kr=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Qr=[[.9245,0],[0,0],[.01943,0]],Zr=[[.721316,0],[0,0],[-.00881625,-.00617325]];function ne(){return ie(Jr,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)}function te(){return ie(Xr,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function re(){return ie(Kr,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function ee(){return ie(Qr,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function oe(){return ie(Zr,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function ie(n,t){var r=Object(e.a)($r(n)).rotate(t).clipAngle(90),o=Object(Fn.a)(t),i=r.center;return delete r.rotate,r.center=function(n){return arguments.length?i(o(n)):o.invert(i())},r}var ue=k(6),ae=k(7);function ce(n,t){var r=M(7*g(t)/(3*ue));return[ue*n*(2*a(2*r/3)-1)/ae,9*g(r/3)/ae]}ce.invert=function(n,t){var r=3*M(t*ae/9);return[n*ae/(ue*(2*a(2*r/3)-1)),M(3*g(r)*ue/7)]};var fe=function(){return Object(e.a)(ce).scale(164.859)};function se(n,t){for(var r,e=(1+x)*g(t),i=t,u=0;u<25&&(i-=r=(g(i/2)+g(i)-e)/(.5*a(i/2)+a(i)),!(o(r)<1e-6));u++);return[n*(1+2*a(i)/a(i/2))/(3*_),2*k(3)*g(i/2)/k(2+_)]}se.invert=function(n,t){var r=t*k(2+_)/(2*k(3)),e=2*M(r);return[3*_*n/(1+2*a(e)/a(e/2)),M((r+g(e))/(1+x))]};var le=function(){return Object(e.a)(se).scale(188.209)};function he(n,t){for(var r,e=k(6/(4+m)),i=(1+m/4)*g(t),u=t/2,c=0;c<25&&(u-=r=(u/2+g(u)-i)/(.5+a(u)),!(o(r)<1e-6));c++);return[e*(.5+a(u))*n/1.5,e*u]}he.invert=function(n,t){var r=k(6/(4+m)),e=t/r;return o(o(e)-b)<1e-6&&(e=e<0?-b:b),[1.5*n/(r*(.5+a(e))),M((e/2+g(e))/(1+m/4))]};var pe=function(){return Object(e.a)(he).scale(166.518)};function de(n,t){var r=t*t,e=r*r;return[n*(.8707-.131979*r+e*(e*(.003971*r-.001529*e)-.013791)),t*(1.007226+r*(.015085+e*(.028874*r-.044475-.005916*e)))]}de.invert=function(n,t){var r,e=t,i=25;do{var u=e*e,a=u*u;e-=r=(e*(1.007226+u*(.015085+a*(.028874*u-.044475-.005916*a)))-t)/(1.007226+u*(.045255+a*(.259866*u-.311325-.005916*11*a)))}while(o(r)>1e-6&&--i>0);return[n/(.8707+(u=e*e)*(u*(u*u*u*(.003971-.001529*u)-.013791)-.131979)),e]};var ve=function(){return Object(e.a)(de).scale(175.295)};function ge(n,t){var r=t*t,e=r*r,o=r*e;return[n*(.84719-.13063*r+o*o*(.05494*r-.04515-.02326*e+.00331*o)),t*(1.01183+e*e*(.01926*r-.02625-.00396*e))]}ge.invert=function(n,t){var r,e,i,u,a=t,c=25;do{a-=r=(a*(1.01183+(i=(e=a*a)*e)*i*(.01926*e-.02625-.00396*i))-t)/(1.01183+i*i*(.21186*e-.23625+-.05148*i))}while(o(r)>1e-12&&--c>0);return[n/(.84719-.13063*(e=a*a)+(u=e*(i=e*e))*u*(.05494*e-.04515-.02326*i+.00331*u)),a]};var ye=function(){return Object(e.a)(ge).scale(175.295)};function me(n,t){return[n*(1+a(t))/2,2*(t-y(t/2))]}me.invert=function(n,t){for(var r=t/2,e=0,i=1/0;e<10&&o(i)>1e-6;++e){var u=a(t/2);t-=i=(t-y(t/2)-r)/(1-.5/(u*u))}return[2*n/(1+a(t)),t]};var be=function(){return Object(e.a)(me).scale(152.63)};function we(n,t){var r=t*t;return[n,t*(1.0148+r*r*(.23185+r*(.02406*r-.14499)))]}we.invert=function(n,t){t>1.790857183?t=1.790857183:t<-1.790857183&&(t=-1.790857183);var r,e=t;do{var i=e*e;e-=r=(e*(1.0148+i*i*(.23185+i*(.02406*i-.14499)))-t)/(1.0148+i*i*(5*.23185+i*(.21654*i-1.01493)))}while(o(r)>1e-6);return[n,e]};var xe=function(){return Object(e.a)(we).scale(139.319)};function _e(n,t){if(o(t)<1e-6)return[n,0];var r=y(t),e=n*g(t);return[g(e)/r,t+(1-a(e))/r]}_e.invert=function(n,t){if(o(t)<1e-6)return[n,0];var r,e=n*n+t*t,i=.5*t,u=10;do{var c=y(i),f=1/a(i),s=e-2*t*i+i*i;i-=r=(c*s+2*(i-t))/(2+s*f*f+2*(i-t)*c)}while(o(r)>1e-6&&--u>0);return c=y(i),[(o(t)<o(i+1/c)?M(n*c):v(n)*(T(o(n*c))+b))/g(i),i]};var Ee,je,Oe,Se,Me,Te=function(){return Object(e.a)(_e).scale(103.74)},ke=r(29),Pe=Object(ke.a)(),Ce=Object(ke.a)(),Ae={point:Mn.a,lineStart:Mn.a,lineEnd:Mn.a,polygonStart:function(){Pe.reset(),Ae.lineStart=Ne,Ae.lineEnd=Re},polygonEnd:function(){var n=+Pe;Ce.add(n<0?H.v+n:n),this.lineStart=this.lineEnd=this.point=Mn.a},sphere:function(){Ce.add(H.v)}};function Ne(){Ae.point=Ie}function Re(){De(Ee,je)}function Ie(n,t){Ae.point=De,Ee=n,je=t,n*=H.q,t*=H.q,Oe=n,Se=Object(H.f)(t=t/2+H.p),Me=Object(H.s)(t)}function De(n,t){n*=H.q,t=(t*=H.q)/2+H.p;var r=n-Oe,e=r>=0?1:-1,o=e*r,i=Object(H.f)(t),u=Object(H.s)(t),a=Me*u,c=Se*i+a*Object(H.f)(o),f=a*e*Object(H.s)(o);Pe.add(Object(H.e)(f,c)),Oe=n,Se=i,Me=u}var Le,qe,Be,ze,Fe,Ge,Ve,He,Ue,We,Ye=r(5),$e=Object(ke.a)(),Je={point:Xe,lineStart:Qe,lineEnd:Ze,polygonStart:function(){Je.point=no,Je.lineStart=to,Je.lineEnd=ro,$e.reset(),Ae.polygonStart()},polygonEnd:function(){Ae.polygonEnd(),Je.point=Xe,Je.lineStart=Qe,Je.lineEnd=Ze,Pe<0?(Le=-(Be=180),qe=-(ze=90)):$e>H.h?ze=90:$e<-H.h&&(qe=-90),We[0]=Le,We[1]=Be},sphere:function(){Le=-(Be=180),qe=-(ze=90)}};function Xe(n,t){Ue.push(We=[Le=n,Be=n]),t<qe&&(qe=t),t>ze&&(ze=t)}function Ke(n,t){var r=Object(Ye.a)([n*H.q,t*H.q]);if(He){var e=Object(Ye.c)(He,r),o=[e[1],-e[0],0],i=Object(Ye.c)(o,e);Object(Ye.e)(i),i=Object(Ye.g)(i);var u,a=n-Fe,c=a>0?1:-1,f=i[0]*H.g*c,s=Object(H.a)(a)>180;s^(c*Fe<f&&f<c*n)?(u=i[1]*H.g)>ze&&(ze=u):s^(c*Fe<(f=(f+360)%360-180)&&f<c*n)?(u=-i[1]*H.g)<qe&&(qe=u):(t<qe&&(qe=t),t>ze&&(ze=t)),s?n<Fe?eo(Le,n)>eo(Le,Be)&&(Be=n):eo(n,Be)>eo(Le,Be)&&(Le=n):Be>=Le?(n<Le&&(Le=n),n>Be&&(Be=n)):n>Fe?eo(Le,n)>eo(Le,Be)&&(Be=n):eo(n,Be)>eo(Le,Be)&&(Le=n)}else Ue.push(We=[Le=n,Be=n]);t<qe&&(qe=t),t>ze&&(ze=t),He=r,Fe=n}function Qe(){Je.point=Ke}function Ze(){We[0]=Le,We[1]=Be,Je.point=Xe,He=null}function no(n,t){if(He){var r=n-Fe;$e.add(Object(H.a)(r)>180?r+(r>0?360:-360):r)}else Ge=n,Ve=t;Ae.point(n,t),Ke(n,t)}function to(){Ae.lineStart()}function ro(){no(Ge,Ve),Ae.lineEnd(),Object(H.a)($e)>H.h&&(Le=-(Be=180)),We[0]=Le,We[1]=Be,He=null}function eo(n,t){return(t-=n)<0?t+360:t}function oo(n,t){return n[0]-t[0]}function io(n,t){return n[0]<=n[1]?n[0]<=t&&t<=n[1]:t<n[0]||n[1]<t}var uo=function(n,t){var r=n[0]*H.q,e=n[1]*H.q,o=t[0]*H.q,i=t[1]*H.q,u=Object(H.f)(e),a=Object(H.s)(e),c=Object(H.f)(i),f=Object(H.s)(i),s=u*Object(H.f)(r),l=u*Object(H.s)(r),h=c*Object(H.f)(o),p=c*Object(H.s)(o),d=2*Object(H.c)(Object(H.t)(Object(H.l)(i-e)+u*c*Object(H.l)(o-r))),v=Object(H.s)(d),g=d?function(n){var t=Object(H.s)(n*=d)/v,r=Object(H.s)(d-n)/v,e=r*s+t*h,o=r*l+t*p,i=r*a+t*f;return[Object(H.e)(o,e)*H.g,Object(H.e)(i,Object(H.t)(e*e+o*o))*H.g]}:function(){return[r*H.g,e*H.g]};return g.distance=d,g},ao=function(n,t){var r=fo(n[1],n[0]),e=fo(t[1],t[0]),o=function(n,t){return u(n[0]*t[1]-n[1]*t[0],n[0]*t[0]+n[1]*t[1])}(r,e),i=so(r)/so(e);return co([1,0,n[0][0],0,1,n[0][1]],co([i,0,0,0,i,0],co([a(o),g(o),0,-g(o),a(o),0],[1,0,-t[0][0],0,1,-t[0][1]])))};function co(n,t){return[n[0]*t[0]+n[1]*t[3],n[0]*t[1]+n[1]*t[4],n[0]*t[2]+n[1]*t[5]+n[2],n[3]*t[0]+n[4]*t[3],n[3]*t[1]+n[4]*t[4],n[3]*t[2]+n[4]*t[5]+n[5]]}function fo(n,t){return[n[0]-t[0],n[1]-t[1]]}function so(n){return k(n[0]*n[0]+n[1]*n[1])}var lo=function(n,t,r){function i(n,r){var e,o=t(n,r),i=o.project([n*O,r*O]);return(e=o.transform)?[e[0]*i[0]+e[1]*i[1]+e[2],-(e[3]*i[0]+e[4]*i[1]+e[5])]:(i[1]=-i[1],i)}(function n(t,r){if(t.edges=function(n){for(var t=n.length,r=[],e=n[t-1],o=0;o<t;++o)r.push([e,e=n[o]]);return r}(t.face),r.face){var e=t.shared=function(n,t){for(var r,e,o=n.length,i=null,u=0;u<o;++u){r=n[u];for(var a=t.length;--a>=0;)if(e=t[a],r[0]===e[0]&&r[1]===e[1]){if(i)return[i,r];i=r}}}(t.face,r.face),o=ao(e.map(r.project),e.map(t.project));t.transform=r.transform?co(r.transform,o):o;for(var i=r.edges,u=0,a=i.length;u<a;++u)ho(e[0],i[u][1])&&ho(e[1],i[u][0])&&(i[u]=t),ho(e[0],i[u][0])&&ho(e[1],i[u][1])&&(i[u]=t);for(i=t.edges,u=0,a=i.length;u<a;++u)ho(e[0],i[u][0])&&ho(e[1],i[u][1])&&(i[u]=r),ho(e[0],i[u][1])&&ho(e[1],i[u][0])&&(i[u]=r)}else t.transform=r.transform;t.children&&t.children.forEach((function(r){n(r,t)}));return t})(n,{transform:[a(r=null==r?-m/6:r),g(r),0,-g(r),a(r),0]}),po(n)&&(i.invert=function(r,e){var o=function n(r,e){var o=r.project.invert,i=r.transform,u=e;i&&(c=1/((a=i)[0]*a[4]-a[1]*a[3]),i=[c*a[4],-c*a[1],c*(a[1]*a[5]-a[2]*a[4]),-c*a[3],c*a[0],c*(a[2]*a[3]-a[0]*a[5])],u=[i[0]*u[0]+i[1]*u[1]+i[2],i[3]*u[0]+i[4]*u[1]+i[5]]);var a,c;if(o&&r===function(n){return t(n[0]*S,n[1]*S)}(f=o(u)))return f;for(var f,s=r.children,l=0,h=s&&s.length;l<h;++l)if(f=n(s[l],e))return f}(n,[r,-e]);return o&&(o[0]*=S,o[1]*=S,o)});var u=Object(e.a)(i),c=u.stream;return u.stream=function(t){var r=u.rotate(),e=c(t),i=(u.rotate([0,0]),c(t));return u.rotate(r),e.sphere=function(){i.polygonStart(),i.lineStart(),function n(t,r,e){var i,u,a=r.edges,c=a.length,f={type:\"MultiPoint\",coordinates:r.face},s=r.face.filter((function(n){return 90!==o(n[1])})),l=function(n){var t,r,e,o,i,u,a;if(ze=Be=-(Le=qe=1/0),Ue=[],Object(Tn.a)(n,Je),r=Ue.length){for(Ue.sort(oo),t=1,i=[e=Ue[0]];t<r;++t)io(e,(o=Ue[t])[0])||io(e,o[1])?(eo(e[0],o[1])>eo(e[0],e[1])&&(e[1]=o[1]),eo(o[0],e[1])>eo(e[0],e[1])&&(e[0]=o[0])):i.push(e=o);for(u=-1/0,t=0,e=i[r=i.length-1];t<=r;e=o,++t)o=i[t],(a=eo(e[1],o[0]))>u&&(u=a,Le=o[0],Be=e[1])}return Ue=We=null,Le===1/0||qe===1/0?[[NaN,NaN],[NaN,NaN]]:[[Le,qe],[Be,ze]]}({type:\"MultiPoint\",coordinates:s}),h=!1,p=-1,d=l[1][0]-l[0][0],v=180===d||360===d?[(l[0][0]+l[1][0])/2,(l[0][1]+l[1][1])/2]:zn(f);if(e)for(;++p<c&&a[p]!==e;);++p;for(var g=0;g<c;++g)u=a[(g+p)%c],Array.isArray(u)?(h||(t.point((i=uo(u[0],v)(1e-6))[0],i[1]),h=!0),t.point((i=uo(u[1],v)(1e-6))[0],i[1])):(h=!1,u!==e&&n(t,u,r))}(i,n),i.lineEnd(),i.polygonEnd()},e},u};function ho(n,t){return n&&t&&n[0]===t[0]&&n[1]===t[1]}function po(n){return n.project.invert||n.children&&n.children.some(po)}function vo(n,t){var r=Object(H.f)(t),e=Object(H.f)(n)*r;return[r*Object(H.s)(n)/e,Object(H.s)(t)/e]}vo.invert=Object(U.a)(H.d);var go=function(){return Object(e.a)(vo).scale(144.049).clipAngle(60)},yo=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],mo=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map((function(n){return n.map((function(n){return yo[n]}))})),bo=function(n){n=n||function(n){var t=zn({type:\"MultiPoint\",coordinates:n});return go().scale(1).translate([0,0]).rotate([-t[0],-t[1]])};var t=mo.map((function(t){return{face:t,project:n(t)}}));return[-1,0,0,1,0,1,4,5].forEach((function(n,r){var e=t[n];e&&(e.children||(e.children=[])).push(t[r])})),lo(t[0],(function(n,r){return t[n<-m/2?r<0?6:4:n<0?r<0?2:0:n<m/2?r<0?3:1:r<0?7:5]})).scale(101.858).center([0,45])},wo=2/k(3);function xo(n,t){var r=Jn(n,t);return[r[0]*wo,r[1]]}xo.invert=function(n,t){return Jn.invert(n/wo,t)};var _o=function(n){n=n||function(n){var t=zn({type:\"MultiPoint\",coordinates:n});return Object(e.a)(xo).translate([0,0]).scale(1).rotate(t[1]>0?[-t[0],0]:[180-t[0],180])};var t=mo.map((function(t){return{face:t,project:n(t)}}));return[-1,0,0,1,0,1,4,5].forEach((function(n,r){var e=t[n];e&&(e.children||(e.children=[])).push(t[r])})),lo(t[0],(function(n,r){return t[n<-m/2?r<0?6:4:n<0?r<0?2:0:n<m/2?r<0?3:1:r<0?7:5]})).scale(121.906).center([0,48.5904])},Eo=function(n){n=n||function(n){var t=6===n.length?zn({type:\"MultiPoint\",coordinates:n}):n[0];return go().scale(1).translate([0,0]).rotate([-t[0],-t[1]])};var t=mo.map((function(n){for(var t,r=n.map(So),e=r.length,o=r[e-1],i=[],u=0;u<e;++u)t=r[u],i.push(Oo([.9486832980505138*o[0]+.31622776601683794*t[0],.9486832980505138*o[1]+.31622776601683794*t[1],.9486832980505138*o[2]+.31622776601683794*t[2]]),Oo([.9486832980505138*t[0]+.31622776601683794*o[0],.9486832980505138*t[1]+.31622776601683794*o[1],.9486832980505138*t[2]+.31622776601683794*o[2]])),o=t;return i})),r=[],e=[-1,0,0,1,0,1,4,5];t.forEach((function(n,o){for(var i,u,a=mo[o],c=a.length,f=r[o]=[],s=0;s<c;++s)t.push([a[s],n[(2*s+2)%(2*c)],n[(2*s+1)%(2*c)]]),e.push(o),f.push((i=So(n[(2*s+2)%(2*c)]),u=So(n[(2*s+1)%(2*c)]),[i[1]*u[2]-i[2]*u[1],i[2]*u[0]-i[0]*u[2],i[0]*u[1]-i[1]*u[0]]))}));var o=t.map((function(t){return{project:n(t),face:t}}));return e.forEach((function(n,t){var r=o[n];r&&(r.children||(r.children=[])).push(o[t])})),lo(o[0],(function(n,t){var e=a(t),i=[e*a(n),e*g(n),g(t)],u=n<-m/2?t<0?6:4:n<0?t<0?2:0:n<m/2?t<0?3:1:t<0?7:5,c=r[u];return o[jo(c[0],i)<0?8+3*u:jo(c[1],i)<0?8+3*u+1:jo(c[2],i)<0?8+3*u+2:u]})).scale(110.625).center([0,45])};function jo(n,t){for(var r=0,e=n.length,o=0;r<e;++r)o+=n[r]*t[r];return o}function Oo(n){return[u(n[1],n[0])*O,M(l(-1,h(1,n[2])))*O]}function So(n){var t=n[0]*S,r=n[1]*S,e=a(r);return[e*a(t),e*g(t),g(r)]}var Mo=function(){},To=function(n,t){var r,e=t.stream;if(!e)throw new Error(\"invalid projection\");switch(n&&n.type){case\"Feature\":r=Po;break;case\"FeatureCollection\":r=ko;break;default:r=Co}return r(n,e)};function ko(n,t){return{type:\"FeatureCollection\",features:n.features.map((function(n){return Po(n,t)}))}}function Po(n,t){return{type:\"Feature\",id:n.id,properties:n.properties,geometry:Co(n.geometry,t)}}function Co(n,t){if(!n)return null;if(\"GeometryCollection\"===n.type)return function(n,t){return{type:\"GeometryCollection\",geometries:n.geometries.map((function(n){return Co(n,t)}))}}(n,t);var r;switch(n.type){case\"Point\":case\"MultiPoint\":r=Ro;break;case\"LineString\":case\"MultiLineString\":r=Io;break;case\"Polygon\":case\"MultiPolygon\":case\"Sphere\":r=Do;break;default:return null}return Object(Tn.a)(n,t(r)),r.result()}var Ao=[],No=[],Ro={point:function(n,t){Ao.push([n,t])},result:function(){var n=Ao.length?Ao.length<2?{type:\"Point\",coordinates:Ao[0]}:{type:\"MultiPoint\",coordinates:Ao}:null;return Ao=[],n}},Io={lineStart:Mo,point:function(n,t){Ao.push([n,t])},lineEnd:function(){Ao.length&&(No.push(Ao),Ao=[])},result:function(){var n=No.length?No.length<2?{type:\"LineString\",coordinates:No[0]}:{type:\"MultiLineString\",coordinates:No}:null;return No=[],n}},Do={polygonStart:Mo,lineStart:Mo,point:function(n,t){Ao.push([n,t])},lineEnd:function(){var n=Ao.length;if(n){do{Ao.push(Ao[0].slice())}while(++n<4);No.push(Ao),Ao=[]}},polygonEnd:Mo,result:function(){if(!No.length)return null;var n=[],t=[];return No.forEach((function(r){!function(n){if((t=n.length)<4)return!1;for(var t,r=0,e=n[t-1][1]*n[0][0]-n[t-1][0]*n[0][1];++r<t;)e+=n[r-1][1]*n[r][0]-n[r-1][0]*n[r][1];return e<=0}(r)?t.push(r):n.push([r])})),t.forEach((function(t){var r=t[0];n.some((function(n){if(function(n,t){for(var r=t[0],e=t[1],o=!1,i=0,u=n.length,a=u-1;i<u;a=i++){var c=n[i],f=c[0],s=c[1],l=n[a],h=l[0],p=l[1];s>e^p>e&&r<(h-f)*(e-s)/(p-s)+f&&(o=!o)}return o}(n[0],r))return n.push(t),!0}))||n.push([t])})),No=[],n.length?n.length>1?{type:\"MultiPolygon\",coordinates:n}:{type:\"Polygon\",coordinates:n[0]}:null}},Lo=function(n){var t=n(b,0)[0]-n(-b,0)[0];function r(r,e){var i=o(r)<b,u=n(i?r:r>0?r-m:r+m,e),a=(u[0]-u[1])*x,c=(u[0]+u[1])*x;if(i)return[a,c];var f=t*x,s=a>0^c>0?-1:1;return[s*a-v(c)*f,s*c-v(a)*f]}return n.invert&&(r.invert=function(r,e){var i=(r+e)*x,u=(e-r)*x,a=o(i)<.5*t&&o(u)<.5*t;if(!a){var c=t*x,f=i>0^u>0?-1:1,s=-f*r+(u>0?1:-1)*c,l=-f*e+(i>0?1:-1)*c;i=(-s-l)*x,u=(s-l)*x}var h=n.invert(i,u);return a||(h[0]+=i>0?m:-m),h}),Object(e.a)(r).rotate([-90,-90,45]).clipAngle(179.999)},qo=function(){return Lo($t).scale(176.423)},Bo=function(){return Lo(Qt).scale(111.48)},zo=function(n,t){if(!(0<=(t=+t)&&t<=20))throw new Error(\"invalid digits\");function r(n){var r=n.length,e=2,o=new Array(r);for(o[0]=+n[0].toFixed(t),o[1]=+n[1].toFixed(t);e<r;)o[e]=n[e],++e;return o}function e(n){return n.map(r)}function o(n){return n.map(e)}function i(n){if(null==n)return n;var t;switch(n.type){case\"GeometryCollection\":t={type:\"GeometryCollection\",geometries:n.geometries.map(i)};break;case\"Point\":t={type:\"Point\",coordinates:r(n.coordinates)};break;case\"MultiPoint\":case\"LineString\":t={type:n.type,coordinates:e(n.coordinates)};break;case\"MultiLineString\":case\"Polygon\":t={type:n.type,coordinates:o(n.coordinates)};break;case\"MultiPolygon\":t={type:\"MultiPolygon\",coordinates:n.coordinates.map(o)};break;default:return n}return null!=n.bbox&&(t.bbox=n.bbox),t}function u(n){var t={type:\"Feature\",properties:n.properties,geometry:i(n.geometry)};return null!=n.id&&(t.id=n.id),null!=n.bbox&&(t.bbox=n.bbox),t}if(null!=n)switch(n.type){case\"Feature\":return u(n);case\"FeatureCollection\":var a={type:\"FeatureCollection\",features:n.features.map(u)};return null!=n.bbox&&(a.bbox=n.bbox),a;default:return i(n)}return n};function Fo(n){var t=g(n);function r(r,e){var o=t?y(r*t/2)/t:r/2;if(!e)return[2*o,-n];var u=2*i(o*g(e)),c=1/y(e);return[g(u)*c,e+(1-a(u))*c-n]}return r.invert=function(r,e){if(o(e+=n)<1e-6)return[t?2*i(t*r/2)/t:r,0];var u,c=r*r+e*e,f=0,s=10;do{var l=y(f),h=1/a(f),p=c-2*e*f+f*f;f-=u=(l*p+2*(f-e))/(2+p*h*h+2*(f-e)*l)}while(o(u)>1e-6&&--s>0);var d=r*(l=y(f)),v=y(o(e)<o(f+1/l)?.5*M(d):.5*T(d)+m/4)/g(f);return[t?2*i(t*v)/t:2*v,f]},r}var Go=function(){return tn(Fo).scale(131.215)},Vo=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function Ho(n,t){var r,e=h(18,36*o(t)/m),i=f(e),u=e-i,a=(r=Vo[i])[0],c=r[1],s=(r=Vo[++i])[0],l=r[1],p=(r=Vo[h(19,++i)])[0],d=r[1];return[n*(s+u*(p-a)/2+u*u*(p-2*s+a)/2),(t>0?b:-b)*(l+u*(d-c)/2+u*u*(d-2*l+c)/2)]}Vo.forEach((function(n){n[1]*=1.0144})),Ho.invert=function(n,t){var r=t/b,e=90*r,i=h(18,o(e/5)),u=l(0,f(i));do{var a=Vo[u][1],c=Vo[u+1][1],s=Vo[h(19,u+2)][1],p=s-a,d=s-2*c+a,v=2*(o(r)-c)/p,g=d/p,y=v*(1-g*v*(1-2*g*v));if(y>=0||1===u){e=(t>=0?5:-5)*(y+i);var m,w=50;do{y=(i=h(18,o(e)/5))-(u=f(i)),a=Vo[u][1],c=Vo[u+1][1],s=Vo[h(19,u+2)][1],e-=(m=(t>=0?b:-b)*(c+y*(s-a)/2+y*y*(s-2*c+a)/2)-t)*O}while(o(m)>1e-12&&--w>0);break}}while(--u>=0);var x=Vo[u][0],_=Vo[u+1][0],E=Vo[h(19,u+2)][0];return[n/(_+y*(E-x)/2+y*y*(E-2*_+x)/2),e*S]};var Uo=function(){return Object(e.a)(Ho).scale(152.63)};function Wo(n,t){var r=function(n){function t(t,r){var e=a(r),o=(n-1)/(n-e*a(t));return[o*e*g(t),o*g(r)]}return t.invert=function(t,r){var e=t*t+r*r,o=k(e),i=(n-k(1-e*(n+1)/(n-1)))/((n-1)/o+o/(n-1));return[u(t*i,o*k(1-i*i)),o?M(r*i/o):0]},t}(n);if(!t)return r;var e=a(t),o=g(t);function i(t,i){var u=r(t,i),a=u[1],c=a*o/(n-1)+e;return[u[0]*e/c,a/c]}return i.invert=function(t,i){var u=(n-1)/(n-1-i*o);return r.invert(u*t,u*i*e)},i}var Yo=function(){var n=2,t=0,r=Object(e.b)(Wo),o=r(n,t);return o.distance=function(e){return arguments.length?r(n=+e,t):n},o.tilt=function(e){return arguments.length?r(n,t=e*S):t*O},o.scale(432.147).clipAngle(T(1/n)*O-1e-6)},$o=1e-4-180,Jo=179.9999;function Xo(n){return n.length>0}function Ko(n){return-90===n||90===n?[0,n]:[-180,(t=n,Math.floor(1e4*t)/1e4)];var t}function Qo(n){var t=n[0],r=n[1],e=!1;return t<=$o?(t=-180,e=!0):t>=Jo&&(t=180,e=!0),r<=1e-4-90?(r=-90,e=!0):r>=89.9999&&(r=90,e=!0),e?[t,r]:n}function Zo(n){return n.map(Qo)}function ni(n,t,r){for(var e=0,o=n.length;e<o;++e){var i=n[e].slice();r.push({index:-1,polygon:t,ring:i});for(var u=0,a=i.length;u<a;++u){var c=i[u],f=c[0],s=c[1];if(f<=$o||f>=Jo||s<=1e-4-90||s>=89.9999){i[u]=Qo(c);for(var l=u+1;l<a;++l){var h=i[l],p=h[0],d=h[1];if(p>$o&&p<Jo&&d>1e-4-90&&d<89.9999)break}if(l===u+1)continue;if(u){var v={index:-1,polygon:t,ring:i.slice(0,u+1)};v.ring[v.ring.length-1]=Ko(s),r[r.length-1]=v}else r.pop();if(l>=a)break;r.push({index:-1,polygon:t,ring:i=i.slice(l-1)}),i[0]=Ko(i[0][1]),u=-1,a=i.length}}}}function ti(n){var t,r,e,o,i,u,a=n.length,c={},f={};for(t=0;t<a;++t)e=(r=n[t]).ring[0],i=r.ring[r.ring.length-1],e[0]!==i[0]||e[1]!==i[1]?(r.index=t,c[e]=f[i]=r):(r.polygon.push(r.ring),n[t]=null);for(t=0;t<a;++t)if(r=n[t]){if(e=r.ring[0],i=r.ring[r.ring.length-1],o=f[e],u=c[i],delete c[e],delete f[i],e[0]===i[0]&&e[1]===i[1]){r.polygon.push(r.ring);continue}o?(delete f[e],delete c[o.ring[0]],o.ring.pop(),n[o.index]=null,r={index:-1,polygon:o.polygon,ring:o.ring.concat(r.ring)},o===u?r.polygon.push(r.ring):(r.index=a++,n.push(c[r.ring[0]]=f[r.ring[r.ring.length-1]]=r))):u?(delete c[i],delete f[u.ring[u.ring.length-1]],r.ring.pop(),r={index:a++,polygon:u.polygon,ring:r.ring.concat(u.ring)},n[u.index]=null,n.push(c[r.ring[0]]=f[r.ring[r.ring.length-1]]=r)):(r.ring.push(r.ring[0]),r.polygon.push(r.ring))}}function ri(n){var t={type:\"Feature\",geometry:ei(n.geometry)};return null!=n.id&&(t.id=n.id),null!=n.bbox&&(t.bbox=n.bbox),null!=n.properties&&(t.properties=n.properties),t}function ei(n){if(null==n)return n;var t,r,e,o;switch(n.type){case\"GeometryCollection\":t={type:\"GeometryCollection\",geometries:n.geometries.map(ei)};break;case\"Point\":t={type:\"Point\",coordinates:Qo(n.coordinates)};break;case\"MultiPoint\":case\"LineString\":t={type:n.type,coordinates:Zo(n.coordinates)};break;case\"MultiLineString\":t={type:\"MultiLineString\",coordinates:n.coordinates.map(Zo)};break;case\"Polygon\":var i=[];ni(n.coordinates,i,r=[]),ti(r),t={type:\"Polygon\",coordinates:i};break;case\"MultiPolygon\":r=[],e=-1,o=n.coordinates.length;for(var u=new Array(o);++e<o;)ni(n.coordinates[e],u[e]=[],r);ti(r),t={type:\"MultiPolygon\",coordinates:u.filter(Xo)};break;default:return n}return null!=n.bbox&&(t.bbox=n.bbox),t}var oi=function(n){if(null==n)return n;switch(n.type){case\"Feature\":return ri(n);case\"FeatureCollection\":var t={type:\"FeatureCollection\",features:n.features.map(ri)};return null!=n.bbox&&(t.bbox=n.bbox),t;default:return ei(n)}};function ii(n,t){var r=y(t/2),e=g(w*r);return[n*(.74482-.34588*e*e),1.70711*r]}ii.invert=function(n,t){var r=t/1.70711,e=g(w*r);return[n/(.74482-.34588*e*e),2*i(r)]};var ui=function(){return Object(e.a)(ii).scale(146.153)},ai=function(n,t,r){var o=uo(t,r),i=o(.5),u=Object(Fn.a)([-i[0],-i[1]])(t),a=o.distance/2,c=-M(g(u[1]*S)/g(a)),f=[-i[0],-i[1],-(u[0]>0?m-c:c)*O],s=Object(e.a)(n(a)).rotate(f),l=Object(Fn.a)(f),h=s.center;return delete s.rotate,s.center=function(n){return arguments.length?h(l(n)):l.invert(h())},s.clipAngle(90)};function ci(n){var t=a(n);function r(n,r){var e=vo(n,r);return e[0]*=t,e}return r.invert=function(n,r){return vo.invert(n/t,r)},r}function fi(){return si([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function si(n,t){return ai(ci,n,t)}function li(n){if(!(n*=2))return W;var t=-n/2,r=-t,e=n*n,o=y(r),i=.5/g(r);function c(o,i){var u=T(a(i)*a(o-t)),c=T(a(i)*a(o-r));return[((u*=u)-(c*=c))/(2*n),(i<0?-1:1)*k(4*e*c-(e-u+c)*(e-u+c))/(2*n)]}return c.invert=function(n,e){var c,f,s=e*e,l=a(k(s+(c=n+t)*c)),h=a(k(s+(c=n+r)*c));return[u(f=l-h,c=(l+h)*o),(e<0?-1:1)*T(k(c*c+f*f)*i)]},c}function hi(){return pi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function pi(n,t){return ai(li,n,t)}function di(n,t){if(o(t)<1e-6)return[n,0];var r=o(t/b),e=M(r);if(o(n)<1e-6||o(o(t)-b)<1e-6)return[0,v(t)*m*y(e/2)];var i=a(e),u=o(m/n-n/m)/2,c=u*u,f=i/(r+i-1),s=f*(2/r-1),l=s*s,h=l+c,p=f-l,d=c+f;return[v(n)*m*(u*p+k(c*p*p-h*(f*f-l)))/h,v(t)*m*(s*d-u*k((c+1)*h-d*d))/h]}di.invert=function(n,t){if(o(t)<1e-6)return[n,0];if(o(n)<1e-6)return[0,b*g(2*i(t/m))];var r=(n/=m)*n,e=(t/=m)*t,u=r+e,c=u*u,f=-o(t)*(1+u),s=f-2*e+r,l=-2*f+1+2*e+c,h=e/l+(2*s*s*s/(l*l*l)-9*f*s/(l*l))/27,p=(f-s*s/(3*l))/l,d=2*k(-p/3),y=T(3*h/(p*d))/3;return[m*(u-1+k(1+2*(r-e)+c))/(2*n),v(t)*m*(-d*a(y+m/3)-s/(3*l))]};var vi=function(){return Object(e.a)(di).scale(79.4183)};function gi(n,t){if(o(t)<1e-6)return[n,0];var r=o(t/b),e=M(r);if(o(n)<1e-6||o(o(t)-b)<1e-6)return[0,v(t)*m*y(e/2)];var i=a(e),u=o(m/n-n/m)/2,c=u*u,f=i*(k(1+c)-u*i)/(1+c*r*r);return[v(n)*m*f,v(t)*m*k(1-f*(2*u+f))]}gi.invert=function(n,t){if(!n)return[0,b*g(2*i(t/m))];var r=o(n/m),e=(1-r*r-(t/=m)*t)/(2*r),a=k(e*e+1);return[v(n)*m*(a-e),v(t)*b*g(2*u(k((1-2*e*r)*(e+a)-r),k(a+e+r)))]};var yi=function(){return Object(e.a)(gi).scale(79.4183)};function mi(n,t){if(o(t)<1e-6)return[n,0];var r=t/b,e=M(r);if(o(n)<1e-6||o(o(t)-b)<1e-6)return[0,m*y(e/2)];var i=(m/n-n/m)/2,u=r/(1+a(e));return[m*(v(n)*k(i*i+1-u*u)-i),m*u]}mi.invert=function(n,t){if(!t)return[n,0];var r=t/m,e=(m*m*(1-r*r)-n*n)/(2*m*n);return[n?m*(v(n)*k(e*e+1)-e):0,b*g(2*i(r))]};var bi=function(){return Object(e.a)(mi).scale(79.4183)};function wi(n,t){if(!t)return[n,0];var r=o(t);if(!n||r===b)return[0,t];var e=r/b,i=e*e,u=(8*e-i*(i+2)-5)/(2*i*(e-1)),a=u*u,c=e*u,f=i+a+2*c,s=e+3*u,l=n/b,h=l+1/l,p=v(o(n)-b)*k(h*h-4),d=p*p,g=(p*(f+a-1)+2*k(f*(i+a*d-1)+(1-i)*(i*(s*s+4*a)+12*c*a+4*a*a)))/(4*f+d);return[v(n)*b*g,v(t)*b*k(1+p*o(g)-g*g)]}wi.invert=function(n,t){var r;if(!n||!t)return[n,t];t/=m;var e=v(n)*n/b,i=(e*e-1+4*t*t)/o(e),u=i*i,a=2*t,c=50;do{var f=a*a,s=(8*a-f*(f+2)-5)/(2*f*(a-1)),l=(3*a-f*a-10)/(2*f*a),h=s*s,p=a*s,d=a+s,g=d*d,y=a+3*s,w=-2*d*(4*p*h+(1-4*f+3*f*f)*(1+l)+h*(14*f-6-u+(8*f-8-2*u)*l)+p*(12*f-8+(10*f-10-u)*l)),x=k(g*(f+h*u-1)+(1-f)*(f*(y*y+4*h)+h*(12*p+4*h)));a-=r=(i*(g+h-1)+2*x-e*(4*g+u))/(i*(2*s*l+2*d*(1+l))+w/x-8*d*(i*(-1+h+g)+2*x)*(1+l)/(u+4*g))}while(r>1e-6&&--c>0);return[v(n)*(k(i*i+4)+i)*m/4,b*a]};var xi=function(){return Object(e.a)(wi).scale(127.16)},_i=4*m+3*k(3),Ei=2*k(2*m*k(3)/_i),ji=X(Ei*k(3)/m,Ei,_i/6),Oi=function(){return Object(e.a)(ji).scale(176.84)};function Si(n,t){return[n*k(1-3*t*t/(m*m)),t]}Si.invert=function(n,t){return[n/k(1-3*t*t/(m*m)),t]};var Mi=function(){return Object(e.a)(Si).scale(152.63)};function Ti(n,t){var r=.90631*g(t),e=k(1-r*r),o=k(2/(1+e*a(n/=3)));return[2.66723*e*o*g(n),1.24104*r*o]}Ti.invert=function(n,t){var r=n/2.66723,e=t/1.24104,o=k(r*r+e*e),i=2*M(o/2);return[3*u(n*y(i),2.66723*o),o&&M(t*g(i)/(1.24104*.90631*o))]};var ki=function(){return Object(e.a)(Ti).scale(172.632)};function Pi(n,t){var r=a(t),e=a(n)*r,o=1-e,i=a(n=u(g(n)*r,-g(t))),c=g(n);return[c*(r=k(1-e*e))-i*o,-i*r-c*o]}Pi.invert=function(n,t){var r=(n*n+t*t)/-2,e=k(-r*(2+r)),o=t*r+n*e,i=n*r-t*e,a=k(i*i+o*o);return[u(e*o,a*(1+r)),a?-M(e*i/a):0]};var Ci=function(){return Object(e.a)(Pi).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)};function Ai(n,t){var r=R(n,t);return[(r[0]+n/b)/2,(r[1]+t)/2]}Ai.invert=function(n,t){var r=n,e=t,i=25;do{var u,c=a(e),f=g(e),s=g(2*e),l=f*f,h=c*c,p=g(r),d=a(r/2),v=g(r/2),y=v*v,m=1-h*d*d,w=m?T(c*d)*k(u=1/m):u=0,x=.5*(2*w*c*v+r/b)-n,_=.5*(w*f+e)-t,E=.5*u*(h*y+w*c*d*l)+.5/b,j=u*(p*s/4-w*f*v),O=.125*u*(s*v-w*f*h*p),S=.5*u*(l*d+w*y*c)+.5,M=j*O-S*E,P=(_*j-x*S)/M,C=(x*O-_*E)/M;r-=P,e-=C}while((o(P)>1e-6||o(C)>1e-6)&&--i>0);return[r,e]};var Ni=function(){return Object(e.a)(Ai).scale(158.837)};r.d(t,\"geoAiry\",(function(){return N})),r.d(t,\"geoAiryRaw\",(function(){return A})),r.d(t,\"geoAitoff\",(function(){return I})),r.d(t,\"geoAitoffRaw\",(function(){return R})),r.d(t,\"geoArmadillo\",(function(){return L})),r.d(t,\"geoArmadilloRaw\",(function(){return D})),r.d(t,\"geoAugust\",(function(){return B})),r.d(t,\"geoAugustRaw\",(function(){return q})),r.d(t,\"geoBaker\",(function(){return V})),r.d(t,\"geoBakerRaw\",(function(){return G})),r.d(t,\"geoBerghaus\",(function(){return $})),r.d(t,\"geoBerghausRaw\",(function(){return Y})),r.d(t,\"geoBoggs\",(function(){return nn})),r.d(t,\"geoBoggsRaw\",(function(){return Z})),r.d(t,\"geoBonne\",(function(){return un})),r.d(t,\"geoBonneRaw\",(function(){return on})),r.d(t,\"geoBottomley\",(function(){return jn})),r.d(t,\"geoBottomleyRaw\",(function(){return an})),r.d(t,\"geoBromley\",(function(){return Sn})),r.d(t,\"geoBromleyRaw\",(function(){return On})),r.d(t,\"geoChamberlin\",(function(){return $n})),r.d(t,\"geoChamberlinRaw\",(function(){return Un})),r.d(t,\"geoChamberlinAfrica\",(function(){return Yn})),r.d(t,\"geoCollignon\",(function(){return Xn})),r.d(t,\"geoCollignonRaw\",(function(){return Jn})),r.d(t,\"geoCraig\",(function(){return Qn})),r.d(t,\"geoCraigRaw\",(function(){return Kn})),r.d(t,\"geoCraster\",(function(){return tt})),r.d(t,\"geoCrasterRaw\",(function(){return nt})),r.d(t,\"geoCylindricalEqualArea\",(function(){return et})),r.d(t,\"geoCylindricalEqualAreaRaw\",(function(){return rt})),r.d(t,\"geoCylindricalStereographic\",(function(){return it})),r.d(t,\"geoCylindricalStereographicRaw\",(function(){return ot})),r.d(t,\"geoEckert1\",(function(){return at})),r.d(t,\"geoEckert1Raw\",(function(){return ut})),r.d(t,\"geoEckert2\",(function(){return ft})),r.d(t,\"geoEckert2Raw\",(function(){return ct})),r.d(t,\"geoEckert3\",(function(){return lt})),r.d(t,\"geoEckert3Raw\",(function(){return st})),r.d(t,\"geoEckert4\",(function(){return pt})),r.d(t,\"geoEckert4Raw\",(function(){return ht})),r.d(t,\"geoEckert5\",(function(){return vt})),r.d(t,\"geoEckert5Raw\",(function(){return dt})),r.d(t,\"geoEckert6\",(function(){return yt})),r.d(t,\"geoEckert6Raw\",(function(){return gt})),r.d(t,\"geoEisenlohr\",(function(){return wt})),r.d(t,\"geoEisenlohrRaw\",(function(){return bt})),r.d(t,\"geoFahey\",(function(){return Et})),r.d(t,\"geoFaheyRaw\",(function(){return _t})),r.d(t,\"geoFoucaut\",(function(){return Ot})),r.d(t,\"geoFoucautRaw\",(function(){return jt})),r.d(t,\"geoGilbert\",(function(){return Ct})),r.d(t,\"geoGingery\",(function(){return It})),r.d(t,\"geoGingeryRaw\",(function(){return At})),r.d(t,\"geoGinzburg4\",(function(){return qt})),r.d(t,\"geoGinzburg4Raw\",(function(){return Lt})),r.d(t,\"geoGinzburg5\",(function(){return zt})),r.d(t,\"geoGinzburg5Raw\",(function(){return Bt})),r.d(t,\"geoGinzburg6\",(function(){return Gt})),r.d(t,\"geoGinzburg6Raw\",(function(){return Ft})),r.d(t,\"geoGinzburg8\",(function(){return Ht})),r.d(t,\"geoGinzburg8Raw\",(function(){return Vt})),r.d(t,\"geoGinzburg9\",(function(){return Wt})),r.d(t,\"geoGinzburg9Raw\",(function(){return Ut})),r.d(t,\"geoGringorten\",(function(){return Jt})),r.d(t,\"geoGringortenRaw\",(function(){return $t})),r.d(t,\"geoGuyou\",(function(){return Zt})),r.d(t,\"geoGuyouRaw\",(function(){return Qt})),r.d(t,\"geoHammer\",(function(){return er})),r.d(t,\"geoHammerRaw\",(function(){return tr})),r.d(t,\"geoHammerRetroazimuthal\",(function(){return ar})),r.d(t,\"geoHammerRetroazimuthalRaw\",(function(){return ir})),r.d(t,\"geoHealpix\",(function(){return lr})),r.d(t,\"geoHealpixRaw\",(function(){return sr})),r.d(t,\"geoHill\",(function(){return pr})),r.d(t,\"geoHillRaw\",(function(){return hr})),r.d(t,\"geoHomolosine\",(function(){return yr})),r.d(t,\"geoHomolosineRaw\",(function(){return gr})),r.d(t,\"geoInterrupt\",(function(){return wr})),r.d(t,\"geoInterruptedBoggs\",(function(){return _r})),r.d(t,\"geoInterruptedHomolosine\",(function(){return jr})),r.d(t,\"geoInterruptedMollweide\",(function(){return Sr})),r.d(t,\"geoInterruptedMollweideHemispheres\",(function(){return Tr})),r.d(t,\"geoInterruptedSinuMollweide\",(function(){return Pr})),r.d(t,\"geoInterruptedSinusoidal\",(function(){return Ar})),r.d(t,\"geoKavrayskiy7\",(function(){return Rr})),r.d(t,\"geoKavrayskiy7Raw\",(function(){return Nr})),r.d(t,\"geoLagrange\",(function(){return Dr})),r.d(t,\"geoLagrangeRaw\",(function(){return Ir})),r.d(t,\"geoLarrivee\",(function(){return Br})),r.d(t,\"geoLarriveeRaw\",(function(){return qr})),r.d(t,\"geoLaskowski\",(function(){return Fr})),r.d(t,\"geoLaskowskiRaw\",(function(){return zr})),r.d(t,\"geoLittrow\",(function(){return Vr})),r.d(t,\"geoLittrowRaw\",(function(){return Gr})),r.d(t,\"geoLoximuthal\",(function(){return Ur})),r.d(t,\"geoLoximuthalRaw\",(function(){return Hr})),r.d(t,\"geoMiller\",(function(){return Yr})),r.d(t,\"geoMillerRaw\",(function(){return Wr})),r.d(t,\"geoModifiedStereographic\",(function(){return ie})),r.d(t,\"geoModifiedStereographicRaw\",(function(){return $r})),r.d(t,\"geoModifiedStereographicAlaska\",(function(){return ne})),r.d(t,\"geoModifiedStereographicGs48\",(function(){return te})),r.d(t,\"geoModifiedStereographicGs50\",(function(){return re})),r.d(t,\"geoModifiedStereographicMiller\",(function(){return ee})),r.d(t,\"geoModifiedStereographicLee\",(function(){return oe})),r.d(t,\"geoMollweide\",(function(){return Q})),r.d(t,\"geoMollweideRaw\",(function(){return K})),r.d(t,\"geoMtFlatPolarParabolic\",(function(){return fe})),r.d(t,\"geoMtFlatPolarParabolicRaw\",(function(){return ce})),r.d(t,\"geoMtFlatPolarQuartic\",(function(){return le})),r.d(t,\"geoMtFlatPolarQuarticRaw\",(function(){return se})),r.d(t,\"geoMtFlatPolarSinusoidal\",(function(){return pe})),r.d(t,\"geoMtFlatPolarSinusoidalRaw\",(function(){return he})),r.d(t,\"geoNaturalEarth\",(function(){return ve})),r.d(t,\"geoNaturalEarthRaw\",(function(){return de})),r.d(t,\"geoNaturalEarth2\",(function(){return ye})),r.d(t,\"geoNaturalEarth2Raw\",(function(){return ge})),r.d(t,\"geoNellHammer\",(function(){return be})),r.d(t,\"geoNellHammerRaw\",(function(){return me})),r.d(t,\"geoPatterson\",(function(){return xe})),r.d(t,\"geoPattersonRaw\",(function(){return we})),r.d(t,\"geoPolyconic\",(function(){return Te})),r.d(t,\"geoPolyconicRaw\",(function(){return _e})),r.d(t,\"geoPolyhedral\",(function(){return lo})),r.d(t,\"geoPolyhedralButterfly\",(function(){return bo})),r.d(t,\"geoPolyhedralCollignon\",(function(){return _o})),r.d(t,\"geoPolyhedralWaterman\",(function(){return Eo})),r.d(t,\"geoProject\",(function(){return To})),r.d(t,\"geoGringortenQuincuncial\",(function(){return qo})),r.d(t,\"geoPeirceQuincuncial\",(function(){return Bo})),r.d(t,\"geoPierceQuincuncial\",(function(){return Bo})),r.d(t,\"geoQuantize\",(function(){return zo})),r.d(t,\"geoQuincuncial\",(function(){return Lo})),r.d(t,\"geoRectangularPolyconic\",(function(){return Go})),r.d(t,\"geoRectangularPolyconicRaw\",(function(){return Fo})),r.d(t,\"geoRobinson\",(function(){return Uo})),r.d(t,\"geoRobinsonRaw\",(function(){return Ho})),r.d(t,\"geoSatellite\",(function(){return Yo})),r.d(t,\"geoSatelliteRaw\",(function(){return Wo})),r.d(t,\"geoSinuMollweide\",(function(){return vr})),r.d(t,\"geoSinuMollweideRaw\",(function(){return dr})),r.d(t,\"geoSinusoidal\",(function(){return en})),r.d(t,\"geoSinusoidalRaw\",(function(){return rn})),r.d(t,\"geoStitch\",(function(){return oi})),r.d(t,\"geoTimes\",(function(){return ui})),r.d(t,\"geoTimesRaw\",(function(){return ii})),r.d(t,\"geoTwoPointAzimuthal\",(function(){return si})),r.d(t,\"geoTwoPointAzimuthalRaw\",(function(){return ci})),r.d(t,\"geoTwoPointAzimuthalUsa\",(function(){return fi})),r.d(t,\"geoTwoPointEquidistant\",(function(){return pi})),r.d(t,\"geoTwoPointEquidistantRaw\",(function(){return li})),r.d(t,\"geoTwoPointEquidistantUsa\",(function(){return hi})),r.d(t,\"geoVanDerGrinten\",(function(){return vi})),r.d(t,\"geoVanDerGrintenRaw\",(function(){return di})),r.d(t,\"geoVanDerGrinten2\",(function(){return yi})),r.d(t,\"geoVanDerGrinten2Raw\",(function(){return gi})),r.d(t,\"geoVanDerGrinten3\",(function(){return bi})),r.d(t,\"geoVanDerGrinten3Raw\",(function(){return mi})),r.d(t,\"geoVanDerGrinten4\",(function(){return xi})),r.d(t,\"geoVanDerGrinten4Raw\",(function(){return wi})),r.d(t,\"geoWagner4\",(function(){return Oi})),r.d(t,\"geoWagner4Raw\",(function(){return ji})),r.d(t,\"geoWagner6\",(function(){return Mi})),r.d(t,\"geoWagner6Raw\",(function(){return Si})),r.d(t,\"geoWagner7\",(function(){return ki})),r.d(t,\"geoWagner7Raw\",(function(){return Ti})),r.d(t,\"geoWiechel\",(function(){return Ci})),r.d(t,\"geoWiechelRaw\",(function(){return Pi})),r.d(t,\"geoWinkel3\",(function(){return Ni})),r.d(t,\"geoWinkel3Raw\",(function(){return Ai}))},function(n,t,r){\"use strict\";r.d(t,\"b\",(function(){return o}));var e=r(10);function o(n,t){return[n,t]}o.invert=o,t.a=function(){return Object(e.a)(o).scale(152.63)}},function(n,t,r){\"use strict\";var e=r(5),o=function(n){return function(){return n}},i=r(0),u=r(37);function a(n,t,r,o,u,a){if(r){var f=Object(i.f)(t),s=Object(i.s)(t),l=o*r;null==u?(u=t+o*i.v,a=t-l/2):(u=c(f,u),a=c(f,a),(o>0?u<a:u>a)&&(u+=o*i.v));for(var h,p=u;o>0?p>a:p<a;p-=l)h=Object(e.g)([f,-s*Object(i.f)(p),-s*Object(i.s)(p)]),n.point(h[0],h[1])}}function c(n,t){(t=Object(e.a)(t))[0]-=n,Object(e.e)(t);var r=Object(i.b)(-t[1]);return((-t[2]<0?-r:r)+i.v-i.h)%i.v}r.d(t,\"a\",(function(){return a}));t.b=function(){var n,t,r=o([0,0]),e=o(90),c=o(6),f={point:function(r,e){n.push(r=t(r,e)),r[0]*=i.g,r[1]*=i.g}};function s(){var o=r.apply(this,arguments),s=e.apply(this,arguments)*i.q,l=c.apply(this,arguments)*i.q;return n=[],t=Object(u.b)(-o[0]*i.q,-o[1]*i.q,0).invert,a(f,s,l,1),o={type:\"Polygon\",coordinates:[n]},n=t=null,o}return s.center=function(n){return arguments.length?(r=\"function\"==typeof n?n:o([+n[0],+n[1]]),s):r},s.radius=function(n){return arguments.length?(e=\"function\"==typeof n?n:o(+n),s):e},s.precision=function(n){return arguments.length?(c=\"function\"==typeof n?n:o(+n),s):c},s}},function(n,t,r){\"use strict\";r(149),r(150),r(151),r(153),r(154),r(155),r(156),r(90),r(160),r(161),r(163),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(171),r(172),r(173),r(174),r(175),r(176),r(177),r(178),r(179),r(180),r(181),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(192),r(369),r(370),r(371),r(372),r(373),r(374),r(375),r(376),r(377),r(378),r(379),r(381),r(382),r(383);var e=r(2);n.exports=e.DataSet},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(44),u=r(145),a=r(38),c=e.__importDefault(r(87)),f={geoArea:function(n){return i.geoArea(n)},geoAreaByName:function(n){return i.geoArea(this.geoFeatureByName(n))},geoCentroid:function(n){return i.geoCentroid(n)},geoCentroidByName:function(n){return i.geoCentroid(this.geoFeatureByName(n))},geoDistance:function(n,t){return i.geoDistance(n,t)},geoLength:function(n){return i.geoLength(n)},geoLengthByName:function(n){return i.geoLength(this.geoFeatureByName(n))},geoContains:function(n,t){return i.geoContains(n,t)},geoFeatureByName:function(n){var t;return this.rows.some((function(r){return r.name===n&&(t=r,!0)})),t},geoFeatureByPosition:function(n){var t;return this.rows.some((function(r){return!!i.geoContains(r,n)&&(t=r,!0)})),t},geoNameByPosition:function(n){var t=this.geoFeatureByPosition(n);if(t)return t.name},getGeoProjection:c.default,geoProject:function(n,t,r){return t=c.default(t,r),u.geoProject(n,t)},geoProjectByName:function(n,t,r){return t=c.default(t,r),u.geoProject(this.geoFeatureByName(n),t)},geoProjectPosition:function(n,t,r){return c.default(t,r)(n)},geoProjectInvert:function(n,t,r){return c.default(t,r).invert(n)}};o.assign(a.View.prototype,f)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(38);e.assign(o.View.prototype,{getAllNodes:function(){var n=[],t=this.root;return t&&t.each?t.each((function(t){n.push(t)})):t&&t.eachNode&&t.eachNode((function(t){n.push(t)})),n},getAllLinks:function(){for(var n,t=[],r=[this.root];n=r.pop();){var e=n.children;e&&e.forEach((function(e){t.push({source:n,target:e}),r.push(e)}))}return t}}),e.assign(o.View.prototype,{getAllEdges:o.View.prototype.getAllLinks})},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(17)),u=r(38);o.assign(u.View.prototype,{partition:function(n,t){return void 0===t&&(t=[]),i.default(this.rows,n,t)},group:function(n,t){void 0===t&&(t=[]);var r=this.partition(n,t);return o.values(r)},groups:function(n,t){return void 0===t&&(t=[]),this.group(n,t)}})},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3);t.default=function(n,t){void 0===t&&(t=[]);var r=void 0;return e.isFunction(t)?r=t:e.isArray(t)?r=function(n,r){for(var e=0;e<t.length;e++){var o=t[e];if(n[o]<r[o])return-1;if(n[o]>r[o])return 1}return 0}:e.isString(t)&&(r=function(n,r){return n[t]<r[t]?-1:n[t]>r[t]?1:0}),n.sort(r)}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=e.__importStar(r(21)),i=r(3),u=r(38),a=e.__importDefault(r(88));function c(n,t){var r=n.getColumn(t);return i.isArray(r)&&i.isArray(r[0])&&(r=i.flattenDeep(r)),r}e.__importDefault(r(89)).default.STATISTICS_METHODS.forEach((function(n){u.View.prototype[n]=function(t){return o[n](c(this,t))}}));var f=o.quantile;i.assign(u.View.prototype,{average:u.View.prototype.mean,quantile:function(n,t){return f(c(this,n),t)},quantiles:function(n,t){var r=c(this,n);return t.map((function(n){return f(r,n)}))},quantilesByFraction:function(n,t){return this.quantiles(n,a.default(t))},range:function(n){return[this.min(n),this.max(n)]},extent:function(n){return this.range(n)}})},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3);r(2).DataSet.registerConnector(\"default\",(function(n,t){var r;if(!(r=e.isString(n)?t.getView(n):n))throw new TypeError(\"Invalid dataView\");return e.deepMix([],r.rows)}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(388),i=r(2);i.DataSet.registerConnector(\"dsv\",(function(n,t){void 0===t&&(t={});var r=t.delimiter||\",\";if(!e.isString(r))throw new TypeError(\"Invalid delimiter: must be a string!\");return o.dsvFormat(r).parse(n)})),i.DataSet.registerConnector(\"csv\",(function(n){return o.csvParse(n)})),i.DataSet.registerConnector(\"tsv\",(function(n){return o.tsvParse(n)}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(44),o=r(2);function i(n,t){t.dataType=\"geo-graticule\";var r=e.geoGraticule().lines();return r.map((function(n,t){return n.index=\"\"+t,n})),t.rows=r,r}t.default=i,o.DataSet.registerConnector(\"geo-graticule\",i)},function(n,t){n.exports=function(n){var t=[];return n.replace(e,(function(n,e,i){var u=e.toLowerCase();for(i=function(n){var t=n.match(o);return t?t.map(Number):[]}(i),\"m\"==u&&i.length>2&&(t.push([e].concat(i.splice(0,2))),u=\"l\",e=\"m\"==e?\"l\":\"L\");;){if(i.length==r[u])return i.unshift(e),t.push(i);if(i.length<r[u])throw new Error(\"malformed path data\");t.push([e].concat(i.splice(0,r[u])))}})),t};var r={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},e=/([astvzqmhlc])([^astvzqmhlc]*)/gi;var o=/-?[0-9]*\\.?[0-9]+(?:e[-+]?\\d+)?/gi},function(n,t){n.exports=Array.isArray||function(n){return\"[object Array]\"==Object.prototype.toString.call(n)}},function(n,t){n.exports=function(n){var t=0,r=0,e=0,o=0;return n.map((function(n){var i=(n=n.slice())[0],u=i.toUpperCase();if(i!=u)switch(n[0]=u,i){case\"a\":n[6]+=e,n[7]+=o;break;case\"v\":n[1]+=o;break;case\"h\":n[1]+=e;break;default:for(var a=1;a<n.length;)n[a++]+=e,n[a++]+=o}switch(u){case\"Z\":e=t,o=r;break;case\"H\":e=n[1];break;case\"V\":o=n[1];break;case\"M\":e=t=n[1],o=r=n[2];break;default:e=n[n.length-2],o=n[n.length-1]}return n}))}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(2),i={nodes:function(n){return n.nodes},edges:function(n){return n.edges}};function u(n,t,r){t=e.assign({},i,t),r.dataType=o.DataSet.CONSTANTS.GRAPH;var u=t.nodes,a=t.edges;if(u&&!e.isFunction(u))throw new TypeError(\"Invalid nodes: must be a function!\");if(a&&!e.isFunction(a))throw new TypeError(\"Invalid edges: must be a function!\");return r.rows=r.graph={nodes:u(n),edges:a(n)},e.assign(r,r.graph),r.rows}o.DataSet.registerConnector(\"graph\",u),o.DataSet.registerConnector(\"diagram\",u)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(162),i=r(2),u={width:1,height:1};function a(n){return n.cx=n.x,n.cy=n.y,n.x=[],n.y=[],n.vertices.forEach((function(t){n.x.push(t.x+n.cx),n.y.push(t.y+n.cy)})),n}function c(n,t,r){r.dataType=i.DataSet.CONSTANTS.HEX;var c=(t=e.assign({},u,t)).width,f=t.height,s=e.deepMix([],n);r._HexJSON=s;var l=r._GridHexJSON=o.getGridForHexJSON(s),h=r.rows=o.renderHexJSON(s,c,f).map(a);return r._gridRows=o.renderHexJSON(l,c,f).map(a),h}i.DataSet.registerConnector(\"hex\",c),i.DataSet.registerConnector(\"hexjson\",c),i.DataSet.registerConnector(\"hex-json\",c),i.DataSet.registerConnector(\"HexJSON\",c),t.default=c},function(n,t,r){!function(n,t){\"use strict\";function r(n,t,r,e){var o=0,i=0;switch(t){case\"odd-r\":i=n.rc%2==1?r:r/2,o=n.qc*r+i;break;case\"even-r\":i=n.rc%2==0?r:r/2,o=n.qc*r+i;break;case\"odd-q\":case\"even-q\":o=n.qc*e*1.5+e}return o}function e(n,t,r,e){var o=0,i=0;switch(t){case\"odd-r\":case\"even-r\":o=n.rc*e*1.5+e;break;case\"odd-q\":i=n.qc%2==1?r:r/2,o=n.rc*r+i;break;case\"even-q\":i=n.qc%2==0?r:r/2,o=n.rc*r+i}return o}n.renderHexJSON=function(n,o,i){var u=n.layout,a=[],c=0;Object.keys(n.hexes).forEach((function(t){n.hexes[t].key=t,a.push(n.hexes[t])}));var f=t.max(a,(function(n){return+n.q})),s=t.min(a,(function(n){return+n.q})),l=t.max(a,(function(n){return+n.r})),h=t.min(a,(function(n){return+n.r})),p=f-s+1,d=l-h+1,v=(c=\"odd-r\"===u||\"even-r\"===u?t.min([o/((p+.5)*Math.sqrt(3)),i/(1.5*(d+1/3))]):t.min([i/((d+.5)*Math.sqrt(3)),o/(1.5*(p+1/3))]))*Math.sqrt(3),g=function(n,t,r){var e=[];switch(n){case\"odd-r\":case\"even-r\":e.push({x:0,y:0-r}),e.push({x:0+.5*t,y:0-.5*r}),e.push({x:0+.5*t,y:0+.5*r}),e.push({x:0,y:0+r}),e.push({x:0-.5*t,y:0+.5*r}),e.push({x:0-.5*t,y:0-.5*r});break;case\"odd-q\":case\"even-q\":e.push({x:0-r,y:0}),e.push({x:0-.5*r,y:0-.5*t}),e.push({x:0+.5*r,y:0-.5*t}),e.push({x:0+r,y:0}),e.push({x:0+.5*r,y:0+.5*t}),e.push({x:0-.5*r,y:0+.5*t})}return e}(u,v,c),y=function(n){var t=\"\";return n.forEach((function(n){t+=n.x+\",\"+n.y+\" \"})),t.substring(0,t.length-1)}(g);return a.forEach((function(n){n.qc=n.q-s,n.rc=l-n.r,n.x=r(n,u,v,c),n.y=e(n,u,v,c),n.vertices=g,n.points=y})),a},n.getGridForHexJSON=function(n){var r={};r.layout=n.layout,r.hexes={};var e=[];Object.keys(n.hexes).forEach((function(t){e.push(n.hexes[t])}));var o,i,u,a=t.max(e,(function(n){return+n.q})),c=t.min(e,(function(n){return+n.q})),f=t.max(e,(function(n){return+n.r})),s=t.min(e,(function(n){return+n.r}));for(o=c;o<=a;o++)for(i=s;i<=f;i++)u=\"Q\"+o+\"R\"+i,r.hexes[u]={q:o,r:i};return r},n.getBoundaryDotsForHexJSON=function(n,o,i,u){var a=[];const c=n.layout;Object.keys(n.hexes).forEach((function(t){a.push(n.hexes[t])}));var f,s=t.max(a,(function(n){return+n.q})),l=t.min(a,(function(n){return+n.q})),h=t.max(a,(function(n){return+n.r})),p=t.min(a,(function(n){return+n.r})),d=s-l+1,v=h-p+1,g=(f=\"odd-r\"===c||\"even-r\"===c?t.min([o/((d+.5)*Math.sqrt(3)),i/(1.5*(v+1/3))]):t.min([i/((v+.5)*Math.sqrt(3)),o/(1.5*(d+1/3))]))*Math.sqrt(3),y=[];const m=f*f*4,b=a.length;if(b>1){a.forEach((function(n){n.qc=n.q-l,n.rc=h-n.r,n.x=r(n,c,g,f),n.y=e(n,c,g,f)}));for(var w=0;w<b-1;w++)for(var x=w+1;x<b;x++){var _=a[w],E=a[x];if(_[u]!==E[u]&&Math.abs(_.q-E.q)<=1&&Math.abs(_.r-E.r)<=1&&(_.x-E.x)*(_.x-E.x)+(_.y-E.y)*(_.y-E.y)<m){var j={};j.x=E.x+(_.x-E.x)/2,j.y=E.y+(_.y-E.y)/2;var O={};const n=4*Math.sqrt(3);O.dx=(_.y-E.y)/n,O.dy=-(_.x-E.x)/n,y.push({x:j.x-2*O.dx,y:j.y-2*O.dy}),y.push({x:j.x-O.dx,y:j.y-O.dy}),y.push({x:j.x,y:j.y}),y.push({x:j.x+O.dx,y:j.y+O.dy}),y.push({x:j.x+2*O.dx,y:j.y+2*O.dy})}}}return y},n.getBoundarySegmentsForHexJSON=function(n,o,i,u){var a=[];const c=n.layout;Object.keys(n.hexes).forEach((function(t){a.push(n.hexes[t])}));var f,s=t.max(a,(function(n){return+n.q})),l=t.min(a,(function(n){return+n.q})),h=t.max(a,(function(n){return+n.r})),p=t.min(a,(function(n){return+n.r})),d=s-l+1,v=h-p+1,g=(f=\"odd-r\"===c||\"even-r\"===c?t.min([o/((d+.5)*Math.sqrt(3)),i/(1.5*(v+1/3))]):t.min([i/((v+.5)*Math.sqrt(3)),o/(1.5*(d+1/3))]))*Math.sqrt(3),y=[];const m=f*f*4,b=a.length;if(b>1){a.forEach((function(n){n.qc=n.q-l,n.rc=h-n.r,n.x=r(n,c,g,f),n.y=e(n,c,g,f)}));for(var w=0;w<b-1;w++)for(var x=w+1;x<b;x++){var _=a[w],E=a[x];if(_[u]!==E[u]&&Math.abs(_.q-E.q)<=1&&Math.abs(_.r-E.r)<=1&&(_.x-E.x)*(_.x-E.x)+(_.y-E.y)*(_.y-E.y)<m){var j={};j.x=E.x+(_.x-E.x)/2,j.y=E.y+(_.y-E.y)/2;var O={},S=1;_[u]<E[u]&&(S=-1);const n=2*Math.sqrt(3)*S;O.dx=(_.y-E.y)/n,O.dy=-(_.x-E.x)/n,y.push({x1:j.x-O.dx,y1:j.y-O.dy,x2:j.x+O.dx,y2:j.y+O.dy})}}}return y},Object.defineProperty(n,\"__esModule\",{value:!0})}(t,r(6))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(36),i=r(2);function u(n,t,r){r.dataType=i.DataSet.CONSTANTS.HIERARCHY;var u=t&&t.children?t.children:null;if(u&&!e.isFunction(u))throw new TypeError(\"Invalid children: must be a function!\");return t.pureData?r.rows=r.root=n:r.rows=r.root=o.hierarchy(n,u),n}i.DataSet.registerConnector(\"hierarchy\",u),i.DataSet.registerConnector(\"tree\",u)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(386),u=e.__importDefault(r(90)),a=r(2);function c(n,t,r){var e=t.object;if(!o.isString(e))throw new TypeError(\"Invalid object: must be a string!\");var a=i.feature(n,n.objects[e]);return u.default(a,void 0,r)}a.DataSet.registerConnector(\"topojson\",c),a.DataSet.registerConnector(\"TopoJSON\",c)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),r(2).DataSet.registerTransform(\"default\",(function(n){return n}))},function(n,t,r){\"use strict\";function e(n){return!!n}Object.defineProperty(t,\"__esModule\",{value:!0}),r(2).DataSet.registerTransform(\"filter\",(function(n,t){n.rows=n.rows.filter(t.callback||e)}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(2),i=r(7),u={fields:[],key:\"key\",retains:[],value:\"value\"};o.DataSet.registerTransform(\"fold\",(function(n,t){var r=n.getColumnNames();t=e.assign({},u,t);var o=i.getFields(t);0===o.length&&(console.warn(\"warning: option fields is not specified, will fold all columns.\"),o=r);var a=t.key,c=t.value,f=t.retains;f&&0!==f.length||(f=e.difference(r,o));var s=[];n.rows.forEach((function(n){o.forEach((function(t){var r=e.pick(n,f);r[a]=t,r[c]=n[t],s.push(r)}))})),n.rows=s}))},function(n,t,r){\"use strict\";function e(n){return n}Object.defineProperty(t,\"__esModule\",{value:!0}),r(2).DataSet.registerTransform(\"map\",(function(n,t){n.rows=n.rows.map(t.callback||e)}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(17)),u=r(2),a={groupBy:[],orderBy:[]};function c(n,t){t=o.assign({},a,t),n.rows=o.values(i.default(n.rows,t.groupBy,t.orderBy))}u.DataSet.registerTransform(\"partition\",(function(n,t){t=o.assign({},a,t),n.rows=i.default(n.rows,t.groupBy,t.orderBy)})),u.DataSet.registerTransform(\"group\",c),u.DataSet.registerTransform(\"groups\",c)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(21),u=e.__importDefault(r(17)),a=r(2),c=r(7),f={groupBy:[],as:\"_percent\"};a.DataSet.registerTransform(\"percent\",(function(n,t){t=o.assign({},f,t);var r=c.getField(t),e=t.dimension,a=t.groupBy,s=t.as;if(!o.isString(e))throw new TypeError(\"Invalid dimension: must be a string!\");if(o.isArray(s)&&(console.warn(\"Invalid as: must be a string, will use the first element of the array specified.\"),s=s[0]),!o.isString(s))throw new TypeError(\"Invalid as: must be a string!\");var l=n.rows,h=[],p=u.default(l,a);o.forIn(p,(function(n){var t=i.sum(n.map((function(n){return n[r]})));0===t&&console.warn(\"Invalid data: total sum of field \"+r+\" is 0!\");var a=u.default(n,[e]);o.forIn(a,(function(n){var o=i.sum(n.map((function(n){return n[r]}))),u=n[0],a=u[e];u[r]=o,u[e]=a,u[s]=0===t?0:o/t,h.push(u)}))})),n.rows=h}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(2),i=r(7);o.DataSet.registerTransform(\"pick\",(function(n,t){var r=i.getFields(t,n.getColumnNames());n.rows=n.rows.map((function(n){return e.pick(n,r)}))}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(17)),u=r(2),a=r(7),c={groupBy:[],as:\"_proportion\"};u.DataSet.registerTransform(\"proportion\",(function(n,t){t=o.assign({},c,t);var r=a.getField(t),e=t.dimension,u=t.groupBy,f=t.as;if(!o.isString(e))throw new TypeError(\"Invalid dimension: must be a string!\");if(o.isArray(f)&&(console.warn(\"Invalid as: must be a string, will use the first element of the array specified.\"),f=f[0]),!o.isString(f))throw new TypeError(\"Invalid as: must be a string!\");var s=n.rows,l=[],h=i.default(s,u);o.forIn(h,(function(n){var t=n.length,u=i.default(n,[e]);o.forIn(u,(function(n){var o=n.length,i=n[0],u=i[e];i[r]=o,i[e]=u,i[f]=o/t,l.push(i)}))})),n.rows=l}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(2);function i(n,t){var r=t.map||{},o={};e.isPlainObject(r)&&e.forIn(r,(function(n,t){e.isString(n)&&e.isString(t)&&(o[t]=n)})),n.rows.forEach((function(n){e.forIn(o,(function(t,r){var e=n[r];delete n[r],n[t]=e}))}))}o.DataSet.registerTransform(\"rename\",i),o.DataSet.registerTransform(\"rename-fields\",i)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),r(2).DataSet.registerTransform(\"reverse\",(function(n){n.rows.reverse()}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),r(2).DataSet.registerTransform(\"sort\",(function(n,t){var r=n.getColumnName(0);n.rows.sort(t.callback||function(n,t){return n[r]-t[r]})}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(2),i=r(7),u=[\"ASC\",\"DESC\"];function a(n,t){var r=i.getFields(t,[n.getColumnName(0)]);if(!e.isArray(r))throw new TypeError(\"Invalid fields: must be an array with strings!\");n.rows=e.sortBy(n.rows,r);var o=t.order;if(o&&-1===u.indexOf(o))throw new TypeError(\"Invalid order: \"+o+\" must be one of \"+u.join(\", \"));\"DESC\"===o&&n.rows.reverse()}o.DataSet.registerTransform(\"sort-by\",a),o.DataSet.registerTransform(\"sortBy\",a)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(2),o=r(7);e.DataSet.registerTransform(\"subset\",(function(n,t){var r=t.startRowIndex||0,e=t.endRowIndex||n.rows.length-1,i=o.getFields(t,n.getColumnNames());n.rows=n.getSubset(r,e,i)}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(17)),u=r(2),a={fillBy:\"group\",groupBy:[],orderBy:[]};function c(n,t){var r=n.map((function(n){return n}));return t.forEach((function(n){var t=r.indexOf(n);t>-1&&r.splice(t,1)})),r}function f(n,t){t=o.assign({},a,t);var r=n.rows,e=t.groupBy,u=t.orderBy,f=i.default(r,e,u),s=0,l=[];o.forIn(f,(function(n){n.length>s&&(s=n.length,l=n)}));var h=[],p={};if(l.forEach((function(n){var t=u.map((function(t){return n[t]})).join(\"-\");h.push(t),p[t]=n})),\"order\"===t.fillBy){var d=l[0],v=[],g={};r.forEach((function(n){var t=u.map((function(t){return n[t]})).join(\"-\");-1===v.indexOf(t)&&(v.push(t),g[t]=n)})),c(v,h).forEach((function(n){var t={};e.forEach((function(n){t[n]=d[n]})),u.forEach((function(r){t[r]=g[n][r]})),r.push(t),l.push(t),h.push(n),p[n]=t})),s=l.length}o.forIn(f,(function(n){if(n!==l&&n.length<s){var t=n[0],o=[];n.forEach((function(n){o.push(u.map((function(t){return n[t]})).join(\"-\"))})),c(h,o).some((function(o,i){if(i>=s-n.length)return!0;var a=p[o],c={};return e.forEach((function(n){c[n]=t[n]})),u.forEach((function(n){c[n]=a[n]})),r.push(c),!1}))}}))}u.DataSet.registerTransform(\"fill-rows\",f),u.DataSet.registerTransform(\"fillRows\",f)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importStar(r(21)),u=e.__importDefault(r(17)),a=r(2),c=r(7),f={groupBy:[]};function s(n){return n.filter((function(n){return!o.isUndefined(n)}))}var l=[\"mean\",\"median\",\"max\",\"min\"],h={};l.forEach((function(n){h[n]=function(t,r){return i[n](r)}})),h.value=function(n,t,r){return r},a.DataSet.registerTransform(\"impute\",(function(n,t){t=o.assign({},f,t);var r=c.getField(t),e=t.method;if(!e)throw new TypeError(\"Invalid method!\");if(\"value\"===e&&!o.has(t,\"value\"))throw new TypeError(\"Invalid value: it is nil.\");var i=s(n.getColumn(r)),a=u.default(n.rows,t.groupBy);o.forIn(a,(function(n){var u=s(n.map((function(n){return n[r]})));0===u.length&&(u=i),n.forEach((function(i){if(o.isUndefined(i[r]))if(o.isFunction(e))i[r]=e(i,u,t.value,n);else{if(!o.isString(e))throw new TypeError(\"Invalid method: must be a function or one of \"+l.join(\", \"));i[r]=h[e](i,u,t.value)}}))}))}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importStar(r(21)),u=e.__importDefault(r(17)),a=r(2),c=a.DataSet.registerTransform,f=r(7),s={as:[],fields:[],groupBy:[],operations:[]},l={count:function(n){return n.length},distinct:function(n,t){return o.uniq(n.map((function(n){return n[t]}))).length}};function h(n,t){t=o.assign({},s,t);var r=f.getFields(t);if(!o.isArray(r))throw new TypeError(\"Invalid fields: it must be an array with one or more strings!\");var e=t.as||[];o.isString(e)&&(e=[e]);var i=t.operations;o.isString(i)&&(i=[i]);var a=[\"count\"];if(o.isArray(i)&&i.length||(console.warn('operations is not defined, will use [ \"count\" ] directly.'),e=i=a),1!==i.length||\"count\"!==i[0]){if(i.length!==r.length)throw new TypeError(\"Invalid operations: it's length must be the same as fields!\");if(e.length!==r.length)throw new TypeError(\"Invalid as: it's length must be the same as fields!\")}var c=u.default(n.rows,t.groupBy),h=[];o.forIn(c,(function(n){var t=n[0];i.forEach((function(o,i){var u=e[i],a=r[i];t[u]=l[o](n,a)})),h.push(t)})),n.rows=h}a.DataSet.CONSTANTS.STATISTICS_METHODS.forEach((function(n){l[n]=function(t,r){var e=t.map((function(n){return n[r]}));return o.isArray(e)&&o.isArray(e[0])&&(e=o.flattenDeep(e)),i[n](e)}})),l.average=l.mean,c(\"aggregate\",h),c(\"summary\",h),t.default={VALID_AGGREGATES:o.keys(l)}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=e.__importDefault(r(182)),i=r(3),u=e.__importDefault(r(46)),a=r(2),c=r(7),f=r(47),s={as:[\"x\",\"y\"],method:\"linear\",order:2,precision:2},l=[\"linear\",\"exponential\",\"logarithmic\",\"power\",\"polynomial\"];a.DataSet.registerTransform(\"regression\",(function(n,t){t=i.assign({},s,t);var r=c.getFields(t);if(!i.isArray(r)||2!==r.length)throw new TypeError(\"invalid fields: must be an array of 2 strings.\");var a=e.__read(r,2),h=a[0],p=a[1],d=t.method;if(-1===l.indexOf(d))throw new TypeError(\"invalid method: \"+d+\". Must be one of \"+l.join(\", \"));var v=n.rows.map((function(n){return[n[h],n[p]]})),g=o.default[d](v,t),y=t.extent;i.isArray(y)&&2===y.length||(y=n.range(h));var m=t.bandwidth;(!i.isNumber(m)||m<=0)&&(m=f.silverman(n.getColumn(h)));var b=u.default(y,m),w=[],x=e.__read(t.as,2),_=x[0],E=x[1];b.forEach((function(n){var t={},r=e.__read(g.predict(n),2),o=r[0],i=r[1];t[_]=o,t[E]=i,isFinite(i)&&w.push(t)})),n.rows=w})),t.default={REGRESSION_METHODS:l}},function(n,t,r){var e,o,i;o=[n],void 0===(i=\"function\"==typeof(e=function(n){\"use strict\";var t=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n};function r(n){if(Array.isArray(n)){for(var t=0,r=Array(n.length);t<n.length;t++)r[t]=n[t];return r}return Array.from(n)}var e={order:2,precision:2,period:null};function o(n,t){var r=[],e=[];n.forEach((function(n,o){null!==n[1]&&(e.push(n),r.push(t[o]))}));var o=e.reduce((function(n,t){return n+t[1]}),0)/e.length,i=e.reduce((function(n,t){var r=t[1]-o;return n+r*r}),0);return 1-e.reduce((function(n,t,e){var o=r[e],i=t[1]-o[1];return n+i*i}),0)/i}function i(n,t){var r=Math.pow(10,t);return Math.round(n*r)/r}var u={linear:function(n,t){for(var r=[0,0,0,0,0],e=0,u=0;u<n.length;u++)null!==n[u][1]&&(e++,r[0]+=n[u][0],r[1]+=n[u][1],r[2]+=n[u][0]*n[u][0],r[3]+=n[u][0]*n[u][1],r[4]+=n[u][1]*n[u][1]);var a=e*r[2]-r[0]*r[0],c=e*r[3]-r[0]*r[1],f=0===a?0:i(c/a,t.precision),s=i(r[1]/e-f*r[0]/e,t.precision),l=function(n){return[i(n,t.precision),i(f*n+s,t.precision)]},h=n.map((function(n){return l(n[0])}));return{points:h,predict:l,equation:[f,s],r2:i(o(n,h),t.precision),string:0===s?\"y = \"+f+\"x\":\"y = \"+f+\"x + \"+s}},exponential:function(n,t){for(var r=[0,0,0,0,0,0],e=0;e<n.length;e++)null!==n[e][1]&&(r[0]+=n[e][0],r[1]+=n[e][1],r[2]+=n[e][0]*n[e][0]*n[e][1],r[3]+=n[e][1]*Math.log(n[e][1]),r[4]+=n[e][0]*n[e][1]*Math.log(n[e][1]),r[5]+=n[e][0]*n[e][1]);var u=r[1]*r[2]-r[5]*r[5],a=Math.exp((r[2]*r[3]-r[5]*r[4])/u),c=(r[1]*r[4]-r[5]*r[3])/u,f=i(a,t.precision),s=i(c,t.precision),l=function(n){return[i(n,t.precision),i(f*Math.exp(s*n),t.precision)]},h=n.map((function(n){return l(n[0])}));return{points:h,predict:l,equation:[f,s],string:\"y = \"+f+\"e^(\"+s+\"x)\",r2:i(o(n,h),t.precision)}},logarithmic:function(n,t){for(var r=[0,0,0,0],e=n.length,u=0;u<e;u++)null!==n[u][1]&&(r[0]+=Math.log(n[u][0]),r[1]+=n[u][1]*Math.log(n[u][0]),r[2]+=n[u][1],r[3]+=Math.pow(Math.log(n[u][0]),2));var a=i((e*r[1]-r[2]*r[0])/(e*r[3]-r[0]*r[0]),t.precision),c=i((r[2]-a*r[0])/e,t.precision),f=function(n){return[i(n,t.precision),i(i(c+a*Math.log(n),t.precision),t.precision)]},s=n.map((function(n){return f(n[0])}));return{points:s,predict:f,equation:[c,a],string:\"y = \"+c+\" + \"+a+\" ln(x)\",r2:i(o(n,s),t.precision)}},power:function(n,t){for(var r=[0,0,0,0,0],e=n.length,u=0;u<e;u++)null!==n[u][1]&&(r[0]+=Math.log(n[u][0]),r[1]+=Math.log(n[u][1])*Math.log(n[u][0]),r[2]+=Math.log(n[u][1]),r[3]+=Math.pow(Math.log(n[u][0]),2));var a=(e*r[1]-r[0]*r[2])/(e*r[3]-Math.pow(r[0],2)),c=(r[2]-a*r[0])/e,f=i(Math.exp(c),t.precision),s=i(a,t.precision),l=function(n){return[i(n,t.precision),i(i(f*Math.pow(n,s),t.precision),t.precision)]},h=n.map((function(n){return l(n[0])}));return{points:h,predict:l,equation:[f,s],string:\"y = \"+f+\"x^\"+s,r2:i(o(n,h),t.precision)}},polynomial:function(n,t){for(var e=[],u=[],a=0,c=0,f=n.length,s=t.order+1,l=0;l<s;l++){for(var h=0;h<f;h++)null!==n[h][1]&&(a+=Math.pow(n[h][0],l)*n[h][1]);e.push(a),a=0;for(var p=[],d=0;d<s;d++){for(var v=0;v<f;v++)null!==n[v][1]&&(c+=Math.pow(n[v][0],l+d));p.push(c),c=0}u.push(p)}u.push(e);for(var g=function(n,t){for(var r=n,e=n.length-1,o=[t],i=0;i<e;i++){for(var u=i,a=i+1;a<e;a++)Math.abs(r[i][a])>Math.abs(r[i][u])&&(u=a);for(var c=i;c<e+1;c++){var f=r[c][i];r[c][i]=r[c][u],r[c][u]=f}for(var s=i+1;s<e;s++)for(var l=e;l>=i;l--)r[l][s]-=r[l][i]*r[i][s]/r[i][i]}for(var h=e-1;h>=0;h--){for(var p=0,d=h+1;d<e;d++)p+=r[d][h]*o[d];o[h]=(r[e][h]-p)/r[h][h]}return o}(u,s).map((function(n){return i(n,t.precision)})),y=function(n){return[i(n,t.precision),i(g.reduce((function(t,r,e){return t+r*Math.pow(n,e)}),0),t.precision)]},m=n.map((function(n){return y(n[0])})),b=\"y = \",w=g.length-1;w>=0;w--)b+=w>1?g[w]+\"x^\"+w+\" + \":1===w?g[w]+\"x + \":g[w];return{string:b,points:m,predict:y,equation:[].concat(r(g)).reverse(),r2:i(o(n,m),t.precision)}}};n.exports=Object.keys(u).reduce((function(n,r){return t({_round:i},n,(c=function(n,o){return u[r](n,t({},e,o))},(a=r)in(o={})?Object.defineProperty(o,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[a]=c,o));var o,a,c}),{})})?e.apply(t,o):e)||(n.exports=i)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(46)),u=e.__importDefault(r(65)),a=e.__importStar(r(47)),c=e.__importDefault(r(17)),f=r(2),s=r(7),l=r(21),h={minSize:.01,as:[\"key\",\"y\",\"size\"],extent:[],method:\"gaussian\",bandwidth:\"nrd\",step:0,groupBy:[]},p=o.keys(u.default),d=o.keys(a);function v(n,t){t=o.assign({},h,t);var r=s.getFields(t);if(!o.isArray(r)||r.length<1)throw new TypeError(\"invalid fields: must be an array of at least 1 strings!\");var f=t.as;if(!o.isArray(f)||3!==f.length)throw new TypeError(\"invalid as: must be an array of 3 strings!\");var d=t.method;if(o.isString(d)){if(-1===p.indexOf(d))throw new TypeError(\"invalid method: \"+d+\". Must be one of \"+p.join(\", \"));d=u.default[d]}if(!o.isFunction(d))throw new TypeError(\"invalid method: kernel method must be a function!\");var v=t.extent;if(!o.isArray(v)||0===v.length){var g=[];o.each(r,(function(t){var r=n.range(t);g=g.concat(r)})),v=[Math.min.apply(Math,e.__spread(g)),Math.max.apply(Math,e.__spread(g))]}var y=t.bandwidth;o.isString(y)&&a[y]?y=a[y](n.getColumn(r[0])):o.isFunction(y)?y=y(n.getColumn(r[0])):(!o.isNumber(y)||y<=0)&&(y=a.nrd(n.getColumn(r[0])));var m=i.default(v,t.step?t.step:y),b=[],w=t.groupBy,x=c.default(n.rows,w);o.forIn(x,(function(n){var i={};o.each(r,(function(r){var u=o.pick(n[0],w);i[r]=l.kernelDensityEstimation(n.map((function(n){return n[r]})),d,y);var a=e.__read(f,3),c=a[0],s=a[1],h=a[2];u[c]=r,u[s]=[],u[h]=[],o.each(m,(function(n){var e=i[r](n);e>=t.minSize&&(u[s].push(n),u[h].push(e))})),b.push(u)}))})),n.rows=b}f.DataSet.registerTransform(\"kernel-density-estimation\",v),f.DataSet.registerTransform(\"kde\",v),f.DataSet.registerTransform(\"KDE\",v),t.default={KERNEL_METHODS:p,BANDWIDTH_METHODS:d}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(2),u=r(7),a={as:[\"x\",\"y\",\"count\"],bins:[30,30],offset:[0,0],sizeByCount:!1},c=Math.sqrt(3),f=Math.PI/3,s=[0,f,2*f,3*f,4*f,5*f];function l(n,t,r,e){return Math.sqrt((n-r)*(n-r)+(t-e)*(t-e))}function h(n,t,r){var e=n-r;t/=2;var o=Math.floor(e/t);return[t*(o+(1===Math.abs(o%2)?1:0))+r,t*(o+(1===Math.abs(o%2)?0:1))+r]}function p(n,t){t=o.assign({},a,t);var r=u.getFields(t);if(!o.isArray(r)||2!==r.length)throw new TypeError(\"Invalid fields: it must be an array with 2 strings!\");var i=e.__read(r,2),f=i[0],p=i[1],d=n.range(f),v=n.range(p),g=d[1]-d[0],y=v[1]-v[0],m=t.binWidth||[];if(2!==m.length){var b=e.__read(t.bins,2),w=b[0],x=b[1];if(w<=0||x<=0)throw new TypeError(\"Invalid bins: must be an array with two positive numbers (e.g. [ 30, 30 ])!\");m=[g/w,y/x]}var _=e.__read(t.offset,2),E=_[0],j=_[1],O=3*m[0]/(c*m[1]),S=function(n,t,r){void 0===t&&(t=[1,1]),void 0===r&&(r=[0,0]);var o={},i=e.__read(t,2),u=i[0],a=i[1],c=e.__read(r,2),f=c[0],s=c[1];return n.forEach((function(n){var t,r,i,c,p,d=e.__read(n,2),v=d[0],g=d[1],y=e.__read(h(v,u,f),2),m=y[0],b=y[1],w=e.__read(h(g,a,s),2),x=w[0],_=w[1];l(v,g,m,x)<l(v,g,b,_)?(i=\"x\"+m+\"y\"+x,c=(t=e.__read([m,x],2))[0],p=t[1]):(i=\"x\"+b+\"y\"+_,c=(r=e.__read([b,_],2))[0],p=r[1]),o[i]=o[i]||{x:c,y:p,count:0},o[i].count++})),o}(n.rows.map((function(n){return[n[f],O*n[p]]})),[m[0],O*m[1]],[E,O*j]),M=e.__read(t.as,3),T=M[0],k=M[1],P=M[2];if(!T||!k||!P)throw new TypeError('Invalid as: it must be an array with three elements (e.g. [ \"x\", \"y\", \"count\" ])!');var C=m[0]/c,A=s.map((function(n){return[Math.sin(n)*C,-Math.cos(n)*C]})),N=[],R=0;t.sizeByCount&&o.forIn(S,(function(n){n.count>R&&(R=n.count)})),o.forIn(S,(function(n){var r=n.x,e=n.y,o=n.count,i={};i[P]=o,t.sizeByCount?(i[T]=A.map((function(t){return r+n.count/R*t[0]})),i[k]=A.map((function(t){return(e+n.count/R*t[1])/O}))):(i[T]=A.map((function(n){return r+n[0]})),i[k]=A.map((function(n){return(e+n[1])/O}))),N.push(i)})),n.rows=N}i.DataSet.registerTransform(\"bin.hexagon\",p),i.DataSet.registerTransform(\"bin.hex\",p),i.DataSet.registerTransform(\"hexbin\",p)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(17)),u=r(2),a=r(7),c={as:[\"x\",\"count\"],bins:30,offset:0,groupBy:[]};function f(n,t){t=o.assign({},c,t);var r=a.getField(t);if(0!==n.rows.length){var u=n.range(r),f=u[1]-u[0],s=t.binWidth;if(!s){var l=t.bins;if(l<=0)throw new TypeError(\"Invalid bins: it must be a positive number!\");s=f/l}var h=t.offset%s,p=[],d=t.groupBy,v=i.default(n.rows,d);o.forIn(v,(function(n){var i={};n.map((function(n){return n[r]})).forEach((function(n){var t=e.__read(function(n,t,r){var e=n-r,o=Math.floor(e/t);return[o*t+r,(o+1)*t+r]}(n,s,h),2),r=t[0],o=t[1],u=r+\"-\"+o;i[u]=i[u]||{x0:r,x1:o,count:0},i[u].count++}));var u=e.__read(t.as,2),a=u[0],c=u[1];if(!a||!c)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ \"x\", \"count\" ])!');var f=o.pick(n[0],d);o.forIn(i,(function(n){var t=o.assign({},f);t[a]=[n.x0,n.x1],t[c]=n.count,p.push(t)}))})),n.rows=p}}u.DataSet.registerTransform(\"bin.histogram\",f),u.DataSet.registerTransform(\"bin.dot\",f)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(21),u=e.__importDefault(r(17)),a=e.__importDefault(r(88)),c=r(2).DataSet.registerTransform,f=r(7),s={as:\"_bin\",groupBy:[],fraction:4};c(\"bin.quantile\",(function(n,t){t=o.assign({},s,t);var r=f.getField(t),e=t.as;if(!o.isString(e))throw new TypeError('Invalid as: it must be a string (e.g. \"_bin\")!');var c=t.p,l=t.fraction;o.isArray(c)&&0!==c.length||(c=a.default(l));var h=n.rows,p=t.groupBy,d=u.default(h,p),v=[];o.forIn(d,(function(n){var t=n[0],o=n.map((function(n){return n[r]})),u=c.map((function(n){return i.quantile(o,n)}));t[e]=u,v.push(t)})),n.rows=v}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(2).DataSet.registerTransform,u=r(7),a={as:[\"x\",\"y\",\"count\"],bins:[30,30],offset:[0,0],sizeByCount:!1};function c(n,t,r){var e=n-r,o=Math.floor(e/t);return[o*t+r,(o+1)*t+r]}function f(n,t){t=o.assign({},a,t);var r=e.__read(u.getFields(t),2),i=r[0],f=r[1];if(!i||!f)throw new TypeError(\"Invalid fields: must be an array with 2 strings!\");var s=n.range(i),l=n.range(f),h=s[1]-s[0],p=l[1]-l[0],d=t.binWidth||[];if(2!==d.length){var v=e.__read(t.bins,2),g=v[0],y=v[1];if(g<=0||y<=0)throw new TypeError(\"Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!\");d=[h/g,p/y]}var m=n.rows.map((function(n){return[n[i],n[f]]})),b={},w=e.__read(t.offset,2),x=w[0],_=w[1];m.forEach((function(n){var t=e.__read(c(n[0],d[0],x),2),r=t[0],o=t[1],i=e.__read(c(n[1],d[1],_),2),u=i[0],a=i[1],f=r+\"-\"+o+\"-\"+u+\"-\"+a;b[f]=b[f]||{x0:r,x1:o,y0:u,y1:a,count:0},b[f].count++}));var E=[],j=e.__read(t.as,3),O=j[0],S=j[1],M=j[2];if(!O||!S||!M)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ \"x\", \"y\", \"count\" ])!');if(t.sizeByCount){var T=0;o.forIn(b,(function(n){n.count>T&&(T=n.count)})),o.forIn(b,(function(n){var t=n.x0,r=n.x1,o=n.y0,i=n.y1,u=n.count,a=u/T,c=e.__read([(t+r)/2,(o+i)/2],2),f=c[0],s=c[1],l=(r-t)*a/2,h=(i-o)*a/2,p=f-l,d=f+l,v=s-h,g=s+h,y={};y[O]=[p,d,d,p],y[S]=[v,v,g,g],y[M]=u,E.push(y)}))}else o.forIn(b,(function(n){var t={};t[O]=[n.x0,n.x1,n.x1,n.x0],t[S]=[n.y0,n.y0,n.y1,n.y1],t[M]=n.count,E.push(t)}));n.rows=E}i(\"bin.rectangle\",f),i(\"bin.rect\",f)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(2).DataSet.registerTransform,i=r(7),u={as:[\"_centroid_x\",\"_centroid_y\"]};o(\"geo.centroid\",(function(n,t){t=e.assign({},u,t);var r=i.getField(t),o=t.geoView||t.geoDataView;if(e.isString(o)&&n.dataSet&&(o=n.dataSet.getView(o)),!o||\"geo\"!==o.dataType)throw new TypeError(\"Invalid geoView: must be a DataView of GEO dataType!\");var a=t.as;if(!e.isArray(a)||2!==a.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"cX\", \"cY\" ])!');var c=a[0],f=a[1];n.rows.forEach((function(n){var t=o.geoFeatureByName(n[r]);t&&(o._projectedAs?(n[c]=t[o._projectedAs[2]],n[f]=t[o._projectedAs[3]]):(n[c]=t.centroidX,n[f]=t.centroidY))}))}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(44),u=e.__importDefault(r(91)),a=r(2).DataSet.registerTransform,c=e.__importDefault(r(87)),f={as:[\"_x\",\"_y\",\"_centroid_x\",\"_centroid_y\"]};a(\"geo.projection\",(function(n,t){if(\"geo\"!==n.dataType&&\"geo-graticule\"!==n.dataType)throw new TypeError(\"Invalid dataView: this transform is for Geo data only!\");var r=(t=o.assign({},f,t)).projection;if(!r)throw new TypeError(\"Invalid projection!\");r=c.default(r);var a=i.geoPath(r),s=t.as;if(!o.isArray(s)||4!==s.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ \"x\", \"y\", \"cX\", \"cY\" ])!');n._projectedAs=s;var l=e.__read(s,4),h=l[0],p=l[1],d=l[2],v=l[3];n.rows.forEach((function(n){n[h]=[],n[p]=[];var t=a(n);if(t){u.default(t)._path.forEach((function(t){n[h].push(t[1]),n[p].push(t[2])}));var r=a.centroid(n);n[d]=r[0],n[v]=r[1]}})),n.rows=n.rows.filter((function(n){return 0!==n[h].length}))}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(2).DataSet.registerTransform,i=r(7),u={as:[\"_x\",\"_y\"]};o(\"geo.region\",(function(n,t){t=e.assign({},u,t);var r=i.getField(t),o=t.geoView||t.geoDataView;if(e.isString(o)&&(o=n.dataSet.getView(o)),!o||\"geo\"!==o.dataType)throw new TypeError(\"Invalid geoView: must be a DataView of GEO dataType!\");var a=t.as;if(!e.isArray(a)||2!==a.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');var c=a[0],f=a[1];n.rows.forEach((function(n){var t=o.geoFeatureByName(n[r]);t&&(o._projectedAs?(n[c]=t[o._projectedAs[0]],n[f]=t[o._projectedAs[1]]):(n[c]=t.longitude,n[f]=t.latitude))}))}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(2),i={y:0,thickness:.05,weight:!1,marginRatio:.1,id:function(n){return n.id},source:function(n){return n.source},target:function(n){return n.target},sourceWeight:function(n){return n.value||1},targetWeight:function(n){return n.value||1},sortBy:null};function u(n,t){t=e.assign({},i,t);var r={},o=n.nodes,u=n.edges;e.isArray(o)&&0!==o.length||(o=function(n,t,r){return void 0===r&&(r={}),n.forEach((function(n){var e=t.edgeSource(n),o=t.edgeTarget(n);r[e]||(r[e]={id:e}),r[o]||(r[o]={id:o})})),e.values(r)}(u,t,r)),o.forEach((function(n){var e=t.id(n);r[e]=n})),function(n,t,r){e.forIn(n,(function(n,e){n.inEdges=t.filter((function(n){return\"\"+r.target(n)==\"\"+e})),n.outEdges=t.filter((function(n){return\"\"+r.source(n)==\"\"+e})),n.edges=n.outEdges.concat(n.inEdges),n.frequency=n.edges.length,n.value=0,n.inEdges.forEach((function(t){n.value+=r.targetWeight(t)})),n.outEdges.forEach((function(t){n.value+=r.sourceWeight(t)}))}))}(r,u,t),function(n,t){var r={weight:function(n,t){return t.value-n.value},frequency:function(n,t){return t.frequency-n.frequency},id:function(n,r){return(\"\"+t.id(n)).localeCompare(\"\"+t.id(r))}}[t.sortBy];!r&&e.isFunction(t.sortBy)&&(r=t.sortBy),r&&n.sort(r)}(o,t),function(n,t){var r=n.length;if(!r)throw new TypeError(\"Invalid nodes: it's empty!\");if(t.weight){var e=t.marginRatio;if(e<0||e>=1)throw new TypeError(\"Invalid marginRatio: it must be in range [0, 1)!\");var o=e/(2*r),i=t.thickness;if(i<=0||i>=1)throw new TypeError(\"Invalid thickness: it must be in range (0, 1)!\");var u=0;n.forEach((function(n){u+=n.value})),n.forEach((function(n){n.weight=n.value/u,n.width=n.weight*(1-e),n.height=i})),n.forEach((function(r,e){for(var u=0,a=e-1;a>=0;a--)u+=n[a].width+2*o;var c=r.minX=o+u,f=r.maxX=r.minX+r.width,s=r.minY=t.y-i/2,l=r.maxY=s+i;r.x=[c,f,f,c],r.y=[s,s,l,l]}))}else{var a=1/r;n.forEach((function(n,r){n.x=(r+.5)*a,n.y=t.y}))}}(o,t),function(n,t,r){if(r.weight){var o={};e.forIn(n,(function(n,t){o[t]=n.value})),t.forEach((function(t){var e=r.source(t),i=r.target(t),u=n[e],a=n[i];if(u&&a){var c=o[e],f=r.sourceWeight(t),s=u.minX+(u.value-c)/u.value*u.width,l=s+f/u.value*u.width;o[e]-=f;var h=o[i],p=r.targetWeight(t),d=a.minX+(a.value-h)/a.value*a.width,v=d+p/a.value*a.width;o[i]-=p;var g=r.y;t.x=[s,l,d,v],t.y=[g,g,g,g]}}))}else t.forEach((function(t){var e=n[r.source(t)],o=n[r.target(t)];e&&o&&(t.x=[e.x,o.x],t.y=[e.y,o.y])}))}(r,u,t),n.nodes=o,n.edges=u}o.DataSet.registerTransform(\"diagram.arc\",u),o.DataSet.registerTransform(\"arc\",u)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(193)),u=r(2),a={rankdir:\"TB\",align:\"TB\",nodesep:50,edgesep:10,ranksep:50,source:function(n){return n.source},target:function(n){return n.target}};function c(n,t){t=o.assign({},a,t);var r=new i.default.graphlib.Graph;r.setGraph({}),r.setDefaultEdgeLabel((function(){return{}})),n.nodes.forEach((function(n){var e=t.nodeId?t.nodeId(n):n.id;n.height||n.width||(n.height=n.width=t.edgesep),r.setNode(e,n)})),n.edges.forEach((function(n){r.setEdge(t.source(n),t.target(n))})),i.default.layout(r);var e=[],u=[];r.nodes().forEach((function(n){var t=r.node(n),o=t.x,i=t.y,u=t.height,a=t.width;t.x=[o-a/2,o+a/2,o+a/2,o-a/2],t.y=[i+u/2,i+u/2,i-u/2,i-u/2],e.push(t)})),r.edges().forEach((function(n){var t=r.edge(n).points,e={};e.x=t.map((function(n){return n.x})),e.y=t.map((function(n){return n.y})),u.push(e)})),n.nodes=e,n.edges=u}u.DataSet.registerTransform(\"diagram.dagre\",c),u.DataSet.registerTransform(\"dagre\",c)},function(n,t,r){n.exports={graphlib:r(18),layout:r(308),debug:r(367),util:{time:r(11).time,notime:r(11).notime},version:r(368)}},function(n,t,r){var e=r(195);n.exports={Graph:e.Graph,json:r(298),alg:r(299),version:e.version}},function(n,t,r){n.exports={Graph:r(66),version:r(297)}},function(n,t,r){var e=r(92);n.exports=function(n){return e(n,4)}},function(n,t){n.exports=function(){this.__data__=[],this.size=0}},function(n,t,r){var e=r(50),o=Array.prototype.splice;n.exports=function(n){var t=this.__data__,r=e(t,n);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(n,t,r){var e=r(50);n.exports=function(n){var t=this.__data__,r=e(t,n);return r<0?void 0:t[r][1]}},function(n,t,r){var e=r(50);n.exports=function(n){return e(this.__data__,n)>-1}},function(n,t,r){var e=r(50);n.exports=function(n,t){var r=this.__data__,o=e(r,n);return o<0?(++this.size,r.push([n,t])):r[o][1]=t,this}},function(n,t,r){var e=r(49);n.exports=function(){this.__data__=new e,this.size=0}},function(n,t){n.exports=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r}},function(n,t){n.exports=function(n){return this.__data__.get(n)}},function(n,t){n.exports=function(n){return this.__data__.has(n)}},function(n,t,r){var e=r(49),o=r(67),i=r(68);n.exports=function(n,t){var r=this.__data__;if(r instanceof e){var u=r.__data__;if(!o||u.length<199)return u.push([n,t]),this.size=++r.size,this;r=this.__data__=new i(u)}return r.set(n,t),this.size=r.size,this}},function(n,t,r){var e=r(39),o=r(211),i=r(15),u=r(94),a=/^\\[object .+?Constructor\\]$/,c=Function.prototype,f=Object.prototype,s=c.toString,l=f.hasOwnProperty,h=RegExp(\"^\"+s.call(l).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");n.exports=function(n){return!(!i(n)||o(n))&&(e(n)?h:a).test(u(n))}},function(n,t){var r;r=function(){return this}();try{r=r||new Function(\"return this\")()}catch(n){\"object\"==typeof window&&(r=window)}n.exports=r},function(n,t,r){var e=r(31),o=Object.prototype,i=o.hasOwnProperty,u=o.toString,a=e?e.toStringTag:void 0;n.exports=function(n){var t=i.call(n,a),r=n[a];try{n[a]=void 0;var e=!0}catch(n){}var o=u.call(n);return e&&(t?n[a]=r:delete n[a]),o}},function(n,t){var r=Object.prototype.toString;n.exports=function(n){return r.call(n)}},function(n,t,r){var e,o=r(212),i=(e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+e:\"\";n.exports=function(n){return!!i&&i in n}},function(n,t,r){var e=r(19)[\"__core-js_shared__\"];n.exports=e},function(n,t){n.exports=function(n,t){return null==n?void 0:n[t]}},function(n,t,r){var e=r(215),o=r(49),i=r(67);n.exports=function(){this.size=0,this.__data__={hash:new e,map:new(i||o),string:new e}}},function(n,t,r){var e=r(216),o=r(217),i=r(218),u=r(219),a=r(220);function c(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}c.prototype.clear=e,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=u,c.prototype.set=a,n.exports=c},function(n,t,r){var e=r(51);n.exports=function(){this.__data__=e?e(null):{},this.size=0}},function(n,t){n.exports=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}},function(n,t,r){var e=r(51),o=Object.prototype.hasOwnProperty;n.exports=function(n){var t=this.__data__;if(e){var r=t[n];return\"__lodash_hash_undefined__\"===r?void 0:r}return o.call(t,n)?t[n]:void 0}},function(n,t,r){var e=r(51),o=Object.prototype.hasOwnProperty;n.exports=function(n){var t=this.__data__;return e?void 0!==t[n]:o.call(t,n)}},function(n,t,r){var e=r(51);n.exports=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=e&&void 0===t?\"__lodash_hash_undefined__\":t,this}},function(n,t,r){var e=r(52);n.exports=function(n){var t=e(this,n).delete(n);return this.size-=t?1:0,t}},function(n,t){n.exports=function(n){var t=typeof n;return\"string\"==t||\"number\"==t||\"symbol\"==t||\"boolean\"==t?\"__proto__\"!==n:null===n}},function(n,t,r){var e=r(52);n.exports=function(n){return e(this,n).get(n)}},function(n,t,r){var e=r(52);n.exports=function(n){return e(this,n).has(n)}},function(n,t,r){var e=r(52);n.exports=function(n,t){var r=e(this,n),o=r.size;return r.set(n,t),this.size+=r.size==o?0:1,this}},function(n,t,r){var e=r(40),o=r(24);n.exports=function(n,t){return n&&e(t,o(t),n)}},function(n,t){n.exports=function(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}},function(n,t,r){var e=r(27),o=r(20);n.exports=function(n){return o(n)&&\"[object Arguments]\"==e(n)}},function(n,t){n.exports=function(){return!1}},function(n,t,r){var e=r(27),o=r(71),i=r(20),u={};u[\"[object Float32Array]\"]=u[\"[object Float64Array]\"]=u[\"[object Int8Array]\"]=u[\"[object Int16Array]\"]=u[\"[object Int32Array]\"]=u[\"[object Uint8Array]\"]=u[\"[object Uint8ClampedArray]\"]=u[\"[object Uint16Array]\"]=u[\"[object Uint32Array]\"]=!0,u[\"[object Arguments]\"]=u[\"[object Array]\"]=u[\"[object ArrayBuffer]\"]=u[\"[object Boolean]\"]=u[\"[object DataView]\"]=u[\"[object Date]\"]=u[\"[object Error]\"]=u[\"[object Function]\"]=u[\"[object Map]\"]=u[\"[object Number]\"]=u[\"[object Object]\"]=u[\"[object RegExp]\"]=u[\"[object Set]\"]=u[\"[object String]\"]=u[\"[object WeakMap]\"]=!1,n.exports=function(n){return i(n)&&o(n.length)&&!!u[e(n)]}},function(n,t,r){var e=r(97)(Object.keys,Object);n.exports=e},function(n,t,r){var e=r(40),o=r(33);n.exports=function(n,t){return n&&e(t,o(t),n)}},function(n,t,r){var e=r(15),o=r(57),i=r(234),u=Object.prototype.hasOwnProperty;n.exports=function(n){if(!e(n))return i(n);var t=o(n),r=[];for(var a in n)(\"constructor\"!=a||!t&&u.call(n,a))&&r.push(a);return r}},function(n,t){n.exports=function(n){var t=[];if(null!=n)for(var r in Object(n))t.push(r);return t}},function(n,t,r){var e=r(40),o=r(74);n.exports=function(n,t){return e(n,o(n),t)}},function(n,t,r){var e=r(40),o=r(102);n.exports=function(n,t){return e(n,o(n),t)}},function(n,t,r){var e=r(104),o=r(102),i=r(33);n.exports=function(n){return e(n,i,o)}},function(n,t,r){var e=r(26)(r(19),\"DataView\");n.exports=e},function(n,t,r){var e=r(26)(r(19),\"Promise\");n.exports=e},function(n,t,r){var e=r(26)(r(19),\"WeakMap\");n.exports=e},function(n,t){var r=Object.prototype.hasOwnProperty;n.exports=function(n){var t=n.length,e=new n.constructor(t);return t&&\"string\"==typeof n[0]&&r.call(n,\"index\")&&(e.index=n.index,e.input=n.input),e}},function(n,t,r){var e=r(76),o=r(243),i=r(244),u=r(245),a=r(107);n.exports=function(n,t,r){var c=n.constructor;switch(t){case\"[object ArrayBuffer]\":return e(n);case\"[object Boolean]\":case\"[object Date]\":return new c(+n);case\"[object DataView]\":return o(n,r);case\"[object Float32Array]\":case\"[object Float64Array]\":case\"[object Int8Array]\":case\"[object Int16Array]\":case\"[object Int32Array]\":case\"[object Uint8Array]\":case\"[object Uint8ClampedArray]\":case\"[object Uint16Array]\":case\"[object Uint32Array]\":return a(n,r);case\"[object Map]\":return new c;case\"[object Number]\":case\"[object String]\":return new c(n);case\"[object RegExp]\":return i(n);case\"[object Set]\":return new c;case\"[object Symbol]\":return u(n)}}},function(n,t,r){var e=r(76);n.exports=function(n,t){var r=t?e(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}},function(n,t){var r=/\\w*$/;n.exports=function(n){var t=new n.constructor(n.source,r.exec(n));return t.lastIndex=n.lastIndex,t}},function(n,t,r){var e=r(31),o=e?e.prototype:void 0,i=o?o.valueOf:void 0;n.exports=function(n){return i?Object(i.call(n)):{}}},function(n,t,r){var e=r(247),o=r(56),i=r(72),u=i&&i.isMap,a=u?o(u):e;n.exports=a},function(n,t,r){var e=r(34),o=r(20);n.exports=function(n){return o(n)&&\"[object Map]\"==e(n)}},function(n,t,r){var e=r(249),o=r(56),i=r(72),u=i&&i.isSet,a=u?o(u):e;n.exports=a},function(n,t,r){var e=r(34),o=r(20);n.exports=function(n){return o(n)&&\"[object Set]\"==e(n)}},function(n,t){n.exports=function(n){return function(t,r,e){for(var o=-1,i=Object(t),u=e(t),a=u.length;a--;){var c=u[n?a:++o];if(!1===r(i[c],c,i))break}return t}}},function(n,t,r){var e=r(22);n.exports=function(n,t){return function(r,o){if(null==r)return r;if(!e(r))return n(r,o);for(var i=r.length,u=t?i:-1,a=Object(r);(t?u--:++u<i)&&!1!==o(a[u],u,a););return r}}},function(n,t,r){var e=r(59);n.exports=function(n,t){var r=[];return e(n,(function(n,e,o){t(n,e,o)&&r.push(n)})),r}},function(n,t,r){var e=r(254),o=r(262),i=r(119);n.exports=function(n){var t=o(n);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===n||e(r,n,t)}}},function(n,t,r){var e=r(48),o=r(114);n.exports=function(n,t,r,i){var u=r.length,a=u,c=!i;if(null==n)return!a;for(n=Object(n);u--;){var f=r[u];if(c&&f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++u<a;){var s=(f=r[u])[0],l=n[s],h=f[1];if(c&&f[2]){if(void 0===l&&!(s in n))return!1}else{var p=new e;if(i)var d=i(l,h,s,n,t,p);if(!(void 0===d?o(h,l,3,i,p):d))return!1}}return!0}},function(n,t,r){var e=r(48),o=r(115),i=r(259),u=r(261),a=r(34),c=r(9),f=r(32),s=r(42),l=\"[object Object]\",h=Object.prototype.hasOwnProperty;n.exports=function(n,t,r,p,d,v){var g=c(n),y=c(t),m=g?\"[object Array]\":a(n),b=y?\"[object Array]\":a(t),w=(m=\"[object Arguments]\"==m?l:m)==l,x=(b=\"[object Arguments]\"==b?l:b)==l,_=m==b;if(_&&f(n)){if(!f(t))return!1;g=!0,w=!1}if(_&&!w)return v||(v=new e),g||s(n)?o(n,t,r,p,d,v):i(n,t,m,r,p,d,v);if(!(1&r)){var E=w&&h.call(n,\"__wrapped__\"),j=x&&h.call(t,\"__wrapped__\");if(E||j){var O=E?n.value():n,S=j?t.value():t;return v||(v=new e),d(O,S,r,p,v)}}return!!_&&(v||(v=new e),u(n,t,r,p,d,v))}},function(n,t){n.exports=function(n){return this.__data__.set(n,\"__lodash_hash_undefined__\"),this}},function(n,t){n.exports=function(n){return this.__data__.has(n)}},function(n,t){n.exports=function(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}},function(n,t,r){var e=r(31),o=r(106),i=r(30),u=r(115),a=r(260),c=r(80),f=e?e.prototype:void 0,s=f?f.valueOf:void 0;n.exports=function(n,t,r,e,f,l,h){switch(r){case\"[object DataView]\":if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case\"[object ArrayBuffer]\":return!(n.byteLength!=t.byteLength||!l(new o(n),new o(t)));case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":return i(+n,+t);case\"[object Error]\":return n.name==t.name&&n.message==t.message;case\"[object RegExp]\":case\"[object String]\":return n==t+\"\";case\"[object Map]\":var p=a;case\"[object Set]\":var d=1&e;if(p||(p=c),n.size!=t.size&&!d)return!1;var v=h.get(n);if(v)return v==t;e|=2,h.set(n,t);var g=u(p(n),p(t),e,f,l,h);return h.delete(n),g;case\"[object Symbol]\":if(s)return s.call(n)==s.call(t)}return!1}},function(n,t){n.exports=function(n){var t=-1,r=Array(n.size);return n.forEach((function(n,e){r[++t]=[e,n]})),r}},function(n,t,r){var e=r(103),o=Object.prototype.hasOwnProperty;n.exports=function(n,t,r,i,u,a){var c=1&r,f=e(n),s=f.length;if(s!=e(t).length&&!c)return!1;for(var l=s;l--;){var h=f[l];if(!(c?h in t:o.call(t,h)))return!1}var p=a.get(n);if(p&&a.get(t))return p==t;var d=!0;a.set(n,t),a.set(t,n);for(var v=c;++l<s;){var g=n[h=f[l]],y=t[h];if(i)var m=c?i(y,g,h,t,n,a):i(g,y,h,n,t,a);if(!(void 0===m?g===y||u(g,y,r,i,a):m)){d=!1;break}v||(v=\"constructor\"==h)}if(d&&!v){var b=n.constructor,w=t.constructor;b!=w&&\"constructor\"in n&&\"constructor\"in t&&!(\"function\"==typeof b&&b instanceof b&&\"function\"==typeof w&&w instanceof w)&&(d=!1)}return a.delete(n),a.delete(t),d}},function(n,t,r){var e=r(118),o=r(24);n.exports=function(n){for(var t=o(n),r=t.length;r--;){var i=t[r],u=n[i];t[r]=[i,u,e(u)]}return t}},function(n,t,r){var e=r(114),o=r(264),i=r(121),u=r(82),a=r(118),c=r(119),f=r(43);n.exports=function(n,t){return u(n)&&a(t)?c(f(n),t):function(r){var u=o(r,n);return void 0===u&&u===t?i(r,n):e(t,u,3)}}},function(n,t,r){var e=r(81);n.exports=function(n,t,r){var o=null==n?void 0:e(n,t);return void 0===o?r:o}},function(n,t,r){var e=r(266),o=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,i=/\\\\(\\\\)?/g,u=e((function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(\"\"),n.replace(o,(function(n,r,e,o){t.push(e?o.replace(i,\"$1\"):r||n)})),t}));n.exports=u},function(n,t,r){var e=r(267);n.exports=function(n){var t=e(n,(function(n){return 500===r.size&&r.clear(),n})),r=t.cache;return t}},function(n,t,r){var e=r(68);function o(n,t){if(\"function\"!=typeof n||null!=t&&\"function\"!=typeof t)throw new TypeError(\"Expected a function\");var r=function(){var e=arguments,o=t?t.apply(this,e):e[0],i=r.cache;if(i.has(o))return i.get(o);var u=n.apply(this,e);return r.cache=i.set(o,u)||i,u};return r.cache=new(o.Cache||e),r}o.Cache=e,n.exports=o},function(n,t,r){var e=r(31),o=r(61),i=r(9),u=r(35),a=e?e.prototype:void 0,c=a?a.toString:void 0;n.exports=function n(t){if(\"string\"==typeof t)return t;if(i(t))return o(t,n)+\"\";if(u(t))return c?c.call(t):\"\";var r=t+\"\";return\"0\"==r&&1/t==-1/0?\"-0\":r}},function(n,t){n.exports=function(n,t){return null!=n&&t in Object(n)}},function(n,t,r){var e=r(123),o=r(271),i=r(82),u=r(43);n.exports=function(n){return i(n)?e(u(n)):o(n)}},function(n,t,r){var e=r(81);n.exports=function(n){return function(t){return e(t,n)}}},function(n,t){var r=Object.prototype.hasOwnProperty;n.exports=function(n,t){return null!=n&&r.call(n,t)}},function(n,t,r){var e=r(73),o=r(34),i=r(41),u=r(9),a=r(22),c=r(32),f=r(57),s=r(42),l=Object.prototype.hasOwnProperty;n.exports=function(n){if(null==n)return!0;if(a(n)&&(u(n)||\"string\"==typeof n||\"function\"==typeof n.splice||c(n)||s(n)||i(n)))return!n.length;var t=o(n);if(\"[object Map]\"==t||\"[object Set]\"==t)return!n.size;if(f(n))return!e(n).length;for(var r in n)if(l.call(n,r))return!1;return!0}},function(n,t){n.exports=function(n,t,r,e){var o=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++o]);++o<i;)r=t(r,n[o],o,n);return r}},function(n,t){n.exports=function(n,t,r,e,o){return o(n,(function(n,o,i){r=e?(e=!1,n):t(r,n,o,i)})),r}},function(n,t,r){var e=r(73),o=r(34),i=r(22),u=r(277),a=r(278);n.exports=function(n){if(null==n)return 0;if(i(n))return u(n)?a(n):n.length;var t=o(n);return\"[object Map]\"==t||\"[object Set]\"==t?n.size:e(n).length}},function(n,t,r){var e=r(27),o=r(9),i=r(20);n.exports=function(n){return\"string\"==typeof n||!o(n)&&i(n)&&\"[object String]\"==e(n)}},function(n,t,r){var e=r(279),o=r(280),i=r(281);n.exports=function(n){return o(n)?i(n):e(n)}},function(n,t,r){var e=r(123)(\"length\");n.exports=e},function(n,t){var r=RegExp(\"[\\\\u200d\\\\ud800-\\\\udfff\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff\\\\ufe0e\\\\ufe0f]\");n.exports=function(n){return r.test(n)}},function(n,t){var r=\"[\\\\ud800-\\\\udfff]\",e=\"[\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff]\",o=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",i=\"[^\\\\ud800-\\\\udfff]\",u=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",a=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",c=\"(?:\"+e+\"|\"+o+\")\"+\"?\",f=\"[\\\\ufe0e\\\\ufe0f]?\"+c+(\"(?:\\\\u200d(?:\"+[i,u,a].join(\"|\")+\")[\\\\ufe0e\\\\ufe0f]?\"+c+\")*\"),s=\"(?:\"+[i+e+\"?\",e,u,a,r].join(\"|\")+\")\",l=RegExp(o+\"(?=\"+o+\")|\"+s+f,\"g\");n.exports=function(n){for(var t=l.lastIndex=0;l.test(n);)++t;return t}},function(n,t,r){var e=r(69),o=r(109),i=r(78),u=r(23),a=r(58),c=r(9),f=r(32),s=r(39),l=r(15),h=r(42);n.exports=function(n,t,r){var p=c(n),d=p||f(n)||h(n);if(t=u(t,4),null==r){var v=n&&n.constructor;r=d?p?new v:[]:l(n)&&s(v)?o(a(n)):{}}return(d?e:i)(n,(function(n,e,o){return t(r,n,e,o)})),r}},function(n,t,r){var e=r(83),o=r(62),i=r(288),u=r(132),a=o((function(n){return i(e(n,1,u,!0))}));n.exports=a},function(n,t,r){var e=r(31),o=r(41),i=r(9),u=e?e.isConcatSpreadable:void 0;n.exports=function(n){return i(n)||o(n)||!!(u&&n&&n[u])}},function(n,t){n.exports=function(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}},function(n,t,r){var e=r(77),o=r(95),i=r(28),u=o?function(n,t){return o(n,\"toString\",{configurable:!0,enumerable:!1,value:e(t),writable:!0})}:i;n.exports=u},function(n,t){var r=Date.now;n.exports=function(n){var t=0,e=0;return function(){var o=r(),i=16-(o-e);if(e=o,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}},function(n,t,r){var e=r(116),o=r(289),i=r(293),u=r(117),a=r(294),c=r(80);n.exports=function(n,t,r){var f=-1,s=o,l=n.length,h=!0,p=[],d=p;if(r)h=!1,s=i;else if(l>=200){var v=t?null:a(n);if(v)return c(v);h=!1,s=u,d=new e}else d=t?[]:p;n:for(;++f<l;){var g=n[f],y=t?t(g):g;if(g=r||0!==g?g:0,h&&y==y){for(var m=d.length;m--;)if(d[m]===y)continue n;t&&d.push(y),p.push(g)}else s(d,y,r)||(d!==p&&d.push(y),p.push(g))}return p}},function(n,t,r){var e=r(290);n.exports=function(n,t){return!!(null==n?0:n.length)&&e(n,t,0)>-1}},function(n,t,r){var e=r(131),o=r(291),i=r(292);n.exports=function(n,t,r){return t==t?i(n,t,r):e(n,o,r)}},function(n,t){n.exports=function(n){return n!=n}},function(n,t){n.exports=function(n,t,r){for(var e=r-1,o=n.length;++e<o;)if(n[e]===t)return e;return-1}},function(n,t){n.exports=function(n,t,r){for(var e=-1,o=null==n?0:n.length;++e<o;)if(r(t,n[e]))return!0;return!1}},function(n,t,r){var e=r(105),o=r(295),i=r(80),u=e&&1/i(new e([,-0]))[1]==1/0?function(n){return new e(n)}:o;n.exports=u},function(n,t){n.exports=function(){}},function(n,t,r){var e=r(61);n.exports=function(n,t){return e(t,(function(t){return n[t]}))}},function(n,t){n.exports=\"2.1.8\"},function(n,t,r){var e=r(14),o=r(66);function i(n){return e.map(n.nodes(),(function(t){var r=n.node(t),o=n.parent(t),i={v:t};return e.isUndefined(r)||(i.value=r),e.isUndefined(o)||(i.parent=o),i}))}function u(n){return e.map(n.edges(),(function(t){var r=n.edge(t),o={v:t.v,w:t.w};return e.isUndefined(t.name)||(o.name=t.name),e.isUndefined(r)||(o.value=r),o}))}n.exports={write:function(n){var t={options:{directed:n.isDirected(),multigraph:n.isMultigraph(),compound:n.isCompound()},nodes:i(n),edges:u(n)};e.isUndefined(n.graph())||(t.value=e.clone(n.graph()));return t},read:function(n){var t=new o(n.options).setGraph(n.value);return e.each(n.nodes,(function(n){t.setNode(n.v,n.value),n.parent&&t.setParent(n.v,n.parent)})),e.each(n.edges,(function(n){t.setEdge({v:n.v,w:n.w,name:n.name},n.value)})),t}}},function(n,t,r){n.exports={components:r(300),dijkstra:r(134),dijkstraAll:r(301),findCycles:r(302),floydWarshall:r(303),isAcyclic:r(304),postorder:r(305),preorder:r(306),prim:r(307),tarjan:r(136),topsort:r(137)}},function(n,t,r){var e=r(14);n.exports=function(n){var t,r={},o=[];function i(o){e.has(r,o)||(r[o]=!0,t.push(o),e.each(n.successors(o),i),e.each(n.predecessors(o),i))}return e.each(n.nodes(),(function(n){t=[],i(n),t.length&&o.push(t)})),o}},function(n,t,r){var e=r(134),o=r(14);n.exports=function(n,t,r){return o.transform(n.nodes(),(function(o,i){o[i]=e(n,i,t,r)}),{})}},function(n,t,r){var e=r(14),o=r(136);n.exports=function(n){return e.filter(o(n),(function(t){return t.length>1||1===t.length&&n.hasEdge(t[0],t[0])}))}},function(n,t,r){var e=r(14);n.exports=function(n,t,r){return function(n,t,r){var e={},o=n.nodes();return o.forEach((function(n){e[n]={},e[n][n]={distance:0},o.forEach((function(t){n!==t&&(e[n][t]={distance:Number.POSITIVE_INFINITY})})),r(n).forEach((function(r){var o=r.v===n?r.w:r.v,i=t(r);e[n][o]={distance:i,predecessor:n}}))})),o.forEach((function(n){var t=e[n];o.forEach((function(r){var i=e[r];o.forEach((function(r){var e=i[n],o=t[r],u=i[r],a=e.distance+o.distance;a<u.distance&&(u.distance=a,u.predecessor=o.predecessor)}))}))})),e}(n,t||o,r||function(t){return n.outEdges(t)})};var o=e.constant(1)},function(n,t,r){var e=r(137);n.exports=function(n){try{e(n)}catch(n){if(n instanceof e.CycleException)return!1;throw n}return!0}},function(n,t,r){var e=r(138);n.exports=function(n,t){return e(n,t,\"post\")}},function(n,t,r){var e=r(138);n.exports=function(n,t){return e(n,t,\"pre\")}},function(n,t,r){var e=r(14),o=r(66),i=r(135);n.exports=function(n,t){var r,u=new o,a={},c=new i;function f(n){var e=n.v===r?n.w:n.v,o=c.priority(e);if(void 0!==o){var i=t(n);i<o&&(a[e]=r,c.decrease(e,i))}}if(0===n.nodeCount())return u;e.each(n.nodes(),(function(n){c.add(n,Number.POSITIVE_INFINITY),u.setNode(n)})),c.decrease(n.nodes()[0],0);var s=!1;for(;c.size()>0;){if(r=c.removeMin(),e.has(a,r))u.setEdge(r,a[r]);else{if(s)throw new Error(\"Input graph is not connected: \"+n);s=!0}n.nodeEdges(r).forEach(f)}return u}},function(n,t,r){\"use strict\";var e=r(8),o=r(346),i=r(349),u=r(350),a=r(11).normalizeRanks,c=r(352),f=r(11).removeEmptyRanks,s=r(353),l=r(354),h=r(355),p=r(356),d=r(365),v=r(11),g=r(18).Graph;n.exports=function(n,t){var r=t&&t.debugTiming?v.time:v.notime;r(\"layout\",(function(){var t=r(\" buildLayoutGraph\",(function(){return function(n){var t=new g({multigraph:!0,compound:!0}),r=S(n.graph());return t.setGraph(e.merge({},m,O(r,y),e.pick(r,b))),e.forEach(n.nodes(),(function(r){var o=S(n.node(r));t.setNode(r,e.defaults(O(o,w),x)),t.setParent(r,n.parent(r))})),e.forEach(n.edges(),(function(r){var o=S(n.edge(r));t.setEdge(r,e.merge({},E,O(o,_),e.pick(o,j)))})),t}(n)}));r(\" runLayout\",(function(){!function(n,t){t(\" makeSpaceForEdgeLabels\",(function(){!function(n){var t=n.graph();t.ranksep/=2,e.forEach(n.edges(),(function(r){var e=n.edge(r);e.minlen*=2,\"c\"!==e.labelpos.toLowerCase()&&(\"TB\"===t.rankdir||\"BT\"===t.rankdir?e.width+=e.labeloffset:e.height+=e.labeloffset)}))}(n)})),t(\" removeSelfEdges\",(function(){!function(n){e.forEach(n.edges(),(function(t){if(t.v===t.w){var r=n.node(t.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:t,label:n.edge(t)}),n.removeEdge(t)}}))}(n)})),t(\" acyclic\",(function(){o.run(n)})),t(\" nestingGraph.run\",(function(){s.run(n)})),t(\" rank\",(function(){u(v.asNonCompoundGraph(n))})),t(\" injectEdgeLabelProxies\",(function(){!function(n){e.forEach(n.edges(),(function(t){var r=n.edge(t);if(r.width&&r.height){var e=n.node(t.v),o={rank:(n.node(t.w).rank-e.rank)/2+e.rank,e:t};v.addDummyNode(n,\"edge-proxy\",o,\"_ep\")}}))}(n)})),t(\" removeEmptyRanks\",(function(){f(n)})),t(\" nestingGraph.cleanup\",(function(){s.cleanup(n)})),t(\" normalizeRanks\",(function(){a(n)})),t(\" assignRankMinMax\",(function(){!function(n){var t=0;e.forEach(n.nodes(),(function(r){var o=n.node(r);o.borderTop&&(o.minRank=n.node(o.borderTop).rank,o.maxRank=n.node(o.borderBottom).rank,t=e.max(t,o.maxRank))})),n.graph().maxRank=t}(n)})),t(\" removeEdgeLabelProxies\",(function(){!function(n){e.forEach(n.nodes(),(function(t){var r=n.node(t);\"edge-proxy\"===r.dummy&&(n.edge(r.e).labelRank=r.rank,n.removeNode(t))}))}(n)})),t(\" normalize.run\",(function(){i.run(n)})),t(\" parentDummyChains\",(function(){c(n)})),t(\" addBorderSegments\",(function(){l(n)})),t(\" order\",(function(){p(n)})),t(\" insertSelfEdges\",(function(){!function(n){var t=v.buildLayerMatrix(n);e.forEach(t,(function(t){var r=0;e.forEach(t,(function(t,o){var i=n.node(t);i.order=o+r,e.forEach(i.selfEdges,(function(t){v.addDummyNode(n,\"selfedge\",{width:t.label.width,height:t.label.height,rank:i.rank,order:o+ ++r,e:t.e,label:t.label},\"_se\")})),delete i.selfEdges}))}))}(n)})),t(\" adjustCoordinateSystem\",(function(){h.adjust(n)})),t(\" position\",(function(){d(n)})),t(\" positionSelfEdges\",(function(){!function(n){e.forEach(n.nodes(),(function(t){var r=n.node(t);if(\"selfedge\"===r.dummy){var e=n.node(r.e.v),o=e.x+e.width/2,i=e.y,u=r.x-o,a=e.height/2;n.setEdge(r.e,r.label),n.removeNode(t),r.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],r.label.x=r.x,r.label.y=r.y}}))}(n)})),t(\" removeBorderNodes\",(function(){!function(n){e.forEach(n.nodes(),(function(t){if(n.children(t).length){var r=n.node(t),o=n.node(r.borderTop),i=n.node(r.borderBottom),u=n.node(e.last(r.borderLeft)),a=n.node(e.last(r.borderRight));r.width=Math.abs(a.x-u.x),r.height=Math.abs(i.y-o.y),r.x=u.x+r.width/2,r.y=o.y+r.height/2}})),e.forEach(n.nodes(),(function(t){\"border\"===n.node(t).dummy&&n.removeNode(t)}))}(n)})),t(\" normalize.undo\",(function(){i.undo(n)})),t(\" fixupEdgeLabelCoords\",(function(){!function(n){e.forEach(n.edges(),(function(t){var r=n.edge(t);if(e.has(r,\"x\"))switch(\"l\"!==r.labelpos&&\"r\"!==r.labelpos||(r.width-=r.labeloffset),r.labelpos){case\"l\":r.x-=r.width/2+r.labeloffset;break;case\"r\":r.x+=r.width/2+r.labeloffset}}))}(n)})),t(\" undoCoordinateSystem\",(function(){h.undo(n)})),t(\" translateGraph\",(function(){!function(n){var t=Number.POSITIVE_INFINITY,r=0,o=Number.POSITIVE_INFINITY,i=0,u=n.graph(),a=u.marginx||0,c=u.marginy||0;function f(n){var e=n.x,u=n.y,a=n.width,c=n.height;t=Math.min(t,e-a/2),r=Math.max(r,e+a/2),o=Math.min(o,u-c/2),i=Math.max(i,u+c/2)}e.forEach(n.nodes(),(function(t){f(n.node(t))})),e.forEach(n.edges(),(function(t){var r=n.edge(t);e.has(r,\"x\")&&f(r)})),t-=a,o-=c,e.forEach(n.nodes(),(function(r){var e=n.node(r);e.x-=t,e.y-=o})),e.forEach(n.edges(),(function(r){var i=n.edge(r);e.forEach(i.points,(function(n){n.x-=t,n.y-=o})),e.has(i,\"x\")&&(i.x-=t),e.has(i,\"y\")&&(i.y-=o)})),u.width=r-t+a,u.height=i-o+c}(n)})),t(\" assignNodeIntersects\",(function(){!function(n){e.forEach(n.edges(),(function(t){var r,e,o=n.edge(t),i=n.node(t.v),u=n.node(t.w);o.points?(r=o.points[0],e=o.points[o.points.length-1]):(o.points=[],r=u,e=i),o.points.unshift(v.intersectRect(i,r)),o.points.push(v.intersectRect(u,e))}))}(n)})),t(\" reversePoints\",(function(){!function(n){e.forEach(n.edges(),(function(t){var r=n.edge(t);r.reversed&&r.points.reverse()}))}(n)})),t(\" acyclic.undo\",(function(){o.undo(n)}))}(t,r)})),r(\" updateInputGraph\",(function(){!function(n,t){e.forEach(n.nodes(),(function(r){var e=n.node(r),o=t.node(r);e&&(e.x=o.x,e.y=o.y,t.children(r).length&&(e.width=o.width,e.height=o.height))})),e.forEach(n.edges(),(function(r){var o=n.edge(r),i=t.edge(r);o.points=i.points,e.has(i,\"x\")&&(o.x=i.x,o.y=i.y)})),n.graph().width=t.graph().width,n.graph().height=t.graph().height}(n,t)}))}))};var y=[\"nodesep\",\"edgesep\",\"ranksep\",\"marginx\",\"marginy\"],m={ranksep:50,edgesep:20,nodesep:50,rankdir:\"tb\"},b=[\"acyclicer\",\"ranker\",\"rankdir\",\"align\"],w=[\"width\",\"height\"],x={width:0,height:0},_=[\"minlen\",\"weight\",\"width\",\"height\",\"labeloffset\"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:\"r\"},j=[\"labelpos\"];function O(n,t){return e.mapValues(e.pick(n,t),Number)}function S(n){var t={};return e.forEach(n,(function(n,r){t[r.toLowerCase()]=n})),t}},function(n,t,r){var e=r(92);n.exports=function(n){return e(n,5)}},function(n,t,r){var e=r(62),o=r(30),i=r(63),u=r(33),a=Object.prototype,c=a.hasOwnProperty,f=e((function(n,t){n=Object(n);var r=-1,e=t.length,f=e>2?t[2]:void 0;for(f&&i(t[0],t[1],f)&&(e=1);++r<e;)for(var s=t[r],l=u(s),h=-1,p=l.length;++h<p;){var d=l[h],v=n[d];(void 0===v||o(v,a[d])&&!c.call(n,d))&&(n[d]=s[d])}return n}));n.exports=f},function(n,t,r){var e=r(312)(r(313));n.exports=e},function(n,t,r){var e=r(23),o=r(22),i=r(24);n.exports=function(n){return function(t,r,u){var a=Object(t);if(!o(t)){var c=e(r,3);t=i(t),r=function(n){return c(a[n],n,a)}}var f=n(t,r,u);return f>-1?a[c?t[f]:f]:void 0}}},function(n,t,r){var e=r(131),o=r(23),i=r(314),u=Math.max;n.exports=function(n,t,r){var a=null==n?0:n.length;if(!a)return-1;var c=null==r?0:i(r);return c<0&&(c=u(a+c,0)),e(n,o(t,3),c)}},function(n,t,r){var e=r(139);n.exports=function(n){var t=e(n),r=t%1;return t==t?r?t-r:t:0}},function(n,t,r){var e=r(15),o=r(35),i=/^\\s+|\\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;n.exports=function(n){if(\"number\"==typeof n)return n;if(o(n))return NaN;if(e(n)){var t=\"function\"==typeof n.valueOf?n.valueOf():n;n=e(t)?t+\"\":t}if(\"string\"!=typeof n)return 0===n?n:+n;n=n.replace(i,\"\");var r=a.test(n);return r||c.test(n)?f(n.slice(2),r?2:8):u.test(n)?NaN:+n}},function(n,t,r){var e=r(79),o=r(112),i=r(33);n.exports=function(n,t){return null==n?n:e(n,o(t),i)}},function(n,t){n.exports=function(n){var t=null==n?0:n.length;return t?n[t-1]:void 0}},function(n,t,r){var e=r(54),o=r(78),i=r(23);n.exports=function(n,t){var r={};return t=i(t,3),o(n,(function(n,o,i){e(r,o,t(n,o,i))})),r}},function(n,t,r){var e=r(84),o=r(320),i=r(28);n.exports=function(n){return n&&n.length?e(n,i,o):void 0}},function(n,t){n.exports=function(n,t){return n>t}},function(n,t,r){var e=r(322),o=r(326)((function(n,t,r){e(n,t,r)}));n.exports=o},function(n,t,r){var e=r(48),o=r(141),i=r(79),u=r(323),a=r(15),c=r(33),f=r(142);n.exports=function n(t,r,s,l,h){t!==r&&i(r,(function(i,c){if(h||(h=new e),a(i))u(t,r,c,s,n,l,h);else{var p=l?l(f(t,c),i,c+\"\",t,r,h):void 0;void 0===p&&(p=i),o(t,c,p)}}),c)}},function(n,t,r){var e=r(141),o=r(98),i=r(107),u=r(99),a=r(108),c=r(41),f=r(9),s=r(132),l=r(32),h=r(39),p=r(15),d=r(324),v=r(42),g=r(142),y=r(325);n.exports=function(n,t,r,m,b,w,x){var _=g(n,r),E=g(t,r),j=x.get(E);if(j)e(n,r,j);else{var O=w?w(_,E,r+\"\",n,t,x):void 0,S=void 0===O;if(S){var M=f(E),T=!M&&l(E),k=!M&&!T&&v(E);O=E,M||T||k?f(_)?O=_:s(_)?O=u(_):T?(S=!1,O=o(E,!0)):k?(S=!1,O=i(E,!0)):O=[]:d(E)||c(E)?(O=_,c(_)?O=y(_):p(_)&&!h(_)||(O=a(E))):S=!1}S&&(x.set(E,O),b(O,E,m,w,x),x.delete(E)),e(n,r,O)}}},function(n,t,r){var e=r(27),o=r(58),i=r(20),u=Function.prototype,a=Object.prototype,c=u.toString,f=a.hasOwnProperty,s=c.call(Object);n.exports=function(n){if(!i(n)||\"[object Object]\"!=e(n))return!1;var t=o(n);if(null===t)return!0;var r=f.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof r&&r instanceof r&&c.call(r)==s}},function(n,t,r){var e=r(40),o=r(33);n.exports=function(n){return e(n,o(n))}},function(n,t,r){var e=r(62),o=r(63);n.exports=function(n){return e((function(t,r){var e=-1,i=r.length,u=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(u=n.length>3&&\"function\"==typeof u?(i--,u):void 0,a&&o(r[0],r[1],a)&&(u=i<3?void 0:u,i=1),t=Object(t);++e<i;){var c=r[e];c&&n(t,c,e,u)}return t}))}},function(n,t,r){var e=r(84),o=r(143),i=r(28);n.exports=function(n){return n&&n.length?e(n,i,o):void 0}},function(n,t,r){var e=r(84),o=r(23),i=r(143);n.exports=function(n,t){return n&&n.length?e(n,o(t,2),i):void 0}},function(n,t,r){var e=r(19);n.exports=function(){return e.Date.now()}},function(n,t,r){var e=r(331),o=r(334)((function(n,t){return null==n?{}:e(n,t)}));n.exports=o},function(n,t,r){var e=r(332),o=r(121);n.exports=function(n,t){return e(n,t,(function(t,r){return o(n,r)}))}},function(n,t,r){var e=r(81),o=r(333),i=r(60);n.exports=function(n,t,r){for(var u=-1,a=t.length,c={};++u<a;){var f=t[u],s=e(n,f);r(s,f)&&o(c,i(f,n),s)}return c}},function(n,t,r){var e=r(53),o=r(60),i=r(55),u=r(15),a=r(43);n.exports=function(n,t,r,c){if(!u(n))return n;for(var f=-1,s=(t=o(t,n)).length,l=s-1,h=n;null!=h&&++f<s;){var p=a(t[f]),d=r;if(f!=l){var v=h[p];void 0===(d=c?c(v,p,h):void 0)&&(d=u(v)?v:i(t[f+1])?[]:{})}e(h,p,d),h=h[p]}return n}},function(n,t,r){var e=r(140),o=r(129),i=r(130);n.exports=function(n){return i(o(n,void 0,e),n+\"\")}},function(n,t,r){var e=r(336)();n.exports=e},function(n,t,r){var e=r(337),o=r(63),i=r(139);n.exports=function(n){return function(t,r,u){return u&&\"number\"!=typeof u&&o(t,r,u)&&(r=u=void 0),t=i(t),void 0===r?(r=t,t=0):r=i(r),u=void 0===u?t<r?1:-1:i(u),e(t,r,u,n)}}},function(n,t){var r=Math.ceil,e=Math.max;n.exports=function(n,t,o,i){for(var u=-1,a=e(r((t-n)/(o||1)),0),c=Array(a);a--;)c[i?a:++u]=n,n+=o;return c}},function(n,t,r){var e=r(83),o=r(339),i=r(62),u=r(63),a=i((function(n,t){if(null==n)return[];var r=t.length;return r>1&&u(n,t[0],t[1])?t=[]:r>2&&u(t[0],t[1],t[2])&&(t=[t[0]]),o(n,e(t,1),[])}));n.exports=a},function(n,t,r){var e=r(61),o=r(23),i=r(127),u=r(340),a=r(56),c=r(341),f=r(28);n.exports=function(n,t,r){var s=-1;t=e(t.length?t:[f],a(o));var l=i(n,(function(n,r,o){return{criteria:e(t,(function(t){return t(n)})),index:++s,value:n}}));return u(l,(function(n,t){return c(n,t,r)}))}},function(n,t){n.exports=function(n,t){var r=n.length;for(n.sort(t);r--;)n[r]=n[r].value;return n}},function(n,t,r){var e=r(342);n.exports=function(n,t,r){for(var o=-1,i=n.criteria,u=t.criteria,a=i.length,c=r.length;++o<a;){var f=e(i[o],u[o]);if(f)return o>=c?f:f*(\"desc\"==r[o]?-1:1)}return n.index-t.index}},function(n,t,r){var e=r(35);n.exports=function(n,t){if(n!==t){var r=void 0!==n,o=null===n,i=n==n,u=e(n),a=void 0!==t,c=null===t,f=t==t,s=e(t);if(!c&&!s&&!u&&n>t||u&&a&&f&&!c&&!s||o&&a&&f||!r&&f||!i)return 1;if(!o&&!u&&!s&&n<t||s&&r&&i&&!o&&!u||c&&r&&i||!a&&i||!f)return-1}return 0}},function(n,t,r){var e=r(120),o=0;n.exports=function(n){var t=++o;return e(n)+t}},function(n,t,r){var e=r(53),o=r(345);n.exports=function(n,t){return o(n||[],t||[],e)}},function(n,t){n.exports=function(n,t,r){for(var e=-1,o=n.length,i=t.length,u={};++e<o;){var a=e<i?t[e]:void 0;r(u,n[e],a)}return u}},function(n,t,r){\"use strict\";var e=r(8),o=r(347);n.exports={run:function(n){var t=\"greedy\"===n.graph().acyclicer?o(n,function(n){return function(t){return n.edge(t).weight}}(n)):function(n){var t=[],r={},o={};function i(u){e.has(o,u)||(o[u]=!0,r[u]=!0,e.forEach(n.outEdges(u),(function(n){e.has(r,n.w)?t.push(n):i(n.w)})),delete r[u])}return e.forEach(n.nodes(),i),t}(n);e.forEach(t,(function(t){var r=n.edge(t);n.removeEdge(t),r.forwardName=t.name,r.reversed=!0,n.setEdge(t.w,t.v,r,e.uniqueId(\"rev\"))}))},undo:function(n){e.forEach(n.edges(),(function(t){var r=n.edge(t);if(r.reversed){n.removeEdge(t);var e=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(t.w,t.v,r,e)}}))}}},function(n,t,r){var e=r(8),o=r(18).Graph,i=r(348);n.exports=function(n,t){if(n.nodeCount()<=1)return[];var r=function(n,t){var r=new o,u=0,a=0;e.forEach(n.nodes(),(function(n){r.setNode(n,{v:n,in:0,out:0})})),e.forEach(n.edges(),(function(n){var e=r.edge(n.v,n.w)||0,o=t(n),i=e+o;r.setEdge(n.v,n.w,i),a=Math.max(a,r.node(n.v).out+=o),u=Math.max(u,r.node(n.w).in+=o)}));var f=e.range(a+u+3).map((function(){return new i})),s=u+1;return e.forEach(r.nodes(),(function(n){c(f,s,r.node(n))})),{graph:r,buckets:f,zeroIdx:s}}(n,t||u),f=function(n,t,r){var e,o=[],i=t[t.length-1],u=t[0];for(;n.nodeCount();){for(;e=u.dequeue();)a(n,t,r,e);for(;e=i.dequeue();)a(n,t,r,e);if(n.nodeCount())for(var c=t.length-2;c>0;--c)if(e=t[c].dequeue()){o=o.concat(a(n,t,r,e,!0));break}}return o}(r.graph,r.buckets,r.zeroIdx);return e.flatten(e.map(f,(function(t){return n.outEdges(t.v,t.w)})),!0)};var u=e.constant(1);function a(n,t,r,o,i){var u=i?[]:void 0;return e.forEach(n.inEdges(o.v),(function(e){var o=n.edge(e),a=n.node(e.v);i&&u.push({v:e.v,w:e.w}),a.out-=o,c(t,r,a)})),e.forEach(n.outEdges(o.v),(function(e){var o=n.edge(e),i=e.w,u=n.node(i);u.in-=o,c(t,r,u)})),n.removeNode(o.v),u}function c(n,t,r){r.out?r.in?n[r.out-r.in+t].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}},function(n,t){function r(){var n={};n._next=n._prev=n,this._sentinel=n}function e(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function o(n,t){if(\"_next\"!==n&&\"_prev\"!==n)return t}n.exports=r,r.prototype.dequeue=function(){var n=this._sentinel,t=n._prev;if(t!==n)return e(t),t},r.prototype.enqueue=function(n){var t=this._sentinel;n._prev&&n._next&&e(n),n._next=t._next,t._next._prev=n,t._next=n,n._prev=t},r.prototype.toString=function(){for(var n=[],t=this._sentinel,r=t._prev;r!==t;)n.push(JSON.stringify(r,o)),r=r._prev;return\"[\"+n.join(\", \")+\"]\"}},function(n,t,r){\"use strict\";var e=r(8),o=r(11);n.exports={run:function(n){n.graph().dummyChains=[],e.forEach(n.edges(),(function(t){!function(n,t){var r,e,i,u=t.v,a=n.node(u).rank,c=t.w,f=n.node(c).rank,s=t.name,l=n.edge(t),h=l.labelRank;if(f===a+1)return;for(n.removeEdge(t),i=0,++a;a<f;++i,++a)l.points=[],e={width:0,height:0,edgeLabel:l,edgeObj:t,rank:a},r=o.addDummyNode(n,\"edge\",e,\"_d\"),a===h&&(e.width=l.width,e.height=l.height,e.dummy=\"edge-label\",e.labelpos=l.labelpos),n.setEdge(u,r,{weight:l.weight},s),0===i&&n.graph().dummyChains.push(r),u=r;n.setEdge(u,c,{weight:l.weight},s)}(n,t)}))},undo:function(n){e.forEach(n.graph().dummyChains,(function(t){var r,e=n.node(t),o=e.edgeLabel;for(n.setEdge(e.edgeObj,o);e.dummy;)r=n.successors(t)[0],n.removeNode(t),o.points.push({x:e.x,y:e.y}),\"edge-label\"===e.dummy&&(o.x=e.x,o.y=e.y,o.width=e.width,o.height=e.height),t=r,e=n.node(t)}))}}},function(n,t,r){\"use strict\";var e=r(64).longestPath,o=r(144),i=r(351);n.exports=function(n){switch(n.graph().ranker){case\"network-simplex\":a(n);break;case\"tight-tree\":!function(n){e(n),o(n)}(n);break;case\"longest-path\":u(n);break;default:a(n)}};var u=e;function a(n){i(n)}},function(n,t,r){\"use strict\";var e=r(8),o=r(144),i=r(64).slack,u=r(64).longestPath,a=r(18).alg.preorder,c=r(18).alg.postorder,f=r(11).simplify;function s(n){n=f(n),u(n);var t,r=o(n);for(p(r),l(r,n);t=v(r);)y(r,n,t,g(r,n,t))}function l(n,t){var r=c(n,n.nodes());r=r.slice(0,r.length-1),e.forEach(r,(function(r){!function(n,t,r){var e=n.node(r).parent;n.edge(r,e).cutvalue=h(n,t,r)}(n,t,r)}))}function h(n,t,r){var o=n.node(r).parent,i=!0,u=t.edge(r,o),a=0;return u||(i=!1,u=t.edge(o,r)),a=u.weight,e.forEach(t.nodeEdges(r),(function(e){var u,c,f=e.v===r,s=f?e.w:e.v;if(s!==o){var l=f===i,h=t.edge(e).weight;if(a+=l?h:-h,u=r,c=s,n.hasEdge(u,c)){var p=n.edge(r,s).cutvalue;a+=l?-p:p}}})),a}function p(n,t){arguments.length<2&&(t=n.nodes()[0]),d(n,{},1,t)}function d(n,t,r,o,i){var u=r,a=n.node(o);return t[o]=!0,e.forEach(n.neighbors(o),(function(i){e.has(t,i)||(r=d(n,t,r,i,o))})),a.low=u,a.lim=r++,i?a.parent=i:delete a.parent,r}function v(n){return e.find(n.edges(),(function(t){return n.edge(t).cutvalue<0}))}function g(n,t,r){var o=r.v,u=r.w;t.hasEdge(o,u)||(o=r.w,u=r.v);var a=n.node(o),c=n.node(u),f=a,s=!1;a.lim>c.lim&&(f=c,s=!0);var l=e.filter(t.edges(),(function(t){return s===m(n,n.node(t.v),f)&&s!==m(n,n.node(t.w),f)}));return e.minBy(l,(function(n){return i(t,n)}))}function y(n,t,r,o){var i=r.v,u=r.w;n.removeEdge(i,u),n.setEdge(o.v,o.w,{}),p(n),l(n,t),function(n,t){var r=e.find(n.nodes(),(function(n){return!t.node(n).parent})),o=a(n,r);o=o.slice(1),e.forEach(o,(function(r){var e=n.node(r).parent,o=t.edge(r,e),i=!1;o||(o=t.edge(e,r),i=!0),t.node(r).rank=t.node(e).rank+(i?o.minlen:-o.minlen)}))}(n,t)}function m(n,t,r){return r.low<=t.lim&&t.lim<=r.lim}n.exports=s,s.initLowLimValues=p,s.initCutValues=l,s.calcCutValue=h,s.leaveEdge=v,s.enterEdge=g,s.exchangeEdges=y},function(n,t,r){var e=r(8);n.exports=function(n){var t=function(n){var t={},r=0;function o(i){var u=r;e.forEach(n.children(i),o),t[i]={low:u,lim:r++}}return e.forEach(n.children(),o),t}(n);e.forEach(n.graph().dummyChains,(function(r){for(var e=n.node(r),o=e.edgeObj,i=function(n,t,r,e){var o,i,u=[],a=[],c=Math.min(t[r].low,t[e].low),f=Math.max(t[r].lim,t[e].lim);o=r;do{o=n.parent(o),u.push(o)}while(o&&(t[o].low>c||f>t[o].lim));i=o,o=e;for(;(o=n.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,t,o.v,o.w),u=i.path,a=i.lca,c=0,f=u[c],s=!0;r!==o.w;){if(e=n.node(r),s){for(;(f=u[c])!==a&&n.node(f).maxRank<e.rank;)c++;f===a&&(s=!1)}if(!s){for(;c<u.length-1&&n.node(f=u[c+1]).minRank<=e.rank;)c++;f=u[c]}n.setParent(r,f),r=n.successors(r)[0]}}))}},function(n,t,r){var e=r(8),o=r(11);n.exports={run:function(n){var t=o.addDummyNode(n,\"root\",{},\"_root\"),r=function(n){var t={};return e.forEach(n.children(),(function(r){!function r(o,i){var u=n.children(o);u&&u.length&&e.forEach(u,(function(n){r(n,i+1)}));t[o]=i}(r,1)})),t}(n),i=e.max(e.values(r))-1,u=2*i+1;n.graph().nestingRoot=t,e.forEach(n.edges(),(function(t){n.edge(t).minlen*=u}));var a=function(n){return e.reduce(n.edges(),(function(t,r){return t+n.edge(r).weight}),0)}(n)+1;e.forEach(n.children(),(function(c){!function n(t,r,i,u,a,c,f){var s=t.children(f);if(!s.length)return void(f!==r&&t.setEdge(r,f,{weight:0,minlen:i}));var l=o.addBorderNode(t,\"_bt\"),h=o.addBorderNode(t,\"_bb\"),p=t.node(f);t.setParent(l,f),p.borderTop=l,t.setParent(h,f),p.borderBottom=h,e.forEach(s,(function(e){n(t,r,i,u,a,c,e);var o=t.node(e),s=o.borderTop?o.borderTop:e,p=o.borderBottom?o.borderBottom:e,d=o.borderTop?u:2*u,v=s!==p?1:a-c[f]+1;t.setEdge(l,s,{weight:d,minlen:v,nestingEdge:!0}),t.setEdge(p,h,{weight:d,minlen:v,nestingEdge:!0})})),t.parent(f)||t.setEdge(r,l,{weight:0,minlen:a+c[f]})}(n,t,u,a,i,r,c)})),n.graph().nodeRankFactor=u},cleanup:function(n){var t=n.graph();n.removeNode(t.nestingRoot),delete t.nestingRoot,e.forEach(n.edges(),(function(t){n.edge(t).nestingEdge&&n.removeEdge(t)}))}}},function(n,t,r){var e=r(8),o=r(11);function i(n,t,r,e,i,u){var a={width:0,height:0,rank:u,borderType:t},c=i[t][u-1],f=o.addDummyNode(n,\"border\",a,r);i[t][u]=f,n.setParent(f,e),c&&n.setEdge(c,f,{weight:1})}n.exports=function(n){e.forEach(n.children(),(function t(r){var o=n.children(r),u=n.node(r);if(o.length&&e.forEach(o,t),e.has(u,\"minRank\")){u.borderLeft=[],u.borderRight=[];for(var a=u.minRank,c=u.maxRank+1;a<c;++a)i(n,\"borderLeft\",\"_bl\",r,u,a),i(n,\"borderRight\",\"_br\",r,u,a)}}))}},function(n,t,r){\"use strict\";var e=r(8);function o(n){e.forEach(n.nodes(),(function(t){i(n.node(t))})),e.forEach(n.edges(),(function(t){i(n.edge(t))}))}function i(n){var t=n.width;n.width=n.height,n.height=t}function u(n){n.y=-n.y}function a(n){var t=n.x;n.x=n.y,n.y=t}n.exports={adjust:function(n){var t=n.graph().rankdir.toLowerCase();\"lr\"!==t&&\"rl\"!==t||o(n)},undo:function(n){var t=n.graph().rankdir.toLowerCase();\"bt\"!==t&&\"rl\"!==t||function(n){e.forEach(n.nodes(),(function(t){u(n.node(t))})),e.forEach(n.edges(),(function(t){var r=n.edge(t);e.forEach(r.points,u),e.has(r,\"y\")&&u(r)}))}(n);\"lr\"!==t&&\"rl\"!==t||(!function(n){e.forEach(n.nodes(),(function(t){a(n.node(t))})),e.forEach(n.edges(),(function(t){var r=n.edge(t);e.forEach(r.points,a),e.has(r,\"x\")&&a(r)}))}(n),o(n))}}},function(n,t,r){\"use strict\";var e=r(8),o=r(357),i=r(358),u=r(359),a=r(363),c=r(364),f=r(18).Graph,s=r(11);function l(n,t,r){return e.map(t,(function(t){return a(n,t,r)}))}function h(n,t){var r=new f;e.forEach(n,(function(n){var o=n.graph().root,i=u(n,o,r,t);e.forEach(i.vs,(function(t,r){n.node(t).order=r})),c(n,r,i.vs)}))}function p(n,t){e.forEach(t,(function(t){e.forEach(t,(function(t,r){n.node(t).order=r}))}))}n.exports=function(n){var t=s.maxRank(n),r=l(n,e.range(1,t+1),\"inEdges\"),u=l(n,e.range(t-1,-1,-1),\"outEdges\"),a=o(n);p(n,a);for(var c,f=Number.POSITIVE_INFINITY,d=0,v=0;v<4;++d,++v){h(d%2?r:u,d%4>=2),a=s.buildLayerMatrix(n);var g=i(n,a);g<f&&(v=0,c=e.cloneDeep(a),f=g)}p(n,c)}},function(n,t,r){\"use strict\";var e=r(8);n.exports=function(n){var t={},r=e.filter(n.nodes(),(function(t){return!n.children(t).length})),o=e.max(e.map(r,(function(t){return n.node(t).rank}))),i=e.map(e.range(o+1),(function(){return[]}));var u=e.sortBy(r,(function(t){return n.node(t).rank}));return e.forEach(u,(function r(o){if(e.has(t,o))return;t[o]=!0;var u=n.node(o);i[u.rank].push(o),e.forEach(n.successors(o),r)})),i}},function(n,t,r){\"use strict\";var e=r(8);function o(n,t,r){for(var o=e.zipObject(r,e.map(r,(function(n,t){return t}))),i=e.flatten(e.map(t,(function(t){return e.sortBy(e.map(n.outEdges(t),(function(t){return{pos:o[t.w],weight:n.edge(t).weight}})),\"pos\")})),!0),u=1;u<r.length;)u<<=1;var a=2*u-1;u-=1;var c=e.map(new Array(a),(function(){return 0})),f=0;return e.forEach(i.forEach((function(n){var t=n.pos+u;c[t]+=n.weight;for(var r=0;t>0;)t%2&&(r+=c[t+1]),c[t=t-1>>1]+=n.weight;f+=n.weight*r}))),f}n.exports=function(n,t){for(var r=0,e=1;e<t.length;++e)r+=o(n,t[e-1],t[e]);return r}},function(n,t,r){var e=r(8),o=r(360),i=r(361),u=r(362);n.exports=function n(t,r,a,c){var f=t.children(r),s=t.node(r),l=s?s.borderLeft:void 0,h=s?s.borderRight:void 0,p={};l&&(f=e.filter(f,(function(n){return n!==l&&n!==h})));var d=o(t,f);e.forEach(d,(function(r){if(t.children(r.v).length){var o=n(t,r.v,a,c);p[r.v]=o,e.has(o,\"barycenter\")&&(i=r,u=o,e.isUndefined(i.barycenter)?(i.barycenter=u.barycenter,i.weight=u.weight):(i.barycenter=(i.barycenter*i.weight+u.barycenter*u.weight)/(i.weight+u.weight),i.weight+=u.weight))}var i,u}));var v=i(d,a);!function(n,t){e.forEach(n,(function(n){n.vs=e.flatten(n.vs.map((function(n){return t[n]?t[n].vs:n})),!0)}))}(v,p);var g=u(v,c);if(l&&(g.vs=e.flatten([l,g.vs,h],!0),t.predecessors(l).length)){var y=t.node(t.predecessors(l)[0]),m=t.node(t.predecessors(h)[0]);e.has(g,\"barycenter\")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+y.order+m.order)/(g.weight+2),g.weight+=2}return g}},function(n,t,r){var e=r(8);n.exports=function(n,t){return e.map(t,(function(t){var r=n.inEdges(t);if(r.length){var o=e.reduce(r,(function(t,r){var e=n.edge(r),o=n.node(r.v);return{sum:t.sum+e.weight*o.order,weight:t.weight+e.weight}}),{sum:0,weight:0});return{v:t,barycenter:o.sum/o.weight,weight:o.weight}}return{v:t}}))}},function(n,t,r){\"use strict\";var e=r(8);n.exports=function(n,t){var r={};return e.forEach(n,(function(n,t){var o=r[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:t};e.isUndefined(n.barycenter)||(o.barycenter=n.barycenter,o.weight=n.weight)})),e.forEach(t.edges(),(function(n){var t=r[n.v],o=r[n.w];e.isUndefined(t)||e.isUndefined(o)||(o.indegree++,t.out.push(r[n.w]))})),function(n){var t=[];function r(n){return function(t){t.merged||(e.isUndefined(t.barycenter)||e.isUndefined(n.barycenter)||t.barycenter>=n.barycenter)&&function(n,t){var r=0,e=0;n.weight&&(r+=n.barycenter*n.weight,e+=n.weight);t.weight&&(r+=t.barycenter*t.weight,e+=t.weight);n.vs=t.vs.concat(n.vs),n.barycenter=r/e,n.weight=e,n.i=Math.min(t.i,n.i),t.merged=!0}(n,t)}}function o(t){return function(r){r.in.push(t),0==--r.indegree&&n.push(r)}}for(;n.length;){var i=n.pop();t.push(i),e.forEach(i.in.reverse(),r(i)),e.forEach(i.out,o(i))}return e.map(e.filter(t,(function(n){return!n.merged})),(function(n){return e.pick(n,[\"vs\",\"i\",\"barycenter\",\"weight\"])}))}(e.filter(r,(function(n){return!n.indegree})))}},function(n,t,r){var e=r(8),o=r(11);function i(n,t,r){for(var o;t.length&&(o=e.last(t)).i<=r;)t.pop(),n.push(o.vs),r++;return r}n.exports=function(n,t){var r=o.partition(n,(function(n){return e.has(n,\"barycenter\")})),u=r.lhs,a=e.sortBy(r.rhs,(function(n){return-n.i})),c=[],f=0,s=0,l=0;u.sort((h=!!t,function(n,t){return n.barycenter<t.barycenter?-1:n.barycenter>t.barycenter?1:h?t.i-n.i:n.i-t.i})),l=i(c,a,l),e.forEach(u,(function(n){l+=n.vs.length,c.push(n.vs),f+=n.barycenter*n.weight,s+=n.weight,l=i(c,a,l)}));var h;var p={vs:e.flatten(c,!0)};s&&(p.barycenter=f/s,p.weight=s);return p}},function(n,t,r){var e=r(8),o=r(18).Graph;n.exports=function(n,t,r){var i=function(n){var t;for(;n.hasNode(t=e.uniqueId(\"_root\")););return t}(n),u=new o({compound:!0}).setGraph({root:i}).setDefaultNodeLabel((function(t){return n.node(t)}));return e.forEach(n.nodes(),(function(o){var a=n.node(o),c=n.parent(o);(a.rank===t||a.minRank<=t&&t<=a.maxRank)&&(u.setNode(o),u.setParent(o,c||i),e.forEach(n[r](o),(function(t){var r=t.v===o?t.w:t.v,i=u.edge(r,o),a=e.isUndefined(i)?0:i.weight;u.setEdge(r,o,{weight:n.edge(t).weight+a})})),e.has(a,\"minRank\")&&u.setNode(o,{borderLeft:a.borderLeft[t],borderRight:a.borderRight[t]}))})),u}},function(n,t,r){var e=r(8);n.exports=function(n,t,r){var o,i={};e.forEach(r,(function(r){for(var e,u,a=n.parent(r);a;){if((e=n.parent(a))?(u=i[e],i[e]=a):(u=o,o=a),u&&u!==a)return void t.setEdge(u,a);a=e}}))}},function(n,t,r){\"use strict\";var e=r(8),o=r(11),i=r(366).positionX;n.exports=function(n){(function(n){var t=o.buildLayerMatrix(n),r=n.graph().ranksep,i=0;e.forEach(t,(function(t){var o=e.max(e.map(t,(function(t){return n.node(t).height})));e.forEach(t,(function(t){n.node(t).y=i+o/2})),i+=o+r}))})(n=o.asNonCompoundGraph(n)),e.forEach(i(n),(function(t,r){n.node(r).x=t}))}},function(n,t,r){\"use strict\";var e=r(8),o=r(18).Graph,i=r(11);function u(n,t){var r={};return e.reduce(t,(function(t,o){var i=0,u=0,a=t.length,f=e.last(o);return e.forEach(o,(function(t,s){var l=function(n,t){if(n.node(t).dummy)return e.find(n.predecessors(t),(function(t){return n.node(t).dummy}))}(n,t),h=l?n.node(l).order:a;(l||t===f)&&(e.forEach(o.slice(u,s+1),(function(t){e.forEach(n.predecessors(t),(function(e){var o=n.node(e),u=o.order;!(u<i||h<u)||o.dummy&&n.node(t).dummy||c(r,e,t)}))})),u=s+1,i=h)})),o})),r}function a(n,t){var r={};function o(t,o,i,u,a){var f;e.forEach(e.range(o,i),(function(o){f=t[o],n.node(f).dummy&&e.forEach(n.predecessors(f),(function(t){var e=n.node(t);e.dummy&&(e.order<u||e.order>a)&&c(r,t,f)}))}))}return e.reduce(t,(function(t,r){var i,u=-1,a=0;return e.forEach(r,(function(e,c){if(\"border\"===n.node(e).dummy){var f=n.predecessors(e);f.length&&(i=n.node(f[0]).order,o(r,a,c,u,i),a=c,u=i)}o(r,a,r.length,i,t.length)})),r})),r}function c(n,t,r){if(t>r){var e=t;t=r,r=e}var o=n[t];o||(n[t]=o={}),o[r]=!0}function f(n,t,r){if(t>r){var o=t;t=r,r=o}return e.has(n[t],r)}function s(n,t,r,o){var i={},u={},a={};return e.forEach(t,(function(n){e.forEach(n,(function(n,t){i[n]=n,u[n]=n,a[n]=t}))})),e.forEach(t,(function(n){var t=-1;e.forEach(n,(function(n){var c=o(n);if(c.length)for(var s=((c=e.sortBy(c,(function(n){return a[n]}))).length-1)/2,l=Math.floor(s),h=Math.ceil(s);l<=h;++l){var p=c[l];u[n]===n&&t<a[p]&&!f(r,n,p)&&(u[p]=n,u[n]=i[n]=i[p],t=a[p])}}))})),{root:i,align:u}}function l(n,t,r,i,u){var a={},c=function(n,t,r,i){var u=new o,a=n.graph(),c=function(n,t,r){return function(o,i,u){var a,c=o.node(i),f=o.node(u),s=0;if(s+=c.width/2,e.has(c,\"labelpos\"))switch(c.labelpos.toLowerCase()){case\"l\":a=-c.width/2;break;case\"r\":a=c.width/2}if(a&&(s+=r?a:-a),a=0,s+=(c.dummy?t:n)/2,s+=(f.dummy?t:n)/2,s+=f.width/2,e.has(f,\"labelpos\"))switch(f.labelpos.toLowerCase()){case\"l\":a=f.width/2;break;case\"r\":a=-f.width/2}return a&&(s+=r?a:-a),a=0,s}}(a.nodesep,a.edgesep,i);return e.forEach(t,(function(t){var o;e.forEach(t,(function(t){var e=r[t];if(u.setNode(e),o){var i=r[o],a=u.edge(i,e);u.setEdge(i,e,Math.max(c(n,t,o),a||0))}o=t}))})),u}(n,t,r,u),f=u?\"borderLeft\":\"borderRight\";function s(n,t){for(var r=c.nodes(),e=r.pop(),o={};e;)o[e]?n(e):(o[e]=!0,r.push(e),r=r.concat(t(e))),e=r.pop()}return s((function(n){a[n]=c.inEdges(n).reduce((function(n,t){return Math.max(n,a[t.v]+c.edge(t))}),0)}),c.predecessors.bind(c)),s((function(t){var r=c.outEdges(t).reduce((function(n,t){return Math.min(n,a[t.w]-c.edge(t))}),Number.POSITIVE_INFINITY),e=n.node(t);r!==Number.POSITIVE_INFINITY&&e.borderType!==f&&(a[t]=Math.max(a[t],r))}),c.successors.bind(c)),e.forEach(i,(function(n){a[n]=a[r[n]]})),a}function h(n,t){return e.minBy(e.values(t),(function(t){var r=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return e.forIn(t,(function(t,e){var i=function(n,t){return n.node(t).width}(n,e)/2;r=Math.max(t+i,r),o=Math.min(t-i,o)})),r-o}))}function p(n,t){var r=e.values(t),o=e.min(r),i=e.max(r);e.forEach([\"u\",\"d\"],(function(r){e.forEach([\"l\",\"r\"],(function(u){var a,c=r+u,f=n[c];if(f!==t){var s=e.values(f);(a=\"l\"===u?o-e.min(s):i-e.max(s))&&(n[c]=e.mapValues(f,(function(n){return n+a})))}}))}))}function d(n,t){return e.mapValues(n.ul,(function(r,o){if(t)return n[t.toLowerCase()][o];var i=e.sortBy(e.map(n,o));return(i[1]+i[2])/2}))}n.exports={positionX:function(n){var t,r=i.buildLayerMatrix(n),o=e.merge(u(n,r),a(n,r)),c={};e.forEach([\"u\",\"d\"],(function(i){t=\"u\"===i?r:e.values(r).reverse(),e.forEach([\"l\",\"r\"],(function(r){\"r\"===r&&(t=e.map(t,(function(n){return e.values(n).reverse()})));var u=(\"u\"===i?n.predecessors:n.successors).bind(n),a=s(n,t,o,u),f=l(n,t,a.root,a.align,\"r\"===r);\"r\"===r&&(f=e.mapValues(f,(function(n){return-n}))),c[i+r]=f}))}));var f=h(n,c);return p(c,f),d(c,n.graph().align)},findType1Conflicts:u,findType2Conflicts:a,addConflict:c,hasConflict:f,verticalAlignment:s,horizontalCompaction:l,alignCoordinates:p,findSmallestWidthAlignment:h,balance:d}},function(n,t,r){var e=r(8),o=r(11),i=r(18).Graph;n.exports={debugOrdering:function(n){var t=o.buildLayerMatrix(n),r=new i({compound:!0,multigraph:!0}).setGraph({});return e.forEach(n.nodes(),(function(t){r.setNode(t,{label:t}),r.setParent(t,\"layer\"+n.node(t).rank)})),e.forEach(n.edges(),(function(n){r.setEdge(n.v,n.w,{},n.name)})),e.forEach(t,(function(n,t){var o=\"layer\"+t;r.setNode(o,{rank:\"same\"}),e.reduce(n,(function(n,t){return r.setEdge(n,t,{style:\"invis\"}),t}))})),r}}},function(n,t){n.exports=\"0.8.5\"},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(3),o=r(385),i=r(2),u={sankeyLeft:o.sankeyLeft,sankeyRight:o.sankeyRight,sankeyCenter:o.sankeyCenter,sankeyJustify:o.sankeyJustify},a={value:function(n){return n.value},source:function(n){return n.source},target:function(n){return n.target},nodeAlign:\"sankeyJustify\",nodeWidth:.02,nodePadding:.02};function c(n,t){t=e.assign({},a,t);var r=null;e.isString(t.nodeAlign)?r=u[t.nodeAlign]:e.isFunction(t.nodeAlign)&&(r=t.nodeAlign);var i=o.sankey().links((function(n){return n.edges})).nodeWidth(t.nodeWidth).nodePadding(t.nodePadding).extent([[0,0],[1,1]]);e.isFunction(t.nodeId)&&i.nodeId(t.nodeId),r&&i.nodeAlign(r),i(n),n.nodes.forEach((function(n){var t=n.x0,r=n.x1,e=n.y0,o=n.y1;n.x=[t,r,r,t],n.y=[e,e,o,o]})),n.edges.forEach((function(n){var t=n.source,r=n.target,e=t.x1,o=r.x0;n.x=[e,e,o,o];var i=n.width/2;n.y=[n.y0+i,n.y0-i,n.y1+i,n.y1-i]}))}i.DataSet.registerTransform(\"diagram.sankey\",c),i.DataSet.registerTransform(\"sankey\",c)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importStar(r(387)),o=r(3),i=r(2).DataSet.registerTransform,u=r(7),a={as:[\"_x\",\"_y\"]};function c(n,t){var r=(t=o.assign({},a,t)).as;if(!o.isArray(r)||2!==r.length)throw new TypeError(\"Invalid as: must be an array with two strings!\");var i=r[0],c=r[1],f=u.getFields(t);if(!o.isArray(f)||2!==f.length)throw new TypeError(\"Invalid fields: must be an array with two strings!\");var s=f[0],l=f[1],h=n.rows,p=h.map((function(n){return[n[s],n[l]]})),d=e.voronoi();t.extend&&d.extent(t.extend),t.size&&d.size(t.size);var v=d(p).polygons();h.forEach((function(n,t){var r=v[t].filter((function(n){return!!n}));n[i]=r.map((function(n){return n[0]})),n[c]=r.map((function(n){return n[1]}))}))}i(\"diagram.voronoi\",c),i(\"voronoi\",c)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importStar(r(36)),o=r(3),i=r(2),u=r(7),a={field:\"value\",size:[1,1],nodeSize:null,separation:null,as:[\"x\",\"y\"]};function c(n,t){if(n.dataType!==i.DataSet.CONSTANTS.HIERARCHY||!n.root)throw new TypeError(\"Invalid DataView: This transform is for Hierarchy data only!\");var r=n.root,c=(t=o.assign({},a,t)).as;if(!o.isArray(c)||2!==c.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');var f=void 0;try{f=u.getField(t)}catch(n){console.warn(n)}f&&r.sum((function(n){return n[f]}));var s=e.cluster();s.size(t.size),t.nodeSize&&s.nodeSize(t.nodeSize),t.separation&&s.separation(t.separation),s(r);var l=c[0],h=c[1];r.each((function(n){n[l]=n.x,n[h]=n.y}))}i.DataSet.registerTransform(\"hierarchy.cluster\",c),i.DataSet.registerTransform(\"dendrogram\",c)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importDefault(r(85)),o=r(2),i={};function u(n,t){var r=n.root;if(t=Object.assign({},i,t),n.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError(\"Invalid DataView: This transform is for Hierarchy data only!\");n.root=e.default.compactBox(r,t)}o.DataSet.registerTransform(\"hierarchy.compact-box\",u),o.DataSet.registerTransform(\"compact-box-tree\",u),o.DataSet.registerTransform(\"non-layered-tidy-tree\",u),o.DataSet.registerTransform(\"mindmap-logical\",u)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importDefault(r(85)),o=r(2),i={};function u(n,t){var r=n.root;if(t=Object.assign({},i,t),n.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError(\"Invalid DataView: This transform is for Hierarchy data only!\");n.root=e.default.dendrogram(r,t)}o.DataSet.registerTransform(\"hierarchy.dendrogram\",u),o.DataSet.registerTransform(\"dendrogram\",u)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importDefault(r(85)),o=r(2),i={};function u(n,t){var r=n.root;if(t=Object.assign({},i,t),n.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError(\"Invalid DataView: This transform is for Hierarchy data only!\");n.root=e.default.indented(r,t)}o.DataSet.registerTransform(\"hierarchy.indented\",u),o.DataSet.registerTransform(\"indented-tree\",u)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importStar(r(36)),u=r(2),a=r(7),c={field:\"value\",size:[1,1],padding:0,as:[\"x\",\"y\",\"r\"]};function f(n,t){if(n.dataType!==u.DataSet.CONSTANTS.HIERARCHY)throw new TypeError(\"Invalid DataView: This transform is for Hierarchy data only!\");var r,e=n.root,f=(t=o.assign({},c,t)).as;if(!o.isArray(f)||3!==f.length)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ \"x\", \"y\", \"r\" ])!');try{r=a.getField(t)}catch(n){console.warn(n)}r&&e.sum((function(n){return n[r]})).sort((function(n,t){return t[r]-n[r]}));var s=i.pack();s.size(t.size),t.padding&&s.padding(t.padding),s(e);var l=f[0],h=f[1],p=f[2];e.each((function(n){n[l]=n.x,n[h]=n.y,n[p]=n.r}))}u.DataSet.registerTransform(\"hierarchy.pack\",f),u.DataSet.registerTransform(\"hierarchy.circle-packing\",f),u.DataSet.registerTransform(\"circle-packing\",f)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importStar(r(36)),o=r(3),i=r(2),u=r(7),a={field:\"value\",size:[1,1],round:!1,padding:0,sort:!0,as:[\"x\",\"y\"]};function c(n,t){if(n.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError(\"Invalid DataView: This transform is for Hierarchy data only!\");var r,c=n.root,f=(t=o.assign({},a,t)).as;if(!o.isArray(f)||2!==f.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');try{r=u.getField(t)}catch(n){console.warn(n)}r&&c.sum((function(n){return n[r]}));var s=e.partition();s.size(t.size).round(t.round).padding(t.padding),s(c);var l=f[0],h=f[1];c.each((function(n){n[l]=[n.x0,n.x1,n.x1,n.x0],n[h]=[n.y1,n.y1,n.y0,n.y0],[\"x0\",\"x1\",\"y0\",\"y1\"].forEach((function(t){-1===f.indexOf(t)&&delete n[t]}))}))}i.DataSet.registerTransform(\"hierarchy.partition\",c),i.DataSet.registerTransform(\"adjacency\",c)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importStar(r(36)),o=r(3),i=r(2),u=r(7),a={field:\"value\",size:[1,1],nodeSize:null,separation:null,as:[\"x\",\"y\"]};function c(n,t){if(n.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError(\"Invalid DataView: This transform is for Hierarchy data only!\");var r,c=n.root,f=(t=o.assign({},a,t)).as;if(!o.isArray(f)||2!==f.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');try{r=u.getField(t)}catch(n){console.warn(n)}r&&c.sum((function(n){return n[r]}));var s=e.tree();s.size(t.size),t.nodeSize&&s.nodeSize(t.nodeSize),t.separation&&s.separation(t.separation),s(c);var l=f[0],h=f[1];c.each((function(n){n[l]=n.x,n[h]=n.y}))}i.DataSet.registerTransform(\"hierarchy.tree\",c),i.DataSet.registerTransform(\"tree\",c)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4).__importStar(r(36)),o=r(3),i=r(2),u=r(7),a={field:\"value\",tile:\"treemapSquarify\",size:[1,1],round:!1,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:[\"x\",\"y\"]};function c(n,t){if(n.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError(\"Invalid DataView: This transform is for Hierarchy data only!\");var r,c=n.root,f=(t=o.assign({},a,t)).as;if(!o.isArray(f)||2!==f.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');try{r=u.getField(t)}catch(n){console.warn(n)}r&&c.sum((function(n){return n[r]}));var s=e.treemap();s.tile(e[t.tile]).size(t.size).round(t.round).padding(t.padding).paddingInner(t.paddingInner).paddingOuter(t.paddingOuter).paddingTop(t.paddingTop).paddingRight(t.paddingRight).paddingBottom(t.paddingBottom).paddingLeft(t.paddingLeft),s(c);var l=f[0],h=f[1];c.each((function(n){n[l]=[n.x0,n.x1,n.x1,n.x0],n[h]=[n.y1,n.y1,n.y0,n.y0],[\"x0\",\"x1\",\"y0\",\"y1\"].forEach((function(t){-1===f.indexOf(t)&&delete n[t]}))}))}i.DataSet.registerTransform(\"hierarchy.treemap\",c),i.DataSet.registerTransform(\"treemap\",c)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(2),u=e.__importDefault(r(380)),a=r(7),c={fields:[\"text\",\"value\"],font:function(){return\"serif\"},padding:1,size:[500,500],spiral:\"archimedean\",timeInterval:500};function f(n,t){t=o.assign({},c,t);var r=u.default();[\"font\",\"fontSize\",\"padding\",\"rotate\",\"size\",\"spiral\",\"timeInterval\"].forEach((function(n){t[n]&&r[n](t[n])}));var i=a.getFields(t),f=e.__read(i,2),s=f[0],l=f[1];if(!o.isString(s)||!o.isString(l))throw new TypeError('Invalid fields: must be an array with 2 strings (e.g. [ \"text\", \"value\" ])!');var h=n.rows.map((function(n){return n.text=n[s],n.value=n[l],n}));r.words(h),t.imageMask&&r.createMask(t.imageMask);var p=r.start(),d=p._tags,v=p._bounds;d.forEach((function(n){n.x+=t.size[0]/2,n.y+=t.size[1]/2}));var g=e.__read(t.size,2),y=g[0],m=g[1],b=p.hasImage;d.push({text:\"\",value:0,x:b?0:v[0].x,y:b?0:v[0].y,opacity:0}),d.push({text:\"\",value:0,x:b?y:v[1].x,y:b?m:v[1].y,opacity:0}),n.rows=d,n._tagCloud=p}i.DataSet.registerTransform(\"tag-cloud\",f),i.DataSet.registerTransform(\"word-cloud\",f)},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=Math.PI/180;function i(n){return n.text}function u(){return\"serif\"}function a(){return\"normal\"}function c(n){return n.value}function f(){return 90*~~(2*Math.random())}function s(){return 1}function l(n,t,r,e){if(!t.sprite){var i=n.context,u=n.ratio;i.clearRect(0,0,2048/u,2048/u);var a=0,c=0,f=0,s=r.length;for(--e;++e<s;){t=r[e],i.save(),i.font=t.style+\" \"+t.weight+\" \"+~~((t.size+1)/u)+\"px \"+t.font;var l=i.measureText(t.text+\"m\").width*u,h=t.size<<1;if(t.rotate){var p=Math.sin(t.rotate*o),d=Math.cos(t.rotate*o),v=l*d,g=l*p,y=h*d,m=h*p;l=Math.max(Math.abs(v+m),Math.abs(v-m))+31>>5<<5,h=~~Math.max(Math.abs(g+y),Math.abs(g-y))}else l=l+31>>5<<5;if(h>f&&(f=h),a+l>=2048&&(a=0,c+=f,f=0),c+h>=2048)break;i.translate((a+(l>>1))/u,(c+(h>>1))/u),t.rotate&&i.rotate(t.rotate*o),i.fillText(t.text,0,0),t.padding&&(i.lineWidth=2*t.padding,i.strokeText(t.text,0,0)),i.restore(),t.width=l,t.height=h,t.xoff=a,t.yoff=c,t.x1=l>>1,t.y1=h>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,a+=l}for(var b=i.getImageData(0,0,2048/u,2048/u).data,w=[];--e>=0;)if((t=r[e]).hasText){for(var x=(l=t.width)>>5,_=(h=t.y1-t.y0,0);_<h*x;_++)w[_]=0;if(null==(a=t.xoff))return;c=t.yoff;for(var E=0,j=-1,O=0;O<h;O++){for(_=0;_<l;_++){var S=x*O+(_>>5),M=b[2048*(c+O)+(a+_)<<2]?1<<31-_%32:0;w[S]|=M,E|=M}E?j=O:(t.y0++,h--,O--,c++)}t.y1=t.y0+j,t.sprite=w.slice(0,(t.y1-t.y0)*x)}}}function h(n,t,r){r>>=5;for(var e,o=n.sprite,i=n.width>>5,u=n.x-(i<<4),a=127&u,c=32-a,f=n.y1-n.y0,s=(n.y+n.y0)*r+(u>>5),l=0;l<f;l++){e=0;for(var h=0;h<=i;h++)if((e<<c|(h<i?(e=o[l*i+h])>>>a:0))&t[s+h])return!0;s+=r}return!1}function p(n,t){var r=n[0],e=n[1];t.x+t.x0<r.x&&(r.x=t.x+t.x0),t.y+t.y0<r.y&&(r.y=t.y+t.y0),t.x+t.x1>e.x&&(e.x=t.x+t.x1),t.y+t.y1>e.y&&(e.y=t.y+t.y1)}function d(n){var t=n[0]/n[1];return function(n){return[t*(n*=.1)*Math.cos(n),n*Math.sin(n)]}}function v(n){for(var t=[],r=-1;++r<n;)t[r]=0;return t}function g(){return document.createElement(\"canvas\")}function y(n){return\"function\"==typeof n?n:function(){return n}}var m={archimedean:d,rectangular:function(n){var t=4*n[0]/n[1],r=0,e=0;return function(n){var o=n<0?-1:1;switch(Math.sqrt(1+4*o*n)-o&3){case 0:r+=t;break;case 1:e+=4;break;case 2:r-=t;break;default:e-=4}return[r,e]}}};t.default=function(){var n=[256,256],t=i,r=u,o=c,b=a,w=a,x=f,_=s,E=d,j=[],O=1/0,S=Math.random,M=g,T={};function k(t,r,e){for(var o,i,u,a,c,f=r.x,s=r.y,l=Math.sqrt(n[0]*n[0]+n[1]*n[1]),p=E(n),d=S()<.5?1:-1,v=-d;(o=p(v+=d))&&(i=~~o[0],u=~~o[1],!(Math.min(Math.abs(i),Math.abs(u))>=l));)if(r.x=f+i,r.y=s+u,!(r.x+r.x0<0||r.y+r.y0<0||r.x+r.x1>n[0]||r.y+r.y1>n[1]||e&&h(r,t,n[0])||e&&(c=e,!((a=r).x+a.x1>c[0].x&&a.x+a.x0<c[1].x&&a.y+a.y1>c[0].y&&a.y+a.y0<c[1].y)))){for(var g=r.sprite,y=r.width>>5,m=n[0]>>5,b=r.x-(y<<4),w=127&b,x=32-w,_=r.y1-r.y0,j=void 0,O=(r.y+r.y0)*m+(b>>5),M=0;M<_;M++){j=0;for(var T=0;T<=y;T++)t[O+T]|=j<<x|(T<y?(j=g[M*y+T])>>>w:0);O+=m}return delete r.sprite,!0}return!1}return T.canvas=function(n){return arguments.length?(M=y(n),T):M},T.start=function(){var i=e.__read(n,2),u=i[0],a=i[1],c=function(n){n.width=n.height=1;var t=Math.sqrt(n.getContext(\"2d\").getImageData(0,0,1,1).data.length>>2);n.width=2048/t,n.height=2048/t;var r=n.getContext(\"2d\");return r.fillStyle=r.strokeStyle=\"red\",r.textAlign=\"center\",{context:r,ratio:t}}(M()),f=T.board?T.board:v((n[0]>>5)*n[1]),s=j.length,h=[],d=j.map((function(n,e){return n.text=t.call(this,n,e),n.font=r.call(this,n,e),n.style=b.call(this,n,e),n.weight=w.call(this,n,e),n.rotate=x.call(this,n,e),n.size=~~o.call(this,n,e),n.padding=_.call(this,n,e),n})).sort((function(n,t){return t.size-n.size})),g=-1,y=T.board?[{x:0,y:0},{x:u,y:a}]:null;return function(){var t=Date.now();for(;Date.now()-t<O&&++g<s;){var r=d[g];r.x=u*(S()+.5)>>1,r.y=a*(S()+.5)>>1,l(c,r,d,g),r.hasText&&k(f,r,y)&&(h.push(r),y?T.hasImage||p(y,r):y=[{x:r.x+r.x0,y:r.y+r.y0},{x:r.x+r.x1,y:r.y+r.y1}],r.x-=n[0]>>1,r.y-=n[1]>>1)}T._tags=h,T._bounds=y}(),T},T.createMask=function(t){var r=document.createElement(\"canvas\"),o=e.__read(n,2),i=o[0],u=o[1],a=i>>5,c=v((i>>5)*u);r.width=i,r.height=u;var f=r.getContext(\"2d\");f.drawImage(t,0,0,t.width,t.height,0,0,i,u);for(var s=f.getImageData(0,0,i,u).data,l=0;l<u;l++)for(var h=0;h<i;h++){var p=a*l+(h>>5),d=l*i+h<<2,g=s[d]>=250&&s[d+1]>=250&&s[d+2]>=250?1<<31-h%32:0;c[p]|=g}T.board=c,T.hasImage=!0},T.timeInterval=function(n){return arguments.length?(O=null==n?1/0:n,T):O},T.words=function(n){return arguments.length?(j=n,T):j},T.size=function(t){return arguments.length?(n=[+t[0],+t[1]],T):n},T.font=function(n){return arguments.length?(r=y(n),T):r},T.fontStyle=function(n){return arguments.length?(b=y(n),T):b},T.fontWeight=function(n){return arguments.length?(w=y(n),T):w},T.rotate=function(n){return arguments.length?(x=y(n),T):x},T.text=function(n){return arguments.length?(t=y(n),T):t},T.spiral=function(n){return arguments.length?(E=m[n]||n,T):E},T.fontSize=function(n){return arguments.length?(o=y(n),T):o},T.padding=function(n){return arguments.length?(_=y(n),T):_},T.random=function(n){return arguments.length?(S=n,T):S},T}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=r(21),u=e.__importDefault(r(17)),a=r(2),c=r(7),f={fields:[\"name\",\"value\"],rows:5,size:[1,1],scale:1,groupBy:[],maxCount:1e3,gapRatio:.1,as:[\"x\",\"y\"]};a.DataSet.registerTransform(\"waffle\",(function(n,t){t=o.assign({},f,t);var r=c.getFields(t),a=e.__read(r,2),s=a[0],l=a[1],h=e.__read(t.as,2),p=h[0],d=h[1],v=t.groupBy,g=u.default(n.rows,v),y=o.keys(g),m=e.__read(t.size,2),b=m[0],w=m[1],x=t.maxCount,_=w/y.length,E=t.rows,j=t.gapRatio,O=[],S=t.scale,M=0,T=0;o.forIn(g,(function(n){var t=i.sum(o.map(n,(function(n){return n[l]}))),r=Math.ceil(t*S/E);t*S>x&&(S=x/t,r=Math.ceil(t*S/E)),T=b/r})),o.forIn(g,(function(n){var t=[M*_,(M+1)*_],r=(t[1]-t[0])*(1-j)/E,e=0,i=0;o.each(n,(function(n){for(var u=n[l],a=Math.round(u*S),c=0;c<a;c++){i===E&&(i=0,e++);var f=o.pick(n,[s,l].concat(v));f[p]=e*T+T/2,f[d]=i*r+r/2+t[0],f._wStep=T,f._hStep=r,i++,O.push(f)}})),M+=1})),n.rows=O}))},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(46)),u=e.__importDefault(r(65)),a=r(2),c=r(7),f=r(47),s={as:[\"x\",\"y\",\"z\"],method:\"gaussian\"},l=o.keys(u.default);function h(n,t){var r,a;t=o.assign({},s,t);var h=c.getFields(t);if(!o.isArray(h)||2!==h.length)throw new TypeError(\"invalid fields: must be an array of 2 strings!\");var p,d=e.__read(t.as,3),v=d[0],g=d[1],y=d[2];if(!o.isString(v)||!o.isString(g)||!o.isString(y))throw new TypeError(\"invalid as: must be an array of 3 strings!\");if(o.isString(t.method)){if(-1===l.indexOf(t.method))throw new TypeError(\"invalid method: \"+t.method+\". Must be one of \"+l.join(\", \"));p=u.default[t.method]}var m,b,w,x,_=e.__read(h,2),E=_[0],j=_[1],O=t.extent,S=t.bandwidth;O&&Array.isArray(O)&&Array.isArray(O[0])&&Array.isArray(O[1])?(m=(r=e.__read(O,2))[0],b=r[1]):(m=n.range(E),b=n.range(j)),S&&Array.isArray(S)&&S.slice(0,2).every(o.isNumber)&&S.slice(0,2).every((function(n){return n>0}))?(w=(a=e.__read(S,2))[0],x=a[1]):(w=f.silverman(n.getColumn(E)),x=f.silverman(n.getColumn(j)));for(var M=i.default(m,w),T=i.default(b,x),k=n.rows.length,P=[],C=0;C<M.length;C++)for(var A=0;A<T.length;A++){for(var N=0,R=M[C],I=T[A],D=0;D<k;D++)N+=p((R-n.rows[D][E])/w)*p((I-n.rows[D][j])/x);var L=1/(k*w*x)*N,q={};q[v]=R,q[g]=I,q[y]=L,P.push(q)}n.rows=P}a.DataSet.registerTransform(\"kernel-smooth.density\",h),a.DataSet.registerTransform(\"kernel.density\",h),t.default={KERNEL_METHODS:l}},function(n,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var e=r(4),o=r(3),i=e.__importDefault(r(46)),u=e.__importDefault(r(65)),a=r(2),c=r(21),f=r(7),s=r(47),l={as:[\"x\",\"y\"],method:\"gaussian\"},h=o.keys(u.default);function p(n,t,r,e){return n((e-r)/t)}function d(n){return function(t){return o.isArray(t)?t.map((function(t){return n(t)})):n(t)}}function v(n,t){t=o.assign({},l,t);var r=f.getFields(t);if(!o.isArray(r)||1!==r.length&&2!==r.length)throw new TypeError(\"invalid fields: must be an array of 1 or 2 strings!\");var a,v=e.__read(t.as,2),g=v[0],y=v[1];if(!o.isString(g)||!o.isString(y))throw new TypeError(\"invalid as: must be an array of 2 strings!\");var m=t.method;if(o.isString(m)){if(-1===h.indexOf(m))throw new TypeError(\"invalid method: \"+m+\". Must be one of \"+h.join(\", \"));a=u.default[m]}var b=e.__read(r,2),w=b[0],x=b[1],_=n.getColumn(w),E=t.extent;!E&&o.isArray(E)||(E=n.range(w));var j=t.bandwidth;(!j||!o.isNumber(j)||j<=0)&&(j=s.silverman(_));var O,S=i.default(E,j),M=_.length,T=p.bind(null,a,j);if(o.isNil(x))O=d((function(n){var t=_.map((function(t){return T(n,t)})),r=c.sum(t),e=M*j;return r&&e?r/e:0}));else{var k=n.getColumn(x);O=d((function(n){var t=_.map((function(t){return T(n,t)})),r=c.sum(t.map((function(n,t){return n*k[t]}))),e=c.sum(t);return r&&e?r/e:0}))}var P=S.map((function(n){var t={};return t[g]=n,t[y]=O(n),t}));n.rows=P}a.DataSet.registerTransform(\"kernel-smooth.regression\",v),a.DataSet.registerTransform(\"kernel.regression\",v),t.default={KERNEL_METHODS:h}},function(n,t,r){\"use strict\";r.r(t);var e=r(0),o=r(10);function i(n){var t=0,r=e.n/3,i=Object(o.b)(n),u=i(t,r);return u.parallels=function(n){return arguments.length?i(t=n[0]*e.q,r=n[1]*e.q):[t*e.g,r*e.g]},u}function u(n,t){var r=Object(e.s)(n),o=(r+Object(e.s)(t))/2;if(Object(e.a)(o)<e.h)return function(n){var t=Object(e.f)(n);function r(n,r){return[n*t,Object(e.s)(r)/t]}return r.invert=function(n,r){return[n/t,Object(e.c)(r*t)]},r}(n);var i=1+r*(2*o-r),u=Object(e.t)(i)/o;function a(n,t){var r=Object(e.t)(i-2*o*Object(e.s)(t))/o;return[r*Object(e.s)(n*=o),u-r*Object(e.f)(n)]}return a.invert=function(n,t){var r=u-t;return[Object(e.e)(n,Object(e.a)(r))/o*Object(e.r)(r),Object(e.c)((i-(n*n+r*r)*o*o)/(2*o))]},a}var a=function(){return i(u).scale(155.424).center([0,33.6442])},c=function(){return a().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},f=r(25);function s(){}var l=1/0,h=l,p=-l,d=p;var v={point:function(n,t){n<l&&(l=n);n>p&&(p=n);t<h&&(h=t);t>d&&(d=t)},lineStart:s,lineEnd:s,polygonStart:s,polygonEnd:s,result:function(){var n=[[l,h],[p,d]];return p=d=-(h=l=1/0),n}};function g(n,t,r){var e=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=n.clipExtent&&n.clipExtent();n.scale(150).translate([0,0]),null!=i&&n.clipExtent(null),Object(f.a)(r,n.stream(v));var u=v.result(),a=Math.min(e/(u[1][0]-u[0][0]),o/(u[1][1]-u[0][1])),c=+t[0][0]+(e-a*(u[1][0]+u[0][0]))/2,s=+t[0][1]+(o-a*(u[1][1]+u[0][1]))/2;return null!=i&&n.clipExtent(i),n.scale(150*a).translate([c,s])}function y(n,t,r){return g(n,[[0,0],t],r)}var m=r(390);var b=function(){var n,t,r,e,o,i,u=c(),f=a().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=a().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,t){i=[n,t]}};function h(n){var t=n[0],u=n[1];return i=null,r.point(t,u),i||(e.point(t,u),i)||(o.point(t,u),i)}function p(){return n=t=null,h}return h.invert=function(n){var t=u.scale(),r=u.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=.12&&o<.234&&e>=-.425&&e<-.214?f:o>=.166&&o<.234&&e>=-.214&&e<-.115?s:u).invert(n)},h.stream=function(r){return n&&t===r?n:(e=[u.stream(t=r),f.stream(r),s.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},h.precision=function(n){return arguments.length?(u.precision(n),f.precision(n),s.precision(n),p()):u.precision()},h.scale=function(n){return arguments.length?(u.scale(n),f.scale(.35*n),s.scale(n),h.translate(u.translate())):u.scale()},h.translate=function(n){if(!arguments.length)return u.translate();var t=u.scale(),i=+n[0],a=+n[1];return r=u.translate(n).clipExtent([[i-.455*t,a-.238*t],[i+.455*t,a+.238*t]]).stream(l),e=f.translate([i-.307*t,a+.201*t]).clipExtent([[i-.425*t+1e-6,a+.12*t+1e-6],[i-.214*t-1e-6,a+.234*t-1e-6]]).stream(l),o=s.translate([i-.205*t,a+.212*t]).clipExtent([[i-.214*t+1e-6,a+.166*t+1e-6],[i-.115*t-1e-6,a+.234*t-1e-6]]).stream(l),p()},h.fitExtent=function(n,t){return g(h,n,t)},h.fitSize=function(n,t){return y(h,n,t)},h.drawCompositionBorders=function(n){var t=u([-102.91,26.3]),r=u([-104,27.5]),e=u([-108,29.1]),o=u([-110,29.1]),i=u([-110,26.7]),a=u([-112.8,27.6]),c=u([-114.3,30.6]),f=u([-119.3,30.1]);n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.moveTo(i[0],i[1]),n.lineTo(a[0],a[1]),n.lineTo(c[0],c[1]),n.lineTo(f[0],f[1])},h.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},h.scale(1070)},w=r(146);var x=function(){var n,t,r,e,o,i,u,f,s,l=c(),h=a().rotate([154,0]).center([-2,58.5]).parallels([55,65]),p=a().rotate([157,0]).center([-3,19.9]).parallels([8,18]),d=a().rotate([66,0]).center([0,18]).parallels([8,18]),v=Object(w.a)().rotate([173,14]),b=Object(w.a)().rotate([-145,-16.8]),x={point:function(n,t){s=[n,t]}};function _(n){var t=n[0],a=n[1];return s=null,r.point(t,a),s||(e.point(t,a),s)||(o.point(t,a),s)||(i.point(t,a),s)||(u.point(t,a),s)||(f.point(t,a),s)}function E(){return n=t=null,_}return _.invert=function(n){var t=l.scale(),r=l.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=.12&&o<.234&&e>=-.425&&e<-.214?h:o>=.166&&o<.234&&e>=-.214&&e<-.115?p:o>=.2064&&o<.2413&&e>=.312&&e<.385?d:o>=.09&&o<.1197&&e>=-.4243&&e<-.3232?v:o>=-.0518&&o<.0895&&e>=-.4243&&e<-.3824?b:l).invert(n)},_.stream=function(r){return n&&t===r?n:(e=[l.stream(t=r),h.stream(r),p.stream(r),d.stream(r),v.stream(r),b.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},_.precision=function(n){return arguments.length?(l.precision(n),h.precision(n),p.precision(n),d.precision(n),v.precision(n),b.precision(n),E()):l.precision()},_.scale=function(n){return arguments.length?(l.scale(n),h.scale(.35*n),p.scale(n),d.scale(n),v.scale(2*n),b.scale(n),_.translate(l.translate())):l.scale()},_.translate=function(n){if(!arguments.length)return l.translate();var t=l.scale(),a=+n[0],c=+n[1];return r=l.translate(n).clipExtent([[a-.455*t,c-.238*t],[a+.455*t,c+.238*t]]).stream(x),e=h.translate([a-.307*t,c+.201*t]).clipExtent([[a-.425*t+1e-6,c+.12*t+1e-6],[a-.214*t-1e-6,c+.233*t-1e-6]]).stream(x),o=p.translate([a-.205*t,c+.212*t]).clipExtent([[a-.214*t+1e-6,c+.166*t+1e-6],[a-.115*t-1e-6,c+.233*t-1e-6]]).stream(x),i=d.translate([a+.35*t,c+.224*t]).clipExtent([[a+.312*t+1e-6,c+.2064*t+1e-6],[a+.385*t-1e-6,c+.233*t-1e-6]]).stream(x),u=v.translate([a-.492*t,c+.09*t]).clipExtent([[a-.4243*t+1e-6,c+.0903*t+1e-6],[a-.3233*t-1e-6,c+.1197*t-1e-6]]).stream(x),f=b.translate([a-.408*t,c+.018*t]).clipExtent([[a-.4244*t+1e-6,c-.0519*t+1e-6],[a-.3824*t-1e-6,c+.0895*t-1e-6]]).stream(x),E()},_.fitExtent=function(n,t){return g(_,n,t)},_.fitSize=function(n,t){return y(_,n,t)},_.drawCompositionBorders=function(n){var t=l([-110.4641,28.2805]),r=l([-104.0597,28.9528]),e=l([-103.7049,25.1031]),o=l([-109.8337,24.4531]),i=l([-124.4745,28.1407]),u=l([-110.931,30.8844]),a=l([-109.8337,24.4531]),c=l([-122.4628,21.8562]),f=l([-76.8579,25.1544]),s=l([-72.429,24.2097]),h=l([-72.8265,22.7056]),p=l([-77.1852,23.6392]),d=l([-125.0093,29.7791]),v=l([-118.5193,31.3262]),g=l([-118.064,29.6912]),y=l([-124.4369,28.169]),m=l([-128.1314,37.4582]),b=l([-125.2132,38.214]),w=l([-122.3616,30.5115]),x=l([-125.0315,29.8211]);n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),n.moveTo(i[0],i[1]),n.lineTo(u[0],u[1]),n.lineTo(a[0],a[1]),n.lineTo(a[0],a[1]),n.lineTo(c[0],c[1]),n.closePath(),n.moveTo(f[0],f[1]),n.lineTo(s[0],s[1]),n.lineTo(h[0],h[1]),n.lineTo(h[0],h[1]),n.lineTo(p[0],p[1]),n.closePath(),n.moveTo(d[0],d[1]),n.lineTo(v[0],v[1]),n.lineTo(g[0],g[1]),n.lineTo(g[0],g[1]),n.lineTo(y[0],y[1]),n.closePath(),n.moveTo(m[0],m[1]),n.lineTo(b[0],b[1]),n.lineTo(w[0],w[1]),n.lineTo(w[0],w[1]),n.lineTo(x[0],x[1]),n.closePath()},_.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},_.scale(1070)},_=r(37);function E(n,t){return[n,Object(e.m)(Object(e.u)((e.k+t)/2))]}E.invert=function(n,t){return[n,2*Object(e.d)(Object(e.j)(t))-e.k]};var j=function(){return O(E).scale(961/e.v)};function O(n){var t,r,i,u=Object(o.a)(n),a=u.center,c=u.scale,f=u.translate,s=u.clipExtent,l=null;function h(){var o=e.n*c(),a=u(Object(_.a)(u.rotate()).invert([0,0]));return s(null==l?[[a[0]-o,a[1]-o],[a[0]+o,a[1]+o]]:n===E?[[Math.max(a[0]-o,l),t],[Math.min(a[0]+o,r),i]]:[[l,Math.max(a[1]-o,t)],[r,Math.min(a[1]+o,i)]])}return u.scale=function(n){return arguments.length?(c(n),h()):c()},u.translate=function(n){return arguments.length?(f(n),h()):f()},u.center=function(n){return arguments.length?(a(n),h()):a()},u.clipExtent=function(n){return arguments.length?(null==n?l=t=r=i=null:(l=+n[0][0],t=+n[0][1],r=+n[1][0],i=+n[1][1]),h()):null==l?null:[[l,t],[r,i]]},h()}function S(n){return Object(e.u)((e.k+n)/2)}function M(n,t){var r=Object(e.f)(n),o=n===t?Object(e.s)(n):Object(e.m)(r/Object(e.f)(t))/Object(e.m)(S(t)/S(n)),i=r*Object(e.o)(S(n),o)/o;if(!o)return E;function u(n,t){i>0?t<-e.k+e.h&&(t=-e.k+e.h):t>e.k-e.h&&(t=e.k-e.h);var r=i/Object(e.o)(S(t),o);return[r*Object(e.s)(o*n),i-r*Object(e.f)(o*n)]}return u.invert=function(n,t){var r=i-t,u=Object(e.r)(o)*Object(e.t)(n*n+r*r);return[Object(e.e)(n,Object(e.a)(r))/o*Object(e.r)(r),2*Object(e.d)(Object(e.o)(i/u,1/o))-e.k]},u}var T=function(){return i(M).scale(109.5).parallels([30,30])};var k=function(){var n,t,r,e,o,i=T().rotate([5,-38.6]).parallels([0,60]),u=T().rotate([5,-38.6]).parallels([0,60]),a={point:function(n,t){o=[n,t]}};function c(n){var t=n[0],i=n[1];return o=null,r.point(t,i),o||(e.point(t,i),o)}function f(){return n=t=null,c}return c.invert=function(n){var t=i.scale(),r=i.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=.05346&&o<.0897&&e>=-.13388&&e<-.0322?u:i).invert(n)},c.stream=function(r){return n&&t===r?n:(e=[i.stream(t=r),u.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},c.precision=function(n){return arguments.length?(i.precision(n),u.precision(n),f()):i.precision()},c.scale=function(n){return arguments.length?(i.scale(n),u.scale(n),c.translate(i.translate())):i.scale()},c.translate=function(n){if(!arguments.length)return i.translate();var t=i.scale(),o=+n[0],c=+n[1];return r=i.translate(n).clipExtent([[o-.06857*t,c-.1288*t],[o+.13249*t,c+.06*t]]).stream(a),e=u.translate([o+.1*t,c-.094*t]).clipExtent([[o-.1331*t+1e-6,c+.053457*t+1e-6],[o-.0354*t-1e-6,c+.08969*t-1e-6]]).stream(a),f()},c.fitExtent=function(n,t){return g(c,n,t)},c.fitSize=function(n,t){return y(c,n,t)},c.drawCompositionBorders=function(n){var t=i([-14.034675,34.965007]),r=i([-7.4208899,35.536988]),e=i([-7.3148275,33.54359]);n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1])},c.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},c.scale(2700)};var P=function(){var n,t,r,e,o,i,u=T().rotate([10,-39.3]).parallels([0,60]),a=T().rotate([17,-32.7]).parallels([0,60]),c=T().rotate([27.8,-38.6]).parallels([0,60]),f={point:function(n,t){i=[n,t]}};function s(n){var t=n[0],u=n[1];return i=null,r.point(t,u),i||(e.point(t,u),i)||(o.point(t,u),i)}function l(){return n=t=null,s}return s.invert=function(n){var t=u.scale(),r=u.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=.0093&&o<.03678&&e>=-.03875&&e<-.0116?a:o>=-.0412&&o<.0091&&e>=-.07782&&e<-.01166?c:u).invert(n)},s.stream=function(r){return n&&t===r?n:(e=[u.stream(t=r),a.stream(r),c.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},s.precision=function(n){return arguments.length?(u.precision(n),a.precision(n),c.precision(n),l()):u.precision()},s.scale=function(n){return arguments.length?(u.scale(n),a.scale(n),c.scale(.6*n),s.translate(u.translate())):u.scale()},s.translate=function(n){if(!arguments.length)return u.translate();var t=u.scale(),i=+n[0],s=+n[1];return r=u.translate(n).clipExtent([[i-.0115*t,s-.1138*t],[i+.2105*t,s+.0673*t]]).stream(f),e=a.translate([i-.0265*t,s+.025*t]).clipExtent([[i-.0388*t+1e-6,s+.0093*t+1e-6],[i-.0116*t-1e-6,s+.0368*t-1e-6]]).stream(f),o=c.translate([i-.045*t,s+-.02*t]).clipExtent([[i-.0778*t+1e-6,s-.0413*t+1e-6],[i-.0117*t-1e-6,s+.0091*t-1e-6]]).stream(f),l()},s.fitExtent=function(n,t){return g(s,n,t)},s.fitSize=function(n,t){return y(s,n,t)},s.drawCompositionBorders=function(n){var t=u([-12.8351,38.7113]),r=u([-10.8482,38.7633]),e=u([-10.8181,37.2072]),o=u([-12.7345,37.1573]),i=u([-16.0753,41.4436]),a=u([-10.9168,41.6861]),c=u([-10.8557,38.7747]),f=u([-15.6728,38.5505]);n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),n.moveTo(i[0],i[1]),n.lineTo(a[0],a[1]),n.lineTo(c[0],c[1]),n.lineTo(c[0],c[1]),n.lineTo(f[0],f[1]),n.closePath()},s.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},s.scale(4200)};var C=function(){var n,t,r,e,o,i=j().rotate([80,1.5]),u=j().rotate([90.73,1]),a={point:function(n,t){o=[n,t]}};function c(n){var t=n[0],i=n[1];return o=null,r.point(t,i),o||(e.point(t,i),o)}function f(){return n=t=null,c}return c.invert=function(n){var t=i.scale(),r=i.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=-.0676&&o<-.026&&e>=-.0857&&e<-.0263?u:i).invert(n)},c.stream=function(r){return n&&t===r?n:(e=[i.stream(t=r),u.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},c.precision=function(n){return arguments.length?(i.precision(n),u.precision(n),f()):i.precision()},c.scale=function(n){return arguments.length?(i.scale(n),u.scale(n),c.translate(i.translate())):i.scale()},c.translate=function(n){if(!arguments.length)return i.translate();var t=i.scale(),o=+n[0],c=+n[1];return r=i.translate(n).clipExtent([[o-.0262*t,c-.0734*t],[o+.1741*t,c+.079*t]]).stream(a),e=u.translate([o-.06*t,c-.04*t]).clipExtent([[o-.0857*t+1e-6,c-.0676*t+1e-6],[o-.0263*t-1e-6,c-.026*t-1e-6]]).stream(a),f()},c.fitExtent=function(n,t){return g(c,n,t)},c.fitSize=function(n,t){return y(c,n,t)},c.drawCompositionBorders=function(n){var t=i([-84.9032,2.3757]),r=i([-81.5047,2.3708]),e=i([-81.5063,-.01]),o=i([-84.9086,-.005]);n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath()},c.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},c.scale(3500)};function A(n,t){return[Object(e.m)(Object(e.u)((e.k+t)/2)),-n]}A.invert=function(n,t){return[-t,2*Object(e.d)(Object(e.j)(n))-e.k]};var N=r(16);function R(n,t){var r=Object(e.f)(t),o=1+Object(e.f)(n)*r;return[r*Object(e.s)(n)/o,Object(e.s)(t)/o]}R.invert=Object(N.a)((function(n){return 2*Object(e.d)(n)}));var I=function(){var n,t,r,e,i,u,a,c,f,s,l=(c=O(A),f=c.center,s=c.rotate,c.center=function(n){return arguments.length?f([-n[1],n[0]]):[(n=f())[1],-n[0]]},c.rotate=function(n){return arguments.length?s([n[0],n[1],n.length>2?n[2]+90:90]):[(n=s())[0],n[1],n[2]-90]},s([0,0,90]).scale(159.155)).rotate([72,37]),h=Object(o.a)(R).scale(250).clipAngle(142).rotate([72,0]),p=j().rotate([80,33.5]),d=j().rotate([110,25]),v={point:function(n,t){a=[n,t]}};function b(n){var t=n[0],o=n[1];return a=null,r.point(t,o),a||(e.point(t,o),a)||(i.point(t,o),a)||(u.point(t,o),a)}function w(){return n=t=null,b}return b.invert=function(n){var t=l.scale(),r=l.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=.2582&&o<.32&&e>=-.1036&&e<-.087?h:o>=-.01298&&o<.0133&&e>=-.11396&&e<-.05944?p:o>=.01539&&o<.03911&&e>=-.089&&e<-.0588?d:l).invert(n)},b.stream=function(r){return n&&t===r?n:(e=[l.stream(t=r),h.stream(r),p.stream(r),d.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},b.precision=function(n){return arguments.length?(l.precision(n),h.precision(n),p.precision(n),d.precision(n),w()):l.precision()},b.scale=function(n){return arguments.length?(l.scale(n),h.scale(.15*n),p.scale(1.5*n),d.scale(1.5*n),b.translate(l.translate())):l.scale()},b.translate=function(n){if(!arguments.length)return l.translate();var t=l.scale(),o=+n[0],a=+n[1];return r=l.translate(n).clipExtent([[o-.059*t,a-.3835*t],[o+.4498*t,a+.3375*t]]).stream(v),e=h.translate([o-.087*t,a+.17*t]).clipExtent([[o-.1166*t+1e-6,a+.2582*t+1e-6],[o-.06*t-1e-6,a+.32*t-1e-6]]).stream(v),i=p.translate([o-.092*t,a-0*t]).clipExtent([[o-.114*t+1e-6,a-.013*t+1e-6],[o-.0594*t-1e-6,a+.0133*t-1e-6]]).stream(v),u=d.translate([o-.089*t,a-.0265*t]).clipExtent([[o-.089*t+1e-6,a+.0154*t+1e-6],[o-.0588*t-1e-6,a+.0391*t-1e-6]]).stream(v),w()},b.fitExtent=function(n,t){return g(b,n,t)},b.fitSize=function(n,t){return y(b,n,t)},b.drawCompositionBorders=function(n){var t=l([-82.6999,-51.3043]),r=l([-77.5442,-51.6631]),e=l([-78.0254,-55.186]),o=l([-83.6106,-54.7785]),i=l([-80.0638,-35.984]),u=l([-76.2153,-36.1811]),a=l([-76.2994,-37.6839]),c=l([-80.2231,-37.4757]),f=l([-78.442,-37.706]),s=l([-76.263,-37.8054]),h=l([-76.344,-39.1595]),p=l([-78.5638,-39.0559]);n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),n.moveTo(i[0],i[1]),n.lineTo(u[0],u[1]),n.lineTo(a[0],a[1]),n.lineTo(a[0],a[1]),n.lineTo(c[0],c[1]),n.closePath(),n.moveTo(f[0],f[1]),n.lineTo(s[0],s[1]),n.lineTo(h[0],h[1]),n.lineTo(h[0],h[1]),n.lineTo(p[0],p[1]),n.closePath()},b.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},b.scale(700)};function D(n,t){var r=Object(e.f)(n),o=n===t?Object(e.s)(n):(r-Object(e.f)(t))/(t-n),i=r/o+n;if(Object(e.a)(o)<e.h)return w.b;function u(n,t){var r=i-t,u=o*n;return[r*Object(e.s)(u),i-r*Object(e.f)(u)]}return u.invert=function(n,t){var r=i-t;return[Object(e.e)(n,Object(e.a)(r))/o*Object(e.r)(r),i-Object(e.r)(o)*Object(e.t)(n*n+r*r)]},u}var L=function(){return i(D).scale(131.154).center([0,13.9389])};var q=function(){var n,t,r,e,o,i,u=L().rotate([-136,-22]).parallels([40,34]),a=L().rotate([-146,-26]).parallels([40,34]),c=L().rotate([-126,-19]).parallels([40,34]),f={point:function(n,t){i=[n,t]}};function s(n){var t=n[0],u=n[1];return i=null,r.point(t,u),i||(e.point(t,u),i)||(o.point(t,u),i)}function l(){return n=t=null,s}return s.invert=function(n){var t=u.scale(),r=u.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=-.10925&&o<-.02701&&e>=-.135&&e<-.0397?a:o>=.04713&&o<.11138&&e>=-.03986&&e<.051?c:u).invert(n)},s.stream=function(r){return n&&t===r?n:(e=[u.stream(t=r),a.stream(r),c.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},s.precision=function(n){return arguments.length?(u.precision(n),a.precision(n),c.precision(n),l()):u.precision()},s.scale=function(n){return arguments.length?(u.scale(n),a.scale(n),c.scale(.7*n),s.translate(u.translate())):u.scale()},s.translate=function(n){if(!arguments.length)return u.translate();var t=u.scale(),i=+n[0],s=+n[1];return r=u.translate(n).clipExtent([[i-.1352*t,s-.1091*t],[i+.117*t,s+.098*t]]).stream(f),e=a.translate([i-.0425*t,s-.005*t]).clipExtent([[i-.135*t+1e-6,s-.1093*t+1e-6],[i-.0397*t-1e-6,s-.027*t-1e-6]]).stream(f),o=c.translate(n).clipExtent([[i-.0399*t+1e-6,s+.0471*t+1e-6],[i+.051*t-1e-6,s+.1114*t-1e-6]]).stream(f),l()},s.fitExtent=function(n,t){return g(s,n,t)},s.fitSize=function(n,t){return y(s,n,t)},s.drawCompositionBorders=function(n){var t=u([126.01320483689143,41.621090310215585]),r=u([133.04304387025903,42.15087523707186]),e=u([133.3021766080688,37.43975444725098]),o=u([126.87889168628224,36.95488945159779]),i=u([132.9,29.8]),a=u([134,33]),c=u([139.3,33.2]),f=u([139.16,30.5]);n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),n.moveTo(i[0],i[1]),n.lineTo(a[0],a[1]),n.lineTo(c[0],c[1]),n.lineTo(f[0],f[1])},s.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},s.scale(2200)};var B=function(){var n,t,r,e,o,i,u,a,c,f,s,l,h,p,d,v=T().rotate([-3,-46.2]).parallels([0,60]),b=j().center([-53.2,3.9]),w=j().center([-61.03,14.67]),x=j().center([-61.46,16.14]),_=j().center([-62.85,17.92]),E=j().center([-56.23,46.93]),O=j().center([45.16,-12.8]),S=j().center([55.52,-21.13]),M=j().center([165.8,-21.07]),k=j().center([-178.1,-14.3]),P=j().center([-150.55,-17.11]),C=j().center([-150.55,-17.11]),A={point:function(n,t){d=[n,t]}};function N(n){var t=n[0],v=n[1];return d=null,r.point(t,v),d||(e.point(t,v),d)||(o.point(t,v),d)||(i.point(t,v),d)||(u.point(t,v),d)||(a.point(t,v),d)||(c.point(t,v),d)||(f.point(t,v),d)||(s.point(t,v),d)||(l.point(t,v),d)||(h.point(t,v),d)||(p.point(t,v),d)}function R(){return n=t=null,N}return N.invert=function(n){var t=v.scale(),r=v.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=.029&&o<.0864&&e>=-.14&&e<-.0996?b:o>=0&&o<.029&&e>=-.14&&e<-.0996?w:o>=-.032&&o<0&&e>=-.14&&e<-.0996?x:o>=-.052&&o<-.032&&e>=-.14&&e<-.0996?_:o>=-.076&&o<.052&&e>=-.14&&e<-.0996?E:o>=-.076&&o<-.052&&e>=.0967&&e<.1371?O:o>=-.052&&o<-.02&&e>=.0967&&e<.1371?S:o>=-.02&&o<.012&&e>=.0967&&e<.1371?M:o>=.012&&o<.033&&e>=.0967&&e<.1371?k:o>=.033&&o<.0864&&e>=.0967&&e<.1371?P:v).invert(n)},N.stream=function(r){return n&&t===r?n:(e=[v.stream(t=r),b.stream(r),w.stream(r),x.stream(r),_.stream(r),E.stream(r),O.stream(r),S.stream(r),M.stream(r),k.stream(r),P.stream(r),C.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},N.precision=function(n){return arguments.length?(v.precision(n),b.precision(n),w.precision(n),x.precision(n),_.precision(n),E.precision(n),O.precision(n),S.precision(n),M.precision(n),k.precision(n),P.precision(n),C.precision(n),R()):v.precision()},N.scale=function(n){return arguments.length?(v.scale(n),b.scale(.6*n),w.scale(1.6*n),x.scale(1.4*n),_.scale(5*n),E.scale(1.3*n),O.scale(1.6*n),S.scale(1.2*n),M.scale(.3*n),k.scale(2.7*n),P.scale(.5*n),C.scale(.06*n),N.translate(v.translate())):v.scale()},N.translate=function(n){if(!arguments.length)return v.translate();var t=v.scale(),d=+n[0],g=+n[1];return r=v.translate(n).clipExtent([[d-.0996*t,g-.0908*t],[d+.0967*t,g+.0864*t]]).stream(A),e=b.translate([d-.12*t,g+.0575*t]).clipExtent([[d-.14*t+1e-6,g+.029*t+1e-6],[d-.0996*t-1e-6,g+.0864*t-1e-6]]).stream(A),o=w.translate([d-.12*t,g+.013*t]).clipExtent([[d-.14*t+1e-6,g+0*t+1e-6],[d-.0996*t-1e-6,g+.029*t-1e-6]]).stream(A),i=x.translate([d-.12*t,g-.014*t]).clipExtent([[d-.14*t+1e-6,g-.032*t+1e-6],[d-.0996*t-1e-6,g+0*t-1e-6]]).stream(A),u=_.translate([d-.12*t,g-.044*t]).clipExtent([[d-.14*t+1e-6,g-.052*t+1e-6],[d-.0996*t-1e-6,g-.032*t-1e-6]]).stream(A),a=E.translate([d-.12*t,g-.065*t]).clipExtent([[d-.14*t+1e-6,g-.076*t+1e-6],[d-.0996*t-1e-6,g-.052*t-1e-6]]).stream(A),c=O.translate([d+.117*t,g-.064*t]).clipExtent([[d+.0967*t+1e-6,g-.076*t+1e-6],[d+.1371*t-1e-6,g-.052*t-1e-6]]).stream(A),f=S.translate([d+.116*t,g-.0355*t]).clipExtent([[d+.0967*t+1e-6,g-.052*t+1e-6],[d+.1371*t-1e-6,g-.02*t-1e-6]]).stream(A),s=M.translate([d+.116*t,g-.0048*t]).clipExtent([[d+.0967*t+1e-6,g-.02*t+1e-6],[d+.1371*t-1e-6,g+.012*t-1e-6]]).stream(A),l=k.translate([d+.116*t,g+.022*t]).clipExtent([[d+.0967*t+1e-6,g+.012*t+1e-6],[d+.1371*t-1e-6,g+.033*t-1e-6]]).stream(A),p=C.translate([d+.11*t,g+.045*t]).clipExtent([[d+.0967*t+1e-6,g+.033*t+1e-6],[d+.1371*t-1e-6,g+.06*t-1e-6]]).stream(A),h=P.translate([d+.115*t,g+.075*t]).clipExtent([[d+.0967*t+1e-6,g+.06*t+1e-6],[d+.1371*t-1e-6,g+.0864*t-1e-6]]).stream(A),R()},N.fitExtent=function(n,t){return g(N,n,t)},N.fitSize=function(n,t){return y(N,n,t)},N.drawCompositionBorders=function(n){var t,r,e,o;t=v([-7.938886725111036,43.7219460918835]),r=v([-4.832080896458295,44.12930268549372]),e=v([-4.205299743793263,40.98096346967365]),o=v([-7.071796453126152,40.610037319181444]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([-8.42751373617692,45.32889452553031]),r=v([-5.18599305777107,45.7566442062976]),e=v([-4.832080905154431,44.129302726751426]),o=v([-7.938886737126192,43.72194613263854]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([-9.012656899657046,47.127733821030176]),r=v([-5.6105244772793155,47.579777861410626]),e=v([-5.185993067168585,45.756644248170346]),o=v([-8.427513749141811,45.32889456686326]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([-9.405747558985553,48.26506375557457]),r=v([-5.896175018439575,48.733352850851624]),e=v([-5.610524487556043,47.57977790393761]),o=v([-9.012656913808351,47.127733862971255]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([-9.908436061346974,49.642448789505856]),r=v([-6.262026716233124,50.131426841787174]),e=v([-5.896175029331232,48.73335289377258]),o=v([-9.40574757396393,48.26506379787767]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([11.996907706504462,50.16039028163579]),r=v([15.649907879773343,49.68279246765253]),e=v([15.156712840526632,48.30371557625831]),o=v([11.64122661754411,48.761078240546816]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([11.641226606955788,48.7610781975889]),r=v([15.156712825832164,48.30371553390465]),e=v([14.549932166241172,46.4866532486199]),o=v([11.204443787952183,46.91899233914248]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([11.204443778297161,46.918992296823646]),r=v([14.549932152815039,46.486653206856396]),e=v([13.994409796764009,44.695833444323256]),o=v([10.805306599253848,45.105133870684924]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([10.805306590412085,45.10513382903308]),r=v([13.99440978444733,44.695833403183606]),e=v([13.654633799024392,43.53552468558152]),o=v([10.561516803980956,43.930671459798624]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([10.561516795617383,43.93067141859757]),r=v([13.654633787361952,43.5355246448671]),e=v([12.867691604239901,40.640701985019405]),o=v([9.997809515987688,41.00288343254471]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([10.8,42.4]),r=v([12.8,42.13]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1])},N.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},N.scale(2700)};var z=function(){var n,t,r,e,o,i,u,a,c,f,s,l,h,p,d,v=T().rotate([-10,-53]).parallels([0,60]),b=j().center([-61.46,16.14]),w=j().center([-53.2,3.9]),x=T().rotate([27.8,-38.9]).parallels([0,60]),_=T().rotate([25.43,-37.398]).parallels([0,60]),E=T().rotate([31.17,-39.539]).parallels([0,60]),O=T().rotate([17,-32.7]).parallels([0,60]),S=T().rotate([16,-28.5]).parallels([0,60]),M=j().center([-61.03,14.67]),k=j().center([45.16,-12.8]),P=j().center([55.52,-21.13]),C=T().rotate([-14.4,-35.95]).parallels([0,60]),A={point:function(n,t){d=[n,t]}};function N(n){var t=n[0],v=n[1];return d=null,r.point(t,v),d||(o.point(t,v),d)||(s.point(t,v),d)||(e.point(t,v),d)||(f.point(t,v),d)||(c.point(t,v),d)||(l.point(t,v),d)||(h.point(t,v),d)||(p.point(t,v),d)||(i.point(t,v),d)||(u.point(t,v),d)||(a.point(t,v),d)}function R(){return n=t=null,N}return N.invert=function(n){var t=v.scale(),r=v.translate(),e=(n[0]-(r[0]+.08*t))/t,o=(n[1]-r[1])/t;return(o>=-.31&&o<-.24&&e>=.14&&e<.24?b:o>=-.24&&o<-.17&&e>=.14&&e<.24?w:o>=-.17&&o<-.12&&e>=.21&&e<.24?_:o>=-.17&&o<-.14&&e>=.14&&e<.165?E:o>=-.17&&o<-.1&&e>=.14&&e<.24?x:o>=-.1&&o<-.03&&e>=.14&&e<.24?O:o>=-.03&&o<.04&&e>=.14&&e<.24?S:o>=-.31&&o<-.24&&e>=.24&&e<.34?M:o>=-.24&&o<-.17&&e>=.24&&e<.34?k:o>=-.17&&o<-.1&&e>=.24&&e<.34?P:o>=-.1&&o<-.03&&e>=.24&&e<.34?C:v).invert(n)},N.stream=function(r){return n&&t===r?n:(e=[v.stream(t=r),w.stream(r),M.stream(r),b.stream(r),S.stream(r),O.stream(r),k.stream(r),P.stream(r),C.stream(r),x.stream(r),_.stream(r),E.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},N.precision=function(n){return arguments.length?(v.precision(n),w.precision(n),M.precision(n),b.precision(n),S.precision(n),O.precision(n),k.precision(n),P.precision(n),C.precision(n),x.precision(n),_.precision(n),E.precision(n),R()):v.precision()},N.scale=function(n){return arguments.length?(v.scale(n),b.scale(3*n),w.scale(.8*n),M.scale(3.5*n),P.scale(2.7*n),x.scale(2*n),_.scale(2*n),E.scale(2*n),O.scale(3*n),S.scale(n),k.scale(5.5*n),C.scale(6*n),N.translate(v.translate())):v.scale()},N.translate=function(n){if(!arguments.length)return v.translate();var t=v.scale(),d=+n[0],g=+n[1];return r=v.translate([d-.08*t,g]).clipExtent([[d-.51*t,g-.33*t],[d+.5*t,g+.33*t]]).stream(A),e=b.translate([d+.19*t,g-.275*t]).clipExtent([[d+.14*t+1e-6,g-.31*t+1e-6],[d+.24*t-1e-6,g-.24*t-1e-6]]).stream(A),o=w.translate([d+.19*t,g-.205*t]).clipExtent([[d+.14*t+1e-6,g-.24*t+1e-6],[d+.24*t-1e-6,g-.17*t-1e-6]]).stream(A),i=x.translate([d+.19*t,g-.135*t]).clipExtent([[d+.14*t+1e-6,g-.17*t+1e-6],[d+.24*t-1e-6,g-.1*t-1e-6]]).stream(A),u=_.translate([d+.225*t,g-.147*t]).clipExtent([[d+.21*t+1e-6,g-.17*t+1e-6],[d+.24*t-1e-6,g-.12*t-1e-6]]).stream(A),a=E.translate([d+.153*t,g-.15*t]).clipExtent([[d+.14*t+1e-6,g-.17*t+1e-6],[d+.165*t-1e-6,g-.14*t-1e-6]]).stream(A),c=O.translate([d+.19*t,g-.065*t]).clipExtent([[d+.14*t+1e-6,g-.1*t+1e-6],[d+.24*t-1e-6,g-.03*t-1e-6]]).stream(A),f=S.translate([d+.19*t,g+.005*t]).clipExtent([[d+.14*t+1e-6,g-.03*t+1e-6],[d+.24*t-1e-6,g+.04*t-1e-6]]).stream(A),s=M.translate([d+.29*t,g-.275*t]).clipExtent([[d+.24*t+1e-6,g-.31*t+1e-6],[d+.34*t-1e-6,g-.24*t-1e-6]]).stream(A),l=k.translate([d+.29*t,g-.205*t]).clipExtent([[d+.24*t+1e-6,g-.24*t+1e-6],[d+.34*t-1e-6,g-.17*t-1e-6]]).stream(A),h=P.translate([d+.29*t,g-.135*t]).clipExtent([[d+.24*t+1e-6,g-.17*t+1e-6],[d+.34*t-1e-6,g-.1*t-1e-6]]).stream(A),p=C.translate([d+.29*t,g-.065*t]).clipExtent([[d+.24*t+1e-6,g-.1*t+1e-6],[d+.34*t-1e-6,g-.03*t-1e-6]]).stream(A),R()},N.fitExtent=function(n,t){return g(N,n,t)},N.fitSize=function(n,t){return y(N,n,t)},N.drawCompositionBorders=function(n){var t,r,e,o;t=v([42.45755610828648,63.343658547914934]),r=v([52.65837266667029,59.35045080290929]),e=v([47.19754502247785,56.12653496548117]),o=v([37.673034273363044,59.61638268506111]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([59.41110754003403,62.35069727399336]),r=v([66.75050228640794,57.11797303636038]),e=v([60.236065725110436,54.63331433818992]),o=v([52.65837313153311,59.350450804599355]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([48.81091130080243,66.93353402634641]),r=v([59.41110730654679,62.35069740653086]),e=v([52.6583728974441,59.3504509222445]),o=v([42.45755631675751,63.34365868805821]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([31.054198418446475,52.1080673766184]),r=v([39.09869284884117,49.400700047190554]),e=v([36.0580811499175,46.02944174908498]),o=v([28.690508588835726,48.433126979386415]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([33.977877745912025,55.849945501331]),r=v([42.75328432167726,52.78455122462353]),e=v([39.09869297540224,49.400700176148625]),o=v([31.05419851807008,52.10806751810923]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([52.658372900759296,59.35045068526415]),r=v([60.23606549583304,54.63331423800264]),e=v([54.6756370953122,51.892298789399455]),o=v([47.19754524788189,56.126534861222794]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([47.19754506082455,56.126534735591456]),r=v([54.675636900123514,51.892298681337095]),e=v([49.94448648951486,48.98775484983285]),o=v([42.75328468716108,52.78455126060818]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([42.75328453416769,52.78455113209101]),r=v([49.94448632339758,48.98775473706457]),e=v([45.912339990394315,45.99361784987003]),o=v([39.09869317356607,49.40070009378711]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([37.673034114296634,59.61638254183119]),r=v([47.197544835420544,56.126534839849846]),e=v([42.75328447467064,52.78455135314068]),o=v([33.977877870363905,55.849945644671145]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([44.56748486446032,57.26489367845818]),e=v([43.9335791193588,53.746540942601726]),o=v([43,56]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=v([37.673034114296634,59.61638254183119]),r=v([40.25902691953466,58.83002044222639]),e=v([38.458270492742024,57.26232178028002]),o=v([35.97754948030156,58.00266637992386]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath()},N.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},N.scale(750)};var F=function(){var n,t,r,e,o,i=j().center([105.25,4]),u=j().center([118.65,2.86]),a={point:function(n,t){o=[n,t]}};function c(n){var t=n[0],i=n[1];return o=null,r.point(t,i),o||(e.point(t,i),o)}function f(){return n=t=null,c}return c.invert=function(n){var t=i.scale(),r=i.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=-.0521&&o<.0229&&e>=-.0111&&e<.1?u:i).invert(n)},c.stream=function(r){return n&&t===r?n:(e=[i.stream(t=r),u.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},c.precision=function(n){return arguments.length?(i.precision(n),u.precision(n),f()):i.precision()},c.scale=function(n){return arguments.length?(i.scale(n),u.scale(.615*n),c.translate(i.translate())):i.scale()},c.translate=function(n){if(!arguments.length)return i.translate();var t=i.scale(),o=+n[0],c=+n[1];return r=i.translate(n).clipExtent([[o-.11*t,c-.0521*t],[o-.0111*t,c+.0521*t]]).stream(a),e=u.translate([o+.09*t,c-0*t]).clipExtent([[o-.0111*t+1e-6,c-.0521*t+1e-6],[o+.1*t-1e-6,c+.024*t-1e-6]]).stream(a),f()},c.fitExtent=function(n,t){return g(c,n,t)},c.fitSize=function(n,t){return y(c,n,t)},c.drawCompositionBorders=function(n){var t=i([106.3214,2.0228]),r=i([105.1843,2.3761]),e=i([104.2151,3.3618]),o=i([104.215,4.5651]);n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1])},c.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},c.scale(4800)};var G=function(){var n,t,r,e,o,i,u=j().rotate([-9.5,-1.5]),a=j().rotate([-8.6,-3.5]),c=j().rotate([-5.6,1.45]),f={point:function(n,t){i=[n,t]}};function s(n){var t=n[0],u=n[1];return i=null,r.point(t,u),i||(e.point(t,u),i)||(o.point(t,u),i)}function l(){return n=t=null,s}return s.invert=function(n){var t=u.scale(),r=u.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=-.02&&o<0&&e>=-.038&&e<-.005?a:o>=0&&o<.02&&e>=-.038&&e<-.005?c:u).invert(n)},s.stream=function(r){return n&&t===r?n:(e=[u.stream(t=r),a.stream(r),c.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},s.precision=function(n){return arguments.length?(u.precision(n),a.precision(n),c.precision(n),l()):u.precision()},s.scale=function(n){return arguments.length?(u.scale(n),a.scale(1.5*n),c.scale(4*n),s.translate(u.translate())):u.scale()},s.translate=function(n){if(!arguments.length)return u.translate();var t=u.scale(),i=+n[0],s=+n[1];return r=u.translate(n).clipExtent([[i-.005*t,s-.02*t],[i+.038*t,s+.02*t]]).stream(f),e=a.translate([i-.025*t,s-.01*t]).clipExtent([[i-.038*t+1e-6,s-.02*t+1e-6],[i-.005*t-1e-6,s+0*t-1e-6]]).stream(f),o=c.translate([i-.025*t,s+.01*t]).clipExtent([[i-.038*t+1e-6,s-0*t+1e-6],[i-.005*t-1e-6,s+.02*t-1e-6]]).stream(f),l()},s.fitExtent=function(n,t){return g(s,n,t)},s.fitSize=function(n,t){return y(s,n,t)},s.drawCompositionBorders=function(n){var t,r,e,o;t=u([9.21327272751682,2.645820439454123]),r=u([11.679126293239872,2.644755519268689]),e=u([11.676845389029227,.35307824637606433]),o=u([9.213572917774014,.35414205204417754]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=u([7.320873711543669,2.64475551449975]),r=u([9.213272722738658,2.645820434679803]),e=u([9.213422896480349,1.4999812505283054]),o=u([7.322014760520787,1.4989168878985566]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath(),t=u([7.3220147605302905,1.4989168783492766]),r=u([9.213422896481598,1.499981240979021]),e=u([9.213572912999604,.354142056817247]),o=u([7.323154615739809,.353078251154504]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath()},s.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},s.scale(12e3)};var V=function(){var n,t,r,e,o,i=c().rotate([4.4,.8]).center([0,55.4]).parallels([50,60]),u=c().rotate([4.4,.8]).center([0,55.4]).parallels([50,60]),a={point:function(n,t){o=[n,t]}};function f(n){var t=n[0],i=n[1];return o=null,r.point(t,i),o||(e.point(t,i),o)}function s(){return n=t=null,f}return f.invert=function(n){var t=i.scale(),r=i.translate(),e=(n[0]-r[0])/t,o=(n[1]-r[1])/t;return(o>=-.089&&o<.06&&e>=.029&&e<.046?u:i).invert(n)},f.stream=function(r){return n&&t===r?n:(e=[i.stream(t=r),u.stream(r)],o=e.length,n={point:function(n,t){for(var r=-1;++r<o;)e[r].point(n,t)},sphere:function(){for(var n=-1;++n<o;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)e[n].polygonEnd()}});var e,o},f.precision=function(n){return arguments.length?(i.precision(n),u.precision(n),s()):i.precision()},f.scale=function(n){return arguments.length?(i.scale(n),u.scale(n),f.translate(i.translate())):i.scale()},f.translate=function(n){if(!arguments.length)return i.translate();var t=i.scale(),o=+n[0],c=+n[1];return r=i.translate(n).clipExtent([[o-.065*t,c-.089*t],[o+.075*t,c+.089*t]]).stream(a),e=u.translate([o+.01*t,c+.025*t]).clipExtent([[o+.029*t+1e-6,c-.089*t+1e-6],[o+.046*t-1e-6,c-.06*t-1e-6]]).stream(a),s()},f.fitExtent=function(n,t){return g(f,n,t)},f.fitSize=function(n,t){return y(f,n,t)},f.drawCompositionBorders=function(n){var t,r,e,o;t=i([-1.113205870242365,59.64920050773357]),r=i([.807899092399606,59.59085836472269]),e=i([.5778611961420386,57.93467822832577]),o=i([-1.25867782078448,57.99029450085142]),n.moveTo(t[0],t[1]),n.lineTo(r[0],r[1]),n.lineTo(e[0],e[1]),n.lineTo(o[0],o[1]),n.closePath()},f.getCompositionBorders=function(){var n=Object(m.a)();return this.drawCompositionBorders(n),n.toString()},f.scale(2800)};r.d(t,\"geoAlbersUsa\",(function(){return b})),r.d(t,\"geoAlbersUsaTerritories\",(function(){return x})),r.d(t,\"geoConicConformalSpain\",(function(){return k})),r.d(t,\"geoConicConformalPortugal\",(function(){return P})),r.d(t,\"geoMercatorEcuador\",(function(){return C})),r.d(t,\"geoTransverseMercatorChile\",(function(){return I})),r.d(t,\"geoConicEquidistantJapan\",(function(){return q})),r.d(t,\"geoConicConformalFrance\",(function(){return B})),r.d(t,\"geoConicConformalEurope\",(function(){return z})),r.d(t,\"geoMercatorMalaysia\",(function(){return F})),r.d(t,\"geoMercatorEquatorialGuinea\",(function(){return G})),r.d(t,\"geoAlbersUk\",(function(){return V}))},function(n,t,r){\"use strict\";r.r(t);var e=r(6);function o(){}function i(n,t){var r=new o;if(n instanceof o)n.each((function(n,t){r.set(t,n)}));else if(Array.isArray(n)){var e,i=-1,u=n.length;if(null==t)for(;++i<u;)r.set(i,n[i]);else for(;++i<u;)r.set(t(e=n[i],i,n),e)}else if(n)for(var a in n)r.set(a,n[a]);return r}o.prototype=i.prototype={constructor:o,has:function(n){return\"$\"+n in this},get:function(n){return this[\"$\"+n]},set:function(n,t){return this[\"$\"+n]=t,this},remove:function(n){var t=\"$\"+n;return t in this&&delete this[t]},clear:function(){for(var n in this)\"$\"===n[0]&&delete this[n]},keys:function(){var n=[];for(var t in this)\"$\"===t[0]&&n.push(t.slice(1));return n},values:function(){var n=[];for(var t in this)\"$\"===t[0]&&n.push(this[t]);return n},entries:function(){var n=[];for(var t in this)\"$\"===t[0]&&n.push({key:t.slice(1),value:this[t]});return n},size:function(){var n=0;for(var t in this)\"$\"===t[0]&&++n;return n},empty:function(){for(var n in this)if(\"$\"===n[0])return!1;return!0},each:function(n){for(var t in this)\"$\"===t[0]&&n(this[t],t.slice(1),this)}};var u=i,a=function(){var n,t,r,e=[],o=[];function i(r,o,a,c){if(o>=e.length)return null!=n&&r.sort(n),null!=t?t(r):r;for(var f,s,l,h=-1,p=r.length,d=e[o++],v=u(),g=a();++h<p;)(l=v.get(f=d(s=r[h])+\"\"))?l.push(s):v.set(f,[s]);return v.each((function(n,t){c(g,t,i(n,o,a,c))})),g}return r={object:function(n){return i(n,0,c,f)},map:function(n){return i(n,0,s,l)},entries:function(n){return function n(r,i){if(++i>e.length)return r;var u,a=o[i-1];return null!=t&&i>=e.length?u=r.entries():(u=[],r.each((function(t,r){u.push({key:r,values:n(t,i)})}))),null!=a?u.sort((function(n,t){return a(n.key,t.key)})):u}(i(n,0,s,l),0)},key:function(n){return e.push(n),r},sortKeys:function(n){return o[e.length-1]=n,r},sortValues:function(t){return n=t,r},rollup:function(n){return t=n,r}}};function c(){return{}}function f(n,t,r){n[t]=r}function s(){return u()}function l(n,t,r){n.set(t,r)}function h(){}var p=u.prototype;function d(n,t){var r=new h;if(n instanceof h)n.each((function(n){r.add(n)}));else if(n){var e=-1,o=n.length;if(null==t)for(;++e<o;)r.add(n[e]);else for(;++e<o;)r.add(t(n[e],e,n))}return r}h.prototype=d.prototype={constructor:h,has:p.has,add:function(n){return this[\"$\"+(n+=\"\")]=n,this},remove:p.remove,clear:p.clear,values:p.keys,size:p.size,empty:p.empty,each:p.each};function v(n){return n.target.depth}function g(n){return n.depth}function y(n,t){return t-1-n.height}function m(n,t){return n.sourceLinks.length?n.depth:t-1}function b(n){return n.targetLinks.length?n.depth:n.sourceLinks.length?Object(e.min)(n.sourceLinks,v)-1:0}function w(n){return function(){return n}}function x(n,t){return E(n.source,t.source)||n.index-t.index}function _(n,t){return E(n.target,t.target)||n.index-t.index}function E(n,t){return n.y0-t.y0}function j(n){return n.value}function O(n){return(n.y0+n.y1)/2}function S(n){return O(n.source)*n.value}function M(n){return O(n.target)*n.value}function T(n){return n.index}function k(n){return n.nodes}function P(n){return n.links}function C(n,t){var r=n.get(t);if(!r)throw new Error(\"missing: \"+t);return r}var A=function(){var n=0,t=0,r=1,o=1,i=24,c=8,f=T,s=m,l=k,h=P,p=32;function d(){var n={nodes:l.apply(null,arguments),links:h.apply(null,arguments)};return v(n),g(n),y(n),b(n),A(n),n}function v(n){n.nodes.forEach((function(n,t){n.index=t,n.sourceLinks=[],n.targetLinks=[]}));var t=u(n.nodes,f);n.links.forEach((function(n,r){n.index=r;var e=n.source,o=n.target;\"object\"!=typeof e&&(e=n.source=C(t,e)),\"object\"!=typeof o&&(o=n.target=C(t,o)),e.sourceLinks.push(n),o.targetLinks.push(n)}))}function g(n){n.nodes.forEach((function(n){n.value=Math.max(Object(e.sum)(n.sourceLinks,j),Object(e.sum)(n.targetLinks,j))}))}function y(t){var e,o,u;for(e=t.nodes,o=[],u=0;e.length;++u,e=o,o=[])e.forEach((function(n){n.depth=u,n.sourceLinks.forEach((function(n){o.indexOf(n.target)<0&&o.push(n.target)}))}));for(e=t.nodes,o=[],u=0;e.length;++u,e=o,o=[])e.forEach((function(n){n.height=u,n.targetLinks.forEach((function(n){o.indexOf(n.source)<0&&o.push(n.source)}))}));var a=(r-n-i)/(u-1);t.nodes.forEach((function(t){t.x1=(t.x0=n+Math.max(0,Math.min(u-1,Math.floor(s.call(null,t,u))))*a)+i}))}function b(n){var r,i=a().key((function(n){return n.x0})).sortKeys(e.ascending).entries(n.nodes).map((function(n){return n.values}));r=Object(e.min)(i,(function(n){return(o-t-(n.length-1)*c)/Object(e.sum)(n,j)})),i.forEach((function(n){n.forEach((function(n,t){n.y1=(n.y0=t)+n.value*r}))})),n.links.forEach((function(n){n.width=n.value*r})),h();for(var u=1,f=p;f>0;--f)l(u*=.99),h(),s(u),h();function s(n){i.forEach((function(t){t.forEach((function(t){if(t.targetLinks.length){var r=(Object(e.sum)(t.targetLinks,S)/Object(e.sum)(t.targetLinks,j)-O(t))*n;t.y0+=r,t.y1+=r}}))}))}function l(n){i.slice().reverse().forEach((function(t){t.forEach((function(t){if(t.sourceLinks.length){var r=(Object(e.sum)(t.sourceLinks,M)/Object(e.sum)(t.sourceLinks,j)-O(t))*n;t.y0+=r,t.y1+=r}}))}))}function h(){i.forEach((function(n){var r,e,i,u=t,a=n.length;for(n.sort(E),i=0;i<a;++i)(e=u-(r=n[i]).y0)>0&&(r.y0+=e,r.y1+=e),u=r.y1+c;if((e=u-c-o)>0)for(u=r.y0-=e,r.y1-=e,i=a-2;i>=0;--i)(e=(r=n[i]).y1+c-u)>0&&(r.y0-=e,r.y1-=e),u=r.y0}))}}function A(n){n.nodes.forEach((function(n){n.sourceLinks.sort(_),n.targetLinks.sort(x)})),n.nodes.forEach((function(n){var t=n.y0,r=t;n.sourceLinks.forEach((function(n){n.y0=t+n.width/2,t+=n.width})),n.targetLinks.forEach((function(n){n.y1=r+n.width/2,r+=n.width}))}))}return d.update=function(n){return A(n),n},d.nodeId=function(n){return arguments.length?(f=\"function\"==typeof n?n:w(n),d):f},d.nodeAlign=function(n){return arguments.length?(s=\"function\"==typeof n?n:w(n),d):s},d.nodeWidth=function(n){return arguments.length?(i=+n,d):i},d.nodePadding=function(n){return arguments.length?(c=+n,d):c},d.nodes=function(n){return arguments.length?(l=\"function\"==typeof n?n:w(n),d):l},d.links=function(n){return arguments.length?(h=\"function\"==typeof n?n:w(n),d):h},d.size=function(e){return arguments.length?(n=t=0,r=+e[0],o=+e[1],d):[r-n,o-t]},d.extent=function(e){return arguments.length?(n=+e[0][0],r=+e[1][0],t=+e[0][1],o=+e[1][1],d):[[n,t],[r,o]]},d.iterations=function(n){return arguments.length?(p=+n,d):p},d},N=r(390),R=Array.prototype.slice,I=function(n){return function(){return n}};function D(n){return n[0]}function L(n){return n[1]}function q(n){return n.source}function B(n){return n.target}function z(n){var t=q,r=B,e=D,o=L,i=null;function u(){var u,a=R.call(arguments),c=t.apply(this,a),f=r.apply(this,a);if(i||(i=u=Object(N.a)()),n(i,+e.apply(this,(a[0]=c,a)),+o.apply(this,a),+e.apply(this,(a[0]=f,a)),+o.apply(this,a)),u)return i=null,u+\"\"||null}return u.source=function(n){return arguments.length?(t=n,u):t},u.target=function(n){return arguments.length?(r=n,u):r},u.x=function(n){return arguments.length?(e=\"function\"==typeof n?n:I(+n),u):e},u.y=function(n){return arguments.length?(o=\"function\"==typeof n?n:I(+n),u):o},u.context=function(n){return arguments.length?(i=null==n?null:n,u):i},u}function F(n,t,r,e,o){n.moveTo(t,r),n.bezierCurveTo(t=(t+e)/2,r,t,o,e,o)}function G(n){return[n.source.x1,n.y0]}function V(n){return[n.target.x0,n.y1]}var H=function(){return z(F).source(G).target(V)};r.d(t,\"sankey\",(function(){return A})),r.d(t,\"sankeyCenter\",(function(){return b})),r.d(t,\"sankeyLeft\",(function(){return g})),r.d(t,\"sankeyRight\",(function(){return y})),r.d(t,\"sankeyJustify\",(function(){return m})),r.d(t,\"sankeyLinkHorizontal\",(function(){return H}))},function(n,t,r){\"use strict\";r.r(t);var e=function(n){return n},o=function(n){if(null==n)return e;var t,r,o=n.scale[0],i=n.scale[1],u=n.translate[0],a=n.translate[1];return function(n,e){e||(t=r=0);var c=2,f=n.length,s=new Array(f);for(s[0]=(t+=n[0])*o+u,s[1]=(r+=n[1])*i+a;c<f;)s[c]=n[c],++c;return s}},i=function(n){var t,r=o(n.transform),e=1/0,i=e,u=-e,a=-e;function c(n){(n=r(n))[0]<e&&(e=n[0]),n[0]>u&&(u=n[0]),n[1]<i&&(i=n[1]),n[1]>a&&(a=n[1])}function f(n){switch(n.type){case\"GeometryCollection\":n.geometries.forEach(f);break;case\"Point\":c(n.coordinates);break;case\"MultiPoint\":n.coordinates.forEach(c)}}for(t in n.arcs.forEach((function(n){for(var t,o=-1,c=n.length;++o<c;)(t=r(n[o],o))[0]<e&&(e=t[0]),t[0]>u&&(u=t[0]),t[1]<i&&(i=t[1]),t[1]>a&&(a=t[1])})),n.objects)f(n.objects[t]);return[e,i,u,a]},u=function(n,t){return\"string\"==typeof t&&(t=n.objects[t]),\"GeometryCollection\"===t.type?{type:\"FeatureCollection\",features:t.geometries.map((function(t){return a(n,t)}))}:a(n,t)};function a(n,t){var r=t.id,e=t.bbox,o=null==t.properties?{}:t.properties,i=c(n,t);return null==r&&null==e?{type:\"Feature\",properties:o,geometry:i}:null==e?{type:\"Feature\",id:r,properties:o,geometry:i}:{type:\"Feature\",id:r,bbox:e,properties:o,geometry:i}}function c(n,t){var r=o(n.transform),e=n.arcs;function i(n,t){t.length&&t.pop();for(var o=e[n<0?~n:n],i=0,u=o.length;i<u;++i)t.push(r(o[i],i));n<0&&function(n,t){for(var r,e=n.length,o=e-t;o<--e;)r=n[o],n[o++]=n[e],n[e]=r}(t,u)}function u(n){return r(n)}function a(n){for(var t=[],r=0,e=n.length;r<e;++r)i(n[r],t);return t.length<2&&t.push(t[0]),t}function c(n){for(var t=a(n);t.length<4;)t.push(t[0]);return t}function f(n){return n.map(c)}return function n(t){var r,e=t.type;switch(e){case\"GeometryCollection\":return{type:e,geometries:t.geometries.map(n)};case\"Point\":r=u(t.coordinates);break;case\"MultiPoint\":r=t.coordinates.map(u);break;case\"LineString\":r=a(t.arcs);break;case\"MultiLineString\":r=t.arcs.map(a);break;case\"Polygon\":r=f(t.arcs);break;case\"MultiPolygon\":r=t.arcs.map(f);break;default:return null}return{type:e,coordinates:r}}(t)}var f=function(n,t){var r={},e={},o={},i=[],u=-1;function a(n,t){for(var e in n){var o=n[e];delete t[o.start],delete o.start,delete o.end,o.forEach((function(n){r[n<0?~n:n]=1})),i.push(o)}}return t.forEach((function(r,e){var o,i=n.arcs[r<0?~r:r];i.length<3&&!i[1][0]&&!i[1][1]&&(o=t[++u],t[u]=r,t[e]=o)})),t.forEach((function(t){var r,i,u=function(t){var r,e=n.arcs[t<0?~t:t],o=e[0];n.transform?(r=[0,0],e.forEach((function(n){r[0]+=n[0],r[1]+=n[1]}))):r=e[e.length-1];return t<0?[r,o]:[o,r]}(t),a=u[0],c=u[1];if(r=o[a])if(delete o[r.end],r.push(t),r.end=c,i=e[c]){delete e[i.start];var f=i===r?r:r.concat(i);e[f.start=r.start]=o[f.end=i.end]=f}else e[r.start]=o[r.end]=r;else if(r=e[c])if(delete e[r.start],r.unshift(t),r.start=a,i=o[a]){delete o[i.end];var s=i===r?r:i.concat(r);e[s.start=i.start]=o[s.end=r.end]=s}else e[r.start]=o[r.end]=r;else e[(r=[t]).start=a]=o[r.end=c]=r})),a(o,e),a(e,o),t.forEach((function(n){r[n<0?~n:n]||i.push([n])})),i},s=function(n){return c(n,l.apply(this,arguments))};function l(n,t,r){var e,o,i;if(arguments.length>1)e=h(n,t,r);else for(o=0,e=new Array(i=n.arcs.length);o<i;++o)e[o]=o;return{type:\"MultiLineString\",arcs:f(n,e)}}function h(n,t,r){var e,o=[],i=[];function u(n){var t=n<0?~n:n;(i[t]||(i[t]=[])).push({i:n,g:e})}function a(n){n.forEach(u)}function c(n){n.forEach(a)}return function n(t){switch(e=t,t.type){case\"GeometryCollection\":t.geometries.forEach(n);break;case\"LineString\":a(t.arcs);break;case\"MultiLineString\":case\"Polygon\":c(t.arcs);break;case\"MultiPolygon\":!function(n){n.forEach(c)}(t.arcs)}}(t),i.forEach(null==r?function(n){o.push(n[0].i)}:function(n){r(n[0].g,n[n.length-1].g)&&o.push(n[0].i)}),o}var p=function(n){return c(n,d.apply(this,arguments))};function d(n,t){var r={},e=[],o=[];function i(n){n.forEach((function(t){t.forEach((function(t){(r[t=t<0?~t:t]||(r[t]=[])).push(n)}))})),e.push(n)}function u(t){return function(n){for(var t,r=-1,e=n.length,o=n[e-1],i=0;++r<e;)t=o,o=n[r],i+=t[0]*o[1]-t[1]*o[0];return Math.abs(i)}(c(n,{type:\"Polygon\",arcs:[t]}).coordinates[0])}return t.forEach((function n(t){switch(t.type){case\"GeometryCollection\":t.geometries.forEach(n);break;case\"Polygon\":i(t.arcs);break;case\"MultiPolygon\":t.arcs.forEach(i)}})),e.forEach((function(n){if(!n._){var t=[],e=[n];for(n._=1,o.push(t);n=e.pop();)t.push(n),n.forEach((function(n){n.forEach((function(n){r[n<0?~n:n].forEach((function(n){n._||(n._=1,e.push(n))}))}))}))}})),e.forEach((function(n){delete n._})),{type:\"MultiPolygon\",arcs:o.map((function(t){var e,o=[];if(t.forEach((function(n){n.forEach((function(n){n.forEach((function(n){r[n<0?~n:n].length<2&&o.push(n)}))}))})),(e=(o=f(n,o)).length)>1)for(var i,a,c=1,s=u(o[0]);c<e;++c)(i=u(o[c]))>s&&(a=o[0],o[0]=o[c],o[c]=a,s=i);return o})).filter((function(n){return n.length>0}))}}var v=function(n,t){for(var r=0,e=n.length;r<e;){var o=r+e>>>1;n[o]<t?r=o+1:e=o}return r},g=function(n){var t={},r=n.map((function(){return[]}));function e(n,r){n.forEach((function(n){n<0&&(n=~n);var e=t[n];e?e.push(r):t[n]=[r]}))}function o(n,t){n.forEach((function(n){e(n,t)}))}var i={LineString:e,MultiLineString:o,Polygon:o,MultiPolygon:function(n,t){n.forEach((function(n){o(n,t)}))}};for(var u in n.forEach((function n(t,r){\"GeometryCollection\"===t.type?t.geometries.forEach((function(t){n(t,r)})):t.type in i&&i[t.type](t.arcs,r)})),t)for(var a=t[u],c=a.length,f=0;f<c;++f)for(var s=f+1;s<c;++s){var l,h=a[f],p=a[s];(l=r[h])[u=v(l,p)]!==p&&l.splice(u,0,p),(l=r[p])[u=v(l,h)]!==h&&l.splice(u,0,h)}return r},y=function(n){if(null==n)return e;var t,r,o=n.scale[0],i=n.scale[1],u=n.translate[0],a=n.translate[1];return function(n,e){e||(t=r=0);var c=2,f=n.length,s=new Array(f),l=Math.round((n[0]-u)/o),h=Math.round((n[1]-a)/i);for(s[0]=l-t,t=l,s[1]=h-r,r=h;c<f;)s[c]=n[c],++c;return s}},m=function(n,t){if(n.transform)throw new Error(\"already quantized\");if(t&&t.scale)c=n.bbox;else{if(!((r=Math.floor(t))>=2))throw new Error(\"n must be ≥2\");var r,e=(c=n.bbox||i(n))[0],o=c[1],u=c[2],a=c[3];t={scale:[u-e?(u-e)/(r-1):1,a-o?(a-o)/(r-1):1],translate:[e,o]}}var c,f,s=y(t),l=n.objects,h={};function p(n){return s(n)}function d(n){var t;switch(n.type){case\"GeometryCollection\":t={type:\"GeometryCollection\",geometries:n.geometries.map(d)};break;case\"Point\":t={type:\"Point\",coordinates:p(n.coordinates)};break;case\"MultiPoint\":t={type:\"MultiPoint\",coordinates:n.coordinates.map(p)};break;default:return n}return null!=n.id&&(t.id=n.id),null!=n.bbox&&(t.bbox=n.bbox),null!=n.properties&&(t.properties=n.properties),t}for(f in l)h[f]=d(l[f]);return{type:\"Topology\",bbox:c,transform:t,objects:h,arcs:n.arcs.map((function(n){var t,r=0,e=1,o=n.length,i=new Array(o);for(i[0]=s(n[0],0);++r<o;)((t=s(n[r],r))[0]||t[1])&&(i[e++]=t);return 1===e&&(i[e++]=[0,0]),i.length=e,i}))}};r.d(t,\"bbox\",(function(){return i})),r.d(t,\"feature\",(function(){return u})),r.d(t,\"mesh\",(function(){return s})),r.d(t,\"meshArcs\",(function(){return l})),r.d(t,\"merge\",(function(){return p})),r.d(t,\"mergeArcs\",(function(){return d})),r.d(t,\"neighbors\",(function(){return g})),r.d(t,\"quantize\",(function(){return m})),r.d(t,\"transform\",(function(){return o})),r.d(t,\"untransform\",(function(){return y}))},function(n,t,r){\"use strict\";r.r(t);var e=function(n){return function(){return n}};function o(n){return n[0]}function i(n){return n[1]}function u(){this._=null}function a(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function c(n,t){var r=t,e=t.R,o=r.U;o?o.L===r?o.L=e:o.R=e:n._=e,e.U=o,r.U=e,r.R=e.L,r.R&&(r.R.U=r),e.L=r}function f(n,t){var r=t,e=t.L,o=r.U;o?o.L===r?o.L=e:o.R=e:n._=e,e.U=o,r.U=e,r.L=e.R,r.L&&(r.L.U=r),e.R=r}function s(n){for(;n.L;)n=n.L;return n}u.prototype={constructor:u,insert:function(n,t){var r,e,o;if(n){if(t.P=n,t.N=n.N,n.N&&(n.N.P=t),n.N=t,n.R){for(n=n.R;n.L;)n=n.L;n.L=t}else n.R=t;r=n}else this._?(n=s(this._),t.P=null,t.N=n,n.P=n.L=t,r=n):(t.P=t.N=null,this._=t,r=null);for(t.L=t.R=null,t.U=r,t.C=!0,n=t;r&&r.C;)r===(e=r.U).L?(o=e.R)&&o.C?(r.C=o.C=!1,e.C=!0,n=e):(n===r.R&&(c(this,r),r=(n=r).U),r.C=!1,e.C=!0,f(this,e)):(o=e.L)&&o.C?(r.C=o.C=!1,e.C=!0,n=e):(n===r.L&&(f(this,r),r=(n=r).U),r.C=!1,e.C=!0,c(this,e)),r=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var t,r,e,o=n.U,i=n.L,u=n.R;if(r=i?u?s(u):i:u,o?o.L===n?o.L=r:o.R=r:this._=r,i&&u?(e=r.C,r.C=n.C,r.L=i,i.U=r,r!==u?(o=r.U,r.U=n.U,n=r.R,o.L=n,r.R=u,u.U=r):(r.U=o,o=r,n=r.R)):(e=n.C,n=r),n&&(n.U=o),!e)if(n&&n.C)n.C=!1;else{do{if(n===this._)break;if(n===o.L){if((t=o.R).C&&(t.C=!1,o.C=!0,c(this,o),t=o.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,f(this,t),t=o.R),t.C=o.C,o.C=t.R.C=!1,c(this,o),n=this._;break}}else if((t=o.L).C&&(t.C=!1,o.C=!0,f(this,o),t=o.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,c(this,t),t=o.L),t.C=o.C,o.C=t.L.C=!1,f(this,o),n=this._;break}t.C=!0,n=o,o=o.U}while(!n.C);n&&(n.C=!1)}}};var l=u;function h(n,t,r,e){var o=[null,null],i=D.push(o)-1;return o.left=n,o.right=t,r&&d(o,n,t,r),e&&d(o,t,n,e),R[n.index].halfedges.push(i),R[t.index].halfedges.push(i),o}function p(n,t,r){var e=[t,r];return e.left=n,e}function d(n,t,r,e){n[0]||n[1]?n.left===r?n[1]=e:n[0]=e:(n[0]=e,n.left=t,n.right=r)}function v(n,t,r,e,o){var i,u=n[0],a=n[1],c=u[0],f=u[1],s=0,l=1,h=a[0]-c,p=a[1]-f;if(i=t-c,h||!(i>0)){if(i/=h,h<0){if(i<s)return;i<l&&(l=i)}else if(h>0){if(i>l)return;i>s&&(s=i)}if(i=e-c,h||!(i<0)){if(i/=h,h<0){if(i>l)return;i>s&&(s=i)}else if(h>0){if(i<s)return;i<l&&(l=i)}if(i=r-f,p||!(i>0)){if(i/=p,p<0){if(i<s)return;i<l&&(l=i)}else if(p>0){if(i>l)return;i>s&&(s=i)}if(i=o-f,p||!(i<0)){if(i/=p,p<0){if(i>l)return;i>s&&(s=i)}else if(p>0){if(i<s)return;i<l&&(l=i)}return!(s>0||l<1)||(s>0&&(n[0]=[c+s*h,f+s*p]),l<1&&(n[1]=[c+l*h,f+l*p]),!0)}}}}}function g(n,t,r,e,o){var i=n[1];if(i)return!0;var u,a,c=n[0],f=n.left,s=n.right,l=f[0],h=f[1],p=s[0],d=s[1],v=(l+p)/2,g=(h+d)/2;if(d===h){if(v<t||v>=e)return;if(l>p){if(c){if(c[1]>=o)return}else c=[v,r];i=[v,o]}else{if(c){if(c[1]<r)return}else c=[v,o];i=[v,r]}}else if(a=g-(u=(l-p)/(d-h))*v,u<-1||u>1)if(l>p){if(c){if(c[1]>=o)return}else c=[(r-a)/u,r];i=[(o-a)/u,o]}else{if(c){if(c[1]<r)return}else c=[(o-a)/u,o];i=[(r-a)/u,r]}else if(h<d){if(c){if(c[0]>=e)return}else c=[t,u*t+a];i=[e,u*e+a]}else{if(c){if(c[0]<t)return}else c=[e,u*e+a];i=[t,u*t+a]}return n[0]=c,n[1]=i,!0}function y(n,t){var r=n.site,e=t.left,o=t.right;return r===o&&(o=e,e=r),o?Math.atan2(o[1]-e[1],o[0]-e[0]):(r===e?(e=t[1],o=t[0]):(e=t[0],o=t[1]),Math.atan2(e[0]-o[0],o[1]-e[1]))}function m(n,t){return t[+(t.left!==n.site)]}function b(n,t){return t[+(t.left===n.site)]}var w,x=[];function _(){a(this),this.x=this.y=this.arc=this.site=this.cy=null}function E(n){var t=n.P,r=n.N;if(t&&r){var e=t.site,o=n.site,i=r.site;if(e!==i){var u=o[0],a=o[1],c=e[0]-u,f=e[1]-a,s=i[0]-u,l=i[1]-a,h=2*(c*l-f*s);if(!(h>=-q)){var p=c*c+f*f,d=s*s+l*l,v=(l*p-f*d)/h,g=(c*d-s*p)/h,y=x.pop()||new _;y.arc=n,y.site=o,y.x=v+u,y.y=(y.cy=g+a)+Math.sqrt(v*v+g*g),n.circle=y;for(var m=null,b=I._;b;)if(y.y<b.y||y.y===b.y&&y.x<=b.x){if(!b.L){m=b.P;break}b=b.L}else{if(!b.R){m=b;break}b=b.R}I.insert(m,y),m||(w=y)}}}}function j(n){var t=n.circle;t&&(t.P||(w=t.N),I.remove(t),x.push(t),a(t),n.circle=null)}var O=[];function S(){a(this),this.edge=this.site=this.circle=null}function M(n){var t=O.pop()||new S;return t.site=n,t}function T(n){j(n),N.remove(n),O.push(n),a(n)}function k(n){var t=n.circle,r=t.x,e=t.cy,o=[r,e],i=n.P,u=n.N,a=[n];T(n);for(var c=i;c.circle&&Math.abs(r-c.circle.x)<L&&Math.abs(e-c.circle.cy)<L;)i=c.P,a.unshift(c),T(c),c=i;a.unshift(c),j(c);for(var f=u;f.circle&&Math.abs(r-f.circle.x)<L&&Math.abs(e-f.circle.cy)<L;)u=f.N,a.push(f),T(f),f=u;a.push(f),j(f);var s,l=a.length;for(s=1;s<l;++s)f=a[s],c=a[s-1],d(f.edge,c.site,f.site,o);c=a[0],(f=a[l-1]).edge=h(c.site,f.site,null,o),E(c),E(f)}function P(n){for(var t,r,e,o,i=n[0],u=n[1],a=N._;a;)if((e=C(a,u)-i)>L)a=a.L;else{if(!((o=i-A(a,u))>L)){e>-L?(t=a.P,r=a):o>-L?(t=a,r=a.N):t=r=a;break}if(!a.R){t=a;break}a=a.R}!function(n){R[n.index]={site:n,halfedges:[]}}(n);var c=M(n);if(N.insert(t,c),t||r){if(t===r)return j(t),r=M(t.site),N.insert(c,r),c.edge=r.edge=h(t.site,c.site),E(t),void E(r);if(r){j(t),j(r);var f=t.site,s=f[0],l=f[1],p=n[0]-s,v=n[1]-l,g=r.site,y=g[0]-s,m=g[1]-l,b=2*(p*m-v*y),w=p*p+v*v,x=y*y+m*m,_=[(m*w-v*x)/b+s,(p*x-y*w)/b+l];d(r.edge,f,g,_),c.edge=h(f,n,null,_),r.edge=h(n,g,null,_),E(t),E(r)}else c.edge=h(t.site,c.site)}}function C(n,t){var r=n.site,e=r[0],o=r[1],i=o-t;if(!i)return e;var u=n.P;if(!u)return-1/0;var a=(r=u.site)[0],c=r[1],f=c-t;if(!f)return a;var s=a-e,l=1/i-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-c+f/2+o-i/2)))/l+e:(e+a)/2}function A(n,t){var r=n.N;if(r)return C(r,t);var e=n.site;return e[1]===t?e[0]:1/0}var N,R,I,D,L=1e-6,q=1e-12;function B(n,t){return t[1]-n[1]||t[0]-n[0]}function z(n,t){var r,e,o,i=n.sort(B).pop();for(D=[],R=new Array(n.length),N=new l,I=new l;;)if(o=w,i&&(!o||i[1]<o.y||i[1]===o.y&&i[0]<o.x))i[0]===r&&i[1]===e||(P(i),r=i[0],e=i[1]),i=n.pop();else{if(!o)break;k(o.arc)}if(function(){for(var n,t,r,e,o=0,i=R.length;o<i;++o)if((n=R[o])&&(e=(t=n.halfedges).length)){var u=new Array(e),a=new Array(e);for(r=0;r<e;++r)u[r]=r,a[r]=y(n,D[t[r]]);for(u.sort((function(n,t){return a[t]-a[n]})),r=0;r<e;++r)a[r]=t[u[r]];for(r=0;r<e;++r)t[r]=a[r]}}(),t){var u=+t[0][0],a=+t[0][1],c=+t[1][0],f=+t[1][1];!function(n,t,r,e){for(var o,i=D.length;i--;)g(o=D[i],n,t,r,e)&&v(o,n,t,r,e)&&(Math.abs(o[0][0]-o[1][0])>L||Math.abs(o[0][1]-o[1][1])>L)||delete D[i]}(u,a,c,f),function(n,t,r,e){var o,i,u,a,c,f,s,l,h,d,v,g,y=R.length,w=!0;for(o=0;o<y;++o)if(i=R[o]){for(u=i.site,a=(c=i.halfedges).length;a--;)D[c[a]]||c.splice(a,1);for(a=0,f=c.length;a<f;)v=(d=b(i,D[c[a]]))[0],g=d[1],l=(s=m(i,D[c[++a%f]]))[0],h=s[1],(Math.abs(v-l)>L||Math.abs(g-h)>L)&&(c.splice(a,0,D.push(p(u,d,Math.abs(v-n)<L&&e-g>L?[n,Math.abs(l-n)<L?h:e]:Math.abs(g-e)<L&&r-v>L?[Math.abs(h-e)<L?l:r,e]:Math.abs(v-r)<L&&g-t>L?[r,Math.abs(l-r)<L?h:t]:Math.abs(g-t)<L&&v-n>L?[Math.abs(h-t)<L?l:n,t]:null))-1),++f);f&&(w=!1)}if(w){var x,_,E,j=1/0;for(o=0,w=null;o<y;++o)(i=R[o])&&(E=(x=(u=i.site)[0]-n)*x+(_=u[1]-t)*_)<j&&(j=E,w=i);if(w){var O=[n,t],S=[n,e],M=[r,e],T=[r,t];w.halfedges.push(D.push(p(u=w.site,O,S))-1,D.push(p(u,S,M))-1,D.push(p(u,M,T))-1,D.push(p(u,T,O))-1)}}for(o=0;o<y;++o)(i=R[o])&&(i.halfedges.length||delete R[o])}(u,a,c,f)}this.edges=D,this.cells=R,N=I=D=R=null}z.prototype={constructor:z,polygons:function(){var n=this.edges;return this.cells.map((function(t){var r=t.halfedges.map((function(r){return m(t,n[r])}));return r.data=t.site.data,r}))},triangles:function(){var n=[],t=this.edges;return this.cells.forEach((function(r,e){if(i=(o=r.halfedges).length)for(var o,i,u,a,c,f,s=r.site,l=-1,h=t[o[i-1]],p=h.left===s?h.right:h.left;++l<i;)u=p,p=(h=t[o[l]]).left===s?h.right:h.left,u&&p&&e<u.index&&e<p.index&&(c=u,f=p,((a=s)[0]-f[0])*(c[1]-a[1])-(a[0]-c[0])*(f[1]-a[1])<0)&&n.push([s.data,u.data,p.data])})),n},links:function(){return this.edges.filter((function(n){return n.right})).map((function(n){return{source:n.left.data,target:n.right.data}}))},find:function(n,t,r){for(var e,o,i=this,u=i._found||0,a=i.cells.length;!(o=i.cells[u]);)if(++u>=a)return null;var c=n-o.site[0],f=t-o.site[1],s=c*c+f*f;do{o=i.cells[e=u],u=null,o.halfedges.forEach((function(r){var e=i.edges[r],a=e.left;if(a!==o.site&&a||(a=e.right)){var c=n-a[0],f=t-a[1],l=c*c+f*f;l<s&&(s=l,u=a.index)}}))}while(null!==u);return i._found=e,null==r||s<=r*r?o.site:null}};var F=function(){var n=o,t=i,r=null;function u(e){return new z(e.map((function(r,o){var i=[Math.round(n(r,o,e)/L)*L,Math.round(t(r,o,e)/L)*L];return i.index=o,i.data=r,i})),r)}return u.polygons=function(n){return u(n).polygons()},u.links=function(n){return u(n).links()},u.triangles=function(n){return u(n).triangles()},u.x=function(t){return arguments.length?(n=\"function\"==typeof t?t:e(+t),u):n},u.y=function(n){return arguments.length?(t=\"function\"==typeof n?n:e(+n),u):t},u.extent=function(n){return arguments.length?(r=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],u):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},u.size=function(n){return arguments.length?(r=null==n?null:[[0,0],[+n[0],+n[1]]],u):r&&[r[1][0]-r[0][0],r[1][1]-r[0][1]]},u};r.d(t,\"voronoi\",(function(){return F}))},function(n,t,r){\"use strict\";r.r(t);var e={},o={};function i(n){return new Function(\"d\",\"return {\"+n.map((function(n,t){return JSON.stringify(n)+\": d[\"+t+'] || \"\"'})).join(\",\")+\"}\")}function u(n){var t=Object.create(null),r=[];return n.forEach((function(n){for(var e in n)e in t||r.push(t[e]=e)})),r}function a(n,t){var r=n+\"\",e=r.length;return e<t?new Array(t-e+1).join(0)+r:r}function c(n){var t,r=n.getUTCHours(),e=n.getUTCMinutes(),o=n.getUTCSeconds(),i=n.getUTCMilliseconds();return isNaN(n)?\"Invalid Date\":((t=n.getUTCFullYear())<0?\"-\"+a(-t,6):t>9999?\"+\"+a(t,6):a(t,4))+\"-\"+a(n.getUTCMonth()+1,2)+\"-\"+a(n.getUTCDate(),2)+(i?\"T\"+a(r,2)+\":\"+a(e,2)+\":\"+a(o,2)+\".\"+a(i,3)+\"Z\":o?\"T\"+a(r,2)+\":\"+a(e,2)+\":\"+a(o,2)+\"Z\":e||r?\"T\"+a(r,2)+\":\"+a(e,2)+\"Z\":\"\")}var f=function(n){var t=new RegExp('[\"'+n+\"\\n\\r]\"),r=n.charCodeAt(0);function a(n,t){var i,u=[],a=n.length,c=0,f=0,s=a<=0,l=!1;function h(){if(s)return o;if(l)return l=!1,e;var t,i,u=c;if(34===n.charCodeAt(u)){for(;c++<a&&34!==n.charCodeAt(c)||34===n.charCodeAt(++c););return(t=c)>=a?s=!0:10===(i=n.charCodeAt(c++))?l=!0:13===i&&(l=!0,10===n.charCodeAt(c)&&++c),n.slice(u+1,t-1).replace(/\"\"/g,'\"')}for(;c<a;){if(10===(i=n.charCodeAt(t=c++)))l=!0;else if(13===i)l=!0,10===n.charCodeAt(c)&&++c;else if(i!==r)continue;return n.slice(u,t)}return s=!0,n.slice(u,a)}for(10===n.charCodeAt(a-1)&&--a,13===n.charCodeAt(a-1)&&--a;(i=h())!==o;){for(var p=[];i!==e&&i!==o;)p.push(i),i=h();t&&null==(p=t(p,f++))||u.push(p)}return u}function f(t,r){return t.map((function(t){return r.map((function(n){return l(t[n])})).join(n)}))}function s(t){return t.map(l).join(n)}function l(n){return null==n?\"\":n instanceof Date?c(n):t.test(n+=\"\")?'\"'+n.replace(/\"/g,'\"\"')+'\"':n}return{parse:function(n,t){var r,e,o=a(n,(function(n,o){if(r)return r(n,o-1);e=n,r=t?function(n,t){var r=i(n);return function(e,o){return t(r(e),o,n)}}(n,t):i(n)}));return o.columns=e||[],o},parseRows:a,format:function(t,r){return null==r&&(r=u(t)),[r.map(l).join(n)].concat(f(t,r)).join(\"\\n\")},formatBody:function(n,t){return null==t&&(t=u(n)),f(n,t).join(\"\\n\")},formatRows:function(n){return n.map(s).join(\"\\n\")},formatRow:s,formatValue:l}},s=f(\",\"),l=s.parse,h=s.parseRows,p=s.format,d=s.formatBody,v=s.formatRows,g=s.formatRow,y=s.formatValue,m=f(\"\\t\"),b=m.parse,w=m.parseRows,x=m.format,_=m.formatBody,E=m.formatRows,j=m.formatRow,O=m.formatValue;function S(n){for(var t in n){var r,e,o=n[t].trim();if(o)if(\"true\"===o)o=!0;else if(\"false\"===o)o=!1;else if(\"NaN\"===o)o=NaN;else if(isNaN(r=+o)){if(!(e=o.match(/^([-+]\\d{2})?\\d{4}(-\\d{2}(-\\d{2})?)?(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{3})?)?(Z|[-+]\\d{2}:\\d{2})?)?$/)))continue;M&&e[4]&&!e[7]&&(o=o.replace(/-/g,\"/\").replace(/T/,\" \")),o=new Date(o)}else o=r;else o=null;n[t]=o}return n}var M=new Date(\"2019-01-01T00:00\").getHours()||new Date(\"2019-07-01T00:00\").getHours();r.d(t,\"dsvFormat\",(function(){return f})),r.d(t,\"csvParse\",(function(){return l})),r.d(t,\"csvParseRows\",(function(){return h})),r.d(t,\"csvFormat\",(function(){return p})),r.d(t,\"csvFormatBody\",(function(){return d})),r.d(t,\"csvFormatRows\",(function(){return v})),r.d(t,\"csvFormatRow\",(function(){return g})),r.d(t,\"csvFormatValue\",(function(){return y})),r.d(t,\"tsvParse\",(function(){return b})),r.d(t,\"tsvParseRows\",(function(){return w})),r.d(t,\"tsvFormat\",(function(){return x})),r.d(t,\"tsvFormatBody\",(function(){return _})),r.d(t,\"tsvFormatRows\",(function(){return E})),r.d(t,\"tsvFormatRow\",(function(){return j})),r.d(t,\"tsvFormatValue\",(function(){return O})),r.d(t,\"autoType\",(function(){return S}))},,function(n,t,r){\"use strict\";var e=Math.PI,o=2*e,i=o-1e-6;function u(){this._x0=this._y0=this._x1=this._y1=null,this._=\"\"}function a(){return new u}u.prototype=a.prototype={constructor:u,moveTo:function(n,t){this._+=\"M\"+(this._x0=this._x1=+n)+\",\"+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+=\"Z\")},lineTo:function(n,t){this._+=\"L\"+(this._x1=+n)+\",\"+(this._y1=+t)},quadraticCurveTo:function(n,t,r,e){this._+=\"Q\"+ +n+\",\"+ +t+\",\"+(this._x1=+r)+\",\"+(this._y1=+e)},bezierCurveTo:function(n,t,r,e,o,i){this._+=\"C\"+ +n+\",\"+ +t+\",\"+ +r+\",\"+ +e+\",\"+(this._x1=+o)+\",\"+(this._y1=+i)},arcTo:function(n,t,r,o,i){n=+n,t=+t,r=+r,o=+o,i=+i;var u=this._x1,a=this._y1,c=r-n,f=o-t,s=u-n,l=a-t,h=s*s+l*l;if(i<0)throw new Error(\"negative radius: \"+i);if(null===this._x1)this._+=\"M\"+(this._x1=n)+\",\"+(this._y1=t);else if(h>1e-6)if(Math.abs(l*c-f*s)>1e-6&&i){var p=r-u,d=o-a,v=c*c+f*f,g=p*p+d*d,y=Math.sqrt(v),m=Math.sqrt(h),b=i*Math.tan((e-Math.acos((v+h-g)/(2*y*m)))/2),w=b/m,x=b/y;Math.abs(w-1)>1e-6&&(this._+=\"L\"+(n+w*s)+\",\"+(t+w*l)),this._+=\"A\"+i+\",\"+i+\",0,0,\"+ +(l*p>s*d)+\",\"+(this._x1=n+x*c)+\",\"+(this._y1=t+x*f)}else this._+=\"L\"+(this._x1=n)+\",\"+(this._y1=t);else;},arc:function(n,t,r,u,a,c){n=+n,t=+t,c=!!c;var f=(r=+r)*Math.cos(u),s=r*Math.sin(u),l=n+f,h=t+s,p=1^c,d=c?u-a:a-u;if(r<0)throw new Error(\"negative radius: \"+r);null===this._x1?this._+=\"M\"+l+\",\"+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+=\"L\"+l+\",\"+h),r&&(d<0&&(d=d%o+o),d>i?this._+=\"A\"+r+\",\"+r+\",0,1,\"+p+\",\"+(n-f)+\",\"+(t-s)+\"A\"+r+\",\"+r+\",0,1,\"+p+\",\"+(this._x1=l)+\",\"+(this._y1=h):d>1e-6&&(this._+=\"A\"+r+\",\"+r+\",0,\"+ +(d>=e)+\",\"+p+\",\"+(this._x1=n+r*Math.cos(a))+\",\"+(this._y1=t+r*Math.sin(a))))},rect:function(n,t,r,e){this._+=\"M\"+(this._x0=this._x1=+n)+\",\"+(this._y0=this._y1=+t)+\"h\"+ +r+\"v\"+ +e+\"h\"+-r+\"Z\"},toString:function(){return this._}},t.a=a}])}));"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourceRoot":""}
\No newline at end of file