diff --git a/index.html b/index.html index b4553f4..9cb4910 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -d3vue
+d3vue
diff --git a/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css.map b/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css.map deleted file mode 100644 index 53dd064..0000000 --- a/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack:///src/app.vue","webpack:///webpack:///src/components/demos-navigation.vue","webpack:///webpack:///src/components/index.vue"],"names":[],"mappings":";AACA;EACE,oDAAoD;EACpD,oCAAoC;EACpC,mCAAmC;EACnC,mBAAmB;EACnB,iBAAiB;CAClB;AACD;EACE,aAAa;EACb,sBAAsB;CACvB;;ACVD;EACE,eAAe;EACf,aAAa;EACb,aAAa;EACb,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,mBAAmB;EACnB,aAAa;EACb,sBAAsB;EACtB,kBAAkB;EAClB,YAAY;CACb;AACD;EACE,2BAA2B;CAC5B;AACD;EACE,UAAU;CACX;AACD;EACE,WAAW;EACX,mBAAmB;CACpB;AACD;EACE,WAAW;EACX,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,aAAa;EACb,mBAAmB;EACnB,aAAa;EACb,gCAAgC;EAChC,+BAA+B;EAC/B,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtCD;EACE,oBAAoB;CACrB;AACD;EACE,0BAA0B;EAC1B,WAAW;EACX,aAAa;EACb,aAAa;CACd;AACD;EACE,0BAA0B;EAC1B,cAAc;EACd,mBAAmB;CACpB;AACD;EACE,YAAY;EACZ,eAAe;EACf,sBAAsB;EACtB,iBAAiB;CAClB;AACD;EACE,2BAA2B;CAC5B","file":"static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css","sourcesContent":["\n#app[data-v-41b7bac0] {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n margin-top: 30px;\n}\na[data-v-41b7bac0] {\n color: black;\n text-decoration: none;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/app.vue","\n#links[data-v-098bb42e] {\n display: block;\n width: 300px;\n height: 40px;\n position: relative;\n}\na[data-v-098bb42e] {\n display: block;\n position: absolute;\n width: 100px;\n text-decoration: none;\n font-weight: bold;\n color: blue;\n}\na[data-v-098bb42e]:hover {\n text-decoration: underline;\n}\n.prev[data-v-098bb42e] {\n left: 0px;\n}\n.source[data-v-098bb42e] {\n left:100px;\n text-align: center;\n}\n.next[data-v-098bb42e] {\n right: 0px;\n text-align: right;\n}\n#holder[data-v-098bb42e] {\n width: 300px;\n margin: auto;\n position: relative;\n height: 30px;\n /*border-top: 1px dashed gray;*/\n border-bottom: 1px dashed gray;\n padding-top: 10px;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/demos-navigation.vue","\nh1[data-v-417810ac], h2[data-v-417810ac] {\n font-weight: normal;\n}\nul[data-v-417810ac] {\n /*list-style-type: none;*/\n padding: 0;\n margin: auto;\n width: 150px;\n}\nli[data-v-417810ac] {\n /*display: inline-block;*/\n margin: 0 0px;\n list-style: decimal\n}\na[data-v-417810ac] {\n color: blue;\n display: block;\n text-decoration: none;\n text-align: left;\n}\na[data-v-417810ac]:hover {\n text-decoration: underline;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/index.vue"],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css b/static/css/app.752473ca92f5d6dd24c6d0a552a77d21.css similarity index 71% rename from static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css rename to static/css/app.752473ca92f5d6dd24c6d0a552a77d21.css index 61ee342..7db59b4 100644 --- a/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css +++ b/static/css/app.752473ca92f5d6dd24c6d0a552a77d21.css @@ -30,6 +30,7 @@ a[data-v-098bb42e]:hover { } .prev[data-v-098bb42e] { left: 0px; + text-align: left; } .source[data-v-098bb42e] { left:100px; @@ -128,6 +129,88 @@ a[data-v-098bb42e]:hover { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/* + #bars-style-basic-svg + will be added to global namespace +*/ +#bars-style-basic-svg .one { + fill: #ffc300 +} +#bars-style-basic-svg .two { + fill: #c70039 +} +#bars-style-basic-svg .three { + fill: #571845 +} +#bars-style-basic-svg { + margin-top: 40px; +} + +.one[data-v-0e55e99d] { + fill: #154890 +} +.two[data-v-0e55e99d] { + fill: #e1d4c0 +} +.three[data-v-0e55e99d] { + fill: #ff6600 +} +svg[data-v-0e55e99d] { + margin-top: 40px; +} + h1[data-v-417810ac], h2[data-v-417810ac] { font-weight: normal; } @@ -152,4 +235,4 @@ a[data-v-417810ac]:hover { text-decoration: underline; } -/*# sourceMappingURL=app.6d91e7f242696e554ecda5be3dbdb7d1.css.map*/ \ No newline at end of file +/*# sourceMappingURL=app.752473ca92f5d6dd24c6d0a552a77d21.css.map*/ \ No newline at end of file diff --git a/static/css/app.752473ca92f5d6dd24c6d0a552a77d21.css.map b/static/css/app.752473ca92f5d6dd24c6d0a552a77d21.css.map new file mode 100644 index 0000000..5e95579 --- /dev/null +++ b/static/css/app.752473ca92f5d6dd24c6d0a552a77d21.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack:///src/app.vue","webpack:///webpack:///src/components/demos-navigation.vue","webpack:///webpack:///src/d3-components/bars-style-basic.vue","webpack:///webpack:///src/d3-components/bars-style-scoped.vue","webpack:///webpack:///src/components/index.vue"],"names":[],"mappings":";AACA;EACE,oDAAoD;EACpD,oCAAoC;EACpC,mCAAmC;EACnC,mBAAmB;EACnB,iBAAiB;CAClB;AACD;EACE,aAAa;EACb,sBAAsB;CACvB;;ACVD;EACE,eAAe;EACf,aAAa;EACb,aAAa;EACb,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,mBAAmB;EACnB,aAAa;EACb,sBAAsB;EACtB,kBAAkB;EAClB,YAAY;CACb;AACD;EACE,2BAA2B;CAC5B;AACD;EACE,UAAU;EACV,iBAAiB;CAClB;AACD;EACE,WAAW;EACX,mBAAmB;CACpB;AACD;EACE,WAAW;EACX,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,aAAa;EACb,mBAAmB;EACnB,aAAa;EACb,gCAAgC;EAChC,+BAA+B;EAC/B,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACYD;;;EAGE;AACF;EACE,aAAa;CACd;AACD;EACE,aAAa;CACd;AACD;EACE,aAAa;CACd;AACD;EACE,iBAAiB;CAClB;;AClED;EACE,aAAa;CACd;AACD;EACE,aAAa;CACd;AACD;EACE,aAAa;CACd;AACD;EACE,iBAAiB;CAClB;;ACXD;EACE,oBAAoB;CACrB;AACD;EACE,0BAA0B;EAC1B,WAAW;EACX,aAAa;EACb,aAAa;CACd;AACD;EACE,0BAA0B;EAC1B,cAAc;EACd,mBAAmB;CACpB;AACD;EACE,YAAY;EACZ,eAAe;EACf,sBAAsB;EACtB,iBAAiB;CAClB;AACD;EACE,2BAA2B;CAC5B","file":"static/css/app.752473ca92f5d6dd24c6d0a552a77d21.css","sourcesContent":["\n#app[data-v-41b7bac0] {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n margin-top: 30px;\n}\na[data-v-41b7bac0] {\n color: black;\n text-decoration: none;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/app.vue","\n#links[data-v-098bb42e] {\n display: block;\n width: 300px;\n height: 40px;\n position: relative;\n}\na[data-v-098bb42e] {\n display: block;\n position: absolute;\n width: 100px;\n text-decoration: none;\n font-weight: bold;\n color: blue;\n}\na[data-v-098bb42e]:hover {\n text-decoration: underline;\n}\n.prev[data-v-098bb42e] {\n left: 0px;\n text-align: left;\n}\n.source[data-v-098bb42e] {\n left:100px;\n text-align: center;\n}\n.next[data-v-098bb42e] {\n right: 0px;\n text-align: right;\n}\n#holder[data-v-098bb42e] {\n width: 300px;\n margin: auto;\n position: relative;\n height: 30px;\n /*border-top: 1px dashed gray;*/\n border-bottom: 1px dashed gray;\n padding-top: 10px;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/demos-navigation.vue","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*\n #bars-style-basic-svg\n will be added to global namespace\n*/\n#bars-style-basic-svg .one {\n fill: #ffc300\n}\n#bars-style-basic-svg .two {\n fill: #c70039\n}\n#bars-style-basic-svg .three {\n fill: #571845\n}\n#bars-style-basic-svg {\n margin-top: 40px;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/d3-components/bars-style-basic.vue","\n.one[data-v-0e55e99d] {\n fill: #154890\n}\n.two[data-v-0e55e99d] {\n fill: #e1d4c0\n}\n.three[data-v-0e55e99d] {\n fill: #ff6600\n}\nsvg[data-v-0e55e99d] {\n margin-top: 40px;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/d3-components/bars-style-scoped.vue","\nh1[data-v-417810ac], h2[data-v-417810ac] {\n font-weight: normal;\n}\nul[data-v-417810ac] {\n /*list-style-type: none;*/\n padding: 0;\n margin: auto;\n width: 150px;\n}\nli[data-v-417810ac] {\n /*display: inline-block;*/\n margin: 0 0px;\n list-style: decimal\n}\na[data-v-417810ac] {\n color: blue;\n display: block;\n text-decoration: none;\n text-align: left;\n}\na[data-v-417810ac]:hover {\n text-decoration: underline;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/index.vue"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/app.32c6f22976051ea4025f.js b/static/js/app.32c6f22976051ea4025f.js deleted file mode 100644 index 30d0f35..0000000 --- a/static/js/app.32c6f22976051ea4025f.js +++ /dev/null @@ -1,2 +0,0 @@ -webpackJsonp([1,2],[,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(30),a=[{name:"Circle mount",path:"/circle-mount",component:n(73)},{name:"Size controller",path:"/size-controller",component:n(74)}].map(function(e){var t=e;return t.href="#"+e.path,t.source=r.githubLink+r.d3ComponentsPath+e.path+".vue",t})},,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports={githubLink:"https://github.com/corpglory/d3vue/",d3ComponentsPath:"tree/master/src/d3-components"}},function(e,t,n){"use strict";var r=n(39),a=n.n(r),i=n(16),c=n.n(i),s=n(80),o=n.n(s),u=n(72),l=n.n(u),f=n(8);c.a.use(o.a),t.a=new o.a({routes:[{path:"/",name:"Menu",component:l.a}].concat(a()(f.a))})},function(e,t,n){n(68);var r=n(2)(n(33),n(77),"data-v-41b7bac0",null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71),a=n.n(r);t.default={name:"app",components:{topNav:a.a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),a=n(30);t.default={computed:{prev:function(){var e=this.findIndex();if(e!=-1)return e>0?r.a[e-1]:void 0},next:function(){var e=this.findIndex();if(e!=-1)return e+1 ")]):e._e()])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"hello"},[n("ul",e._l(e.items,function(t){return n("li",[n("a",{attrs:{href:t.href}},[e._v(e._s(t.name))])])}))])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[e._m(0),e._v(" "),n("h2",[e._v(e._s(e.$route.name))]),e._v(" "),n("top-nav"),e._v(" "),n("router-view")],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{attrs:{href:"#/"}},[n("h1",[e._v(" D3.js vs Vue.js examples ")])])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg",{attrs:{width:"500",height:"300"}}),e._v(" "),n("br"),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.circleSize,expression:"circleSize"}],attrs:{type:"range",min:"1",max:"100",step:"1"},domProps:{value:e._s(e.circleSize)},on:{input:function(t){e.circleSize=t.target.value}}})])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{width:"500",height:"300"}})},staticRenderFns:[]}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),a=n.n(r),i=n(32),c=n.n(i),s=n(31);new a.a({el:"#app",router:s.a,template:"",components:{app:c.a}})}],[83]); -//# sourceMappingURL=app.32c6f22976051ea4025f.js.map \ No newline at end of file diff --git a/static/js/app.32c6f22976051ea4025f.js.map b/static/js/app.32c6f22976051ea4025f.js.map deleted file mode 100644 index e9c3959..0000000 --- a/static/js/app.32c6f22976051ea4025f.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///static/js/app.32c6f22976051ea4025f.js","webpack:///./src/router/demos.js","webpack:///./src/config.json","webpack:///./src/router/index.js","webpack:///./src/app.vue","webpack:///app.vue","webpack:///demos-navigation.vue","webpack:///index.vue","webpack:///circle-mount.vue","webpack:///size-controller.vue","webpack:///./src/components/demos-navigation.vue","webpack:///./src/components/index.vue","webpack:///./src/d3-components/circle-mount.vue","webpack:///./src/d3-components/size-controller.vue","webpack:///./src/components/demos-navigation.vue?5a2b","webpack:///./src/components/index.vue?df1f","webpack:///./src/app.vue?497c","webpack:///./src/d3-components/size-controller.vue?4cbe","webpack:///./src/d3-components/circle-mount.vue?0182","webpack:///./src/main.js"],"names":["webpackJsonp","module","__webpack_exports__","__webpack_require__","d","routes","config","name","path","component","map","r","res","href","source","githubLink","d3ComponentsPath","exports","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default","n","__WEBPACK_IMPORTED_MODULE_1_vue__","__WEBPACK_IMPORTED_MODULE_1_vue___default","__WEBPACK_IMPORTED_MODULE_2_vue_router__","__WEBPACK_IMPORTED_MODULE_2_vue_router___default","__WEBPACK_IMPORTED_MODULE_3_components_index__","__WEBPACK_IMPORTED_MODULE_3_components_index___default","__WEBPACK_IMPORTED_MODULE_4__demos__","a","use","concat","Component","Object","defineProperty","value","__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__","__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default","components","topNav","__WEBPACK_IMPORTED_MODULE_0_router_demos__","computed","prev","index","this","findIndex","undefined","next","length","sourceHref","methods","me","$route","data","items","d3","mounted","select","$el","append","attr","circleSize","createElement","svg","circle","watch","newValue","render","_vm","_h","$createElement","_c","_self","attrs","id","staticClass","_v","_e","staticRenderFns","_l","item","_s","_m","width","height","directives","rawName","expression","type","min","max","step","domProps","on","input","$event","target","__WEBPACK_IMPORTED_MODULE_0_vue__","__WEBPACK_IMPORTED_MODULE_0_vue___default","__WEBPACK_IMPORTED_MODULE_1__app__","__WEBPACK_IMPORTED_MODULE_1__app___default","__WEBPACK_IMPORTED_MODULE_2__router__","el","router","template","app"],"mappings":"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","file":"static/js/app.32c6f22976051ea4025f.js","sourcesContent":["webpackJsonp([1,2],[\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */,\n/* 5 */,\n/* 6 */,\n/* 7 */,\n/* 8 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return routes; });\nvar config = __webpack_require__(30);\n\nvar routes = [{\n name: 'Circle mount',\n path: '/circle-mount',\n component: __webpack_require__(73)\n}, {\n name: 'Size controller',\n path: '/size-controller',\n component: __webpack_require__(74)\n}].map(function (r) {\n var res = r;\n res.href = \"#\" + r.path;\n res.source = config.githubLink + config.d3ComponentsPath + r.path + '.vue';\n return res;\n});\n\n/***/ }),\n/* 9 */,\n/* 10 */,\n/* 11 */,\n/* 12 */,\n/* 13 */,\n/* 14 */,\n/* 15 */,\n/* 16 */,\n/* 17 */,\n/* 18 */,\n/* 19 */,\n/* 20 */,\n/* 21 */,\n/* 22 */,\n/* 23 */,\n/* 24 */,\n/* 25 */,\n/* 26 */,\n/* 27 */,\n/* 28 */,\n/* 29 */,\n/* 30 */\n/***/ (function(module, exports) {\n\nmodule.exports = {\n\t\"githubLink\": \"https://github.com/corpglory/d3vue/\",\n\t\"d3ComponentsPath\": \"tree/master/src/d3-components\"\n};\n\n/***/ }),\n/* 31 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__ = __webpack_require__(39);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue__ = __webpack_require__(16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue_router__ = __webpack_require__(80);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue_router___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_vue_router__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_components_index__ = __webpack_require__(72);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_components_index___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_components_index__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__demos__ = __webpack_require__(8);\n\n\n\n\n\n\n__WEBPACK_IMPORTED_MODULE_1_vue___default.a.use(__WEBPACK_IMPORTED_MODULE_2_vue_router___default.a);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = new __WEBPACK_IMPORTED_MODULE_2_vue_router___default.a({\n routes: [{\n path: '/',\n name: 'Menu',\n component: __WEBPACK_IMPORTED_MODULE_3_components_index___default.a\n }].concat(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default()(__WEBPACK_IMPORTED_MODULE_4__demos__[\"a\" /* routes */]))\n});\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(68)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(33),\n /* template */\n __webpack_require__(77),\n /* scopeId */\n \"data-v-41b7bac0\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 33 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__ = __webpack_require__(71);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__);\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n name: 'app',\n components: { topNav: __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default.a }\n};\n\n/***/ }),\n/* 34 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_router_demos__ = __webpack_require__(8);\n\n\n\nvar config = __webpack_require__(30);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n computed: {\n prev: function prev() {\n var index = this.findIndex();\n if (index == -1) {\n return undefined;\n }\n return index > 0 ? __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index - 1] : undefined;\n },\n next: function next() {\n var index = this.findIndex();\n if (index == -1) {\n return undefined;\n }\n return index + 1 < __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */].length ? __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index + 1] : undefined;\n },\n sourceHref: function sourceHref() {\n var index = this.findIndex();\n if (index == -1) {\n return config.githubLink;\n }\n return __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index].source;\n }\n },\n methods: {\n findIndex: function findIndex() {\n var me = this.$route.path;\n return __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */].findIndex(function (r) {\n return r.path === me;\n });\n }\n }\n};\n\n/***/ }),\n/* 35 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_router_demos__ = __webpack_require__(8);\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n data: function data() {\n return {\n items: __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */]\n };\n }\n};\n\n/***/ }),\n/* 36 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\nvar d3 = __webpack_require__(29);\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n mounted: function mounted() {\n d3.select(this.$el).append('circle').attr('cx', '250').attr('cy', '150').attr('r', '100');\n }\n};\n\n/***/ }),\n/* 37 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\nvar d3 = __webpack_require__(29);\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n data: function data() {\n return {\n circleSize: 50\n };\n },\n mounted: function mounted(createElement) {\n var svg = d3.select(this.$el).select('svg');\n this.circle = svg.append('circle').attr('cx', '250').attr('cy', '150').attr('r', this.circleSize);\n },\n watch: {\n circleSize: function circleSize(newValue) {\n this.circle.attr('r', newValue);\n }\n }\n\n};\n\n/***/ }),\n/* 38 */,\n/* 39 */,\n/* 40 */,\n/* 41 */,\n/* 42 */,\n/* 43 */,\n/* 44 */,\n/* 45 */,\n/* 46 */,\n/* 47 */,\n/* 48 */,\n/* 49 */,\n/* 50 */,\n/* 51 */,\n/* 52 */,\n/* 53 */,\n/* 54 */,\n/* 55 */,\n/* 56 */,\n/* 57 */,\n/* 58 */,\n/* 59 */,\n/* 60 */,\n/* 61 */,\n/* 62 */,\n/* 63 */,\n/* 64 */,\n/* 65 */,\n/* 66 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 67 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 68 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(66)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(34),\n /* template */\n __webpack_require__(75),\n /* scopeId */\n \"data-v-098bb42e\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 72 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(67)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(35),\n /* template */\n __webpack_require__(76),\n /* scopeId */\n \"data-v-417810ac\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 73 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(70)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(36),\n /* template */\n __webpack_require__(79),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 74 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(69)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(37),\n /* template */\n __webpack_require__(78),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 75 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"holder\"\n }\n }, [_c('div', {\n staticClass: \"links\"\n }, [(_vm.prev) ? _c('a', {\n staticClass: \"prev\",\n attrs: {\n \"href\": _vm.prev.href\n }\n }, [_vm._v(\" < previous \")]) : _vm._e(), _vm._v(\" \"), _c('a', {\n staticClass: \"source\",\n attrs: {\n \"href\": _vm.sourceHref\n }\n }, [_vm._v(\" source \")]), _vm._v(\" \"), (_vm.next) ? _c('a', {\n staticClass: \"next\",\n attrs: {\n \"href\": _vm.next.href\n }\n }, [_vm._v(\" next > \")]) : _vm._e()])])\n},staticRenderFns: []}\n\n/***/ }),\n/* 76 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"hello\"\n }, [_c('ul', _vm._l((_vm.items), function(item) {\n return _c('li', [_c('a', {\n attrs: {\n \"href\": item.href\n }\n }, [_vm._v(_vm._s(item.name))])])\n }))])\n},staticRenderFns: []}\n\n/***/ }),\n/* 77 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"app\"\n }\n }, [_vm._m(0), _vm._v(\" \"), _c('h2', [_vm._v(_vm._s(_vm.$route.name))]), _vm._v(\" \"), _c('top-nav'), _vm._v(\" \"), _c('router-view')], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', {\n attrs: {\n \"href\": \"#/\"\n }\n }, [_c('h1', [_vm._v(\" D3.js vs Vue.js examples \")])])\n}]}\n\n/***/ }),\n/* 78 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.circleSize),\n expression: \"circleSize\"\n }],\n attrs: {\n \"type\": \"range\",\n \"min\": \"1\",\n \"max\": \"100\",\n \"step\": \"1\"\n },\n domProps: {\n \"value\": _vm._s(_vm.circleSize)\n },\n on: {\n \"input\": function($event) {\n _vm.circleSize = $event.target.value\n }\n }\n })])\n},staticRenderFns: []}\n\n/***/ }),\n/* 79 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n/***/ }),\n/* 80 */,\n/* 81 */,\n/* 82 */,\n/* 83 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app__ = __webpack_require__(32);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__app__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__router__ = __webpack_require__(31);\n\n\n\n\n\nnew __WEBPACK_IMPORTED_MODULE_0_vue___default.a({\n el: '#app',\n router: __WEBPACK_IMPORTED_MODULE_2__router__[\"a\" /* default */],\n template: '',\n components: { app: __WEBPACK_IMPORTED_MODULE_1__app___default.a }\n});\n\n/***/ })\n],[83]);\n\n\n// WEBPACK FOOTER //\n// static/js/app.32c6f22976051ea4025f.js","const config = require('config.json');\n\nexport const routes = [\n {\n name: 'Circle mount',\n path: '/circle-mount',\n component: require('d3-components/circle-mount')\n },\n {\n name: 'Size controller',\n path: '/size-controller',\n component: require('d3-components/size-controller')\n }\n].map(r => {\n var res = r;\n res.href = \"#\" + r.path;\n res.source = config.githubLink +\n config.d3ComponentsPath +\n r.path + '.vue'\n return res;\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/demos.js","module.exports = {\n\t\"githubLink\": \"https://github.com/corpglory/d3vue/\",\n\t\"d3ComponentsPath\": \"tree/master/src/d3-components\"\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/config.json\n// module id = 30\n// module chunks = 1","import Vue from 'vue'\nimport Router from 'vue-router'\nimport Index from 'components/index'\nimport {routes as demoRoutes} from './demos'\n\nVue.use(Router)\n\nexport default new Router({\n routes: [\n {\n path: '/',\n name: 'Menu',\n component: Index\n }, ... demoRoutes\n\n ]\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","\n/* styles */\nrequire(\"!!./../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../node_modules/vue-loader/lib/style-rewriter?id=data-v-41b7bac0&scoped=true!./../node_modules/vue-loader/lib/selector?type=styles&index=0!./app.vue\")\n\nvar Component = require(\"!./../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../node_modules/vue-loader/lib/selector?type=script&index=0!./app.vue\"),\n /* template */\n require(\"!!./../node_modules/vue-loader/lib/template-compiler?id=data-v-41b7bac0!./../node_modules/vue-loader/lib/selector?type=template&index=0!./app.vue\"),\n /* scopeId */\n \"data-v-41b7bac0\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app.vue\n// module id = 32\n// module chunks = 1","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// app.vue?7c5cdb38","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// demos-navigation.vue?3687efc2","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// index.vue?10a4aa44","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// circle-mount.vue?6e00d521","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// size-controller.vue?981154c2","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-098bb42e&scoped=true!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./demos-navigation.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./demos-navigation.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-098bb42e!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./demos-navigation.vue\"),\n /* scopeId */\n \"data-v-098bb42e\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/demos-navigation.vue\n// module id = 71\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-417810ac&scoped=true!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-417810ac!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"),\n /* scopeId */\n \"data-v-417810ac\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/index.vue\n// module id = 72\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-6cdccc88!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./circle-mount.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./circle-mount.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-6cdccc88!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./circle-mount.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/d3-components/circle-mount.vue\n// module id = 73\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-4dc993ec!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./size-controller.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./size-controller.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-4dc993ec!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./size-controller.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/d3-components/size-controller.vue\n// module id = 74\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"holder\"\n }\n }, [_c('div', {\n staticClass: \"links\"\n }, [(_vm.prev) ? _c('a', {\n staticClass: \"prev\",\n attrs: {\n \"href\": _vm.prev.href\n }\n }, [_vm._v(\" < previous \")]) : _vm._e(), _vm._v(\" \"), _c('a', {\n staticClass: \"source\",\n attrs: {\n \"href\": _vm.sourceHref\n }\n }, [_vm._v(\" source \")]), _vm._v(\" \"), (_vm.next) ? _c('a', {\n staticClass: \"next\",\n attrs: {\n \"href\": _vm.next.href\n }\n }, [_vm._v(\" next > \")]) : _vm._e()])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-098bb42e!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/demos-navigation.vue\n// module id = 75\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"hello\"\n }, [_c('ul', _vm._l((_vm.items), function(item) {\n return _c('li', [_c('a', {\n attrs: {\n \"href\": item.href\n }\n }, [_vm._v(_vm._s(item.name))])])\n }))])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-417810ac!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/index.vue\n// module id = 76\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"app\"\n }\n }, [_vm._m(0), _vm._v(\" \"), _c('h2', [_vm._v(_vm._s(_vm.$route.name))]), _vm._v(\" \"), _c('top-nav'), _vm._v(\" \"), _c('router-view')], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', {\n attrs: {\n \"href\": \"#/\"\n }\n }, [_c('h1', [_vm._v(\" D3.js vs Vue.js examples \")])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-41b7bac0!./~/vue-loader/lib/selector.js?type=template&index=0!./src/app.vue\n// module id = 77\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.circleSize),\n expression: \"circleSize\"\n }],\n attrs: {\n \"type\": \"range\",\n \"min\": \"1\",\n \"max\": \"100\",\n \"step\": \"1\"\n },\n domProps: {\n \"value\": _vm._s(_vm.circleSize)\n },\n on: {\n \"input\": function($event) {\n _vm.circleSize = $event.target.value\n }\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-4dc993ec!./~/vue-loader/lib/selector.js?type=template&index=0!./src/d3-components/size-controller.vue\n// module id = 78\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-6cdccc88!./~/vue-loader/lib/selector.js?type=template&index=0!./src/d3-components/circle-mount.vue\n// module id = 79\n// module chunks = 1","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport app from './app'\nimport router from './router'\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n template: '',\n components: { app }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/app.6eaca8f613213f157f5c.js b/static/js/app.6eaca8f613213f157f5c.js new file mode 100644 index 0000000..2e65781 --- /dev/null +++ b/static/js/app.6eaca8f613213f157f5c.js @@ -0,0 +1,2 @@ +webpackJsonp([1,2],[,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(30),a=[{name:"Circle mount",path:"/circle-mount",component:n(79)},{name:"Size controller",path:"/size-controller",component:n(80)},{name:"Bars: styles basic",path:"/bars-style-basic",component:n(77)},{name:"Bars: styles scoped",path:"/bars-style-scoped",component:n(78)}].map(function(t){var e=t;return e.href="#"+t.path,e.source=r.githubLink+r.d3ComponentsPath+t.path+".vue",e})},,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports={githubLink:"https://github.com/corpglory/d3vue/",d3ComponentsPath:"tree/master/src/d3-components"}},function(t,e,n){"use strict";var r=n(41),a=n.n(r),i=n(17),s=n.n(i),c=n(88),o=n.n(c),u=n(76),l=n.n(u),d=n(9);s.a.use(o.a),e.a=new o.a({routes:[{path:"/",name:"Menu",component:l.a}].concat(a()(d.a))})},function(t,e,n){n(72);var r=n(1)(n(33),n(85),"data-v-41b7bac0",null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(75),a=n.n(r);e.default={name:"app",components:{topNav:a.a}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),a=n(30);e.default={computed:{prev:function(){var t=this.findIndex();if(t!=-1)return t>0?r.a[t-1]:void 0},next:function(){var t=this.findIndex();if(t!=-1)return t+1 ")]):t._e()])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{width:"500",height:"300"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{id:"bars-style-basic-svg",width:"500",height:"300"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"hello"},[n("ul",t._l(t.items,function(e){return n("li",[n("a",{attrs:{href:e.href}},[t._v(t._s(e.name))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[t._m(0),t._v(" "),n("h2",[t._v(t._s(t.$route.name))]),t._v(" "),n("top-nav"),t._v(" "),n("router-view")],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{attrs:{href:"#/"}},[n("h1",[t._v(" D3.js vs Vue.js examples ")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("svg",{attrs:{width:"500",height:"300"}}),t._v(" "),n("br"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.circleSize,expression:"circleSize"}],attrs:{type:"range",min:"1",max:"100",step:"1"},domProps:{value:t._s(t.circleSize)},on:{input:function(e){t.circleSize=e.target.value}}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{width:"500",height:"300"}})},staticRenderFns:[]}},,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),a=n.n(r),i=n(32),s=n.n(i),c=n(31);new a.a({el:"#app",router:c.a,template:"",components:{app:s.a}})}],[91]); +//# sourceMappingURL=app.6eaca8f613213f157f5c.js.map \ No newline at end of file diff --git a/static/js/app.6eaca8f613213f157f5c.js.map b/static/js/app.6eaca8f613213f157f5c.js.map new file mode 100644 index 0000000..2be10d8 --- /dev/null +++ b/static/js/app.6eaca8f613213f157f5c.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///static/js/app.6eaca8f613213f157f5c.js","webpack:///./src/router/demos.js","webpack:///./src/config.json","webpack:///./src/router/index.js","webpack:///./src/app.vue","webpack:///app.vue","webpack:///demos-navigation.vue","webpack:///index.vue","webpack:///bars-style-basic.vue","webpack:///bars-style-scoped.vue","webpack:///circle-mount.vue","webpack:///size-controller.vue","webpack:///./src/components/demos-navigation.vue","webpack:///./src/components/index.vue","webpack:///./src/d3-components/bars-style-basic.vue","webpack:///./src/d3-components/bars-style-scoped.vue","webpack:///./src/d3-components/circle-mount.vue","webpack:///./src/d3-components/size-controller.vue","webpack:///./src/components/demos-navigation.vue?5a2b","webpack:///./src/d3-components/bars-style-scoped.vue?3f89","webpack:///./src/d3-components/bars-style-basic.vue?ab8b","webpack:///./src/components/index.vue?df1f","webpack:///./src/app.vue?497c","webpack:///./src/d3-components/size-controller.vue?4cbe","webpack:///./src/d3-components/circle-mount.vue?0182","webpack:///./src/main.js"],"names":["webpackJsonp","module","__webpack_exports__","__webpack_require__","d","routes","config","name","path","component","map","r","res","href","source","githubLink","d3ComponentsPath","exports","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default","n","__WEBPACK_IMPORTED_MODULE_1_vue__","__WEBPACK_IMPORTED_MODULE_1_vue___default","__WEBPACK_IMPORTED_MODULE_2_vue_router__","__WEBPACK_IMPORTED_MODULE_2_vue_router___default","__WEBPACK_IMPORTED_MODULE_3_components_index__","__WEBPACK_IMPORTED_MODULE_3_components_index___default","__WEBPACK_IMPORTED_MODULE_4__demos__","a","use","concat","Component","Object","defineProperty","value","__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__","__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default","components","topNav","__WEBPACK_IMPORTED_MODULE_0_router_demos__","computed","prev","index","this","findIndex","undefined","next","length","sourceHref","methods","me","$route","data","items","d3","mounted","svg","select","$el","width","attr","height","val","console","log","$styles","x","scaleBand","rangeRound","padding","domain","y","scaleLinear","max","selectAll","enter","append","bandwidth","attributes","circleSize","createElement","circle","watch","newValue","render","_vm","_h","$createElement","_c","_self","attrs","id","staticClass","_v","_e","staticRenderFns","_l","item","_s","_m","directives","rawName","expression","type","min","step","domProps","on","input","$event","target","__WEBPACK_IMPORTED_MODULE_0_vue__","__WEBPACK_IMPORTED_MODULE_0_vue___default","__WEBPACK_IMPORTED_MODULE_1__app__","__WEBPACK_IMPORTED_MODULE_1__app___default","__WEBPACK_IMPORTED_MODULE_2__router__","el","router","template","app"],"mappings":"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","file":"static/js/app.6eaca8f613213f157f5c.js","sourcesContent":["webpackJsonp([1,2],[\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */,\n/* 5 */,\n/* 6 */,\n/* 7 */,\n/* 8 */,\n/* 9 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return routes; });\nvar config = __webpack_require__(30);\n\nvar routes = [{\n name: 'Circle mount',\n path: '/circle-mount',\n component: __webpack_require__(79)\n}, {\n name: 'Size controller',\n path: '/size-controller',\n component: __webpack_require__(80)\n}, {\n name: 'Bars: styles basic',\n path: '/bars-style-basic',\n component: __webpack_require__(77)\n}, {\n name: 'Bars: styles scoped',\n path: '/bars-style-scoped',\n component: __webpack_require__(78)\n}].map(function (r) {\n var res = r;\n res.href = \"#\" + r.path;\n res.source = config.githubLink + config.d3ComponentsPath + r.path + '.vue';\n return res;\n});\n\n/***/ }),\n/* 10 */,\n/* 11 */,\n/* 12 */,\n/* 13 */,\n/* 14 */,\n/* 15 */,\n/* 16 */,\n/* 17 */,\n/* 18 */,\n/* 19 */,\n/* 20 */,\n/* 21 */,\n/* 22 */,\n/* 23 */,\n/* 24 */,\n/* 25 */,\n/* 26 */,\n/* 27 */,\n/* 28 */,\n/* 29 */,\n/* 30 */\n/***/ (function(module, exports) {\n\nmodule.exports = {\n\t\"githubLink\": \"https://github.com/corpglory/d3vue/\",\n\t\"d3ComponentsPath\": \"tree/master/src/d3-components\"\n};\n\n/***/ }),\n/* 31 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__ = __webpack_require__(41);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue__ = __webpack_require__(17);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue_router__ = __webpack_require__(88);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue_router___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_vue_router__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_components_index__ = __webpack_require__(76);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_components_index___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_components_index__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__demos__ = __webpack_require__(9);\n\n\n\n\n\n\n__WEBPACK_IMPORTED_MODULE_1_vue___default.a.use(__WEBPACK_IMPORTED_MODULE_2_vue_router___default.a);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = new __WEBPACK_IMPORTED_MODULE_2_vue_router___default.a({\n routes: [{\n path: '/',\n name: 'Menu',\n component: __WEBPACK_IMPORTED_MODULE_3_components_index___default.a\n }].concat(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default()(__WEBPACK_IMPORTED_MODULE_4__demos__[\"a\" /* routes */]))\n});\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(72)\n\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(33),\n /* template */\n __webpack_require__(85),\n /* scopeId */\n \"data-v-41b7bac0\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 33 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__ = __webpack_require__(75);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__);\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n name: 'app',\n components: { topNav: __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default.a }\n};\n\n/***/ }),\n/* 34 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_router_demos__ = __webpack_require__(9);\n\n\n\nvar config = __webpack_require__(30);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n computed: {\n prev: function prev() {\n var index = this.findIndex();\n if (index == -1) {\n return undefined;\n }\n return index > 0 ? __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index - 1] : undefined;\n },\n next: function next() {\n var index = this.findIndex();\n if (index == -1) {\n return undefined;\n }\n return index + 1 < __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */].length ? __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index + 1] : undefined;\n },\n sourceHref: function sourceHref() {\n var index = this.findIndex();\n if (index == -1) {\n return config.githubLink;\n }\n return __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index].source;\n }\n },\n methods: {\n findIndex: function findIndex() {\n var me = this.$route.path;\n return __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */].findIndex(function (r) {\n return r.path === me;\n });\n }\n }\n};\n\n/***/ }),\n/* 35 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_router_demos__ = __webpack_require__(9);\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n data: function data() {\n return {\n items: __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */]\n };\n }\n};\n\n/***/ }),\n/* 36 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\nvar d3 = __webpack_require__(8);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n mounted: function mounted() {\n var svg = d3.select(this.$el);\n var width = +svg.attr('width');\n var height = +svg.attr('height');\n var data = [{ name: 'one', val: 100 }, { name: 'two', val: 150 }, { name: 'three', val: 200 }];\n\n console.log(this.$styles);\n\n var x = d3.scaleBand().rangeRound([0, width]).padding(0.1).domain(data.map(function (d) {\n return d.name;\n }));\n var y = d3.scaleLinear().rangeRound([height, 0]).domain([0, d3.max(data, function (d) {\n return d.val;\n })]);\n\n svg.selectAll('rect').data(data).enter().append('rect').attr('x', function (d) {\n return x(d.name);\n }).attr('class', function (d) {\n return d.name;\n }).attr('y', function (d) {\n return y(d.val);\n }).attr('width', x.bandwidth()).attr('height', function (d) {\n return height - y(d.val);\n });\n }\n};\n\n/***/ }),\n/* 37 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\nvar d3 = __webpack_require__(8);\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n mounted: function mounted() {\n var STYLE_MODULE_NAME = this.$el.attributes[0];\n\n var svg = d3.select(this.$el);\n var width = +svg.attr('width');\n var height = +svg.attr('height');\n var data = [{ name: 'one', val: 100 }, { name: 'two', val: 150 }, { name: 'three', val: 200 }];\n\n var x = d3.scaleBand().rangeRound([0, width]).padding(0.1).domain(data.map(function (d) {\n return d.name;\n }));\n var y = d3.scaleLinear().rangeRound([height, 0]).domain([0, d3.max(data, function (d) {\n return d.val;\n })]);\n\n svg.selectAll('rect').data(data).enter().append('rect').attr('data-v-0e55e99d', '').attr('x', function (d) {\n return x(d.name);\n }).attr('class', function (d) {\n return d.name;\n }).attr('y', function (d) {\n return y(d.val);\n }).attr('width', x.bandwidth()).attr('height', function (d) {\n return height - y(d.val);\n });\n }\n};\n\n/***/ }),\n/* 38 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\nvar d3 = __webpack_require__(8);\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n mounted: function mounted() {\n d3.select(this.$el).append('circle').attr('cx', '250').attr('cy', '150').attr('r', '100');\n }\n};\n\n/***/ }),\n/* 39 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\nvar d3 = __webpack_require__(8);\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n data: function data() {\n return {\n circleSize: 50\n };\n },\n mounted: function mounted(createElement) {\n var svg = d3.select(this.$el).select('svg');\n this.circle = svg.append('circle').attr('cx', '250').attr('cy', '150').attr('r', this.circleSize);\n },\n watch: {\n circleSize: function circleSize(newValue) {\n this.circle.attr('r', newValue);\n }\n }\n\n};\n\n/***/ }),\n/* 40 */,\n/* 41 */,\n/* 42 */,\n/* 43 */,\n/* 44 */,\n/* 45 */,\n/* 46 */,\n/* 47 */,\n/* 48 */,\n/* 49 */,\n/* 50 */,\n/* 51 */,\n/* 52 */,\n/* 53 */,\n/* 54 */,\n/* 55 */,\n/* 56 */,\n/* 57 */,\n/* 58 */,\n/* 59 */,\n/* 60 */,\n/* 61 */,\n/* 62 */,\n/* 63 */,\n/* 64 */,\n/* 65 */,\n/* 66 */,\n/* 67 */,\n/* 68 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 72 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 73 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 74 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 75 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(68)\n\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(34),\n /* template */\n __webpack_require__(81),\n /* scopeId */\n \"data-v-098bb42e\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 76 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(71)\n\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(35),\n /* template */\n __webpack_require__(84),\n /* scopeId */\n \"data-v-417810ac\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 77 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(70)\n\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(36),\n /* template */\n __webpack_require__(83),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 78 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(69)\n\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(37),\n /* template */\n __webpack_require__(82),\n /* scopeId */\n \"data-v-0e55e99d\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 79 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(74)\n\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(38),\n /* template */\n __webpack_require__(87),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 80 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(73)\n\nvar Component = __webpack_require__(1)(\n /* script */\n __webpack_require__(39),\n /* template */\n __webpack_require__(86),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 81 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"holder\"\n }\n }, [_c('div', {\n staticClass: \"links\"\n }, [(_vm.prev) ? _c('a', {\n staticClass: \"prev\",\n attrs: {\n \"href\": _vm.prev.href\n }\n }, [_vm._v(\" < prev \")]) : _vm._e(), _vm._v(\" \"), _c('a', {\n staticClass: \"source\",\n attrs: {\n \"href\": _vm.sourceHref\n }\n }, [_vm._v(\" source \")]), _vm._v(\" \"), (_vm.next) ? _c('a', {\n staticClass: \"next\",\n attrs: {\n \"href\": _vm.next.href\n }\n }, [_vm._v(\" next > \")]) : _vm._e()])])\n},staticRenderFns: []}\n\n/***/ }),\n/* 82 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n/***/ }),\n/* 83 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"id\": \"bars-style-basic-svg\",\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n/***/ }),\n/* 84 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"hello\"\n }, [_c('ul', _vm._l((_vm.items), function(item) {\n return _c('li', [_c('a', {\n attrs: {\n \"href\": item.href\n }\n }, [_vm._v(_vm._s(item.name))])])\n }))])\n},staticRenderFns: []}\n\n/***/ }),\n/* 85 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"app\"\n }\n }, [_vm._m(0), _vm._v(\" \"), _c('h2', [_vm._v(_vm._s(_vm.$route.name))]), _vm._v(\" \"), _c('top-nav'), _vm._v(\" \"), _c('router-view')], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', {\n attrs: {\n \"href\": \"#/\"\n }\n }, [_c('h1', [_vm._v(\" D3.js vs Vue.js examples \")])])\n}]}\n\n/***/ }),\n/* 86 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.circleSize),\n expression: \"circleSize\"\n }],\n attrs: {\n \"type\": \"range\",\n \"min\": \"1\",\n \"max\": \"100\",\n \"step\": \"1\"\n },\n domProps: {\n \"value\": _vm._s(_vm.circleSize)\n },\n on: {\n \"input\": function($event) {\n _vm.circleSize = $event.target.value\n }\n }\n })])\n},staticRenderFns: []}\n\n/***/ }),\n/* 87 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n/***/ }),\n/* 88 */,\n/* 89 */,\n/* 90 */,\n/* 91 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(17);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app__ = __webpack_require__(32);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__app__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__router__ = __webpack_require__(31);\n\n\n\n\n\nnew __WEBPACK_IMPORTED_MODULE_0_vue___default.a({\n el: '#app',\n router: __WEBPACK_IMPORTED_MODULE_2__router__[\"a\" /* default */],\n template: '',\n components: { app: __WEBPACK_IMPORTED_MODULE_1__app___default.a }\n});\n\n/***/ })\n],[91]);\n\n\n// WEBPACK FOOTER //\n// static/js/app.6eaca8f613213f157f5c.js","const config = require('config.json');\n\nexport const routes = [\n {\n name: 'Circle mount',\n path: '/circle-mount',\n component: require('d3-components/circle-mount')\n },\n {\n name: 'Size controller',\n path: '/size-controller',\n component: require('d3-components/size-controller')\n },\n {\n name: 'Bars: styles basic',\n path: '/bars-style-basic',\n component: require('d3-components/bars-style-basic')\n },\n {\n name: 'Bars: styles scoped',\n path: '/bars-style-scoped',\n component: require('d3-components/bars-style-scoped')\n }\n].map(r => {\n var res = r;\n res.href = \"#\" + r.path;\n res.source = config.githubLink +\n config.d3ComponentsPath +\n r.path + '.vue'\n return res;\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/demos.js","module.exports = {\n\t\"githubLink\": \"https://github.com/corpglory/d3vue/\",\n\t\"d3ComponentsPath\": \"tree/master/src/d3-components\"\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/config.json\n// module id = 30\n// module chunks = 1","import Vue from 'vue'\nimport Router from 'vue-router'\nimport Index from 'components/index'\nimport {routes as demoRoutes} from './demos'\n\nVue.use(Router)\n\nexport default new Router({\n routes: [\n {\n path: '/',\n name: 'Menu',\n component: Index\n }, ... demoRoutes\n\n ]\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","\n/* styles */\nrequire(\"!!./../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../node_modules/vue-loader/lib/style-rewriter?id=data-v-41b7bac0&scoped=true!./../node_modules/vue-loader/lib/selector?type=styles&index=0!./app.vue\")\n\nvar Component = require(\"!./../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../node_modules/vue-loader/lib/selector?type=script&index=0!./app.vue\"),\n /* template */\n require(\"!!./../node_modules/vue-loader/lib/template-compiler?id=data-v-41b7bac0!./../node_modules/vue-loader/lib/selector?type=template&index=0!./app.vue\"),\n /* scopeId */\n \"data-v-41b7bac0\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app.vue\n// module id = 32\n// module chunks = 1","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// app.vue?7c5cdb38","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// demos-navigation.vue?e77c5472","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// index.vue?10a4aa44","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// bars-style-basic.vue?50167291","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// bars-style-scoped.vue?77bcc28f","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// circle-mount.vue?33e0bdf0","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// size-controller.vue?981154c2","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-098bb42e&scoped=true!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./demos-navigation.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./demos-navigation.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-098bb42e!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./demos-navigation.vue\"),\n /* scopeId */\n \"data-v-098bb42e\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/demos-navigation.vue\n// module id = 75\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-417810ac&scoped=true!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-417810ac!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"),\n /* scopeId */\n \"data-v-417810ac\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/index.vue\n// module id = 76\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-135caa9e!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./bars-style-basic.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./bars-style-basic.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-135caa9e!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./bars-style-basic.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/d3-components/bars-style-basic.vue\n// module id = 77\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-0e55e99d&scoped=true!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./bars-style-scoped.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./bars-style-scoped.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-0e55e99d!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./bars-style-scoped.vue\"),\n /* scopeId */\n \"data-v-0e55e99d\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/d3-components/bars-style-scoped.vue\n// module id = 78\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-6cdccc88!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./circle-mount.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./circle-mount.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-6cdccc88!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./circle-mount.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/d3-components/circle-mount.vue\n// module id = 79\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-4dc993ec!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./size-controller.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./size-controller.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-4dc993ec!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./size-controller.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/d3-components/size-controller.vue\n// module id = 80\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"holder\"\n }\n }, [_c('div', {\n staticClass: \"links\"\n }, [(_vm.prev) ? _c('a', {\n staticClass: \"prev\",\n attrs: {\n \"href\": _vm.prev.href\n }\n }, [_vm._v(\" < prev \")]) : _vm._e(), _vm._v(\" \"), _c('a', {\n staticClass: \"source\",\n attrs: {\n \"href\": _vm.sourceHref\n }\n }, [_vm._v(\" source \")]), _vm._v(\" \"), (_vm.next) ? _c('a', {\n staticClass: \"next\",\n attrs: {\n \"href\": _vm.next.href\n }\n }, [_vm._v(\" next > \")]) : _vm._e()])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-098bb42e!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/demos-navigation.vue\n// module id = 81\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-0e55e99d!./~/vue-loader/lib/selector.js?type=template&index=0!./src/d3-components/bars-style-scoped.vue\n// module id = 82\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"id\": \"bars-style-basic-svg\",\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-135caa9e!./~/vue-loader/lib/selector.js?type=template&index=0!./src/d3-components/bars-style-basic.vue\n// module id = 83\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"hello\"\n }, [_c('ul', _vm._l((_vm.items), function(item) {\n return _c('li', [_c('a', {\n attrs: {\n \"href\": item.href\n }\n }, [_vm._v(_vm._s(item.name))])])\n }))])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-417810ac!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/index.vue\n// module id = 84\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"app\"\n }\n }, [_vm._m(0), _vm._v(\" \"), _c('h2', [_vm._v(_vm._s(_vm.$route.name))]), _vm._v(\" \"), _c('top-nav'), _vm._v(\" \"), _c('router-view')], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', {\n attrs: {\n \"href\": \"#/\"\n }\n }, [_c('h1', [_vm._v(\" D3.js vs Vue.js examples \")])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-41b7bac0!./~/vue-loader/lib/selector.js?type=template&index=0!./src/app.vue\n// module id = 85\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.circleSize),\n expression: \"circleSize\"\n }],\n attrs: {\n \"type\": \"range\",\n \"min\": \"1\",\n \"max\": \"100\",\n \"step\": \"1\"\n },\n domProps: {\n \"value\": _vm._s(_vm.circleSize)\n },\n on: {\n \"input\": function($event) {\n _vm.circleSize = $event.target.value\n }\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-4dc993ec!./~/vue-loader/lib/selector.js?type=template&index=0!./src/d3-components/size-controller.vue\n// module id = 86\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-6cdccc88!./~/vue-loader/lib/selector.js?type=template&index=0!./src/d3-components/circle-mount.vue\n// module id = 87\n// module chunks = 1","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport app from './app'\nimport router from './router'\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n template: '',\n components: { app }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/manifest.a000bf442d69e76e901e.js b/static/js/manifest.c4e047a9a9bc222349cb.js similarity index 57% rename from static/js/manifest.a000bf442d69e76e901e.js rename to static/js/manifest.c4e047a9a9bc222349cb.js index 1e2721b..0ec8467 100644 --- a/static/js/manifest.a000bf442d69e76e901e.js +++ b/static/js/manifest.c4e047a9a9bc222349cb.js @@ -1,2 +1,2 @@ -!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,i){for(var u,a,f,s=0,l=[];s=Bc?i*=10:o>=Hc?i*=5:o>=Yc&&(i*=2),n=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})}function y(t,n){for(var e,r=0,i=t.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function A(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;rn?1:t>=n?0:NaN}function R(t){return function(){this.removeAttribute(t)}}function L(t){return function(){this.removeAttributeNS(t.space,t.local)}}function j(t,n){return function(){this.setAttribute(t,n)}}function I(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function z(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function D(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function U(t){return function(){this.style.removeProperty(t)}}function q(t,n,e){return function(){this.style.setProperty(t,n,e)}}function F(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function B(t){return function(){delete this[t]}}function H(t,n){return function(){this[t]=n}}function Y(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function V(t){return t.trim().split(/^|\s+/)}function X(t){return t.classList||new W(t)}function W(t){this._node=t,this._names=V(t.getAttribute("class")||"")}function J(t,n){for(var e=X(t),r=-1,i=n.length;++r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=Nl.exec(t))?kt(parseInt(n[1],16)):(n=Ol.exec(t))?new Tt(n[1],n[2],n[3],1):(n=$l.exec(t))?new Tt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Pl.exec(t))?At(n[1],n[2],n[3],n[4]):(n=Rl.exec(t))?At(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ll.exec(t))?Et(n[1],n[2]/100,n[3]/100,1):(n=jl.exec(t))?Et(n[1],n[2]/100,n[3]/100,n[4]):Il.hasOwnProperty(t)?kt(Il[t]):"transparent"===t?new Tt(NaN,NaN,NaN,0):null}function kt(t){return new Tt(t>>16&255,t>>8&255,255&t,1)}function At(t,n,e,r){return r<=0&&(t=n=e=NaN),new Tt(t,n,e,r)}function Ct(t){return t instanceof wt||(t=Mt(t)),t?(t=t.rgb(),new Tt(t.r,t.g,t.b,t.opacity)):new Tt}function St(t,n,e,r){return 1===arguments.length?Ct(t):new Tt(t,n,e,null==r?1:r)}function Tt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Et(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new $t(t,n,e,r)}function Nt(t){if(t instanceof $t)return new $t(t.h,t.s,t.l,t.opacity);if(t instanceof wt||(t=Mt(t)),!t)return new $t;if(t instanceof $t)return t;t=t.rgb();var n=t.r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e0&&s<1?0:a,new $t(a,u,s,t.opacity)}function Ot(t,n,e,r){return 1===arguments.length?Nt(t):new $t(t,n,e,null==r?1:r)}function $t(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Pt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Rt(t){if(t instanceof jt)return new jt(t.l,t.a,t.b,t.opacity);if(t instanceof Bt){var n=t.h*zl;return new jt(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof Tt||(t=Ct(t));var e=Ut(t.r),r=Ut(t.g),i=Ut(t.b),o=It((.4124564*e+.3575761*r+.1804375*i)/ql),a=It((.2126729*e+.7151522*r+.072175*i)/Fl),u=It((.0193339*e+.119192*r+.9503041*i)/Bl);return new jt(116*a-16,500*(o-a),200*(a-u),t.opacity)}function Lt(t,n,e,r){return 1===arguments.length?Rt(t):new jt(t,n,e,null==r?1:r)}function jt(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function It(t){return t>Xl?Math.pow(t,1/3):t/Vl+Hl}function zt(t){return t>Yl?t*t*t:Vl*(t-Hl)}function Dt(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ut(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function qt(t){if(t instanceof Bt)return new Bt(t.h,t.c,t.l,t.opacity);t instanceof jt||(t=Rt(t));var n=Math.atan2(t.b,t.a)*Dl;return new Bt(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ft(t,n,e,r){return 1===arguments.length?qt(t):new Bt(t,n,e,null==r?1:r)}function Bt(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Ht(t){if(t instanceof Vt)return new Vt(t.h,t.s,t.l,t.opacity);t instanceof Tt||(t=Ct(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(nh*r+Ql*n-th*e)/(nh+Ql-th),o=r-i,a=(Gl*(e-i)-Kl*o)/Zl,u=Math.sqrt(a*a+o*o)/(Gl*i*(1-i)),s=u?Math.atan2(a,o)*Dl-120:NaN;return new Vt(s<0?s+360:s,u,i,t.opacity)}function Yt(t,n,e,r){return 1===arguments.length?Ht(t):new Vt(t,n,e,null==r?1:r)}function Vt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Xt(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}function Wt(t,n){return function(e){return t+e*n}}function Jt(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function Kt(t,n){var e=n-t;return e?Wt(t,e>180||e<-180?e-360*Math.round(e/360):e):fh(isNaN(t)?n:t)}function Zt(t){return 1===(t=+t)?Gt:function(n,e){return e-n?Jt(n,e,t):fh(isNaN(n)?e:n)}}function Gt(t,n){var e=n-t;return e?Wt(t,e):fh(isNaN(t)?n:t)}function Qt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;e180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:yh(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}function u(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:yh(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function s(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:yh(t,e)},{i:u-2,x:yh(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}return function(n,e){var r=[],i=[];return n=t(n),e=t(e),o(n.translateX,n.translateY,e.translateX,e.translateY,r,i),a(n.rotate,e.rotate,r,i),u(n.skewX,e.skewX,r,i),s(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,i),n=e=null,function(t){for(var n,e=-1,o=i.length;++e=0&&n._call.call(null,t),n=n._next;--Uh}function _n(){Yh=(Hh=Xh.now())+Vh,Uh=qh=0;try{gn()}finally{Uh=0,xn(),Yh=0}}function mn(){var t=Xh.now(),n=t-Hh;n>Bh&&(Vh-=n,Hh=t)}function xn(){for(var t,n,e=ah,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:ah=n);uh=t,bn(r)}function bn(t){if(!Uh){qh&&(qh=clearTimeout(qh));var n=t-Yh;n>24?(t<1/0&&(qh=setTimeout(_n,n)),Fh&&(Fh=clearInterval(Fh))):(Fh||(Hh=Yh,Fh=setInterval(mn,Bh)),Uh=1,Wh(_n))}}function wn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>Qh)throw new Error("too late");return e}function Mn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>np)throw new Error("too late");return e}function kn(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("too late");return e}function An(t,n,e){function r(t){e.state=tp,e.timer.restart(i,e.delay,e.time),e.delay<=t&&i(t-e.delay)}function i(r){var c,f,l,h;if(e.state!==tp)return a();for(c in s)if(h=s[c],h.name===e.name){if(h.state===ep)return Jh(i);h.state===rp?(h.state=op,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete s[c]):+c=0&&(t=t.slice(0,n)),!t||"start"===t})}function Bn(t,n,e){var r,i,o=Fn(n)?wn:Mn;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}function Hn(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function Yn(t,n){var e,r,i;return function(){var o=nl(this).getComputedStyle(this,null),a=o.getPropertyValue(t),u=(this.style.removeProperty(t),o.getPropertyValue(t));return a===u?null:a===e&&u===r?i:i=n(e=a,r=u)}}function Vn(t){return function(){this.style.removeProperty(t)}}function Xn(t,n,e){var r,i;return function(){var o=nl(this).getComputedStyle(this,null).getPropertyValue(t);return o===e?null:o===r?i:i=n(r=o,e)}}function Wn(t,n,e){var r,i,o;return function(){var a=nl(this).getComputedStyle(this,null),u=a.getPropertyValue(t),s=e(this);return null==s&&(this.style.removeProperty(t),s=a.getPropertyValue(t)),u===s?null:u===r&&s===i?o:o=n(r=u,i=s)}}function Jn(t,n,e){function r(){var r=this,i=n.apply(r,arguments);return i&&function(n){r.style.setProperty(t,i(n),e)}}return r._value=n,r}function Kn(t){return function(){this.textContent=t}}function Zn(t){return function(){var n=t(this);this.textContent=null==n?"":n}}function Gn(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Qn(t){return dt().transition(t)}function te(){return++Tp}function ne(t){return+t}function ee(t){return t*t}function re(t){return t*(2-t)}function ie(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function oe(t){return t*t*t}function ae(t){return--t*t*t+1}function ue(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function se(t){return 1-Math.cos(t*Lp)}function ce(t){return Math.sin(t*Lp)}function fe(t){return(1-Math.cos(Rp*t))/2}function le(t){return Math.pow(2,10*t-10)}function he(t){return 1-Math.pow(2,-10*t)}function pe(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function de(t){return 1-Math.sqrt(1-t*t)}function ve(t){return Math.sqrt(1- --t*t)}function ye(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function ge(t){return 1-_e(1-t)}function _e(t){return(t=+t)Math.abs(t[1]-z[1])?M=!0:w=!0),z=t,b=!0,sd(),o()}function o(){var t;switch(m=z[0]-I[0],x=z[1]-I[1],C){case fd:case cd:S&&(m=Math.max($-l,Math.min(R-v,m)),h=l+m,y=v+m),T&&(x=Math.max(P-p,Math.min(L-g,x)),d=p+x,_=g+x);break;case ld:S<0?(m=Math.max($-l,Math.min(R-l,m)),h=l+m,y=v):S>0&&(m=Math.max($-v,Math.min(R-v,m)),h=l,y=v+m),T<0?(x=Math.max(P-p,Math.min(L-p,x)),d=p+x,_=g):T>0&&(x=Math.max(P-g,Math.min(L-g,x)),d=p,_=g+x);break;case hd:S&&(h=Math.max($,Math.min(R,l-m*S)),y=Math.max($,Math.min(R,v+m*S))),T&&(d=Math.max(P,Math.min(L,p-x*T)),_=Math.max(P,Math.min(L,g+x*T)))}y0&&(l=h-m),T<0?g=_-x:T>0&&(p=d-x),C=fd,q.attr("cursor",yd.selection),o());break;default:return}sd()}function c(){switch(t.event.keyCode){case 16:j&&(w=M=j=!1,o());break;case 18:C===hd&&(S<0?v=y:S>0&&(l=h),T<0?g=_:T>0&&(p=d),C=ld,o());break;case 32:C===fd&&(t.event.altKey?(S&&(v=y-m*S,l=h+m*S),T&&(g=_-x*T,p=d+x*T),C=hd):(S<0?v=y:S>0&&(l=h),T<0?g=_:T>0&&(p=d),C=ld),q.attr("cursor",yd[A]),o());break;default:return}sd()}if(t.event.touches){if(t.event.changedTouches.length=(o=(v+g)/2))?v=o:g=o,(f=e>=(a=(y+_)/2))?y=a:_=a,i=p,!(p=p[l=f<<1|c]))return i[l]=d,t;if(u=+t._x.call(null,p.data),s=+t._y.call(null,p.data),n===u&&e===s)return d.next=p,i?i[l]=d:t._root=d,t;do i=i?i[l]=new Array(4):t._root=new Array(4),(c=n>=(o=(v+g)/2))?v=o:g=o,(f=e>=(a=(y+_)/2))?y=a:_=a;while((l=f<<1|c)===(h=(s>=a)<<1|u>=o));return i[h]=p,i[l]=d,t}function Ze(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),s=1/0,c=1/0,f=-(1/0),l=-(1/0);for(e=0;ef&&(f=r),il&&(l=i));for(f",i=n[3]||"-",o=n[4]||"",a=!!n[5],u=n[6]&&+n[6],s=!!n[7],c=n[8]&&+n[8].slice(1),f=n[9]||"";"n"===f?(s=!0,f="g"):Ov[f]||(f=""),(a||"0"===e&&"="===r)&&(a=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=i,this.symbol=o,this.zero=a,this.width=u,this.comma=s,this.precision=c,this.type=f}function lr(t){return t}function hr(n){return Rv=jv(n),t.format=Rv.format,t.formatPrefix=Rv.formatPrefix,Rv}function pr(){this.reset()}function dr(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function vr(t){return t>1?0:t<-1?by:Math.acos(t)}function yr(t){return t>1?wy:t<-1?-wy:Math.asin(t)}function gr(t){return(t=Ly(t/2))*t}function _r(){}function mr(t,n){t&&Uy.hasOwnProperty(t.type)&&Uy[t.type](t,n)}function xr(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i=0?1:-1,i=r*e,o=Ny(n),a=Ly(n),u=Yv*a,s=Hv*o+u*Ny(i),c=u*r*Ly(i);Fy.add(Ey(c,s)),Bv=t,Hv=o,Yv=a}function Cr(t){return[Ey(t[1],t[0]),yr(t[2])]}function Sr(t){var n=t[0],e=t[1],r=Ny(e);return[r*Ny(n),r*Ly(n),Ly(e)]}function Tr(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Er(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Nr(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Or(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function $r(t){var n=Iy(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function Pr(t,n){ty.push(ny=[Vv=t,Wv=t]),nJv&&(Jv=n)}function Rr(t,n){var e=Sr([t*Cy,n*Cy]);if(Qv){var r=Er(Qv,e),i=[r[1],-r[0],0],o=Er(i,r);$r(o),o=Cr(o);var a,u=t-Kv,s=u>0?1:-1,c=o[0]*Ay*s,f=Sy(u)>180;f^(s*KvJv&&(Jv=a)):(c=(c+360)%360-180,f^(s*KvJv&&(Jv=n))),f?tUr(Vv,Wv)&&(Wv=t):Ur(t,Wv)>Ur(Vv,Wv)&&(Vv=t):Wv>=Vv?(tWv&&(Wv=t)):t>Kv?Ur(Vv,t)>Ur(Vv,Wv)&&(Wv=t):Ur(t,Wv)>Ur(Vv,Wv)&&(Vv=t)}else ty.push(ny=[Vv=t,Wv=t]);nJv&&(Jv=n),Qv=e,Kv=t}function Lr(){Xy.point=Rr}function jr(){ny[0]=Vv,ny[1]=Wv,Xy.point=Pr,Qv=null}function Ir(t,n){if(Qv){var e=t-Kv;Vy.add(Sy(e)>180?e+(e>0?360:-360):e)}else Zv=t,Gv=n;Hy.point(t,n),Rr(t,n)}function zr(){Hy.lineStart()}function Dr(){Ir(Zv,Gv),Hy.lineEnd(),Sy(Vy)>my&&(Vv=-(Wv=180)),ny[0]=Vv,ny[1]=Wv,Qv=null}function Ur(t,n){return(n-=t)<0?n+360:n}function qr(t,n){return t[0]-n[0]}function Fr(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nby?t-ky:t<-by?t+ky:t,n]}function ti(t,n,e){return(t%=ky)?n||e?Gy(ei(t),ri(n,e)):ei(t):n||e?ri(n,e):Qr}function ni(t){return function(n,e){return n+=t,[n>by?n-ky:n<-by?n+ky:n,e]}}function ei(t){var n=ni(t);return n.invert=ni(-t),n}function ri(t,n){function e(t,n){var e=Ny(n),u=Ny(t)*e,s=Ly(t)*e,c=Ly(n),f=c*r+u*i;return[Ey(s*o-f*a,u*r-c*i),yr(f*o+s*a)]}var r=Ny(t),i=Ly(t),o=Ny(n),a=Ly(n);return e.invert=function(t,n){var e=Ny(n),u=Ny(t)*e,s=Ly(t)*e,c=Ly(n),f=c*o-s*a;return[Ey(s*o+c*a,u*r+f*i),yr(f*r-u*i)]},e}function ii(t,n,e,r,i,o){if(e){var a=Ny(n),u=Ly(n),s=r*e;null==i?(i=n+r*ky,o=n-s/2):(i=oi(a,i),o=oi(a,o),(r>0?io)&&(i+=r*ky));for(var c,f=i;r>0?f>o:f0){do c.point(0===f||3===f?t:e,f>1?r:n);while((f=(f+u+4)%4)!==l)}else c.point(o[0],o[1])}function a(r,i){return Sy(r[0]-t)0?0:3:Sy(r[0]-e)0?2:1:Sy(r[1]-n)0?1:0:i>0?3:2}function u(t,n){return s(t.x,n.x)}function s(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){function s(t,n){i(t,n)&&C.point(t,n)}function c(){for(var n=0,e=0,i=y.length;er&&(l-o)*(r-a)>(h-a)*(t-o)&&++n:h<=r&&(l-o)*(r-a)<(h-a)*(t-o)&&--n;return n}function f(){C=S,v=[],y=[],A=!0}function l(){var t=c(),n=A&&t,e=(v=nf(v)).length;(n||e)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),e&&vg(v,u,t,o,a),a.polygonEnd()),C=a,v=y=g=null}function h(){T.point=d,y&&y.push(g=[]),k=!0,M=!1,b=w=NaN}function p(){v&&(d(_,m),x&&M&&S.rejoin(),v.push(S.result())),T.point=s,M&&C.lineEnd()}function d(o,a){var u=i(o,a);if(y&&g.push([o,a]),k)_=o,m=a,x=u,k=!1,u&&(C.lineStart(),C.point(o,a));else if(u&&M)C.point(o,a);else{var s=[b=Math.max(gg,Math.min(yg,b)),w=Math.max(gg,Math.min(yg,w))],c=[o=Math.max(gg,Math.min(yg,o)),a=Math.max(gg,Math.min(yg,a))];pg(s,c,t,n,e,r)?(M||(C.lineStart(),C.point(s[0],s[1])),C.point(c[0],c[1]),u||C.lineEnd(),A=!1):u&&(C.lineStart(),C.point(o,a),A=!1)}b=o,w=a,M=u}var v,y,g,_,m,x,b,w,M,k,A,C=a,S=hg(),T={point:s,lineStart:h,lineEnd:p,polygonStart:f,polygonEnd:l};return T}}function ci(){xg.point=li,xg.lineEnd=fi}function fi(){xg.point=xg.lineEnd=_r}function li(t,n){t*=Cy,n*=Cy,Qy=t,tg=Ly(n),ng=Ny(n),xg.point=hi}function hi(t,n){t*=Cy,n*=Cy;var e=Ly(n),r=Ny(n),i=Sy(t-Qy),o=Ny(i),a=Ly(i),u=r*a,s=ng*e-tg*r*o,c=tg*e+ng*r*o;mg.add(Ey(Iy(u*u+s*s),c)),Qy=t,tg=e,ng=r}function pi(t,n,e){var r=Fc(t,n-my,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function di(t,n,e){var r=Fc(t,n-my,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}function vi(){function t(){return{type:"MultiLineString",coordinates:n()}}function n(){return Fc(Oy(o/y)*y,i,y).map(h).concat(Fc(Oy(c/g)*g,s,g).map(p)).concat(Fc(Oy(r/d)*d,e,d).filter(function(t){return Sy(t%y)>my}).map(f)).concat(Fc(Oy(u/v)*v,a,v).filter(function(t){return Sy(t%g)>my}).map(l))}var e,r,i,o,a,u,s,c,f,l,h,p,d=10,v=d,y=90,g=360,_=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[h(o).concat(p(s).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(o=+n[0][0],i=+n[1][0],c=+n[0][1],s=+n[1][1],o>i&&(n=o,o=i,i=n),c>s&&(n=c,c=s,s=n),t.precision(_)):[[o,c],[i,s]]},t.extentMinor=function(n){return arguments.length?(r=+n[0][0],e=+n[1][0],u=+n[0][1],a=+n[1][1],r>e&&(n=r,r=e,e=n),u>a&&(n=u,u=a,a=n),t.precision(_)):[[r,u],[e,a]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(y=+n[0],g=+n[1],t):[y,g]},t.stepMinor=function(n){return arguments.length?(d=+n[0],v=+n[1],t):[d,v]},t.precision=function(n){return arguments.length?(_=+n,f=pi(u,a,90),l=di(r,e,_),h=pi(c,s,90),p=di(o,i,_),t):_},t.extentMajor([[-180,-90+my],[180,90-my]]).extentMinor([[-180,-80-my],[180,80+my]])}function yi(){return vi()()}function gi(){Eg.point=_i}function _i(t,n){Eg.point=mi,eg=ig=t,rg=og=n}function mi(t,n){Tg.add(og*t-ig*n),ig=t,og=n}function xi(){mi(eg,rg)}function bi(t,n){t$g&&($g=t),nPg&&(Pg=n)}function wi(t,n){Lg+=t,jg+=n,++Ig}function Mi(){Hg.point=ki}function ki(t,n){Hg.point=Ai,wi(sg=t,cg=n)}function Ai(t,n){var e=t-sg,r=n-cg,i=Iy(e*e+r*r);zg+=i*(sg+t)/2,Dg+=i*(cg+n)/2,Ug+=i,wi(sg=t,cg=n)}function Ci(){Hg.point=wi}function Si(){Hg.point=Ei}function Ti(){Ni(ag,ug)}function Ei(t,n){Hg.point=Ni,wi(ag=sg=t,ug=cg=n)}function Ni(t,n){var e=t-sg,r=n-cg,i=Iy(e*e+r*r);zg+=i*(sg+t)/2,Dg+=i*(cg+n)/2,Ug+=i,i=cg*t-sg*n,qg+=i*(sg+t),Fg+=i*(cg+n),Bg+=3*i,wi(sg=t,cg=n)}function Oi(t){this._context=t}function $i(t,n){Zg.point=Pi,Vg=Wg=t,Xg=Jg=n}function Pi(t,n){Wg-=t,Jg-=n,Kg.add(Iy(Wg*Wg+Jg*Jg)),Wg=t,Jg=n}function Ri(){this._string=[]}function Li(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function ji(t){return t.length>1}function Ii(t,n){return((t=t.x)[0]<0?t[1]-wy-my:wy-t[1])-((n=n.x)[0]<0?n[1]-wy-my:wy-n[1])}function zi(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u=o>0?by:-by,s=Sy(o-e);Sy(s-by)0?wy:-wy),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),n=0):i!==u&&s>=by&&(Sy(e-i)my?Ty((Ly(n)*(o=Ny(r))*Ly(e)-Ly(r)*(i=Ny(n))*Ly(t))/(i*o*a)):(n+r)/2}function Ui(t,n,e,r){var i;if(null==t)i=e*wy,r.point(-by,i),r.point(0,i),r.point(by,i),r.point(by,0),r.point(by,-i),r.point(0,-i),r.point(-by,-i),r.point(-by,0),r.point(-by,i);else if(Sy(t[0]-n[0])>my){var o=t[0]4*n&&v--){var x=a+h,b=u+p,w=s+d,M=Iy(x*x+b*b+w*w),k=yr(w/=M),A=Sy(Sy(w)-1)n||Sy((g*E+_*N)/m-.5)>.3||a*h+u*p+s*d2?t[2]%360*Cy:0,i()):[b*Ay,w*Ay,M*Ay]},n.precision=function(t){return arguments.length?(E=u_(r,T=t*t),o()):Iy(T)},n.fitExtent=function(t,e){return Bi(n,t,e)},n.fitSize=function(t,e){return Hi(n,t,e)},function(){return a=t.apply(this,arguments),n.invert=a.invert&&e,i()}}function Ji(t){var n=0,e=by/3,r=Wi(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Cy,e=t[1]*Cy):[n*Ay,e*Ay]},i}function Ki(t){function n(t,n){return[t*e,Ly(n)/e]}var e=Ny(t);return n.invert=function(t,n){return[t/e,yr(n*e)]},n}function Zi(t,n){function e(t,n){var e=Iy(o-2*i*Ly(n))/i;return[e*Ly(t*=i),a-e*Ny(t)]}var r=Ly(t),i=(r+Ly(n))/2;if(Sy(i)0?n<-wy+my&&(n=-wy+my):n>wy-my&&(n=wy-my);var e=o/Ry(ro(n),i);return[e*Ly(i*t),o-e*Ny(i*t)]}var r=Ny(t),i=t===n?Ly(t):Py(r/Ny(n))/Py(ro(n)/ro(t)),o=r*Ry(ro(t),i)/i;return i?(e.invert=function(t,n){var e=o-n,r=jy(i)*Iy(t*t+e*e);return[Ey(t,Sy(e))/i*jy(e),2*Ty(Ry(o/r,1/i))-wy]},e):no}function oo(t,n){return[t,n]}function ao(t,n){function e(t,n){var e=o-n,r=i*t;return[e*Ly(r),o-e*Ny(r)]}var r=Ny(t),i=t===n?Ly(t):(r-Ny(n))/(n-t),o=r/i+t;return Sy(i)=0;)n+=e[r].value;else n=1;t.value=n}function bo(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}function wo(t,n){var e,r,i,o,a,u=new So(t),s=+t.value&&(u.value=t.value),c=[u];for(null==n&&(n=ko);e=c.pop();)if(s&&(e.value=+e.data.value),(i=n(e.data))&&(a=i.length))for(e.children=new Array(a),o=a-1;o>=0;--o)c.push(r=e.children[o]=new So(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(Co)}function Mo(){return wo(this).eachBefore(Ao)}function ko(t){return t.children}function Ao(t){t.data=t.data.data}function Co(t){var n=0;do t.height=n;while((t=t.parent)&&t.height<++n)}function So(t){this.data=t,this.depth=this.height=0,this.parent=null}function To(t){this._=t,this.next=null}function Eo(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r-n.r;return i*i+1e-6>e*e+r*r}function No(t,n){var e,r,i,o=null,a=t.head;switch(n.length){case 1:e=Oo(n[0]);break;case 2:e=$o(n[0],n[1]);break;case 3:e=Po(n[0],n[1],n[2])}for(;a;)i=a._,r=a.next,e&&Eo(e,i)?o=a:(o?(t.tail=o,o.next=null):t.head=t.tail=null,n.push(i),e=No(t,n),n.pop(),t.head?(a.next=t.head,t.head=a):(a.next=null,t.head=t.tail=a),o=t.tail,o.next=r),a=r;return t.tail=o,e}function Oo(t){return{x:t.x,y:t.y,r:t.r}}function $o(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,a=n.y,u=n.r,s=o-e,c=a-r,f=u-i,l=Math.sqrt(s*s+c*c);return{x:(e+o+s/l*f)/2,y:(r+a+c/l*f)/2,r:(l+i+u)/2}}function Po(t,n,e){var r=t.x,i=t.y,o=t.r,a=n.x,u=n.y,s=n.r,c=e.x,f=e.y,l=e.r,h=2*(r-a),p=2*(i-u),d=2*(s-o),v=r*r+i*i-o*o-a*a-u*u+s*s,y=2*(r-c),g=2*(i-f),_=2*(l-o),m=r*r+i*i-o*o-c*c-f*f+l*l,x=y*p-h*g,b=(p*m-g*v)/x-r,w=(g*d-p*_)/x,M=(y*v-h*m)/x-i,k=(h*_-y*d)/x,A=w*w+k*k-1,C=2*(b*w+M*k+o),S=b*b+M*M-o*o,T=(-C-Math.sqrt(C*C-4*A*S))/(2*A);return{x:b+w*T+r,y:M+k*T+i,r:T}}function Ro(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,a=t.r+e.r,u=n.x-r,s=n.y-i,c=u*u+s*s;if(c){var f=.5+((a*=a)-(o*=o))/(2*c),l=Math.sqrt(Math.max(0,2*o*(a+c)-(a-=c)*a-o*o))/(2*c);e.x=r+f*u+l*s,e.y=i+f*s-l*u}else e.x=r+a,e.y=i}function Lo(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function jo(t,n){for(var e=t._.r;t!==n;)e+=2*(t=t.next)._.r;return e-n._.r}function Io(t,n,e){var r=t._,i=t.next._,o=r.r+i.r,a=(r.x*i.r+i.x*r.r)/o-n,u=(r.y*i.r+i.y*r.r)/o-e;return a*a+u*u}function zo(t){this._=t,this.next=null,this.previous=null}function Do(t){if(!(i=t.length))return 0;var n,e,r,i;if(n=t[0],n.x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;Ro(e,n,r=t[2]);var o,a,u,s,c,f,l,h=n.r*n.r,p=e.r*e.r,d=r.r*r.r,v=h+p+d,y=h*n.x+p*e.x+d*r.x,g=h*n.y+p*e.y+d*r.y;n=new zo(n),e=new zo(e),r=new zo(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(u=3;ujo(s,e)?n=s:e=s,n.next=e,e.previous=n,--u;continue t}f+=s._.r,s=s.next}else{if(Lo(c._,r._)){jo(n,c)>l+n._.r+e._.r?n=c:e=c,n.next=e,e.previous=n,--u;continue t}l+=c._.r,c=c.previous}while(s!==c.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,v+=d=r._.r*r._.r,y+=d*r._.x,g+=d*r._.y,h=Io(n,o=y/v,a=g/v);(r=r.next)!==e;)(d=Io(r,o,a))=0;)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function ta(t,n,e){return t.a.parent===n.parent?t.a:e}function na(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function ea(t){for(var n,e,r,i,o,a=new na(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new na(r[i],i)),e.parent=n;return(a.parent=new na(null,0)).children=[a],a}function ra(t,n,e,r,i,o){for(var a,u,s,c,f,l,h,p,d,v,y,g=[],_=n.children,m=0,x=0,b=_.length,w=n.value;mh&&(h=u),y=f*f*v,p=Math.max(h/y,y/l),p>d){f-=u;break}d=p}g.push(a={value:f,dice:s1&&om(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function aa(t){if(!(t>=1))throw new Error;this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function ua(t){if(!t._start)try{sa(t)}catch(n){if(t._tasks[t._ended+t._active-1])fa(t,n);else if(!t._data)throw n}}function sa(t){for(;t._start=t._waiting&&t._active=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(t){}t._active=NaN,la(t)}function la(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function ha(t){return new aa(arguments.length?+t:1/0)}function pa(t){return function(n,e){t(null==n?e:null)}}function da(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}function va(t,n){return function(e){return t(e.responseText,n)}}function ya(t){function n(n){var o=n+"",a=e.get(o);if(!a){if(i!==Em)return i;e.set(o,a=r.push(n))}return t[(a-1)%t.length]}var e=Ue(),r=[],i=Em;return t=null==t?[]:Tm.call(t),n.domain=function(t){if(!arguments.length)return r.slice();r=[],e=Ue();for(var i,o,a=-1,u=t.length;++a=e?1:r(t)}}}function wa(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}function Ma(t,n,e,r){var i=t[0],o=t[1],a=n[0],u=n[1];return o2?ka:Ma,o=a=null,r}function r(n){return(o||(o=i(u,s,f?ba(t):t,c)))(+n)}var i,o,a,u=$m,s=$m,c=bh,f=!1;return r.invert=function(t){return(a||(a=i(s,u,xa,f?wa(n):n)))(+t)},r.domain=function(t){return arguments.length?(u=Sm.call(t,Om),e()):u.slice()},r.range=function(t){return arguments.length?(s=Tm.call(t),e()):s.slice()},r.rangeRound=function(t){return s=Tm.call(t),c=wh,e()},r.clamp=function(t){return arguments.length?(f=!!t,e()):f},r.interpolate=function(t){return arguments.length?(c=t,e()):c},e()}function Sa(t){var n=t.domain;return t.ticks=function(t){var e=n();return Vc(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return Pm(n(),t,e)},t.nice=function(r){var i=n(),o=i.length-1,a=null==r?10:r,u=i[0],s=i[o],c=e(u,s,a);return c&&(c=e(Math.floor(u/c)*c,Math.ceil(s/c)*c,a),i[0]=Math.floor(u/c)*c,i[o]=Math.ceil(s/c)*c,n(i)),t},t}function Ta(){var t=Ca(xa,yh);return t.copy=function(){return Aa(t,Ta())},Sa(t)}function Ea(){function t(t){return+t}var n=[0,1];return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=Sm.call(e,Om),t):n.slice()},t.copy=function(){return Ea().domain(n)},Sa(t)}function Na(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:Nm(n)}function Oa(t,n){return t<0?function(e){return-Math.pow(-n,e)*Math.pow(-t,1-e)}:function(e){return Math.pow(n,e)*Math.pow(t,1-e)}}function $a(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Pa(t){return 10===t?$a:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function Ra(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}function La(t){return function(n){return-t(-n)}}function ja(){function n(){return o=Ra(i),a=Pa(i),r()[0]<0&&(o=La(o),a=La(a)),e}var e=Ca(Na,Oa).domain([1,10]),r=e.domain,i=10,o=Ra(10),a=Pa(10);return e.base=function(t){return arguments.length?(i=+t,n()):i},e.domain=function(t){return arguments.length?(r(t),n()):r()},e.ticks=function(t){var n,e=r(),u=e[0],s=e[e.length-1];(n=s0){for(;hs)break;v.push(l)}}else for(;h=1;--f)if(l=c*f,!(ls)break;v.push(l)}}else v=Vc(h,p,Math.min(p-h,d)).map(a);return n?v.reverse():v},e.tickFormat=function(n,r){if(null==r&&(r=10===i?".0e":","),"function"!=typeof r&&(r=t.format(r)),n===1/0)return r;null==n&&(n=10);var u=Math.max(1,i*n/e.ticks().length);return function(t){var n=t/a(Math.round(o(t)));return n*i0?i[n-1]:e[0],n=i?[o[i-1],r]:[o[n-1],o[n]]},t.copy=function(){return qa().domain([e,r]).range(a)},Sa(t)}function Fa(){function t(t){if(t<=t)return e[Nc(n,t,0,r)]}var n=[.5],e=[0,1],r=1;return t.domain=function(i){return arguments.length?(n=Tm.call(i),r=Math.min(n.length,e.length-1),t):n.slice()},t.range=function(i){return arguments.length?(e=Tm.call(i),r=Math.min(n.length,e.length-1),t):e.slice()},t.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},t.copy=function(){return Fa().domain(n).range(e)},t}function Ba(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n0))return a;do a.push(new Date(+e));while(n(e,o),t(e),e=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(i.count=function(n,r){return Lm.setTime(+n),jm.setTime(+r),t(Lm),t(jm),Math.floor(e(Lm,jm))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t===0}:function(n){return i.count(0,n)%t===0}):i:null}),i}function Ha(t){return Ba(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Um)/Bm})}function Ya(t){return Ba(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/Bm})}function Va(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y), +n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Xa(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Wa(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Ja(t){function n(t,n){return function(e){var r,i,o,a=[],u=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u=s)return-1;if(i=n.charCodeAt(a++),37===i){if(i=n.charAt(a++),o=F[i in qx?n.charAt(a++):i],!o||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function i(t,n,e){var r=N.exec(n.slice(e));return r?(t.p=O[r[0].toLowerCase()],e+r[0].length):-1}function o(t,n,e){var r=R.exec(n.slice(e));return r?(t.w=L[r[0].toLowerCase()],e+r[0].length):-1}function a(t,n,e){var r=$.exec(n.slice(e));return r?(t.w=P[r[0].toLowerCase()],e+r[0].length):-1}function u(t,n,e){var r=z.exec(n.slice(e));return r?(t.m=D[r[0].toLowerCase()],e+r[0].length):-1}function s(t,n,e){var r=j.exec(n.slice(e));return r?(t.m=I[r[0].toLowerCase()],e+r[0].length):-1}function c(t,n,e){return r(t,w,n,e)}function f(t,n,e){return r(t,M,n,e)}function l(t,n,e){return r(t,k,n,e)}function h(t){return S[t.getDay()]}function p(t){return C[t.getDay()]}function d(t){return E[t.getMonth()]}function v(t){return T[t.getMonth()]}function y(t){return A[+(t.getHours()>=12)]}function g(t){return S[t.getUTCDay()]}function _(t){return C[t.getUTCDay()]}function m(t){return E[t.getUTCMonth()]}function x(t){return T[t.getUTCMonth()]}function b(t){return A[+(t.getUTCHours()>=12)]}var w=t.dateTime,M=t.date,k=t.time,A=t.periods,C=t.days,S=t.shortDays,T=t.months,E=t.shortMonths,N=Ga(A),O=Qa(A),$=Ga(C),P=Qa(C),R=Ga(S),L=Qa(S),j=Ga(T),I=Qa(T),z=Ga(E),D=Qa(E),U={a:h,A:p,b:d,B:v,c:null,d:du,e:du,H:vu,I:yu,j:gu,L:_u,m:mu,M:xu,p:y,S:bu,U:wu,w:Mu,W:ku,x:null,X:null,y:Au,Y:Cu,Z:Su,"%":Fu},q={a:g,A:_,b:m,B:x,c:null,d:Tu,e:Tu,H:Eu,I:Nu,j:Ou,L:$u,m:Pu,M:Ru,p:b,S:Lu,U:ju,w:Iu,W:zu,x:null,X:null,y:Du,Y:Uu,Z:qu,"%":Fu},F={a:o,A:a,b:u,B:s,c:c,d:uu,e:uu,H:cu,I:cu,j:su,L:hu,m:au,M:fu,p:i,S:lu,U:nu,w:tu,W:eu,x:f,X:l,y:iu,Y:ru,Z:ou,"%":pu};return U.x=n(M,U),U.X=n(k,U),U.c=n(w,U),q.x=n(M,q),q.X=n(k,q),q.c=n(w,q),{format:function(t){var e=n(t+="",U);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",Va);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",q);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,Xa);return n.toString=function(){return t},n}}}function Ka(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function ou(t,n,e){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function au(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function uu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function su(t,n,e){var r=Fx.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function cu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function fu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function lu(t,n,e){var r=Fx.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function hu(t,n,e){var r=Fx.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function pu(t,n,e){var r=Bx.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function du(t,n){return Ka(t.getDate(),n,2)}function vu(t,n){return Ka(t.getHours(),n,2)}function yu(t,n){return Ka(t.getHours()%12||12,n,2)}function gu(t,n){return Ka(1+Km.count(dx(t),t),n,3)}function _u(t,n){return Ka(t.getMilliseconds(),n,3)}function mu(t,n){return Ka(t.getMonth()+1,n,2)}function xu(t,n){return Ka(t.getMinutes(),n,2)}function bu(t,n){return Ka(t.getSeconds(),n,2)}function wu(t,n){return Ka(Gm.count(dx(t),t),n,2)}function Mu(t){return t.getDay()}function ku(t,n){return Ka(Qm.count(dx(t),t),n,2)}function Au(t,n){return Ka(t.getFullYear()%100,n,2)}function Cu(t,n){return Ka(t.getFullYear()%1e4,n,4)}function Su(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Ka(n/60|0,"0",2)+Ka(n%60,"0",2)}function Tu(t,n){return Ka(t.getUTCDate(),n,2)}function Eu(t,n){return Ka(t.getUTCHours(),n,2)}function Nu(t,n){return Ka(t.getUTCHours()%12||12,n,2)}function Ou(t,n){return Ka(1+xx.count(zx(t),t),n,3)}function $u(t,n){return Ka(t.getUTCMilliseconds(),n,3)}function Pu(t,n){return Ka(t.getUTCMonth()+1,n,2)}function Ru(t,n){return Ka(t.getUTCMinutes(),n,2)}function Lu(t,n){return Ka(t.getUTCSeconds(),n,2)}function ju(t,n){return Ka(wx.count(zx(t),t),n,2)}function Iu(t){return t.getUTCDay()}function zu(t,n){return Ka(Mx.count(zx(t),t),n,2)}function Du(t,n){return Ka(t.getUTCFullYear()%100,n,2)}function Uu(t,n){return Ka(t.getUTCFullYear()%1e4,n,4)}function qu(){return"+0000"}function Fu(){return"%"}function Bu(n){return Dx=Ja(n),t.timeFormat=Dx.format,t.timeParse=Dx.parse,t.utcFormat=Dx.utcFormat,t.utcParse=Dx.utcParse,Dx}function Hu(t){return t.toISOString()}function Yu(t){var n=new Date(t);return isNaN(n)?null:n}function Vu(t){return new Date(t)}function Xu(t){return t instanceof Date?+t:+new Date(+t)}function Wu(t,n,r,i,o,a,u,s,c){function f(e){return(u(e)=1?xb:t<=-1?-xb:Math.asin(t)}function rs(t,n,e,r,i,o,a,u){var s=e-t,c=r-n,f=a-i,l=u-o,h=(f*(n-o)-l*(t-i))/(l*s-f*c);return[t+h*s,n+h*c]}function is(t,n,e,r,i,o,a){var u=t-e,s=n-r,c=(a?o:-o)/Math.sqrt(u*u+s*s),f=c*s,l=-c*u,h=t+f,p=n+l,d=e+f,v=r+l,y=(h+d)/2,g=(p+v)/2,_=d-h,m=v-p,x=_*_+m*m,b=i-o,w=h*v-d*p,M=(m<0?-1:1)*Math.sqrt(Math.max(0,b*b*x-w*w)),k=(w*m-_*M)/x,A=(-w*_-m*M)/x,C=(w*m+_*M)/x,S=(-w*_+m*M)/x,T=k-y,E=A-g,N=C-y,O=S-g;return T*T+E*E>N*N+O*O&&(k=C,A=S),{cx:k,cy:A,x01:-f,y01:-l,x11:k*(i/b-1),y11:A*(i/b-1)}}function os(t){this._context=t}function as(t){return t[0]}function us(t){return t[1]}function ss(t){this._curve=t}function cs(t){function n(n){return new ss(t(n))}return n._curve=t,n}function fs(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(cs(t)):n()._curve},t}function ls(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function hs(t){this._context=t}function ps(t){this._context=t}function ds(t){this._context=t}function vs(t,n){this._basis=new hs(t),this._beta=n}function ys(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function gs(t,n){this._context=t,this._k=(1-n)/6}function _s(t,n){this._context=t,this._k=(1-n)/6}function ms(t,n){this._context=t,this._k=(1-n)/6}function xs(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>_b){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>_b){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/f,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function bs(t,n){this._context=t,this._alpha=n}function ws(t,n){this._context=t,this._alpha=n}function Ms(t,n){this._context=t,this._alpha=n}function ks(t){this._context=t}function As(t){return t<0?-1:1}function Cs(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(As(o)+As(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Ss(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Ts(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function Es(t){this._context=t}function Ns(t){this._context=new Os(t)}function Os(t){this._context=t}function $s(t){return new Es(t)}function Ps(t){return new Ns(t)}function Rs(t){this._context=t}function Ls(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n0)){if(o/=d,d<0){if(o0){if(o>p)return;o>h&&(h=o)}if(o=r-s,d||!(o<0)){if(o/=d,d<0){if(o>p)return;o>h&&(h=o)}else if(d>0){if(o0)){if(o/=v,v<0){if(o0){if(o>p)return;o>h&&(h=o)}if(o=i-c,v||!(o<0)){if(o/=v,v<0){if(o>p)return;o>h&&(h=o)}else if(v>0){if(o0||p<1)||(h>0&&(t[0]=[s+h*d,c+h*v]),p<1&&(t[1]=[s+p*d,c+p*v]),!0)}}}}}function Gs(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,s=t[0],c=t.left,f=t.right,l=c[0],h=c[1],p=f[0],d=f[1],v=(l+p)/2,y=(h+d)/2;if(d===h){if(v=r)return;if(l>p){if(s){if(s[1]>=i)return}else s=[v,e];o=[v,i]}else{if(s){if(s[1]1)if(l>p){if(s){if(s[1]>=i)return}else s=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(s){if(s[1]=r)return}else s=[n,a*n+u];o=[r,a*r+u]}else{if(s){if(s[0]Ow||Math.abs(i[0][1]-i[1][1])>Ow)||delete Tw[o]}function tc(t){return Cw[t.index]={site:t,halfedges:[]}}function nc(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function ec(t,n){return n[+(n.left!==t.site)]}function rc(t,n){return n[+(n.left===t.site)]}function ic(){for(var t,n,e,r,i=0,o=Cw.length;iOw||Math.abs(v-h)>Ow)&&(s.splice(u,0,Tw.push(Js(a,p,Math.abs(d-t)Ow?[t,Math.abs(l-t)Ow?[Math.abs(h-r)Ow?[e,Math.abs(l-e)Ow?[Math.abs(h-n)=-$w)){var p=s*s+c*c,d=f*f+l*l,v=(l*p-c*d)/h,y=(s*d-f*p)/h,g=Ew.pop()||new ac;g.arc=t,g.site=i,g.x=v+a,g.y=(g.cy=y+u)+Math.sqrt(v*v+y*y),t.circle=g;for(var _=null,m=Sw._;m;)if(g.yOw)u=u.L;else{if(i=o-vc(u,a),!(i>Ow)){r>-Ow?(n=u.P,e=u):i>-Ow?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}tc(t);var s=fc(t);if(Aw.insert(n,s),n||e){if(n===e)return sc(n),e=fc(n.site),Aw.insert(s,e),s.edge=e.edge=Ws(n.site,s.site),uc(n),void uc(e);if(!e)return void(s.edge=Ws(n.site,s.site));sc(n),sc(e);var c=n.site,f=c[0],l=c[1],h=t[0]-f,p=t[1]-l,d=e.site,v=d[0]-f,y=d[1]-l,g=2*(h*y-p*v),_=h*h+p*p,m=v*v+y*y,x=[(y*_-p*m)/g+f,(h*m-v*_)/g+l];Ks(e.edge,c,d,x),s.edge=Ws(c,t,null,x),e.edge=Ws(t,d,null,x),uc(n),uc(e)}}function dc(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-(1/0);e=a.site;var u=e[0],s=e[1],c=s-n;if(!c)return u;var f=u-r,l=1/o-1/c,h=f/c;return l?(-h+Math.sqrt(h*h-2*l*(f*f/(-2*c)-s+c/2+i-o/2)))/l+r:(r+u)/2}function vc(t,n){var e=t.N;if(e)return dc(e,n);var r=t.site;return r[1]===n?r[0]:1/0}function yc(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function gc(t,n){return n[1]-t[1]||n[0]-t[0]}function _c(t,n){var e,r,i,o=t.sort(gc).pop();for(Tw=[],Cw=new Array(t.length),Aw=new Bs,Sw=new Bs;;)if(i=kw,o&&(!i||o[1]n?1:t>=n?0:NaN},Tc=function(t){return 1===t.length&&(t=n(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}},Ec=Tc(Sc),Nc=Ec.right,Oc=Ec.left,$c=function(t,n){return nt?1:n>=t?0:NaN},Pc=function(t){return null===t?NaN:+t},Rc=function(t,n){var e,r,i=t.length,o=0,a=0,u=-1,s=0;if(null==n)for(;++u1)return a/(s-1)},Lc=function(t,n){var e=Rc(t,n);return e?Math.sqrt(e):e},jc=function(t,n){var e,r,i,o=-1,a=t.length;if(null==n){for(;++o=r){e=i=r;break}for(;++or&&(e=r),i=r){e=i=r;break}for(;++or&&(e=r),i=f;)l.pop(),--h;var p,d=new Array(h+1);for(i=0;i<=h;++i)p=d[i]=[],p.x0=i>0?l[i-1]:c,p.x1=i=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t),u=+e(t[o+1],o+1,t);return a+(u-a)*(i-o)}},Kc=function(t,n,e){return t=Dc.call(t,Pc).sort(Sc),Math.ceil((e-n)/(2*(Jc(t,.75)-Jc(t,.25))*Math.pow(t.length,-1/3)))},Zc=function(t,n,e){return Math.ceil((e-n)/(3.5*Lc(t)*Math.pow(t.length,-1/3)))},Gc=function(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},Qc=function(t,n){var e,r=0,i=t.length,o=-1,a=i;if(null==n)for(;++o=0;)for(r=t[i],n=r.length;--n>=0;)e[--a]=r[n];return e},ef=function(t,n){var e,r,i=-1,o=t.length;if(null==n){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},rf=function(t){for(var n=0,e=t.length-1,r=t[0],i=new Array(e<0?0:e);n0)for(var e,r,i=new Array(e),o=0;o=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),xf.hasOwnProperty(n)?{space:xf[n],local:t}:t},wf=function(t){var n=bf(t);return(n.local?m:_)(n)},Mf=0;b.prototype=x.prototype={constructor:b,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var kf=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var Af=document.documentElement;if(!Af.matches){var Cf=Af.webkitMatchesSelector||Af.msMatchesSelector||Af.mozMatchesSelector||Af.oMatchesSelector;kf=function(t){return function(){return Cf.call(this,t)}}}}var Sf=kf,Tf={};if(t.event=null,"undefined"!=typeof document){var Ef=document.documentElement;"onmouseenter"in Ef||(Tf={mouseenter:"mouseover",mouseleave:"mouseout"})}var Nf=function(t,n,e){var r,i,o=k(t+""),a=o.length;{if(!(arguments.length<2)){for(u=n?C:A,null==e&&(e=!1),r=0;r=b&&(b=x+1);!(m=y[b])&&++b=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},Xf=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=P);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?U:"function"==typeof n?F:q)(t,n,null==e?"":e)):nl(r=this.node()).getComputedStyle(r,null).getPropertyValue(t)},rl=function(t,n){return arguments.length>1?this.each((null==n?B:"function"==typeof n?Y:H)(t,n)):this.node()[t]};W.prototype={add:function(t){var n=this._names.indexOf(t);n<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var il=function(t,n){var e=V(t+"");if(arguments.length<2){for(var r=X(this.node()),i=-1,o=e.length;++i=240?t-240:t+120,i,r),Pt(t,i,r),Pt(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var zl=Math.PI/180,Dl=180/Math.PI,Ul=18,ql=.95047,Fl=1,Bl=1.08883,Hl=4/29,Yl=6/29,Vl=3*Yl*Yl,Xl=Yl*Yl*Yl;Ml(jt,Lt,bt(wt,{brighter:function(t){return new jt(this.l+Ul*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new jt(this.l-Ul*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=Fl*zt(t),n=ql*zt(n),e=Bl*zt(e),new Tt(Dt(3.2404542*n-1.5371385*t-.4985314*e),Dt(-.969266*n+1.8760108*t+.041556*e),Dt(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Ml(Bt,Ft,bt(wt,{brighter:function(t){return new Bt(this.h,this.c,this.l+Ul*(null==t?1:t),this.opacity)},darker:function(t){return new Bt(this.h,this.c,this.l-Ul*(null==t?1:t),this.opacity)},rgb:function(){return Rt(this).rgb()}}));var Wl=-.14861,Jl=1.78277,Kl=-.29227,Zl=-.90649,Gl=1.97294,Ql=Gl*Zl,th=Gl*Jl,nh=Jl*Kl-Zl*Wl;Ml(Vt,Yt,bt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new Vt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new Vt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*zl,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new Tt(255*(n+e*(Wl*r+Jl*i)),255*(n+e*(Kl*r+Zl*i)),255*(n+e*(Gl*r)),this.opacity)}}));var eh,rh,ih,oh,ah,uh,sh=function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=ro&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:yh(e,r)})),o=mh.lastIndex;return onp&&e.statetp&&e.name===n)return new Gn([[t]],id,n,+r)}return null},ad=function(t){return function(){return t}},ud=function(t,n,e){this.target=t,this.type=n,this.selection=e},sd=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},cd={name:"drag"},fd={name:"space"},ld={name:"handle"},hd={name:"center"},pd={name:"x",handles:["e","w"].map(we),input:function(t,n){return t&&[[t[0],n[0][1]],[t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},dd={name:"y",handles:["n","s"].map(we),input:function(t,n){return t&&[[n[0][0],t[0]],[n[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},vd={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(we),input:function(t){return t},output:function(t){return t}},yd={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},gd={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},_d={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},md={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},xd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},bd=function(){return Ne(vd)},wd=Math.cos,Md=Math.sin,kd=Math.PI,Ad=kd/2,Cd=2*kd,Sd=Math.max,Td=function(){function t(t){var o,a,u,s,c,f,l=t.length,h=[],p=Fc(l),d=[],v=[],y=v.groups=new Array(l),g=new Array(l*l);for(o=0,c=-1;++cPd)if(Math.abs(f*u-s*c)>Pd&&i){var h=e-o,p=r-a,d=u*u+s*s,v=h*h+p*p,y=Math.sqrt(d),g=Math.sqrt(l),_=i*Math.tan((Od-Math.acos((d+l-v)/(2*y*g)))/2),m=_/g,x=_/y;Math.abs(m-1)>Pd&&(this._+="L"+(t+m*c)+","+(n+m*f)),this._+="A"+i+","+i+",0,0,"+ +(f*h>c*p)+","+(this._x1=t+x*u)+","+(this._y1=n+x*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,e=+e;var a=e*Math.cos(r),u=e*Math.sin(r),s=t+a,c=n+u,f=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>Pd||Math.abs(this._y1-c)>Pd)&&(this._+="L"+s+","+c),e&&(l>Rd?this._+="A"+e+","+e+",0,1,"+f+","+(t-a)+","+(n-u)+"A"+e+","+e+",0,1,"+f+","+(this._x1=s)+","+(this._y1=c):(l<0&&(l=l%$d+$d),this._+="A"+e+","+e+",0,"+ +(l>=Od)+","+f+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var Ld=function(){function t(){var t,u=Ed.call(arguments),s=n.apply(this,u),c=e.apply(this,u),f=+r.apply(this,(u[0]=s,u)),l=i.apply(this,u)-Ad,h=o.apply(this,u)-Ad,p=f*wd(l),d=f*Md(l),v=+r.apply(this,(u[0]=c,u)),y=i.apply(this,u)-Ad,g=o.apply(this,u)-Ad;if(a||(a=t=Pe()),a.moveTo(p,d),a.arc(0,0,f,l,h),l===y&&h===g||(a.quadraticCurveTo(0,0,v*wd(y),v*Md(y)),a.arc(0,0,v,y,g)),a.quadraticCurveTo(0,0,p,d),a.closePath(),t)return a=null,t+""||null}var n=Re,e=Le,r=je,i=Ie,o=ze,a=null;return t.radius=function(n){return arguments.length?(r="function"==typeof n?n:Nd(+n),t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:Nd(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:Nd(+n),t):o},t.source=function(e){return arguments.length?(n=e,t):n},t.target=function(n){return arguments.length?(e=n,t):e},t.context=function(n){return arguments.length?(a=null==n?null:n,t):a},t},jd="$";De.prototype=Ue.prototype={constructor:De,has:function(t){return jd+t in this},get:function(t){return this[jd+t]},set:function(t,n){return this[jd+t]=n,this},remove:function(t){var n=jd+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===jd&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===jd&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===jd&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===jd&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===jd&&++t;return t},empty:function(){for(var t in this)if(t[0]===jd)return!1;return!0},each:function(t){for(var n in this)n[0]===jd&&t(this[n],n.slice(1),this)}};var Id=function(){function t(n,i,a,u){if(i>=o.length)return null!=r?r(n):null!=e?n.sort(e):n;for(var s,c,f,l=-1,h=n.length,p=o[i++],d=Ue(),v=a();++lo.length)return t;var i,u=a[e-1];return null!=r&&e>=o.length?i=t.entries():(i=[],t.each(function(t,r){i.push({key:r,values:n(t,e)})})),null!=u?i.sort(function(t,n){return u(t.key,n.key)}):i}var e,r,i,o=[],a=[];return i={object:function(n){return t(n,0,qe,Fe)},map:function(n){return t(n,0,Be,He)},entries:function(e){return n(t(e,0,Be,He),0)},key:function(t){return o.push(t),i},sortKeys:function(t){return a[o.length-1]=t,i},sortValues:function(t){return e=t,i},rollup:function(t){return r=t,i}}},zd=Ue.prototype;Ye.prototype=Ve.prototype={constructor:Ye,has:zd.has,add:function(t){return t+="",this[jd+t]=t,this},remove:zd.remove,clear:zd.clear,values:zd.keys,size:zd.size,empty:zd.empty,each:zd.each};var Dd=function(t){var n=[];for(var e in t)n.push(e);return n},Ud=function(t){var n=[];for(var e in t)n.push(t[e]);return n},qd=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n},Fd=function(t){function n(t,n){var r,i,o=e(t,function(t,e){return r?r(t,e-1):(i=t,void(r=n?We(t,n):Xe(t)))});return o.columns=i,o}function e(t,n){function e(){if(f>=c)return a;if(i)return i=!1,o;var n,e=f;if(34===t.charCodeAt(e)){for(var r=e;r++t||t>i||r>n||n>o))return this;var a,u,s=i-e,c=this._root;switch(u=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do a=new Array(4),a[u]=c,c=a;while(s*=2,i=e+s,o=r+s,t>i||n>o);break;case 1:do a=new Array(4),a[u]=c,c=a;while(s*=2,e=i-s,o=r+s,e>t||n>o);break;case 2:do a=new Array(4),a[u]=c,c=a;while(s*=2,i=e+s,r=o-s,t>i||r>n);break;case 3:do a=new Array(4),a[u]=c,c=a;while(s*=2,e=i-s,r=o-s,e>t||r>n)}this._root&&this._root.length&&(this._root=c)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},iv=function(){var t=[];return this.visit(function(n){if(!n.length)do t.push(n.data);while(n=n.next)}),t},ov=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},av=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i},uv=function(t,n,e){var r,i,o,a,u,s,c,f=this._x0,l=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new av(v,f,l,h,p)),null==e?e=1/0:(f=t-e,l=n-e,h=t+e,p=n+e,e*=e);s=d.pop();)if(!(!(v=s.node)||(i=s.x0)>h||(o=s.y0)>p||(a=s.x1)=g)<<1|t>=y)&&(s=d[d.length-1],d[d.length-1]=d[d.length-1-c],d[d.length-1-c]=s)}else{var _=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),x=_*_+m*m;if(x=(u=(d+y)/2))?d=u:y=u,(f=a>=(s=(v+g)/2))?v=s:g=s,n=p,!(p=p[l=f<<1|c]))return this;if(!p.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[h]=p:this._root=p),this):(this._root=i,this)},cv=function(){return this._root},fv=function(){var t=0;return this.visit(function(n){if(!n.length)do++t;while(n=n.next)}),t},lv=function(t){var n,e,r,i,o,a,u=[],s=this._root;for(s&&u.push(new av(s,this._x0,this._y0,this._x1,this._y1));n=u.pop();)if(!t(s=n.node,r=n.x0,i=n.y0,o=n.x1,a=n.y1)&&s.length){var c=(r+o)/2,f=(i+a)/2;(e=s[3])&&u.push(new av(e,c,f,o,a)),(e=s[2])&&u.push(new av(e,r,f,c,a)),(e=s[1])&&u.push(new av(e,c,i,o,f)),(e=s[0])&&u.push(new av(e,r,i,c,f))}return this},hv=function(t){var n,e=[],r=[];for(this._root&&e.push(new av(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,a=n.x0,u=n.y0,s=n.x1,c=n.y1,f=(a+s)/2,l=(u+c)/2;(o=i[0])&&e.push(new av(o,a,u,f,l)),(o=i[1])&&e.push(new av(o,f,u,s,l)),(o=i[2])&&e.push(new av(o,a,l,f,c)),(o=i[3])&&e.push(new av(o,f,l,s,c))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},pv=function(t){return arguments.length?(this._x=t,this):this._x},dv=function(t){return arguments.length?(this._y=t,this):this._y},vv=nr.prototype=er.prototype;vv.copy=function(){var t,n,e=new er(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=rr(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=rr(n));return e},vv.add=ev,vv.addAll=Ze,vv.cover=rv,vv.data=iv,vv.extent=ov,vv.find=uv,vv.remove=sv,vv.removeAll=Ge,vv.root=cv,vv.size=fv,vv.visit=lv,vv.visitAfter=hv,vv.x=pv,vv.y=dv;var yv,gv=function(t){function n(){function t(t,n,e,r,i){var o=t.data,u=t.r,p=l+u;{if(!o)return n>c+p||rf+p||is.index){var d=c-o.x-o.vx,v=f-o.y-o.vy,y=d*d+v*v;yt.r&&(t.r=t[n].r)}function r(){if(i){var n,e,r=i.length;for(o=new Array(r),n=0;n1?(null==n?l.remove(t):l.set(t,i(n)),o):l.get(t)},find:function(n,e,r){var i,o,a,u,s,c=0,f=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(d.on(t,n),o):d.on(t)}}},wv=function(){function t(t){var n,u=i.length,s=nr(i,sr,cr).visitAfter(e);for(a=t,n=0;n=f)){(t.data!==o||t.next)&&(0===i&&(i=nv(),p+=i*i),0===s&&(s=nv(),p+=s*s),p1?r[0]+r.slice(2):r,+t.slice(e+1)]},Cv=function(t){return t=Av(Math.abs(t)),t?t[1]:NaN},Sv=function(t,n){return function(e,r){for(var i=e.length,o=[],a=0,u=t[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(e.substring(i-=u,i+u)),!((s+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}},Tv=function(t,n){t=t.toPrecision(n);t:for(var e,r=t.length,i=1,o=-1;i0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},Ev=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(yv=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Av(t,Math.max(0,n+o-1))[0]},Nv=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Ov={"":Tv,"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Nv(100*t,n)},r:Nv,s:Ev,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},$v=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i,Pv=function(t){return new fr(t)};fr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var Rv,Lv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],jv=function(t){function n(t){function n(t){var n,i,s,_=d,m=v;if("c"===p)m=y(t)+m,t="";else{t=+t;var x=(t<0||1/t<0)&&(t*=-1,!0);if(t=y(t,h),x)for(n=-1,i=t.length,x=!1;++ns||s>57){m=(46===s?o+t.slice(n+1):t.slice(n))+m,t=t.slice(0,n);break}}l&&!c&&(t=r(t,1/0));var b=_.length+t.length+m.length,w=b>1)+_+t+m+w.slice(b)}return w+_+t+m}t=Pv(t);var e=t.fill,a=t.align,u=t.sign,s=t.symbol,c=t.zero,f=t.width,l=t.comma,h=t.precision,p=t.type,d="$"===s?i[0]:"#"===s&&/[boxX]/.test(p)?"0"+p.toLowerCase():"",v="$"===s?i[1]:/[%p]/.test(p)?"%":"",y=Ov[p],g=!p||/[defgprs%]/.test(p);return h=null==h?p?6:12:/[gprs]/.test(p)?Math.max(1,Math.min(21,h)):Math.max(0,Math.min(20,h)),n.toString=function(){return t+""},n}function e(t,e){var r=n((t=Pv(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Cv(e)/3))),o=Math.pow(10,-i),a=Lv[8+i/3];return function(t){return r(o*t)+a}}var r=t.grouping&&t.thousands?Sv(t.grouping,t.thousands):lr,i=t.currency,o=t.decimal;return{format:n,formatPrefix:e}};hr({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Iv=function(t){return Math.max(0,-Cv(Math.abs(t)))},zv=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Cv(n)/3)))-Cv(Math.abs(t)))},Dv=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Cv(n)-Cv(t))+1},Uv=function(){return new pr};pr.prototype={constructor:pr,reset:function(){this.s=this.t=0},add:function(t){dr(_y,t,this.t),dr(this,_y.s,this.s),this.s?this.t+=_y.t:this.s=_y.t},valueOf:function(){return this.s}};var qv,Fv,Bv,Hv,Yv,Vv,Xv,Wv,Jv,Kv,Zv,Gv,Qv,ty,ny,ey,ry,iy,oy,ay,uy,sy,cy,fy,ly,hy,py,dy,vy,yy,gy,_y=new pr,my=1e-6,xy=1e-12,by=Math.PI,wy=by/2,My=by/4,ky=2*by,Ay=180/by,Cy=by/180,Sy=Math.abs,Ty=Math.atan,Ey=Math.atan2,Ny=Math.cos,Oy=Math.ceil,$y=Math.exp,Py=Math.log,Ry=Math.pow,Ly=Math.sin,jy=Math.sign||function(t){return t>0?1:t<0?-1:0},Iy=Math.sqrt,zy=Math.tan,Dy={Feature:function(t,n){mr(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++rmy?Jv=90:Vy<-my&&(Xv=-90),ny[0]=Vv,ny[1]=Wv}},Wy=function(t){var n,e,r,i,o,a,u;if(Jv=Wv=-(Vv=Xv=1/0),ty=[],qy(t,Xy),e=ty.length){for(ty.sort(qr),n=1,r=ty[0],o=[r];nUr(r[0],r[1])&&(r[1]=i[1]),Ur(i[0],r[1])>Ur(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-(1/0),e=o.length-1,n=0,r=o[e];n<=e;r=i,++n)i=o[n],(u=Ur(r[1],i[0]))>a&&(a=u,Vv=i[0],Wv=r[1])}return ty=ny=null,Vv===1/0||Xv===1/0?[[NaN,NaN],[NaN,NaN]]:[[Vv,Xv],[Wv,Jv]]},Jy={sphere:_r,point:Br,lineStart:Yr,lineEnd:Wr,polygonStart:function(){Jy.lineStart=Jr,Jy.lineEnd=Kr},polygonEnd:function(){Jy.lineStart=Yr,Jy.lineEnd=Wr}},Ky=function(t){ey=ry=iy=oy=ay=uy=sy=cy=fy=ly=hy=0,qy(t,Jy);var n=fy,e=ly,r=hy,i=n*n+e*e+r*r;return i2?t[2]*Cy:0),n.invert=function(n){return n=t.invert(n[0]*Cy,n[1]*Cy),n[0]*=Ay,n[1]*=Ay,n},n},lg=function(){function t(t,n){e.push(t=r(t,n)),t[0]*=Ay,t[1]*=Ay}function n(){var t=i.apply(this,arguments),n=o.apply(this,arguments)*Cy,s=a.apply(this,arguments)*Cy;return e=[],r=ti(-t[0]*Cy,-t[1]*Cy,0).invert,ii(u,n,s,1),t={type:"Polygon",coordinates:[e]},e=r=null,t}var e,r,i=Zy([0,0]),o=Zy(90),a=Zy(6),u={point:t};return n.center=function(t){return arguments.length?(i="function"==typeof t?t:Zy([+t[0],+t[1]]),n):i},n.radius=function(t){return arguments.length?(o="function"==typeof t?t:Zy(+t),n):o},n.precision=function(t){return arguments.length?(a="function"==typeof t?t:Zy(+t),n):a},n},hg=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:_r,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},pg=function(t,n,e,r,i,o){var a,u=t[0],s=t[1],c=n[0],f=n[1],l=0,h=1,p=c-u,d=f-s;if(a=e-u,p||!(a>0)){if(a/=p,p<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=i-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>l&&(l=a)}else if(p>0){if(a0)){if(a/=d,d<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=o-s,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>l&&(l=a)}else if(d>0){if(a0&&(t[0]=u+l*p,t[1]=s+l*d),h<1&&(n[0]=u+h*p,n[1]=s+h*d),!0}}}}},dg=function(t,n){return Sy(t[0]-n[0])=0;--o)i.point((f=c[o])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,c=h.z,p=!p}while(!h.v);i.lineEnd()}}},yg=1e9,gg=-yg,_g=function(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=si(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}},mg=Uv(),xg={sphere:_r,point:_r,lineStart:ci,lineEnd:_r,polygonStart:_r,polygonEnd:_r},bg=function(t){return mg.reset(),qy(t,xg),+mg},wg=[null,null],Mg={type:"LineString",coordinates:wg},kg=function(t,n){return wg[0]=t,wg[1]=n,bg(Mg)},Ag=function(t,n){var e=t[0]*Cy,r=t[1]*Cy,i=n[0]*Cy,o=n[1]*Cy,a=Ny(r),u=Ly(r),s=Ny(o),c=Ly(o),f=a*Ny(e),l=a*Ly(e),h=s*Ny(i),p=s*Ly(i),d=2*yr(Iy(gr(o-r)+a*s*gr(i-e))),v=Ly(d),y=d?function(t){var n=Ly(t*=d)/v,e=Ly(d-t)/v,r=e*f+n*h,i=e*l+n*p,o=e*u+n*c;return[Ey(i,r)*Ay,Ey(o,Iy(r*r+i*i))*Ay]}:function(){return[e*Ay,r*Ay]};return y.distance=d,y},Cg=function(t){return t},Sg=Uv(),Tg=Uv(),Eg={point:_r,lineStart:_r,lineEnd:_r,polygonStart:function(){Eg.lineStart=gi,Eg.lineEnd=xi},polygonEnd:function(){Eg.lineStart=Eg.lineEnd=Eg.point=_r,Sg.add(Sy(Tg)),Tg.reset()},result:function(){var t=Sg/2;return Sg.reset(),t}},Ng=1/0,Og=Ng,$g=-Ng,Pg=$g,Rg={point:bi,lineStart:_r,lineEnd:_r,polygonStart:_r,polygonEnd:_r,result:function(){var t=[[Ng,Og],[$g,Pg]];return $g=Pg=-(Og=Ng=1/0),t}},Lg=0,jg=0,Ig=0,zg=0,Dg=0,Ug=0,qg=0,Fg=0,Bg=0,Hg={point:wi,lineStart:Mi,lineEnd:Ci,polygonStart:function(){Hg.lineStart=Si,Hg.lineEnd=Ti},polygonEnd:function(){Hg.point=wi,Hg.lineStart=Mi,Hg.lineEnd=Ci},result:function(){var t=Bg?[qg/Bg,Fg/Bg]:Ug?[zg/Ug,Dg/Ug]:Ig?[Lg/Ig,jg/Ig]:[NaN,NaN];return Lg=jg=Ig=zg=Dg=Ug=qg=Fg=Bg=0,t}};Oi.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,ky)}},result:_r};var Yg,Vg,Xg,Wg,Jg,Kg=Uv(),Zg={point:_r,lineStart:function(){Zg.point=$i},lineEnd:function(){Yg&&Pi(Vg,Xg),Zg.point=_r},polygonStart:function(){Yg=!0},polygonEnd:function(){Yg=null},result:function(){var t=+Kg;return Kg.reset(),t}};Ri.prototype={_circle:Li(4.5),pointRadius:function(t){return this._circle=Li(t),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}}};var Gg=function(t,n){function e(t){return t&&("function"==typeof o&&i.pointRadius(+o.apply(this,arguments)),qy(t,r(i))),i.result()}var r,i,o=4.5;return e.area=function(t){return qy(t,r(Eg)),Eg.result()},e.measure=function(t){return qy(t,r(Zg)),Zg.result()},e.bounds=function(t){return qy(t,r(Rg)),Rg.result()},e.centroid=function(t){return qy(t,r(Hg)),Hg.result()},e.projection=function(n){return arguments.length?(r=null==n?(t=null,Cg):(t=n).stream,e):t},e.context=function(t){return arguments.length?(i=null==t?(n=null,new Ri):new Oi(n=t),"function"!=typeof o&&i.pointRadius(o),e):n},e.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(i.pointRadius(+t),+t),e):o},e.projection(t).context(n)},Qg=Uv(),t_=function(t,n){var e=n[0],r=n[1],i=[Ly(e),-Ny(e),0],o=0,a=0;Qg.reset();for(var u=0,s=t.length;u=0?1:-1,k=M*w,A=k>by,C=d*x;if(Qg.add(Ey(C*M*Ly(k),v*b+C*Ny(k))),o+=A?w+M*ky:w,A^h>=e^_>=e){var S=Er(Sr(l),Sr(g));$r(S);var T=Er(i,S);$r(T);var E=(A^w>=0?-1:1)*yr(T[2]);(r>E||r===E&&(S[0]||S[1]))&&(a+=A^w>=0?1:-1)}}return(o<-my||o0){for(x||(o.polygonStart(),x=!0),o.lineStart(),t=0;t1&&2&i&&a.push(a.pop().concat(a.shift())),d.push(a.filter(ji))}var p,d,v,y=n(o),g=i.invert(r[0],r[1]),_=hg(),m=n(_),x=!1,b={point:a,lineStart:s,lineEnd:c,polygonStart:function(){b.point=f,b.lineStart=l,b.lineEnd=h,d=[],p=[]},polygonEnd:function(){b.point=a,b.lineStart=s,b.lineEnd=c,d=nf(d);var t=t_(p,g);d.length?(x||(o.polygonStart(),x=!0),vg(d,Ii,t,e,o)):t&&(x||(o.polygonStart(),x=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),x&&(o.polygonEnd(),x=!1),d=p=null},sphere:function(){o.polygonStart(),o.lineStart(),e(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return b}},e_=n_(function(){return!0},zi,Ui,[-by,-wy]),r_=function(t,n){function e(e,r,i,o){ii(o,t,n,i,e,r)}function r(t,n){return Ny(t)*Ny(n)>u}function i(t){var n,e,i,u,f;return{lineStart:function(){u=i=!1,f=1},point:function(l,h){var p,d=[l,h],v=r(l,h),y=s?v?0:a(l,h):v?a(l+(l<0?by:-by),h):0;if(!n&&(u=i=v)&&t.lineStart(),v!==i&&(p=o(n,d),(dg(n,p)||dg(d,p))&&(d[0]+=my,d[1]+=my,v=r(d[0],d[1]))),v!==i)f=0,v?(t.lineStart(),p=o(d,n),t.point(p[0],p[1])):(p=o(n,d),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(c&&n&&s^v){var g;y&e||!(g=o(d,n,!0))||(f=0,s?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1])))}!v||n&&dg(n,d)||t.point(d[0],d[1]),n=d,i=v,e=y},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return f|(u&&i)<<1}}}function o(t,n,e){var r=Sr(t),i=Sr(n),o=[1,0,0],a=Er(r,i),s=Tr(a,a),c=a[0],f=s-c*c;if(!f)return!e&&t;var l=u*s/f,h=-u*c/f,p=Er(o,a),d=Or(o,l),v=Or(a,h);Nr(d,v);var y=p,g=Tr(d,y),_=Tr(y,y),m=g*g-_*(Tr(d,d)-1);if(!(m<0)){var x=Iy(m),b=Or(y,(-g-x)/_);if(Nr(b,d),b=Cr(b),!e)return b;var w,M=t[0],k=n[0],A=t[1],C=n[1];k0^b[1]<(Sy(b[0]-M)by^(M<=b[0]&&b[0]<=k)){var N=Or(y,(-g+x)/_);return Nr(N,d),[b,Cr(N)]}}}function a(n,e){var r=s?t:by-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}var u=Ny(t),s=u>0,c=Sy(u)>my;return n_(r,i,e,s?[0,-t]:[-by,t-by])},i_=function(t){return{stream:qi(t)}};Fi.prototype={constructor:Fi,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var o_=16,a_=Ny(30*Cy),u_=function(t,n){return+n?Vi(t,n):Yi(t)},s_=qi({point:function(t,n){this.stream.point(t*Cy,n*Cy)}}),c_=function(){return Ji(Zi).scale(155.424).center([0,33.6442])},f_=function(){return c_().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},l_=function(){function t(t){var n=t[0],e=t[1];return u=null,i.point(n,e),u||(o.point(n,e),u)||(a.point(n,e),u)}function n(){return e=r=null,t}var e,r,i,o,a,u,s=f_(),c=c_().rotate([154,0]).center([-2,58.5]).parallels([55,65]),f=c_().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){u=[t,n]}};return t.invert=function(t){var n=s.scale(),e=s.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?c:i>=.166&&i<.234&&r>=-.214&&r<-.115?f:s).invert(t)},t.stream=function(t){return e&&r===t?e:e=Gi([s.stream(r=t),c.stream(t),f.stream(t)])},t.precision=function(t){return arguments.length?(s.precision(t),c.precision(t),f.precision(t),n()):s.precision()},t.scale=function(n){return arguments.length?(s.scale(n),c.scale(.35*n),f.scale(n),t.translate(s.translate())):s.scale()},t.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),r=+t[0],u=+t[1];return i=s.translate(t).clipExtent([[r-.455*e,u-.238*e],[r+.455*e,u+.238*e]]).stream(l),o=c.translate([r-.307*e,u+.201*e]).clipExtent([[r-.425*e+my,u+.12*e+my],[r-.214*e-my,u+.234*e-my]]).stream(l),a=f.translate([r-.205*e,u+.212*e]).clipExtent([[r-.214*e+my,u+.166*e+my],[r-.115*e-my,u+.234*e-my]]).stream(l),n()},t.fitExtent=function(n,e){return Bi(t,n,e)},t.fitSize=function(n,e){return Hi(t,n,e)},t.scale(1070)},h_=Qi(function(t){return Iy(2/(1+t))});h_.invert=to(function(t){return 2*yr(t/2)});var p_=function(){return Xi(h_).scale(124.75).clipAngle(179.999)},d_=Qi(function(t){return(t=vr(t))&&t/Ly(t)});d_.invert=to(function(t){return t});var v_=function(){return Xi(d_).scale(79.4188).clipAngle(179.999)};no.invert=function(t,n){return[t,2*Ty($y(n))-wy]};var y_=function(){return eo(no).scale(961/ky)},g_=function(){return Ji(io).scale(109.5).parallels([30,30])};oo.invert=oo;var __=function(){return Xi(oo).scale(152.63)},m_=function(){return Ji(ao).scale(131.154).center([0,13.9389])};uo.invert=to(Ty);var x_=function(){return Xi(uo).scale(144.049).clipAngle(60)},b_=function(){function t(){return i=o=null,a}var n,e,r,i,o,a,u=1,s=0,c=0,f=1,l=1,h=Cg,p=null,d=Cg;return a={stream:function(t){return i&&o===t?i:i=h(d(o=t))},clipExtent:function(i){return arguments.length?(d=null==i?(p=n=e=r=null,Cg):si(p=+i[0][0],n=+i[0][1],e=+i[1][0],r=+i[1][1]),t()):null==p?null:[[p,n],[e,r]]},scale:function(n){return arguments.length?(h=so((u=+n)*f,u*l,s,c),t()):u},translate:function(n){return arguments.length?(h=so(u*f,u*l,s=+n[0],c=+n[1]),t()):[s,c]},reflectX:function(n){return arguments.length?(h=so(u*(f=n?-1:1),u*l,s,c),t()):f<0},reflectY:function(n){return arguments.length?(h=so(u*f,u*(l=n?-1:1),s,c),t()):l<0},fitExtent:function(t,n){return Bi(a,t,n)},fitSize:function(t,n){return Hi(a,t,n)}}};co.invert=to(yr);var w_=function(){return Xi(co).scale(249.5).clipAngle(90+my)};fo.invert=to(function(t){return 2*Ty(t)});var M_=function(){return Xi(fo).scale(250).clipAngle(142)};lo.invert=function(t,n){return[-n,2*Ty($y(t))-wy]};var k_=function(){var t=eo(lo),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):(t=n(),[t[1],-t[0]])},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)},A_=function(){function t(t){var o,a=0;t.eachAfter(function(t){var e=t.children;e?(t.x=po(e),t.y=yo(e)):(t.x=o?a+=n(t,o):0,t.y=0,o=t)});var u=_o(t),s=mo(t),c=u.x-n(u,s)/2,f=s.x+n(s,u)/2;return t.eachAfter(i?function(n){n.x=(n.x-t.x)*e,n.y=(t.y-n.y)*r}:function(n){n.x=(n.x-c)/(f-c)*e,n.y=(1-(t.y?n.y/t.y:1))*r})}var n=ho,e=1,r=1,i=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(n){return arguments.length?(i=!1,e=+n[0],r=+n[1],t):i?null:[e,r]},t.nodeSize=function(n){return arguments.length?(i=!0,e=+n[0],r=+n[1],t):i?[e,r]:null},t},C_=function(){return this.eachAfter(xo)},S_=function(t){var n,e,r,i,o=this,a=[o];do for(n=a.reverse(),a=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this},E_=function(t){for(var n,e,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),n=i.children)for(e=0,r=n.length;e=0;)e+=r[i].value;n.value=e})},O_=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},$_=function(t){for(var n=this,e=bo(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},P_=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},R_=function(){var t=[];return this.each(function(n){t.push(n)}),t},L_=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},j_=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n};So.prototype=wo.prototype={constructor:So,count:C_,each:S_,eachAfter:E_,eachBefore:T_,sum:N_,sort:O_,path:$_,ancestors:P_,descendants:R_,leaves:L_,links:j_,copy:Mo};var I_=function(t){for(var n,e=(t=t.slice()).length,r=null,i=r;e;){var o=new To(t[e-1]);i=i?i.next=o:r=o,t[n]=t[--e]}return{head:r,tail:i}},z_=function(t){return No(I_(t),[])},D_=function(t){return Do(t),t},U_=function(t){return function(){return t}},q_=function(){function t(t){return t.x=e/2,t.y=r/2,n?t.eachBefore(Ho(n)).eachAfter(Yo(i,.5)).eachBefore(Vo(1)):t.eachBefore(Ho(Bo)).eachAfter(Yo(Fo,1)).eachAfter(Yo(i,t.r/Math.min(e,r))).eachBefore(Vo(Math.min(e,r)/(2*t.r))),t}var n=null,e=1,r=1,i=Fo;return t.radius=function(e){return arguments.length?(n=Uo(e),t):n},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i="function"==typeof n?n:U_(+n),t):i},t},F_=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},B_=function(t,n,e,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(r-n)/t.value;++u0)throw new Error("cycle");return o}var n=Xo,e=Wo;return t.id=function(e){return arguments.length?(n=qo(e),t):n},t.parentId=function(n){return arguments.length?(e=qo(n),t):e},t};na.prototype=Object.create(So.prototype);var J_=function(){function t(t){var r=ea(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),s)t.eachBefore(i);else{var c=t,f=t,l=t;t.eachBefore(function(t){t.xf.x&&(f=t),t.depth>l.depth&&(l=t)});var h=c===f?1:o(c,f)/2,p=h-c.x,d=a/(f.x+h+p),v=u/(l.depth||1);t.eachBefore(function(t){t.x=(t.x+p)*d,t.y=t.depth*v})}return t}function n(t){var n=t.children,e=t.parent.children,i=t.i?e[t.i-1]:null;if(n){Qo(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+o(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+o(t._,i._));t.parent.A=r(t,i,t.parent.A||e[0])}function e(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function r(t,n,e){if(n){for(var r,i=t,a=t,u=n,s=i.parent.children[0],c=i.m,f=a.m,l=u.m,h=s.m;u=Zo(u),i=Ko(i),u&&i;)s=Ko(s),a=Zo(a),a.a=t,r=u.z+l-i.z-c+o(u._,i._),r>0&&(Go(ta(u,t,e),t,r),c+=r,f+=r),l+=u.m,c+=i.m,h+=s.m,f+=a.m;u&&!Zo(a)&&(a.t=u,a.m+=l-f),i&&!Ko(s)&&(s.t=i,s.m+=c-h,e=t)}return e}function i(t){t.x*=a,t.y=t.depth*u}var o=Jo,a=1,u=1,s=null;return t.separation=function(n){return arguments.length?(o=n,t):o},t.size=function(n){return arguments.length?(s=!1,a=+n[0],u=+n[1],t):s?null:[a,u]},t.nodeSize=function(n){return arguments.length?(s=!0,a=+n[0],u=+n[1],t):s?[a,u]:null},t},K_=function(t,n,e,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(i-e)/t.value;++u1?n:1)},e}(Z_),Q_=function(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(n),a=[0],r&&t.eachBefore(F_),t}function n(t){var n=a[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,h=t.y1-n;o=n-1){var c=s[t];return c.x0=r,c.y0=i,c.x1=a,c.y1=u,void 0}for(var l=f[t],h=e/2+l,p=t+1,d=n-1;p>>1;f[v]a-r){var _=(i*g+u*y)/e;o(t,p,y,r,i,a,_),o(p,n,g,r,_,a,u)}else{var m=(r*g+a*y)/e;o(t,p,y,r,i,m,u),o(p,n,g,m,i,a,u)}}var a,u,s=t.children,c=s.length,f=new Array(c+1);for(f[0]=u=a=0;a1?n:1)},e}(Z_),rm=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e=0;--n)c.push(t[r[o[n]][2]]);for(n=+u;nu!=c>u&&a<(s-e)*(u-r)/(c-r)+e&&(f=!f),s=e,c=r;return f},sm=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],s=0;++r1);return t+n*i*Math.sqrt(-2*Math.log(r)/r)}},pm=function(){var t=hm.apply(this,arguments);return function(){return Math.exp(t())}},dm=function(t){return function(){for(var n=0,e=0;e=200&&e<300||304===e){if(o)try{n=o.call(r,c)}catch(t){return void u.call("error",r,t)}else n=c;u.call("load",r,n)}else u.call("error",r,t)}var r,i,o,a,u=p("beforesend","progress","load","error"),s=Ue(),c=new XMLHttpRequest,f=null,l=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(t)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=e:c.onreadystatechange=function(t){c.readyState>3&&e(t)},c.onprogress=function(t){u.call("progress",r,t)},r={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==n?s.remove(t):s.set(t,n+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(a=t,r):a},timeout:function(t){return arguments.length?(h=+t,r):h},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},password:function(t){return arguments.length<1?l:(l=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,n){return r.send("GET",t,n)},post:function(t,n){return r.send("POST",t,n)},send:function(n,e,o){return c.open(n,t,!0,f,l),null==i||s.has("accept")||s.set("accept",i+",*/*"),c.setRequestHeader&&s.each(function(t,n){c.setRequestHeader(n,t)}),null!=i&&c.overrideMimeType&&c.overrideMimeType(i),null!=a&&(c.responseType=a),h>0&&(c.timeout=h),null==o&&"function"==typeof e&&(o=e,e=null),null!=o&&1===o.length&&(o=pa(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),u.call("beforesend",r,c),c.send(null==e?null:e),r},abort:function(){return c.abort(),r},on:function(){var t=u.on.apply(u,arguments);return t===u?r:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return r.get(n)}return r},_m=function(t,n){return function(e,r){var i=gm(e).mimeType(t).response(n);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}},mm=_m("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),xm=_m("application/json",function(t){return JSON.parse(t.responseText)}),bm=_m("text/plain",function(t){return t.responseText}),wm=_m("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n}),Mm=function(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=gm(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(va(n,r=t)):r},o.row(r),i?o.get(i):o}},km=Mm("text/csv",Hd),Am=Mm("text/tab-separated-values",Jd),Cm=Array.prototype,Sm=Cm.map,Tm=Cm.slice,Em={name:"implicit"},Nm=function(t){return function(){return t}},Om=function(t){return+t},$m=[0,1],Pm=function(n,r,i){var o,a=n[0],u=n[n.length-1],s=e(a,u,null==r?10:r);switch(i=Pv(null==i?",f":i),i.type){case"s":var c=Math.max(Math.abs(a),Math.abs(u));return null!=i.precision||isNaN(o=zv(s,c))||(i.precision=o),t.formatPrefix(i,c);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=Dv(s,Math.max(Math.abs(a),Math.abs(u))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=Iv(s))||(i.precision=o-2*("%"===i.type))}return t.format(i)},Rm=function(t,n){t=t.slice();var e,r=0,i=t.length-1,o=t[r],a=t[i];return a0?t>1?Ba(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):Im:null};var zm=Im.range,Dm=1e3,Um=6e4,qm=36e5,Fm=864e5,Bm=6048e5,Hm=Ba(function(t){t.setTime(Math.floor(t/Dm)*Dm)},function(t,n){t.setTime(+t+n*Dm)},function(t,n){return(n-t)/Dm},function(t){return t.getUTCSeconds()}),Ym=Hm.range,Vm=Ba(function(t){t.setTime(Math.floor(t/Um)*Um)},function(t,n){t.setTime(+t+n*Um)},function(t,n){return(n-t)/Um},function(t){return t.getMinutes()}),Xm=Vm.range,Wm=Ba(function(t){var n=t.getTimezoneOffset()*Um%qm;n<0&&(n+=qm),t.setTime(Math.floor((+t-n)/qm)*qm+n)},function(t,n){t.setTime(+t+n*qm)},function(t,n){return(n-t)/qm},function(t){return t.getHours()}),Jm=Wm.range,Km=Ba(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Um)/Fm},function(t){return t.getDate()-1}),Zm=Km.range,Gm=Ha(0),Qm=Ha(1),tx=Ha(2),nx=Ha(3),ex=Ha(4),rx=Ha(5),ix=Ha(6),ox=Gm.range,ax=Qm.range,ux=tx.range,sx=nx.range,cx=ex.range,fx=rx.range,lx=ix.range,hx=Ba(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),px=hx.range,dx=Ba(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});dx.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ba(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};var vx=dx.range,yx=Ba(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*Um)},function(t,n){return(n-t)/Um},function(t){return t.getUTCMinutes()}),gx=yx.range,_x=Ba(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+n*qm)},function(t,n){return(n-t)/qm},function(t){return t.getUTCHours()}),mx=_x.range,xx=Ba(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/Fm},function(t){return t.getUTCDate()-1}),bx=xx.range,wx=Ya(0),Mx=Ya(1),kx=Ya(2),Ax=Ya(3),Cx=Ya(4),Sx=Ya(5),Tx=Ya(6),Ex=wx.range,Nx=Mx.range,Ox=kx.range,$x=Ax.range,Px=Cx.range,Rx=Sx.range,Lx=Tx.range,jx=Ba(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Ix=jx.range,zx=Ba(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});zx.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ba(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};var Dx,Ux=zx.range,qx={"-":"",_:" ",0:"0"},Fx=/^\s*\d+/,Bx=/^%/,Hx=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;Bu({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Yx="%Y-%m-%dT%H:%M:%S.%LZ",Vx=Date.prototype.toISOString?Hu:t.utcFormat(Yx),Xx=+new Date("2000-01-01T00:00:00.000Z")?Yu:t.utcParse(Yx),Wx=1e3,Jx=60*Wx,Kx=60*Jx,Zx=24*Kx,Gx=7*Zx,Qx=30*Zx,tb=365*Zx,nb=function(){return Wu(dx,hx,Gm,Km,Wm,Vm,Hm,Im,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},eb=function(){return Wu(zx,jx,wx,xx,_x,yx,Hm,Im,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},rb=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})},ib=rb("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),ob=rb("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),ab=rb("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),ub=rb("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),sb=zh(Yt(300,.5,0),Yt(-240,.5,1)),cb=zh(Yt(-100,.75,.35),Yt(80,1.5,.8)),fb=zh(Yt(260,.75,.35),Yt(80,1.5,.8)),lb=Yt(),hb=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return lb.h=360*t-100,lb.s=1.5-1.5*n,lb.l=.8-.9*n,lb+""},pb=Ju(rb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),db=Ju(rb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),vb=Ju(rb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),yb=Ju(rb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),gb=function(t){return function(){return t}},_b=1e-12,mb=Math.PI,xb=mb/2,bb=2*mb,wb=function(){function t(){var t,c,f=+n.apply(this,arguments),l=+e.apply(this,arguments),h=o.apply(this,arguments)-xb,p=a.apply(this,arguments)-xb,d=Math.abs(p-h),v=p>h;if(s||(s=t=Pe()),l_b)if(d>bb-_b)s.moveTo(l*Math.cos(h),l*Math.sin(h)),s.arc(0,0,l,h,p,!v),f>_b&&(s.moveTo(f*Math.cos(p),f*Math.sin(p)),s.arc(0,0,f,p,h,v));else{var y,g,_=h,m=p,x=h,b=p,w=d,M=d,k=u.apply(this,arguments)/2,A=k>_b&&(i?+i.apply(this,arguments):Math.sqrt(f*f+l*l)),C=Math.min(Math.abs(l-f)/2,+r.apply(this,arguments)),S=C,T=C;if(A>_b){var E=es(A/f*Math.sin(k)),N=es(A/l*Math.sin(k));(w-=2*E)>_b?(E*=v?1:-1,x+=E,b-=E):(w=0,x=b=(h+p)/2),(M-=2*N)>_b?(N*=v?1:-1,_+=N,m-=N):(M=0,_=m=(h+p)/2)}var O=l*Math.cos(_),$=l*Math.sin(_),P=f*Math.cos(b),R=f*Math.sin(b);if(C>_b){var L=l*Math.cos(m),j=l*Math.sin(m),I=f*Math.cos(x),z=f*Math.sin(x);if(d_b?rs(O,$,I,z,L,j,P,R):[P,R],U=O-D[0],q=$-D[1],F=L-D[0],B=j-D[1],H=1/Math.sin(Math.acos((U*F+q*B)/(Math.sqrt(U*U+q*q)*Math.sqrt(F*F+B*B)))/2),Y=Math.sqrt(D[0]*D[0]+D[1]*D[1]);S=Math.min(C,(f-Y)/(H-1)),T=Math.min(C,(l-Y)/(H+1))}}M>_b?T>_b?(y=is(I,z,O,$,l,T,v),g=is(L,j,P,R,l,T,v),s.moveTo(y.cx+y.x01,y.cy+y.y01),T_b&&w>_b?S>_b?(y=is(P,R,L,j,f,-S,v),g=is(O,$,I,z,f,-S,v),s.lineTo(y.cx+y.x01,y.cy+y.y01),S=f;--l)c.point(y[l],g[l]);c.lineEnd(),c.areaEnd()}v&&(y[n]=+e(h,n,t),g[n]=+i(h,n,t),c.point(r?+r(h,n,t):y[n],o?+o(h,n,t):g[n]))}if(p)return c=null,p+""||null}function n(){return kb().defined(a).curve(s).context(u)}var e=as,r=null,i=gb(0),o=us,a=gb(!0),u=null,s=Mb,c=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:gb(+n),r=null,t):e},t.x0=function(n){return arguments.length?(e="function"==typeof n?n:gb(+n),t):e},t.x1=function(n){return arguments.length?(r=null==n?null:"function"==typeof n?n:gb(+n),t):r},t.y=function(n){return arguments.length?(i="function"==typeof n?n:gb(+n),o=null,t):i},t.y0=function(n){return arguments.length?(i="function"==typeof n?n:gb(+n),t):i},t.y1=function(n){return arguments.length?(o=null==n?null:"function"==typeof n?n:gb(+n),t):o},t.lineX0=t.lineY0=function(){return n().x(e).y(i)},t.lineY1=function(){return n().x(e).y(o)},t.lineX1=function(){return n().x(r).y(i)},t.defined=function(n){return arguments.length?(a="function"==typeof n?n:gb(!!n),t):a},t.curve=function(n){return arguments.length?(s=n,null!=u&&(c=s(u)),t):s},t.context=function(n){return arguments.length?(null==n?u=c=null:c=s(u=n),t):u},t},Cb=function(t,n){return nt?1:n>=t?0:NaN},Sb=function(t){return t},Tb=function(){function t(t){var u,s,c,f,l,h=t.length,p=0,d=new Array(h),v=new Array(h),y=+i.apply(this,arguments),g=Math.min(bb,Math.max(-bb,o.apply(this,arguments)-y)),_=Math.min(Math.abs(g)/h,a.apply(this,arguments)),m=_*(g<0?-1:1);for(u=0;u0&&(p+=l);for(null!=e?d.sort(function(t,n){return e(v[t],v[n])}):null!=r&&d.sort(function(n,e){return r(t[n],t[e])}),u=0,c=p?(g-h*m)/p:0;u0?l*c:0)+m,v[s]={data:t[s],index:u,value:l,startAngle:y,endAngle:f,padAngle:_};return v}var n=Sb,e=Cb,r=null,i=gb(0),o=gb(bb),a=gb(0);return t.value=function(e){return arguments.length?(n="function"==typeof e?e:gb(+e),t):n},t.sortValues=function(n){return arguments.length?(e=n,r=null,t):e},t.sort=function(n){return arguments.length?(r=n,e=null,t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:gb(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:gb(+n),t):o},t.padAngle=function(n){return arguments.length?(a="function"==typeof n?n:gb(+n),t):a},t},Eb=cs(Mb);ss.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var Nb=function(){return fs(kb().curve(Eb))},Ob=function(){var t=Ab().curve(Eb),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return fs(e())},delete t.lineX0,t.lineEndAngle=function(){return fs(r())},delete t.lineX1,t.lineInnerRadius=function(){return fs(i())},delete t.lineY0,t.lineOuterRadius=function(){return fs(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(cs(t)):n()._curve},t},$b={draw:function(t,n){var e=Math.sqrt(n/mb);t.moveTo(e,0),t.arc(0,0,e,0,bb)}},Pb={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},Rb=Math.sqrt(1/3),Lb=2*Rb,jb={draw:function(t,n){var e=Math.sqrt(n/Lb),r=e*Rb;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Ib=.8908130915292852,zb=Math.sin(mb/10)/Math.sin(7*mb/10),Db=Math.sin(bb/10)*zb,Ub=-Math.cos(bb/10)*zb,qb={draw:function(t,n){var e=Math.sqrt(n*Ib),r=Db*e,i=Ub*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var a=bb*o/5,u=Math.cos(a),s=Math.sin(a);t.lineTo(s*e,-u*e),t.lineTo(u*r-s*i,s*r+u*i)}t.closePath()}},Fb={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},Bb=Math.sqrt(3),Hb={draw:function(t,n){var e=-Math.sqrt(n/(3*Bb));t.moveTo(0,2*e),t.lineTo(-Bb*e,-e),t.lineTo(Bb*e,-e),t.closePath()}},Yb=-.5,Vb=Math.sqrt(3)/2,Xb=1/Math.sqrt(12),Wb=3*(Xb/2+1),Jb={draw:function(t,n){var e=Math.sqrt(n/Wb),r=e/2,i=e*Xb,o=r,a=e*Xb+e,u=-o,s=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,s),t.lineTo(Yb*r-Vb*i,Vb*r+Yb*i),t.lineTo(Yb*o-Vb*a,Vb*o+Yb*a),t.lineTo(Yb*u-Vb*s,Vb*u+Yb*s),t.lineTo(Yb*r+Vb*i,Yb*i-Vb*r),t.lineTo(Yb*o+Vb*a,Yb*a-Vb*o),t.lineTo(Yb*u+Vb*s,Yb*s-Vb*u),t.closePath()}},Kb=[$b,Pb,jb,Fb,qb,Hb,Jb],Zb=function(){function t(){var t;if(r||(r=t=Pe()),n.apply(this,arguments).draw(r,+e.apply(this,arguments)),t)return r=null,t+""||null}var n=gb($b),e=gb(64),r=null;return t.type=function(e){return arguments.length?(n="function"==typeof e?e:gb(e),t):n},t.size=function(n){return arguments.length?(e="function"==typeof n?n:gb(+n),t):e},t.context=function(n){return arguments.length?(r=null==n?null:n,t):r},t},Gb=function(){};hs.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:ls(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ls(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var Qb=function(t){return new hs(t)};ps.prototype={areaStart:Gb,areaEnd:Gb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:ls(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var tw=function(t){return new ps(t)};ds.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:ls(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var nw=function(t){return new ds(t)};vs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,s=-1;++s<=e;)r=s/e,this._basis.point(this._beta*t[s]+(1-this._beta)*(i+r*a),this._beta*n[s]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var ew=function t(n){function e(t){return 1===n?new hs(t):new vs(t,n)}return e.beta=function(n){return t(+n)},e}(.85);gs.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:ys(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:ys(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var rw=function t(n){function e(t){return new gs(t,n)}return e.tension=function(n){return t(+n)},e}(0);_s.prototype={areaStart:Gb,areaEnd:Gb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:ys(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var iw=function t(n){function e(t){return new _s(t,n)}return e.tension=function(n){return t(+n)},e}(0);ms.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ys(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var ow=function t(n){function e(t){return new ms(t,n)}return e.tension=function(n){return t(+n)},e}(0);bs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:xs(this,t,n)}this._l01_a=this._l12_a, +this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var aw=function t(n){function e(t){return n?new bs(t,n):new gs(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);ws.prototype={areaStart:Gb,areaEnd:Gb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:xs(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var uw=function t(n){function e(t){return n?new ws(t,n):new _s(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Ms.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:xs(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var sw=function t(n){function e(t){return n?new Ms(t,n):new ms(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);ks.prototype={areaStart:Gb,areaEnd:Gb,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}};var cw=function(t){return new ks(t)};Es.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ts(this,this._t0,Ss(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Ts(this,Ss(this,e=Cs(this,t,n)),e);break;default:Ts(this,this._t0,e=Cs(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Ns.prototype=Object.create(Es.prototype)).point=function(t,n){Es.prototype.point.call(this,n,t)},Os.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},Rs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=Ls(t),i=Ls(n),o=0,a=1;a=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var lw=function(t){return new js(t,.5)},hw=Array.prototype.slice,pw=function(t,n){if((r=t.length)>1)for(var e,r,i=1,o=t[n[0]],a=o.length;i=0;)e[n]=n;return e},vw=function(){function t(t){var o,a,u=n.apply(this,arguments),s=t.length,c=u.length,f=new Array(c);for(o=0;o0){for(var e,r,i,o=0,a=t[0].length;o0){for(var e,r=0,i=t[n[0]],o=i.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a=u)return null;var s=t-i.site[0],c=n-i.site[1],f=s*s+c*c;do i=o.cells[r=a],a=null,i.halfedges.forEach(function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var s=t-u[0],c=n-u[1],l=s*s+c*c;le?(e+r)/2:Math.min(0,e)||Math.max(0,r),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function o(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function a(t,n,e){t.on("start.zoom",function(){u(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){u(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=u(t,r),a=m.apply(t,r),s=e||o(a),c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,r):n,h=T(f.invert(s).concat(c/f.k),l.invert(s).concat(c/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=c/n[2];t=new xc(e,s[0]-n[0]*e,s[1]-n[1]*e)}i.zoom(null,t)}})}function u(t,n){for(var e,r=0,i=E.length;r0?vl(this).transition().duration(C).call(a,f,u):vl(this).call(n.transform,f)}}function h(){if(_.apply(this,arguments)){var n,e,r,i,o=u(this,arguments),a=t.event.changedTouches,s=a.length;for(wc(),e=0;e0?r:e)(t)}},function(t,n,e){"use strict";(function(n){/*! + * Vue.js v2.1.10 + * (c) 2014-2017 Evan You + * Released under the MIT License. + */ +function e(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function r(t){var n=parseFloat(t);return isNaN(n)?t:n}function i(t,n){for(var e=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(e,1)}}function a(t,n){return ai.call(t,n)}function u(t){return"string"==typeof t||"number"==typeof t}function s(t){var n=Object.create(null);return function(e){var r=n[e];return r||(n[e]=t(e))}}function c(t,n){function e(e){var r=arguments.length;return r?r>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e}function f(t,n){n=n||0;for(var e=t.length-n,r=new Array(e);e--;)r[e]=t[e+n];return r}function l(t,n){for(var e in n)t[e]=n[e];return t}function h(t){return null!==t&&"object"==typeof t}function p(t){return hi.call(t)===pi}function d(t){for(var n={},e=0;e1?f(e):e;for(var r=f(arguments,1),i=0,o=e.length;i=0&&Gi[e].id>t.id;)e--;Gi.splice(Math.max(e,eo)+1,0,t)}else Gi.push(t);to||(to=!0,Ti(Ct))}}function Tt(t){oo.clear(),Et(t,oo)}function Et(t,n){var e,r,i=Array.isArray(t);if((i||h(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(n.has(o))return;n.add(o)}if(i)for(e=t.length;e--;)Et(t[e],n);else for(r=Object.keys(t),e=r.length;e--;)Et(t[r[e]],n)}}function Nt(t){t._watchers=[];var n=t.$options;n.props&&Ot(t,n.props),n.methods&&Lt(t,n.methods),n.data?$t(t):S(t._data={},!0),n.computed&&Pt(t,n.computed),n.watch&&jt(t,n.watch)}function Ot(t,n){var e=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(n),i=!t.$parent;Ii.shouldConvert=i;for(var o=function(i){var o=r[i];T(t,o,D(o,n,e,t))},a=0;a-1:t.test(n)}function Kt(t,n){for(var e in t){var r=t[e];if(r){var i=Wt(r.componentOptions);i&&!n(i)&&(Zt(r),t[e]=null)}}}function Zt(t){t&&(t.componentInstance._inactive||kt(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Gt(t){var n={};n.get=function(){return yi},Object.defineProperty(t,"config",n),t.util=qi,t.set=E,t.delete=N,t.nextTick=Ti,t.options=Object.create(null),yi._assetTypes.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,fo),Ht(t),Yt(t),Vt(t),Xt(t)}function Qt(t){for(var n=t.data,e=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(n=tn(r.data,n));for(;e=e.parent;)e.data&&(n=tn(n,e.data));return nn(n)}function tn(t,n){return{staticClass:en(t.staticClass,n.staticClass),class:t.class?[t.class,n.class]:n.class}}function nn(t){var n=t.class,e=t.staticClass;return e||n?en(e,rn(n)):""}function en(t,n){return t?n?t+" "+n:t:n||""}function rn(t){var n="";if(!t)return n;if("string"==typeof t)return t;if(Array.isArray(t)){for(var e,r=0,i=t.length;r-1?So[t]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:So[t]=/HTMLUnknownElement/.test(n.toString())}function un(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function sn(t,n){var e=document.createElement(t);return"select"!==t?e:(n.data&&n.data.attrs&&"multiple"in n.data.attrs&&e.setAttribute("multiple","multiple"),e)}function cn(t,n){return document.createElementNS(wo[t],n)}function fn(t){return document.createTextNode(t)}function ln(t){return document.createComment(t)}function hn(t,n,e){t.insertBefore(n,e)}function pn(t,n){t.removeChild(n)}function dn(t,n){t.appendChild(n)}function vn(t){return t.parentNode}function yn(t){return t.nextSibling}function gn(t){return t.tagName}function _n(t,n){t.textContent=n}function mn(t,n,e){t.setAttribute(n,e)}function xn(t,n){var e=t.data.ref;if(e){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;n?Array.isArray(a[e])?o(a[e],i):a[e]===i&&(a[e]=void 0):t.data.refInFor?Array.isArray(a[e])&&a[e].indexOf(i)<0?a[e].push(i):a[e]=[i]:a[e]=i}}function bn(t){return null==t}function wn(t){return null!=t}function Mn(t,n){return t.key===n.key&&t.tag===n.tag&&t.isComment===n.isComment&&!t.data==!n.data}function kn(t,n,e){var r,i,o={};for(r=n;r<=e;++r)i=t[r].key,wn(i)&&(o[i]=r);return o}function An(t){function n(t){return new Fi(S.tagName(t).toLowerCase(),{},[],void 0,t)}function e(t,n){function e(){0===--e.listeners&&r(t)}return e.listeners=n,e}function r(t){var n=S.parentNode(t);n&&S.removeChild(n,t)}function o(t,n,e,r,i){if(t.isRootInsert=!i,!a(t,n,e,r)){var o=t.data,u=t.children,s=t.tag;wn(s)?(t.elm=t.ns?S.createElementNS(t.ns,s):S.createElement(s,t),d(t),l(t,u,n),wn(o)&&p(t,n),f(e,t.elm,r)):t.isComment?(t.elm=S.createComment(t.text),f(e,t.elm,r)):(t.elm=S.createTextNode(t.text),f(e,t.elm,r))}}function a(t,n,e,r){var i=t.data;if(wn(i)){var o=wn(t.componentInstance)&&i.keepAlive;if(wn(i=i.hook)&&wn(i=i.init)&&i(t,!1,e,r),wn(t.componentInstance))return s(t,n),o&&c(t,n,e,r),!0}}function s(t,n){t.data.pendingInsert&&n.push.apply(n,t.data.pendingInsert),t.elm=t.componentInstance.$el,h(t)?(p(t,n),d(t)):(xn(t),n.push(t))}function c(t,n,e,r){for(var i,o=t;o.componentInstance;)if(o=o.componentInstance._vnode,wn(i=o.data)&&wn(i=i.transition)){for(i=0;ih?(c=bn(e[y+1])?null:e[y+1].elm,v(t,c,e,l,y,r)):l>y&&g(t,n,f,h)}function x(t,n,e,r){if(t!==n){if(n.isStatic&&t.isStatic&&n.key===t.key&&(n.isCloned||n.isOnce))return n.elm=t.elm,void(n.componentInstance=t.componentInstance);var i,o=n.data,a=wn(o);a&&wn(i=o.hook)&&wn(i=i.prepatch)&&i(t,n);var u=n.elm=t.elm,s=t.children,c=n.children;if(a&&h(n)){for(i=0;i-1?n.split(/\s+/).forEach(function(n){return t.classList.add(n)}):t.classList.add(n);else{var e=" "+t.getAttribute("class")+" ";e.indexOf(" "+n+" ")<0&&t.setAttribute("class",(e+n).trim())}}function Vn(t,n){if(n&&n.trim())if(t.classList)n.indexOf(" ")>-1?n.split(/\s+/).forEach(function(n){return t.classList.remove(n)}):t.classList.remove(n);else{for(var e=" "+t.getAttribute("class")+" ",r=" "+n+" ";e.indexOf(r)>=0;)e=e.replace(r," ");t.setAttribute("class",e.trim())}}function Xn(t){Qo(function(){Qo(t)})}function Wn(t,n){(t._transitionClasses||(t._transitionClasses=[])).push(n),Yn(t,n)}function Jn(t,n){t._transitionClasses&&o(t._transitionClasses,n),Vn(t,n)}function Kn(t,n,e){var r=Zn(t,n),i=r.type,o=r.timeout,a=r.propCount;if(!i)return e();var u=i===Xo?Ko:Go,s=0,c=function(){t.removeEventListener(u,f),e()},f=function(n){n.target===t&&++s>=a&&c()};setTimeout(function(){s0&&(e=Xo,f=a,l=o.length):n===Wo?c>0&&(e=Wo,f=c,l=s.length):(f=Math.max(a,c),e=f>0?a>c?Xo:Wo:null,l=e?e===Xo?o.length:s.length:0);var h=e===Xo&&ta.test(r[Jo+"Property"]);return{type:e,timeout:f,propCount:l,hasTransform:h}}function Gn(t,n){for(;t.length1,$=e._enterCb=re(function(){N&&(Jn(e,A),Jn(e,k)),$.cancelled?(N&&Jn(e,M),E&&E(e)):T&&T(e),e._enterCb=null});t.data.show||it(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),S&&S(e,$)},"transition-insert"),C&&C(e),N&&(Wn(e,M),Wn(e,k),Xn(function(){Wn(e,A),Jn(e,M),$.cancelled||O||Kn(e,o,$)})),t.data.show&&(n&&n(),S&&S(e,$)),N||O||$()}}}function ne(t,n){function e(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Wn(r,u),Wn(r,c),Xn(function(){Wn(r,s),Jn(r,u),g.cancelled||y||Kn(r,a,g)})),l&&l(r,g),v||y||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=ee(t.data.transition);if(!i)return n();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,u=i.leaveClass,s=i.leaveToClass,c=i.leaveActiveClass,f=i.beforeLeave,l=i.leave,h=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,v=o!==!1&&!wi,y=l&&(l._length||l.length)>1,g=r._leaveCb=re(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Jn(r,s),Jn(r,c)),g.cancelled?(v&&Jn(r,u),p&&p(r)):(n(),h&&h(r)),r._leaveCb=null});d?d(e):e()}}function ee(t){if(t){if("object"==typeof t){var n={};return t.css!==!1&&l(n,na(t.name||"v")),l(n,t),n}return"string"==typeof t?na(t):void 0}}function re(t){var n=!1;return function(){n||(n=!0,t())}}function ie(t,n){n.data.show||te(n)}function oe(t,n,e){var r=n.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,u=0,s=t.options.length;u-1,a.selected!==o&&(a.selected=o);else if(g(ue(a),r))return void(t.selectedIndex!==u&&(t.selectedIndex=u));i||(t.selectedIndex=-1)}}function ae(t,n){for(var e=0,r=n.length;e',e.innerHTML.indexOf(n)>0}function be(t){return da=da||document.createElement("div"),da.innerHTML=t,da.textContent}function we(t,n){return n&&(t=t.replace(uu,"\n")),t.replace(ou,"<").replace(au,">").replace(su,"&").replace(cu,'"')}function Me(t,n){function e(n){l+=n,t=t.substring(n)}function r(){var n=t.match(Aa);if(n){var r={tagName:n[1],attrs:[],start:l};e(n[0].length);for(var i,o;!(i=t.match(Ca))&&(o=t.match(wa));)e(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],e(i[0].length),r.end=l,r}}function i(t){var e=t.tagName,r=t.unarySlash;c&&("p"===u&&_a(e)&&o(u),ga(e)&&u===e&&o(e));for(var i=f(e)||"html"===e&&"head"===u||!!r,a=t.attrs.length,l=new Array(a),h=0;h=0&&s[i].lowerCasedTag!==o;i--);else i=0;if(i>=0){for(var a=s.length-1;a>=i;a--)n.end&&n.end(s[a].tag,e,r);s.length=i,u=i&&s[i-1].tag}else"br"===o?n.start&&n.start(t,[],!0,e,r):"p"===o&&(n.start&&n.start(t,[],!1,e,r),n.end&&n.end(t,e,r))}for(var a,u,s=[],c=n.expectHTML,f=n.isUnaryTag||di,l=0;t;){if(a=t,u&&ru(u)){var h=u.toLowerCase(),p=iu[h]||(iu[h]=new RegExp("([\\s\\S]*?)(]*>)","i")),d=0,v=t.replace(p,function(t,e,r){return d=r.length,"script"!==h&&"style"!==h&&"noscript"!==h&&(e=e.replace(//g,"$1").replace(//g,"$1")),n.chars&&n.chars(e),""});l+=t.length-v.length,t=v,o(h,l-d,l)}else{var y=t.indexOf("<");if(0===y){if(Ea.test(t)){var g=t.indexOf("-->");if(g>=0){e(g+3);continue}}if(Na.test(t)){var _=t.indexOf("]>");if(_>=0){e(_+2);continue}}var m=t.match(Ta);if(m){e(m[0].length);continue}var x=t.match(Sa);if(x){var b=l;e(x[0].length),o(x[1],b,l);continue}var w=r();if(w){i(w);continue}}var M=void 0,k=void 0,A=void 0;if(y>0){for(k=t.slice(y);!(Sa.test(k)||Aa.test(k)||Ea.test(k)||Na.test(k)||(A=k.indexOf("<",1),A<0));)y+=A,k=t.slice(y);M=t.substring(0,y),e(y)}y<0&&(M=t,t=""),n.chars&&M&&n.chars(M)}if(t===a&&n.chars){n.chars(t);break}}o()}function ke(t){function n(){(a||(a=[])).push(t.slice(d,i).trim()),d=i+1}var e,r,i,o,a,u=!1,s=!1,c=!1,f=!1,l=0,h=0,p=0,d=0;for(i=0;i=0&&(y=t.charAt(v)," "===y);v--);y&&/[\w$]/.test(y)||(f=!0)}}else void 0===o?(d=i+1,o=t.slice(0,i).trim()):n();if(void 0===o?o=t.slice(0,i).trim():0!==d&&n(),a)for(i=0;ia&&o.push(JSON.stringify(t.slice(a,i)));var u=ke(r[1].trim());o.push("_s("+u+")"),a=i+r[0].length}return a=$a}function ze(t){return 34===t||39===t}function De(t){var n=1;for(ja=La;!Ie();)if(t=je(),ze(t))Ue(t);else if(91===t&&n++,93===t&&n--,0===n){Ia=La;break}}function Ue(t){for(var n=t;!Ie()&&(t=je(),t!==n););}function qe(t,n){za=n.warn||Se,Da=n.getTagNamespace||di,Ua=n.mustUseProp||di,qa=n.isPreTag||di,Fa=Te(n.modules,"preTransformNode"),Ba=Te(n.modules,"transformNode"),Ha=Te(n.modules,"postTransformNode"),Ya=n.delimiters;var e,r,i=[],o=n.preserveWhitespace!==!1,a=!1,u=!1;return Me(t,{expectHTML:n.expectHTML,isUnaryTag:n.isUnaryTag,shouldDecodeNewlines:n.shouldDecodeNewlines,start:function(t,o,s){function c(t){}var f=r&&r.ns||Da(t);bi&&"svg"===f&&(o=or(o));var l={type:1,tag:t,attrsList:o,attrsMap:rr(o),parent:r,children:[]};f&&(l.ns=f),ir(l)&&!Ci()&&(l.forbidden=!0);for(var h=0;h-1"+("true"===o?":("+n+")":":_q("+n+","+o+")")),$e(t,"click","var $$a="+n+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+n+"=$$a.concat($$v))}else{$$i>-1&&("+n+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+n+"=$$c}",null,!0)}function Xr(t,n,e){var r=e&&e.number,i=Pe(t,"value")||"null";i=r?"_n("+i+")":i,Ee(t,"checked","_q("+n+","+i+")"),$e(t,"click",Kr(n,i),null,!0)}function Wr(t,n,e){var r=t.attrsMap.type,i=e||{},o=i.lazy,a=i.number,u=i.trim,s=o||bi&&"range"===r?"change":"input",c=!o&&"range"!==r,f="input"===t.tag||"textarea"===t.tag,l=f?"$event.target.value"+(u?".trim()":""):u?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";l=a||"number"===r?"_n("+l+")":l;var h=Kr(n,l);f&&c&&(h="if($event.target.composing)return;"+h),Ee(t,"value",f?"_s("+n+")":"("+n+")"),$e(t,s,h,null,!0),(u||a||"number"===r)&&$e(t,"blur","$forceUpdate()")}function Jr(t,n,e){var r=e&&e.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})"+(null==t.attrsMap.multiple?"[0]":""),o=Kr(n,i);$e(t,"change",o,null,!0)}function Kr(t,n){var e=Le(t);return null===e.idx?t+"="+n:"var $$exp = "+e.exp+", $$idx = "+e.idx+";if (!Array.isArray($$exp)){"+t+"="+n+"}else{$$exp.splice($$idx, 1, "+n+")}"}function Zr(t,n){n.value&&Ee(t,"textContent","_s("+n.value+")")}function Gr(t,n){n.value&&Ee(t,"innerHTML","_s("+n.value+")")}function Qr(t,n){return n=n?l(l({},Ru),n):Ru,Ur(t,n)}function ti(t,n,e){var r=(n&&n.warn||Ni,n&&n.delimiters?String(n.delimiters)+t:t);if(Pu[r])return Pu[r];var i={},o=Qr(t,n);i.render=ni(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var u=0;u0,Mi=xi&&xi.indexOf("edge/")>0,ki=xi&&xi.indexOf("android")>0,Ai=xi&&/iphone|ipad|ipod|ios/.test(xi),Ci=function(){return void 0===ri&&(ri=!mi&&"undefined"!=typeof n&&"server"===n.process.env.VUE_ENV),ri},Si=mi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ti=function(){function t(){r=!1;var t=e.slice(0);e.length=0;for(var n=0;n1&&(n[e[0].trim()]=e[1].trim())}}),n}),Uo=/^--/,qo=/\s*!important$/,Fo=function(t,n,e){Uo.test(n)?t.style.setProperty(n,e):qo.test(e)?t.style.setProperty(n,e.replace(qo,""),"important"):t.style[Ho(n)]=e},Bo=["Webkit","Moz","ms"],Ho=s(function(t){if(ho=ho||document.createElement("div"),t=si(t),"filter"!==t&&t in ho.style)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),e=0;e\/=]+)/,xa=/(?:=)/,ba=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],wa=new RegExp("^\\s*"+ma.source+"(?:\\s*("+xa.source+")\\s*(?:"+ba.join("|")+"))?"),Ma="[a-zA-Z_][\\w\\-\\.]*",ka="((?:"+Ma+"\\:)?"+Ma+")",Aa=new RegExp("^<"+ka),Ca=/^\s*(\/?)>/,Sa=new RegExp("^<\\/"+ka+"[^>]*>"),Ta=/^]+>/i,Ea=/^');\n\n if (commentEnd >= 0) {\n advance(commentEnd + 3);\n continue\n }\n }\n\n // http://en.wikipedia.org/wiki/Conditional_comment#Downlevel-revealed_conditional_comment\n if (conditionalComment.test(html)) {\n var conditionalEnd = html.indexOf(']>');\n\n if (conditionalEnd >= 0) {\n advance(conditionalEnd + 2);\n continue\n }\n }\n\n // Doctype:\n var doctypeMatch = html.match(doctype);\n if (doctypeMatch) {\n advance(doctypeMatch[0].length);\n continue\n }\n\n // End tag:\n var endTagMatch = html.match(endTag);\n if (endTagMatch) {\n var curIndex = index;\n advance(endTagMatch[0].length);\n parseEndTag(endTagMatch[1], curIndex, index);\n continue\n }\n\n // Start tag:\n var startTagMatch = parseStartTag();\n if (startTagMatch) {\n handleStartTag(startTagMatch);\n continue\n }\n }\n\n var text = (void 0), rest$1 = (void 0), next = (void 0);\n if (textEnd > 0) {\n rest$1 = html.slice(textEnd);\n while (\n !endTag.test(rest$1) &&\n !startTagOpen.test(rest$1) &&\n !comment.test(rest$1) &&\n !conditionalComment.test(rest$1)\n ) {\n // < in plain text, be forgiving and treat it as text\n next = rest$1.indexOf('<', 1);\n if (next < 0) { break }\n textEnd += next;\n rest$1 = html.slice(textEnd);\n }\n text = html.substring(0, textEnd);\n advance(textEnd);\n }\n\n if (textEnd < 0) {\n text = html;\n html = '';\n }\n\n if (options.chars && text) {\n options.chars(text);\n }\n } else {\n var stackedTag = lastTag.toLowerCase();\n var reStackedTag = reCache[stackedTag] || (reCache[stackedTag] = new RegExp('([\\\\s\\\\S]*?)(]*>)', 'i'));\n var endTagLength = 0;\n var rest = html.replace(reStackedTag, function (all, text, endTag) {\n endTagLength = endTag.length;\n if (stackedTag !== 'script' && stackedTag !== 'style' && stackedTag !== 'noscript') {\n text = text\n .replace(//g, '$1')\n .replace(//g, '$1');\n }\n if (options.chars) {\n options.chars(text);\n }\n return ''\n });\n index += html.length - rest.length;\n html = rest;\n parseEndTag(stackedTag, index - endTagLength, index);\n }\n\n if (html === last && options.chars) {\n options.chars(html);\n break\n }\n }\n\n // Clean up any remaining tags\n parseEndTag();\n\n function advance (n) {\n index += n;\n html = html.substring(n);\n }\n\n function parseStartTag () {\n var start = html.match(startTagOpen);\n if (start) {\n var match = {\n tagName: start[1],\n attrs: [],\n start: index\n };\n advance(start[0].length);\n var end, attr;\n while (!(end = html.match(startTagClose)) && (attr = html.match(attribute))) {\n advance(attr[0].length);\n match.attrs.push(attr);\n }\n if (end) {\n match.unarySlash = end[1];\n advance(end[0].length);\n match.end = index;\n return match\n }\n }\n }\n\n function handleStartTag (match) {\n var tagName = match.tagName;\n var unarySlash = match.unarySlash;\n\n if (expectHTML) {\n if (lastTag === 'p' && isNonPhrasingTag(tagName)) {\n parseEndTag(lastTag);\n }\n if (canBeLeftOpenTag(tagName) && lastTag === tagName) {\n parseEndTag(tagName);\n }\n }\n\n var unary = isUnaryTag$$1(tagName) || tagName === 'html' && lastTag === 'head' || !!unarySlash;\n\n var l = match.attrs.length;\n var attrs = new Array(l);\n for (var i = 0; i < l; i++) {\n var args = match.attrs[i];\n // hackish work around FF bug https://bugzilla.mozilla.org/show_bug.cgi?id=369778\n if (IS_REGEX_CAPTURING_BROKEN && args[0].indexOf('\"\"') === -1) {\n if (args[3] === '') { delete args[3]; }\n if (args[4] === '') { delete args[4]; }\n if (args[5] === '') { delete args[5]; }\n }\n var value = args[3] || args[4] || args[5] || '';\n attrs[i] = {\n name: args[1],\n value: decodeAttr(\n value,\n options.shouldDecodeNewlines\n )\n };\n }\n\n if (!unary) {\n stack.push({ tag: tagName, lowerCasedTag: tagName.toLowerCase(), attrs: attrs });\n lastTag = tagName;\n unarySlash = '';\n }\n\n if (options.start) {\n options.start(tagName, attrs, unary, match.start, match.end);\n }\n }\n\n function parseEndTag (tagName, start, end) {\n var pos, lowerCasedTagName;\n if (start == null) { start = index; }\n if (end == null) { end = index; }\n\n if (tagName) {\n lowerCasedTagName = tagName.toLowerCase();\n }\n\n // Find the closest opened tag of the same type\n if (tagName) {\n for (pos = stack.length - 1; pos >= 0; pos--) {\n if (stack[pos].lowerCasedTag === lowerCasedTagName) {\n break\n }\n }\n } else {\n // If no tag name is provided, clean shop\n pos = 0;\n }\n\n if (pos >= 0) {\n // Close all the open elements, up the stack\n for (var i = stack.length - 1; i >= pos; i--) {\n if (options.end) {\n options.end(stack[i].tag, start, end);\n }\n }\n\n // Remove the open elements from the stack\n stack.length = pos;\n lastTag = pos && stack[pos - 1].tag;\n } else if (lowerCasedTagName === 'br') {\n if (options.start) {\n options.start(tagName, [], true, start, end);\n }\n } else if (lowerCasedTagName === 'p') {\n if (options.start) {\n options.start(tagName, [], false, start, end);\n }\n if (options.end) {\n options.end(tagName, start, end);\n }\n }\n }\n}\n\n/* */\n\nfunction parseFilters (exp) {\n var inSingle = false;\n var inDouble = false;\n var inTemplateString = false;\n var inRegex = false;\n var curly = 0;\n var square = 0;\n var paren = 0;\n var lastFilterIndex = 0;\n var c, prev, i, expression, filters;\n\n for (i = 0; i < exp.length; i++) {\n prev = c;\n c = exp.charCodeAt(i);\n if (inSingle) {\n if (c === 0x27 && prev !== 0x5C) { inSingle = false; }\n } else if (inDouble) {\n if (c === 0x22 && prev !== 0x5C) { inDouble = false; }\n } else if (inTemplateString) {\n if (c === 0x60 && prev !== 0x5C) { inTemplateString = false; }\n } else if (inRegex) {\n if (c === 0x2f && prev !== 0x5C) { inRegex = false; }\n } else if (\n c === 0x7C && // pipe\n exp.charCodeAt(i + 1) !== 0x7C &&\n exp.charCodeAt(i - 1) !== 0x7C &&\n !curly && !square && !paren\n ) {\n if (expression === undefined) {\n // first filter, end of expression\n lastFilterIndex = i + 1;\n expression = exp.slice(0, i).trim();\n } else {\n pushFilter();\n }\n } else {\n switch (c) {\n case 0x22: inDouble = true; break // \"\n case 0x27: inSingle = true; break // '\n case 0x60: inTemplateString = true; break // `\n case 0x28: paren++; break // (\n case 0x29: paren--; break // )\n case 0x5B: square++; break // [\n case 0x5D: square--; break // ]\n case 0x7B: curly++; break // {\n case 0x7D: curly--; break // }\n }\n if (c === 0x2f) { // /\n var j = i - 1;\n var p = (void 0);\n // find first non-whitespace prev char\n for (; j >= 0; j--) {\n p = exp.charAt(j);\n if (p !== ' ') { break }\n }\n if (!p || !/[\\w$]/.test(p)) {\n inRegex = true;\n }\n }\n }\n }\n\n if (expression === undefined) {\n expression = exp.slice(0, i).trim();\n } else if (lastFilterIndex !== 0) {\n pushFilter();\n }\n\n function pushFilter () {\n (filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim());\n lastFilterIndex = i + 1;\n }\n\n if (filters) {\n for (i = 0; i < filters.length; i++) {\n expression = wrapFilter(expression, filters[i]);\n }\n }\n\n return expression\n}\n\nfunction wrapFilter (exp, filter) {\n var i = filter.indexOf('(');\n if (i < 0) {\n // _f: resolveFilter\n return (\"_f(\\\"\" + filter + \"\\\")(\" + exp + \")\")\n } else {\n var name = filter.slice(0, i);\n var args = filter.slice(i + 1);\n return (\"_f(\\\"\" + name + \"\\\")(\" + exp + \",\" + args)\n }\n}\n\n/* */\n\nvar defaultTagRE = /\\{\\{((?:.|\\n)+?)\\}\\}/g;\nvar regexEscapeRE = /[-.*+?^${}()|[\\]\\/\\\\]/g;\n\nvar buildRegex = cached(function (delimiters) {\n var open = delimiters[0].replace(regexEscapeRE, '\\\\$&');\n var close = delimiters[1].replace(regexEscapeRE, '\\\\$&');\n return new RegExp(open + '((?:.|\\\\n)+?)' + close, 'g')\n});\n\nfunction parseText (\n text,\n delimiters\n) {\n var tagRE = delimiters ? buildRegex(delimiters) : defaultTagRE;\n if (!tagRE.test(text)) {\n return\n }\n var tokens = [];\n var lastIndex = tagRE.lastIndex = 0;\n var match, index;\n while ((match = tagRE.exec(text))) {\n index = match.index;\n // push text token\n if (index > lastIndex) {\n tokens.push(JSON.stringify(text.slice(lastIndex, index)));\n }\n // tag token\n var exp = parseFilters(match[1].trim());\n tokens.push((\"_s(\" + exp + \")\"));\n lastIndex = index + match[0].length;\n }\n if (lastIndex < text.length) {\n tokens.push(JSON.stringify(text.slice(lastIndex)));\n }\n return tokens.join('+')\n}\n\n/* */\n\nfunction baseWarn (msg) {\n console.error((\"[Vue parser]: \" + msg));\n}\n\nfunction pluckModuleFunction (\n modules,\n key\n) {\n return modules\n ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })\n : []\n}\n\nfunction addProp (el, name, value) {\n (el.props || (el.props = [])).push({ name: name, value: value });\n}\n\nfunction addAttr (el, name, value) {\n (el.attrs || (el.attrs = [])).push({ name: name, value: value });\n}\n\nfunction addDirective (\n el,\n name,\n rawName,\n value,\n arg,\n modifiers\n) {\n (el.directives || (el.directives = [])).push({ name: name, rawName: rawName, value: value, arg: arg, modifiers: modifiers });\n}\n\nfunction addHandler (\n el,\n name,\n value,\n modifiers,\n important\n) {\n // check capture modifier\n if (modifiers && modifiers.capture) {\n delete modifiers.capture;\n name = '!' + name; // mark the event as captured\n }\n if (modifiers && modifiers.once) {\n delete modifiers.once;\n name = '~' + name; // mark the event as once\n }\n var events;\n if (modifiers && modifiers.native) {\n delete modifiers.native;\n events = el.nativeEvents || (el.nativeEvents = {});\n } else {\n events = el.events || (el.events = {});\n }\n var newHandler = { value: value, modifiers: modifiers };\n var handlers = events[name];\n /* istanbul ignore if */\n if (Array.isArray(handlers)) {\n important ? handlers.unshift(newHandler) : handlers.push(newHandler);\n } else if (handlers) {\n events[name] = important ? [newHandler, handlers] : [handlers, newHandler];\n } else {\n events[name] = newHandler;\n }\n}\n\nfunction getBindingAttr (\n el,\n name,\n getStatic\n) {\n var dynamicValue =\n getAndRemoveAttr(el, ':' + name) ||\n getAndRemoveAttr(el, 'v-bind:' + name);\n if (dynamicValue != null) {\n return parseFilters(dynamicValue)\n } else if (getStatic !== false) {\n var staticValue = getAndRemoveAttr(el, name);\n if (staticValue != null) {\n return JSON.stringify(staticValue)\n }\n }\n}\n\nfunction getAndRemoveAttr (el, name) {\n var val;\n if ((val = el.attrsMap[name]) != null) {\n var list = el.attrsList;\n for (var i = 0, l = list.length; i < l; i++) {\n if (list[i].name === name) {\n list.splice(i, 1);\n break\n }\n }\n }\n return val\n}\n\nvar len;\nvar str;\nvar chr;\nvar index$1;\nvar expressionPos;\nvar expressionEndPos;\n\n/**\n * parse directive model to do the array update transform. a[idx] = val => $$a.splice($$idx, 1, val)\n *\n * for loop possible cases:\n *\n * - test\n * - test[idx]\n * - test[test1[idx]]\n * - test[\"a\"][idx]\n * - xxx.test[a[a].test1[idx]]\n * - test.xxx.a[\"asa\"][test1[idx]]\n *\n */\n\nfunction parseModel (val) {\n str = val;\n len = str.length;\n index$1 = expressionPos = expressionEndPos = 0;\n\n if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) {\n return {\n exp: val,\n idx: null\n }\n }\n\n while (!eof()) {\n chr = next();\n /* istanbul ignore if */\n if (isStringStart(chr)) {\n parseString(chr);\n } else if (chr === 0x5B) {\n parseBracket(chr);\n }\n }\n\n return {\n exp: val.substring(0, expressionPos),\n idx: val.substring(expressionPos + 1, expressionEndPos)\n }\n}\n\nfunction next () {\n return str.charCodeAt(++index$1)\n}\n\nfunction eof () {\n return index$1 >= len\n}\n\nfunction isStringStart (chr) {\n return chr === 0x22 || chr === 0x27\n}\n\nfunction parseBracket (chr) {\n var inBracket = 1;\n expressionPos = index$1;\n while (!eof()) {\n chr = next();\n if (isStringStart(chr)) {\n parseString(chr);\n continue\n }\n if (chr === 0x5B) { inBracket++; }\n if (chr === 0x5D) { inBracket--; }\n if (inBracket === 0) {\n expressionEndPos = index$1;\n break\n }\n }\n}\n\nfunction parseString (chr) {\n var stringQuote = chr;\n while (!eof()) {\n chr = next();\n if (chr === stringQuote) {\n break\n }\n }\n}\n\n/* */\n\nvar dirRE = /^v-|^@|^:/;\nvar forAliasRE = /(.*?)\\s+(?:in|of)\\s+(.*)/;\nvar forIteratorRE = /\\((\\{[^}]*\\}|[^,]*),([^,]*)(?:,([^,]*))?\\)/;\nvar bindRE = /^:|^v-bind:/;\nvar onRE = /^@|^v-on:/;\nvar argRE = /:(.*)$/;\nvar modifierRE = /\\.[^.]+/g;\n\nvar decodeHTMLCached = cached(decode);\n\n// configurable state\nvar warn$1;\nvar platformGetTagNamespace;\nvar platformMustUseProp;\nvar platformIsPreTag;\nvar preTransforms;\nvar transforms;\nvar postTransforms;\nvar delimiters;\n\n/**\n * Convert HTML string to AST.\n */\nfunction parse (\n template,\n options\n) {\n warn$1 = options.warn || baseWarn;\n platformGetTagNamespace = options.getTagNamespace || no;\n platformMustUseProp = options.mustUseProp || no;\n platformIsPreTag = options.isPreTag || no;\n preTransforms = pluckModuleFunction(options.modules, 'preTransformNode');\n transforms = pluckModuleFunction(options.modules, 'transformNode');\n postTransforms = pluckModuleFunction(options.modules, 'postTransformNode');\n delimiters = options.delimiters;\n var stack = [];\n var preserveWhitespace = options.preserveWhitespace !== false;\n var root;\n var currentParent;\n var inVPre = false;\n var inPre = false;\n var warned = false;\n parseHTML(template, {\n expectHTML: options.expectHTML,\n isUnaryTag: options.isUnaryTag,\n shouldDecodeNewlines: options.shouldDecodeNewlines,\n start: function start (tag, attrs, unary) {\n // check namespace.\n // inherit parent ns if there is one\n var ns = (currentParent && currentParent.ns) || platformGetTagNamespace(tag);\n\n // handle IE svg bug\n /* istanbul ignore if */\n if (isIE && ns === 'svg') {\n attrs = guardIESVGBug(attrs);\n }\n\n var element = {\n type: 1,\n tag: tag,\n attrsList: attrs,\n attrsMap: makeAttrsMap(attrs),\n parent: currentParent,\n children: []\n };\n if (ns) {\n element.ns = ns;\n }\n\n if (isForbiddenTag(element) && !isServerRendering()) {\n element.forbidden = true;\n \"production\" !== 'production' && warn$1(\n 'Templates should only be responsible for mapping the state to the ' +\n 'UI. Avoid placing tags with side-effects in your templates, such as ' +\n \"<\" + tag + \">\" + ', as they will not be parsed.'\n );\n }\n\n // apply pre-transforms\n for (var i = 0; i < preTransforms.length; i++) {\n preTransforms[i](element, options);\n }\n\n if (!inVPre) {\n processPre(element);\n if (element.pre) {\n inVPre = true;\n }\n }\n if (platformIsPreTag(element.tag)) {\n inPre = true;\n }\n if (inVPre) {\n processRawAttrs(element);\n } else {\n processFor(element);\n processIf(element);\n processOnce(element);\n processKey(element);\n\n // determine whether this is a plain element after\n // removing structural attributes\n element.plain = !element.key && !attrs.length;\n\n processRef(element);\n processSlot(element);\n processComponent(element);\n for (var i$1 = 0; i$1 < transforms.length; i$1++) {\n transforms[i$1](element, options);\n }\n processAttrs(element);\n }\n\n function checkRootConstraints (el) {\n if (false) {\n if (el.tag === 'slot' || el.tag === 'template') {\n warned = true;\n warn$1(\n \"Cannot use <\" + (el.tag) + \"> as component root element because it may \" +\n 'contain multiple nodes:\\n' + template\n );\n }\n if (el.attrsMap.hasOwnProperty('v-for')) {\n warned = true;\n warn$1(\n 'Cannot use v-for on stateful component root element because ' +\n 'it renders multiple elements:\\n' + template\n );\n }\n }\n }\n\n // tree management\n if (!root) {\n root = element;\n checkRootConstraints(root);\n } else if (!stack.length) {\n // allow root elements with v-if, v-else-if and v-else\n if (root.if && (element.elseif || element.else)) {\n checkRootConstraints(element);\n addIfCondition(root, {\n exp: element.elseif,\n block: element\n });\n } else if (false) {\n warned = true;\n warn$1(\n \"Component template should contain exactly one root element:\" +\n \"\\n\\n\" + template + \"\\n\\n\" +\n \"If you are using v-if on multiple elements, \" +\n \"use v-else-if to chain them instead.\"\n );\n }\n }\n if (currentParent && !element.forbidden) {\n if (element.elseif || element.else) {\n processIfConditions(element, currentParent);\n } else if (element.slotScope) { // scoped slot\n currentParent.plain = false;\n var name = element.slotTarget || 'default';(currentParent.scopedSlots || (currentParent.scopedSlots = {}))[name] = element;\n } else {\n currentParent.children.push(element);\n element.parent = currentParent;\n }\n }\n if (!unary) {\n currentParent = element;\n stack.push(element);\n }\n // apply post-transforms\n for (var i$2 = 0; i$2 < postTransforms.length; i$2++) {\n postTransforms[i$2](element, options);\n }\n },\n\n end: function end () {\n // remove trailing whitespace\n var element = stack[stack.length - 1];\n var lastNode = element.children[element.children.length - 1];\n if (lastNode && lastNode.type === 3 && lastNode.text === ' ') {\n element.children.pop();\n }\n // pop stack\n stack.length -= 1;\n currentParent = stack[stack.length - 1];\n // check pre state\n if (element.pre) {\n inVPre = false;\n }\n if (platformIsPreTag(element.tag)) {\n inPre = false;\n }\n },\n\n chars: function chars (text) {\n if (!currentParent) {\n if (false) {\n warned = true;\n warn$1(\n 'Component template requires a root element, rather than just text:\\n\\n' + template\n );\n }\n return\n }\n // IE textarea placeholder bug\n /* istanbul ignore if */\n if (isIE &&\n currentParent.tag === 'textarea' &&\n currentParent.attrsMap.placeholder === text) {\n return\n }\n var children = currentParent.children;\n text = inPre || text.trim()\n ? decodeHTMLCached(text)\n // only preserve whitespace if its not right after a starting tag\n : preserveWhitespace && children.length ? ' ' : '';\n if (text) {\n var expression;\n if (!inVPre && text !== ' ' && (expression = parseText(text, delimiters))) {\n children.push({\n type: 2,\n expression: expression,\n text: text\n });\n } else if (text !== ' ' || children[children.length - 1].text !== ' ') {\n currentParent.children.push({\n type: 3,\n text: text\n });\n }\n }\n }\n });\n return root\n}\n\nfunction processPre (el) {\n if (getAndRemoveAttr(el, 'v-pre') != null) {\n el.pre = true;\n }\n}\n\nfunction processRawAttrs (el) {\n var l = el.attrsList.length;\n if (l) {\n var attrs = el.attrs = new Array(l);\n for (var i = 0; i < l; i++) {\n attrs[i] = {\n name: el.attrsList[i].name,\n value: JSON.stringify(el.attrsList[i].value)\n };\n }\n } else if (!el.pre) {\n // non root node in pre blocks with no attributes\n el.plain = true;\n }\n}\n\nfunction processKey (el) {\n var exp = getBindingAttr(el, 'key');\n if (exp) {\n if (false) {\n warn$1(\"