(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-@antv"],{"1d73":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("7746"));t.generate=o.default;var c={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"};t.presetPrimaryColors=c;var i={};t.presetPalettes=i,Object.keys(c).forEach((function(e){i[e]=o.default(c[e]),i[e].primary=i[e][5]}));var a=i.red;t.red=a;var l=i.volcano;t.volcano=l;var s=i.gold;t.gold=s;var u=i.orange;t.orange=u;var h=i.yellow;t.yellow=h;var d=i.lime;t.lime=d;var v=i.green;t.green=v;var f=i.cyan;t.cyan=f;var _=i.blue;t.blue=_;var p=i.geekblue;t.geekblue=p;var m=i.purple;t.purple=m;var g=i.magenta;t.magenta=g;var z=i.grey;t.grey=z},"2adb":function(e,t,n){"use strict";(function(e){n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return _})),n.d(t,"f",(function(){return p}));var r=n("41b2"),o=n.n(r),c=n("8827"),i=n.n(c),a=n("57ba"),l=n.n(a),s=n("1d73");function u(t){!e||Object({NODE_ENV:"production",VUE_APP_DOMIAN_URL:"https://resource.cscec83.cn/jeecg-boot",VUE_APP_STATIC_DOMAIN_URL:"https://resource.cscec83.cn/jeecg-boot/sys/common/static",VUE_APP_FR_BOARD_URL:"https://resource.cscec83.cn/webroot/decision/view/form",VUE_APP_PDF_DOMAIN_URL:"https://resource.cscec83.cn/jeecg-boot/sys/common/pdf/pdfPreviewIframe",VUE_APP_CAS_PREFIX_URL:"http://cas.example.org:8443/cas",VUE_APP_ONLINE_PREVIEW_DOMAIN_URL:"http://fileview.jeecg.com/onlinePreview",VUE_APP_PJ_GANTT_URL:"http://www.cscec83.cn/pj_gantt",VUE_APP_FR_URL:"https://resource.cscec83.cn/webroot/decision/view/report",VUE_APP_JEECG_URL:"https://resource.cscec83.cn/",VUE_APP_HOME_URL:"http://58.240.32.212:9990",VUE_APP_GANTT_URL:"https://resource.cscec83.cn:9080",VUE_APP_BASE_PAGE_URL:"https://resource.cscec83.cn/app/#/dining/evaluate",VUE_APP_ENV:"local",VUE_APP_TO_URL:"https://resource.cscec83.cn/app/#",VUE_APP_LUNTANG_BASE_URL:"http://121.43.150.137:8081/",VUE_APP_TRANSITION_URL:"https://resource.cscec83.cn",VUE_APP_THIRDHANDS_URL:"http://58.240.32.212:8085/webroot/decision",BASE_URL:"/"})}function h(e){return"object"===typeof e&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===typeof e.icon||"function"===typeof e.icon)}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t["class"];break;default:t[n]=r}return t}),{})}var v=function(){function e(){i()(this,e),this.collection={}}return l()(e,[{key:"clear",value:function(){this.collection={}}},{key:"delete",value:function(e){return delete this.collection[e]}},{key:"get",value:function(e){return this.collection[e]}},{key:"has",value:function(e){return Boolean(this.collection[e])}},{key:"set",value:function(e,t){return this.collection[e]=t,this}},{key:"size",get:function(){return Object.keys(this.collection).length}}]),e}();function f(e,t,n,r){return e(t.tag,r?o()({key:n},r,{attrs:o()({},d(t.attrs),r.attrs)}):{key:n,attrs:o()({},d(t.attrs))},(t.children||[]).map((function(r,o){return f(e,r,n+"-"+t.tag+"-"+o)})))}function _(e){return Object(s["generate"])(e)[0]}function p(e,t){switch(t){case"fill":return e+"-fill";case"outline":return e+"-o";case"twotone":return e+"-twotone";default:throw new TypeError("Unknown theme type: "+t+", name: "+e)}}}).call(this,n("f28c"))},"3a9b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="0 0 1024 1024",o="64 64 896 896",c="fill",i="outline",a="twotone";function l(e){for(var t=[],n=1;n-1},a=o[0];e.exports=function(e,t,n){var c=t.direction||a;if(t.isHorizontal=i(c),c&&-1===o.indexOf(c))throw new TypeError("Invalid direction: "+c);if(c===o[0])n(e,t);else if(c===o[1])n(e,t),e.right2left();else if(c===o[2])n(e,t);else if(c===o[3])n(e,t),e.bottom2top();else if(c===o[4]||c===o[5]){var l=r(e,t),s=l.left,u=l.right;n(s,t),n(u,t),t.isHorizontal?s.right2left():s.bottom2top(),u.translate(s.x-u.x,s.y-u.y),e.x=s.x,e.y=u.y;var h=e.getBoundingBox();t.isHorizontal?h.top<0&&e.translate(0,-h.top):h.left<0&&e.translate(-h.left,0)}var d=t.fixedRoot;return void 0===d&&(d=!0),d&&e.translate(-(e.x+e.width/2+e.hgap),-(e.y+e.height/2+e.vgap)),e}},function(e,t,n){var r=n(0),o=18,c=2*o,i=o,a={getId:function(e){return e.id||e.name},getHGap:function(e){return e.hgap||i},getVGap:function(e){return e.vgap||i},getChildren:function(e){return e.children},getHeight:function(e){return e.height||c},getWidth:function(e){var t=e.name||" ";return e.width||t.split("").length*o}};function l(e,t){var n=this;if(n.vgap=n.hgap=0,e instanceof l)return e;n.data=e;var r=t.getHGap(e),o=t.getVGap(e);return n.width=t.getWidth(e),n.height=t.getHeight(e),n.id=t.getId(e),n.x=n.y=0,n.depth=0,n.children||(n.children=[]),n.addGap(r,o),n}function s(e,t,n){void 0===t&&(t={}),t=r.assign({},a,t);var o,c=new l(e,t),i=[c];if(!n&&!e.collapsed)while(o=i.pop())if(!o.data.collapsed){var s=t.getChildren(o.data),u=s?s.length:0;if(o.children=new Array(u),s&&u)for(var h=0;hn.low&&(n=n.nxt);var a=o+r.prelim+r.w-(i+c.prelim);a>0&&(i+=a,u(e,t,n.index,a));var l=v(r),s=v(c);l<=s&&(r=d(r),null!==r&&(o+=r.mod)),l>=s&&(c=h(c),null!==c&&(i+=c.mod))}!r&&c?f(e,t,c,i):r&&!c&&_(e,t,r,o)}function u(e,t,n,r){e.c[t].mod+=r,e.c[t].msel+=r,e.c[t].mser+=r,g(e,t,n,r)}function h(e){return 0===e.cs?e.tl:e.c[0]}function d(e){return 0===e.cs?e.tr:e.c[e.cs-1]}function v(e){return e.y+e.h}function f(e,t,n,r){var o=e.c[0].el;o.tl=n;var c=r-n.mod-e.c[0].msel;o.mod+=c,o.prelim-=c,e.c[0].el=e.c[t].el,e.c[0].msel=e.c[t].msel}function _(e,t,n,r){var o=e.c[t].er;o.tr=n;var c=r-n.mod-e.c[t].mser;o.mod+=c,o.prelim-=c,e.c[t].er=e.c[t-1].er,e.c[t].mser=e.c[t-1].mser}function p(e){e.prelim=(e.c[0].prelim+e.c[0].mod+e.c[e.cs-1].mod+e.c[e.cs-1].prelim+e.c[e.cs-1].w)/2-e.w/2}function m(e,t){t+=e.mod,e.x=e.prelim+t,z(e);for(var n=0;n=n.low)n=n.nxt;return{low:e,index:t,nxt:n}}a(e,r);var M=n.fromNode(e,r);return o(M),m(M,0),i(M,e,r),c(e,r),e}},function(e,t,n){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(1),c=n(10),i=n(2),a=n(0),l=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.execute=function(){var e=this;return e.rootNode.width=0,i(e.rootNode,e.options,c)},t}(o),s={};function u(e,t){return t=a.assign({},s,t),new l(e,t).execute()}e.exports=u},function(e,t,n){var r=n(0);function o(e,t){void 0===e&&(e=0),void 0===t&&(t=[]);var n=this;n.x=n.y=0,n.leftChild=n.rightChild=null,n.height=0,n.children=t}var c={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};function i(e,t,n){n?(t.x=e.x,t.y=e.y):(t.x=e.y,t.y=e.x),e.children.forEach((function(e,r){i(e,t.children[r],n)}))}e.exports=function(e,t){void 0===t&&(t={}),t=r.assign({},c,t);var n,a=0;function l(e){if(!e)return null;e.width=0,e.depth&&e.depth>a&&(a=e.depth);var t=e.children,n=t.length,r=new o(e.height,[]);return t.forEach((function(e,t){var o=l(e);r.children.push(o),0===t&&(r.leftChild=o),t===n-1&&(r.rightChild=o)})),r.originNode=e,r.isLeaf=e.isLeaf(),r}function s(e){if(e.isLeaf||0===e.children.length)e.drawingDepth=a;else{var t=e.children.map((function(e){return s(e)})),n=Math.min.apply(null,t);e.drawingDepth=n-1}return e.drawingDepth}function u(e){e.x=e.drawingDepth*t.rankSep,e.isLeaf?(e.y=0,n&&(e.y=n.y+n.height+t.nodeSep,e.originNode.parent!==n.originNode.parent&&(e.y+=t.subTreeSep)),n=e):(e.children.forEach((function(e){u(e)})),e.y=(e.leftChild.y+e.rightChild.y)/2)}var h=l(e);return s(h),u(h),i(h,e,t.isHorizontal),e}},function(e,t,n){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(1),c=n(12),i=n(4),a=n(0),l=["LR","RL","H"],s=l[0],u=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.execute=function(){var e=this,t=e.options,n=e.rootNode;t.isHorizontal=!0;var r=t.indent,o=t.direction||s;if(o&&-1===l.indexOf(o))throw new TypeError("Invalid direction: "+o);if(o===l[0])c(n,r);else if(o===l[1])c(n,r),n.right2left();else if(o===l[2]){var a=i(n,t),u=a.left,h=a.right;c(u,r),u.right2left(),c(h,r);var d=u.getBoundingBox();h.translate(d.width,0),n.x=h.x-n.width/2}return n},t}(o),h={};function d(e,t){return t=a.assign({},h,t),new u(e,t).execute()}e.exports=d},function(e,t){var n=20;function r(e,t,n){e.x+=n*e.depth,e.y=t?t.y+t.height:0}e.exports=function(e,t){void 0===t&&(t=n);var o=null;e.eachNode((function(e){r(e,o,t),o=e}))}},function(e,t,n){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(1),c=n(14),i=n(2),a=n(0),l=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.execute=function(){var e=this;return i(e.rootNode,e.options,c)},t}(o),s={};function u(e,t){return t=a.assign({},s,t),new l(e,t).execute()}e.exports=u},function(e,t,n){var r=n(0);function o(e,t){var n=0;return e.children.length?e.children.forEach((function(e){n+=o(e,t)})):n=e.height,e._subTreeSep=t.getSubTreeSep(e.data),e.totalHeight=Math.max(e.height,n)+2*e._subTreeSep,e.totalHeight}function c(e){var t=e.children,n=t.length;if(n){t.forEach((function(e){c(e)}));var r=t[0],o=t[n-1],i=o.y-r.y+o.height,a=0;if(t.forEach((function(e){a+=e.totalHeight})),i>e.height)e.y=r.y+i/2-e.height/2;else if(1!==t.length||e.height>a){var l=e.y+(e.height-i)/2-r.y;t.forEach((function(e){e.translate(0,l)}))}else e.y=(r.y+r.height/2+o.y+o.height/2)/2-e.height/2}}var i={getSubTreeSep:function(){return 0}};e.exports=function(e,t){void 0===t&&(t={}),t=r.assign({},i,t),e.parent={x:0,width:0,height:0,y:0},e.BFTraverse((function(e){e.x=e.parent.x+e.parent.width})),e.parent=null,o(e,t),e.startY=0,e.y=e.totalHeight/2-e.height/2,e.eachNode((function(e){var t=e.children,n=t.length;if(n){var r=t[0];if(r.startY=e.startY+e._subTreeSep,1===n)r.y=e.y+e.height/2-r.height/2;else{r.y=r.startY+r.totalHeight/2-r.height/2;for(var o=1;on?n:e};t.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/clear-animation-frame.js": /*!********************************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/clear-animation-frame.js ***! \********************************************************************************/ /*! no static exports found */function(e,t,n){"use strict";function r(e){var t=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;t(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/clone.js": /*!****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/clone.js ***! \****************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=function(e){if("object"!==typeof e||null===e)return e;var t;if(r.default(e)){t=[];for(var n=0,c=e.length;n-1};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/debounce.js": /*!*******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/debounce.js ***! \*******************************************************************/ /*! no static exports found */function(e,t,n){"use strict";function r(e,t,n){var r;return function(){var o=this,c=arguments,i=function(){r=null,n||e.apply(o,c)},a=n&&!r;clearTimeout(r),r=setTimeout(i,t),a&&e.apply(o,c)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/deep-mix.js": /*!*******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/deep-mix.js ***! \*******************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js"),c=5;function i(e,t,n,a){for(var l in n=n||0,a=a||c,t)if(t.hasOwnProperty(l)){var s=t[l];null!==s&&o.default(s)?(o.default(e[l])||(e[l]={}),n20&&(o=20),parseFloat(e.toFixed(o))};t.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten-deep.js": /*!***********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten-deep.js ***! \***********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=function(e,t){if(void 0===t&&(t=[]),r.default(e))for(var n=0;n0};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-prototype.js": /*!***********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-prototype.js ***! \***********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.prototype,o=function(e){var t=e&&e.constructor,n="function"===typeof t&&t.prototype||r;return e===n};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-reg-exp.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-reg-exp.js ***! \*********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js"),o=function(e){return r.default(e,"RegExp")};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js ***! \********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");t.default=function(e){return r.default(e,"String")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js": /*!******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js ***! \******************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={}.toString,o=function(e,t){return r.call(e)==="[object "+t+"]"};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-undefined.js": /*!***********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-undefined.js ***! \***********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return void 0===e};t.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/keys.js": /*!***************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/keys.js ***! \***************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js"),c=Object.keys?function(e){return Object.keys(e)}:function(e){var t=[];return r.default(e,(function(n,r){o.default(e)&&"prototype"===r||t.push(r)})),t};t.default=c},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/last.js": /*!***************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/last.js ***! \***************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");function o(e){if(r.default(e)){var t=e;return t[t.length-1]}}t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-case.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-case.js ***! \*********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js"),o=function(e){return r.default(e).toLowerCase()};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-first.js": /*!**********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-first.js ***! \**********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js"),o=function(e){var t=r.default(e);return t.charAt(0).toLowerCase()+t.substring(1)};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/map-values.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/map-values.js ***! \*********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js"),o=n(/*! ./is-object */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object.js"),c=function(e){return e};t.default=function(e,t){void 0===t&&(t=c);var n={};return o.default(e)&&!r.default(e)&&Object.keys(e).forEach((function(r){n[r]=t(e[r],r)})),n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/map.js": /*!**************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/map.js ***! \**************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js"),c=function(e,t){if(!o.default(e))return e;var n=[];return r.default(e,(function(e,r){n.push(t(e,r))})),n};t.default=c},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/max-by.js": /*!*****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/max-by.js ***! \*****************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),c=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");t.default=function(e,t){if(o.default(e)){var n,i,a=e[0];return n=c.default(t)?t(e[0]):e[0][t],r.default(e,(function(e){i=c.default(t)?t(e):e[t],i>n&&(a=e,n=i)})),a}}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/memoize.js": /*!******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/memoize.js ***! \******************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");t.default=function(e,t){if(!r.default(e))throw new TypeError("Expected a function");var n=function(){for(var r=[],o=0;o-1)o.call(e,a,1)}return e};t.default=i},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/reduce.js": /*!*****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/reduce.js ***! \*****************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),c=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js"),i=function(e,t,n){if(!o.default(e)&&!c.default(e))return e;var i=n;return r.default(e,(function(e,n){i=t(i,e,n)})),i};t.default=i},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/remove.js": /*!*****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/remove.js ***! \*****************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js"),o=n(/*! ./pull-at */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/pull-at.js"),c=function(e,t){var n=[];if(!r.default(e))return n;var c=-1,i=[],a=e.length;while(++ct[r])return 1;if(e[r]t?(r&&(clearTimeout(r),r=null),a=s,i=e.apply(o,c),r||(o=c=null)):r||!1===n.trailing||(r=setTimeout(l,u)),i};return s.cancel=function(){clearTimeout(r),a=0,r=o=c=null},s}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-array.js": /*!*******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-array.js ***! \*******************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");t.default=function(e){return r.default(e)?Array.prototype.slice.call(e):[]}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-degree.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-degree.js ***! \********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=180/Math.PI,o=function(e){return r*e};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-integer.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-integer.js ***! \*********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=parseInt},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-radian.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-radian.js ***! \********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.PI/180,o=function(e){return r*e};t.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js ***! \********************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js");t.default=function(e){return r.default(e)?"":e.toString()}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/union.js": /*!****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/union.js ***! \****************************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./uniq */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/uniq.js"),o=function(){for(var e=[],t=0;tt?1:e>=t?0:NaN}function n(e){return 1===e.length&&(e=r(e)),{left:function(t,n,r,o){null==r&&(r=0),null==o&&(o=t.length);while(r>>1;e(t[c],n)<0?r=c+1:o=c}return r},right:function(t,n,r,o){null==r&&(r=0),null==o&&(o=t.length);while(r>>1;e(t[c],n)>0?o=c:r=c+1}return r}}}function r(e){return function(n,r){return t(e(n),r)}}var o=n(t),c=o.right,i=o.left;function a(e,t){null==t&&(t=l);var n=0,r=e.length-1,o=e[0],c=new Array(r<0?0:r);while(ne?1:t>=e?0:NaN}function h(e){return null===e?NaN:+e}function d(e,t){var n,r,o=e.length,c=0,i=-1,a=0,l=0;if(null==t)while(++i1)return l/(c-1)}function v(e,t){var n=d(e,t);return n?Math.sqrt(n):n}function f(e,t){var n,r,o,c=e.length,i=-1;if(null==t){while(++i=n){r=o=n;while(++in&&(r=n),o=n){r=o=n;while(++in&&(r=n),o0)return[e];if((r=t0){e=Math.ceil(e/i),t=Math.floor(t/i),c=new Array(o=Math.ceil(t-e+1));while(++a=0?(c>=M?10:c>=b?5:c>=j?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(c>=M?10:c>=b?5:c>=j?2:1)}function V(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),c=r/o;return c>=M?o*=10:c>=b?o*=5:c>=j&&(o*=2),th)d.pop(),--v;var f,_=new Array(v+1);for(o=0;o<=v;++o)f=_[o]=[],f.x0=o>0?d[o-1]:u,f.x1=o=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,c=Math.floor(o),i=+n(e[c],c,e),a=+n(e[c+1],c+1,e);return i+(a-i)*(o-c)}}function S(e,n,r){return e=m.call(e,h).sort(t),Math.ceil((r-n)/(2*(C(e,.75)-C(e,.25))*Math.pow(e.length,-1/3)))}function E(e,t,n){return Math.ceil((n-t)/(3.5*v(e)*Math.pow(e.length,-1/3)))}function T(e,t){var n,r,o=e.length,c=-1;if(null==t){while(++c=n){r=n;while(++cr&&(r=n)}}else while(++c=n){r=n;while(++cr&&(r=n)}return r}function O(e,t){var n,r=e.length,o=r,c=-1,i=0;if(null==t)while(++c=0){r=e[o],t=r.length;while(--t>=0)n[--i]=r[t]}return n}function P(e,t){var n,r,o=e.length,c=-1;if(null==t){while(++c=n){r=n;while(++cn&&(r=n)}}else while(++c=n){r=n;while(++cn&&(r=n)}return r}function F(e,t){var n=t.length,r=new Array(n);while(n--)r[n]=e[t[n]];return r}function N(e,n){if(r=e.length){var r,o,c=0,i=0,a=e[i];null==n&&(n=t);while(++c=o.length)return null!=e&&n.sort(e),null!=t?t(n):n;var l,s,h,d=-1,v=n.length,f=o[c++],_=r(),p=i();while(++do.length)return e;var r,c=s[n-1];return null!=t&&n>=o.length?r=e.entries():(r=[],e.each((function(e,t){r.push({key:t,values:h(e,n)})}))),null!=c?r.sort((function(e,t){return c(e.key,t.key)})):r}return n={object:function(e){return u(e,0,c,i)},map:function(e){return u(e,0,a,l)},entries:function(e){return h(u(e,0,a,l),0)},key:function(e){return o.push(e),n},sortKeys:function(e){return s[o.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}}function c(){return{}}function i(e,t,n){e[t]=n}function a(){return r()}function l(e,t,n){e.set(t,n)}function s(){}n.prototype=r.prototype={constructor:n,has:function(e){return t+e in this},get:function(e){return this[t+e]},set:function(e,n){return this[t+e]=n,this},remove:function(e){var n=t+e;return n in this&&delete this[n]},clear:function(){for(var e in this)e[0]===t&&delete this[e]},keys:function(){var e=[];for(var n in this)n[0]===t&&e.push(n.slice(1));return e},values:function(){var e=[];for(var n in this)n[0]===t&&e.push(this[n]);return e},entries:function(){var e=[];for(var n in this)n[0]===t&&e.push({key:n.slice(1),value:this[n]});return e},size:function(){var e=0;for(var n in this)n[0]===t&&++e;return e},empty:function(){for(var e in this)if(e[0]===t)return!1;return!0},each:function(e){for(var n in this)n[0]===t&&e(this[n],n.slice(1),this)}};var u=r.prototype;function h(e,t){var n=new s;if(e instanceof s)e.each((function(e){n.add(e)}));else if(e){var r=-1,o=e.length;if(null==t)while(++ra&&(a=e),tl&&(l=t)}function h(e,n,r){var o=n[1][0]-n[0][0],c=n[1][1]-n[0][1],i=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=i&&e.clipExtent(null),t.geoStream(r,e.stream(s));var a=s.result(),l=Math.min(o/(a[1][0]-a[0][0]),c/(a[1][1]-a[0][1])),u=+n[0][0]+(o-l*(a[1][0]+a[0][0]))/2,h=+n[0][1]+(c-l*(a[1][1]+a[0][1]))/2;return null!=i&&e.clipExtent(i),e.scale(150*l).translate([u,h])}function d(e,t,n){return h(e,[[0,0],t],n)}function v(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=.12&&o<.234&&r>=-.425&&r<-.214?u:o>=.166&&o<.234&&r>=-.214&&r<-.115?f:s).invert(e)},p.stream=function(t){return e&&o===t?e:e=v([s.stream(o=t),u.stream(t),f.stream(t)])},p.precision=function(e){return arguments.length?(s.precision(e),u.precision(e),f.precision(e),m()):s.precision()},p.scale=function(e){return arguments.length?(s.scale(e),u.scale(.35*e),f.scale(e),p.translate(s.translate())):s.scale()},p.translate=function(e){if(!arguments.length)return s.translate();var t=s.scale(),n=+e[0],o=+e[1];return c=s.translate(e).clipExtent([[n-.455*t,o-.238*t],[n+.455*t,o+.238*t]]).stream(_),i=u.translate([n-.307*t,o+.201*t]).clipExtent([[n-.425*t+r,o+.12*t+r],[n-.214*t-r,o+.234*t-r]]).stream(_),a=f.translate([n-.205*t,o+.212*t]).clipExtent([[n-.214*t+r,o+.166*t+r],[n-.115*t-r,o+.234*t-r]]).stream(_),m()},p.fitExtent=function(e,t){return h(p,e,t)},p.fitSize=function(e,t){return d(p,e,t)},p.drawCompositionBorders=function(e){var t=s([-102.91,26.3]),n=s([-104,27.5]),r=s([-108,29.1]),o=s([-110,29.1]),c=s([-110,26.7]),i=s([-112.8,27.6]),a=s([-114.3,30.6]),l=s([-119.3,30.1]);e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.moveTo(c[0],c[1]),e.lineTo(i[0],i[1]),e.lineTo(a[0],a[1]),e.lineTo(l[0],l[1])},p.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},p.scale(1070)}function _(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=.12&&o<.234&&r>=-.425&&r<-.214?p:o>=.166&&o<.234&&r>=-.214&&r<-.115?m:o>=.2064&&o<.2413&&r>=.312&&r<.385?g:o>=.09&&o<.1197&&r>=-.4243&&r<-.3232?z:o>=-.0518&&o<.0895&&r>=-.4243&&r<-.3824?y:f).invert(e)},b.stream=function(t){return e&&o===t?e:e=_([f.stream(o=t),p.stream(t),m.stream(t),g.stream(t),z.stream(t),y.stream(t)])},b.precision=function(e){return arguments.length?(f.precision(e),p.precision(e),m.precision(e),g.precision(e),z.precision(e),y.precision(e),j()):f.precision()},b.scale=function(e){return arguments.length?(f.scale(e),p.scale(.35*e),m.scale(e),g.scale(e),z.scale(2*e),y.scale(e),b.translate(f.translate())):f.scale()},b.translate=function(e){if(!arguments.length)return f.translate();var t=f.scale(),n=+e[0],o=+e[1];return c=f.translate(e).clipExtent([[n-.455*t,o-.238*t],[n+.455*t,o+.238*t]]).stream(M),i=p.translate([n-.307*t,o+.201*t]).clipExtent([[n-.425*t+r,o+.12*t+r],[n-.214*t-r,o+.233*t-r]]).stream(M),a=m.translate([n-.205*t,o+.212*t]).clipExtent([[n-.214*t+r,o+.166*t+r],[n-.115*t-r,o+.233*t-r]]).stream(M),l=g.translate([n+.35*t,o+.224*t]).clipExtent([[n+.312*t+r,o+.2064*t+r],[n+.385*t-r,o+.233*t-r]]).stream(M),s=z.translate([n-.492*t,o+.09*t]).clipExtent([[n-.4243*t+r,o+.0903*t+r],[n-.3233*t-r,o+.1197*t-r]]).stream(M),u=y.translate([n-.408*t,o+.018*t]).clipExtent([[n-.4244*t+r,o-.0519*t+r],[n-.3824*t-r,o+.0895*t-r]]).stream(M),j()},b.fitExtent=function(e,t){return h(b,e,t)},b.fitSize=function(e,t){return d(b,e,t)},b.drawCompositionBorders=function(e){var t=f([-110.4641,28.2805]),n=f([-104.0597,28.9528]),r=f([-103.7049,25.1031]),o=f([-109.8337,24.4531]),c=f([-124.4745,28.1407]),i=f([-110.931,30.8844]),a=f([-109.8337,24.4531]),l=f([-122.4628,21.8562]),s=f([-76.8579,25.1544]),u=f([-72.429,24.2097]),h=f([-72.8265,22.7056]),d=f([-77.1852,23.6392]),v=f([-125.0093,29.7791]),_=f([-118.5193,31.3262]),p=f([-118.064,29.6912]),m=f([-124.4369,28.169]),g=f([-128.1314,37.4582]),z=f([-125.2132,38.214]),y=f([-122.3616,30.5115]),M=f([-125.0315,29.8211]);e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),e.moveTo(c[0],c[1]),e.lineTo(i[0],i[1]),e.lineTo(a[0],a[1]),e.lineTo(a[0],a[1]),e.lineTo(l[0],l[1]),e.closePath(),e.moveTo(s[0],s[1]),e.lineTo(u[0],u[1]),e.lineTo(h[0],h[1]),e.lineTo(h[0],h[1]),e.lineTo(d[0],d[1]),e.closePath(),e.moveTo(v[0],v[1]),e.lineTo(_[0],_[1]),e.lineTo(p[0],p[1]),e.lineTo(p[0],p[1]),e.lineTo(m[0],m[1]),e.closePath(),e.moveTo(g[0],g[1]),e.lineTo(z[0],z[1]),e.lineTo(y[0],y[1]),e.lineTo(y[0],y[1]),e.lineTo(M[0],M[1]),e.closePath()},b.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},b.scale(1070)}function m(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=.05346&&o<.0897&&r>=-.13388&&r<-.0322?s:l).invert(e)},v.stream=function(t){return e&&o===t?e:e=m([l.stream(o=t),s.stream(t)])},v.precision=function(e){return arguments.length?(l.precision(e),s.precision(e),f()):l.precision()},v.scale=function(e){return arguments.length?(l.scale(e),s.scale(e),v.translate(l.translate())):l.scale()},v.translate=function(e){if(!arguments.length)return l.translate();var t=l.scale(),n=+e[0],o=+e[1];return c=l.translate(e).clipExtent([[n-.06857*t,o-.1288*t],[n+.13249*t,o+.06*t]]).stream(u),i=s.translate([n+.1*t,o-.094*t]).clipExtent([[n-.1331*t+r,o+.053457*t+r],[n-.0354*t-r,o+.08969*t-r]]).stream(u),f()},v.fitExtent=function(e,t){return h(v,e,t)},v.fitSize=function(e,t){return d(v,e,t)},v.drawCompositionBorders=function(e){var t=l([-14.034675,34.965007]),n=l([-7.4208899,35.536988]),r=l([-7.3148275,33.54359]);e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1])},v.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},v.scale(2700)}function z(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=.0093&&o<.03678&&r>=-.03875&&r<-.0116?u:o>=-.0412&&o<.0091&&r>=-.07782&&r<-.01166?v:s).invert(e)},_.stream=function(t){return e&&o===t?e:e=z([s.stream(o=t),u.stream(t),v.stream(t)])},_.precision=function(e){return arguments.length?(s.precision(e),u.precision(e),v.precision(e),p()):s.precision()},_.scale=function(e){return arguments.length?(s.scale(e),u.scale(e),v.scale(.6*e),_.translate(s.translate())):s.scale()},_.translate=function(e){if(!arguments.length)return s.translate();var t=s.scale(),n=+e[0],o=+e[1];return c=s.translate(e).clipExtent([[n-.0115*t,o-.1138*t],[n+.2105*t,o+.0673*t]]).stream(f),i=u.translate([n-.0265*t,o+.025*t]).clipExtent([[n-.0388*t+r,o+.0093*t+r],[n-.0116*t-r,o+.0368*t-r]]).stream(f),a=v.translate([n-.045*t,o+-.02*t]).clipExtent([[n-.0778*t+r,o-.0413*t+r],[n-.0117*t-r,o+.0091*t-r]]).stream(f),p()},_.fitExtent=function(e,t){return h(_,e,t)},_.fitSize=function(e,t){return d(_,e,t)},_.drawCompositionBorders=function(e){var t=s([-12.8351,38.7113]),n=s([-10.8482,38.7633]),r=s([-10.8181,37.2072]),o=s([-12.7345,37.1573]),c=s([-16.0753,41.4436]),i=s([-10.9168,41.6861]),a=s([-10.8557,38.7747]),l=s([-15.6728,38.5505]);e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),e.moveTo(c[0],c[1]),e.lineTo(i[0],i[1]),e.lineTo(a[0],a[1]),e.lineTo(a[0],a[1]),e.lineTo(l[0],l[1]),e.closePath()},_.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},_.scale(4200)}function M(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=-.0676&&o<-.026&&r>=-.0857&&r<-.0263?s:l).invert(e)},v.stream=function(t){return e&&o===t?e:e=M([l.stream(o=t),s.stream(t)])},v.precision=function(e){return arguments.length?(l.precision(e),s.precision(e),f()):l.precision()},v.scale=function(e){return arguments.length?(l.scale(e),s.scale(e),v.translate(l.translate())):l.scale()},v.translate=function(e){if(!arguments.length)return l.translate();var t=l.scale(),n=+e[0],o=+e[1];return c=l.translate(e).clipExtent([[n-.0262*t,o-.0734*t],[n+.1741*t,o+.079*t]]).stream(u),i=s.translate([n-.06*t,o-.04*t]).clipExtent([[n-.0857*t+r,o-.0676*t+r],[n-.0263*t-r,o-.026*t-r]]).stream(u),f()},v.fitExtent=function(e,t){return h(v,e,t)},v.fitSize=function(e,t){return d(v,e,t)},v.drawCompositionBorders=function(e){var t=l([-84.9032,2.3757]),n=l([-81.5047,2.3708]),r=l([-81.5063,-.01]),o=l([-84.9086,-.005]);e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath()},v.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},v.scale(3500)}function j(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=.2582&&o<.32&&r>=-.1036&&r<-.087?v:o>=-.01298&&o<.0133&&r>=-.11396&&r<-.05944?f:o>=.01539&&o<.03911&&r>=-.089&&r<-.0588?_:u).invert(e)},m.stream=function(t){return e&&o===t?e:e=j([u.stream(o=t),v.stream(t),f.stream(t),_.stream(t)])},m.precision=function(e){return arguments.length?(u.precision(e),v.precision(e),f.precision(e),_.precision(e),g()):u.precision()},m.scale=function(e){return arguments.length?(u.scale(e),v.scale(.15*e),f.scale(1.5*e),_.scale(1.5*e),m.translate(u.translate())):u.scale()},m.translate=function(e){if(!arguments.length)return u.translate();var t=u.scale(),n=+e[0],o=+e[1];return c=u.translate(e).clipExtent([[n-.059*t,o-.3835*t],[n+.4498*t,o+.3375*t]]).stream(p),i=v.translate([n-.087*t,o+.17*t]).clipExtent([[n-.1166*t+r,o+.2582*t+r],[n-.06*t-r,o+.32*t-r]]).stream(p),a=f.translate([n-.092*t,o-0*t]).clipExtent([[n-.114*t+r,o-.013*t+r],[n-.0594*t-r,o+.0133*t-r]]).stream(p),l=_.translate([n-.089*t,o-.0265*t]).clipExtent([[n-.089*t+r,o+.0154*t+r],[n-.0588*t-r,o+.0391*t-r]]).stream(p),g()},m.fitExtent=function(e,t){return h(m,e,t)},m.fitSize=function(e,t){return d(m,e,t)},m.drawCompositionBorders=function(e){var t=u([-82.6999,-51.3043]),n=u([-77.5442,-51.6631]),r=u([-78.0254,-55.186]),o=u([-83.6106,-54.7785]),c=u([-80.0638,-35.984]),i=u([-76.2153,-36.1811]),a=u([-76.2994,-37.6839]),l=u([-80.2231,-37.4757]),s=u([-78.442,-37.706]),h=u([-76.263,-37.8054]),d=u([-76.344,-39.1595]),v=u([-78.5638,-39.0559]);e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),e.moveTo(c[0],c[1]),e.lineTo(i[0],i[1]),e.lineTo(a[0],a[1]),e.lineTo(a[0],a[1]),e.lineTo(l[0],l[1]),e.closePath(),e.moveTo(s[0],s[1]),e.lineTo(h[0],h[1]),e.lineTo(d[0],d[1]),e.lineTo(d[0],d[1]),e.lineTo(v[0],v[1]),e.closePath()},m.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},m.scale(700)}function H(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=-.10925&&o<-.02701&&r>=-.135&&r<-.0397?u:o>=.04713&&o<.11138&&r>=-.03986&&r<.051?v:s).invert(e)},_.stream=function(t){return e&&o===t?e:e=H([s.stream(o=t),u.stream(t),v.stream(t)])},_.precision=function(e){return arguments.length?(s.precision(e),u.precision(e),v.precision(e),p()):s.precision()},_.scale=function(e){return arguments.length?(s.scale(e),u.scale(e),v.scale(.7*e),_.translate(s.translate())):s.scale()},_.translate=function(e){if(!arguments.length)return s.translate();var t=s.scale(),n=+e[0],o=+e[1];return c=s.translate(e).clipExtent([[n-.1352*t,o-.1091*t],[n+.117*t,o+.098*t]]).stream(f),i=u.translate([n-.0425*t,o-.005*t]).clipExtent([[n-.135*t+r,o-.1093*t+r],[n-.0397*t-r,o-.027*t-r]]).stream(f),a=v.translate(e).clipExtent([[n-.0399*t+r,o+.0471*t+r],[n+.051*t-r,o+.1114*t-r]]).stream(f),p()},_.fitExtent=function(e,t){return h(_,e,t)},_.fitSize=function(e,t){return d(_,e,t)},_.drawCompositionBorders=function(e){var t=s([126.01320483689143,41.621090310215585]),n=s([133.04304387025903,42.15087523707186]),r=s([133.3021766080688,37.43975444725098]),o=s([126.87889168628224,36.95488945159779]),c=s([132.9,29.8]),i=s([134,33]),a=s([139.3,33.2]),l=s([139.16,30.5]);e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),e.moveTo(c[0],c[1]),e.lineTo(i[0],i[1]),e.lineTo(a[0],a[1]),e.lineTo(l[0],l[1])},_.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},_.scale(2200)}function x(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=.029&&o<.0864&&r>=-.14&&r<-.0996?M:o>=0&&o<.029&&r>=-.14&&r<-.0996?b:o>=-.032&&o<0&&r>=-.14&&r<-.0996?j:o>=-.052&&o<-.032&&r>=-.14&&r<-.0996?w:o>=-.076&&o<.052&&r>=-.14&&r<-.0996?H:o>=-.076&&o<-.052&&r>=.0967&&r<.1371?V:o>=-.052&&o<-.02&&r>=.0967&&r<.1371?L:o>=-.02&&o<.012&&r>=.0967&&r<.1371?C:o>=.012&&o<.033&&r>=.0967&&r<.1371?S:o>=.033&&o<.0864&&r>=.0967&&r<.1371?E:y).invert(e)},k.stream=function(t){return e&&o===t?e:e=x([y.stream(o=t),M.stream(t),b.stream(t),j.stream(t),w.stream(t),H.stream(t),V.stream(t),L.stream(t),C.stream(t),S.stream(t),E.stream(t),T.stream(t)])},k.precision=function(e){return arguments.length?(y.precision(e),M.precision(e),b.precision(e),j.precision(e),w.precision(e),H.precision(e),V.precision(e),L.precision(e),C.precision(e),S.precision(e),E.precision(e),T.precision(e),A()):y.precision()},k.scale=function(e){return arguments.length?(y.scale(e),M.scale(.6*e),b.scale(1.6*e),j.scale(1.4*e),w.scale(5*e),H.scale(1.3*e),V.scale(1.6*e),L.scale(1.2*e),C.scale(.3*e),S.scale(2.7*e),E.scale(.5*e),T.scale(.06*e),k.translate(y.translate())):y.scale()},k.translate=function(e){if(!arguments.length)return y.translate();var t=y.scale(),n=+e[0],o=+e[1];return c=y.translate(e).clipExtent([[n-.0996*t,o-.0908*t],[n+.0967*t,o+.0864*t]]).stream(O),i=M.translate([n-.12*t,o+.0575*t]).clipExtent([[n-.14*t+r,o+.029*t+r],[n-.0996*t-r,o+.0864*t-r]]).stream(O),a=b.translate([n-.12*t,o+.013*t]).clipExtent([[n-.14*t+r,o+0*t+r],[n-.0996*t-r,o+.029*t-r]]).stream(O),l=j.translate([n-.12*t,o-.014*t]).clipExtent([[n-.14*t+r,o-.032*t+r],[n-.0996*t-r,o+0*t-r]]).stream(O),s=w.translate([n-.12*t,o-.044*t]).clipExtent([[n-.14*t+r,o-.052*t+r],[n-.0996*t-r,o-.032*t-r]]).stream(O),u=H.translate([n-.12*t,o-.065*t]).clipExtent([[n-.14*t+r,o-.076*t+r],[n-.0996*t-r,o-.052*t-r]]).stream(O),v=V.translate([n+.117*t,o-.064*t]).clipExtent([[n+.0967*t+r,o-.076*t+r],[n+.1371*t-r,o-.052*t-r]]).stream(O),f=L.translate([n+.116*t,o-.0355*t]).clipExtent([[n+.0967*t+r,o-.052*t+r],[n+.1371*t-r,o-.02*t-r]]).stream(O),_=C.translate([n+.116*t,o-.0048*t]).clipExtent([[n+.0967*t+r,o-.02*t+r],[n+.1371*t-r,o+.012*t-r]]).stream(O),p=S.translate([n+.116*t,o+.022*t]).clipExtent([[n+.0967*t+r,o+.012*t+r],[n+.1371*t-r,o+.033*t-r]]).stream(O),g=T.translate([n+.11*t,o+.045*t]).clipExtent([[n+.0967*t+r,o+.033*t+r],[n+.1371*t-r,o+.06*t-r]]).stream(O),m=E.translate([n+.115*t,o+.075*t]).clipExtent([[n+.0967*t+r,o+.06*t+r],[n+.1371*t-r,o+.0864*t-r]]).stream(O),A()},k.fitExtent=function(e,t){return h(k,e,t)},k.fitSize=function(e,t){return d(k,e,t)},k.drawCompositionBorders=function(e){var t,n,r,o;t=y([-7.938886725111036,43.7219460918835]),n=y([-4.832080896458295,44.12930268549372]),r=y([-4.205299743793263,40.98096346967365]),o=y([-7.071796453126152,40.610037319181444]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([-8.42751373617692,45.32889452553031]),n=y([-5.18599305777107,45.7566442062976]),r=y([-4.832080905154431,44.129302726751426]),o=y([-7.938886737126192,43.72194613263854]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([-9.012656899657046,47.127733821030176]),n=y([-5.6105244772793155,47.579777861410626]),r=y([-5.185993067168585,45.756644248170346]),o=y([-8.427513749141811,45.32889456686326]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([-9.405747558985553,48.26506375557457]),n=y([-5.896175018439575,48.733352850851624]),r=y([-5.610524487556043,47.57977790393761]),o=y([-9.012656913808351,47.127733862971255]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([-9.908436061346974,49.642448789505856]),n=y([-6.262026716233124,50.131426841787174]),r=y([-5.896175029331232,48.73335289377258]),o=y([-9.40574757396393,48.26506379787767]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([11.996907706504462,50.16039028163579]),n=y([15.649907879773343,49.68279246765253]),r=y([15.156712840526632,48.30371557625831]),o=y([11.64122661754411,48.761078240546816]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([11.641226606955788,48.7610781975889]),n=y([15.156712825832164,48.30371553390465]),r=y([14.549932166241172,46.4866532486199]),o=y([11.204443787952183,46.91899233914248]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([11.204443778297161,46.918992296823646]),n=y([14.549932152815039,46.486653206856396]),r=y([13.994409796764009,44.695833444323256]),o=y([10.805306599253848,45.105133870684924]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([10.805306590412085,45.10513382903308]),n=y([13.99440978444733,44.695833403183606]),r=y([13.654633799024392,43.53552468558152]),o=y([10.561516803980956,43.930671459798624]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([10.561516795617383,43.93067141859757]),n=y([13.654633787361952,43.5355246448671]),r=y([12.867691604239901,40.640701985019405]),o=y([9.997809515987688,41.00288343254471]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([10.8,42.4]),n=y([12.8,42.13]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1])},k.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},k.scale(2700)}function C(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=-.31&&o<-.24&&r>=.14&&r<.24?M:o>=-.24&&o<-.17&&r>=.14&&r<.24?b:o>=-.17&&o<-.12&&r>=.21&&r<.24?w:o>=-.17&&o<-.14&&r>=.14&&r<.165?H:o>=-.17&&o<-.1&&r>=.14&&r<.24?j:o>=-.1&&o<-.03&&r>=.14&&r<.24?V:o>=-.03&&o<.04&&r>=.14&&r<.24?x:o>=-.31&&o<-.24&&r>=.24&&r<.34?L:o>=-.24&&o<-.17&&r>=.24&&r<.34?S:o>=-.17&&o<-.1&&r>=.24&&r<.34?E:o>=-.1&&o<-.03&&r>=.24&&r<.34?T:y).invert(e)},k.stream=function(t){return e&&o===t?e:e=C([y.stream(o=t),b.stream(t),L.stream(t),M.stream(t),x.stream(t),V.stream(t),S.stream(t),E.stream(t),T.stream(t),j.stream(t),w.stream(t),H.stream(t)])},k.precision=function(e){return arguments.length?(y.precision(e),b.precision(e),L.precision(e),M.precision(e),x.precision(e),V.precision(e),S.precision(e),E.precision(e),T.precision(e),j.precision(e),w.precision(e),H.precision(e),A()):y.precision()},k.scale=function(e){return arguments.length?(y.scale(e),M.scale(3*e),b.scale(.8*e),L.scale(3.5*e),E.scale(2.7*e),j.scale(2*e),w.scale(2*e),H.scale(2*e),V.scale(3*e),x.scale(e),S.scale(5.5*e),T.scale(6*e),k.translate(y.translate())):y.scale()},k.translate=function(e){if(!arguments.length)return y.translate();var t=y.scale(),n=+e[0],o=+e[1];return c=y.translate([n-.08*t,o]).clipExtent([[n-.51*t,o-.33*t],[n+.5*t,o+.33*t]]).stream(O),i=M.translate([n+.19*t,o-.275*t]).clipExtent([[n+.14*t+r,o-.31*t+r],[n+.24*t-r,o-.24*t-r]]).stream(O),a=b.translate([n+.19*t,o-.205*t]).clipExtent([[n+.14*t+r,o-.24*t+r],[n+.24*t-r,o-.17*t-r]]).stream(O),l=j.translate([n+.19*t,o-.135*t]).clipExtent([[n+.14*t+r,o-.17*t+r],[n+.24*t-r,o-.1*t-r]]).stream(O),s=w.translate([n+.225*t,o-.147*t]).clipExtent([[n+.21*t+r,o-.17*t+r],[n+.24*t-r,o-.12*t-r]]).stream(O),u=H.translate([n+.153*t,o-.15*t]).clipExtent([[n+.14*t+r,o-.17*t+r],[n+.165*t-r,o-.14*t-r]]).stream(O),v=V.translate([n+.19*t,o-.065*t]).clipExtent([[n+.14*t+r,o-.1*t+r],[n+.24*t-r,o-.03*t-r]]).stream(O),f=x.translate([n+.19*t,o+.005*t]).clipExtent([[n+.14*t+r,o-.03*t+r],[n+.24*t-r,o+.04*t-r]]).stream(O),_=L.translate([n+.29*t,o-.275*t]).clipExtent([[n+.24*t+r,o-.31*t+r],[n+.34*t-r,o-.24*t-r]]).stream(O),p=S.translate([n+.29*t,o-.205*t]).clipExtent([[n+.24*t+r,o-.24*t+r],[n+.34*t-r,o-.17*t-r]]).stream(O),m=E.translate([n+.29*t,o-.135*t]).clipExtent([[n+.24*t+r,o-.17*t+r],[n+.34*t-r,o-.1*t-r]]).stream(O),g=T.translate([n+.29*t,o-.065*t]).clipExtent([[n+.24*t+r,o-.1*t+r],[n+.34*t-r,o-.03*t-r]]).stream(O),A()},k.fitExtent=function(e,t){return h(k,e,t)},k.fitSize=function(e,t){return d(k,e,t)},k.drawCompositionBorders=function(e){var t,n,r,o;t=y([42.45755610828648,63.343658547914934]),n=y([52.65837266667029,59.35045080290929]),r=y([47.19754502247785,56.12653496548117]),o=y([37.673034273363044,59.61638268506111]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([59.41110754003403,62.35069727399336]),n=y([66.75050228640794,57.11797303636038]),r=y([60.236065725110436,54.63331433818992]),o=y([52.65837313153311,59.350450804599355]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([48.81091130080243,66.93353402634641]),n=y([59.41110730654679,62.35069740653086]),r=y([52.6583728974441,59.3504509222445]),o=y([42.45755631675751,63.34365868805821]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([31.054198418446475,52.1080673766184]),n=y([39.09869284884117,49.400700047190554]),r=y([36.0580811499175,46.02944174908498]),o=y([28.690508588835726,48.433126979386415]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([33.977877745912025,55.849945501331]),n=y([42.75328432167726,52.78455122462353]),r=y([39.09869297540224,49.400700176148625]),o=y([31.05419851807008,52.10806751810923]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([52.658372900759296,59.35045068526415]),n=y([60.23606549583304,54.63331423800264]),r=y([54.6756370953122,51.892298789399455]),o=y([47.19754524788189,56.126534861222794]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([47.19754506082455,56.126534735591456]),n=y([54.675636900123514,51.892298681337095]),r=y([49.94448648951486,48.98775484983285]),o=y([42.75328468716108,52.78455126060818]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([42.75328453416769,52.78455113209101]),n=y([49.94448632339758,48.98775473706457]),r=y([45.912339990394315,45.99361784987003]),o=y([39.09869317356607,49.40070009378711]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([37.673034114296634,59.61638254183119]),n=y([47.197544835420544,56.126534839849846]),r=y([42.75328447467064,52.78455135314068]),o=y([33.977877870363905,55.849945644671145]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([44.56748486446032,57.26489367845818]),r=y([43.9335791193588,53.746540942601726]),o=y([43,56]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=y([37.673034114296634,59.61638254183119]),n=y([40.25902691953466,58.83002044222639]),r=y([38.458270492742024,57.26232178028002]),o=y([35.97754948030156,58.00266637992386]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath()},k.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},k.scale(750)}function E(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=-.0521&&o<.0229&&r>=-.0111&&r<.1?s:l).invert(e)},v.stream=function(t){return e&&o===t?e:e=E([l.stream(o=t),s.stream(t)])},v.precision=function(e){return arguments.length?(l.precision(e),s.precision(e),f()):l.precision()},v.scale=function(e){return arguments.length?(l.scale(e),s.scale(.615*e),v.translate(l.translate())):l.scale()},v.translate=function(e){if(!arguments.length)return l.translate();var t=l.scale(),n=+e[0],o=+e[1];return c=l.translate(e).clipExtent([[n-.11*t,o-.0521*t],[n-.0111*t,o+.0521*t]]).stream(u),i=s.translate([n+.09*t,o-0*t]).clipExtent([[n-.0111*t+r,o-.0521*t+r],[n+.1*t-r,o+.024*t-r]]).stream(u),f()},v.fitExtent=function(e,t){return h(v,e,t)},v.fitSize=function(e,t){return d(v,e,t)},v.drawCompositionBorders=function(e){var t=l([106.3214,2.0228]),n=l([105.1843,2.3761]),r=l([104.2151,3.3618]),o=l([104.215,4.5651]);e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1])},v.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},v.scale(4800)}function O(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=-.02&&o<0&&r>=-.038&&r<-.005?u:o>=0&&o<.02&&r>=-.038&&r<-.005?v:s).invert(e)},_.stream=function(t){return e&&o===t?e:e=O([s.stream(o=t),u.stream(t),v.stream(t)])},_.precision=function(e){return arguments.length?(s.precision(e),u.precision(e),v.precision(e),p()):s.precision()},_.scale=function(e){return arguments.length?(s.scale(e),u.scale(1.5*e),v.scale(4*e),_.translate(s.translate())):s.scale()},_.translate=function(e){if(!arguments.length)return s.translate();var t=s.scale(),n=+e[0],o=+e[1];return c=s.translate(e).clipExtent([[n-.005*t,o-.02*t],[n+.038*t,o+.02*t]]).stream(f),i=u.translate([n-.025*t,o-.01*t]).clipExtent([[n-.038*t+r,o-.02*t+r],[n-.005*t-r,o+0*t-r]]).stream(f),a=v.translate([n-.025*t,o+.01*t]).clipExtent([[n-.038*t+r,o-0*t+r],[n-.005*t-r,o+.02*t-r]]).stream(f),p()},_.fitExtent=function(e,t){return h(_,e,t)},_.fitSize=function(e,t){return d(_,e,t)},_.drawCompositionBorders=function(e){var t,n,r,o;t=s([9.21327272751682,2.645820439454123]),n=s([11.679126293239872,2.644755519268689]),r=s([11.676845389029227,.35307824637606433]),o=s([9.213572917774014,.35414205204417754]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=s([7.320873711543669,2.64475551449975]),n=s([9.213272722738658,2.645820434679803]),r=s([9.213422896480349,1.4999812505283054]),o=s([7.322014760520787,1.4989168878985566]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath(),t=s([7.3220147605302905,1.4989168783492766]),n=s([9.213422896481598,1.499981240979021]),r=s([9.213572912999604,.354142056817247]),o=s([7.323154615739809,.353078251154504]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath()},_.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},_.scale(12e3)}function A(e){var t=e.length;return{point:function(n,r){var o=-1;while(++o=-.089&&o<.06&&r>=.029&&r<.046?s:l).invert(e)},v.stream=function(t){return e&&o===t?e:e=A([l.stream(o=t),s.stream(t)])},v.precision=function(e){return arguments.length?(l.precision(e),s.precision(e),f()):l.precision()},v.scale=function(e){return arguments.length?(l.scale(e),s.scale(e),v.translate(l.translate())):l.scale()},v.translate=function(e){if(!arguments.length)return l.translate();var t=l.scale(),n=+e[0],o=+e[1];return c=l.translate(e).clipExtent([[n-.065*t,o-.089*t],[n+.075*t,o+.089*t]]).stream(u),i=s.translate([n+.01*t,o+.025*t]).clipExtent([[n+.029*t+r,o-.089*t+r],[n+.046*t-r,o-.06*t-r]]).stream(u),f()},v.fitExtent=function(e,t){return h(v,e,t)},v.fitSize=function(e,t){return d(v,e,t)},v.drawCompositionBorders=function(e){var t,n,r,o;t=l([-1.113205870242365,59.64920050773357]),n=l([.807899092399606,59.59085836472269]),r=l([.5778611961420386,57.93467822832577]),o=l([-1.25867782078448,57.99029450085142]),e.moveTo(t[0],t[1]),e.lineTo(n[0],n[1]),e.lineTo(r[0],r[1]),e.lineTo(o[0],o[1]),e.closePath()},v.getCompositionBorders=function(){var e=n.path();return this.drawCompositionBorders(e),e.toString()},v.scale(2800)}e.geoAlbersUk=P,e.geoAlbersUsa=f,e.geoAlbersUsaTerritories=p,e.geoConicConformalEurope=S,e.geoConicConformalFrance=L,e.geoConicConformalPortugal=y,e.geoConicConformalSpain=g,e.geoConicEquidistantJapan=V,e.geoMercatorEcuador=b,e.geoMercatorEquatorialGuinea=k,e.geoMercatorMalaysia=T,e.geoTransverseMercatorChile=w,Object.defineProperty(e,"__esModule",{value:!0})}))},"./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js": /*!**********************************************************!*\ !*** ./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){(function(e,n){n(t)})(0,(function(e){"use strict";var t={},n={},r=34,o=10,c=13;function i(e){return new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+'] || ""'})).join(",")+"}")}function a(e,t){var n=i(e);return function(r,o){return t(n(r),o,e)}}function l(e){var t=Object.create(null),n=[];return e.forEach((function(e){for(var r in e)r in t||n.push(t[r]=r)})),n}function s(e,t){var n=e+"",r=n.length;return r9999?"+"+s(e,6):s(e,4)}function h(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),r=e.getUTCSeconds(),o=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":u(e.getUTCFullYear())+"-"+s(e.getUTCMonth()+1,2)+"-"+s(e.getUTCDate(),2)+(o?"T"+s(t,2)+":"+s(n,2)+":"+s(r,2)+"."+s(o,3)+"Z":r?"T"+s(t,2)+":"+s(n,2)+":"+s(r,2)+"Z":n||t?"T"+s(t,2)+":"+s(n,2)+"Z":"")}function d(e){var s=new RegExp('["'+e+"\n\r]"),u=e.charCodeAt(0);function d(e,t){var n,r,o=v(e,(function(e,o){if(n)return n(e,o-1);r=e,n=t?a(e,t):i(e)}));return o.columns=r||[],o}function v(e,i){var a,l=[],s=e.length,h=0,d=0,v=s<=0,f=!1;function _(){if(v)return n;if(f)return f=!1,t;var i,a,l=h;if(e.charCodeAt(l)===r){while(h++=s?v=!0:(a=e.charCodeAt(h++))===o?f=!0:a===c&&(f=!0,e.charCodeAt(h)===o&&++h),e.slice(l+1,i-1).replace(/""/g,'"')}while(h0?1:e<0?-1:0},_=Math.sin,p=Math.tan,m=1e-6,g=1e-12,z=Math.PI,y=z/2,M=z/4,b=Math.SQRT1_2,j=E(2),w=E(z),H=2*z,V=180/z,x=z/180;function L(e){return e?e/Math.sin(e):1}function C(e){return e>1?y:e<-1?-y:Math.asin(e)}function S(e){return e>1?0:e<-1?z:Math.acos(e)}function E(e){return e>0?Math.sqrt(e):0}function T(e){return e=a(2*e),(e-1)/(e+1)}function O(e){return(a(e)-a(-e))/2}function k(e){return(a(e)+a(-e))/2}function A(e){return s(e+E(e*e+1))}function P(e){return s(e+E(e*e-1))}function F(e){var t=p(e/2),n=2*s(i(e/2))/(t*t);function o(e,t){var r=i(e),o=i(t),c=_(t),a=o*r,l=-((1-a?s((1+a)/2)/(1-a):-.5)+n/(1+a));return[l*o*_(e),l*c]}return o.invert=function(t,o){var a,l=E(t*t+o*o),u=-e/2,h=50;if(!l)return[0,0];do{var d=u/2,v=i(d),f=_(d),g=p(d),z=s(1/v);u-=a=(2/g*z-n*g-l)/(-z/(f*f)+1-n/(2*v*v))}while(r(a)>m&&--h>0);var y=_(u);return[c(t*y,l*i(u)),C(o*y/l)]},o}var N=function(){var e=y,n=t.geoProjectionMutator(F),r=n(e);return r.radius=function(t){return arguments.length?n(e=t*x):e*V},r.scale(179.976).clipAngle(147)};function R(e,t){var n=i(t),r=L(S(n*i(e/=2)));return[2*n*_(e)*r,_(t)*r]}R.invert=function(e,t){if(!(e*e+4*t*t>z*z+m)){var n=e,o=t,c=25;do{var a,l=_(n),s=_(n/2),u=i(n/2),h=_(o),d=i(o),v=_(2*o),f=h*h,p=d*d,g=s*s,y=1-p*u*u,M=y?S(d*u)*E(a=1/y):a=0,b=2*M*d*s-e,j=M*h-t,w=a*(p*g+M*d*u*f),H=a*(.5*l*v-2*M*h*s),V=.25*a*(v*s-M*h*p*l),x=a*(f*u+M*g*d),L=H*V-x*w;if(!L)break;var C=(j*H-b*x)/L,T=(b*V-j*w)/L;n-=C,o-=T}while((r(C)>m||r(T)>m)&&--c>0);return[n,o]}};var q=function(){return t.geoProjection(R).scale(152.63)};function I(e){var t=_(e),n=i(e),o=e>=0?1:-1,a=p(o*e),l=(1+t-n)/2;function s(e,r){var s=i(r),u=i(e/=2);return[(1+s)*_(e),(o*r>-c(u,a)-.001?0:10*-o)+l+_(r)*n-(1+s)*t*u]}return s.invert=function(e,s){var u=0,h=0,d=50;do{var v=i(u),f=_(u),p=i(h),g=_(h),z=1+p,y=z*f-e,M=l+g*n-z*t*v-s,b=z*v/2,j=-f*g,w=t*z*f/2,H=n*p+t*v*g,V=j*w-H*b,x=(M*j-y*H)/V/2,L=(y*w-M*b)/V;u-=x,h-=L}while((r(x)>m||r(L)>m)&&--d>0);return o*h>-c(i(u),a)-.001?[2*u,h]:null},s}var D=function(){var e=20*x,n=e>=0?1:-1,r=p(n*e),o=t.geoProjectionMutator(I),a=o(e),l=a.stream;return a.parallel=function(t){return arguments.length?(r=p((n=(e=t*x)>=0?1:-1)*e),o(e)):e*V},a.stream=function(t){var o=a.rotate(),s=l(t),u=(a.rotate([0,0]),l(t));return a.rotate(o),s.sphere=function(){u.polygonStart(),u.lineStart();for(var t=-180*n;n*t<180;t+=90*n)u.point(t,90*n);while(n*(t-=e)>=-180)u.point(t,n*-c(i(t*x/2),r)*V);u.lineEnd(),u.polygonEnd()},s},a.scale(218.695).center([0,28.0974])};function B(e,t){var n=p(t/2),r=E(1-n*n),o=1+r*i(e/=2),c=_(e)*r/o,a=n/o,l=c*c,s=a*a;return[4/3*c*(3+l-3*s),4/3*a*(3+3*l-s)]}B.invert=function(e,t){if(e*=3/8,t*=3/8,!e&&r(t)>1)return null;var n=e*e,o=t*t,a=1+n+o,l=E((a-E(a*a-4*t*t))/2),s=C(l)/3,u=l?P(r(t/l))/3:A(r(e))/3,h=i(s),d=k(u),v=d*d-h*h;return[2*f(e)*c(O(u)*h,.25-v),2*f(t)*c(d*_(s),.25+v)]};var U=function(){return t.geoProjection(B).scale(66.1603)},G=E(8),W=s(1+j);function Y(e,t){var n=r(t);return ng&&--u>0);return[e/(i(l)*(G-1/_(l))),f(t)*l]};var K=function(){return t.geoProjection(Y).scale(112.314)};function Q(e){var n=2*z/e;function a(e,o){var a=t.geoAzimuthalEquidistantRaw(e,o);if(r(e)>y){var l=c(a[1],a[0]),s=E(a[0]*a[0]+a[1]*a[1]),u=n*v((l-y)/n)+y,h=c(_(l-=u),2-i(l));l=u+C(z/s*_(h))-h,a[0]=s*i(l),a[1]=s*_(l)}return a}return a.invert=function(e,r){var a=E(e*e+r*r);if(a>y){var l=c(r,e),s=n*v((l-y)/n)+y,u=l>s?-1:1,h=a*i(s-l),d=1/p(u*S((h-z)/E(z*(z-2*h)+a*a)));l=s+2*o((d+u*E(d*d-3))/3),e=a*i(l),r=a*_(l)}return t.geoAzimuthalEquidistantRaw.invert(e,r)},a}var J=function(){var e=5,n=t.geoProjectionMutator(Q),r=n(e),o=r.stream,a=.01,l=-i(a*x),s=_(a*x);return r.lobes=function(t){return arguments.length?n(e=+t):e},r.stream=function(t){var n=r.rotate(),u=o(t),h=(r.rotate([0,0]),o(t));return r.rotate(n),u.sphere=function(){h.polygonStart(),h.lineStart();for(var t=0,n=360/e,r=2*z/e,o=90-180/e,u=y;tm&&--c>0);return t/2}function $(e,t,n){function r(r,o){return[e*r*i(o=X(n,o)),t*_(o)]}return r.invert=function(r,o){return o=C(o/t),[r/(e*i(o)),C((2*o+_(2*o))/n)]},r}var Z=$(j/y,j,z),ee=function(){return t.geoProjection(Z).scale(169.529)},te=2.00276,ne=1.11072;function re(e,t){var n=X(z,t);return[te*e/(1/i(t)+ne/i(n)),(t+j*_(n))/te]}re.invert=function(e,t){var n,o,c=te*t,a=t<0?-M:M,l=25;do{o=c-j*_(a),a-=n=(_(2*a)+2*a-z*_(o))/(2*i(2*a)+2+z*i(o)*j*i(a))}while(r(n)>m&&--l>0);return o=c-j*_(a),[e*(1/i(o)+ne/i(a))/te,o]};var oe=function(){return t.geoProjection(re).scale(160.857)},ce=function(e){var n=0,r=t.geoProjectionMutator(e),o=r(n);return o.parallel=function(e){return arguments.length?r(n=e*x):n*V},o};function ie(e,t){return[e*i(t),t]}ie.invert=function(e,t){return[e/i(t),t]};var ae=function(){return t.geoProjection(ie).scale(152.63)};function le(e){if(!e)return ie;var t=1/p(e);function n(n,r){var o=t+e-r,c=o?n*i(r)/o:o;return[o*_(c),t-o*i(c)]}return n.invert=function(n,r){var o=E(n*n+(r=t-r)*r),a=t+e-o;return[o/i(a)*c(n,r),a]},n}var se=function(){return ce(le).scale(123.082).center([0,26.1441]).parallel(45)};function ue(e){function t(t,n){var r=y-n,o=r?t*e*_(r)/r:r;return[r*_(o)/e,y-r*i(o)]}return t.invert=function(t,n){var r=t*e,o=y-n,i=E(r*r+o*o),a=c(r,o);return[(i?i/_(i):1)*a/e,y-i]},t}var he=function(){var e=.5,n=t.geoProjectionMutator(ue),r=n(e);return r.fraction=function(t){return arguments.length?n(e=+t):e},r.scale(158.837)},de=$(1,4/z,z),ve=function(){return t.geoProjection(de).scale(152.63)};function fe(e,t,n,o,a,l){var s,u=i(l);if(r(e)>1||r(l)>1)s=S(n*a+t*o*u);else{var h=_(e/2),d=_(l/2);s=2*C(E(h*h+t*o*d*d))}return r(s)>m?[s,c(o*_(l),t*a-n*o*u)]:[0,0]}function _e(e,t,n){return S((e*e+t*t-n*n)/(2*e*t))}function pe(e){return e-2*z*l((e+z)/(2*z))}function me(e,t,n){for(var r,o=[[e[0],e[1],_(e[1]),i(e[1])],[t[0],t[1],_(t[1]),i(t[1])],[n[0],n[1],_(n[1]),i(n[1])]],c=o[2],a=0;a<3;++a,c=r)r=o[a],c.v=fe(r[1]-c[1],c[3],c[2],r[3],r[2],r[0]-c[0]),c.point=[0,0];var l=_e(o[0].v[0],o[2].v[0],o[1].v[0]),s=_e(o[0].v[0],o[1].v[0],o[2].v[0]),u=z-l;o[2].point[1]=0,o[0].point[0]=-(o[1].point[0]=o[0].v[0]/2);var h=[o[2].point[0]=o[0].point[0]+o[2].v[0]*i(l),2*(o[0].point[1]=o[1].point[1]=o[2].v[0]*_(l))];function d(e,t){var n,r=_(t),c=i(t),a=new Array(3);for(n=0;n<3;++n){var l=o[n];if(a[n]=fe(t-l[1],l[3],l[2],c,r,e-l[0]),!a[n][0])return l.point;a[n][1]=pe(a[n][1]-l.v[1])}var d=h.slice();for(n=0;n<3;++n){var v=2==n?0:n+1,f=_e(o[n].v[0],a[n][0],a[v][0]);a[n][1]<0&&(f=-f),n?1==n?(f=s-f,d[0]-=a[n][0]*i(f),d[1]-=a[n][0]*_(f)):(f=u-f,d[0]+=a[n][0]*i(f),d[1]+=a[n][0]*_(f)):(d[0]+=a[n][0]*i(f),d[1]-=a[n][0]*_(f))}return d[0]/=3,d[1]/=3,d}return d}function ge(e){return e[0]*=x,e[1]*=x,e}function ze(){return ye([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function ye(e,n,r){var o=t.geoCentroid({type:"MultiPoint",coordinates:[e,n,r]}),c=[-o[0],-o[1]],i=t.geoRotation(c),a=t.geoProjection(me(ge(i(e)),ge(i(n)),ge(i(r)))).rotate(c),l=a.center;return delete a.rotate,a.center=function(e){return arguments.length?l(i(e)):i.invert(l())},a.clipAngle(90)}function Me(e,t){var n=E(1-_(t));return[2/w*e*n,w*(1-n)]}Me.invert=function(e,t){var n=(n=t/w-1)*n;return[n>0?e*E(z/n)/2:0,C(1-n)]};var be=function(){return t.geoProjection(Me).scale(95.6464).center([0,30])};function je(e){var t=p(e);function n(e,n){return[e,(e?e/_(e):1)*(_(n)*i(e)-t*i(n))]}return n.invert=t?function(e,n){e&&(n*=_(e)/e);var r=i(e);return[e,2*c(E(r*r+t*t-n*n)-r,t-n)]}:function(e,t){return[e,C(e?t*p(e)/e:t)]},n}var we=function(){return ce(je).scale(249.828).clipAngle(90)},He=E(3);function Ve(e,t){return[He*e*(2*i(2*t/3)-1)/w,He*w*_(t/3)]}Ve.invert=function(e,t){var n=3*C(t/(He*w));return[w*e/(He*(2*i(2*n/3)-1)),n]};var xe=function(){return t.geoProjection(Ve).scale(156.19)};function Le(e){var t=i(e);function n(e,n){return[e*t,_(n)/t]}return n.invert=function(e,n){return[e/t,C(n*t)]},n}var Ce=function(){return ce(Le).parallel(38.58).scale(195.044)};function Se(e){var t=i(e);function n(e,n){return[e*t,(1+t)*p(n/2)]}return n.invert=function(e,n){return[e/t,2*o(n/(1+t))]},n}var Ee=function(){return ce(Se).scale(124.75)};function Te(e,t){var n=E(8/(3*z));return[n*e*(1-r(t)/z),n*t]}Te.invert=function(e,t){var n=E(8/(3*z)),o=t/n;return[e/(n*(1-r(o)/z)),o]};var Oe=function(){return t.geoProjection(Te).scale(165.664)};function ke(e,t){var n=E(4-3*_(r(t)));return[2/E(6*z)*e*n,f(t)*E(2*z/3)*(2-n)]}ke.invert=function(e,t){var n=2-r(t)/E(2*z/3);return[e*E(6*z)/(2*n),f(t)*C((4-n*n)/3)]};var Ae=function(){return t.geoProjection(ke).scale(165.664)};function Pe(e,t){var n=E(z*(4+z));return[2/n*e*(1+E(1-4*t*t/(z*z))),4/n*t]}Pe.invert=function(e,t){var n=E(z*(4+z))/2;return[e*n/(1+E(1-t*t*(4+z)/(4*z))),t*n/2]};var Fe=function(){return t.geoProjection(Pe).scale(180.739)};function Ne(e,t){var n=(2+y)*_(t);t/=2;for(var o=0,c=1/0;o<10&&r(c)>m;o++){var a=i(t);t-=c=(t+_(t)*(a+2)-n)/(2*a*(1+a))}return[2/E(z*(4+z))*e*(1+i(t)),2*E(z/(4+z))*_(t)]}Ne.invert=function(e,t){var n=t*E((4+z)/z)/2,r=C(n),o=i(r);return[e/(2/E(z*(4+z))*(1+o)),C((r+n*(o+2))/(2+y))]};var Re=function(){return t.geoProjection(Ne).scale(180.739)};function qe(e,t){return[e*(1+i(t))/E(2+z),2*t/E(2+z)]}qe.invert=function(e,t){var n=E(2+z),r=t*n/2;return[n*e/(1+i(r)),r]};var Ie=function(){return t.geoProjection(qe).scale(173.044)};function De(e,t){for(var n=(1+y)*_(t),o=0,c=1/0;o<10&&r(c)>m;o++)t-=c=(t+_(t)-n)/(1+i(t));return n=E(2+z),[e*(1+i(t))/n,2*t/n]}De.invert=function(e,t){var n=1+y,r=E(n/2);return[2*e*r/(1+i(t*=r)),C((t+_(t))/n)]};var Be=function(){return t.geoProjection(De).scale(173.044)},Ue=3+2*j;function Ge(e,t){var n=_(e/=2),r=i(e),c=E(i(t)),a=i(t/=2),l=_(t)/(a+j*r*c),u=E(2/(1+l*l)),h=E((j*a+(r+n)*c)/(j*a+(r-n)*c));return[Ue*(u*(h-1/h)-2*s(h)),Ue*(u*l*(h+1/h)-2*o(l))]}Ge.invert=function(e,t){if(!(n=B.invert(e/1.2,1.065*t)))return null;var n,c=n[0],a=n[1],l=20;e/=Ue,t/=Ue;do{var d=c/2,v=a/2,f=_(d),p=i(d),g=_(v),z=i(v),M=i(a),w=E(M),H=g/(z+j*p*w),V=H*H,x=E(2/(1+V)),L=j*z+(p+f)*w,C=j*z+(p-f)*w,S=L/C,T=E(S),O=T-1/T,k=T+1/T,A=x*O-2*s(T)-e,P=x*H*k-2*o(H)-t,F=g&&b*w*f*V/g,N=(j*p*z+w)/(2*(z+j*p*w)*(z+j*p*w)*w),R=-.5*H*x*x*x,q=R*F,I=R*N,D=(D=2*z+j*w*(p-f))*D*T,U=(j*p*z*w+M)/D,G=-j*f*g/(w*D),W=O*q-2*U/T+x*(U+U/S),Y=O*I-2*G/T+x*(G+G/S),K=H*k*q-2*F/(1+V)+x*k*F+x*H*(U-U/S),Q=H*k*I-2*N/(1+V)+x*k*N+x*H*(G-G/S),J=Y*K-Q*W;if(!J)break;var X=(P*Y-A*Q)/J,$=(A*K-P*W)/J;c-=X,a=u(-y,h(y,a-$))}while((r(X)>m||r($)>m)&&--l>0);return r(r(a)-y)a){var f=E(d),p=c(h,u),g=o*v(p/o),M=p-g,b=e*i(M),j=(e*_(M)-M*_(b))/(y-b),w=nt(M,j),H=(z-e)/rt(w,b,z);u=f;var V,x=50;do{u-=V=(e+rt(w,b,u)*H-f)/(w(u)*H)}while(r(V)>m&&--x>0);h=M*_(u),ua){var u=E(s),h=c(l,n),d=o*v(h/o),f=h-d;n=u*i(f),l=u*_(f);var p=n-y,m=_(n),M=l/m,b=nm||r(v)>m)&&--g>0);return[f,p]},u},it=ct(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),at=function(){return t.geoProjection(it).scale(149.995)},lt=ct(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),st=function(){return t.geoProjection(lt).scale(153.93)},ut=ct(5/6*z,-.62636,-.0344,0,1.3493,-.05524,0,.045),ht=function(){return t.geoProjection(ut).scale(130.945)};function dt(e,t){var n=e*e,r=t*t;return[e*(1-.162388*r)*(.87-952426e-9*n*n),t*(1+r/12)]}dt.invert=function(e,t){var n,o=e,c=t,i=50;do{var a=c*c;c-=n=(c*(1+a/12)-t)/(1+a/4)}while(r(n)>m&&--i>0);i=50,e/=1-.162388*a;do{var l=(l=o*o)*l;o-=n=(o*(.87-952426e-9*l)-e)/(.87-.00476213*l)}while(r(n)>m&&--i>0);return[o,c]};var vt=function(){return t.geoProjection(dt).scale(131.747)},ft=ct(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),_t=function(){return t.geoProjection(ft).scale(131.087)},pt=function(e){var t=e(y,0)[0]-e(-y,0)[0];function n(n,r){var o=n>0?-.5:.5,c=e(n+o*z,r);return c[0]-=o*t,c}return e.invert&&(n.invert=function(n,r){var o=n>0?-.5:.5,c=e.invert(n+o*t,r),i=c[0]-o*z;return i<-z?i+=2*z:i>z&&(i-=2*z),c[0]=i,c}),n};function mt(e,t){var n=f(e),o=f(t),a=i(t),l=i(e)*a,s=_(e)*a,u=_(o*t);e=r(c(s,u)),t=C(l),r(e-y)>m&&(e%=y);var h=gt(e>z/4?y-e:e,t);return e>z/4&&(u=h[0],h[0]=-h[1],h[1]=-u),h[0]*=n,h[1]*=-o,h}function gt(e,t){if(t===y)return[0,0];var n,o,c=_(t),a=c*c,l=a*a,s=1+l,u=1+3*l,h=1-l,d=C(1/E(s)),v=h+a*s*d,f=(1-c)/v,p=E(f),g=f*s,M=E(g),b=p*h;if(0===e)return[0,-(b+a*M)];var j,w=i(t),H=1/w,V=2*c*w,x=(-3*a+d*u)*V,L=(-v*w-(1-c)*x)/(v*v),S=.5*L/p,T=h*S-2*a*p*V,O=a*s*L+f*u*V,k=-H*V,A=-H*O,P=-2*H*T,F=4*e/z;if(e>.222*z||t.175*z){if(n=(b+a*E(g*(1+l)-b*b))/(1+l),e>z/4)return[n,n];var N=n,R=.5*n;n=.5*(R+N),o=50;do{var q=E(g-n*n),I=n*(P+k*q)+A*C(n/M)-F;if(!I)break;I<0?R=n:N=n,n=.5*(R+N)}while(r(N-R)>m&&--o>0)}else{n=m,o=25;do{var D=n*n,B=E(g-D),U=P+k*B,G=n*U+A*C(n/M)-F,W=U+(A-k*D)/B;n-=j=B?G/W:0}while(r(j)>m&&--o>0)}return[n,-b-a*E(g-n*n)]}function zt(e,t){var n=0,o=1,c=.5,a=50;while(1){var l=c*c,s=E(c),u=C(1/E(1+l)),h=1-l+c*(1+l)*u,d=(1-s)/h,v=E(d),f=d*(1+l),_=v*(1-l),p=f-e*e,m=E(p),y=t+_+c*m;if(r(o-n)0?n=c:o=c,c=.5*(n+o)}if(!a)return null;var M=C(s),b=i(M),j=1/b,w=2*s*b,H=(-3*c+u*(1+3*l))*w,V=(-h*b-(1-s)*H)/(h*h),x=.5*V/v,L=(1-l)*x-2*c*v*w,S=-2*j*L,T=-j*w,O=-j*(c*(1+l)*V+d*(1+3*l)*w);return[z/4*(e*(S+T*m)+O*C(e/E(f))),M]}mt.invert=function(e,t){r(e)>1&&(e=2*f(e)-e),r(t)>1&&(t=2*f(t)-t);var n=f(e),o=f(t),a=-n*e,l=-o*t,s=l/a<1,u=zt(s?l:a,s?a:l),h=u[0],d=u[1],v=i(d);return s&&(h=-y-h),[n*(c(_(h)*v,-_(d))+z),o*C(i(h)*v)]};var yt=function(){return t.geoProjection(pt(mt)).scale(239.75)};function Mt(e,t,n){var r,o,c;return e?(r=bt(e,n),t?(o=bt(t,1-n),c=o[1]*o[1]+n*r[0]*r[0]*o[0]*o[0],[[r[0]*o[2]/c,r[1]*r[2]*o[0]*o[1]/c],[r[1]*o[1]/c,-r[0]*r[2]*o[0]*o[2]/c],[r[2]*o[1]*o[2]/c,-n*r[0]*r[1]*o[0]/c]]):[[r[0],0],[r[1],0],[r[2],0]]):(o=bt(t,1-n),[[0,o[0]/o[1]],[1/o[1],0],[o[2]/o[1],0]])}function bt(e,t){var n,c,l,s,u;if(t=1-m)return n=(1-t)/4,c=k(e),s=T(e),l=1/c,u=c*O(e),[s+n*(u-e)/(c*c),l-n*s*l*(u-e),l+n*s*l*(u+e),2*o(a(e))-y+n*(u-e)/c];var h=[1,0,0,0,0,0,0,0,0],d=[E(t),0,0,0,0,0,0,0,0],v=0;c=E(1-t),u=1;while(r(d[v]/h[v])>m&&v<8)n=h[v++],d[v]=(n-c)/2,h[v]=(n+c)/2,c=E(n*c),u*=2;l=u*h[v]*e;do{s=d[v]*_(c=l)/h[v],l=(C(s)+l)/2}while(--v);return[_(l),s=i(l),s/i(l-c),l]}function jt(e,t,n){var c=r(e),i=r(t),a=O(i);if(c){var l=1/_(c),s=1/(p(c)*p(c)),u=-(s+n*(a*a*l*l)-1+n),h=(n-1)*s,d=(-u+E(u*u-4*h))/2;return[wt(o(1/E(d)),n)*f(e),wt(o(E((d/s-1)/n)),1-n)*f(t)]}return[0,wt(o(a),1-n)*f(t)]}function wt(e,t){if(!t)return e;if(1===t)return s(p(e/2+M));for(var n=1,c=E(1-t),i=E(t),a=0;r(i)>m;a++){if(e%z){var l=o(c*p(e)/n);l<0&&(l+=z),e+=l+~~(e/z)*z}else e+=e;i=(n+c)/2,c=E(n*c),i=((n=i)-c)/2}return e/(d(2,a)*n)}function Ht(e,t){var n=(j-1)/(j+1),o=E(1-n*n),c=wt(y,o*o),l=-1,u=s(p(z/4+r(t)/2)),h=a(l*u)/E(n),d=Vt(h*i(l*e),h*_(l*e)),v=jt(d[0],d[1],o*o);return[-v[1],(t>=0?1:-1)*(.5*c-v[0])]}function Vt(e,t){var n=e*e,r=t+1,o=1-n-t*t;return[.5*((e>=0?y:-y)-c(o,2*e)),-.25*s(o*o+4*n)+.5*s(r*r+n)]}function xt(e,t){var n=t[0]*t[0]+t[1]*t[1];return[(e[0]*t[0]+e[1]*t[1])/n,(e[1]*t[0]-e[0]*t[1])/n]}Ht.invert=function(e,t){var n=(j-1)/(j+1),r=E(1-n*n),i=wt(y,r*r),l=-1,u=Mt(.5*i-t,-e,r*r),h=xt(u[0],u[1]),d=c(h[1],h[0])/l;return[d,2*o(a(.5/l*s(n*h[0]*h[0]+n*h[1]*h[1])))-y]};var Lt=function(){return t.geoProjection(pt(Ht)).scale(151.496)};function Ct(e,n){if(arguments.length<2&&(n=e),1===n)return t.geoAzimuthalEqualAreaRaw;if(n===1/0)return St;function r(r,o){var c=t.geoAzimuthalEqualAreaRaw(r/n,o);return c[0]*=e,c}return r.invert=function(r,o){var c=t.geoAzimuthalEqualAreaRaw.invert(r/e,o);return c[0]*=n,c},r}function St(e,t){return[e*i(t)/i(t/=2),2*_(t)]}St.invert=function(e,t){var n=2*C(t/2);return[e*i(n/2)/i(n),n]};var Et=function(){var e=2,n=t.geoProjectionMutator(Ct),r=n(e);return r.coefficient=function(t){return arguments.length?n(e=+t):e},r.scale(169.529)};function Tt(e){var t=_(e),n=i(e),o=Ot(e);function a(e,c){var a=o(e,c);e=a[0],c=a[1];var l=_(c),s=i(c),u=i(e),h=S(t*l+n*s*u),d=_(h),v=r(d)>m?h/d:1;return[v*n*_(e),(r(e)>y?v:-v)*(t*s-n*l*u)]}return o.invert=Ot(-e),a.invert=function(e,n){var r=E(e*e+n*n),a=-_(r),l=i(r),s=r*l,u=-n*a,h=r*t,d=E(s*s+u*u-h*h),v=c(s*h+u*d,u*h-s*d),f=(r>y?-1:1)*c(e*a,r*i(v)*l+n*_(v)*a);return o.invert(f,v)},a}function Ot(e){var t=_(e),n=i(e);return function(e,r){var o=i(r),a=i(e)*o,l=_(e)*o,s=_(r);return[c(l,a*n-s*t),C(s*n+a*t)]}}var kt=function(){var e=0,n=t.geoProjectionMutator(Tt),r=n(e),o=r.rotate,c=r.stream,i=t.geoCircle();return r.parallel=function(t){if(!arguments.length)return e*V;var o=r.rotate();return n(e=t*x).rotate(o)},r.rotate=function(t){return arguments.length?(o.call(r,[t[0],t[1]-e*V]),i.center([-t[0],-t[1]]),r):(t=o.call(r),t[1]+=e*V,t)},r.stream=function(e){return e=c(e),e.sphere=function(){e.polygonStart();var t,n=.01,r=i.radius(90-n)().coordinates[0],o=r.length-1,c=-1;e.lineStart();while(++c=0)e.point((t=r[c])[0],t[1]);e.lineEnd(),e.polygonEnd()},e},r.scale(79.4187).parallel(45).clipAngle(179.999)},At=41+48/36+37/3600,Pt=Le(0);function Ft(e){var t=At*x,n=Me(z,t)[0]-Me(-z,t)[0],o=Pt(0,t)[1],c=Me(0,t)[1],i=w-c,a=H/e,s=4/H,d=o+i*i*4/H;function v(v,f){var _,p=r(f);if(p>t){var m=h(e-1,u(0,l((v+z)/a)));v+=z*(e-1)/e-m*a,_=Me(v,p),_[0]=_[0]*H/n-H*(e-1)/(2*e)+m*H/e,_[1]=o+4*(_[1]-c)*i/H,f<0&&(_[1]=-_[1])}else _=Pt(v,f);return _[0]*=s,_[1]/=d,_}return v.invert=function(t,v){t/=s,v*=d;var f=r(v);if(f>o){var _=h(e-1,u(0,l((t+z)/a)));t=(t+z*(e-1)/e-_*a)*n/H;var p=Me.invert(t,.25*(f-o)*H/i+c);return p[0]-=z*(e-1)/e-_*a,v<0&&(p[1]=-p[1]),p}return Pt.invert(t,v)},v}function Nt(e){return{type:"Polygon",coordinates:[n.range(-180,180+e/2,e).map((function(e,t){return[e,1&t?89.999999:At]})).concat(n.range(180,-180-e/2,-e).map((function(e,t){return[e,1&t?-89.999999:-At]})))]}}var Rt=function(){var e=4,n=t.geoProjectionMutator(Ft),r=n(e),o=r.stream;return r.lobes=function(t){return arguments.length?n(e=+t):e},r.stream=function(n){var c=r.rotate(),i=o(n),a=(r.rotate([0,0]),o(n));return r.rotate(c),i.sphere=function(){t.geoStream(Nt(180/e),a)},i},r.scale(239.75)};function qt(e){var t,n=1+e,o=_(1/n),a=C(o),l=2*E(z/(t=z+4*a*n)),s=.5*l*(n+E(e*(2+e))),u=e*e,h=n*n;function d(o,d){var v,f,p=1-_(d);if(p&&p<2){var m,M=y-d,b=25;do{var j=_(M),w=i(M),H=a+c(j,n-w),V=1+h-2*n*w;M-=m=(M-u*a-n*j+V*H-.5*p*t)/(2*n*j*H)}while(r(m)>g&&--b>0);v=l*E(V),f=o*H/z}else v=l*(e+p),f=o*a/z;return[v*_(f),s-v*i(f)]}return d.invert=function(e,r){var o=e*e+(r-=s)*r,i=(1+h-o/(l*l))/(2*n),d=S(i),v=_(d),f=a+c(v,n-i);return[C(e/E(o))*z/f,C(1-2*(d-u*a-n*v+(1+h-2*n*i)*f)/t)]},d}var It=function(){var e=1,n=t.geoProjectionMutator(qt),r=n(e);return r.ratio=function(t){return arguments.length?n(e=+t):e},r.scale(167.774).center([0,18.67])},Dt=.7109889596207567,Bt=.0528035274542;function Ut(e,t){return t>-Dt?(e=Z(e,t),e[1]+=Bt,e):ie(e,t)}Ut.invert=function(e,t){return t>-Dt?Z.invert(e,t-Bt):ie.invert(e,t)};var Gt=function(){return t.geoProjection(Ut).rotate([-20,-55]).scale(164.263).center([0,-5.4036])};function Wt(e,t){return r(t)>Dt?(e=Z(e,t),e[1]-=t>0?Bt:-Bt,e):ie(e,t)}Wt.invert=function(e,t){return r(t)>Dt?Z.invert(e,t+(t>0?Bt:-Bt)):ie.invert(e,t)};var Yt=function(){return t.geoProjection(Wt).scale(152.63)};function Kt(e,t){return r(e[0]-t[0])=0;--l)t=e[1][l],r=t[0][0],o=t[0][1],c=t[1][1],i=t[2][0],a=t[2][1],s.push(Qt([[i-m,a-m],[i-m,c+m],[r+m,c+m],[r+m,o-m]],30));return{type:"Polygon",coordinates:[n.merge(s)]}}var Xt=function(e,n){var r=Jt(n);n=n.map((function(e){return e.map((function(e){return[[e[0][0]*x,e[0][1]*x],[e[1][0]*x,e[1][1]*x],[e[2][0]*x,e[2][1]*x]]}))}));var o=n.map((function(t){return t.map((function(t){var n,r=e(t[0][0],t[0][1])[0],o=e(t[2][0],t[2][1])[0],c=e(t[1][0],t[0][1])[1],i=e(t[1][0],t[1][1])[1];return c>i&&(n=c,c=i,i=n),[[r,c],[o,i]]}))}));function c(t,r){for(var o=r<0?-1:1,c=n[+(r<0)],i=0,a=c.length-1;ic[i][2][0];++i);var l=e(t-c[i][1][0],r);return l[0]+=e(c[i][1][0],o*r>o*c[i][0][1]?c[i][0][1]:r)[0],l}e.invert&&(c.invert=function(t,r){for(var i=o[+(r<0)],a=n[+(r<0)],l=0,s=i.length;l2)return null;t/=2,n/=2;var i=t*t,a=n*n,l=2*n/(1+i+a);return l=d((1+l)/(1-l),1/e),[c(2*t,1-i-a)/e,C((l-1)/(l+1))]},t}var fn=function(){var e=.5,n=t.geoProjectionMutator(vn),r=n(e);return r.spacing=function(t){return arguments.length?n(e=+t):e},r.scale(124.75)},_n=z/j;function pn(e,t){return[e*(1+E(i(t)))/2,t/(i(t/2)*i(e/6))]}pn.invert=function(e,t){var n=r(e),o=r(t),c=m,a=y;o<_n?a*=o/_n:c+=6*S(_n/o);for(var l=0;l<25;l++){var s=_(a),u=E(i(a)),h=_(a/2),d=i(a/2),v=_(c/6),f=i(c/6),p=.5*c*(1+u)-n,g=a/(d*f)-o,z=u?-.25*c*s/u:0,M=.5*(1+u),b=(1+.5*a*h/d)/(d*f),j=a/d*(v/6)/(f*f),w=z*j-b*M,H=(p*j-g*M)/w,V=(g*z-p*b)/w;if(a-=H,c-=V,r(H)m||r(y)>m)&&--c>0);return c&&[n,o]};var zn=function(){return t.geoProjection(gn).scale(139.98)};function yn(e,t){return[_(e)/i(t),p(t)*i(e)]}yn.invert=function(e,t){var n=e*e,r=t*t,o=r+1,c=e?b*E((o-E(n*n+2*n*(r-1)+o*o))/n+1):1/E(o);return[C(e*c),f(t)*S(c)]};var Mn=function(){return t.geoProjection(yn).scale(144.049).clipAngle(89.999)};function bn(e){var t=i(e),n=p(M+e/2);function o(o,c){var i=c-e,a=r(i)=0)h=e[u],d=h[0]+l*(o=d)-s*v,v=h[1]+l*v+s*o;return d=l*(o=d)-s*v,v=l*v+s*o,[d,v]}return n.invert=function(n,a){var l=20,s=n,u=a;do{var h,d=t,v=e[d],f=v[0],p=v[1],g=0,z=0;while(--d>=0)v=e[d],g=f+s*(h=g)-u*z,z=p+s*z+u*h,f=v[0]+s*(h=f)-u*p,p=v[1]+s*p+u*h;g=f+s*(h=g)-u*z,z=p+s*z+u*h,f=s*(h=f)-u*p-n,p=s*p+u*h-a;var y,M,b=g*g+z*z;s-=y=(f*g+p*z)/b,u-=M=(p*g-f*z)/b}while(r(y)+r(M)>m*m&&--l>0);if(l){var j=E(s*s+u*u),w=2*o(.5*j),H=_(w);return[c(s*H,j*i(w)),j?C(u*H/j):0]}},n}var xn=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Ln=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Cn=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Sn=[[.9245,0],[0,0],[.01943,0]],En=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Tn(){return Fn(xn,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)}function On(){return Fn(Ln,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function kn(){return Fn(Cn,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function An(){return Fn(Sn,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Pn(){return Fn(En,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Fn(e,n){var r=t.geoProjection(Vn(e)).rotate(n).clipAngle(90),o=t.geoRotation(n),c=r.center;return delete r.rotate,r.center=function(e){return arguments.length?c(o(e)):o.invert(c())},r}var Nn=E(6),Rn=E(7);function qn(e,t){var n=C(7*_(t)/(3*Nn));return[Nn*e*(2*i(2*n/3)-1)/Rn,9*_(n/3)/Rn]}qn.invert=function(e,t){var n=3*C(t*Rn/9);return[e*Rn/(Nn*(2*i(2*n/3)-1)),C(3*_(n)*Nn/7)]};var In=function(){return t.geoProjection(qn).scale(164.859)};function Dn(e,t){for(var n,o=(1+b)*_(t),c=t,a=0;a<25;a++)if(c-=n=(_(c/2)+_(c)-o)/(.5*i(c/2)+i(c)),r(n)m&&--c>0);return[e/(.8707+(i=o*o)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),o]};var Yn=function(){return t.geoProjection(Wn).scale(175.295)};function Kn(e,t){var n=t*t,r=n*n,o=n*r;return[e*(.84719-.13063*n+o*o*(.05494*n-.04515-.02326*r+.00331*o)),t*(1.01183+r*r*(.01926*n-.02625-.00396*r))]}Kn.invert=function(e,t){var n,o,c,i,a=t,l=25;do{o=a*a,c=o*o,a-=n=(a*(1.01183+c*c*(.01926*o-.02625-.00396*c))-t)/(1.01183+c*c*(.21186*o-.23625+-.05148*c))}while(r(n)>g&&--l>0);return o=a*a,c=o*o,i=o*c,[e/(.84719-.13063*o+i*i*(.05494*o-.04515-.02326*c+.00331*i)),a]};var Qn=function(){return t.geoProjection(Kn).scale(175.295)};function Jn(e,t){return[e*(1+i(t))/2,2*(t-p(t/2))]}Jn.invert=function(e,t){for(var n=t/2,o=0,c=1/0;o<10&&r(c)>m;++o){var a=i(t/2);t-=c=(t-p(t/2)-n)/(1-.5/(a*a))}return[2*e/(1+i(t)),t]};var Xn=function(){return t.geoProjection(Jn).scale(152.63)},$n=1.0148,Zn=.23185,er=-.14499,tr=.02406,nr=$n,rr=5*Zn,or=7*er,cr=9*tr,ir=1.790857183;function ar(e,t){var n=t*t;return[e,t*($n+n*n*(Zn+n*(er+tr*n)))]}ar.invert=function(e,t){t>ir?t=ir:t<-ir&&(t=-ir);var n,o=t;do{var c=o*o;o-=n=(o*($n+c*c*(Zn+c*(er+tr*c)))-t)/(nr+c*c*(rr+c*(or+cr*c)))}while(r(n)>m);return[e,o]};var lr=function(){return t.geoProjection(ar).scale(139.319)};function sr(e,t){if(r(t)m&&--a>0);return l=p(c),[(r(t)=0;)if(r=t[a],n[0]===r[0]&&n[1]===r[1]){if(c)return[c,n];c=n}}}function Mr(e){for(var t=e.length,n=[],r=e[t-1],o=0;o0?[-n[0],0]:[180-n[0],180])};var n=wr.map((function(t){return{face:t,project:e(t)}}));return[-1,0,0,1,0,1,4,5].forEach((function(e,t){var r=n[e];r&&(r.children||(r.children=[])).push(n[t])})),mr(n[0],(function(e,t){return n[e<-z/2?t<0?6:4:e<0?t<0?2:0:er^v>r&&n<(d-s)*(r-u)/(v-u)+s&&(o=!o)}return o},Fr=function(e,t){var n,r=t.stream;if(!r)throw new Error("invalid projection");switch(e&&e.type){case"Feature":n=Rr;break;case"FeatureCollection":n=Nr;break;default:n=Ir;break}return n(e,r)};function Nr(e,t){return{type:"FeatureCollection",features:e.features.map((function(e){return Rr(e,t)}))}}function Rr(e,t){return{type:"Feature",id:e.id,properties:e.properties,geometry:Ir(e.geometry,t)}}function qr(e,t){return{type:"GeometryCollection",geometries:e.geometries.map((function(e){return Ir(e,t)}))}}function Ir(e,n){if(!e)return null;if("GeometryCollection"===e.type)return qr(e,n);var r;switch(e.type){case"Point":r=Ur;break;case"MultiPoint":r=Ur;break;case"LineString":r=Gr;break;case"MultiLineString":r=Gr;break;case"Polygon":r=Wr;break;case"MultiPolygon":r=Wr;break;case"Sphere":r=Wr;break;default:return null}return t.geoStream(e,n(r)),r.result()}var Dr=[],Br=[],Ur={point:function(e,t){Dr.push([e,t])},result:function(){var e=Dr.length?Dr.length<2?{type:"Point",coordinates:Dr[0]}:{type:"MultiPoint",coordinates:Dr}:null;return Dr=[],e}},Gr={lineStart:kr,point:function(e,t){Dr.push([e,t])},lineEnd:function(){Dr.length&&(Br.push(Dr),Dr=[])},result:function(){var e=Br.length?Br.length<2?{type:"LineString",coordinates:Br[0]}:{type:"MultiLineString",coordinates:Br}:null;return Br=[],e}},Wr={polygonStart:kr,lineStart:kr,point:function(e,t){Dr.push([e,t])},lineEnd:function(){var e=Dr.length;if(e){do{Dr.push(Dr[0].slice())}while(++e<4);Br.push(Dr),Dr=[]}},polygonEnd:kr,result:function(){if(!Br.length)return null;var e=[],t=[];return Br.forEach((function(n){Ar(n)?e.push([n]):t.push(n)})),t.forEach((function(t){var n=t[0];e.some((function(e){if(Pr(e[0],n))return e.push(t),!0}))||e.push([t])})),Br=[],e.length?e.length>1?{type:"MultiPolygon",coordinates:e}:{type:"Polygon",coordinates:e[0]}:null}},Yr=function(e){var n=e(y,0)[0]-e(-y,0)[0];function o(t,o){var c=r(t)0?t-z:t+z,o),a=(i[0]-i[1])*b,l=(i[0]+i[1])*b;if(c)return[a,l];var s=n*b,u=a>0^l>0?-1:1;return[u*a-f(l)*s,u*l-f(a)*s]}return e.invert&&(o.invert=function(t,o){var c=(t+o)*b,i=(o-t)*b,a=r(c)<.5*n&&r(i)<.5*n;if(!a){var l=n*b,s=c>0^i>0?-1:1,u=-s*t+(i>0?1:-1)*l,h=-s*o+(c>0?1:-1)*l;c=(-u-h)*b,i=(u-h)*b}var d=e.invert(c,i);return a||(d[0]+=c>0?z:-z),d}),t.geoProjection(o).rotate([-90,-90,45]).clipAngle(179.999)},Kr=function(){return Yr(mt).scale(176.423)},Qr=function(){return Yr(Ht).scale(111.48)},Jr=function(e,t){if(!(0<=(t=+t)&&t<=20))throw new Error("invalid digits");function n(e){var n=e.length,r=2,o=new Array(n);o[0]=+e[0].toFixed(t),o[1]=+e[1].toFixed(t);while(rm&&--u>0);var f=n*(h=p(s)),g=p(r(c)0?y:-y)*(d+i*(f-s)/2+i*i*(f-2*d+s)/2)]}Zr.forEach((function(e){e[1]*=1.0144})),eo.invert=function(e,t){var n=t/y,o=90*n,c=h(18,r(o/5)),i=u(0,l(c));do{var a=Zr[i][1],s=Zr[i+1][1],d=Zr[h(19,i+2)][1],v=d-a,f=d-2*s+a,_=2*(r(n)-s)/v,p=f/v,m=_*(1-p*_*(1-2*p*_));if(m>=0||1===i){o=(t>=0?5:-5)*(m+c);var z,M=50;do{c=h(18,r(o)/5),i=l(c),m=c-i,a=Zr[i][1],s=Zr[i+1][1],d=Zr[h(19,i+2)][1],o-=(z=(t>=0?y:-y)*(s+m*(d-a)/2+m*m*(d-2*s+a)/2)-t)*V}while(r(z)>g&&--M>0);break}}while(--i>=0);var b=Zr[i][0],j=Zr[i+1][0],w=Zr[h(19,i+2)][0];return[e/(j+m*(w-b)/2+m*m*(w-2*j+b)/2),o*x]};var to=function(){return t.geoProjection(eo).scale(152.63)};function no(e){function t(t,n){var r=i(n),o=(e-1)/(e-r*i(t));return[o*r*_(t),o*_(n)]}return t.invert=function(t,n){var r=t*t+n*n,o=E(r),i=(e-E(1-r*(e+1)/(e-1)))/((e-1)/o+o/(e-1));return[c(t*i,o*E(1-i*i)),o?C(n*i/o):0]},t}function ro(e,t){var n=no(e);if(!t)return n;var r=i(t),o=_(t);function c(t,c){var i=n(t,c),a=i[1],l=a*o/(e-1)+r;return[i[0]*r/l,a/l]}return c.invert=function(t,c){var i=(e-1)/(e-1-c*o);return n.invert(i*t,i*c*r)},c}var oo=function(){var e=2,n=0,r=t.geoProjectionMutator(ro),o=r(e,n);return o.distance=function(t){return arguments.length?r(e=+t,n):e},o.tilt=function(t){return arguments.length?r(e,n=t*x):n*V},o.scale(432.147).clipAngle(S(1/e)*V-1e-6)},co=1e-4,io=1e4,ao=-180,lo=ao+co,so=180,uo=so-co,ho=-90,vo=ho+co,fo=90,_o=fo-co;function po(e){return e.length>0}function mo(e){return Math.floor(e*io)/io}function go(e){return e===ho||e===fo?[0,e]:[ao,mo(e)]}function zo(e){var t=e[0],n=e[1],r=!1;return t<=lo?(t=ao,r=!0):t>=uo&&(t=so,r=!0),n<=vo?(n=ho,r=!0):n>=_o&&(n=fo,r=!0),r?[t,n]:e}function yo(e){return e.map(zo)}function Mo(e,t,n){for(var r=0,o=e.length;r=uo||u<=vo||u>=_o){c[i]=zo(l);for(var h=i+1;hlo&&vvo&&f<_o)break}if(h===i+1)continue;if(i){var _={index:-1,polygon:t,ring:c.slice(0,i+1)};_.ring[_.ring.length-1]=go(u),n[n.length-1]=_}else n.pop();if(h>=a)break;n.push({index:-1,polygon:t,ring:c=c.slice(h-1)}),c[0]=go(c[0][1]),i=-1,a=c.length}}}}function bo(e){var t,n,r,o,c,i,a=e.length,l={},s={};for(t=0;t0?z-l:l)*V],u=t.geoProjection(e(a)).rotate(s),h=t.geoRotation(s),d=u.center;return delete u.rotate,u.center=function(e){return arguments.length?d(h(e)):h.invert(d())},u.clipAngle(90)};function Co(e){var n=i(e);function r(e,r){var o=t.geoGnomonicRaw(e,r);return o[0]*=n,o}return r.invert=function(e,r){return t.geoGnomonicRaw.invert(e/n,r)},r}function So(){return Eo([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Eo(e,t){return Lo(Co,e,t)}function To(e){if(!(e*=2))return t.geoAzimuthalEquidistantRaw;var n=-e/2,r=-n,o=e*e,a=p(r),l=.5/_(r);function s(t,c){var a=S(i(c)*i(t-n)),l=S(i(c)*i(t-r)),s=c<0?-1:1;return a*=a,l*=l,[(a-l)/(2*e),s*E(4*o*l-(o-a+l)*(o-a+l))/(2*e)]}return s.invert=function(e,t){var o,s,u=t*t,h=i(E(u+(o=e+n)*o)),d=i(E(u+(o=e+r)*o));return[c(s=h-d,o=(h+d)*a),(t<0?-1:1)*S(E(o*o+s*s)*l)]},s}function Oo(){return ko([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function ko(e,t){return Lo(To,e,t)}function Ao(e,t){if(r(t)m&&--l>0);return[f(e)*(E(c*c+4)+c)*z/4,y*a]};var Do=function(){return t.geoProjection(Io).scale(127.16)},Bo=4*z+3*E(3),Uo=2*E(2*z*E(3)/Bo),Go=$(Uo*E(3)/z,Uo,Bo/6),Wo=function(){return t.geoProjection(Go).scale(176.84)};function Yo(e,t){return[e*E(1-3*t*t/(z*z)),t]}Yo.invert=function(e,t){return[e/E(1-3*t*t/(z*z)),t]};var Ko=function(){return t.geoProjection(Yo).scale(152.63)};function Qo(e,t){var n=.90631*_(t),r=E(1-n*n),o=E(2/(1+r*i(e/=3)));return[2.66723*r*o*_(e),1.24104*n*o]}Qo.invert=function(e,t){var n=e/2.66723,r=t/1.24104,o=E(n*n+r*r),i=2*C(o/2);return[3*c(e*p(i),2.66723*o),o&&C(t*_(i)/(1.24104*.90631*o))]};var Jo=function(){return t.geoProjection(Qo).scale(172.632)};function Xo(e,t){var n=i(t),r=i(e)*n,o=1-r,a=i(e=c(_(e)*n,-_(t))),l=_(e);return n=E(1-r*r),[l*n-a*o,-a*n-l*o]}Xo.invert=function(e,t){var n=(e*e+t*t)/-2,r=E(-n*(2+n)),o=t*n+e*r,i=e*n-t*r,a=E(i*i+o*o);return[c(r*o,a*(1+n)),a?-C(r*i/a):0]};var $o=function(){return t.geoProjection(Xo).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)};function Zo(e,t){var n=R(e,t);return[(n[0]+e/y)/2,(n[1]+t)/2]}Zo.invert=function(e,t){var n=e,o=t,c=25;do{var a,l=i(o),s=_(o),u=_(2*o),h=s*s,d=l*l,v=_(n),f=i(n/2),p=_(n/2),g=p*p,z=1-d*f*f,M=z?S(l*f)*E(a=1/z):a=0,b=.5*(2*M*l*p+n/y)-e,j=.5*(M*s+o)-t,w=.5*a*(d*g+M*l*f*h)+.5/y,H=a*(v*u/4-M*s*p),V=.125*a*(u*p-M*s*d*v),x=.5*a*(h*f+M*g*l)+.5,L=H*V-x*w,C=(j*H-b*x)/L,T=(b*V-j*w)/L;n-=C,o-=T}while((r(C)>m||r(T)>m)&&--c>0);return[n,o]};var ec=function(){return t.geoProjection(Zo).scale(158.837)};e.geoAiry=N,e.geoAiryRaw=F,e.geoAitoff=q,e.geoAitoffRaw=R,e.geoArmadillo=D,e.geoArmadilloRaw=I,e.geoAugust=U,e.geoAugustRaw=B,e.geoBaker=K,e.geoBakerRaw=Y,e.geoBerghaus=J,e.geoBerghausRaw=Q,e.geoBoggs=oe,e.geoBoggsRaw=re,e.geoBonne=se,e.geoBonneRaw=le,e.geoBottomley=he,e.geoBottomleyRaw=ue,e.geoBromley=ve,e.geoBromleyRaw=de,e.geoChamberlin=ye,e.geoChamberlinRaw=me,e.geoChamberlinAfrica=ze,e.geoCollignon=be,e.geoCollignonRaw=Me,e.geoCraig=we,e.geoCraigRaw=je,e.geoCraster=xe,e.geoCrasterRaw=Ve,e.geoCylindricalEqualArea=Ce,e.geoCylindricalEqualAreaRaw=Le,e.geoCylindricalStereographic=Ee,e.geoCylindricalStereographicRaw=Se,e.geoEckert1=Oe,e.geoEckert1Raw=Te,e.geoEckert2=Ae,e.geoEckert2Raw=ke,e.geoEckert3=Fe,e.geoEckert3Raw=Pe,e.geoEckert4=Re,e.geoEckert4Raw=Ne,e.geoEckert5=Ie,e.geoEckert5Raw=qe,e.geoEckert6=Be,e.geoEckert6Raw=De,e.geoEisenlohr=We,e.geoEisenlohrRaw=Ge,e.geoFahey=Qe,e.geoFaheyRaw=Ke,e.geoFoucaut=Xe,e.geoFoucautRaw=Je,e.geoGilbert=et,e.geoGingery=ot,e.geoGingeryRaw=tt,e.geoGinzburg4=at,e.geoGinzburg4Raw=it,e.geoGinzburg5=st,e.geoGinzburg5Raw=lt,e.geoGinzburg6=ht,e.geoGinzburg6Raw=ut,e.geoGinzburg8=vt,e.geoGinzburg8Raw=dt,e.geoGinzburg9=_t,e.geoGinzburg9Raw=ft,e.geoGringorten=yt,e.geoGringortenRaw=mt,e.geoGuyou=Lt,e.geoGuyouRaw=Ht,e.geoHammer=Et,e.geoHammerRaw=Ct,e.geoHammerRetroazimuthal=kt,e.geoHammerRetroazimuthalRaw=Tt,e.geoHealpix=Rt,e.geoHealpixRaw=Ft,e.geoHill=It,e.geoHillRaw=qt,e.geoHomolosine=Yt,e.geoHomolosineRaw=Wt,e.geoInterrupt=Xt,e.geoInterruptedBoggs=Zt,e.geoInterruptedHomolosine=tn,e.geoInterruptedMollweide=rn,e.geoInterruptedMollweideHemispheres=cn,e.geoInterruptedSinuMollweide=ln,e.geoInterruptedSinusoidal=un,e.geoKavrayskiy7=dn,e.geoKavrayskiy7Raw=hn,e.geoLagrange=fn,e.geoLagrangeRaw=vn,e.geoLarrivee=mn,e.geoLarriveeRaw=pn,e.geoLaskowski=zn,e.geoLaskowskiRaw=gn,e.geoLittrow=Mn,e.geoLittrowRaw=yn,e.geoLoximuthal=jn,e.geoLoximuthalRaw=bn,e.geoMiller=Hn,e.geoMillerRaw=wn,e.geoModifiedStereographic=Fn,e.geoModifiedStereographicRaw=Vn,e.geoModifiedStereographicAlaska=Tn,e.geoModifiedStereographicGs48=On,e.geoModifiedStereographicGs50=kn,e.geoModifiedStereographicMiller=An,e.geoModifiedStereographicLee=Pn,e.geoMollweide=ee,e.geoMollweideRaw=Z,e.geoMtFlatPolarParabolic=In,e.geoMtFlatPolarParabolicRaw=qn,e.geoMtFlatPolarQuartic=Bn,e.geoMtFlatPolarQuarticRaw=Dn,e.geoMtFlatPolarSinusoidal=Gn,e.geoMtFlatPolarSinusoidalRaw=Un,e.geoNaturalEarth=Yn,e.geoNaturalEarthRaw=Wn,e.geoNaturalEarth2=Qn,e.geoNaturalEarth2Raw=Kn,e.geoNellHammer=Xn,e.geoNellHammerRaw=Jn,e.geoPatterson=lr,e.geoPattersonRaw=ar,e.geoPolyconic=ur,e.geoPolyconicRaw=sr,e.geoPolyhedral=mr,e.geoPolyhedralButterfly=Hr,e.geoPolyhedralCollignon=Lr,e.geoPolyhedralWaterman=Cr,e.geoProject=Fr,e.geoGringortenQuincuncial=Kr,e.geoPeirceQuincuncial=Qr,e.geoPierceQuincuncial=Qr,e.geoQuantize=Jr,e.geoQuincuncial=Yr,e.geoRectangularPolyconic=$r,e.geoRectangularPolyconicRaw=Xr,e.geoRobinson=to,e.geoRobinsonRaw=eo,e.geoSatellite=oo,e.geoSatelliteRaw=ro,e.geoSinuMollweide=Gt,e.geoSinuMollweideRaw=Ut,e.geoSinusoidal=ae,e.geoSinusoidalRaw=ie,e.geoStitch=Ho,e.geoTimes=xo,e.geoTimesRaw=Vo,e.geoTwoPointAzimuthal=Eo,e.geoTwoPointAzimuthalRaw=Co,e.geoTwoPointAzimuthalUsa=So,e.geoTwoPointEquidistant=ko,e.geoTwoPointEquidistantRaw=To,e.geoTwoPointEquidistantUsa=Oo,e.geoVanDerGrinten=Po,e.geoVanDerGrintenRaw=Ao,e.geoVanDerGrinten2=No,e.geoVanDerGrinten2Raw=Fo,e.geoVanDerGrinten3=qo,e.geoVanDerGrinten3Raw=Ro,e.geoVanDerGrinten4=Do,e.geoVanDerGrinten4Raw=Io,e.geoWagner4=Wo,e.geoWagner4Raw=Go,e.geoWagner6=Ko,e.geoWagner6Raw=Yo,e.geoWagner7=Jo,e.geoWagner7Raw=Qo,e.geoWiechel=$o,e.geoWiechelRaw=Xo,e.geoWinkel3=ec,e.geoWinkel3Raw=Zo,Object.defineProperty(e,"__esModule",{value:!0})}))},"./node_modules/_d3-geo@1.11.9@d3-geo/dist/d3-geo.js": /*!***********************************************************!*\ !*** ./node_modules/_d3-geo@1.11.9@d3-geo/dist/d3-geo.js ***! \***********************************************************/ /*! no static exports found */function(e,t,n){(function(e,r){r(t,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(e,t){"use strict";function n(){return new r}function r(){this.reset()}r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(e){c(o,e,this.t),c(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new r;function c(e,t,n){var r=e.s=t+n,o=r-t,c=r-o;e.t=t-c+(n-o)}var i=1e-6,a=1e-12,l=Math.PI,s=l/2,u=l/4,h=2*l,d=180/l,v=l/180,f=Math.abs,_=Math.atan,p=Math.atan2,m=Math.cos,g=Math.ceil,z=Math.exp,y=Math.log,M=Math.pow,b=Math.sin,j=Math.sign||function(e){return e>0?1:e<0?-1:0},w=Math.sqrt,H=Math.tan;function V(e){return e>1?0:e<-1?l:Math.acos(e)}function x(e){return e>1?s:e<-1?-s:Math.asin(e)}function L(e){return(e=b(e/2))*e}function C(){}function S(e,t){e&&T.hasOwnProperty(e.type)&&T[e.type](e,t)}var E={Feature:function(e,t){S(e.geometry,t)},FeatureCollection:function(e,t){var n=e.features,r=-1,o=n.length;while(++r=0?1:-1,o=r*n,c=m(t),i=b(t),a=q*i,l=R*c+a*m(o),s=a*r*b(o);I.add(p(s,l)),N=e,R=c,q=i}function K(e){return D.reset(),A(e,B),2*D}function Q(e){return[p(e[1],e[0]),x(e[2])]}function J(e){var t=e[0],n=e[1],r=m(n);return[r*m(t),r*b(t),b(n)]}function X(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function $(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Z(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function ee(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function te(e){var t=w(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var ne,re,oe,ce,ie,ae,le,se,ue,he,de,ve,fe,_e,pe,me,ge,ze,ye,Me,be,je,we,He,Ve,xe,Le=n(),Ce={point:Se,lineStart:Te,lineEnd:Oe,polygonStart:function(){Ce.point=ke,Ce.lineStart=Ae,Ce.lineEnd=Pe,Le.reset(),B.polygonStart()},polygonEnd:function(){B.polygonEnd(),Ce.point=Se,Ce.lineStart=Te,Ce.lineEnd=Oe,I<0?(ne=-(oe=180),re=-(ce=90)):Le>i?ce=90:Le<-i&&(re=-90),he[0]=ne,he[1]=oe},sphere:function(){ne=-(oe=180),re=-(ce=90)}};function Se(e,t){ue.push(he=[ne=e,oe=e]),tce&&(ce=t)}function Ee(e,t){var n=J([e*v,t*v]);if(se){var r=$(se,n),o=[r[1],-r[0],0],c=$(o,r);te(c),c=Q(c);var i,a=e-ie,l=a>0?1:-1,s=c[0]*d*l,u=f(a)>180;u^(l*iece&&(ce=i)):(s=(s+360)%360-180,u^(l*iece&&(ce=t))),u?eFe(ne,oe)&&(oe=e):Fe(e,oe)>Fe(ne,oe)&&(ne=e):oe>=ne?(eoe&&(oe=e)):e>ie?Fe(ne,e)>Fe(ne,oe)&&(oe=e):Fe(e,oe)>Fe(ne,oe)&&(ne=e)}else ue.push(he=[ne=e,oe=e]);tce&&(ce=t),se=n,ie=e}function Te(){Ce.point=Ee}function Oe(){he[0]=ne,he[1]=oe,Ce.point=Se,se=null}function ke(e,t){if(se){var n=e-ie;Le.add(f(n)>180?n+(n>0?360:-360):n)}else ae=e,le=t;B.point(e,t),Ee(e,t)}function Ae(){B.lineStart()}function Pe(){ke(ae,le),B.lineEnd(),f(Le)>i&&(ne=-(oe=180)),he[0]=ne,he[1]=oe,se=null}function Fe(e,t){return(t-=e)<0?t+360:t}function Ne(e,t){return e[0]-t[0]}function Re(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tFe(r[0],r[1])&&(r[1]=o[1]),Fe(o[0],r[1])>Fe(r[0],r[1])&&(r[0]=o[0])):c.push(r=o);for(i=-1/0,n=c.length-1,t=0,r=c[n];t<=n;r=o,++t)o=c[t],(a=Fe(r[1],o[0]))>i&&(i=a,ne=o[0],oe=r[1])}return ue=he=null,ne===1/0||re===1/0?[[NaN,NaN],[NaN,NaN]]:[[ne,re],[oe,ce]]}var Ie={sphere:C,point:De,lineStart:Ue,lineEnd:Ye,polygonStart:function(){Ie.lineStart=Ke,Ie.lineEnd=Qe},polygonEnd:function(){Ie.lineStart=Ue,Ie.lineEnd=Ye}};function De(e,t){e*=v,t*=v;var n=m(t);Be(n*m(e),n*b(e),b(t))}function Be(e,t,n){++de,fe+=(e-fe)/de,_e+=(t-_e)/de,pe+=(n-pe)/de}function Ue(){Ie.point=Ge}function Ge(e,t){e*=v,t*=v;var n=m(t);He=n*m(e),Ve=n*b(e),xe=b(t),Ie.point=We,Be(He,Ve,xe)}function We(e,t){e*=v,t*=v;var n=m(t),r=n*m(e),o=n*b(e),c=b(t),i=p(w((i=Ve*c-xe*o)*i+(i=xe*r-He*c)*i+(i=He*o-Ve*r)*i),He*r+Ve*o+xe*c);ve+=i,me+=i*(He+(He=r)),ge+=i*(Ve+(Ve=o)),ze+=i*(xe+(xe=c)),Be(He,Ve,xe)}function Ye(){Ie.point=De}function Ke(){Ie.point=Je}function Qe(){Xe(je,we),Ie.point=De}function Je(e,t){je=e,we=t,e*=v,t*=v,Ie.point=Xe;var n=m(t);He=n*m(e),Ve=n*b(e),xe=b(t),Be(He,Ve,xe)}function Xe(e,t){e*=v,t*=v;var n=m(t),r=n*m(e),o=n*b(e),c=b(t),i=Ve*c-xe*o,a=xe*r-He*c,l=He*o-Ve*r,s=w(i*i+a*a+l*l),u=x(s),h=s&&-u/s;ye+=h*i,Me+=h*a,be+=h*l,ve+=u,me+=u*(He+(He=r)),ge+=u*(Ve+(Ve=o)),ze+=u*(xe+(xe=c)),Be(He,Ve,xe)}function $e(e){de=ve=fe=_e=pe=me=ge=ze=ye=Me=be=0,A(e,Ie);var t=ye,n=Me,r=be,o=t*t+n*n+r*r;return ol?e+Math.round(-e/h)*h:e,t]}function nt(e,t,n){return(e%=h)?t||n?et(ot(e),ct(t,n)):ot(e):t||n?ct(t,n):tt}function rt(e){return function(t,n){return t+=e,[t>l?t-h:t<-l?t+h:t,n]}}function ot(e){var t=rt(e);return t.invert=rt(-e),t}function ct(e,t){var n=m(e),r=b(e),o=m(t),c=b(t);function i(e,t){var i=m(t),a=m(e)*i,l=b(e)*i,s=b(t),u=s*n+a*r;return[p(l*o-u*c,a*n-s*r),x(u*o+l*c)]}return i.invert=function(e,t){var i=m(t),a=m(e)*i,l=b(e)*i,s=b(t),u=s*o-l*c;return[p(l*o+s*c,a*n+u*r),x(u*n-a*r)]},i}function it(e){function t(t){return t=e(t[0]*v,t[1]*v),t[0]*=d,t[1]*=d,t}return e=nt(e[0]*v,e[1]*v,e.length>2?e[2]*v:0),t.invert=function(t){return t=e.invert(t[0]*v,t[1]*v),t[0]*=d,t[1]*=d,t},t}function at(e,t,n,r,o,c){if(n){var i=m(t),a=b(t),l=r*n;null==o?(o=t+r*h,c=t-l/2):(o=lt(i,o),c=lt(i,c),(r>0?oc)&&(o+=r*h));for(var s,u=o;r>0?u>c:u1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function ht(e,t){return f(e[0]-t[0])=0;--c)o.point((u=s[c])[0],u[1]);else r(d.x,d.p.x,-1,o);d=d.p}d=d.o,s=d.z,v=!v}while(!d.v);o.lineEnd()}}}function ft(e){if(t=e.length){var t,n,r=0,o=e[0];while(++r=0?1:-1,k=O*T,A=k>l,P=j*S;if(_t.add(p(P*O*b(k),w*E+P*m(k))),a+=A?T+O*h:T,A^y>=n^L>=n){var F=$(J(z),J(V));te(F);var N=$(c,F);te(N);var R=(A^T>=0?-1:1)*x(N[2]);(r>R||r===R&&(F[0]||F[1]))&&(d+=A^T>=0?1:-1)}}return(a<-i||a0){for(d||(c.polygonStart(),d=!0),c.lineStart(),e=0;e1&&2&o&&s.push(s.pop().concat(s.shift())),a.push(s.filter(zt))}return v}}function zt(e){return e.length>1}function yt(e,t){return((e=e.x)[0]<0?e[1]-s-i:s-e[1])-((t=t.x)[0]<0?t[1]-s-i:s-t[1])}var Mt=gt((function(){return!0}),bt,wt,[-l,-s]);function bt(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(c,a){var u=c>0?l:-l,h=f(c-n);f(h-l)0?s:-s),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(u,r),e.point(c,r),t=0):o!==u&&h>=l&&(f(n-o)i?_((b(t)*(c=m(r))*b(n)-b(r)*(o=m(t))*b(e))/(o*c*a)):(t+r)/2}function wt(e,t,n,r){var o;if(null==e)o=n*s,r.point(-l,o),r.point(0,o),r.point(l,o),r.point(l,0),r.point(l,-o),r.point(0,-o),r.point(-l,-o),r.point(-l,0),r.point(-l,o);else if(f(e[0]-t[0])>i){var c=e[0]0,o=f(t)>i;function c(t,r,o,c){at(c,e,n,o,t,r)}function a(e,n){return m(e)*m(n)>t}function s(e){var t,n,c,s,d;return{lineStart:function(){s=c=!1,d=1},point:function(v,f){var _,p=[v,f],m=a(v,f),g=r?m?0:h(v,f):m?h(v+(v<0?l:-l),f):0;if(!t&&(s=c=m)&&e.lineStart(),m!==c&&(_=u(t,p),(!_||ht(t,_)||ht(p,_))&&(p[0]+=i,p[1]+=i,m=a(p[0],p[1]))),m!==c)d=0,m?(e.lineStart(),_=u(p,t),e.point(_[0],_[1])):(_=u(t,p),e.point(_[0],_[1]),e.lineEnd()),t=_;else if(o&&t&&r^m){var z;g&n||!(z=u(p,t,!0))||(d=0,r?(e.lineStart(),e.point(z[0][0],z[0][1]),e.point(z[1][0],z[1][1]),e.lineEnd()):(e.point(z[1][0],z[1][1]),e.lineEnd(),e.lineStart(),e.point(z[0][0],z[0][1])))}!m||t&&ht(t,p)||e.point(p[0],p[1]),t=p,c=m,n=g},lineEnd:function(){c&&e.lineEnd(),t=null},clean:function(){return d|(s&&c)<<1}}}function u(e,n,r){var o=J(e),c=J(n),a=[1,0,0],s=$(o,c),u=X(s,s),h=s[0],d=u-h*h;if(!d)return!r&&e;var v=t*u/d,_=-t*h/d,p=$(a,s),m=ee(a,v),g=ee(s,_);Z(m,g);var z=p,y=X(m,z),M=X(z,z),b=y*y-M*(X(m,m)-1);if(!(b<0)){var j=w(b),H=ee(z,(-y-j)/M);if(Z(H,m),H=Q(H),!r)return H;var V,x=e[0],L=n[0],C=e[1],S=n[1];L0^H[1]<(f(H[0]-x)l^(x<=H[0]&&H[0]<=L)){var k=ee(z,(-y+j)/M);return Z(k,m),[H,Q(k)]}}}function h(t,n){var o=r?e:l-e,c=0;return t<-o?c|=1:t>o&&(c|=2),n<-o?c|=4:n>o&&(c|=8),c}return gt(a,s,c,r?[0,-e]:[-l,e-l])}function Vt(e,t,n,r,o,c){var i,a=e[0],l=e[1],s=t[0],u=t[1],h=0,d=1,v=s-a,f=u-l;if(i=n-a,v||!(i>0)){if(i/=v,v<0){if(i0){if(i>d)return;i>h&&(h=i)}if(i=o-a,v||!(i<0)){if(i/=v,v<0){if(i>d)return;i>h&&(h=i)}else if(v>0){if(i0)){if(i/=f,f<0){if(i0){if(i>d)return;i>h&&(h=i)}if(i=c-l,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>h&&(h=i)}else if(f>0){if(i0&&(e[0]=a+h*v,e[1]=l+h*f),d<1&&(t[0]=a+d*v,t[1]=l+d*f),!0}}}}}var xt=1e9,Lt=-xt;function Ct(e,n,r,o){function c(t,c){return e<=t&&t<=r&&n<=c&&c<=o}function a(t,c,i,a){var s=0,h=0;if(null==t||(s=l(t,i))!==(h=l(c,i))||u(t,c)<0^i>0)do{a.point(0===s||3===s?e:r,s>1?o:n)}while((s=(s+i+4)%4)!==h);else a.point(c[0],c[1])}function l(t,o){return f(t[0]-e)0?0:3:f(t[0]-r)0?2:1:f(t[1]-n)0?1:0:o>0?3:2}function s(e,t){return u(e.x,t.x)}function u(e,t){var n=l(e,1),r=l(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(i){var l,u,h,d,v,f,_,p,m,g,z,y=i,M=ut(),b={point:j,lineStart:x,lineEnd:L,polygonStart:H,polygonEnd:V};function j(e,t){c(e,t)&&y.point(e,t)}function w(){for(var t=0,n=0,r=u.length;no&&(d-c)*(o-i)>(v-i)*(e-c)&&++t:v<=o&&(d-c)*(o-i)<(v-i)*(e-c)&&--t;return t}function H(){y=M,l=[],u=[],z=!0}function V(){var e=w(),n=z&&e,r=(l=t.merge(l)).length;(n||r)&&(i.polygonStart(),n&&(i.lineStart(),a(null,null,1,i),i.lineEnd()),r&&vt(l,s,e,a,i),i.polygonEnd()),y=i,l=u=h=null}function x(){b.point=C,u&&u.push(h=[]),g=!0,m=!1,_=p=NaN}function L(){l&&(C(d,v),f&&m&&M.rejoin(),l.push(M.result())),b.point=j,m&&y.lineEnd()}function C(t,i){var a=c(t,i);if(u&&h.push([t,i]),g)d=t,v=i,f=a,g=!1,a&&(y.lineStart(),y.point(t,i));else if(a&&m)y.point(t,i);else{var l=[_=Math.max(Lt,Math.min(xt,_)),p=Math.max(Lt,Math.min(xt,p))],s=[t=Math.max(Lt,Math.min(xt,t)),i=Math.max(Lt,Math.min(xt,i))];Vt(l,s,e,n,r,o)?(m||(y.lineStart(),y.point(l[0],l[1])),y.point(s[0],s[1]),a||y.lineEnd(),z=!1):a&&(y.lineStart(),y.point(t,i),z=!1)}_=t,p=i,m=a}return b}}function St(){var e,t,n,r=0,o=0,c=960,i=500;return n={stream:function(n){return e&&t===n?e:e=Ct(r,o,c,i)(t=n)},extent:function(a){return arguments.length?(r=+a[0][0],o=+a[0][1],c=+a[1][0],i=+a[1][1],e=t=null,n):[[r,o],[c,i]]}}}var Et,Tt,Ot,kt=n(),At={sphere:C,point:C,lineStart:Pt,lineEnd:C,polygonStart:C,polygonEnd:C};function Pt(){At.point=Nt,At.lineEnd=Ft}function Ft(){At.point=At.lineEnd=C}function Nt(e,t){e*=v,t*=v,Et=e,Tt=b(t),Ot=m(t),At.point=Rt}function Rt(e,t){e*=v,t*=v;var n=b(t),r=m(t),o=f(e-Et),c=m(o),i=b(o),a=r*i,l=Ot*n-Tt*r*c,s=Tt*n+Ot*r*c;kt.add(p(w(a*a+l*l),s)),Et=e,Tt=n,Ot=r}function qt(e){return kt.reset(),A(e,At),+kt}var It=[null,null],Dt={type:"LineString",coordinates:It};function Bt(e,t){return It[0]=e,It[1]=t,qt(Dt)}var Ut={Feature:function(e,t){return Wt(e.geometry,t)},FeatureCollection:function(e,t){var n=e.features,r=-1,o=n.length;while(++r0&&(o=Bt(e[c],e[c-1]),o>0&&n<=o&&r<=o&&(n+r-o)*(1-Math.pow((n-r)/o,2))i})).map(u)).concat(t.range(g(a/p)*p,c,p).filter((function(e){return f(e%z)>i})).map(h))}return M.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},M.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(v(l).slice(1),d(r).reverse().slice(1),v(s).reverse().slice(1))]}},M.extent=function(e){return arguments.length?M.extentMajor(e).extentMinor(e):M.extentMinor()},M.extentMajor=function(e){return arguments.length?(o=+e[0][0],r=+e[1][0],s=+e[0][1],l=+e[1][1],o>r&&(e=o,o=r,r=e),s>l&&(e=s,s=l,l=e),M.precision(y)):[[o,s],[r,l]]},M.extentMinor=function(t){return arguments.length?(n=+t[0][0],e=+t[1][0],a=+t[0][1],c=+t[1][1],n>e&&(t=n,n=e,e=t),a>c&&(t=a,a=c,c=t),M.precision(y)):[[n,a],[e,c]]},M.step=function(e){return arguments.length?M.stepMajor(e).stepMinor(e):M.stepMinor()},M.stepMajor=function(e){return arguments.length?(m=+e[0],z=+e[1],M):[m,z]},M.stepMinor=function(e){return arguments.length?(_=+e[0],p=+e[1],M):[_,p]},M.precision=function(t){return arguments.length?(y=+t,u=Zt(a,c,90),h=en(n,e,y),d=Zt(s,l,90),v=en(o,r,y),M):y},M.extentMajor([[-180,-90+i],[180,90-i]]).extentMinor([[-180,-80-i],[180,80+i]])}function nn(){return tn()()}function rn(e,t){var n=e[0]*v,r=e[1]*v,o=t[0]*v,c=t[1]*v,i=m(r),a=b(r),l=m(c),s=b(c),u=i*m(n),h=i*b(n),f=l*m(o),_=l*b(o),g=2*x(w(L(c-r)+i*l*L(o-n))),z=b(g),y=g?function(e){var t=b(e*=g)/z,n=b(g-e)/z,r=n*u+t*f,o=n*h+t*_,c=n*a+t*s;return[p(o,r)*d,p(c,w(r*r+o*o))*d]}:function(){return[n*d,r*d]};return y.distance=g,y}function on(e){return e}var cn,an,ln,sn,un=n(),hn=n(),dn={point:C,lineStart:C,lineEnd:C,polygonStart:function(){dn.lineStart=vn,dn.lineEnd=pn},polygonEnd:function(){dn.lineStart=dn.lineEnd=dn.point=C,un.add(f(hn)),hn.reset()},result:function(){var e=un/2;return un.reset(),e}};function vn(){dn.point=fn}function fn(e,t){dn.point=_n,cn=ln=e,an=sn=t}function _n(e,t){hn.add(sn*e-ln*t),ln=e,sn=t}function pn(){_n(cn,an)}var mn=1/0,gn=mn,zn=-mn,yn=zn,Mn={point:bn,lineStart:C,lineEnd:C,polygonStart:C,polygonEnd:C,result:function(){var e=[[mn,gn],[zn,yn]];return zn=yn=-(gn=mn=1/0),e}};function bn(e,t){ezn&&(zn=e),tyn&&(yn=t)}var jn,wn,Hn,Vn,xn=0,Ln=0,Cn=0,Sn=0,En=0,Tn=0,On=0,kn=0,An=0,Pn={point:Fn,lineStart:Nn,lineEnd:In,polygonStart:function(){Pn.lineStart=Dn,Pn.lineEnd=Bn},polygonEnd:function(){Pn.point=Fn,Pn.lineStart=Nn,Pn.lineEnd=In},result:function(){var e=An?[On/An,kn/An]:Tn?[Sn/Tn,En/Tn]:Cn?[xn/Cn,Ln/Cn]:[NaN,NaN];return xn=Ln=Cn=Sn=En=Tn=On=kn=An=0,e}};function Fn(e,t){xn+=e,Ln+=t,++Cn}function Nn(){Pn.point=Rn}function Rn(e,t){Pn.point=qn,Fn(Hn=e,Vn=t)}function qn(e,t){var n=e-Hn,r=t-Vn,o=w(n*n+r*r);Sn+=o*(Hn+e)/2,En+=o*(Vn+t)/2,Tn+=o,Fn(Hn=e,Vn=t)}function In(){Pn.point=Fn}function Dn(){Pn.point=Un}function Bn(){Gn(jn,wn)}function Un(e,t){Pn.point=Gn,Fn(jn=Hn=e,wn=Vn=t)}function Gn(e,t){var n=e-Hn,r=t-Vn,o=w(n*n+r*r);Sn+=o*(Hn+e)/2,En+=o*(Vn+t)/2,Tn+=o,o=Vn*e-Hn*t,On+=o*(Hn+e),kn+=o*(Vn+t),An+=3*o,Fn(Hn=e,Vn=t)}function Wn(e){this._context=e}Wn.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,h);break}},result:C};var Yn,Kn,Qn,Jn,Xn,$n=n(),Zn={point:C,lineStart:function(){Zn.point=er},lineEnd:function(){Yn&&tr(Kn,Qn),Zn.point=C},polygonStart:function(){Yn=!0},polygonEnd:function(){Yn=null},result:function(){var e=+$n;return $n.reset(),e}};function er(e,t){Zn.point=tr,Kn=Jn=e,Qn=Xn=t}function tr(e,t){Jn-=e,Xn-=t,$n.add(w(Jn*Jn+Xn*Xn)),Jn=e,Xn=t}function nr(){this._string=[]}function rr(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function or(e,t){var n,r,o=4.5;function c(e){return e&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),A(e,n(r))),r.result()}return c.area=function(e){return A(e,n(dn)),dn.result()},c.measure=function(e){return A(e,n(Zn)),Zn.result()},c.bounds=function(e){return A(e,n(Mn)),Mn.result()},c.centroid=function(e){return A(e,n(Pn)),Pn.result()},c.projection=function(t){return arguments.length?(n=null==t?(e=null,on):(e=t).stream,c):e},c.context=function(e){return arguments.length?(r=null==e?(t=null,new nr):new Wn(t=e),"function"!==typeof o&&r.pointRadius(o),c):t},c.pointRadius=function(e){return arguments.length?(o="function"===typeof e?e:(r.pointRadius(+e),+e),c):o},c.projection(e).context(t)}function cr(e){return{stream:ir(e)}}function ir(e){return function(t){var n=new ar;for(var r in e)n[r]=e[r];return n.stream=t,n}}function ar(){}function lr(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),A(n,e.stream(Mn)),t(Mn.result()),null!=r&&e.clipExtent(r),e}function sr(e,t,n){return lr(e,(function(n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],c=Math.min(r/(n[1][0]-n[0][0]),o/(n[1][1]-n[0][1])),i=+t[0][0]+(r-c*(n[1][0]+n[0][0]))/2,a=+t[0][1]+(o-c*(n[1][1]+n[0][1]))/2;e.scale(150*c).translate([i,a])}),n)}function ur(e,t,n){return sr(e,[[0,0],t],n)}function hr(e,t,n){return lr(e,(function(n){var r=+t,o=r/(n[1][0]-n[0][0]),c=(r-o*(n[1][0]+n[0][0]))/2,i=-o*n[0][1];e.scale(150*o).translate([c,i])}),n)}function dr(e,t,n){return lr(e,(function(n){var r=+t,o=r/(n[1][1]-n[0][1]),c=-o*n[0][0],i=(r-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([c,i])}),n)}nr.prototype={_radius:4.5,_circle:rr(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=rr(this._radius)),this._string.push("M",e,",",t,this._circle);break}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}},ar.prototype={constructor:ar,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var vr=16,fr=m(30*v);function _r(e,t){return+t?mr(e,t):pr(e)}function pr(e){return ir({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function mr(e,t){function n(r,o,c,a,l,s,u,h,d,v,_,m,g,z){var y=u-r,M=h-o,b=y*y+M*M;if(b>4*t&&g--){var j=a+v,H=l+_,V=s+m,L=w(j*j+H*H+V*V),C=x(V/=L),S=f(f(V)-1)t||f((y*k+M*A)/b-.5)>.3||a*v+l*_+s*m2?e[2]%360*v:0,S()):[g*d,z*d,y*d]},L.angle=function(e){return arguments.length?(M=e%360*v,S()):M*d},L.precision=function(e){return arguments.length?(i=_r(a,x=e*e),E()):w(x)},L.fitExtent=function(e,t){return sr(L,e,t)},L.fitSize=function(e,t){return ur(L,e,t)},L.fitWidth=function(e,t){return hr(L,e,t)},L.fitHeight=function(e,t){return dr(L,e,t)},function(){return t=e.apply(this,arguments),L.invert=t.invert&&C,S()}}function wr(e){var t=0,n=l/3,r=jr(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*v,n=e[1]*v):[t*d,n*d]},o}function Hr(e){var t=m(e);function n(e,n){return[e*t,b(n)/t]}return n.invert=function(e,n){return[e/t,x(n*t)]},n}function Vr(e,t){var n=b(e),r=(n+b(t))/2;if(f(r)=.12&&o<.234&&r>=-.425&&r<-.214?l:o>=.166&&o<.234&&r>=-.214&&r<-.115?s:a).invert(e)},h.stream=function(n){return e&&t===n?e:e=Cr([a.stream(t=n),l.stream(n),s.stream(n)])},h.precision=function(e){return arguments.length?(a.precision(e),l.precision(e),s.precision(e),d()):a.precision()},h.scale=function(e){return arguments.length?(a.scale(e),l.scale(.35*e),s.scale(e),h.translate(a.translate())):a.scale()},h.translate=function(e){if(!arguments.length)return a.translate();var t=a.scale(),c=+e[0],h=+e[1];return n=a.translate(e).clipExtent([[c-.455*t,h-.238*t],[c+.455*t,h+.238*t]]).stream(u),r=l.translate([c-.307*t,h+.201*t]).clipExtent([[c-.425*t+i,h+.12*t+i],[c-.214*t-i,h+.234*t-i]]).stream(u),o=s.translate([c-.205*t,h+.212*t]).clipExtent([[c-.214*t+i,h+.166*t+i],[c-.115*t-i,h+.234*t-i]]).stream(u),d()},h.fitExtent=function(e,t){return sr(h,e,t)},h.fitSize=function(e,t){return ur(h,e,t)},h.fitWidth=function(e,t){return hr(h,e,t)},h.fitHeight=function(e,t){return dr(h,e,t)},h.scale(1070)}function Er(e){return function(t,n){var r=m(t),o=m(n),c=e(r*o);return[c*o*b(t),c*b(n)]}}function Tr(e){return function(t,n){var r=w(t*t+n*n),o=e(r),c=b(o),i=m(o);return[p(t*c,r*i),x(r&&n*c/r)]}}var Or=Er((function(e){return w(2/(1+e))}));function kr(){return br(Or).scale(124.75).clipAngle(179.999)}Or.invert=Tr((function(e){return 2*x(e/2)}));var Ar=Er((function(e){return(e=V(e))&&e/b(e)}));function Pr(){return br(Ar).scale(79.4188).clipAngle(179.999)}function Fr(e,t){return[e,y(H((s+t)/2))]}function Nr(){return Rr(Fr).scale(961/h)}function Rr(e){var t,n,r,o=br(e),c=o.center,i=o.scale,a=o.translate,s=o.clipExtent,u=null;function h(){var c=l*i(),a=o(it(o.rotate()).invert([0,0]));return s(null==u?[[a[0]-c,a[1]-c],[a[0]+c,a[1]+c]]:e===Fr?[[Math.max(a[0]-c,u),t],[Math.min(a[0]+c,n),r]]:[[u,Math.max(a[1]-c,t)],[n,Math.min(a[1]+c,r)]])}return o.scale=function(e){return arguments.length?(i(e),h()):i()},o.translate=function(e){return arguments.length?(a(e),h()):a()},o.center=function(e){return arguments.length?(c(e),h()):c()},o.clipExtent=function(e){return arguments.length?(null==e?u=t=n=r=null:(u=+e[0][0],t=+e[0][1],n=+e[1][0],r=+e[1][1]),h()):null==u?null:[[u,t],[n,r]]},h()}function qr(e){return H((s+e)/2)}function Ir(e,t){var n=m(e),r=e===t?b(e):y(n/m(t))/y(qr(t)/qr(e)),o=n*M(qr(e),r)/r;if(!r)return Fr;function c(e,t){o>0?t<-s+i&&(t=-s+i):t>s-i&&(t=s-i);var n=o/M(qr(t),r);return[n*b(r*e),o-n*m(r*e)]}return c.invert=function(e,t){var n=o-t,c=j(r)*w(e*e+n*n);return[p(e,f(n))/r*j(n),2*_(M(o/c,1/r))-s]},c}function Dr(){return wr(Ir).scale(109.5).parallels([30,30])}function Br(e,t){return[e,t]}function Ur(){return br(Br).scale(152.63)}function Gr(e,t){var n=m(e),r=e===t?b(e):(n-m(t))/(t-e),o=n/r+e;if(f(r)2?e[2]+90:90]):(e=n(),[e[0],e[1],e[2]-90])},n([0,0,90]).scale(159.155)}Zr.invert=function(e,t){for(var n,r,o,c=t,i=c*c,l=i*i*i,s=0;s<$r;++s)if(r=c*(Yr+Kr*i+l*(Qr+Jr*i))-t,o=Yr+3*Kr*i+l*(7*Qr+9*Jr*i),c-=n=r/o,i=c*c,l=i*i*i,f(n)i&&--o>0);return[e/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},ao.invert=Tr(x),so.invert=Tr((function(e){return 2*_(e)})),ho.invert=function(e,t){return[-t,2*_(z(e))-s]},e.geoAlbers=Lr,e.geoAlbersUsa=Sr,e.geoArea=K,e.geoAzimuthalEqualArea=kr,e.geoAzimuthalEqualAreaRaw=Or,e.geoAzimuthalEquidistant=Pr,e.geoAzimuthalEquidistantRaw=Ar,e.geoBounds=qe,e.geoCentroid=$e,e.geoCircle=st,e.geoClipAntimeridian=Mt,e.geoClipCircle=Ht,e.geoClipExtent=St,e.geoClipRectangle=Ct,e.geoConicConformal=Dr,e.geoConicConformalRaw=Ir,e.geoConicEqualArea=xr,e.geoConicEqualAreaRaw=Vr,e.geoConicEquidistant=Wr,e.geoConicEquidistantRaw=Gr,e.geoContains=$t,e.geoDistance=Bt,e.geoEqualEarth=eo,e.geoEqualEarthRaw=Zr,e.geoEquirectangular=Ur,e.geoEquirectangularRaw=Br,e.geoGnomonic=no,e.geoGnomonicRaw=to,e.geoGraticule=tn,e.geoGraticule10=nn,e.geoIdentity=oo,e.geoInterpolate=rn,e.geoLength=qt,e.geoMercator=Nr,e.geoMercatorRaw=Fr,e.geoNaturalEarth1=io,e.geoNaturalEarth1Raw=co,e.geoOrthographic=lo,e.geoOrthographicRaw=ao,e.geoPath=or,e.geoProjection=br,e.geoProjectionMutator=jr,e.geoRotation=it,e.geoStereographic=uo,e.geoStereographicRaw=so,e.geoStream=A,e.geoTransform=cr,e.geoTransverseMercator=vo,e.geoTransverseMercatorRaw=ho,Object.defineProperty(e,"__esModule",{value:!0})}))},"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js": /*!***********************************************************!*\ !*** ./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js ***! \***********************************************************/ /*! no static exports found */function(e,t,n){(function(e,r){r(t,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(e,t){"use strict";var n=function(){return new r};function r(){this.reset()}r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(e){c(o,e,this.t),c(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new r;function c(e,t,n){var r=e.s=t+n,o=r-t,c=r-o;e.t=t-c+(n-o)}var i=1e-6,a=1e-12,l=Math.PI,s=l/2,u=l/4,h=2*l,d=180/l,v=l/180,f=Math.abs,_=Math.atan,p=Math.atan2,m=Math.cos,g=Math.ceil,z=Math.exp,y=Math.log,M=Math.pow,b=Math.sin,j=Math.sign||function(e){return e>0?1:e<0?-1:0},w=Math.sqrt,H=Math.tan;function V(e){return e>1?0:e<-1?l:Math.acos(e)}function x(e){return e>1?s:e<-1?-s:Math.asin(e)}function L(e){return(e=b(e/2))*e}function C(){}function S(e,t){e&&T.hasOwnProperty(e.type)&&T[e.type](e,t)}var E={Feature:function(e,t){S(e.geometry,t)},FeatureCollection:function(e,t){var n=e.features,r=-1,o=n.length;while(++r=0?1:-1,o=r*n,c=m(t),i=b(t),a=R*i,l=N*c+a*m(o),s=a*r*b(o);I.add(p(s,l)),F=e,N=c,R=i}var K,Q,J,X,$,Z,ee,te,ne=function(e){return D.reset(),q(e,B),2*D};function re(e){return[p(e[1],e[0]),x(e[2])]}function oe(e){var t=e[0],n=e[1],r=m(n);return[r*m(t),r*b(t),b(n)]}function ce(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function ie(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function ae(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function le(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function se(e){var t=w(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var ue,he,de=n(),ve={point:fe,lineStart:pe,lineEnd:me,polygonStart:function(){ve.point=ge,ve.lineStart=ze,ve.lineEnd=ye,de.reset(),B.polygonStart()},polygonEnd:function(){B.polygonEnd(),ve.point=fe,ve.lineStart=pe,ve.lineEnd=me,I<0?(K=-(J=180),Q=-(X=90)):de>i?X=90:de<-i&&(Q=-90),he[0]=K,he[1]=J}};function fe(e,t){ue.push(he=[K=e,J=e]),tX&&(X=t)}function _e(e,t){var n=oe([e*v,t*v]);if(te){var r=ie(te,n),o=[r[1],-r[0],0],c=ie(o,r);se(c),c=re(c);var i,a=e-$,l=a>0?1:-1,s=c[0]*d*l,u=f(a)>180;u^(l*$X&&(X=i)):(s=(s+360)%360-180,u^(l*$X&&(X=t))),u?e<$?Me(K,e)>Me(K,J)&&(J=e):Me(e,J)>Me(K,J)&&(K=e):J>=K?(eJ&&(J=e)):e>$?Me(K,e)>Me(K,J)&&(J=e):Me(e,J)>Me(K,J)&&(K=e)}else ue.push(he=[K=e,J=e]);tX&&(X=t),te=n,$=e}function pe(){ve.point=_e}function me(){he[0]=K,he[1]=J,ve.point=fe,te=null}function ge(e,t){if(te){var n=e-$;de.add(f(n)>180?n+(n>0?360:-360):n)}else Z=e,ee=t;B.point(e,t),_e(e,t)}function ze(){B.lineStart()}function ye(){ge(Z,ee),B.lineEnd(),f(de)>i&&(K=-(J=180)),he[0]=K,he[1]=J,te=null}function Me(e,t){return(t-=e)<0?t+360:t}function be(e,t){return e[0]-t[0]}function je(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tMe(r[0],r[1])&&(r[1]=o[1]),Me(o[0],r[1])>Me(r[0],r[1])&&(r[0]=o[0])):c.push(r=o);for(i=-1/0,n=c.length-1,t=0,r=c[n];t<=n;r=o,++t)o=c[t],(a=Me(r[1],o[0]))>i&&(i=a,K=o[0],J=r[1])}return ue=he=null,K===1/0||Q===1/0?[[NaN,NaN],[NaN,NaN]]:[[K,Q],[J,X]]},Ie={sphere:C,point:De,lineStart:Ue,lineEnd:Ye,polygonStart:function(){Ie.lineStart=Ke,Ie.lineEnd=Qe},polygonEnd:function(){Ie.lineStart=Ue,Ie.lineEnd=Ye}};function De(e,t){e*=v,t*=v;var n=m(t);Be(n*m(e),n*b(e),b(t))}function Be(e,t,n){++we,Ve+=(e-Ve)/we,xe+=(t-xe)/we,Le+=(n-Le)/we}function Ue(){Ie.point=Ge}function Ge(e,t){e*=v,t*=v;var n=m(t);Fe=n*m(e),Ne=n*b(e),Re=b(t),Ie.point=We,Be(Fe,Ne,Re)}function We(e,t){e*=v,t*=v;var n=m(t),r=n*m(e),o=n*b(e),c=b(t),i=p(w((i=Ne*c-Re*o)*i+(i=Re*r-Fe*c)*i+(i=Fe*o-Ne*r)*i),Fe*r+Ne*o+Re*c);He+=i,Ce+=i*(Fe+(Fe=r)),Se+=i*(Ne+(Ne=o)),Ee+=i*(Re+(Re=c)),Be(Fe,Ne,Re)}function Ye(){Ie.point=De}function Ke(){Ie.point=Je}function Qe(){Xe(Ae,Pe),Ie.point=De}function Je(e,t){Ae=e,Pe=t,e*=v,t*=v,Ie.point=Xe;var n=m(t);Fe=n*m(e),Ne=n*b(e),Re=b(t),Be(Fe,Ne,Re)}function Xe(e,t){e*=v,t*=v;var n=m(t),r=n*m(e),o=n*b(e),c=b(t),i=Ne*c-Re*o,a=Re*r-Fe*c,l=Fe*o-Ne*r,s=w(i*i+a*a+l*l),u=x(s),h=s&&-u/s;Te+=h*i,Oe+=h*a,ke+=h*l,He+=u,Ce+=u*(Fe+(Fe=r)),Se+=u*(Ne+(Ne=o)),Ee+=u*(Re+(Re=c)),Be(Fe,Ne,Re)}var $e=function(e){we=He=Ve=xe=Le=Ce=Se=Ee=Te=Oe=ke=0,q(e,Ie);var t=Te,n=Oe,r=ke,o=t*t+n*n+r*r;return ol?e-h:e<-l?e+h:e,t]}function nt(e,t,n){return(e%=h)?t||n?et(ot(e),ct(t,n)):ot(e):t||n?ct(t,n):tt}function rt(e){return function(t,n){return t+=e,[t>l?t-h:t<-l?t+h:t,n]}}function ot(e){var t=rt(e);return t.invert=rt(-e),t}function ct(e,t){var n=m(e),r=b(e),o=m(t),c=b(t);function i(e,t){var i=m(t),a=m(e)*i,l=b(e)*i,s=b(t),u=s*n+a*r;return[p(l*o-u*c,a*n-s*r),x(u*o+l*c)]}return i.invert=function(e,t){var i=m(t),a=m(e)*i,l=b(e)*i,s=b(t),u=s*o-l*c;return[p(l*o+s*c,a*n+u*r),x(u*n-a*r)]},i}tt.invert=tt;var it=function(e){function t(t){return t=e(t[0]*v,t[1]*v),t[0]*=d,t[1]*=d,t}return e=nt(e[0]*v,e[1]*v,e.length>2?e[2]*v:0),t.invert=function(t){return t=e.invert(t[0]*v,t[1]*v),t[0]*=d,t[1]*=d,t},t};function at(e,t,n,r,o,c){if(n){var i=m(t),a=b(t),l=r*n;null==o?(o=t+r*h,c=t-l/2):(o=lt(i,o),c=lt(i,c),(r>0?oc)&&(o+=r*h));for(var s,u=o;r>0?u>c:u1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},ht=function(e,t,n,r,o,c){var i,a=e[0],l=e[1],s=t[0],u=t[1],h=0,d=1,v=s-a,f=u-l;if(i=n-a,v||!(i>0)){if(i/=v,v<0){if(i0){if(i>d)return;i>h&&(h=i)}if(i=o-a,v||!(i<0)){if(i/=v,v<0){if(i>d)return;i>h&&(h=i)}else if(v>0){if(i0)){if(i/=f,f<0){if(i0){if(i>d)return;i>h&&(h=i)}if(i=c-l,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>h&&(h=i)}else if(f>0){if(i0&&(e[0]=a+h*v,e[1]=l+h*f),d<1&&(t[0]=a+d*v,t[1]=l+d*f),!0}}}}},dt=function(e,t){return f(e[0]-t[0])=0;--c)o.point((u=s[c])[0],u[1]);else r(d.x,d.p.x,-1,o);d=d.p}d=d.o,s=d.z,v=!v}while(!d.v);o.lineEnd()}}};function _t(e){if(t=e.length){var t,n,r=0,o=e[0];while(++r0)do{a.point(0===s||3===s?e:r,s>1?o:n)}while((s=(s+i+4)%4)!==h);else a.point(c[0],c[1])}function l(t,o){return f(t[0]-e)0?0:3:f(t[0]-r)0?2:1:f(t[1]-n)0?1:0:o>0?3:2}function s(e,t){return u(e.x,t.x)}function u(e,t){var n=l(e,1),r=l(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(i){var l,u,h,d,v,f,_,p,m,g,z,y=i,M=ut(),b={point:j,lineStart:x,lineEnd:L,polygonStart:H,polygonEnd:V};function j(e,t){c(e,t)&&y.point(e,t)}function w(){for(var t=0,n=0,r=u.length;no&&(d-c)*(o-i)>(v-i)*(e-c)&&++t:v<=o&&(d-c)*(o-i)<(v-i)*(e-c)&&--t;return t}function H(){y=M,l=[],u=[],z=!0}function V(){var e=w(),n=z&&e,r=(l=t.merge(l)).length;(n||r)&&(i.polygonStart(),n&&(i.lineStart(),a(null,null,1,i),i.lineEnd()),r&&ft(l,s,e,a,i),i.polygonEnd()),y=i,l=u=h=null}function x(){b.point=C,u&&u.push(h=[]),g=!0,m=!1,_=p=NaN}function L(){l&&(C(d,v),f&&m&&M.rejoin(),l.push(M.result())),b.point=j,m&&y.lineEnd()}function C(t,i){var a=c(t,i);if(u&&h.push([t,i]),g)d=t,v=i,f=a,g=!1,a&&(y.lineStart(),y.point(t,i));else if(a&&m)y.point(t,i);else{var l=[_=Math.max(mt,Math.min(pt,_)),p=Math.max(mt,Math.min(pt,p))],s=[t=Math.max(mt,Math.min(pt,t)),i=Math.max(mt,Math.min(pt,i))];ht(l,s,e,n,r,o)?(m||(y.lineStart(),y.point(l[0],l[1])),y.point(s[0],s[1]),a||y.lineEnd(),z=!1):a&&(y.lineStart(),y.point(t,i),z=!1)}_=t,p=i,m=a}return b}}var zt,yt,Mt,bt=function(){var e,t,n,r=0,o=0,c=960,i=500;return n={stream:function(n){return e&&t===n?e:e=gt(r,o,c,i)(t=n)},extent:function(a){return arguments.length?(r=+a[0][0],o=+a[0][1],c=+a[1][0],i=+a[1][1],e=t=null,n):[[r,o],[c,i]]}}},jt=n(),wt=function(e,t){var n=t[0],r=t[1],o=[b(n),-m(n),0],c=0,a=0;jt.reset();for(var s=0,d=e.length;s=0?1:-1,T=E*S,O=T>l,k=y*L;if(jt.add(p(k*E*b(T),M*C+k*m(T))),c+=O?S+E*h:S,O^g>=n^H>=n){var A=ie(oe(_),oe(w));se(A);var P=ie(o,A);se(P);var F=(O^S>=0?-1:1)*x(P[2]);(r>F||r===F&&(A[0]||A[1]))&&(a+=O^S>=0?1:-1)}}return(c<-i||ci})).map(u)).concat(t.range(g(a/p)*p,c,p).filter((function(e){return f(e%z)>i})).map(h))}return M.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},M.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(v(l).slice(1),d(r).reverse().slice(1),v(s).reverse().slice(1))]}},M.extent=function(e){return arguments.length?M.extentMajor(e).extentMinor(e):M.extentMinor()},M.extentMajor=function(e){return arguments.length?(o=+e[0][0],r=+e[1][0],s=+e[0][1],l=+e[1][1],o>r&&(e=o,o=r,r=e),s>l&&(e=s,s=l,l=e),M.precision(y)):[[o,s],[r,l]]},M.extentMinor=function(t){return arguments.length?(n=+t[0][0],e=+t[1][0],a=+t[0][1],c=+t[1][1],n>e&&(t=n,n=e,e=t),a>c&&(t=a,a=c,c=t),M.precision(y)):[[n,a],[e,c]]},M.step=function(e){return arguments.length?M.stepMajor(e).stepMinor(e):M.stepMinor()},M.stepMajor=function(e){return arguments.length?(m=+e[0],z=+e[1],M):[m,z]},M.stepMinor=function(e){return arguments.length?(_=+e[0],p=+e[1],M):[_,p]},M.precision=function(t){return arguments.length?(y=+t,u=Ut(a,c,90),h=Gt(n,e,y),d=Ut(s,l,90),v=Gt(o,r,y),M):y},M.extentMajor([[-180,-90+i],[180,90-i]]).extentMinor([[-180,-80-i],[180,80+i]])}function Yt(){return Wt()()}var Kt,Qt,Jt,Xt,$t=function(e,t){var n=e[0]*v,r=e[1]*v,o=t[0]*v,c=t[1]*v,i=m(r),a=b(r),l=m(c),s=b(c),u=i*m(n),h=i*b(n),f=l*m(o),_=l*b(o),g=2*x(w(L(c-r)+i*l*L(o-n))),z=b(g),y=g?function(e){var t=b(e*=g)/z,n=b(g-e)/z,r=n*u+t*f,o=n*h+t*_,c=n*a+t*s;return[p(o,r)*d,p(c,w(r*r+o*o))*d]}:function(){return[n*d,r*d]};return y.distance=g,y},Zt=function(e){return e},en=n(),tn=n(),nn={point:C,lineStart:C,lineEnd:C,polygonStart:function(){nn.lineStart=rn,nn.lineEnd=an},polygonEnd:function(){nn.lineStart=nn.lineEnd=nn.point=C,en.add(f(tn)),tn.reset()},result:function(){var e=en/2;return en.reset(),e}};function rn(){nn.point=on}function on(e,t){nn.point=cn,Kt=Jt=e,Qt=Xt=t}function cn(e,t){tn.add(Xt*e-Jt*t),Jt=e,Xt=t}function an(){cn(Kt,Qt)}var ln=1/0,sn=ln,un=-ln,hn=un,dn={point:vn,lineStart:C,lineEnd:C,polygonStart:C,polygonEnd:C,result:function(){var e=[[ln,sn],[un,hn]];return un=hn=-(sn=ln=1/0),e}};function vn(e,t){eun&&(un=e),thn&&(hn=t)}var fn,_n,pn,mn,gn=0,zn=0,yn=0,Mn=0,bn=0,jn=0,wn=0,Hn=0,Vn=0,xn={point:Ln,lineStart:Cn,lineEnd:Tn,polygonStart:function(){xn.lineStart=On,xn.lineEnd=kn},polygonEnd:function(){xn.point=Ln,xn.lineStart=Cn,xn.lineEnd=Tn},result:function(){var e=Vn?[wn/Vn,Hn/Vn]:jn?[Mn/jn,bn/jn]:yn?[gn/yn,zn/yn]:[NaN,NaN];return gn=zn=yn=Mn=bn=jn=wn=Hn=Vn=0,e}};function Ln(e,t){gn+=e,zn+=t,++yn}function Cn(){xn.point=Sn}function Sn(e,t){xn.point=En,Ln(pn=e,mn=t)}function En(e,t){var n=e-pn,r=t-mn,o=w(n*n+r*r);Mn+=o*(pn+e)/2,bn+=o*(mn+t)/2,jn+=o,Ln(pn=e,mn=t)}function Tn(){xn.point=Ln}function On(){xn.point=An}function kn(){Pn(fn,_n)}function An(e,t){xn.point=Pn,Ln(fn=pn=e,_n=mn=t)}function Pn(e,t){var n=e-pn,r=t-mn,o=w(n*n+r*r);Mn+=o*(pn+e)/2,bn+=o*(mn+t)/2,jn+=o,o=mn*e-pn*t,wn+=o*(pn+e),Hn+=o*(mn+t),Vn+=3*o,Ln(pn=e,mn=t)}function Fn(e){this._context=e}Fn.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,h);break}},result:C};var Nn,Rn,qn,In,Dn,Bn=n(),Un={point:C,lineStart:function(){Un.point=Gn},lineEnd:function(){Nn&&Wn(Rn,qn),Un.point=C},polygonStart:function(){Nn=!0},polygonEnd:function(){Nn=null},result:function(){var e=+Bn;return Bn.reset(),e}};function Gn(e,t){Un.point=Wn,Rn=In=e,qn=Dn=t}function Wn(e,t){In-=e,Dn-=t,Bn.add(w(In*In+Dn*Dn)),In=e,Dn=t}function Yn(){this._string=[]}function Kn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Yn.prototype={_radius:4.5,_circle:Kn(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=Kn(this._radius)),this._string.push("M",e,",",t,this._circle);break}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}};var Qn=function(e,t){var n,r,o=4.5;function c(e){return e&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),q(e,n(r))),r.result()}return c.area=function(e){return q(e,n(nn)),nn.result()},c.measure=function(e){return q(e,n(Un)),Un.result()},c.bounds=function(e){return q(e,n(dn)),dn.result()},c.centroid=function(e){return q(e,n(xn)),xn.result()},c.projection=function(t){return arguments.length?(n=null==t?(e=null,Zt):(e=t).stream,c):e},c.context=function(e){return arguments.length?(r=null==e?(t=null,new Yn):new Fn(t=e),"function"!==typeof o&&r.pointRadius(o),c):t},c.pointRadius=function(e){return arguments.length?(o="function"===typeof e?e:(r.pointRadius(+e),+e),c):o},c.projection(e).context(t)},Jn=function(e,n,r,o){return function(c,i){var a,l,s,u=n(i),h=c.invert(o[0],o[1]),d=ut(),v=n(d),f=!1,_={point:p,lineStart:g,lineEnd:z,polygonStart:function(){_.point=y,_.lineStart=M,_.lineEnd=b,l=[],a=[]},polygonEnd:function(){_.point=p,_.lineStart=g,_.lineEnd=z,l=t.merge(l);var e=wt(a,h);l.length?(f||(i.polygonStart(),f=!0),ft(l,$n,e,r,i)):e&&(f||(i.polygonStart(),f=!0),i.lineStart(),r(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),l=a=null},sphere:function(){i.polygonStart(),i.lineStart(),r(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(t,n){var r=c(t,n);e(t=r[0],n=r[1])&&i.point(t,n)}function m(e,t){var n=c(e,t);u.point(n[0],n[1])}function g(){_.point=m,u.lineStart()}function z(){_.point=p,u.lineEnd()}function y(e,t){s.push([e,t]);var n=c(e,t);v.point(n[0],n[1])}function M(){v.lineStart(),s=[]}function b(){y(s[0][0],s[0][1]),v.lineEnd();var e,t,n,r,o=v.clean(),c=d.result(),u=c.length;if(s.pop(),a.push(s),s=null,u)if(1&o){if(n=c[0],(t=n.length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),e=0;e1&&2&o&&c.push(c.pop().concat(c.shift())),l.push(c.filter(Xn))}return _}};function Xn(e){return e.length>1}function $n(e,t){return((e=e.x)[0]<0?e[1]-s-i:s-e[1])-((t=t.x)[0]<0?t[1]-s-i:s-t[1])}var Zn=Jn((function(){return!0}),er,nr,[-l,-s]);function er(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(c,a){var u=c>0?l:-l,h=f(c-n);f(h-l)0?s:-s),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(u,r),e.point(c,r),t=0):o!==u&&h>=l&&(f(n-o)i?_((b(t)*(c=m(r))*b(n)-b(r)*(o=m(t))*b(e))/(o*c*a)):(t+r)/2}function nr(e,t,n,r){var o;if(null==e)o=n*s,r.point(-l,o),r.point(0,o),r.point(l,o),r.point(l,0),r.point(l,-o),r.point(0,-o),r.point(-l,-o),r.point(-l,0),r.point(-l,o);else if(f(e[0]-t[0])>i){var c=e[0]0,o=f(n)>i;function c(n,r,o,c){at(c,e,t,o,n,r)}function a(e,t){return m(e)*m(t)>n}function s(e){var t,n,c,s,d;return{lineStart:function(){s=c=!1,d=1},point:function(v,f){var _,p=[v,f],m=a(v,f),g=r?m?0:h(v,f):m?h(v+(v<0?l:-l),f):0;if(!t&&(s=c=m)&&e.lineStart(),m!==c&&(_=u(t,p),(!_||dt(t,_)||dt(p,_))&&(p[0]+=i,p[1]+=i,m=a(p[0],p[1]))),m!==c)d=0,m?(e.lineStart(),_=u(p,t),e.point(_[0],_[1])):(_=u(t,p),e.point(_[0],_[1]),e.lineEnd()),t=_;else if(o&&t&&r^m){var z;g&n||!(z=u(p,t,!0))||(d=0,r?(e.lineStart(),e.point(z[0][0],z[0][1]),e.point(z[1][0],z[1][1]),e.lineEnd()):(e.point(z[1][0],z[1][1]),e.lineEnd(),e.lineStart(),e.point(z[0][0],z[0][1])))}!m||t&&dt(t,p)||e.point(p[0],p[1]),t=p,c=m,n=g},lineEnd:function(){c&&e.lineEnd(),t=null},clean:function(){return d|(s&&c)<<1}}}function u(e,t,r){var o=oe(e),c=oe(t),a=[1,0,0],s=ie(o,c),u=ce(s,s),h=s[0],d=u-h*h;if(!d)return!r&&e;var v=n*u/d,_=-n*h/d,p=ie(a,s),m=le(a,v),g=le(s,_);ae(m,g);var z=p,y=ce(m,z),M=ce(z,z),b=y*y-M*(ce(m,m)-1);if(!(b<0)){var j=w(b),H=le(z,(-y-j)/M);if(ae(H,m),H=re(H),!r)return H;var V,x=e[0],L=t[0],C=e[1],S=t[1];L0^H[1]<(f(H[0]-x)l^(x<=H[0]&&H[0]<=L)){var k=le(z,(-y+j)/M);return ae(k,m),[H,re(k)]}}}function h(t,n){var o=r?e:l-e,c=0;return t<-o?c|=1:t>o&&(c|=2),n<-o?c|=4:n>o&&(c|=8),c}return Jn(a,s,c,r?[0,-e]:[-l,e-l])},or=function(e){return{stream:cr(e)}};function cr(e){return function(t){var n=new ir;for(var r in e)n[r]=e[r];return n.stream=t,n}}function ir(){}function ar(e,t,n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],c=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=c&&e.clipExtent(null),q(n,e.stream(dn));var i=dn.result(),a=Math.min(r/(i[1][0]-i[0][0]),o/(i[1][1]-i[0][1])),l=+t[0][0]+(r-a*(i[1][0]+i[0][0]))/2,s=+t[0][1]+(o-a*(i[1][1]+i[0][1]))/2;return null!=c&&e.clipExtent(c),e.scale(150*a).translate([l,s])}function lr(e,t,n){return ar(e,[[0,0],t],n)}ir.prototype={constructor:ir,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var sr=16,ur=m(30*v),hr=function(e,t){return+t?vr(e,t):dr(e)};function dr(e){return cr({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function vr(e,t){function n(r,o,c,a,l,s,u,h,d,v,_,m,g,z){var y=u-r,M=h-o,b=y*y+M*M;if(b>4*t&&g--){var j=a+v,H=l+_,V=s+m,L=w(j*j+H*H+V*V),C=x(V/=L),S=f(f(V)-1)t||f((y*k+M*A)/b-.5)>.3||a*v+l*_+s*m2?e[2]%360*v:0,E()):[g*d,z*d,y*d]},L.precision=function(e){return arguments.length?(x=hr(S,V=e*e),T()):w(V)},L.fitExtent=function(e,t){return ar(L,e,t)},L.fitSize=function(e,t){return lr(L,e,t)},function(){return t=e.apply(this,arguments),L.invert=t.invert&&C,E()}}function mr(e){var t=0,n=l/3,r=pr(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*v,n=e[1]*v):[t*d,n*d]},o}function gr(e){var t=m(e);function n(e,n){return[e*t,b(n)/t]}return n.invert=function(e,n){return[e/t,x(n*t)]},n}function zr(e,t){var n=b(e),r=(n+b(t))/2;if(f(r)=.12&&o<.234&&r>=-.425&&r<-.214?l:o>=.166&&o<.234&&r>=-.214&&r<-.115?s:a).invert(e)},h.stream=function(n){return e&&t===n?e:e=br([a.stream(t=n),l.stream(n),s.stream(n)])},h.precision=function(e){return arguments.length?(a.precision(e),l.precision(e),s.precision(e),d()):a.precision()},h.scale=function(e){return arguments.length?(a.scale(e),l.scale(.35*e),s.scale(e),h.translate(a.translate())):a.scale()},h.translate=function(e){if(!arguments.length)return a.translate();var t=a.scale(),c=+e[0],h=+e[1];return n=a.translate(e).clipExtent([[c-.455*t,h-.238*t],[c+.455*t,h+.238*t]]).stream(u),r=l.translate([c-.307*t,h+.201*t]).clipExtent([[c-.425*t+i,h+.12*t+i],[c-.214*t-i,h+.234*t-i]]).stream(u),o=s.translate([c-.205*t,h+.212*t]).clipExtent([[c-.214*t+i,h+.166*t+i],[c-.115*t-i,h+.234*t-i]]).stream(u),d()},h.fitExtent=function(e,t){return ar(h,e,t)},h.fitSize=function(e,t){return lr(h,e,t)},h.scale(1070)};function wr(e){return function(t,n){var r=m(t),o=m(n),c=e(r*o);return[c*o*b(t),c*b(n)]}}function Hr(e){return function(t,n){var r=w(t*t+n*n),o=e(r),c=b(o),i=m(o);return[p(t*c,r*i),x(r&&n*c/r)]}}var Vr=wr((function(e){return w(2/(1+e))}));Vr.invert=Hr((function(e){return 2*x(e/2)}));var xr=function(){return _r(Vr).scale(124.75).clipAngle(179.999)},Lr=wr((function(e){return(e=V(e))&&e/b(e)}));Lr.invert=Hr((function(e){return e}));var Cr=function(){return _r(Lr).scale(79.4188).clipAngle(179.999)};function Sr(e,t){return[e,y(H((s+t)/2))]}Sr.invert=function(e,t){return[e,2*_(z(t))-s]};var Er=function(){return Tr(Sr).scale(961/h)};function Tr(e){var t,n,r,o=_r(e),c=o.center,i=o.scale,a=o.translate,s=o.clipExtent,u=null;function h(){var c=l*i(),a=o(it(o.rotate()).invert([0,0]));return s(null==u?[[a[0]-c,a[1]-c],[a[0]+c,a[1]+c]]:e===Sr?[[Math.max(a[0]-c,u),t],[Math.min(a[0]+c,n),r]]:[[u,Math.max(a[1]-c,t)],[n,Math.min(a[1]+c,r)]])}return o.scale=function(e){return arguments.length?(i(e),h()):i()},o.translate=function(e){return arguments.length?(a(e),h()):a()},o.center=function(e){return arguments.length?(c(e),h()):c()},o.clipExtent=function(e){return arguments.length?(null==e?u=t=n=r=null:(u=+e[0][0],t=+e[0][1],n=+e[1][0],r=+e[1][1]),h()):null==u?null:[[u,t],[n,r]]},h()}function Or(e){return H((s+e)/2)}function kr(e,t){var n=m(e),r=e===t?b(e):y(n/m(t))/y(Or(t)/Or(e)),o=n*M(Or(e),r)/r;if(!r)return Sr;function c(e,t){o>0?t<-s+i&&(t=-s+i):t>s-i&&(t=s-i);var n=o/M(Or(t),r);return[n*b(r*e),o-n*m(r*e)]}return c.invert=function(e,t){var n=o-t,c=j(r)*w(e*e+n*n);return[p(e,f(n))/r*j(n),2*_(M(o/c,1/r))-s]},c}var Ar=function(){return mr(kr).scale(109.5).parallels([30,30])};function Pr(e,t){return[e,t]}Pr.invert=Pr;var Fr=function(){return _r(Pr).scale(152.63)};function Nr(e,t){var n=m(e),r=e===t?b(e):(n-m(t))/(t-e),o=n/r+e;if(f(r)2?e[2]+90:90]):(e=n(),[e[0],e[1],e[2]-90])},n([0,0,90]).scale(159.155)};e.geoArea=ne,e.geoBounds=qe,e.geoCentroid=$e,e.geoCircle=st,e.geoClipExtent=bt,e.geoContains=Bt,e.geoDistance=kt,e.geoGraticule=Wt,e.geoGraticule10=Yt,e.geoInterpolate=$t,e.geoLength=Et,e.geoPath=Qn,e.geoAlbers=Mr,e.geoAlbersUsa=jr,e.geoAzimuthalEqualArea=xr,e.geoAzimuthalEqualAreaRaw=Vr,e.geoAzimuthalEquidistant=Cr,e.geoAzimuthalEquidistantRaw=Lr,e.geoConicConformal=Ar,e.geoConicConformalRaw=kr,e.geoConicEqualArea=yr,e.geoConicEqualAreaRaw=zr,e.geoConicEquidistant=Rr,e.geoConicEquidistantRaw=Nr,e.geoEquirectangular=Fr,e.geoEquirectangularRaw=Pr,e.geoGnomonic=Ir,e.geoGnomonicRaw=qr,e.geoIdentity=Br,e.geoProjection=_r,e.geoProjectionMutator=pr,e.geoMercator=Er,e.geoMercatorRaw=Sr,e.geoOrthographic=Gr,e.geoOrthographicRaw=Ur,e.geoStereographic=Yr,e.geoStereographicRaw=Wr,e.geoTransverseMercator=Qr,e.geoTransverseMercatorRaw=Kr,e.geoRotation=it,e.geoStream=q,e.geoTransform=or,Object.defineProperty(e,"__esModule",{value:!0})}))},"./node_modules/_d3-hexjson@1.1.0@d3-hexjson/build/d3-hexjson.js": /*!***********************************************************************!*\ !*** ./node_modules/_d3-hexjson@1.1.0@d3-hexjson/build/d3-hexjson.js ***! \***********************************************************************/ /*! no static exports found */function(e,t,n){(function(e,r){r(t,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(e,t){"use strict";function n(e,n,a){var l=e.layout,s=[],u=0;Object.keys(e.hexes).forEach((function(t){e.hexes[t].key=t,s.push(e.hexes[t])}));var h=t.max(s,(function(e){return+e.q})),d=t.min(s,(function(e){return+e.q})),v=t.max(s,(function(e){return+e.r})),f=t.min(s,(function(e){return+e.r})),_=h-d+1,p=v-f+1;u="odd-r"===l||"even-r"===l?t.min([n/((_+.5)*Math.sqrt(3)),a/(1.5*(p+1/3))]):t.min([a/((p+.5)*Math.sqrt(3)),n/(1.5*(_+1/3))]);var m=u*Math.sqrt(3),g=c(l,m,u),z=i(g);return s.forEach((function(e){e.qc=e.q-d,e.rc=v-e.r,e.x=r(e,l,m,u),e.y=o(e,l,m,u),e.vertices=g,e.points=z})),s}function r(e,t,n,r){var o=0,c=0;switch(t){case"odd-r":c=e.rc%2===1?n:n/2,o=e.qc*n+c;break;case"even-r":c=e.rc%2===0?n:n/2,o=e.qc*n+c;break;case"odd-q":case"even-q":o=e.qc*r*1.5+r;break}return o}function o(e,t,n,r){var o=0,c=0;switch(t){case"odd-r":case"even-r":o=e.rc*r*1.5+r;break;case"odd-q":c=e.qc%2===1?n:n/2,o=e.rc*n+c;break;case"even-q":c=e.qc%2===0?n:n/2,o=e.rc*n+c;break}return o}function c(e,t,n){var r=[];switch(e){case"odd-r":case"even-r":r.push({x:0,y:0-n}),r.push({x:0+.5*t,y:0-.5*n}),r.push({x:0+.5*t,y:0+.5*n}),r.push({x:0,y:0+n}),r.push({x:0-.5*t,y:0+.5*n}),r.push({x:0-.5*t,y:0-.5*n});break;case"odd-q":case"even-q":r.push({x:0-n,y:0}),r.push({x:0-.5*n,y:0-.5*t}),r.push({x:0+.5*n,y:0-.5*t}),r.push({x:0+n,y:0}),r.push({x:0+.5*n,y:0+.5*t}),r.push({x:0-.5*n,y:0+.5*t});break}return r}function i(e){var t="";return e.forEach((function(e){t+=e.x+","+e.y+" "})),t.substring(0,t.length-1)}function a(e){var n={};n.layout=e.layout,n.hexes={};var r=[];Object.keys(e.hexes).forEach((function(t){r.push(e.hexes[t])}));var o,c,i,a=t.max(r,(function(e){return+e.q})),l=t.min(r,(function(e){return+e.q})),s=t.max(r,(function(e){return+e.r})),u=t.min(r,(function(e){return+e.r}));for(o=l;o<=a;o++)for(c=u;c<=s;c++)i="Q"+o+"R"+c,n.hexes[i]={q:o,r:c};return n}function l(e,n,c,i){var a=[],l=e.layout;Object.keys(e.hexes).forEach((function(t){a.push(e.hexes[t])}));var s,u=t.max(a,(function(e){return+e.q})),h=t.min(a,(function(e){return+e.q})),d=t.max(a,(function(e){return+e.r})),v=t.min(a,(function(e){return+e.r})),f=u-h+1,_=d-v+1;s="odd-r"===l||"even-r"===l?t.min([n/((f+.5)*Math.sqrt(3)),c/(1.5*(_+1/3))]):t.min([c/((_+.5)*Math.sqrt(3)),n/(1.5*(f+1/3))]);var p=s*Math.sqrt(3),m=[],g=s*s*4,z=a.length;if(z>1){a.forEach((function(e){e.qc=e.q-h,e.rc=d-e.r,e.x=r(e,l,p,s),e.y=o(e,l,p,s)}));for(var y=0;y1){a.forEach((function(e){e.qc=e.q-h,e.rc=d-e.r,e.x=r(e,l,p,s),e.y=o(e,l,p,s)}));for(var y=0;y=0)t+=n[r].value;else t=1;e.value=t}function u(){return this.eachAfter(s)}function h(e){var t,n,r,o,c=this,i=[c];do{t=i.reverse(),i=[];while(c=t.pop())if(e(c),n=c.children,n)for(r=0,o=n.length;r=0;--n)o.push(t[n]);return this}function v(e){var t,n,r,o=this,c=[o],i=[];while(o=c.pop())if(i.push(o),t=o.children,t)for(n=0,r=t.length;n=0)n+=r[o].value;t.value=n}))}function _(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))}function p(e){var t=this,n=m(t,e),r=[t];while(t!==n)t=t.parent,r.push(t);var o=r.length;while(e!==n)r.splice(o,0,e),e=e.parent;return r}function m(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;e=n.pop(),t=r.pop();while(e===t)o=e,e=n.pop(),t=r.pop();return o}function g(){var e=this,t=[e];while(e=e.parent)t.push(e);return t}function z(){var e=[];return this.each((function(t){e.push(t)})),e}function y(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e}function M(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t}function b(e,t){var n,r,o,c,i,a=new x(e),l=+e.value&&(a.value=e.value),s=[a];null==t&&(t=w);while(n=s.pop())if(l&&(n.value=+n.data.value),(o=t(n.data))&&(i=o.length))for(n.children=new Array(i),c=i-1;c>=0;--c)s.push(r=n.children[c]=new x(o[c])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(V)}function j(){return b(this).eachBefore(H)}function w(e){return e.children}function H(e){e.data=e.data.data}function V(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function x(e){this.data=e,this.depth=this.height=0,this.parent=null}x.prototype=b.prototype={constructor:x,count:u,each:h,eachAfter:v,eachBefore:d,sum:f,sort:_,path:p,ancestors:g,descendants:z,leaves:y,links:M,copy:j};var L=Array.prototype.slice;function C(e){var t,n,r=e.length;while(r)n=Math.random()*r--|0,t=e[r],e[r]=e[n],e[n]=t;return e}function S(e){var t,n,r=0,o=(e=C(L.call(e))).length,c=[];while(r0&&n*n>r*r+o*o}function k(e,t){for(var n=0;ni?(r=(s+i-o)/(2*s),c=Math.sqrt(Math.max(0,i/s-r*r)),n.x=e.x-r*a-c*l,n.y=e.y-r*l+c*a):(r=(s+o-i)/(2*s),c=Math.sqrt(Math.max(0,o/s-r*r)),n.x=t.x+r*a-c*l,n.y=t.y+r*l+c*a)):(n.x=t.x+n.r,n.y=t.y)}function q(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,o=t.y-e.y;return n>0&&n*n>r*r+o*o}function I(e){var t=e._,n=e.next._,r=t.r+n.r,o=(t.x*n.r+n.x*t.r)/r,c=(t.y*n.r+n.y*t.r)/r;return o*o+c*c}function D(e){this._=e,this.next=null,this.previous=null}function B(e){if(!(o=e.length))return 0;var t,n,r,o,c,i,a,l,s,u,h;if(t=e[0],t.x=0,t.y=0,!(o>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(o>2))return t.r+n.r;R(n,t,r=e[2]),t=new D(t),n=new D(n),r=new D(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(a=3;a0)throw new Error("cycle");return c}return n.id=function(t){return arguments.length?(e=W(t),n):e},n.parentId=function(e){return arguments.length?(t=W(e),n):t},n}function se(e,t){return e.parent===t.parent?1:2}function ue(e){var t=e.children;return t?t[0]:e.t}function he(e){var t=e.children;return t?t[t.length-1]:e.t}function de(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function ve(e){var t,n=0,r=0,o=e.children,c=o.length;while(--c>=0)t=o[c],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}function fe(e,t,n){return e.a.parent===t.parent?e.a:n}function _e(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}function pe(e){var t,n,r,o,c,i=new _e(e,0),a=[i];while(t=a.pop())if(r=t._.children)for(t.children=new Array(c=r.length),o=c-1;o>=0;--o)a.push(n=t.children[o]=new _e(r[o],o)),n.parent=t;return(i.parent=new _e(null,0)).children=[i],i}function me(){var e=se,t=1,n=1,r=null;function o(o){var a=pe(o);if(a.eachAfter(c),a.parent.m=-a.z,a.eachBefore(i),r)o.eachBefore(l);else{var s=o,u=o,h=o;o.eachBefore((function(e){e.xu.x&&(u=e),e.depth>h.depth&&(h=e)}));var d=s===u?1:e(s,u)/2,v=d-s.x,f=t/(u.x+d+v),_=n/(h.depth||1);o.eachBefore((function(e){e.x=(e.x+v)*f,e.y=e.depth*_}))}return o}function c(t){var n=t.children,r=t.parent.children,o=t.i?r[t.i-1]:null;if(n){ve(t);var c=(n[0].z+n[n.length-1].z)/2;o?(t.z=o.z+e(t._,o._),t.m=t.z-c):t.z=c}else o&&(t.z=o.z+e(t._,o._));t.parent.A=a(t,o,t.parent.A||r[0])}function i(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function a(t,n,r){if(n){var o,c=t,i=t,a=n,l=c.parent.children[0],s=c.m,u=i.m,h=a.m,d=l.m;while(a=he(a),c=ue(c),a&&c)l=ue(l),i=he(i),i.a=t,o=a.z+h-c.z-s+e(a._,c._),o>0&&(de(fe(a,t,r),t,o),s+=o,u+=o),h+=a.m,s+=c.m,d+=l.m,u+=i.m;a&&!he(i)&&(i.t=a,i.m+=h-u),c&&!ue(l)&&(l.t=c,l.m+=s-d,r=t)}return r}function l(e){e.x*=t,e.y=e.depth*n}return o.separation=function(t){return arguments.length?(e=t,o):e},o.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],o):r?null:[t,n]},o.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],o):r?[t,n]:null},o}function ge(e,t,n,r,o){var c,i=e.children,a=-1,l=i.length,s=e.value&&(o-n)/e.value;while(++ad&&(d=a),p=u*u*_,v=Math.max(d/p,p/h),v>f){u-=a;break}f=v}m.push(i={value:u,dice:l1?t:1)},n}(ze);function be(){var e=Me,t=!1,n=1,r=1,o=[0],c=Y,i=Y,a=Y,l=Y,s=Y;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(h),o=[0],t&&e.eachBefore(ee),e}function h(t){var n=o[t.depth],r=t.x0+n,u=t.y0+n,h=t.x1-n,d=t.y1-n;h=t-1){var l=a[e];return l.x0=r,l.y0=o,l.x1=c,void(l.y1=i)}var h=s[e],d=n/2+h,v=e+1,f=t-1;while(v>>1;s[_]i-o){var g=(r*m+c*p)/n;u(e,v,p,r,o,g,i),u(v,t,m,g,o,c,i)}else{var z=(o*m+i*p)/n;u(e,v,p,r,o,c,z),u(v,t,m,r,z,c,i)}}u(0,l,e.value,t,n,r,o)}function we(e,t,n,r,o){(1&e.depth?ge:te)(e,t,n,r,o)}var He=function e(t){function n(e,n,r,o,c){if((i=e._squarify)&&i.ratio===t){var i,a,l,s,u,h=-1,d=i.length,v=e.value;while(++h1?t:1)},n}(ze);e.cluster=l,e.hierarchy=b,e.pack=J,e.packEnclose=S,e.packSiblings=U,e.partition=ne,e.stratify=le,e.tree=me,e.treemap=be,e.treemapBinary=je,e.treemapDice=te,e.treemapResquarify=He,e.treemapSlice=ge,e.treemapSliceDice=we,e.treemapSquarify=Me,Object.defineProperty(e,"__esModule",{value:!0})}))},"./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js": /*!*************************************************************!*\ !*** ./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){(function(e,n){n(t)})(0,(function(e){"use strict";var t=Math.PI,n=2*t,r=1e-6,o=n-r;function c(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function i(){return new c}c.prototype=i.prototype={constructor:c,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,c){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+c)},arcTo:function(e,n,o,c,i){e=+e,n=+n,o=+o,c=+c,i=+i;var a=this._x1,l=this._y1,s=o-e,u=c-n,h=a-e,d=l-n,v=h*h+d*d;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=n);else if(v>r)if(Math.abs(d*s-u*h)>r&&i){var f=o-a,_=c-l,p=s*s+u*u,m=f*f+_*_,g=Math.sqrt(p),z=Math.sqrt(v),y=i*Math.tan((t-Math.acos((p+v-m)/(2*g*z)))/2),M=y/z,b=y/g;Math.abs(M-1)>r&&(this._+="L"+(e+M*h)+","+(n+M*d)),this._+="A"+i+","+i+",0,0,"+ +(d*f>h*_)+","+(this._x1=e+b*s)+","+(this._y1=n+b*u)}else this._+="L"+(this._x1=e)+","+(this._y1=n);else;},arc:function(e,c,i,a,l,s){e=+e,c=+c,i=+i,s=!!s;var u=i*Math.cos(a),h=i*Math.sin(a),d=e+u,v=c+h,f=1^s,_=s?a-l:l-a;if(i<0)throw new Error("negative radius: "+i);null===this._x1?this._+="M"+d+","+v:(Math.abs(this._x1-d)>r||Math.abs(this._y1-v)>r)&&(this._+="L"+d+","+v),i&&(_<0&&(_=_%n+n),_>o?this._+="A"+i+","+i+",0,1,"+f+","+(e-u)+","+(c-h)+"A"+i+","+i+",0,1,"+f+","+(this._x1=d)+","+(this._y1=v):_>r&&(this._+="A"+i+","+i+",0,"+ +(_>=t)+","+f+","+(this._x1=e+i*Math.cos(l))+","+(this._y1=c+i*Math.sin(l))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.path=i,Object.defineProperty(e,"__esModule",{value:!0})}))},"./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js": /*!*******************************************************************!*\ !*** ./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js ***! \*******************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js");(function(e,r){r(t,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"),n(/*! d3-collection */"./node_modules/_d3-collection@1.0.7@d3-collection/dist/d3-collection.js"),n(/*! d3-shape */"./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js"))})(0,(function(e,t,n,o){"use strict";function c(e){return e.target.depth}function i(e){return e.depth}function a(e,t){return t-1-e.height}function l(e,t){return e.sourceLinks.length?e.depth:t-1}function s(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?t.min(e.sourceLinks,c)-1:0}function u(e){return function(){return e}}function h(e,t){return v(e.source,t.source)||e.index-t.index}function d(e,t){return v(e.target,t.target)||e.index-t.index}function v(e,t){return e.y0-t.y0}function f(e){return e.value}function _(e){return e.index}function p(e){return e.nodes}function m(e){return e.links}function g(e,t){var n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function z(){var e,o=0,c=0,i=1,a=1,s=24,z=8,y=_,M=l,b=p,j=m,w=6;function H(){var e={nodes:b.apply(null,arguments),links:j.apply(null,arguments)};return V(e),x(e),L(e),C(e),S(e),e}function V(e){e.nodes.forEach((function(e,t){e.index=t,e.sourceLinks=[],e.targetLinks=[]}));var t=n.map(e.nodes,y);e.links.forEach((function(e,n){e.index=n;var r=e.source,o=e.target;"object"!==typeof r&&(r=e.source=g(t,r)),"object"!==typeof o&&(o=e.target=g(t,o)),r.sourceLinks.push(e),o.targetLinks.push(e)}))}function x(e){e.nodes.forEach((function(e){e.value=Math.max(t.sum(e.sourceLinks,f),t.sum(e.targetLinks,f))}))}function L(e){var t,n,r,c=e.nodes.length;for(t=e.nodes,n=[],r=0;t.length;++r,t=n,n=[]){if(r>c)throw new Error("circular link");t.forEach((function(e){e.depth=r,e.sourceLinks.forEach((function(e){n.indexOf(e.target)<0&&n.push(e.target)}))}))}for(t=e.nodes,n=[],r=0;t.length;++r,t=n,n=[]){if(r>c)throw new Error("circular link");t.forEach((function(e){e.height=r,e.targetLinks.forEach((function(e){n.indexOf(e.source)<0&&n.push(e.source)}))}))}var a=(i-o-s)/(r-1);e.nodes.forEach((function(e){e.x1=(e.x0=o+Math.max(0,Math.min(r-1,Math.floor(M.call(null,e,r))))*a)+s}))}function C(o){var i=n.nest().key((function(e){return e.x0})).sortKeys(t.ascending).entries(o.nodes).map((function(e){return e.values}));u(),m();for(var l=.9,s=w;s>0;--s,l*=.9)p(l),m(),_(l),m();function u(){var n=t.min(i,(function(e){return(a-c-(e.length-1)*z)/t.sum(e,f)}));i.forEach((function(t){null!=e&&t.sort(e),t.forEach((function(e,t){e.y1=(e.y0=t)+e.value*n}))})),o.links.forEach((function(e){e.width=e.value*n}))}function _(e){i.forEach((function(t){t.forEach((function(t){var n,o,c,i,a=t.y0;try{for(var l=r.__values(t.sourceLinks.sort(d)),s=l.next();!s.done;s=l.next()){var u=s.value,h=u.target,v=u.width,f=u.value;if(f>0){var _=0;try{for(var p=(c=void 0,r.__values(h.targetLinks)),m=p.next();!m.done;m=p.next()){var g=m.value,y=g.source,M=g.width;if(y===t)break;_+=M+z/2}}catch(b){c={error:b}}finally{try{m&&!m.done&&(i=p.return)&&i.call(p)}finally{if(c)throw c.error}}_=(a-_-h.y0)*e*(f/Math.min(t.value,h.value)),h.y0+=_,h.y1+=_}a+=v+z/2}}catch(j){n={error:j}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}}))}))}function p(e){i.slice().reverse().forEach((function(t){t.forEach((function(t){var n,o,c,i,a=t.y0;try{for(var l=r.__values(t.targetLinks.sort(h)),s=l.next();!s.done;s=l.next()){var u=s.value,d=u.source,v=u.width,f=u.value;if(f>0){var _=0;try{for(var p=(c=void 0,r.__values(d.sourceLinks)),m=p.next();!m.done;m=p.next()){var g=m.value,y=g.target,M=g.width;if(y===t)break;_+=M+z/2}}catch(b){c={error:b}}finally{try{m&&!m.done&&(i=p.return)&&i.call(p)}finally{if(c)throw c.error}}_=(a-_-d.y0)*e*(f/Math.min(t.value,d.value)),d.y0+=_,d.y1+=_}a+=v+z/2}}catch(j){n={error:j}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}}))}))}function m(){i.forEach((function(t){var n,r,o,i=c,l=t.length;for(void 0===e&&t.sort(v),o=0;o0&&(n.y0+=r,n.y1+=r),i=n.y1+z;if(r=i-z-a,r>0)for(i=n.y0-=r,n.y1-=r,o=l-2;o>=0;--o)n=t[o],r=n.y1+z-i,r>0&&(n.y0-=r,n.y1-=r),i=n.y0}))}}function S(e){e.nodes.forEach((function(e){e.sourceLinks.sort(d),e.targetLinks.sort(h)})),e.nodes.forEach((function(e){var t=e.y0,n=t;e.sourceLinks.forEach((function(e){e.y0=t+e.width/2,t+=e.width})),e.targetLinks.forEach((function(e){e.y1=n+e.width/2,n+=e.width}))}))}return H.update=function(e){return S(e),e},H.nodeId=function(e){return arguments.length?(y="function"===typeof e?e:u(e),H):y},H.nodeAlign=function(e){return arguments.length?(M="function"===typeof e?e:u(e),H):M},H.nodeSort=function(t){return arguments.length?(e=t,H):e},H.nodeWidth=function(e){return arguments.length?(s=+e,H):s},H.nodePadding=function(e){return arguments.length?(z=+e,H):z},H.nodes=function(e){return arguments.length?(b="function"===typeof e?e:u(e),H):b},H.links=function(e){return arguments.length?(j="function"===typeof e?e:u(e),H):j},H.size=function(e){return arguments.length?(o=c=0,i=+e[0],a=+e[1],H):[i-o,a-c]},H.extent=function(e){return arguments.length?(o=+e[0][0],i=+e[1][0],c=+e[0][1],a=+e[1][1],H):[[o,c],[i,a]]},H.iterations=function(e){return arguments.length?(w=+e,H):w},H}function y(e){return[e.source.x1,e.y0]}function M(e){return[e.target.x0,e.y1]}function b(){return o.linkHorizontal().source(y).target(M)}e.sankey=z,e.sankeyCenter=s,e.sankeyLeft=i,e.sankeyRight=a,e.sankeyJustify=l,e.sankeyLinkHorizontal=b,Object.defineProperty(e,"__esModule",{value:!0})}))},"./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js": /*!****************************************************************!*\ !*** ./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js ***! \****************************************************************/ /*! no static exports found */function(e,t,n){(function(e,r){r(t,n(/*! d3-path */"./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js"))})(0,(function(e,t){"use strict";function n(e){return function(){return e}}var r=Math.abs,o=Math.atan2,c=Math.cos,i=Math.max,a=Math.min,l=Math.sin,s=Math.sqrt,u=1e-12,h=Math.PI,d=h/2,v=2*h;function f(e){return e>1?0:e<-1?h:Math.acos(e)}function _(e){return e>=1?d:e<=-1?-d:Math.asin(e)}function p(e){return e.innerRadius}function m(e){return e.outerRadius}function g(e){return e.startAngle}function z(e){return e.endAngle}function y(e){return e&&e.padAngle}function M(e,t,n,r,o,c,i,a){var l=n-e,s=r-t,h=i-o,d=a-c,v=d*l-h*s;if(!(v*vT*T+O*O&&(V=L,x=C),{cx:V,cy:x,x01:-d,y01:-v,x11:V*(o/j-1),y11:x*(o/j-1)}}function j(){var e=p,i=m,j=n(0),w=null,H=g,V=z,x=y,L=null;function C(){var n,p,m=+e.apply(this,arguments),g=+i.apply(this,arguments),z=H.apply(this,arguments)-d,y=V.apply(this,arguments)-d,C=r(y-z),S=y>z;if(L||(L=n=t.path()),gu)if(C>v-u)L.moveTo(g*c(z),g*l(z)),L.arc(0,0,g,z,y,!S),m>u&&(L.moveTo(m*c(y),m*l(y)),L.arc(0,0,m,y,z,S));else{var E,T,O=z,k=y,A=z,P=y,F=C,N=C,R=x.apply(this,arguments)/2,q=R>u&&(w?+w.apply(this,arguments):s(m*m+g*g)),I=a(r(g-m)/2,+j.apply(this,arguments)),D=I,B=I;if(q>u){var U=_(q/m*l(R)),G=_(q/g*l(R));(F-=2*U)>u?(U*=S?1:-1,A+=U,P-=U):(F=0,A=P=(z+y)/2),(N-=2*G)>u?(G*=S?1:-1,O+=G,k-=G):(N=0,O=k=(z+y)/2)}var W=g*c(O),Y=g*l(O),K=m*c(P),Q=m*l(P);if(I>u){var J,X=g*c(k),$=g*l(k),Z=m*c(A),ee=m*l(A);if(Cu?B>u?(E=b(Z,ee,W,Y,g,B,S),T=b(X,$,K,Q,g,B,S),L.moveTo(E.cx+E.x01,E.cy+E.y01),Bu&&F>u?D>u?(E=b(K,Q,X,$,m,-D,S),T=b(W,Y,Z,ee,m,-D,S),L.lineTo(E.cx+E.x01,E.cy+E.y01),D=h;--d)s.point(m[d],g[d]);s.lineEnd(),s.areaEnd()}p&&(m[u]=+e(v,u,n),g[u]=+o(v,u,n),s.point(r?+r(v,u,n):m[u],c?+c(v,u,n):g[u]))}if(f)return s=null,f+""||null}function h(){return L().defined(i).curve(l).context(a)}return u.x=function(t){return arguments.length?(e="function"===typeof t?t:n(+t),r=null,u):e},u.x0=function(t){return arguments.length?(e="function"===typeof t?t:n(+t),u):e},u.x1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:n(+e),u):r},u.y=function(e){return arguments.length?(o="function"===typeof e?e:n(+e),c=null,u):o},u.y0=function(e){return arguments.length?(o="function"===typeof e?e:n(+e),u):o},u.y1=function(e){return arguments.length?(c=null==e?null:"function"===typeof e?e:n(+e),u):c},u.lineX0=u.lineY0=function(){return h().x(e).y(o)},u.lineY1=function(){return h().x(e).y(c)},u.lineX1=function(){return h().x(r).y(o)},u.defined=function(e){return arguments.length?(i="function"===typeof e?e:n(!!e),u):i},u.curve=function(e){return arguments.length?(l=e,null!=a&&(s=l(a)),u):l},u.context=function(e){return arguments.length?(null==e?a=s=null:s=l(a=e),u):a},u}function S(e,t){return te?1:t>=e?0:NaN}function E(e){return e}function T(){var e=E,t=S,r=null,o=n(0),c=n(v),i=n(0);function a(n){var a,l,s,u,h,d=n.length,f=0,_=new Array(d),p=new Array(d),m=+o.apply(this,arguments),g=Math.min(v,Math.max(-v,c.apply(this,arguments)-m)),z=Math.min(Math.abs(g)/d,i.apply(this,arguments)),y=z*(g<0?-1:1);for(a=0;a0&&(f+=h);for(null!=t?_.sort((function(e,n){return t(p[e],p[n])})):null!=r&&_.sort((function(e,t){return r(n[e],n[t])})),a=0,s=f?(g-d*y)/f:0;a0?h*s:0)+y,p[l]={data:n[l],index:a,value:h,startAngle:m,endAngle:u,padAngle:z};return p}return a.value=function(t){return arguments.length?(e="function"===typeof t?t:n(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,r=null,a):t},a.sort=function(e){return arguments.length?(r=e,t=null,a):r},a.startAngle=function(e){return arguments.length?(o="function"===typeof e?e:n(+e),a):o},a.endAngle=function(e){return arguments.length?(c="function"===typeof e?e:n(+e),a):c},a.padAngle=function(e){return arguments.length?(i="function"===typeof e?e:n(+e),a):i},a}w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};var O=A(H);function k(e){this._curve=e}function A(e){function t(t){return new k(e(t))}return t._curve=e,t}function P(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(A(e)):t()._curve},e}function F(){return P(L().curve(O))}function N(){var e=C().curve(O),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,c=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return P(n())},delete e.lineX0,e.lineEndAngle=function(){return P(r())},delete e.lineX1,e.lineInnerRadius=function(){return P(o())},delete e.lineY0,e.lineOuterRadius=function(){return P(c())},delete e.lineY1,e.curve=function(e){return arguments.length?t(A(e)):t()._curve},e}function R(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}k.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var q=Array.prototype.slice;function I(e){return e.source}function D(e){return e.target}function B(e){var r=I,o=D,c=V,i=x,a=null;function l(){var n,l=q.call(arguments),s=r.apply(this,l),u=o.apply(this,l);if(a||(a=n=t.path()),e(a,+c.apply(this,(l[0]=s,l)),+i.apply(this,l),+c.apply(this,(l[0]=u,l)),+i.apply(this,l)),n)return a=null,n+""||null}return l.source=function(e){return arguments.length?(r=e,l):r},l.target=function(e){return arguments.length?(o=e,l):o},l.x=function(e){return arguments.length?(c="function"===typeof e?e:n(+e),l):c},l.y=function(e){return arguments.length?(i="function"===typeof e?e:n(+e),l):i},l.context=function(e){return arguments.length?(a=null==e?null:e,l):a},l}function U(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,o,r,o)}function G(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+o)/2,r,n,r,o)}function W(e,t,n,r,o){var c=R(t,n),i=R(t,n=(n+o)/2),a=R(r,n),l=R(r,o);e.moveTo(c[0],c[1]),e.bezierCurveTo(i[0],i[1],a[0],a[1],l[0],l[1])}function Y(){return B(U)}function K(){return B(G)}function Q(){var e=B(W);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var J={draw:function(e,t){var n=Math.sqrt(t/h);e.moveTo(n,0),e.arc(0,0,n,0,v)}},X={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},$=Math.sqrt(1/3),Z=2*$,ee={draw:function(e,t){var n=Math.sqrt(t/Z),r=n*$;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},te=.8908130915292852,ne=Math.sin(h/10)/Math.sin(7*h/10),re=Math.sin(v/10)*ne,oe=-Math.cos(v/10)*ne,ce={draw:function(e,t){var n=Math.sqrt(t*te),r=re*n,o=oe*n;e.moveTo(0,-n),e.lineTo(r,o);for(var c=1;c<5;++c){var i=v*c/5,a=Math.cos(i),l=Math.sin(i);e.lineTo(l*n,-a*n),e.lineTo(a*r-l*o,l*r+a*o)}e.closePath()}},ie={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},ae=Math.sqrt(3),le={draw:function(e,t){var n=-Math.sqrt(t/(3*ae));e.moveTo(0,2*n),e.lineTo(-ae*n,-n),e.lineTo(ae*n,-n),e.closePath()}},se=-.5,ue=Math.sqrt(3)/2,he=1/Math.sqrt(12),de=3*(he/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/de),r=n/2,o=n*he,c=r,i=n*he+n,a=-c,l=i;e.moveTo(r,o),e.lineTo(c,i),e.lineTo(a,l),e.lineTo(se*r-ue*o,ue*r+se*o),e.lineTo(se*c-ue*i,ue*c+se*i),e.lineTo(se*a-ue*l,ue*a+se*l),e.lineTo(se*r+ue*o,se*o-ue*r),e.lineTo(se*c+ue*i,se*i-ue*c),e.lineTo(se*a+ue*l,se*l-ue*a),e.closePath()}},fe=[J,X,ee,ie,ce,le,ve];function _e(){var e=n(J),r=n(64),o=null;function c(){var n;if(o||(o=n=t.path()),e.apply(this,arguments).draw(o,+r.apply(this,arguments)),n)return o=null,n+""||null}return c.type=function(t){return arguments.length?(e="function"===typeof t?t:n(t),c):e},c.size=function(e){return arguments.length?(r="function"===typeof e?e:n(+e),c):r},c.context=function(e){return arguments.length?(o=null==e?null:e,c):o},c}function pe(){}function me(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function ge(e){this._context=e}function ze(e){return new ge(e)}function ye(e){this._context=e}function Me(e){return new ye(e)}function be(e){this._context=e}function je(e){return new be(e)}function we(e,t){this._basis=new ge(e),this._beta=t}ge.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:me(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:me(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ye.prototype={areaStart:pe,areaEnd:pe,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:me(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},be.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:me(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},we.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0){var r,o=e[0],c=t[0],i=e[n]-o,a=t[n]-c,l=-1;while(++l<=n)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*i),this._beta*t[l]+(1-this._beta)*(c+r*a))}this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var He=function e(t){function n(e){return 1===t?new ge(e):new we(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Ve(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function xe(e,t){this._context=e,this._k=(1-t)/6}xe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ve(this,this._x1,this._y1);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Ve(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Le=function e(t){function n(e){return new xe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Ce(e,t){this._context=e,this._k=(1-t)/6}Ce.prototype={areaStart:pe,areaEnd:pe,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Ve(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Se=function e(t){function n(e){return new Ce(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Ee(e,t){this._context=e,this._k=(1-t)/6}Ee.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ve(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Ee(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Oe(e,t,n){var r=e._x1,o=e._y1,c=e._x2,i=e._y2;if(e._l01_a>u){var a=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*a-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*a-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>u){var s=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,h=3*e._l23_a*(e._l23_a+e._l12_a);c=(c*s+e._x1*e._l23_2a-t*e._l12_2a)/h,i=(i*s+e._y1*e._l23_2a-n*e._l12_2a)/h}e._context.bezierCurveTo(r,o,c,i,e._x2,e._y2)}function ke(e,t){this._context=e,this._alpha=t}ke.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Oe(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ae=function e(t){function n(e){return t?new ke(e,t):new xe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Pe(e,t){this._context=e,this._alpha=t}Pe.prototype={areaStart:pe,areaEnd:pe,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Oe(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return t?new Pe(e,t):new Ce(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ne(e,t){this._context=e,this._alpha=t}Ne.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Oe(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Re=function e(t){function n(e){return t?new Ne(e,t):new Ee(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function qe(e){this._context=e}function Ie(e){return new qe(e)}function De(e){return e<0?-1:1}function Be(e,t,n){var r=e._x1-e._x0,o=t-e._x1,c=(e._y1-e._y0)/(r||o<0&&-0),i=(n-e._y1)/(o||r<0&&-0),a=(c*o+i*r)/(r+o);return(De(c)+De(i))*Math.min(Math.abs(c),Math.abs(i),.5*Math.abs(a))||0}function Ue(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Ge(e,t,n){var r=e._x0,o=e._y0,c=e._x1,i=e._y1,a=(c-r)/3;e._context.bezierCurveTo(r+a,o+a*t,c-a,i-a*n,c,i)}function We(e){this._context=e}function Ye(e){this._context=new Ke(e)}function Ke(e){this._context=e}function Qe(e){return new We(e)}function Je(e){return new Ye(e)}function Xe(e){this._context=e}function $e(e){var t,n,r=e.length-1,o=new Array(r),c=new Array(r),i=new Array(r);for(o[0]=0,c[0]=2,i[0]=e[0]+2*e[1],t=1;t=0;--t)o[t]=(i[t]-o[t+1])/c[t];for(c[r-1]=(e[r]+o[r-1])/2,t=0;t1)for(var n,r,o,c=1,i=e[t[0]],a=i.length;c=0)n[t]=t;return n}function it(e,t){return e[t]}function at(){var e=n([]),t=ct,r=ot,o=it;function c(n){var c,i,a=e.apply(this,arguments),l=n.length,s=a.length,u=new Array(s);for(c=0;c0){for(var n,r,o,c=0,i=e[0].length;c0)for(var n,r,o,c,i,a,l=0,s=e[t[0]].length;l0?(r[0]=c,r[1]=c+=o):o<0?(r[1]=i,r[0]=i+=o):(r[0]=0,r[1]=o)}function ut(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],c=o.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,c=0,i=1;ic&&(c=t,r=n);return r}function ft(e){var t=e.map(_t);return ct(e).sort((function(e,n){return t[e]-t[n]}))}function _t(e){var t,n=0,r=-1,o=e.length;while(++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}this._x=e,this._y=t}},e.arc=j,e.area=C,e.areaRadial=N,e.curveBasis=ze,e.curveBasisClosed=Me,e.curveBasisOpen=je,e.curveBundle=He,e.curveCardinal=Le,e.curveCardinalClosed=Se,e.curveCardinalOpen=Te,e.curveCatmullRom=Ae,e.curveCatmullRomClosed=Fe,e.curveCatmullRomOpen=Re,e.curveLinear=H,e.curveLinearClosed=Ie,e.curveMonotoneX=Qe,e.curveMonotoneY=Je,e.curveNatural=Ze,e.curveStep=tt,e.curveStepAfter=rt,e.curveStepBefore=nt,e.line=L,e.lineRadial=F,e.linkHorizontal=Y,e.linkRadial=Q,e.linkVertical=K,e.pie=T,e.pointRadial=R,e.radialArea=N,e.radialLine=F,e.stack=at,e.stackOffsetDiverging=st,e.stackOffsetExpand=lt,e.stackOffsetNone=ot,e.stackOffsetSilhouette=ut,e.stackOffsetWiggle=ht,e.stackOrderAppearance=dt,e.stackOrderAscending=ft,e.stackOrderDescending=pt,e.stackOrderInsideOut=mt,e.stackOrderNone=ct,e.stackOrderReverse=gt,e.symbol=_e,e.symbolCircle=J,e.symbolCross=X,e.symbolDiamond=ee,e.symbolSquare=ie,e.symbolStar=ce,e.symbolTriangle=le,e.symbolWye=ve,e.symbols=fe,Object.defineProperty(e,"__esModule",{value:!0})}))},"./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js": /*!**********************************************************************!*\ !*** ./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js ***! \**********************************************************************/ /*! no static exports found */function(e,t,n){(function(e,n){n(t)})(0,(function(e){"use strict";function t(e){return function(){return e}}function n(e){return e[0]}function r(e){return e[1]}function o(){this._=null}function c(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function i(e,t){var n=t,r=t.R,o=n.U;o?o.L===n?o.L=r:o.R=r:e._=r,r.U=o,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function a(e,t){var n=t,r=t.L,o=n.U;o?o.L===n?o.L=r:o.R=r:e._=r,r.U=o,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function l(e){while(e.L)e=e.L;return e}function s(e,t,n,r){var o=[null,null],c=F.push(o)-1;return o.left=e,o.right=t,n&&h(o,e,t,n),r&&h(o,t,e,r),A[e.index].halfedges.push(c),A[t.index].halfedges.push(c),o}function u(e,t,n){var r=[t,n];return r.left=e,r}function h(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function d(e,t,n,r,o){var c,i=e[0],a=e[1],l=i[0],s=i[1],u=a[0],h=a[1],d=0,v=1,f=u-l,_=h-s;if(c=t-l,f||!(c>0)){if(c/=f,f<0){if(c0){if(c>v)return;c>d&&(d=c)}if(c=r-l,f||!(c<0)){if(c/=f,f<0){if(c>v)return;c>d&&(d=c)}else if(f>0){if(c0)){if(c/=_,_<0){if(c0){if(c>v)return;c>d&&(d=c)}if(c=o-s,_||!(c<0)){if(c/=_,_<0){if(c>v)return;c>d&&(d=c)}else if(_>0){if(c0||v<1)||(d>0&&(e[0]=[l+d*f,s+d*_]),v<1&&(e[1]=[l+v*f,s+v*_]),!0)}}}}}function v(e,t,n,r,o){var c=e[1];if(c)return!0;var i,a,l=e[0],s=e.left,u=e.right,h=s[0],d=s[1],v=u[0],f=u[1],_=(h+v)/2,p=(d+f)/2;if(f===d){if(_=r)return;if(h>v){if(l){if(l[1]>=o)return}else l=[_,n];c=[_,o]}else{if(l){if(l[1]1)if(h>v){if(l){if(l[1]>=o)return}else l=[(n-a)/i,n];c=[(o-a)/i,o]}else{if(l){if(l[1]=r)return}else l=[t,i*t+a];c=[r,i*r+a]}else{if(l){if(l[0]N||Math.abs(o[0][1]-o[1][1])>N)||delete F[c]}function _(e){return A[e.index]={site:e,halfedges:[]}}function p(e,t){var n=e.site,r=t.left,o=t.right;return n===o&&(o=r,r=n),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(n===r?(r=t[1],o=t[0]):(r=t[0],o=t[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function m(e,t){return t[+(t.left!==e.site)]}function g(e,t){return t[+(t.left===e.site)]}function z(){for(var e,t,n,r,o=0,c=A.length;oN||Math.abs(p-v)>N)&&(l.splice(a,0,F.push(u(i,f,Math.abs(_-e)N?[e,Math.abs(d-e)N?[Math.abs(v-r)N?[n,Math.abs(d-n)N?[Math.abs(v-t)=-R)){var v=l*l+s*s,f=u*u+h*h,_=(h*v-s*f)/d,p=(l*f-u*v)/d,m=b.pop()||new j;m.arc=e,m.site=o,m.x=_+i,m.y=(m.cy=p+a)+Math.sqrt(_*_+p*p),e.circle=m;var g=null,z=P._;while(z)if(m.yN)a=a.L;else{if(o=c-O(a,i),!(o>N)){r>-N?(t=a.P,n=a):o>-N?(t=a,n=a.N):t=n=a;break}if(!a.R){t=a;break}a=a.R}_(e);var l=L(e);if(k.insert(t,l),t||n){if(t===n)return H(t),n=L(t.site),k.insert(l,n),l.edge=n.edge=s(t.site,l.site),w(t),void w(n);if(n){H(t),H(n);var u=t.site,d=u[0],v=u[1],f=e[0]-d,p=e[1]-v,m=n.site,g=m[0]-d,z=m[1]-v,y=2*(f*z-p*g),M=f*f+p*p,b=g*g+z*z,j=[(z*M-p*b)/y+d,(f*b-g*M)/y+v];h(n.edge,u,m,j),l.edge=s(u,e,null,j),n.edge=s(e,m,null,j),w(t),w(n)}else l.edge=s(t.site,l.site)}}function T(e,t){var n=e.site,r=n[0],o=n[1],c=o-t;if(!c)return r;var i=e.P;if(!i)return-1/0;n=i.site;var a=n[0],l=n[1],s=l-t;if(!s)return a;var u=a-r,h=1/c-1/s,d=u/s;return h?(-d+Math.sqrt(d*d-2*h*(u*u/(-2*s)-l+s/2+o-c/2)))/h+r:(r+a)/2}function O(e,t){var n=e.N;if(n)return T(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var k,A,P,F,N=1e-6,R=1e-12;function q(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function I(e,t){return t[1]-e[1]||t[0]-e[0]}function D(e,t){var n,r,c,i=e.sort(I).pop();F=[],A=new Array(e.length),k=new o,P=new o;while(1)if(c=M,i&&(!c||i[1]=a)return null;var l=e-o.site[0],s=t-o.site[1],u=l*l+s*s;do{o=c.cells[r=i],i=null,o.halfedges.forEach((function(n){var r=c.edges[n],a=r.left;if(a!==o.site&&a||(a=r.right)){var l=e-a[0],s=t-a[1],h=l*l+s*s;h0;--a)if(r=t[a].dequeue(),r){o=o.concat(s(e,t,n,r,!0));break}}return o}function s(e,t,n,o,c){var i=c?[]:void 0;return r.forEach(e.inEdges(o.v),(function(r){var o=e.edge(r),a=e.node(r.v);c&&i.push({v:r.v,w:r.w}),a.out-=o,h(t,n,a)})),r.forEach(e.outEdges(o.v),(function(r){var o=e.edge(r),c=r.w,i=e.node(c);i["in"]-=o,h(t,n,i)})),e.removeNode(o.v),i}function u(e,t){var n=new o,i=0,a=0;r.forEach(e.nodes(),(function(e){n.setNode(e,{v:e,in:0,out:0})})),r.forEach(e.edges(),(function(e){var r=n.edge(e.v,e.w)||0,o=t(e),c=r+o;n.setEdge(e.v,e.w,c),a=Math.max(a,n.node(e.v).out+=o),i=Math.max(i,n.node(e.w)["in"]+=o)}));var l=r.range(a+i+3).map((function(){return new c})),s=i+1;return r.forEach(n.nodes(),(function(e){h(l,s,n.node(e))})),{graph:n,buckets:l,zeroIdx:s}}function h(e,t,n){n.out?n["in"]?e[n.out-n["in"]+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},"./node_modules/_dagre@0.8.5@dagre/lib/layout.js": /*!*******************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/layout.js ***! \*******************************************************/ /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./acyclic */"./node_modules/_dagre@0.8.5@dagre/lib/acyclic.js"),c=n(/*! ./normalize */"./node_modules/_dagre@0.8.5@dagre/lib/normalize.js"),i=n(/*! ./rank */"./node_modules/_dagre@0.8.5@dagre/lib/rank/index.js"),a=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").normalizeRanks,l=n(/*! ./parent-dummy-chains */"./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js"),s=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").removeEmptyRanks,u=n(/*! ./nesting-graph */"./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js"),h=n(/*! ./add-border-segments */"./node_modules/_dagre@0.8.5@dagre/lib/add-border-segments.js"),d=n(/*! ./coordinate-system */"./node_modules/_dagre@0.8.5@dagre/lib/coordinate-system.js"),v=n(/*! ./order */"./node_modules/_dagre@0.8.5@dagre/lib/order/index.js"),f=n(/*! ./position */"./node_modules/_dagre@0.8.5@dagre/lib/position/index.js"),_=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js"),p=n(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;function m(e,t){var n=t&&t.debugTiming?_.time:_.notime;n("layout",(function(){var t=n(" buildLayoutGraph",(function(){return L(e)}));n(" runLayout",(function(){g(t,n)})),n(" updateInputGraph",(function(){z(e,t)}))}))}function g(e,t){t(" makeSpaceForEdgeLabels",(function(){C(e)})),t(" removeSelfEdges",(function(){N(e)})),t(" acyclic",(function(){o.run(e)})),t(" nestingGraph.run",(function(){u.run(e)})),t(" rank",(function(){i(_.asNonCompoundGraph(e))})),t(" injectEdgeLabelProxies",(function(){S(e)})),t(" removeEmptyRanks",(function(){s(e)})),t(" nestingGraph.cleanup",(function(){u.cleanup(e)})),t(" normalizeRanks",(function(){a(e)})),t(" assignRankMinMax",(function(){E(e)})),t(" removeEdgeLabelProxies",(function(){T(e)})),t(" normalize.run",(function(){c.run(e)})),t(" parentDummyChains",(function(){l(e)})),t(" addBorderSegments",(function(){h(e)})),t(" order",(function(){v(e)})),t(" insertSelfEdges",(function(){R(e)})),t(" adjustCoordinateSystem",(function(){d.adjust(e)})),t(" position",(function(){f(e)})),t(" positionSelfEdges",(function(){q(e)})),t(" removeBorderNodes",(function(){F(e)})),t(" normalize.undo",(function(){c.undo(e)})),t(" fixupEdgeLabelCoords",(function(){A(e)})),t(" undoCoordinateSystem",(function(){d.undo(e)})),t(" translateGraph",(function(){O(e)})),t(" assignNodeIntersects",(function(){k(e)})),t(" reversePoints",(function(){P(e)})),t(" acyclic.undo",(function(){o.undo(e)}))}function z(e,t){r.forEach(e.nodes(),(function(n){var r=e.node(n),o=t.node(n);r&&(r.x=o.x,r.y=o.y,t.children(n).length&&(r.width=o.width,r.height=o.height))})),r.forEach(e.edges(),(function(n){var o=e.edge(n),c=t.edge(n);o.points=c.points,r.has(c,"x")&&(o.x=c.x,o.y=c.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height}e.exports=m;var y=["nodesep","edgesep","ranksep","marginx","marginy"],M={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},b=["acyclicer","ranker","rankdir","align"],j=["width","height"],w={width:0,height:0},H=["minlen","weight","width","height","labeloffset"],V={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},x=["labelpos"];function L(e){var t=new p({multigraph:!0,compound:!0}),n=D(e.graph());return t.setGraph(r.merge({},M,I(n,y),r.pick(n,b))),r.forEach(e.nodes(),(function(n){var o=D(e.node(n));t.setNode(n,r.defaults(I(o,j),w)),t.setParent(n,e.parent(n))})),r.forEach(e.edges(),(function(n){var o=D(e.edge(n));t.setEdge(n,r.merge({},V,I(o,H),r.pick(o,x)))})),t}function C(e){var t=e.graph();t.ranksep/=2,r.forEach(e.edges(),(function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}function S(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),o=e.node(t.w),c={rank:(o.rank-r.rank)/2+r.rank,e:t};_.addDummyNode(e,"edge-proxy",c,"_ep")}}))}function E(e){var t=0;r.forEach(e.nodes(),(function(n){var o=e.node(n);o.borderTop&&(o.minRank=e.node(o.borderTop).rank,o.maxRank=e.node(o.borderBottom).rank,t=r.max(t,o.maxRank))})),e.graph().maxRank=t}function T(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))}function O(e){var t=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,c=0,i=e.graph(),a=i.marginx||0,l=i.marginy||0;function s(e){var r=e.x,i=e.y,a=e.width,l=e.height;t=Math.min(t,r-a/2),n=Math.max(n,r+a/2),o=Math.min(o,i-l/2),c=Math.max(c,i+l/2)}r.forEach(e.nodes(),(function(t){s(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.has(n,"x")&&s(n)})),t-=a,o-=l,r.forEach(e.nodes(),(function(n){var r=e.node(n);r.x-=t,r.y-=o})),r.forEach(e.edges(),(function(n){var c=e.edge(n);r.forEach(c.points,(function(e){e.x-=t,e.y-=o})),r.has(c,"x")&&(c.x-=t),r.has(c,"y")&&(c.y-=o)})),i.width=n-t+a,i.height=c-o+l}function k(e){r.forEach(e.edges(),(function(t){var n,r,o=e.edge(t),c=e.node(t.v),i=e.node(t.w);o.points?(n=o.points[0],r=o.points[o.points.length-1]):(o.points=[],n=i,r=c),o.points.unshift(_.intersectRect(c,n)),o.points.push(_.intersectRect(i,r))}))}function A(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;break}}))}function P(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);n.reversed&&n.points.reverse()}))}function F(e){r.forEach(e.nodes(),(function(t){if(e.children(t).length){var n=e.node(t),o=e.node(n.borderTop),c=e.node(n.borderBottom),i=e.node(r.last(n.borderLeft)),a=e.node(r.last(n.borderRight));n.width=Math.abs(a.x-i.x),n.height=Math.abs(c.y-o.y),n.x=i.x+n.width/2,n.y=o.y+n.height/2}})),r.forEach(e.nodes(),(function(t){"border"===e.node(t).dummy&&e.removeNode(t)}))}function N(e){r.forEach(e.edges(),(function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}}))}function R(e){var t=_.buildLayerMatrix(e);r.forEach(t,(function(t){var n=0;r.forEach(t,(function(t,o){var c=e.node(t);c.order=o+n,r.forEach(c.selfEdges,(function(t){_.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:c.rank,order:o+ ++n,e:t.e,label:t.label},"_se")})),delete c.selfEdges}))}))}function q(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),o=r.x+r.width/2,c=r.y,i=n.x-o,a=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:o+2*i/3,y:c-a},{x:o+5*i/6,y:c-a},{x:o+i,y:c},{x:o+5*i/6,y:c+a},{x:o+2*i/3,y:c+a}],n.label.x=n.x,n.label.y=n.y}}))}function I(e,t){return r.mapValues(r.pick(e,t),Number)}function D(e){var t={};return r.forEach(e,(function(e,n){t[n.toLowerCase()]=e})),t}},"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js": /*!*******************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/lodash.js ***! \*******************************************************/ /*! no static exports found */function(e,t,n){var r;try{r={cloneDeep:n(/*! lodash/cloneDeep */"./node_modules/_lodash@4.17.15@lodash/cloneDeep.js"),constant:n(/*! lodash/constant */"./node_modules/_lodash@4.17.15@lodash/constant.js"),defaults:n(/*! lodash/defaults */"./node_modules/_lodash@4.17.15@lodash/defaults.js"),each:n(/*! lodash/each */"./node_modules/_lodash@4.17.15@lodash/each.js"),filter:n(/*! lodash/filter */"./node_modules/_lodash@4.17.15@lodash/filter.js"),find:n(/*! lodash/find */"./node_modules/_lodash@4.17.15@lodash/find.js"),flatten:n(/*! lodash/flatten */"./node_modules/_lodash@4.17.15@lodash/flatten.js"),forEach:n(/*! lodash/forEach */"./node_modules/_lodash@4.17.15@lodash/forEach.js"),forIn:n(/*! lodash/forIn */"./node_modules/_lodash@4.17.15@lodash/forIn.js"),has:n(/*! lodash/has */"./node_modules/_lodash@4.17.15@lodash/has.js"),isUndefined:n(/*! lodash/isUndefined */"./node_modules/_lodash@4.17.15@lodash/isUndefined.js"),last:n(/*! lodash/last */"./node_modules/_lodash@4.17.15@lodash/last.js"),map:n(/*! lodash/map */"./node_modules/_lodash@4.17.15@lodash/map.js"),mapValues:n(/*! lodash/mapValues */"./node_modules/_lodash@4.17.15@lodash/mapValues.js"),max:n(/*! lodash/max */"./node_modules/_lodash@4.17.15@lodash/max.js"),merge:n(/*! lodash/merge */"./node_modules/_lodash@4.17.15@lodash/merge.js"),min:n(/*! lodash/min */"./node_modules/_lodash@4.17.15@lodash/min.js"),minBy:n(/*! lodash/minBy */"./node_modules/_lodash@4.17.15@lodash/minBy.js"),now:n(/*! lodash/now */"./node_modules/_lodash@4.17.15@lodash/now.js"),pick:n(/*! lodash/pick */"./node_modules/_lodash@4.17.15@lodash/pick.js"),range:n(/*! lodash/range */"./node_modules/_lodash@4.17.15@lodash/range.js"),reduce:n(/*! lodash/reduce */"./node_modules/_lodash@4.17.15@lodash/reduce.js"),sortBy:n(/*! lodash/sortBy */"./node_modules/_lodash@4.17.15@lodash/sortBy.js"),uniqueId:n(/*! lodash/uniqueId */"./node_modules/_lodash@4.17.15@lodash/uniqueId.js"),values:n(/*! lodash/values */"./node_modules/_lodash@4.17.15@lodash/values.js"),zipObject:n(/*! lodash/zipObject */"./node_modules/_lodash@4.17.15@lodash/zipObject.js")}}catch(o){}r||(r=window._),e.exports=r},"./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js": /*!**************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js ***! \**************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function c(e){var t=o.addDummyNode(e,"root",{},"_root"),n=a(e),c=r.max(r.values(n))-1,s=2*c+1;e.graph().nestingRoot=t,r.forEach(e.edges(),(function(t){e.edge(t).minlen*=s}));var u=l(e)+1;r.forEach(e.children(),(function(r){i(e,t,s,u,c,n,r)})),e.graph().nodeRankFactor=s}function i(e,t,n,c,a,l,s){var u=e.children(s);if(u.length){var h=o.addBorderNode(e,"_bt"),d=o.addBorderNode(e,"_bb"),v=e.node(s);e.setParent(h,s),v.borderTop=h,e.setParent(d,s),v.borderBottom=d,r.forEach(u,(function(r){i(e,t,n,c,a,l,r);var o=e.node(r),u=o.borderTop?o.borderTop:r,v=o.borderBottom?o.borderBottom:r,f=o.borderTop?c:2*c,_=u!==v?1:a-l[s]+1;e.setEdge(h,u,{weight:f,minlen:_,nestingEdge:!0}),e.setEdge(v,d,{weight:f,minlen:_,nestingEdge:!0})})),e.parent(s)||e.setEdge(t,h,{weight:0,minlen:a+l[s]})}else s!==t&&e.setEdge(t,s,{weight:0,minlen:n})}function a(e){var t={};function n(o,c){var i=e.children(o);i&&i.length&&r.forEach(i,(function(e){n(e,c+1)})),t[o]=c}return r.forEach(e.children(),(function(e){n(e,1)})),t}function l(e){return r.reduce(e.edges(),(function(t,n){return t+e.edge(n).weight}),0)}function s(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,r.forEach(e.edges(),(function(t){var n=e.edge(t);n.nestingEdge&&e.removeEdge(t)}))}e.exports={run:c,cleanup:s}},"./node_modules/_dagre@0.8.5@dagre/lib/normalize.js": /*!**********************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/normalize.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function c(e){e.graph().dummyChains=[],r.forEach(e.edges(),(function(t){i(e,t)}))}function i(e,t){var n=t.v,r=e.node(n).rank,c=t.w,i=e.node(c).rank,a=t.name,l=e.edge(t),s=l.labelRank;if(i!==r+1){var u,h,d;for(e.removeEdge(t),d=0,++r;r0)t%2&&(n+=l[t+1]),t=t-1>>1,l[t]+=e.weight;s+=e.weight*n}))),s}e.exports=o},"./node_modules/_dagre@0.8.5@dagre/lib/order/index.js": /*!************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/index.js ***! \************************************************************/ /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./init-order */"./node_modules/_dagre@0.8.5@dagre/lib/order/init-order.js"),c=n(/*! ./cross-count */"./node_modules/_dagre@0.8.5@dagre/lib/order/cross-count.js"),i=n(/*! ./sort-subgraph */"./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js"),a=n(/*! ./build-layer-graph */"./node_modules/_dagre@0.8.5@dagre/lib/order/build-layer-graph.js"),l=n(/*! ./add-subgraph-constraints */"./node_modules/_dagre@0.8.5@dagre/lib/order/add-subgraph-constraints.js"),s=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,u=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function h(e){var t=u.maxRank(e),n=d(e,r.range(1,t+1),"inEdges"),i=d(e,r.range(t-1,-1,-1),"outEdges"),a=o(e);f(e,a);for(var l,s=Number.POSITIVE_INFINITY,h=0,_=0;_<4;++h,++_){v(h%2?n:i,h%4>=2),a=u.buildLayerMatrix(e);var p=c(e,a);p=e.barycenter)&&i(e,t)}}function o(t){return function(n){n["in"].push(t),0===--n.indegree&&e.push(n)}}while(e.length){var c=e.pop();t.push(c),r.forEach(c["in"].reverse(),n(c)),r.forEach(c.out,o(c))}return r.map(r.filter(t,(function(e){return!e.merged})),(function(e){return r.pick(e,["vs","i","barycenter","weight"])}))}function i(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}e.exports=o},"./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js": /*!********************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js ***! \********************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./barycenter */"./node_modules/_dagre@0.8.5@dagre/lib/order/barycenter.js"),c=n(/*! ./resolve-conflicts */"./node_modules/_dagre@0.8.5@dagre/lib/order/resolve-conflicts.js"),i=n(/*! ./sort */"./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js");function a(e,t,n,u){var h=e.children(t),d=e.node(t),v=d?d.borderLeft:void 0,f=d?d.borderRight:void 0,_={};v&&(h=r.filter(h,(function(e){return e!==v&&e!==f})));var p=o(e,h);r.forEach(p,(function(t){if(e.children(t.v).length){var o=a(e,t.v,n,u);_[t.v]=o,r.has(o,"barycenter")&&s(t,o)}}));var m=c(p,n);l(m,_);var g=i(m,u);if(v&&(g.vs=r.flatten([v,g.vs,f],!0),e.predecessors(v).length)){var z=e.node(e.predecessors(v)[0]),y=e.node(e.predecessors(f)[0]);r.has(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+z.order+y.order)/(g.weight+2),g.weight+=2}return g}function l(e,t){r.forEach(e,(function(e){e.vs=r.flatten(e.vs.map((function(e){return t[e]?t[e].vs:e})),!0)}))}function s(e,t){r.isUndefined(e.barycenter)?(e.barycenter=t.barycenter,e.weight=t.weight):(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight)}e.exports=a},"./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js": /*!***********************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js ***! \***********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function c(e,t){var n=o.partition(e,(function(e){return r.has(e,"barycenter")})),c=n.lhs,l=r.sortBy(n.rhs,(function(e){return-e.i})),s=[],u=0,h=0,d=0;c.sort(a(!!t)),d=i(s,l,d),r.forEach(c,(function(e){d+=e.vs.length,s.push(e.vs),u+=e.barycenter*e.weight,h+=e.weight,d=i(s,l,d)}));var v={vs:r.flatten(s,!0)};return h&&(v.barycenter=u/h,v.weight=h),v}function i(e,t,n){var o;while(t.length&&(o=r.last(t)).i<=n)t.pop(),e.push(o.vs),n++;return n}function a(e){return function(t,n){return t.barycentern.barycenter?1:e?n.i-t.i:t.i-n.i}}e.exports=c},"./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js": /*!********************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js ***! \********************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function o(e){var t=i(e);r.forEach(e.graph().dummyChains,(function(n){var r=e.node(n),o=r.edgeObj,i=c(e,t,o.v,o.w),a=i.path,l=i.lca,s=0,u=a[s],h=!0;while(n!==o.w){if(r=e.node(n),h){while((u=a[s])!==l&&e.node(u).maxRankl||s>t[o].lim));c=o,o=r;while((o=e.parent(o))!==c)a.push(o);return{path:i.concat(a.reverse()),lca:c}}function i(e){var t={},n=0;function o(c){var i=n;r.forEach(e.children(c),o),t[c]={low:i,lim:n++}}return r.forEach(e.children(),o),t}e.exports=o},"./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js": /*!************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js ***! \************************************************************/ /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,c=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(e,t){var n={};function o(t,o){var c=0,i=0,a=t.length,u=r.last(o);return r.forEach(o,(function(t,h){var d=l(e,t),v=d?e.node(d).order:a;(d||t===u)&&(r.forEach(o.slice(i,h+1),(function(t){r.forEach(e.predecessors(t),(function(r){var o=e.node(r),i=o.order;!(ia)&&s(n,t,l)}))}))}function c(t,n){var c,i=-1,a=0;return r.forEach(n,(function(r,l){if("border"===e.node(r).dummy){var s=e.predecessors(r);s.length&&(c=e.node(s[0]).order,o(n,a,l,i,c),a=l,i=c)}o(n,a,n.length,c,t.length)})),n}return r.reduce(t,c),n}function l(e,t){if(e.node(t).dummy)return r.find(e.predecessors(t),(function(t){return e.node(t).dummy}))}function s(e,t,n){if(t>n){var r=t;t=n,n=r}var o=e[t];o||(e[t]=o={}),o[n]=!0}function u(e,t,n){if(t>n){var o=t;t=n,n=o}return r.has(e[t],n)}function h(e,t,n,o){var c={},i={},a={};return r.forEach(t,(function(e){r.forEach(e,(function(e,t){c[e]=e,i[e]=e,a[e]=t}))})),r.forEach(t,(function(e){var t=-1;r.forEach(e,(function(e){var l=o(e);if(l.length){l=r.sortBy(l,(function(e){return a[e]}));for(var s=(l.length-1)/2,h=Math.floor(s),d=Math.ceil(s);h<=d;++h){var v=l[h];i[e]===e&&tl.lim&&(s=l,u=!0);var h=r.filter(t.edges(),(function(t){return u===M(e,e.node(t.v),s)&&u!==M(e,e.node(t.w),s)}));return r.minBy(h,(function(e){return c(t,e)}))}function g(e,t,n,r){var o=n.v,c=n.w;e.removeEdge(o,c),e.setEdge(r.v,r.w,{}),f(e),h(e,t),z(e,t)}function z(e,t){var n=r.find(e.nodes(),(function(e){return!t.node(e).parent})),o=a(e,n);o=o.slice(1),r.forEach(o,(function(n){var r=e.node(n).parent,o=t.edge(n,r),c=!1;o||(o=t.edge(r,n),c=!0),t.node(n).rank=t.node(r).rank+(c?o.minlen:-o.minlen)}))}function y(e,t,n){return e.hasEdge(t,n)}function M(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=u,u.initLowLimValues=f,u.initCutValues=h,u.calcCutValue=v,u.leaveEdge=p,u.enterEdge=m,u.exchangeEdges=g},"./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js": /*!**********************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function o(e){var t={};function n(o){var c=e.node(o);if(r.has(t,o))return c.rank;t[o]=!0;var i=r.min(r.map(e.outEdges(o),(function(t){return n(t.w)-e.edge(t).minlen})));return i!==Number.POSITIVE_INFINITY&&void 0!==i&&null!==i||(i=0),c.rank=i}r.forEach(e.sources(),n)}function c(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}e.exports={longestPath:o,slack:c}},"./node_modules/_dagre@0.8.5@dagre/lib/util.js": /*!*****************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/util.js ***! \*****************************************************/ /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;function c(e,t,n,o){var c;do{c=r.uniqueId(o)}while(e.hasNode(c));return n.dummy=t,e.setNode(c,n),c}function i(e){var t=(new o).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},o=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),t}function a(e){var t=new o({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){e.children(n).length||t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){t.setEdge(n,e.edge(n))})),t}function l(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.outEdges(t),(function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)}function s(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.inEdges(t),(function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)}function u(e,t){var n,r,o=e.x,c=e.y,i=t.x-o,a=t.y-c,l=e.width/2,s=e.height/2;if(!i&&!a)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*l>Math.abs(i)*s?(a<0&&(s=-s),n=s*i/a,r=s):(i<0&&(l=-l),n=l,r=l*a/i),{x:o+n,y:c+r}}function h(e){var t=r.map(r.range(_(e)+1),(function(){return[]}));return r.forEach(e.nodes(),(function(n){var o=e.node(n),c=o.rank;r.isUndefined(c)||(t[c][o.order]=n)})),t}function d(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank})));r.forEach(e.nodes(),(function(n){var o=e.node(n);r.has(o,"rank")&&(o.rank-=t)}))}function v(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank}))),n=[];r.forEach(e.nodes(),(function(r){var o=e.node(r).rank-t;n[o]||(n[o]=[]),n[o].push(r)}));var o=0,c=e.graph().nodeRankFactor;r.forEach(n,(function(t,n){r.isUndefined(t)&&n%c!==0?--o:o&&r.forEach(t,(function(t){e.node(t).rank+=o}))}))}function f(e,t,n,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=n,o.order=r),c(e,"border",o,t)}function _(e){return r.max(r.map(e.nodes(),(function(t){var n=e.node(t).rank;if(!r.isUndefined(n))return n})))}function p(e,t){var n={lhs:[],rhs:[]};return r.forEach(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n}function m(e,t){r.now();try{return t()}finally{}}function g(e,t){return t()}e.exports={addDummyNode:c,simplify:i,asNonCompoundGraph:a,successorWeights:l,predecessorWeights:s,intersectRect:u,buildLayerMatrix:h,normalizeRanks:d,removeEmptyRanks:v,addBorderNode:f,maxRank:_,partition:p,time:m,notime:g}},"./node_modules/_dagre@0.8.5@dagre/lib/version.js": /*!********************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/version.js ***! \********************************************************/ /*! no static exports found */function(e,t){e.exports="0.8.5"},"./node_modules/_graphlib@2.1.8@graphlib/index.js": /*!********************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/index.js ***! \********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./lib */"./node_modules/_graphlib@2.1.8@graphlib/lib/index.js");e.exports={Graph:r.Graph,json:n(/*! ./lib/json */"./node_modules/_graphlib@2.1.8@graphlib/lib/json.js"),alg:n(/*! ./lib/alg */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/index.js"),version:r.version}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/components.js": /*!*********************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/components.js ***! \*********************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(e){var t,n={},o=[];function c(o){r.has(n,o)||(n[o]=!0,t.push(o),r.each(e.successors(o),c),r.each(e.predecessors(o),c))}return r.each(e.nodes(),(function(e){t=[],c(e),t.length&&o.push(t)})),o}e.exports=o},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js": /*!**************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js ***! \**************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(e,t,n){r.isArray(t)||(t=[t]);var o=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],a={};return r.each(t,(function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);c(e,t,"post"===n,a,o,i)})),i}function c(e,t,n,o,i,a){r.has(o,t)||(o[t]=!0,n||a.push(t),r.each(i(t),(function(t){c(e,t,n,o,i,a)})),n&&a.push(t))}e.exports=o},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js": /*!***********************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js ***! \***********************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./dijkstra */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js"),o=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function c(e,t,n){return o.transform(e.nodes(),(function(o,c){o[c]=r(e,c,t,n)}),{})}e.exports=c},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js": /*!*******************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js ***! \*******************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n(/*! ../data/priority-queue */"./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js");e.exports=i;var c=r.constant(1);function i(e,t,n,r){return a(e,String(t),n||c,r||function(t){return e.outEdges(t)})}function a(e,t,n,r){var c,i,a={},l=new o,s=function(e){var t=e.v!==c?e.v:e.w,r=a[t],o=n(e),s=i.distance+o;if(o<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+o);s0){if(c=l.removeMin(),i=a[c],i.distance===Number.POSITIVE_INFINITY)break;r(c).forEach(s)}return a}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js": /*!**********************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js ***! \**********************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n(/*! ./tarjan */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js");function c(e){return r.filter(o(e),(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])}))}e.exports=c},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js": /*!*************************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js ***! \*************************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");e.exports=c;var o=r.constant(1);function c(e,t,n){return i(e,t||o,n||function(t){return e.outEdges(t)})}function i(e,t,n){var r={},o=e.nodes();return o.forEach((function(e){r[e]={},r[e][e]={distance:0},o.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var o=n.v===e?n.w:n.v,c=t(n);r[e][o]={distance:c,predecessor:e}}))})),o.forEach((function(e){var t=r[e];o.forEach((function(n){var c=r[n];o.forEach((function(n){var r=c[e],o=t[n],i=c[n],a=r.distance+o.distance;a0){if(n=l.removeMin(),r.has(a,n))i.setEdge(n,a[n]);else{if(u)throw new Error("Input graph is not connected: "+e);u=!0}e.nodeEdges(n).forEach(s)}return i}e.exports=i},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js": /*!*****************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js ***! \*****************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(e){var t=0,n=[],o={},c=[];function i(a){var l=o[a]={onStack:!0,lowlink:t,index:t++};if(n.push(a),e.successors(a).forEach((function(e){r.has(o,e)?o[e].onStack&&(l.lowlink=Math.min(l.lowlink,o[e].index)):(i(e),l.lowlink=Math.min(l.lowlink,o[e].lowlink))})),l.lowlink===l.index){var s,u=[];do{s=n.pop(),o[s].onStack=!1,u.push(s)}while(a!==s);c.push(u)}}return e.nodes().forEach((function(e){r.has(o,e)||i(e)})),c}e.exports=o},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js": /*!******************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js ***! \******************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(e){var t={},n={},o=[];function i(a){if(r.has(n,a))throw new c;r.has(t,a)||(n[a]=!0,t[a]=!0,r.each(e.predecessors(a),i),delete n[a],o.push(a))}if(r.each(e.sinks(),i),r.size(t)!==e.nodeCount())throw new c;return o}function c(){}e.exports=o,o.CycleException=c,c.prototype=new Error},"./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js": /*!**************************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js ***! \**************************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(){this._arr=[],this._keyIndices={}}e.exports=o,o.prototype.size=function(){return this._arr.length},o.prototype.keys=function(){return this._arr.map((function(e){return e.key}))},o.prototype.has=function(e){return r.has(this._keyIndices,e)},o.prototype.priority=function(e){var t=this._keyIndices[e];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(e,t){var n=this._keyIndices;if(e=String(e),!r.has(n,e)){var o=this._arr,c=o.length;return n[e]=c,o.push({key:e,priority:t}),this._decrease(c),!0}return!1},o.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},o.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},o.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,o=e;n>1,n[t].priorityl){var s=a;a=l,l=s}return a+i+l+i+(r.isUndefined(c)?o:c)}function h(e,t,n,r){var o=""+t,c=""+n;if(!e&&o>c){var i=o;o=c,c=i}var a={v:o,w:c};return r&&(a.name=r),a}function d(e,t){return u(e,t.v,t.w,t.name)}a.prototype._nodeCount=0,a.prototype._edgeCount=0,a.prototype.isDirected=function(){return this._isDirected},a.prototype.isMultigraph=function(){return this._isMultigraph},a.prototype.isCompound=function(){return this._isCompound},a.prototype.setGraph=function(e){return this._label=e,this},a.prototype.graph=function(){return this._label},a.prototype.setDefaultNodeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultNodeLabelFn=e,this},a.prototype.nodeCount=function(){return this._nodeCount},a.prototype.nodes=function(){return r.keys(this._nodes)},a.prototype.sources=function(){var e=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(e._in[t])}))},a.prototype.sinks=function(){var e=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(e._out[t])}))},a.prototype.setNodes=function(e,t){var n=arguments,o=this;return r.each(e,(function(e){n.length>1?o.setNode(e,t):o.setNode(e)})),this},a.prototype.setNode=function(e,t){return r.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=c,this._children[e]={},this._children[c][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},a.prototype.node=function(e){return this._nodes[e]},a.prototype.hasNode=function(e){return r.has(this._nodes,e)},a.prototype.removeNode=function(e){var t=this;if(r.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],r.each(this.children(e),(function(e){t.setParent(e)})),delete this._children[e]),r.each(r.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],r.each(r.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},a.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(t))t=c;else{t+="";for(var n=t;!r.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},a.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},a.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if(t!==c)return t}},a.prototype.children=function(e){if(r.isUndefined(e)&&(e=c),this._isCompound){var t=this._children[e];if(t)return r.keys(t)}else{if(e===c)return this.nodes();if(this.hasNode(e))return[]}},a.prototype.predecessors=function(e){var t=this._preds[e];if(t)return r.keys(t)},a.prototype.successors=function(e){var t=this._sucs[e];if(t)return r.keys(t)},a.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return r.union(t,this.successors(e))},a.prototype.isLeaf=function(e){var t;return t=this.isDirected()?this.successors(e):this.neighbors(e),0===t.length},a.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;r.each(this._nodes,(function(n,r){e(r)&&t.setNode(r,n)})),r.each(this._edgeObjs,(function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))}));var o={};function c(e){var r=n.parent(e);return void 0===r||t.hasNode(r)?(o[e]=r,r):r in o?o[r]:c(r)}return this._isCompound&&r.each(t.nodes(),(function(e){t.setParent(e,c(e))})),t},a.prototype.setDefaultEdgeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultEdgeLabelFn=e,this},a.prototype.edgeCount=function(){return this._edgeCount},a.prototype.edges=function(){return r.values(this._edgeObjs)},a.prototype.setPath=function(e,t){var n=this,o=arguments;return r.reduce(e,(function(e,r){return o.length>1?n.setEdge(e,r,t):n.setEdge(e,r),r})),this},a.prototype.setEdge=function(){var e,t,n,o,c=!1,i=arguments[0];"object"===typeof i&&null!==i&&"v"in i?(e=i.v,t=i.w,n=i.name,2===arguments.length&&(o=arguments[1],c=!0)):(e=i,t=arguments[1],n=arguments[3],arguments.length>2&&(o=arguments[2],c=!0)),e=""+e,t=""+t,r.isUndefined(n)||(n=""+n);var a=u(this._isDirected,e,t,n);if(r.has(this._edgeLabels,a))return c&&(this._edgeLabels[a]=o),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[a]=c?o:this._defaultEdgeLabelFn(e,t,n);var s=h(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[a]=s,l(this._preds[t],e),l(this._sucs[e],t),this._in[t][a]=s,this._out[e][a]=s,this._edgeCount++,this},a.prototype.edge=function(e,t,n){var r=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return this._edgeLabels[r]},a.prototype.hasEdge=function(e,t,n){var o=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return r.has(this._edgeLabels,o)},a.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n),o=this._edgeObjs[r];return o&&(e=o.v,t=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],s(this._preds[t],e),s(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},a.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var o=r.values(n);return t?r.filter(o,(function(e){return e.v===t})):o}},a.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var o=r.values(n);return t?r.filter(o,(function(e){return e.w===t})):o}},a.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}},"./node_modules/_graphlib@2.1.8@graphlib/lib/index.js": /*!************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/index.js ***! \************************************************************/ /*! no static exports found */function(e,t,n){e.exports={Graph:n(/*! ./graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js"),version:n(/*! ./version */"./node_modules/_graphlib@2.1.8@graphlib/lib/version.js")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/json.js": /*!***********************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/json.js ***! \***********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n(/*! ./graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js");function c(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:i(e),edges:a(e)};return r.isUndefined(e.graph())||(t.value=r.clone(e.graph())),t}function i(e){return r.map(e.nodes(),(function(t){var n=e.node(t),o=e.parent(t),c={v:t};return r.isUndefined(n)||(c.value=n),r.isUndefined(o)||(c.parent=o),c}))}function a(e){return r.map(e.edges(),(function(t){var n=e.edge(t),o={v:t.v,w:t.w};return r.isUndefined(t.name)||(o.name=t.name),r.isUndefined(n)||(o.value=n),o}))}function l(e){var t=new o(e.options).setGraph(e.value);return r.each(e.nodes,(function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)})),r.each(e.edges,(function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)})),t}e.exports={write:c,read:l}},"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js": /*!*************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r;try{r={clone:n(/*! lodash/clone */"./node_modules/_lodash@4.17.15@lodash/clone.js"),constant:n(/*! lodash/constant */"./node_modules/_lodash@4.17.15@lodash/constant.js"),each:n(/*! lodash/each */"./node_modules/_lodash@4.17.15@lodash/each.js"),filter:n(/*! lodash/filter */"./node_modules/_lodash@4.17.15@lodash/filter.js"),has:n(/*! lodash/has */"./node_modules/_lodash@4.17.15@lodash/has.js"),isArray:n(/*! lodash/isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js"),isEmpty:n(/*! lodash/isEmpty */"./node_modules/_lodash@4.17.15@lodash/isEmpty.js"),isFunction:n(/*! lodash/isFunction */"./node_modules/_lodash@4.17.15@lodash/isFunction.js"),isUndefined:n(/*! lodash/isUndefined */"./node_modules/_lodash@4.17.15@lodash/isUndefined.js"),keys:n(/*! lodash/keys */"./node_modules/_lodash@4.17.15@lodash/keys.js"),map:n(/*! lodash/map */"./node_modules/_lodash@4.17.15@lodash/map.js"),reduce:n(/*! lodash/reduce */"./node_modules/_lodash@4.17.15@lodash/reduce.js"),size:n(/*! lodash/size */"./node_modules/_lodash@4.17.15@lodash/size.js"),transform:n(/*! lodash/transform */"./node_modules/_lodash@4.17.15@lodash/transform.js"),union:n(/*! lodash/union */"./node_modules/_lodash@4.17.15@lodash/union.js"),values:n(/*! lodash/values */"./node_modules/_lodash@4.17.15@lodash/values.js")}}catch(o){}r||(r=window._),e.exports=r},"./node_modules/_graphlib@2.1.8@graphlib/lib/version.js": /*!**************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/version.js ***! \**************************************************************/ /*! no static exports found */function(e,t){e.exports="2.1.8"},"./node_modules/_isarray@0.0.1@isarray/index.js": /*!******************************************************!*\ !*** ./node_modules/_isarray@0.0.1@isarray/index.js ***! \******************************************************/ /*! no static exports found */function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},"./node_modules/_lodash@4.17.15@lodash/_DataView.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_DataView.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.15@lodash/_getNative.js"),o=n(/*! ./_root */"./node_modules/_lodash@4.17.15@lodash/_root.js"),c=r(o,"DataView");e.exports=c},"./node_modules/_lodash@4.17.15@lodash/_Hash.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_Hash.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_hashClear */"./node_modules/_lodash@4.17.15@lodash/_hashClear.js"),o=n(/*! ./_hashDelete */"./node_modules/_lodash@4.17.15@lodash/_hashDelete.js"),c=n(/*! ./_hashGet */"./node_modules/_lodash@4.17.15@lodash/_hashGet.js"),i=n(/*! ./_hashHas */"./node_modules/_lodash@4.17.15@lodash/_hashHas.js"),a=n(/*! ./_hashSet */"./node_modules/_lodash@4.17.15@lodash/_hashSet.js");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t-1}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_arrayIncludesWith.js": /*!*******************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_arrayIncludesWith.js ***! \*******************************************************************/ /*! no static exports found */function(e,t){function n(e,t,n){var r=-1,o=null==e?0:e.length;while(++r0&&n(u)?t>1?c(u,t-1,n,i,a):r(a,u):i||(a[a.length]=u)}return a}e.exports=c},"./node_modules/_lodash@4.17.15@lodash/_baseFor.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseFor.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_createBaseFor */"./node_modules/_lodash@4.17.15@lodash/_createBaseFor.js"),o=r();e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js ***! \************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseFor */"./node_modules/_lodash@4.17.15@lodash/_baseFor.js"),o=n(/*! ./keys */"./node_modules/_lodash@4.17.15@lodash/keys.js");function c(e,t){return e&&r(e,t,o)}e.exports=c},"./node_modules/_lodash@4.17.15@lodash/_baseGet.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseGet.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_castPath */"./node_modules/_lodash@4.17.15@lodash/_castPath.js"),o=n(/*! ./_toKey */"./node_modules/_lodash@4.17.15@lodash/_toKey.js");function c(e,t){t=r(t,e);var n=0,c=t.length;while(null!=e&&nt}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_baseHas.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseHas.js ***! \*********************************************************/ /*! no static exports found */function(e,t){var n=Object.prototype,r=n.hasOwnProperty;function o(e,t){return null!=e&&r.call(e,t)}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_baseHasIn.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseHasIn.js ***! \***********************************************************/ /*! no static exports found */function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_baseIndexOf.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIndexOf.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseFindIndex */"./node_modules/_lodash@4.17.15@lodash/_baseFindIndex.js"),o=n(/*! ./_baseIsNaN */"./node_modules/_lodash@4.17.15@lodash/_baseIsNaN.js"),c=n(/*! ./_strictIndexOf */"./node_modules/_lodash@4.17.15@lodash/_strictIndexOf.js");function i(e,t,n){return t===t?c(e,t,n):r(e,o,n)}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/_baseIsArguments.js": /*!*****************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsArguments.js ***! \*****************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),c="[object Arguments]";function i(e){return o(e)&&r(e)==c}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseIsEqualDeep */"./node_modules/_lodash@4.17.15@lodash/_baseIsEqualDeep.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js");function c(e,t,n,i,a){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:r(e,t,n,i,c,a))}e.exports=c},"./node_modules/_lodash@4.17.15@lodash/_baseIsEqualDeep.js": /*!*****************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsEqualDeep.js ***! \*****************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_Stack */"./node_modules/_lodash@4.17.15@lodash/_Stack.js"),o=n(/*! ./_equalArrays */"./node_modules/_lodash@4.17.15@lodash/_equalArrays.js"),c=n(/*! ./_equalByTag */"./node_modules/_lodash@4.17.15@lodash/_equalByTag.js"),i=n(/*! ./_equalObjects */"./node_modules/_lodash@4.17.15@lodash/_equalObjects.js"),a=n(/*! ./_getTag */"./node_modules/_lodash@4.17.15@lodash/_getTag.js"),l=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js"),s=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),u=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.15@lodash/isTypedArray.js"),h=1,d="[object Arguments]",v="[object Array]",f="[object Object]",_=Object.prototype,p=_.hasOwnProperty;function m(e,t,n,_,m,g){var z=l(e),y=l(t),M=z?v:a(e),b=y?v:a(t);M=M==d?f:M,b=b==d?f:b;var j=M==f,w=b==f,H=M==b;if(H&&s(e)){if(!s(t))return!1;z=!0,j=!1}if(H&&!j)return g||(g=new r),z||u(e)?o(e,t,n,_,m,g):c(e,t,M,n,_,m,g);if(!(n&h)){var V=j&&p.call(e,"__wrapped__"),x=w&&p.call(t,"__wrapped__");if(V||x){var L=V?e.value():e,C=x?t.value():t;return g||(g=new r),m(L,C,n,_,g)}}return!!H&&(g||(g=new r),i(e,t,n,_,m,g))}e.exports=m},"./node_modules/_lodash@4.17.15@lodash/_baseIsMap.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsMap.js ***! \***********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_getTag */"./node_modules/_lodash@4.17.15@lodash/_getTag.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),c="[object Map]";function i(e){return o(e)&&r(e)==c}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/_baseIsMatch.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsMatch.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_Stack */"./node_modules/_lodash@4.17.15@lodash/_Stack.js"),o=n(/*! ./_baseIsEqual */"./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js"),c=1,i=2;function a(e,t,n,a){var l=n.length,s=l,u=!a;if(null==e)return!s;e=Object(e);while(l--){var h=n[l];if(u&&h[2]?h[1]!==e[h[0]]:!(h[0]in e))return!1}while(++l=s){var p=t?null:a(e);if(p)return l(p);v=!1,h=i,_=new r}else _=t?[]:f;e:while(++ut||i&&a&&s&&!l&&!u||o&&a&&s||!n&&s||!c)return 1;if(!o&&!i&&!u&&e=l)return s;var u=n[o];return s*("desc"==u?-1:1)}}return e.index-t.index}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_copyArray.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_copyArray.js ***! \***********************************************************/ /*! no static exports found */function(e,t){function n(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++n1?n[c-1]:void 0,a=c>2?n[2]:void 0;i=e.length>3&&"function"==typeof i?(c--,i):void 0,a&&o(n[0],n[1],a)&&(i=c<3?void 0:i,c=1),t=Object(t);while(++r-1?a[l?t[s]:s]:void 0}}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/_createRange.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_createRange.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseRange */"./node_modules/_lodash@4.17.15@lodash/_baseRange.js"),o=n(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js"),c=n(/*! ./toFinite */"./node_modules/_lodash@4.17.15@lodash/toFinite.js");function i(e){return function(t,n,i){return i&&"number"!=typeof i&&o(t,n,i)&&(n=i=void 0),t=c(t),void 0===n?(n=t,t=0):n=c(n),i=void 0===i?td))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var _=-1,p=!0,m=n&a?new r:void 0;u.set(e,t),u.set(t,e);while(++_-1&&e%1==0&&e-1}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_listCacheSet.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_listCacheSet.js ***! \**************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_assocIndexOf */"./node_modules/_lodash@4.17.15@lodash/_assocIndexOf.js");function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapCacheClear.js": /*!***************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheClear.js ***! \***************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_Hash */"./node_modules/_lodash@4.17.15@lodash/_Hash.js"),o=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.15@lodash/_ListCache.js"),c=n(/*! ./_Map */"./node_modules/_lodash@4.17.15@lodash/_Map.js");function i(){this.size=0,this.__data__={hash:new r,map:new(c||o),string:new r}}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/_mapCacheDelete.js": /*!****************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheDelete.js ***! \****************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.15@lodash/_getMapData.js");function o(e){var t=r(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapCacheGet.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheGet.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.15@lodash/_getMapData.js");function o(e){return r(this,e).get(e)}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapCacheHas.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheHas.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.15@lodash/_getMapData.js");function o(e){return r(this,e).has(e)}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapCacheSet.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheSet.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.15@lodash/_getMapData.js");function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapToArray.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapToArray.js ***! \************************************************************/ /*! no static exports found */function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_matchesStrictComparable.js": /*!*************************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_matchesStrictComparable.js ***! \*************************************************************************/ /*! no static exports found */function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_memoizeCapped.js": /*!***************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_memoizeCapped.js ***! \***************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./memoize */"./node_modules/_lodash@4.17.15@lodash/memoize.js"),o=500;function c(e){var t=r(e,(function(e){return n.size===o&&n.clear(),e})),n=t.cache;return t}e.exports=c},"./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js ***! \**************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.15@lodash/_getNative.js"),o=r(Object,"create");e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_nativeKeys.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_nativeKeys.js ***! \************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_overArg */"./node_modules/_lodash@4.17.15@lodash/_overArg.js"),o=r(Object.keys,Object);e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_nativeKeysIn.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_nativeKeysIn.js ***! \**************************************************************/ /*! no static exports found */function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){(function(e){var r=n(/*! ./_freeGlobal */"./node_modules/_lodash@4.17.15@lodash/_freeGlobal.js"),o=t&&!t.nodeType&&t,c=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=c&&c.exports===o,a=i&&r.process,l=function(){try{var e=c&&c.require&&c.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=l}).call(this,n(/*! ./../_webpack@4.42.1@webpack/buildin/module.js */"./node_modules/_webpack@4.42.1@webpack/buildin/module.js")(e))},"./node_modules/_lodash@4.17.15@lodash/_objectToString.js": /*!****************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_objectToString.js ***! \****************************************************************/ /*! no static exports found */function(e,t){var n=Object.prototype,r=n.toString;function o(e){return r.call(e)}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_overArg.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_overArg.js ***! \*********************************************************/ /*! no static exports found */function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_overRest.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_overRest.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_apply */"./node_modules/_lodash@4.17.15@lodash/_apply.js"),o=Math.max;function c(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){var c=arguments,i=-1,a=o(c.length-t,0),l=Array(a);while(++i0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}e.exports=c},"./node_modules/_lodash@4.17.15@lodash/_stackClear.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackClear.js ***! \************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.15@lodash/_ListCache.js");function o(){this.__data__=new r,this.size=0}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/_stackDelete.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackDelete.js ***! \*************************************************************/ /*! no static exports found */function(e,t){function n(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_stackGet.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackGet.js ***! \**********************************************************/ /*! no static exports found */function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_stackHas.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackHas.js ***! \**********************************************************/ /*! no static exports found */function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/_stackSet.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackSet.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.15@lodash/_ListCache.js"),o=n(/*! ./_Map */"./node_modules/_lodash@4.17.15@lodash/_Map.js"),c=n(/*! ./_MapCache */"./node_modules/_lodash@4.17.15@lodash/_MapCache.js"),i=200;function a(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length2?t[2]:void 0;s&&c(t[0],t[1],s)&&(r=1);while(++n-1&&e%1==0&&e<=n}e.exports=r},"./node_modules/_lodash@4.17.15@lodash/isMap.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isMap.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseIsMap */"./node_modules/_lodash@4.17.15@lodash/_baseIsMap.js"),o=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),c=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),i=c&&c.isMap,a=i?o(i):r;e.exports=a},"./node_modules/_lodash@4.17.15@lodash/isObject.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isObject.js ***! \*********************************************************/ /*! no static exports found */function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isObjectLike.js ***! \*************************************************************/ /*! no static exports found */function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/isPlainObject.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isPlainObject.js ***! \**************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n(/*! ./_getPrototype */"./node_modules/_lodash@4.17.15@lodash/_getPrototype.js"),c=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object Object]",a=Function.prototype,l=Object.prototype,s=a.toString,u=l.hasOwnProperty,h=s.call(Object);function d(e){if(!c(e)||r(e)!=i)return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==h}e.exports=d},"./node_modules/_lodash@4.17.15@lodash/isSet.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isSet.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseIsSet */"./node_modules/_lodash@4.17.15@lodash/_baseIsSet.js"),o=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),c=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),i=c&&c.isSet,a=i?o(i):r;e.exports=a},"./node_modules/_lodash@4.17.15@lodash/isString.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isString.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js"),c=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object String]";function a(e){return"string"==typeof e||!o(e)&&c(e)&&r(e)==i}e.exports=a},"./node_modules/_lodash@4.17.15@lodash/isSymbol.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isSymbol.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),c="[object Symbol]";function i(e){return"symbol"==typeof e||o(e)&&r(e)==c}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/isTypedArray.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isTypedArray.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseIsTypedArray */"./node_modules/_lodash@4.17.15@lodash/_baseIsTypedArray.js"),o=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),c=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),i=c&&c.isTypedArray,a=i?o(i):r;e.exports=a},"./node_modules/_lodash@4.17.15@lodash/isUndefined.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isUndefined.js ***! \************************************************************/ /*! no static exports found */function(e,t){function n(e){return void 0===e}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/keys.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/keys.js ***! \*****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_arrayLikeKeys */"./node_modules/_lodash@4.17.15@lodash/_arrayLikeKeys.js"),o=n(/*! ./_baseKeys */"./node_modules/_lodash@4.17.15@lodash/_baseKeys.js"),c=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.15@lodash/isArrayLike.js");function i(e){return c(e)?r(e):o(e)}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/keysIn.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/keysIn.js ***! \*******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_arrayLikeKeys */"./node_modules/_lodash@4.17.15@lodash/_arrayLikeKeys.js"),o=n(/*! ./_baseKeysIn */"./node_modules/_lodash@4.17.15@lodash/_baseKeysIn.js"),c=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.15@lodash/isArrayLike.js");function i(e){return c(e)?r(e,!0):o(e)}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/last.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/last.js ***! \*****************************************************/ /*! no static exports found */function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/map.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/map.js ***! \****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_arrayMap */"./node_modules/_lodash@4.17.15@lodash/_arrayMap.js"),o=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),c=n(/*! ./_baseMap */"./node_modules/_lodash@4.17.15@lodash/_baseMap.js"),i=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js");function a(e,t){var n=i(e)?r:c;return n(e,o(t,3))}e.exports=a},"./node_modules/_lodash@4.17.15@lodash/mapValues.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/mapValues.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseAssignValue */"./node_modules/_lodash@4.17.15@lodash/_baseAssignValue.js"),o=n(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js"),c=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js");function i(e,t){var n={};return t=c(t,3),o(e,(function(e,o,c){r(n,o,t(e,o,c))})),n}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/max.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/max.js ***! \****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n(/*! ./_baseGt */"./node_modules/_lodash@4.17.15@lodash/_baseGt.js"),c=n(/*! ./identity */"./node_modules/_lodash@4.17.15@lodash/identity.js");function i(e){return e&&e.length?r(e,c,o):void 0}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/memoize.js": /*!********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/memoize.js ***! \********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_MapCache */"./node_modules/_lodash@4.17.15@lodash/_MapCache.js"),o="Expected a function";function c(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],c=n.cache;if(c.has(o))return c.get(o);var i=e.apply(this,r);return n.cache=c.set(o,i)||c,i};return n.cache=new(c.Cache||r),n}c.Cache=r,e.exports=c},"./node_modules/_lodash@4.17.15@lodash/merge.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/merge.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseMerge */"./node_modules/_lodash@4.17.15@lodash/_baseMerge.js"),o=n(/*! ./_createAssigner */"./node_modules/_lodash@4.17.15@lodash/_createAssigner.js"),c=o((function(e,t,n){r(e,t,n)}));e.exports=c},"./node_modules/_lodash@4.17.15@lodash/min.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/min.js ***! \****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n(/*! ./_baseLt */"./node_modules/_lodash@4.17.15@lodash/_baseLt.js"),c=n(/*! ./identity */"./node_modules/_lodash@4.17.15@lodash/identity.js");function i(e){return e&&e.length?r(e,c,o):void 0}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/minBy.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/minBy.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),c=n(/*! ./_baseLt */"./node_modules/_lodash@4.17.15@lodash/_baseLt.js");function i(e,t){return e&&e.length?r(e,o(t,2),c):void 0}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/noop.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/noop.js ***! \*****************************************************/ /*! no static exports found */function(e,t){function n(){}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/now.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/now.js ***! \****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_root */"./node_modules/_lodash@4.17.15@lodash/_root.js"),o=function(){return r.Date.now()};e.exports=o},"./node_modules/_lodash@4.17.15@lodash/pick.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/pick.js ***! \*****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_basePick */"./node_modules/_lodash@4.17.15@lodash/_basePick.js"),o=n(/*! ./_flatRest */"./node_modules/_lodash@4.17.15@lodash/_flatRest.js"),c=o((function(e,t){return null==e?{}:r(e,t)}));e.exports=c},"./node_modules/_lodash@4.17.15@lodash/property.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/property.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseProperty */"./node_modules/_lodash@4.17.15@lodash/_baseProperty.js"),o=n(/*! ./_basePropertyDeep */"./node_modules/_lodash@4.17.15@lodash/_basePropertyDeep.js"),c=n(/*! ./_isKey */"./node_modules/_lodash@4.17.15@lodash/_isKey.js"),i=n(/*! ./_toKey */"./node_modules/_lodash@4.17.15@lodash/_toKey.js");function a(e){return c(e)?r(i(e)):o(e)}e.exports=a},"./node_modules/_lodash@4.17.15@lodash/range.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/range.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_createRange */"./node_modules/_lodash@4.17.15@lodash/_createRange.js"),o=r();e.exports=o},"./node_modules/_lodash@4.17.15@lodash/reduce.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/reduce.js ***! \*******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_arrayReduce */"./node_modules/_lodash@4.17.15@lodash/_arrayReduce.js"),o=n(/*! ./_baseEach */"./node_modules/_lodash@4.17.15@lodash/_baseEach.js"),c=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),i=n(/*! ./_baseReduce */"./node_modules/_lodash@4.17.15@lodash/_baseReduce.js"),a=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js");function l(e,t,n){var l=a(e)?r:i,s=arguments.length<3;return l(e,c(t,4),n,s,o)}e.exports=l},"./node_modules/_lodash@4.17.15@lodash/size.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/size.js ***! \*****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseKeys */"./node_modules/_lodash@4.17.15@lodash/_baseKeys.js"),o=n(/*! ./_getTag */"./node_modules/_lodash@4.17.15@lodash/_getTag.js"),c=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.15@lodash/isArrayLike.js"),i=n(/*! ./isString */"./node_modules/_lodash@4.17.15@lodash/isString.js"),a=n(/*! ./_stringSize */"./node_modules/_lodash@4.17.15@lodash/_stringSize.js"),l="[object Map]",s="[object Set]";function u(e){if(null==e)return 0;if(c(e))return i(e)?a(e):e.length;var t=o(e);return t==l||t==s?e.size:r(e).length}e.exports=u},"./node_modules/_lodash@4.17.15@lodash/sortBy.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/sortBy.js ***! \*******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.15@lodash/_baseFlatten.js"),o=n(/*! ./_baseOrderBy */"./node_modules/_lodash@4.17.15@lodash/_baseOrderBy.js"),c=n(/*! ./_baseRest */"./node_modules/_lodash@4.17.15@lodash/_baseRest.js"),i=n(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js"),a=c((function(e,t){if(null==e)return[];var n=t.length;return n>1&&i(e,t[0],t[1])?t=[]:n>2&&i(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=a},"./node_modules/_lodash@4.17.15@lodash/stubArray.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/stubArray.js ***! \**********************************************************/ /*! no static exports found */function(e,t){function n(){return[]}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/stubFalse.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/stubFalse.js ***! \**********************************************************/ /*! no static exports found */function(e,t){function n(){return!1}e.exports=n},"./node_modules/_lodash@4.17.15@lodash/toFinite.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toFinite.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./toNumber */"./node_modules/_lodash@4.17.15@lodash/toNumber.js"),o=1/0,c=17976931348623157e292;function i(e){if(!e)return 0===e?e:0;if(e=r(e),e===o||e===-o){var t=e<0?-1:1;return t*c}return e===e?e:0}e.exports=i},"./node_modules/_lodash@4.17.15@lodash/toInteger.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toInteger.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./toFinite */"./node_modules/_lodash@4.17.15@lodash/toFinite.js");function o(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/toNumber.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toNumber.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./isObject */"./node_modules/_lodash@4.17.15@lodash/isObject.js"),o=n(/*! ./isSymbol */"./node_modules/_lodash@4.17.15@lodash/isSymbol.js"),c=NaN,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;function h(e){if("number"==typeof e)return e;if(o(e))return c;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):a.test(e)?c:+e}e.exports=h},"./node_modules/_lodash@4.17.15@lodash/toPlainObject.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toPlainObject.js ***! \**************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_copyObject */"./node_modules/_lodash@4.17.15@lodash/_copyObject.js"),o=n(/*! ./keysIn */"./node_modules/_lodash@4.17.15@lodash/keysIn.js");function c(e){return r(e,o(e))}e.exports=c},"./node_modules/_lodash@4.17.15@lodash/toString.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toString.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseToString */"./node_modules/_lodash@4.17.15@lodash/_baseToString.js");function o(e){return null==e?"":r(e)}e.exports=o},"./node_modules/_lodash@4.17.15@lodash/transform.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/transform.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_arrayEach */"./node_modules/_lodash@4.17.15@lodash/_arrayEach.js"),o=n(/*! ./_baseCreate */"./node_modules/_lodash@4.17.15@lodash/_baseCreate.js"),c=n(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js"),i=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),a=n(/*! ./_getPrototype */"./node_modules/_lodash@4.17.15@lodash/_getPrototype.js"),l=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js"),s=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),u=n(/*! ./isFunction */"./node_modules/_lodash@4.17.15@lodash/isFunction.js"),h=n(/*! ./isObject */"./node_modules/_lodash@4.17.15@lodash/isObject.js"),d=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.15@lodash/isTypedArray.js");function v(e,t,n){var v=l(e),f=v||s(e)||d(e);if(t=i(t,4),null==n){var _=e&&e.constructor;n=f?v?new _:[]:h(e)&&u(_)?o(a(e)):{}}return(f?r:c)(e,(function(e,r,o){return t(n,e,r,o)})),n}e.exports=v},"./node_modules/_lodash@4.17.15@lodash/union.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/union.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.15@lodash/_baseFlatten.js"),o=n(/*! ./_baseRest */"./node_modules/_lodash@4.17.15@lodash/_baseRest.js"),c=n(/*! ./_baseUniq */"./node_modules/_lodash@4.17.15@lodash/_baseUniq.js"),i=n(/*! ./isArrayLikeObject */"./node_modules/_lodash@4.17.15@lodash/isArrayLikeObject.js"),a=o((function(e){return c(r(e,1,i,!0))}));e.exports=a},"./node_modules/_lodash@4.17.15@lodash/uniqueId.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/uniqueId.js ***! \*********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./toString */"./node_modules/_lodash@4.17.15@lodash/toString.js"),o=0;function c(e){var t=++o;return r(e)+t}e.exports=c},"./node_modules/_lodash@4.17.15@lodash/values.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/values.js ***! \*******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_baseValues */"./node_modules/_lodash@4.17.15@lodash/_baseValues.js"),o=n(/*! ./keys */"./node_modules/_lodash@4.17.15@lodash/keys.js");function c(e){return null==e?[]:r(e,o(e))}e.exports=c},"./node_modules/_lodash@4.17.15@lodash/zipObject.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/zipObject.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ./_assignValue */"./node_modules/_lodash@4.17.15@lodash/_assignValue.js"),o=n(/*! ./_baseZipObject */"./node_modules/_lodash@4.17.15@lodash/_baseZipObject.js");function c(e,t){return o(e||[],t||[],r)}e.exports=c},"./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js": /*!********************************************************************!*\ !*** ./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js ***! \********************************************************************/ /*! no static exports found */function(e,t){e.exports=o;var n={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},r=/([astvzqmhlc])([^astvzqmhlc]*)/gi;function o(e){var t=[];return e.replace(r,(function(e,r,o){var c=r.toLowerCase();o=i(o),"m"==c&&o.length>2&&(t.push([r].concat(o.splice(0,2))),c="l",r="m"==r?"l":"L");while(1){if(o.length==n[c])return o.unshift(r),t.push(o);if(o.length=e){var f=(c-e)/(c-r[2]),_=[n[0]*(1-f)+r[0]*f,n[1]*(1-f)+r[1]*f];return{length:c,pos:_}}r[0]=n[0],r[1]=n[1],r[2]=c}}else if("Q"===l[0]){r[0]=o[0]=n[0],r[1]=o[1]=n[1],r[2]=c;for(s=100,u=0;u<=s;u++){h=u/s,d=g(l,h),v=z(l,h);if(c+=a(n[0],n[1],d,v),n[0]=d,n[1]=v,"number"===typeof e&&c>=e){f=(c-e)/(c-r[2]),_=[n[0]*(1-f)+r[0]*f,n[1]*(1-f)+r[1]*f];return{length:c,pos:_}}r[0]=n[0],r[1]=n[1],r[2]=c}}else if("L"===l[0]){if(r[0]=n[0],r[1]=n[1],r[2]=c,c+=a(n[0],n[1],l[1],l[2]),n[0]=l[1],n[1]=l[2],"number"===typeof e&&c>=e){f=(c-e)/(c-r[2]),_=[n[0]*(1-f)+r[0]*f,n[1]*(1-f)+r[1]*f];return{length:c,pos:_}}r[0]=n[0],r[1]=n[1],r[2]=c}}return{length:c,pos:n};function p(e,t){return Math.pow(1-t,3)*o[0]+3*Math.pow(1-t,2)*t*e[1]+3*(1-t)*Math.pow(t,2)*e[3]+Math.pow(t,3)*e[5]}function m(e,t){return Math.pow(1-t,3)*o[1]+3*Math.pow(1-t,2)*t*e[2]+3*(1-t)*Math.pow(t,2)*e[4]+Math.pow(t,3)*e[6]}function g(e,t){return Math.pow(1-t,2)*o[0]+2*(1-t)*t*e[1]+Math.pow(t,2)*e[3]}function z(e,t){return Math.pow(1-t,2)*o[1]+2*(1-t)*t*e[2]+Math.pow(t,2)*e[4]}}},"./node_modules/_regression@2.0.1@regression/dist/regression.js": /*!**********************************************************************!*\ !*** ./node_modules/_regression@2.0.1@regression/dist/regression.js ***! \**********************************************************************/ /*! no static exports found */function(e,t,n){var r,o,c;(function(n,i){o=[e],r=i,c="function"===typeof r?r.apply(t,o):r,void 0===c||(e.exports=c)})(0,(function(e){"use strict";function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var n=Object.assign||function(e){for(var t=1;tMath.abs(n[c][i])&&(i=a);for(var l=c;l=c;h--)n[h][u]-=n[h][c]*n[c][u]/n[c][c]}for(var d=r-1;d>=0;d--){for(var v=0,f=d+1;f=0;M--)y+=M>1?m[M]+"x^"+M+" + ":1===M?m[M]+"x + ":m[M];return{string:y,points:z,predict:g,equation:[].concat(r(m)).reverse(),r2:a(c(e,z),t.precision)}}};function s(){var e=function(e,r){return n({_round:a},e,t({},r,(function(e,t){return l[r](e,n({},o,t))})))};return Object.keys(l).reduce(e,{})}e.exports=s()}))},"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js": /*!***********************************************************************************************!*\ !*** ./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js ***! \***********************************************************************************************/ /*! no static exports found */function(e,t,n){!function(e,n){n(t)}(0,(function(e){"use strict";function t(e){if(0===e.length)return 0;for(var t,n=e[0],r=0,o=1;o=Math.abs(e[o])?r+=n-t+e[o]:r+=e[o]-t+n,n=t;return n+r}function n(e){if(0===e.length)throw new Error("mean requires at least one data point");return t(e)/e.length}function r(e,t){var r,o,c=n(e),i=0;if(2===t)for(o=0;ot&&(t=e[n]);return t}function u(e,t){var n=e.length*t;if(0===e.length)throw new Error("quantile requires at least one data point.");if(t<0||1s&&d(e,n,r);us;)v--}e[n]===s?d(e,n,v):d(e,++v,r),v<=t&&(n=v+1),t<=v&&(r=v-1)}}function d(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t){var n=e.slice();if(Array.isArray(t)){!function(e,t){for(var n=[0],r=0;re[e.length-1])return 1;var n=function(e,t){for(var n=0,r=0,o=e.length;r>>1]?o=n:r=-~n;return r}(e,t);if(e[n]!==t)return n/e.length;n++;var r=function(e,t){for(var n=0,r=0,o=e.length;r=e[n=r+o>>>1]?r=-~n:o=n;return r}(e,t);if(r===n)return n/e.length;var o=r-n+1;return o*(r+n)/2/o/e.length}function g(e){var t=v(e,.75),n=v(e,.25);if("number"==typeof t&&"number"==typeof n)return t-n}function z(e){return+v(e,.5)}function y(e){for(var t=z(e),n=[],r=0;r=r[n][a]);--v)(u=H(l,a,c,i)+r[n-1][l-1])n&&(n=e[r]),e[r]e.length)throw new Error("cannot generate more classes than there are data values");var n=a(e);if(1===j(n))return[n];var r=w(t,n.length),o=w(t,n.length);!function(e,t,n){for(var r,o=t[0].length,c=e[Math.floor(o/2)],i=[],a=[],l=0;l=Math.abs(c)&&(v+=1);else if("greater"===r)for(s=0;s<=o;s++)i[s]>=c&&(v+=1);else for(s=0;s<=o;s++)i[s]<=c&&(v+=1);return v/o},e.bisect=function(e,t,n,r,o){if("function"!=typeof e)throw new TypeError("func must be a function");for(var c=0;ci&&(i=e[0]),e[1]a&&(a=e[1])}function s(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(s);break;case"Point":l(e.coordinates);break;case"MultiPoint":e.coordinates.forEach(l);break}}for(t in e.arcs.forEach((function(e){var t,n=-1,l=e.length;while(++ni&&(i=t[0]),t[1]a&&(a=t[1])})),e.objects)s(e.objects[t]);return[o,c,i,a]}function o(e,t){var n,r=e.length,o=r-t;while(o<--r)n=e[o],e[o++]=e[r],e[r]=n}function c(e,t){return"string"===typeof t&&(t=e.objects[t]),"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map((function(t){return i(e,t)}))}:i(e,t)}function i(e,t){var n=t.id,r=t.bbox,o=null==t.properties?{}:t.properties,c=a(e,t);return null==n&&null==r?{type:"Feature",properties:o,geometry:c}:null==r?{type:"Feature",id:n,properties:o,geometry:c}:{type:"Feature",id:n,bbox:r,properties:o,geometry:c}}function a(e,t){var r=n(e.transform),c=e.arcs;function i(e,t){t.length&&t.pop();for(var n=c[e<0?~e:e],i=0,a=n.length;i1)r=h(e,t,n);else for(o=0,r=new Array(c=e.arcs.length);o1)for(var c,i,a=1,u=s(o[0]);au&&(i=o[0],o[0]=o[a],o[a]=i,u=c);return o})).filter((function(e){return e.length>0}))}}function _(e,t){var n=0,r=e.length;while(n>>1;e[o]=2))throw new Error("n must be ≥2");l=e.bbox||r(e);var n,o=l[0],c=l[1],i=l[2],a=l[3];t={scale:[i-o?(i-o)/(n-1):1,a-c?(a-c)/(n-1):1],translate:[o,c]}}var l,s,u=m(t),h=e.objects,d={};function v(e){return u(e)}function f(e){var t;switch(e.type){case"GeometryCollection":t={type:"GeometryCollection",geometries:e.geometries.map(f)};break;case"Point":t={type:"Point",coordinates:v(e.coordinates)};break;case"MultiPoint":t={type:"MultiPoint",coordinates:e.coordinates.map(v)};break;default:return e}return null!=e.id&&(t.id=e.id),null!=e.bbox&&(t.bbox=e.bbox),null!=e.properties&&(t.properties=e.properties),t}function _(e){var t,n=0,r=1,o=e.length,c=new Array(o);c[0]=u(e[0],0);while(++n=0;a--)(o=e[a])&&(i=(c<3?o(i):c>3?o(t,n,i):o(t,n))||i);return c>3&&i&&Object.defineProperty(t,n,i),i},s=function(e,t){return function(n,r){t(n,r,e)}},u=function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,c){function i(e){try{l(r.next(e))}catch(t){c(t)}}function a(e){try{l(r["throw"](e))}catch(t){c(t)}}function l(e){e.done?n(e.value):o(e.value).then(i,a)}l((r=r.apply(e,t||[])).next())}))},d=function(e,t){var n,r,o,c,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return c={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return l([e,t])}}function l(c){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(o=2&c[0]?r["return"]:c[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(o=i.trys,!(o=o.length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,c=n.call(e),i=[];try{while((void 0===t||t-- >0)&&!(r=c.next()).done)i.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=c["return"])&&n.call(c)}finally{if(o)throw o.error}}return i},p=function(){for(var e=[],t=0;t1||a(e,t)}))})}function a(e,t){try{l(o[e](t))}catch(n){h(c[0][3],n)}}function l(e){e.value instanceof g?Promise.resolve(e.value.v).then(s,u):h(c[0][2],e)}function s(e){a("next",e)}function u(e){a("throw",e)}function h(e,t){e(t),c.shift(),c.length&&a(c[0][0],c[0][1])}},y=function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:g(e[r](t)),done:"return"===r}:o?o(t):t}:o}},M=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof f?f(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,c){t=e[n](t),o(r,c,t.done,t.value)}))}}function o(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}},b=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},j=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t},w=function(e){return e&&e.__esModule?e:{default:e}},H=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},V=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n},e("__extends",c),e("__assign",i),e("__rest",a),e("__decorate",l),e("__param",s),e("__metadata",u),e("__awaiter",h),e("__generator",d),e("__exportStar",v),e("__values",f),e("__read",_),e("__spread",p),e("__spreadArrays",m),e("__await",g),e("__asyncGenerator",z),e("__asyncDelegator",y),e("__asyncValues",M),e("__makeTemplateObject",b),e("__importStar",j),e("__importDefault",w),e("__classPrivateFieldGet",H),e("__classPrivateFieldSet",V)}))}).call(this,n(/*! ./../_webpack@4.42.1@webpack/buildin/global.js */"./node_modules/_webpack@4.42.1@webpack/buildin/global.js"))},"./node_modules/_webpack@4.42.1@webpack/buildin/global.js": /*!***********************************!*\ !*** (webpack)/buildin/global.js ***! \***********************************/ /*! no static exports found */function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"./node_modules/_webpack@4.42.1@webpack/buildin/module.js": /*!***********************************!*\ !*** (webpack)/buildin/module.js ***! \***********************************/ /*! no static exports found */function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js": /*!***************************************************************************************!*\ !*** ./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js ***! \***************************************************************************************/ /*! no static exports found */function(e,t,n){var r; /*! * EventEmitter v5.2.9 - git.io/ee * Unlicense - http://unlicense.org/ * Oliver Caldwell - https://oli.me.uk/ * @preserve */(function(t){"use strict";function o(){}var c=o.prototype,i=t.EventEmitter;function a(e,t){var n=e.length;while(n--)if(e[n].listener===t)return n;return-1}function l(e){return function(){return this[e].apply(this,arguments)}}function s(e){return"function"===typeof e||e instanceof RegExp||!(!e||"object"!==typeof e)&&s(e.listener)}c.getListeners=function(e){var t,n,r=this._getEvents();if(e instanceof RegExp)for(n in t={},r)r.hasOwnProperty(n)&&e.test(n)&&(t[n]=r[n]);else t=r[e]||(r[e]=[]);return t},c.flattenListeners=function(e){var t,n=[];for(t=0;tk&&(k=e.count)})),o.forIn(V,(function(e){var n=e.x,r=e.y,o=e.count,c={};c[S]=o,t.sizeByCount?(c[L]=T.map((function(t){return n+e.count/k*t[0]})),c[C]=T.map((function(t){return(r+e.count/k*t[1])/w}))):(c[L]=T.map((function(e){return n+e[0]})),c[C]=T.map((function(e){return(r+e[1])/w}))),O.push(c)})),e.rows=O}c.DataSet.registerTransform("bin.hexagon",f),c.DataSet.registerTransform("bin.hex",f),c.DataSet.registerTransform("hexbin",f)},"./src/transform/bin/histogram.ts": /*!****************************************!*\ !*** ./src/transform/bin/histogram.ts ***! \****************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=r.__importDefault(n(/*! ../../util/partition */"./src/util/partition.ts")),i=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={as:["x","count"],bins:void 0,offset:0,groupBy:[]};function s(e,t,n){var r=e-n,o=Math.floor(r/t);return[o*t+n,(o+1)*t+n]}function u(e){return Math.ceil(Math.log(e)/Math.LN2)+1}function h(e,t){t=o.assign({},l,t);var n=a.getField(t);if(0!==e.rows.length){var i=e.range(n),h=i[1]-i[0],d=t.binWidth,v=t.bins;if(!d&&v){if(v<=0)throw new TypeError("Invalid bins: it must be a positive number!");d=h/v}if(!d&&!v){var f=u(e.rows.length);d=h/f}var _=t.offset%d,p=[],m=t.groupBy,g=c.default(e.rows,m);o.forIn(g,(function(e){var c={},i=e.map((function(e){return e[n]}));i.forEach((function(e){var t=r.__read(s(e,d,_),2),n=t[0],o=t[1],i=n+"-"+o;c[i]=c[i]||{x0:n,x1:o,count:0},c[i].count++}));var a=r.__read(t.as,2),l=a[0],u=a[1];if(!l||!u)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ "x", "count" ])!');var h=o.pick(e[0],m);o.forIn(c,(function(e){var t=o.assign({},h);t[l]=[e.x0,e.x1],t[u]=e.count,p.push(t)}))})),e.rows=p}}i.DataSet.registerTransform("bin.histogram",h),i.DataSet.registerTransform("bin.dot",h)},"./src/transform/bin/quantile.ts": /*!***************************************!*\ !*** ./src/transform/bin/quantile.ts ***! \***************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),i=r.__importDefault(n(/*! ../../util/partition */"./src/util/partition.ts")),a=r.__importDefault(n(/*! ../../util/p-by-fraction */"./src/util/p-by-fraction.ts")),l=n(/*! ../../data-set */"./src/data-set.ts"),s=l.DataSet.registerTransform,u=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),h={as:"_bin",groupBy:[],fraction:4};function d(e,t){t=o.assign({},h,t);var n=u.getField(t),r=t.as;if(!o.isString(r))throw new TypeError('Invalid as: it must be a string (e.g. "_bin")!');var l=t.p,s=t.fraction;o.isArray(l)&&0!==l.length||(l=a.default(s));var d=e.rows,v=t.groupBy,f=i.default(d,v),_=[];o.forIn(f,(function(e){var t=e[0],o=e.map((function(e){return e[n]})),i=l.map((function(e){return c.quantile(o,e)}));t[r]=i,_.push(t)})),e.rows=_}s("bin.quantile",d)},"./src/transform/bin/rectangle.ts": /*!****************************************!*\ !*** ./src/transform/bin/rectangle.ts ***! \****************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=n(/*! ../../data-set */"./src/data-set.ts"),i=c.DataSet.registerTransform,a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1};function s(e,t,n){var r=e-n,o=Math.floor(r/t);return[o*t+n,(o+1)*t+n]}function u(e,t){t=o.assign({},l,t);var n=r.__read(a.getFields(t),2),c=n[0],i=n[1];if(!c||!i)throw new TypeError("Invalid fields: must be an array with 2 strings!");var u=e.range(c),h=e.range(i),d=u[1]-u[0],v=h[1]-h[0],f=t.binWidth||[];if(2!==f.length){var _=r.__read(t.bins,2),p=_[0],m=_[1];if(p<=0||m<=0)throw new TypeError("Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!");f=[d/p,v/m]}var g=e.rows.map((function(e){return[e[c],e[i]]})),z={},y=r.__read(t.offset,2),M=y[0],b=y[1];g.forEach((function(e){var t=r.__read(s(e[0],f[0],M),2),n=t[0],o=t[1],c=r.__read(s(e[1],f[1],b),2),i=c[0],a=c[1],l=n+"-"+o+"-"+i+"-"+a;z[l]=z[l]||{x0:n,x1:o,y0:i,y1:a,count:0},z[l].count++}));var j=[],w=r.__read(t.as,3),H=w[0],V=w[1],x=w[2];if(!H||!V||!x)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!');if(t.sizeByCount){var L=0;o.forIn(z,(function(e){e.count>L&&(L=e.count)})),o.forIn(z,(function(e){var t=e.x0,n=e.x1,o=e.y0,c=e.y1,i=e.count,a=i/L,l=r.__read([(t+n)/2,(o+c)/2],2),s=l[0],u=l[1],h=(n-t)*a/2,d=(c-o)*a/2,v=s-h,f=s+h,_=u-d,p=u+d,m={};m[H]=[v,f,f,v],m[V]=[_,_,p,p],m[x]=i,j.push(m)}))}else o.forIn(z,(function(e){var t={};t[H]=[e.x0,e.x1,e.x1,e.x0],t[V]=[e.y0,e.y0,e.y1,e.y1],t[x]=e.count,j.push(t)}));e.rows=j}i("bin.rectangle",u),i("bin.rect",u)},"./src/transform/default.ts": /*!**********************************!*\ !*** ./src/transform/default.ts ***! \**********************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ../data-set */"./src/data-set.ts");r.DataSet.registerTransform("default",(function(e){return e}))},"./src/transform/diagram/arc.ts": /*!**************************************!*\ !*** ./src/transform/diagram/arc.ts ***! \**************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),c={y:0,thickness:.05,weight:!1,marginRatio:.1,id:function(e){return e.id},source:function(e){return e.source},target:function(e){return e.target},sourceWeight:function(e){return e.value||1},targetWeight:function(e){return e.value||1},sortBy:null};function i(e,t,n){return void 0===n&&(n={}),e.forEach((function(e){var r=t.edgeSource(e),o=t.edgeTarget(e);n[r]||(n[r]={id:r}),n[o]||(n[o]={id:o})})),r.values(n)}function a(e,t,n){r.forIn(e,(function(e,r){e.inEdges=t.filter((function(e){return""+n.target(e)===""+r})),e.outEdges=t.filter((function(e){return""+n.source(e)===""+r})),e.edges=e.outEdges.concat(e.inEdges),e.frequency=e.edges.length,e.value=0,e.inEdges.forEach((function(t){e.value+=n.targetWeight(t)})),e.outEdges.forEach((function(t){e.value+=n.sourceWeight(t)}))}))}function l(e,t){var n={weight:function(e,t){return t.value-e.value},frequency:function(e,t){return t.frequency-e.frequency},id:function(e,n){return(""+t.id(e)).localeCompare(""+t.id(n))}},o=n[t.sortBy];!o&&r.isFunction(t.sortBy)&&(o=t.sortBy),o&&e.sort(o)}function s(e,t){var n=e.length;if(!n)throw new TypeError("Invalid nodes: it's empty!");if(t.weight){var r=t.marginRatio;if(r<0||r>=1)throw new TypeError("Invalid marginRatio: it must be in range [0, 1)!");var o=r/(2*n),c=t.thickness;if(c<=0||c>=1)throw new TypeError("Invalid thickness: it must be in range (0, 1)!");var i=0;e.forEach((function(e){i+=e.value})),e.forEach((function(e){e.weight=e.value/i,e.width=e.weight*(1-r),e.height=c})),e.forEach((function(n,r){for(var i=0,a=r-1;a>=0;a--)i+=e[a].width+2*o;var l=n.minX=o+i,s=n.maxX=n.minX+n.width,u=n.minY=t.y-c/2,h=n.maxY=u+c;n.x=[l,s,s,l],n.y=[u,u,h,h]}))}else{var a=1/n;e.forEach((function(e,n){e.x=(n+.5)*a,e.y=t.y}))}}function u(e,t,n){if(n.weight){var o={};r.forIn(e,(function(e,t){o[t]=e.value})),t.forEach((function(t){var r=n.source(t),c=n.target(t),i=e[r],a=e[c];if(i&&a){var l=o[r],s=n.sourceWeight(t),u=i.minX+(i.value-l)/i.value*i.width,h=u+s/i.value*i.width;o[r]-=s;var d=o[c],v=n.targetWeight(t),f=a.minX+(a.value-d)/a.value*a.width,_=f+v/a.value*a.width;o[c]-=v;var p=n.y;t.x=[u,h,f,_],t.y=[p,p,p,p]}}))}else t.forEach((function(t){var r=e[n.source(t)],o=e[n.target(t)];r&&o&&(t.x=[r.x,o.x],t.y=[r.y,o.y])}))}function h(e,t){t=r.assign({},c,t);var n={},o=e.nodes,h=e.edges;r.isArray(o)&&0!==o.length||(o=i(h,t,n)),o.forEach((function(e){var r=t.id(e);n[r]=e})),a(n,h,t),l(o,t),s(o,t),u(n,h,t),e.nodes=o,e.edges=h}o.DataSet.registerTransform("diagram.arc",h),o.DataSet.registerTransform("arc",h)},"./src/transform/diagram/dagre.ts": /*!****************************************!*\ !*** ./src/transform/diagram/dagre.ts ***! \****************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=r.__importDefault(n(/*! dagre */"./node_modules/_dagre@0.8.5@dagre/index.js")),i=n(/*! ../../data-set */"./src/data-set.ts"),a={rankdir:"TB",align:"TB",nodesep:50,edgesep:10,ranksep:50,source:function(e){return e.source},target:function(e){return e.target}};function l(e,t){t=o.assign({},a,t);var n=new c.default.graphlib.Graph;n.setGraph({}),n.setDefaultEdgeLabel((function(){return{}})),e.nodes.forEach((function(e){var r=t.nodeId?t.nodeId(e):e.id;e.height||e.width||(e.height=e.width=t.edgesep),n.setNode(r,e)})),e.edges.forEach((function(e){n.setEdge(t.source(e),t.target(e))})),c.default.layout(n);var r=[],i=[];n.nodes().forEach((function(e){var t=n.node(e),o=t.x,c=t.y,i=t.height,a=t.width;t.x=[o-a/2,o+a/2,o+a/2,o-a/2],t.y=[c+i/2,c+i/2,c-i/2,c-i/2],r.push(t)})),n.edges().forEach((function(e){var t=n.edge(e).points,r={};r.x=t.map((function(e){return e.x})),r.y=t.map((function(e){return e.y})),i.push(r)})),e.nodes=r,e.edges=i}i.DataSet.registerTransform("diagram.dagre",l),i.DataSet.registerTransform("dagre",l)},"./src/transform/diagram/sankey.ts": /*!*****************************************!*\ !*** ./src/transform/diagram/sankey.ts ***! \*****************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! d3-sankey */"./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js"),c=n(/*! ../../data-set */"./src/data-set.ts"),i={sankeyLeft:o.sankeyLeft,sankeyRight:o.sankeyRight,sankeyCenter:o.sankeyCenter,sankeyJustify:o.sankeyJustify},a={value:function(e){return e.value},source:function(e){return e.source},target:function(e){return e.target},nodeAlign:"sankeyJustify",nodeWidth:.02,nodePadding:.02,sort:void 0};function l(e,t){t=r.assign({},a,t);var n=null;r.isString(t.nodeAlign)?n=i[t.nodeAlign]:r.isFunction(t.nodeAlign)&&(n=t.nodeAlign);var c=o.sankey().nodeSort(t.sort).links((function(e){return e.edges})).nodeWidth(t.nodeWidth).nodePadding(t.nodePadding).extent([[0,0],[1,1]]);r.isFunction(t.nodeId)&&c.nodeId(t.nodeId),n&&c.nodeAlign(n),c(e),e.nodes.forEach((function(e){var t=e.x0,n=e.x1,r=e.y0,o=e.y1;e.x=[t,n,n,t],e.y=[r,r,o,o]})),e.edges.forEach((function(e){var t=e.source,n=e.target,r=t.x1,o=n.x0;e.x=[r,r,o,o];var c=e.width/2;e.y=[e.y0+c,e.y0-c,e.y1+c,e.y1-c]}))}c.DataSet.registerTransform("diagram.sankey",l),c.DataSet.registerTransform("sankey",l)},"./src/transform/diagram/voronoi.ts": /*!******************************************!*\ !*** ./src/transform/diagram/voronoi.ts ***! \******************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-voronoi */"./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js")),c=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts"),a=i.DataSet.registerTransform,l=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={as:["_x","_y"]};function u(e,t){t=c.assign({},s,t);var n=t.as;if(!c.isArray(n)||2!==n.length)throw new TypeError("Invalid as: must be an array with two strings!");var r=n[0],i=n[1],a=l.getFields(t);if(!c.isArray(a)||2!==a.length)throw new TypeError("Invalid fields: must be an array with two strings!");var u=a[0],h=a[1],d=e.rows,v=d.map((function(e){return[e[u],e[h]]})),f=o.voronoi();t.extend&&f.extent(t.extend),t.size&&f.size(t.size);var _=f(v).polygons();d.forEach((function(e,t){var n=_[t].filter((function(e){return!!e}));e[r]=n.map((function(e){return e[0]})),e[i]=n.map((function(e){return e[1]}))}))}a("diagram.voronoi",u),a("voronoi",u)},"./src/transform/fill-rows.ts": /*!************************************!*\ !*** ./src/transform/fill-rows.ts ***! \************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),i=n(/*! ../data-set */"./src/data-set.ts"),a={fillBy:"group",groupBy:[],orderBy:[]};function l(e,t){var n=e.map((function(e){return e}));return t.forEach((function(e){var t=n.indexOf(e);t>-1&&n.splice(t,1)})),n}function s(e,t){t=o.assign({},a,t);var n=e.rows,r=t.groupBy,i=t.orderBy,s=c.default(n,r,i),u=0,h=[];o.forIn(s,(function(e){e.length>u&&(u=e.length,h=e)}));var d=[],v={};if(h.forEach((function(e){var t=i.map((function(t){return e[t]})).join("-");d.push(t),v[t]=e})),"order"===t.fillBy){var f=h[0],_=[],p={};n.forEach((function(e){var t=i.map((function(t){return e[t]})).join("-");-1===_.indexOf(t)&&(_.push(t),p[t]=e)}));var m=l(_,d);m.forEach((function(e){var t={};r.forEach((function(e){t[e]=f[e]})),i.forEach((function(n){t[n]=p[e][n]})),n.push(t),h.push(t),d.push(e),v[e]=t})),u=h.length}o.forIn(s,(function(e){if(e!==h&&e.length=u-e.length)return!0;var a=v[o],l={};return r.forEach((function(e){l[e]=t[e]})),i.forEach((function(e){l[e]=a[e]})),n.push(l),!1}))}}))}i.DataSet.registerTransform("fill-rows",s),i.DataSet.registerTransform("fillRows",s)},"./src/transform/filter.ts": /*!*********************************!*\ !*** ./src/transform/filter.ts ***! \*********************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ../data-set */"./src/data-set.ts");function o(e){return!!e}r.DataSet.registerTransform("filter",(function(e,t){e.rows=e.rows.filter(t.callback||o)}))},"./src/transform/fold.ts": /*!*******************************!*\ !*** ./src/transform/fold.ts ***! \*******************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! ../data-set */"./src/data-set.ts"),c=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),i={fields:[],key:"key",retains:[],value:"value"};o.DataSet.registerTransform("fold",(function(e,t){var n=e.getColumnNames();t=r.assign({},i,t);var o=c.getFields(t);0===o.length&&(o=n);var a=t.key,l=t.value,s=t.retains;s&&0!==s.length||(s=r.difference(n,o));var u=[];e.rows.forEach((function(e){o.forEach((function(t){var n=r.pick(e,s);n[a]=t,n[l]=e[t],u.push(n)}))})),e.rows=u}))},"./src/transform/geo/centroid.ts": /*!***************************************!*\ !*** ./src/transform/geo/centroid.ts ***! \***************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),c=o.DataSet.registerTransform,i=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),a={as:["_centroid_x","_centroid_y"]};function l(e,t){t=r.assign({},a,t);var n=i.getField(t),o=t.geoView||t.geoDataView;if(r.isString(o)&&e.dataSet&&(o=e.dataSet.getView(o)),!o||"geo"!==o.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var c=t.as;if(!r.isArray(c)||2!==c.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "cX", "cY" ])!');var l=c[0],s=c[1];e.rows.forEach((function(e){var t=o.geoFeatureByName(e[n]);t&&(o._projectedAs?(e[l]=t[o._projectedAs[2]],e[s]=t[o._projectedAs[3]]):(e[l]=t.centroidX,e[s]=t.centroidY))}))}c("geo.centroid",l)},"./src/transform/geo/projection.ts": /*!*****************************************!*\ !*** ./src/transform/geo/projection.ts ***! \*****************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=n(/*! d3-geo */"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),i=r.__importDefault(n(/*! point-at-length */"./node_modules/_point-at-length@1.1.0@point-at-length/index.js")),a=n(/*! ../../data-set */"./src/data-set.ts"),l=a.DataSet.registerTransform,s=r.__importDefault(n(/*! ../../util/get-geo-projection */"./src/util/get-geo-projection.ts")),u={as:["_x","_y","_centroid_x","_centroid_y"]};function h(e,t){if("geo"!==e.dataType&&"geo-graticule"!==e.dataType)throw new TypeError("Invalid dataView: this transform is for Geo data only!");t=o.assign({},u,t);var n=t.projection;if(!n)throw new TypeError("Invalid projection!");n=s.default(n);var a=c.geoPath(n),l=t.as;if(!o.isArray(l)||4!==l.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ "x", "y", "cX", "cY" ])!');e._projectedAs=l;var h=r.__read(l,4),d=h[0],v=h[1],f=h[2],_=h[3];e.rows.forEach((function(e){e[d]=[],e[v]=[];var t=a(e);if(t){var n=i.default(t);n._path.forEach((function(t){e[d].push(t[1]),e[v].push(t[2])}));var r=a.centroid(e);e[f]=r[0],e[_]=r[1]}})),e.rows=e.rows.filter((function(e){return 0!==e[d].length}))}l("geo.projection",h)},"./src/transform/geo/region.ts": /*!*************************************!*\ !*** ./src/transform/geo/region.ts ***! \*************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),c=o.DataSet.registerTransform,i=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),a={as:["_x","_y"]};function l(e,t){t=r.assign({},a,t);var n=i.getField(t),o=t.geoView||t.geoDataView;if(r.isString(o)&&(o=e.dataSet.getView(o)),!o||"geo"!==o.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var c=t.as;if(!r.isArray(c)||2!==c.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var l=c[0],s=c[1];e.rows.forEach((function(e){var t=o.geoFeatureByName(e[n]);t&&(o._projectedAs?(e[l]=t[o._projectedAs[0]],e[s]=t[o._projectedAs[1]]):(e[l]=t.longitude,e[s]=t.latitude))}))}c("geo.region",l)},"./src/transform/hierarchy/cluster.ts": /*!********************************************!*\ !*** ./src/transform/hierarchy/cluster.ts ***! \********************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),c=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function s(e,t){if(e.dataType!==i.DataSet.CONSTANTS.HIERARCHY||!e.root)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=e.root;t=c.assign({},l,t);var r=t.as;if(!c.isArray(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var s=void 0;try{s=a.getField(t)}catch(v){}s&&n.sum((function(e){return e[s]}));var u=o.cluster();u.size(t.size),t.nodeSize&&u.nodeSize(t.nodeSize),t.separation&&u.separation(t.separation),u(n);var h=r[0],d=r[1];n.each((function(e){e[h]=e.x,e[d]=e.y}))}i.DataSet.registerTransform("hierarchy.cluster",s),i.DataSet.registerTransform("dendrogram",s)},"./src/transform/hierarchy/compact-box.ts": /*!************************************************!*\ !*** ./src/transform/hierarchy/compact-box.ts ***! \************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),c=n(/*! ../../data-set */"./src/data-set.ts"),i={};function a(e,t){var n=e.root;if(t=Object.assign({},i,t),e.dataType!==c.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");e.root=o.default.compactBox(n,t)}c.DataSet.registerTransform("hierarchy.compact-box",a),c.DataSet.registerTransform("compact-box-tree",a),c.DataSet.registerTransform("non-layered-tidy-tree",a),c.DataSet.registerTransform("mindmap-logical",a)},"./src/transform/hierarchy/dendrogram.ts": /*!***********************************************!*\ !*** ./src/transform/hierarchy/dendrogram.ts ***! \***********************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),c=n(/*! ../../data-set */"./src/data-set.ts"),i={};function a(e,t){var n=e.root;if(t=Object.assign({},i,t),e.dataType!==c.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");e.root=o.default.dendrogram(n,t)}c.DataSet.registerTransform("hierarchy.dendrogram",a),c.DataSet.registerTransform("dendrogram",a)},"./src/transform/hierarchy/indented.ts": /*!*********************************************!*\ !*** ./src/transform/hierarchy/indented.ts ***! \*********************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),c=n(/*! ../../data-set */"./src/data-set.ts"),i={};function a(e,t){var n=e.root;if(t=Object.assign({},i,t),e.dataType!==c.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");e.root=o.default.indented(n,t)}c.DataSet.registerTransform("hierarchy.indented",a),c.DataSet.registerTransform("indented-tree",a)},"./src/transform/hierarchy/pack.ts": /*!*****************************************!*\ !*** ./src/transform/hierarchy/pack.ts ***! \*****************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={field:"value",size:[1,1],padding:0,as:["x","y","r"]};function s(e,t){if(e.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=e.root;t=o.assign({},l,t);var r,s=t.as;if(!o.isArray(s)||3!==s.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(f){}r&&n.sum((function(e){return e[r]})).sort((function(e,t){return t[r]-e[r]}));var u=c.pack();u.size(t.size),t.padding&&u.padding(t.padding),u(n);var h=s[0],d=s[1],v=s[2];n.each((function(e){e[h]=e.x,e[d]=e.y,e[v]=e.r}))}i.DataSet.registerTransform("hierarchy.pack",s),i.DataSet.registerTransform("hierarchy.circle-packing",s),i.DataSet.registerTransform("circle-packing",s)},"./src/transform/hierarchy/partition.ts": /*!**********************************************!*\ !*** ./src/transform/hierarchy/partition.ts ***! \**********************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),c=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};function s(e,t){if(e.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=e.root;t=c.assign({},l,t);var r,s=t.as;if(!c.isArray(s)||2!==s.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{r=a.getField(t)}catch(v){}r&&n.sum((function(e){return e[r]}));var u=o.partition();u.size(t.size).round(t.round).padding(t.padding),u(n);var h=s[0],d=s[1];n.each((function(e){e[h]=[e.x0,e.x1,e.x1,e.x0],e[d]=[e.y1,e.y1,e.y0,e.y0],["x0","x1","y0","y1"].forEach((function(t){-1===s.indexOf(t)&&delete e[t]}))}))}i.DataSet.registerTransform("hierarchy.partition",s),i.DataSet.registerTransform("adjacency",s)},"./src/transform/hierarchy/tree.ts": /*!*****************************************!*\ !*** ./src/transform/hierarchy/tree.ts ***! \*****************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),c=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function s(e,t){if(e.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=e.root;t=c.assign({},l,t);var r,s=t.as;if(!c.isArray(s)||2!==s.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{r=a.getField(t)}catch(v){}r&&n.sum((function(e){return e[r]}));var u=o.tree();u.size(t.size),t.nodeSize&&u.nodeSize(t.nodeSize),t.separation&&u.separation(t.separation),u(n);var h=s[0],d=s[1];n.each((function(e){e[h]=e.x,e[d]=e.y}))}i.DataSet.registerTransform("hierarchy.tree",s),i.DataSet.registerTransform("tree",s)},"./src/transform/hierarchy/treemap.ts": /*!********************************************!*\ !*** ./src/transform/hierarchy/treemap.ts ***! \********************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),c=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"]};function s(e,t){if(e.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=e.root;t=c.assign({},l,t);var r,s=t.as;if(!c.isArray(s)||2!==s.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{r=a.getField(t)}catch(v){}r&&n.sum((function(e){return e[r]}));var u=o.treemap();u.tile(o[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),u(n);var h=s[0],d=s[1];n.each((function(e){e[h]=[e.x0,e.x1,e.x1,e.x0],e[d]=[e.y1,e.y1,e.y0,e.y0],["x0","x1","y0","y1"].forEach((function(t){-1===s.indexOf(t)&&delete e[t]}))}))}i.DataSet.registerTransform("hierarchy.treemap",s),i.DataSet.registerTransform("treemap",s)},"./src/transform/impute.ts": /*!*********************************!*\ !*** ./src/transform/impute.ts ***! \*********************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=r.__importStar(n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),i=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),a=n(/*! ../data-set */"./src/data-set.ts"),l=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),s={groupBy:[]};function u(e){return e.filter((function(e){return!o.isUndefined(e)}))}var h=["mean","median","max","min"],d={};function v(e,t){t=o.assign({},s,t);var n=l.getField(t),r=t.method;if(!r)throw new TypeError("Invalid method!");if("value"===r&&!o.has(t,"value"))throw new TypeError("Invalid value: it is nil.");var c=u(e.getColumn(n)),a=i.default(e.rows,t.groupBy);o.forIn(a,(function(e){var i=u(e.map((function(e){return e[n]})));0===i.length&&(i=c),e.forEach((function(c){if(o.isUndefined(c[n]))if(o.isFunction(r))c[n]=r(c,i,t.value,e);else{if(!o.isString(r))throw new TypeError("Invalid method: must be a function or one of "+h.join(", "));c[n]=d[r](c,i,t.value)}}))}))}h.forEach((function(e){d[e]=function(t,n){return c[e](n)}})),d.value=function(e,t,n){return n},a.DataSet.registerTransform("impute",v)},"./src/transform/kde.ts": /*!******************************!*\ !*** ./src/transform/kde.ts ***! \******************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=r.__importDefault(n(/*! ../util/get-series-values */"./src/util/get-series-values.ts")),i=r.__importDefault(n(/*! ../util/kernel */"./src/util/kernel.ts")),a=r.__importStar(n(/*! ../util/bandwidth */"./src/util/bandwidth.ts")),l=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),s=n(/*! ../data-set */"./src/data-set.ts"),u=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),h=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),d={minSize:.01,as:["key","y","size"],extent:[],method:"gaussian",bandwidth:"nrd",step:0,groupBy:[]},v=o.keys(i.default),f=o.keys(a);function _(e,t){t=o.assign({},d,t);var n=u.getFields(t);if(!o.isArray(n)||n.length<1)throw new TypeError("invalid fields: must be an array of at least 1 strings!");var s=t.as;if(!o.isArray(s)||3!==s.length)throw new TypeError("invalid as: must be an array of 3 strings!");var f=t.method;if(o.isString(f)){if(-1===v.indexOf(f))throw new TypeError("invalid method: "+f+". Must be one of "+v.join(", "));f=i.default[f]}if(!o.isFunction(f))throw new TypeError("invalid method: kernel method must be a function!");var _=t.extent;if(!o.isArray(_)||0===_.length){var p=[];o.each(n,(function(t){var n=e.range(t);p=p.concat(n)})),_=[Math.min.apply(Math,r.__spread(p)),Math.max.apply(Math,r.__spread(p))]}var m=t.bandwidth;o.isString(m)&&a[m]?m=a[m](e.getColumn(n[0])):o.isFunction(m)?m=m(e.getColumn(n[0])):(!o.isNumber(m)||m<=0)&&(m=a.nrd(e.getColumn(n[0])));var g=c.default(_,t.step?t.step:m),z=[],y=t.groupBy,M=l.default(e.rows,y);o.forIn(M,(function(e){var c={};o.each(n,(function(n){var i=o.pick(e[0],y);c[n]=h.kernelDensityEstimation(e.map((function(e){return e[n]})),f,m);var a=r.__read(s,3),l=a[0],u=a[1],d=a[2];i[l]=n,i[u]=[],i[d]=[],o.each(g,(function(e){var r=c[n](e);r>=t.minSize&&(i[u].push(e),i[d].push(r))})),z.push(i)}))})),e.rows=z}s.DataSet.registerTransform("kernel-density-estimation",_),s.DataSet.registerTransform("kde",_),s.DataSet.registerTransform("KDE",_),t.default={KERNEL_METHODS:v,BANDWIDTH_METHODS:f}},"./src/transform/kernel-smooth/density.ts": /*!************************************************!*\ !*** ./src/transform/kernel-smooth/density.ts ***! \************************************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),c=r.__importDefault(n(/*! ../../util/get-series-values */"./src/util/get-series-values.ts")),i=r.__importDefault(n(/*! ../../util/kernel */"./src/util/kernel.ts")),a=n(/*! ../../data-set */"./src/data-set.ts"),l=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s=n(/*! ../../util/bandwidth */"./src/util/bandwidth.ts"),u={as:["x","y","z"],method:"gaussian"},h=o.keys(i.default);function d(e,t){var n,a;t=o.assign({},u,t);var d=l.getFields(t);if(!o.isArray(d)||2!==d.length)throw new TypeError("invalid fields: must be an array of 2 strings!");var v,f=r.__read(t.as,3),_=f[0],p=f[1],m=f[2];if(!o.isString(_)||!o.isString(p)||!o.isString(m))throw new TypeError("invalid as: must be an array of 3 strings!");if(o.isString(t.method)){if(-1===h.indexOf(t.method))throw new TypeError("invalid method: "+t.method+". Must be one of "+h.join(", "));v=i.default[t.method]}var g,z,y,M,b=r.__read(d,2),j=b[0],w=b[1],H=t.extent,V=t.bandwidth;H&&Array.isArray(H)&&Array.isArray(H[0])&&Array.isArray(H[1])?(n=r.__read(H,2),g=n[0],z=n[1]):(g=e.range(j),z=e.range(w)),V&&Array.isArray(V)&&V.slice(0,2).every(o.isNumber)&&V.slice(0,2).every((function(e){return e>0}))?(a=r.__read(V,2),y=a[0],M=a[1]):(y=s.silverman(e.getColumn(j)),M=s.silverman(e.getColumn(w)));for(var x=c.default(g,y),L=c.default(z,M),C=e.rows.length,S=[],E=0;EM&&(x=M/t,n=Math.ceil(t*x/w)),C=z/n})),o.forIn(p,(function(e){var t=[L*j,(L+1)*j],n=t[1]-t[0],r=n*(1-H)/w,c=0,i=0;o.each(e,(function(e){for(var n=e[h],a=Math.round(n*x),l=0;ln[o])return 1}return 0}:r.isString(t)&&(n=function(e,n){return e[t]n[t]?1:0}),e.sort(n)}t.default=o},"./src/util/tag-cloud.ts": /*!*******************************!*\ !*** ./src/util/tag-cloud.ts ***! \*******************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=Math.PI/180,c=64,i=2048;function a(e){return e.text}function l(){return"serif"}function s(){return"normal"}function u(e){return e.value}function h(){return 90*~~(2*Math.random())}function d(){return 1}function v(e,t,n,r){if(!t.sprite){var a=e.context,l=e.ratio;a.clearRect(0,0,(c<<5)/l,i/l);var s=0,u=0,h=0,d=n.length;--r;while(++r>5<<5,f=~~Math.max(Math.abs(g+z),Math.abs(g-z))}else v=v+31>>5<<5;if(f>h&&(h=f),s+v>=c<<5&&(s=0,u+=h,h=0),u+f>=i)break;a.translate((s+(v>>1))/l,(u+(f>>1))/l),t.rotate&&a.rotate(t.rotate*o),a.fillText(t.text,0,0),t.padding&&(a.lineWidth=2*t.padding,a.strokeText(t.text,0,0)),a.restore(),t.width=v,t.height=f,t.xoff=s,t.yoff=u,t.x1=v>>1,t.y1=f>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,s+=v}var M=a.getImageData(0,0,(c<<5)/l,i/l).data,b=[];while(--r>=0)if(t=n[r],t.hasText){v=t.width;for(var j=v>>5,w=(f=t.y1-t.y0,0);w>5),C=M[(u+x)*(c<<5)+(s+w)<<2]?1<<31-w%32:0;b[L]|=C,H|=C}H?V=x:(t.y0++,f--,x--,u++)}t.y1=t.y0+V,t.sprite=b.slice(0,(t.y1-t.y0)*j)}}}function f(e,t,n){n>>=5;for(var r,o=e.sprite,c=e.width>>5,i=e.x-(c<<4),a=127&i,l=32-a,s=e.y1-e.y0,u=(e.y+e.y0)*n+(i>>5),h=0;h>>a:0))&t[u+d])return!0;u+=n}return!1}function _(e,t){var n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}function p(e,t){return e.x+e.x1>t[0].x&&e.x+e.x0t[0].y&&e.y+e.y0>2);e.width=(c<<5)/t,e.height=i/t;var n=e.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",{context:n,ratio:t}}function O(t,n,r){var o,c,i,a=n.x,l=n.y,s=Math.sqrt(e[0]*e[0]+e[1]*e[1]),u=V(e),h=C()<.5?1:-1,d=-h;while(o=u(d+=h)){if(c=~~o[0],i=~~o[1],Math.min(Math.abs(c),Math.abs(i))>=s)break;if(n.x=a+c,n.y=l+i,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>e[0]||n.y+n.y1>e[1])&&(!r||!f(n,t,e[0]))&&(!r||p(n,r))){for(var v=n.sprite,_=n.width>>5,m=e[0]>>5,g=n.x-(_<<4),z=127&g,y=32-z,M=n.y1-n.y0,b=void 0,j=(n.y+n.y0)*m+(g>>5),w=0;w>>z:0);j+=m}return delete n.sprite,!0}}return!1}return E.canvas=function(e){return arguments.length?(S=M(e),E):S},E.start=function(){var c=r.__read(e,2),i=c[0],a=c[1],l=T(S()),s=E.board?E.board:z((e[0]>>5)*e[1]),u=x.length,h=[],d=x.map((function(e,r){return e.text=t.call(this,e,r),e.font=n.call(this,e,r),e.style=g.call(this,e,r),e.weight=j.call(this,e,r),e.rotate=w.call(this,e,r),e.size=~~o.call(this,e,r),e.padding=H.call(this,e,r),e})).sort((function(e,t){return t.size-e.size})),f=-1,p=E.board?[{x:0,y:0},{x:i,y:a}]:null;function m(){var t=Date.now();while(Date.now()-t>1,n.y=a*(C()+.5)>>1,v(l,n,d,f),n.hasText&&O(s,n,p)&&(h.push(n),p?E.hasImage||_(p,n):p=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=e[0]>>1,n.y-=e[1]>>1)}E._tags=h,E._bounds=p}return m(),E},E.createMask=function(t){var n=document.createElement("canvas"),o=r.__read(e,2),c=o[0],i=o[1],a=c>>5,l=z((c>>5)*i);n.width=c,n.height=i;var s=n.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,c,i);for(var u=s.getImageData(0,0,c,i).data,h=0;h>5),f=h*c+d<<2,_=u[f]>=250&&u[f+1]>=250&&u[f+2]>=250,p=_?1<<31-d%32:0;l[v]|=p}E.board=l,E.hasImage=!0},E.timeInterval=function(e){return arguments.length?(L=null==e?1/0:e,E):L},E.words=function(e){return arguments.length?(x=e,E):x},E.size=function(t){return arguments.length?(e=[+t[0],+t[1]],E):e},E.font=function(e){return arguments.length?(n=M(e),E):n},E.fontStyle=function(e){return arguments.length?(g=M(e),E):g},E.fontWeight=function(e){return arguments.length?(j=M(e),E):j},E.rotate=function(e){return arguments.length?(w=M(e),E):w},E.text=function(e){return arguments.length?(t=M(e),E):t},E.spiral=function(e){return arguments.length?(V=b[e]||e,E):V},E.fontSize=function(e){return arguments.length?(o=M(e),E):o},E.padding=function(e){return arguments.length?(H=M(e),E):H},E.random=function(e){return arguments.length?(C=e,E):C},E}t.default=j},"./src/view.ts": /*!*********************!*\ !*** ./src/view.ts ***! \*********************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n(/*! wolfy87-eventemitter */"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js")),c=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js");function i(e){var t={};return c.forIn(e,(function(e,n){c.isObject(e)&&e.isView?t[n]=e:c.isArray(e)?t[n]=e.concat([]):c.isPlainObject(e)?t[n]=c.clone(e):t[n]=e})),t}var a=function(e){function t(t,n){var r=e.call(this)||this;if(r.isView=!0,r.isDataView=!0,r.watchingStates=null,r.dataType="table",r.transforms=[],r.origin=[],r.rows=[],t&&t.isDataSet?r.dataSet=t:(r.dataSet=null,n=t),r.loose=!r.dataSet,n&&(r.watchingStates=n.watchingStates),!r.loose){var o=r.watchingStates;t.on("statechange",(function(e){c.isArray(o)?o.indexOf(e)>-1&&r._reExecute():r._reExecute()}))}return r}return r.__extends(t,e),t.prototype._parseStateExpression=function(e){var t=this.dataSet;if(null!==t){var n=/^\$state\.(\w+)/.exec(e);return n?t.state[n[1]]:e}},t.prototype._preparseOptions=function(e){var t=this,n=i(e);return this.loose||c.forIn(n,(function(e,r){c.isString(e)&&/^\$state\./.test(e)&&(n[r]=t._parseStateExpression(e))})),n},t.prototype._prepareSource=function(e,n){if(this._source={source:e,options:n},n){r=this._preparseOptions(n);this.origin=t.DataSet.getConnector(r.type)(e,r,this)}else if(e instanceof t||c.isString(e))this.origin=t.DataSet.getConnector("default")(e,this.dataSet);else if(c.isArray(e))this.origin=e;else{if(!c.isObject(e)||!e.type)throw new TypeError("Invalid source");var r=this._preparseOptions(e);this.origin=t.DataSet.getConnector(r.type)(r,this)}return this.rows=c.deepMix([],this.origin),this},t.prototype.source=function(e,t){return this._prepareSource(e,t)._reExecuteTransforms(),this.trigger("change",[]),this},t.prototype.transform=function(e){return e&&e.type&&(this.transforms.push(e),this._executeTransform(e)),this},t.prototype._executeTransform=function(e){e=this._preparseOptions(e);var n=t.DataSet.getTransform(e.type);n(this,e)},t.prototype._reExecuteTransforms=function(){var e=this;this.transforms.forEach((function(t){e._executeTransform(t)}))},t.prototype.addRow=function(e){this.rows.push(e)},t.prototype.removeRow=function(e){this.rows.splice(e,1)},t.prototype.updateRow=function(e,t){c.assign(this.rows[e],t)},t.prototype.findRows=function(e){return this.rows.filter((function(t){return c.isMatch(t,e)}))},t.prototype.findRow=function(e){return c.find(this.rows,e)},t.prototype.getColumnNames=function(){var e=this.rows[0];return e?c.keys(e):[]},t.prototype.getColumnName=function(e){return this.getColumnNames()[e]},t.prototype.getColumnIndex=function(e){var t=this.getColumnNames();return t.indexOf(e)},t.prototype.getColumn=function(e){return this.rows.map((function(t){return t[e]}))},t.prototype.getColumnData=function(e){return this.getColumn(e)},t.prototype.getSubset=function(e,t,n){for(var r=[],o=e;o<=t;o++)r.push(c.pick(this.rows[o],n));return r},t.prototype.toString=function(e){return void 0===e&&(e=!1),e?JSON.stringify(this.rows,null,2):JSON.stringify(this.rows)},t.prototype._reExecute=function(){var e=this._source,t=e.source,n=e.options;this._prepareSource(t,n),this._reExecuteTransforms(),this.trigger("change",[])},t}(o.default);t.View=a}})}))},7746:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("66cb")),c=2,i=16,a=5,l=5,s=15,u=5,h=4;function d(e,t,n){var r;return r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-c*t:Math.round(e.h)+c*t:n?Math.round(e.h)+c*t:Math.round(e.h)-c*t,r<0?r+=360:r>=360&&(r-=360),r}function v(e,t,n){return 0===e.h&&0===e.s?e.s:(r=n?Math.round(100*e.s)-i*t:t===h?Math.round(100*e.s)+i:Math.round(100*e.s)+a*t,r>100&&(r=100),n&&t===u&&r>10&&(r=10),r<6&&(r=6),r);var r}function f(e,t,n){return n?Math.round(100*e.v)+l*t:Math.round(100*e.v)-s*t}function _(e){for(var t=[],n=o.default(e),r=u;r>0;r-=1){var c=n.toHsv(),i=o.default({h:d(c,r,!0),s:v(c,r,!0),v:f(c,r,!0)}).toHexString();t.push(i)}t.push(n.toHexString());for(r=1;r<=h;r+=1){c=n.toHsv(),i=o.default({h:d(c,r),s:v(c,r),v:f(c,r)}).toHexString();t.push(i)}return t}t.default=_},8520:function(e,t,n){"use strict";var r=n("41b2"),o=n.n(r),c=n("2adb"),i={primaryColor:"#333",secondaryColor:"#E6E6E6"},a={name:"AntdIcon",props:["type","primaryColor","secondaryColor"],displayName:"IconVue",definitions:new c["a"],data:function(){return{twoToneColorPalette:i}},add:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:i;if(e){var n=a.definitions.get(e);return n&&"function"===typeof n.icon&&(n=o()({},n,{icon:n.icon(t.primaryColor,t.secondaryColor)})),n}},setTwoToneColors:function(e){var t=e.primaryColor,n=e.secondaryColor;i.primaryColor=t,i.secondaryColor=n||Object(c["c"])(t)},getTwoToneColors:function(){return o()({},i)},render:function(e){var t=this.$props,n=t.type,r=t.primaryColor,l=t.secondaryColor,s=void 0,u=i;if(r&&(u={primaryColor:r,secondaryColor:l||Object(c["c"])(r)}),Object(c["d"])(n))s=n;else if("string"===typeof n&&(s=a.get(n,u),!s))return null;return s?(s&&"function"===typeof s.icon&&(s=o()({},s,{icon:s.icon(u.primaryColor,u.secondaryColor)})),Object(c["b"])(e,s.icon,"svg-"+s.name,{attrs:{"data-icon":s.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},on:this.$listeners})):(Object(c["e"])("type should be string or icon definiton, but got "+n),null)},install:function(e){e.component(a.name,a)}},l=a;t["a"]=l}}]);