Skip to content

State locks Fort Lauderdale into crosshairs on sewage issue

Author
PUBLISHED: | UPDATED:

After spilling nearly 21 million gallons of raw sewage into local waterways and groundwater since 2014, Fort Lauderdale will be under scrutiny by state environmental regulators for years to come.

In an agreement the city is poised to approve Wednesday evening, the state lays out $117.5 million in required sewer system repairs and improvements, with specific deadlines in the next nine years; a fine for past spills, or “penalty project” worth slightly more than $500,000, and fines for future spills.

Just since January this year, the city reported spilling 426,665 gallons of sewage into rivers, canals and other waterways in Fort Lauderdale.

That doesn’t count the latest spill, which the city reported on Tuesday. Sewage spilled out of manholes on Bryan Place, and 6,750 gallons of sewage entered storm drains to the New River, the city reported to the state.

Under the state’s proposed fines, a spill of 100,000 gallons of raw sewage like the city reported it spilled into the Intracoastal Waterway on Aug. 28 could cost the city $10,000. The fines are only applied if the state determines the spill could have been prevented.

.st0{fill:none;stroke:#DDDDDD;}
.st1{fill:none;stroke:#333333;}
.st2{fill:#FFFFFF;}
.st3{fill:#666666;}
.st4{font-family:’Arial’;}
.st5{font-size:17.8095px;}
.st6{fill:#707070;}
.st7{fill:#AD0000;}
.st8{display:none;}
.st9{display:inline;fill:#AD0000;}
.st10{font-size:20px;}
.st11{display:inline;fill:#E86666;}
.st12{display:inline;fill:#999999;}
.st13{font-size:12px;}
.st14{fill:none;}
.st15{font-family:’Arial’;font-weight:600;}

0

10

20

30

40%

Less than
20 years old
21 to 40
More than
40 years old
Unknown

High-risk

Low-risk

Unknown

Irfan Uraizee/Sun Sentinel

Source: Sun Sentinel Analysis of City of Fort Lauderdale data

Fort Lauderdale sewer pipes by age

The worst of the city’s recent sewage catastrophes occurred on June 23, 2016, when workers were making a repair at the sewer plant. They switched off a final valve at 1 p.m., and almost immediately, two aged, vulnerable sewer pipes across the city burst, one at George English Park and the other under the Himmarshee canal.

The environmental disaster allowed 13.7 million gallons of untreated sewage to gush into the canal and the Middle River. Both pipes were 35 years old. One was corroded and split; the other had a hole in it. In the early afternoon, as sewage continued to spill, workers diverted some of it into a “previously broken and out of service” 48-year-old cast iron pipe, but it had two holes in it, allowing sewage to leak directly into the river.

In a letter to the state, the city blamed the giant spill partly on “the age of the infrastructure.”

In February last year, workers were shutting off a major, broken sewer pipe in the Tarpon River neighborhood, when residents of Regal Trace Apartments off Sistrunk Boulevard 2 miles away found raw sewage — 1.8 million gallons if it — gurgling into their parking lot. The pipe that suffered what the city described as a “catastrophic failure” was 50 years old and made of cast iron. Some of the sewage reached the New River.

The Tarpon River pipe never could be put back into service, because it kept breaking, city officials said. It carried about 30 percent of the city’s sewage to the plant. For now, vacuum trucks are helping move sewage along, sucking it out of one manhole and dumping it in another. The city spent $2 million on the trucks from June to August, officials said. Last week, the city built an above-ground sewer pipe on 8th Avenue leading to Las Olas Boulevard, to help alleviate the overflowing pipes.

Under the order, the city must assess the condition of its force mains — the pipes pushing sewage through under pressure — and must map the entire pipe and valve system so repair workers can access the information.

Every six months, the city must provide a written progress report to the state Department of Environmental Regulation.

http://libs.cartocdn.com/cartodb.js/v3/3.15/cartodb.js

h1,h2,h3,h4,h5,h6{font-family:Georgia,Droid Serif,serif;margin:0 0 .25rem}h1{font-size:54px;line-height:60px;padding-top:20px}h1,h2{font-weight:600}h2{font-family:Georgia,Droid Serif,serif;font-size:36px}h3{font-size:27px;font-family:Arial,sans-serif}#container>p{margin-top:13px}#container p{margin-bottom:18px;font:18px/27px Georgia,Droid Serif,serif;color:#333}@media screen and (max-width:419px){#container p{font-size:15px;line-height:25px}}#container>p:first-of-type:first-letter{display:inline-block;float:left;font-weight:700;color:#000;text-transform:uppercase;font-size:51px;line-height:36px;font-family:Georgia,Droid Serif,serif;padding:5px 9px 0 0}@media screen and (min-width:420px){#container>p:first-of-type:first-letter{font-size:60px;line-height:42px}}#container{box-sizing:border-box;width:100%;max-width:850px}#map{margin-top:10px;margin-bottom:20px;width:100%;height:380px}.graphic-wrapper{border-bottom:1px solid #707070;border-top:1px solid #707070}.graphic-wrapper h4{font-family:Arial;font-size:18px;margin-top:10px}.graphic-wrapper h4 span{display:block;font-size:16px;font-weight:400;line-height:22px;margin-top:5px}.graphic-wrapper .note{font-size:12px;font-style:italic;line-height:6px}.graphic-wrapper .graphic-wrapper .source{font-family:Arial,sans-serif;font-size:12px}@media screen and (max-width:420px){.graphic-wrapper .graphic-wrapper{margin:0 20px}.graphic-wrapper .note{line-height:14px;margin-bottom:5px}}.graphic-wrapper .legend p{color:#000;font-family:Arial,sans-serif;font-size:14px;line-height:1.3em;margin:0;padding:0}.legend div{float:left;margin-right:5%;width:45%}.legend–chart{display:block;margin:10px auto 0;text-align:center}.legend–chart span{font-size:16px}.line{height:5px;width:25px;margin:0 2px 3px 0}.legend–item,.line{display:inline-block}.legend–item{margin-right:15px}#layer_selector{text-align:center;margin:10px auto}.btn:focus{outline:none!important}.btn-default.active:active,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active,.btn-default:focus,.btn-default:hover{background-color:gray;color:#fff}.btn-default,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#000;background-color:#fff}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#fff;background-color:gray}#container div.cartodb-tooltip-content{display:block;padding:5px}#container div.cartodb-tooltip-content h4{display:block;margin:0 0 1px;text-transform:uppercase;font:400 10px Helvetica Neue,Helvetica,Arial;color:#aaa;word-wrap:break-word}#container div.cartodb-tooltip-content p{display:block;margin:0 0 4px;padding:0;font:400 12px Helvetica Neue,Helvetica,Arial;color:#333;word-wrap:break-word}#container div.cartodb-popup-content h4{font-size:15px;margin-bottom:0}#container div.cartodb-popup-content p{font-size:14px;margin-bottom:0}.image–block{margin:4rem auto;max-width:600px}.image–block .caption{font-size:16px;color:#707070}.byline{float:right;display:inline-block;margin-top:6px;}@media(max-width:480px){.byline{float:none;margin-top:0;}#map{margin-bottom:5px;}h4{padding-left:1%;padding-right:1%;}h4 span{font-size:15px;}}

Are your sewer pipes about to blow? Failures in Fort Lauderdale’s aging sewer pipes have smothered neighborhoods in sewage. The biggest spills occur when pressurized force mains burst. Gravity pipes, which carry sewage from high to low elevation without additional pressure, cause smaller spills but are more common across the city. Forty-five percent of Fort Lauderdale’s pipes were built before 1970 or have an unknown installation date. Plug in your address below to see how old your sewer pipes are.



Before 1970

70s and 80s

After 1990

Unknown

Map built from early 2017 data and does not reflect recent pipe installations.

Source: City of Fort Lauderdale

!function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,”a”,e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p=”javascripts/”,n(n.s=1)}([function(t,n,e){“use strict”;(function(t){e.d(n,”a”,function(){return a});var r=e(4),i=(e.n(r),e(5)),o=(e.n(i),e(6)),a=(e.n(o),function(){function n(n){t(“#layer_selector button”).click(function(r){var i=t(r.target),o=i.attr(“id”);e!=o&&(“force”==o?(n.getSubLayer(0).hide(),n.getSubLayer(1).show(),n.getSubLayer(2).hide(),t(“.btn”).removeClass(“active”),t(this).addClass(“active”)):”gravity”==o&&(n.getSubLayer(0).hide(),n.getSubLayer(1).hide(),n.getSubLayer(2).show(),t(“.btn”).removeClass(“active”),t(this).addClass(“active”)))})}var e;window.onload=function(){var e=L.latLng(40.712,-74.227),r=L.latLng(40.774,-74.125),i=(L.latLngBounds(e,r),new L.Map(“map”,{center:[26.126024,-80.147906],maxBounds:[[26.010126,-80.299725],[26.319406,-79.874419]],zoom:13,minZoom:12,maxZoom:15}));i.scrollWheelZoom.disable(),L.tileLayer(“http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png”,{attribution:’© OpenStreetMap contributors’}).addTo(i),cartodb.createLayer(i,”https://sunsentinel.carto.com/api/v2/viz/f35de1f9-6e37-4cc6-8d2b-f2bf56a265f9/viz.json”,{legends:!1}).addTo(i).on(“done”,function(n){var e=cdb.vis.Overlay.create(“search”,i.viz,{});e.show(),t(“#map”).append(e.render().el)}).done(function(t){n(t),t.getSubLayer(0).hide(),t.getSubLayer(1).hide(),t.getSubLayer(2).show()}).error(function(t){console.log(“Map not created: “+t)})}})}).call(n,e(3))},function(t,n,e){t.exports=e(2)},function(t,n,e){“use strict”;Object.defineProperty(n,”__esModule”,{value:!0});var r=e(0);Object(r.a)(),console.log(“app.js has loaded!”)},function(t,n,e){var r,i;/*!
* jQuery JavaScript Library v3.2.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2017-03-20T18:59Z
*/
!function(n,e){“use strict”;”object”==typeof t&&”object”==typeof t.exports?t.exports=n.document?e(n,!0):function(t){if(!t.document)throw new Error(“jQuery requires a window with a document”);return e(t)}:e(n)}(“undefined”!=typeof window?window:this,function(e,o){“use strict”;function a(t,n){n=n||at;var e=n.createElement(“script”);e.text=t,n.head.appendChild(e).parentNode.removeChild(e)}function u(t){var n=!!t&&”length”in t&&t.length,e=mt.type(t);return”function”!==e&&!mt.isWindow(t)&&(“array”===e||0===n||”number”==typeof n&&n>0&&n-1 in t)}function s(t,n){return t.nodeName&&t.nodeName.toLowerCase()===n.toLowerCase()}function c(t,n,e){return mt.isFunction(n)?mt.grep(t,function(t,r){return!!n.call(t,r,t)!==e}):n.nodeType?mt.grep(t,function(t){return t===n!==e}):”string”!=typeof n?mt.grep(t,function(t){return ft.call(n,t)>-1!==e}):St.test(n)?mt.filter(n,t,e):(n=mt.filter(n,t),mt.grep(t,function(t){return ft.call(n,t)>-1!==e&&1===t.nodeType}))}function l(t,n){for(;(t=t[n])&&1!==t.nodeType;);return t}function f(t){var n={};return mt.each(t.match(Dt)||[],function(t,e){n[e]=!0}),n}function h(t){return t}function p(t){throw t}function d(t,n,e,r){var i;try{t&&mt.isFunction(i=t.promise)?i.call(t).done(n).fail(e):t&&mt.isFunction(i=t.then)?i.call(t,n,e):n.apply(void 0,[t].slice(r))}catch(t){e.apply(void 0,[t])}}function g(){at.removeEventListener(“DOMContentLoaded”,g),e.removeEventListener(“load”,g),mt.ready()}function v(){this.expando=mt.expando+v.uid++}function y(t){return”true”===t||”false”!==t&&(“null”===t?null:t===+t+””?+t:Ft.test(t)?JSON.parse(t):t)}function m(t,n,e){var r;if(void 0===e&&1===t.nodeType)if(r=”data-“+n.replace(Ht,”-$&”).toLowerCase(),”string”==typeof(e=t.getAttribute(r))){try{e=y(e)}catch(t){}It.set(t,n,e)}else e=void 0;return e}function _(t,n,e,r){var i,o=1,a=20,u=r?function(){return r.cur()}:function(){return mt.css(t,n,””)},s=u(),c=e&&e[3]||(mt.cssNumber[n]?””:”px”),l=(mt.cssNumber[n]||”px”!==c&&+s)&&Bt.exec(mt.css(t,n));if(l&&l[3]!==c){c=c||l[3],e=e||[],l=+s||1;do{o=o||”.5″,l/=o,mt.style(t,n,l+c)}while(o!==(o=u()/s)&&1!==o&&–a)}return e&&(l=+l||+s||0,i=e[1]?l+(e[1]+1)*e[2]:+e[2],r&&(r.unit=c,r.start=l,r.end=i)),i}function x(t){var n,e=t.ownerDocument,r=t.nodeName,i=Xt[r];return i||(n=e.body.appendChild(e.createElement(r)),i=mt.css(n,”display”),n.parentNode.removeChild(n),”none”===i&&(i=”block”),Xt[r]=i,i)}function b(t,n){for(var e,r,i=[],o=0,a=t.length;o<a;o++)r=t[o],r.style&&(e=r.style.display,n?("none"===e&&(i[o]=zt.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Yt(r)&&(i[o]=x(r))):"none"!==e&&(i[o]="none",zt.set(r,"display",e)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function w(t,n){var e;return e=void 0!==t.getElementsByTagName?t.getElementsByTagName(n||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(n||"*"):[],void 0===n||n&&s(t,n)?mt.merge([t],e):e}function M(t,n){for(var e=0,r=t.length;e<r;e++)zt.set(t[e],"globalEval",!n||zt.get(n[e],"globalEval"))}function T(t,n,e,r,i){for(var o,a,u,s,c,l,f=n.createDocumentFragment(),h=[],p=0,d=t.length;p-1)i&&i.push(o);else if(c=mt.contains(o.ownerDocument,o),a=w(f.appendChild(o),”script”),c&&M(a),e)for(l=0;o=a[l++];)Zt.test(o.type||””)&&e.push(o);return f}function E(){return!0}function C(){return!1}function k(){try{return at.activeElement}catch(t){}}function S(t,n,e,r,i,o){var a,u;if(“object”==typeof n){“string”!=typeof e&&(r=r||e,e=void 0);for(u in n)S(t,u,e,r,n[u],o);return t}if(null==r&&null==i?(i=e,r=e=void 0):null==i&&(“string”==typeof e?(i=r,r=void 0):(i=r,r=e,e=void 0)),!1===i)i=C;else if(!i)return t;return 1===o&&(a=i,i=function(t){return mt().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=mt.guid++)),t.each(function(){mt.event.add(this,n,i,r,e)})}function N(t,n){return s(t,”table”)&&s(11!==n.nodeType?n:n.firstChild,”tr”)?mt(“>tbody”,t)[0]||t:t}function A(t){return t.type=(null!==t.getAttribute(“type”))+”/”+t.type,t}function P(t){var n=un.exec(t.type);return n?t.type=n[1]:t.removeAttribute(“type”),t}function L(t,n){var e,r,i,o,a,u,s,c;if(1===n.nodeType){if(zt.hasData(t)&&(o=zt.access(t),a=zt.set(n,o),c=o.events)){delete a.handle,a.events={};for(i in c)for(e=0,r=c[i].length;e1&&”string”==typeof d&&!yt.checkClone&&an.test(d))return t.each(function(i){var o=t.eq(i);g&&(n[0]=d.call(this,i,o.html())),q(o,n,e,r)});if(h&&(i=T(n,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=mt.map(w(i,”script”),A),s=u.length;f<h;f++)c=i,f!==p&&(c=mt.clone(c,!0,!0),s&&mt.merge(u,w(c,"script"))),e.call(t[f],c,f);if(s)for(l=u[u.length-1].ownerDocument,mt.map(u,P),f=0;f<s;f++)c=u[f],Zt.test(c.type||"")&&!zt.access(c,"globalEval")&&mt.contains(l,c)&&(c.src?mt._evalUrl&&mt._evalUrl(c.src):a(c.textContent.replace(sn,""),l))}return t}function j(t,n,e){for(var r,i=n?mt.filter(n,t):t,o=0;null!=(r=i[o]);o++)e||1!==r.nodeType||mt.cleanData(w(r)),r.parentNode&&(e&&mt.contains(r.ownerDocument,r)&&M(w(r,"script")),r.parentNode.removeChild(r));return t}function R(t,n,e){var r,i,o,a,u=t.style;return e=e||fn(t),e&&(a=e.getPropertyValue(n)||e[n],""!==a||mt.contains(t.ownerDocument,t)||(a=mt.style(t,n)),!yt.pixelMarginRight()&&ln.test(a)&&cn.test(n)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=e.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function O(t,n){return{get:function(){return t()?void delete this.get:(this.get=n).apply(this,arguments)}}}function z(t){if(t in yn)return t;for(var n=t[0].toUpperCase()+t.slice(1),e=vn.length;e–;)if((t=vn[e]+n)in yn)return t}function I(t){var n=mt.cssProps[t];return n||(n=mt.cssProps[t]=z(t)||t),n}function F(t,n,e){var r=Bt.exec(n);return r?Math.max(0,r[2]-(e||0))+(r[3]||"px"):n}function H(t,n,e,r,i){var o,a=0;for(o=e===(r?"border":"content")?4:"width"===n?1:0;o<4;o+=2)"margin"===e&&(a+=mt.css(t,e+Wt[o],!0,i)),r?("content"===e&&(a-=mt.css(t,"padding"+Wt[o],!0,i)),"margin"!==e&&(a-=mt.css(t,"border"+Wt[o]+"Width",!0,i))):(a+=mt.css(t,"padding"+Wt[o],!0,i),"padding"!==e&&(a+=mt.css(t,"border"+Wt[o]+"Width",!0,i)));return a}function U(t,n,e){var r,i=fn(t),o=R(t,n,i),a="border-box"===mt.css(t,"boxSizing",!1,i);return ln.test(o)?o:(r=a&&(yt.boxSizingReliable()||o===t.style[n]),"auto"===o&&(o=t["offset"+n[0].toUpperCase()+n.slice(1)]),(o=parseFloat(o)||0)+H(t,n,e||(a?"border":"content"),r,i)+"px")}function B(t,n,e,r,i){return new B.prototype.init(t,n,e,r,i)}function W(){_n&&(!1===at.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(W):e.setTimeout(W,mt.fx.interval),mt.fx.tick())}function Y(){return e.setTimeout(function(){mn=void 0}),mn=mt.now()}function $(t,n){var e,r=0,i={height:t};for(n=n?1:0;r<4;r+=2-n)e=Wt[r],i["margin"+e]=i["padding"+e]=t;return n&&(i.opacity=i.width=t),i}function X(t,n,e){for(var r,i=(Z.tweeners[n]||[]).concat(Z.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(e,n,t))return r}function G(t,n,e){var r,i,o,a,u,s,c,l,f="width"in n||"height"in n,h=this,p={},d=t.style,g=t.nodeType&&Yt(t),v=zt.get(t,"fxshow");e.queue||(a=mt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued–,mt.queue(t,"fx").length||a.empty.fire()})}));for(r in n)if(i=n[r],xn.test(i)){if(delete n[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}p[r]=v&&v[r]||mt.style(t,r)}if((s=!mt.isEmptyObject(n))||!mt.isEmptyObject(p)){f&&1===t.nodeType&&(e.overflow=[d.overflow,d.overflowX,d.overflowY],c=v&&v.display,null==c&&(c=zt.get(t,"display")),l=mt.css(t,"display"),"none"===l&&(c?l=c:(b([t],!0),c=t.style.display||c,l=mt.css(t,"display"),b([t]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===mt.css(t,"float")&&(s||(h.done(function(){d.display=c}),null==c&&(l=d.display,c="none"===l?"":l)),d.display="inline-block")),e.overflow&&(d.overflow="hidden",h.always(function(){d.overflow=e.overflow[0],d.overflowX=e.overflow[1],d.overflowY=e.overflow[2]})),s=!1;for(r in p)s||(v?"hidden"in v&&(g=v.hidden):v=zt.access(t,"fxshow",{display:c}),o&&(v.hidden=!g),g&&b([t],!0),h.done(function(){g||b([t]),zt.remove(t,"fxshow");for(r in p)mt.style(t,r,p[r])})),s=X(g?v[r]:0,r,h),r in v||(v[r]=s.start,g&&(s.end=s.start,s.start=0))}}function V(t,n){var e,r,i,o,a;for(e in t)if(r=mt.camelCase(e),i=n[r],o=t[e],Array.isArray(o)&&(i=o[1],o=t[e]=o[0]),e!==r&&(t[r]=o,delete t[e]),(a=mt.cssHooks[r])&&"expand"in a){o=a.expand(o),delete t[r];for(e in o)e in t||(t[e]=o[e],n[e]=i)}else n[r]=i}function Z(t,n,e){var r,i,o=0,a=Z.prefilters.length,u=mt.Deferred().always(function(){delete s.elem}),s=function(){if(i)return!1;for(var n=mn||Y(),e=Math.max(0,c.startTime+c.duration-n),r=e/c.duration||0,o=1-r,a=0,s=c.tweens.length;a<s;a++)c.tweens[a].run(o);return u.notifyWith(t,[c,o,e]),o<1&&s?e:(s||u.notifyWith(t,[c,1,0]),u.resolveWith(t,[c]),!1)},c=u.promise({elem:t,props:mt.extend({},n),opts:mt.extend(!0,{specialEasing:{},easing:mt.easing._default},e),originalProperties:n,originalOptions:e,startTime:mn||Y(),duration:e.duration,tweens:[],createTween:function(n,e){var r=mt.Tween(t,c.opts,n,e,c.opts.specialEasing[n]||c.opts.easing);return c.tweens.push(r),r},stop:function(n){var e=0,r=n?c.tweens.length:0;if(i)return this;for(i=!0;e<r;e++)c.tweens[e].run(1);return n?(u.notifyWith(t,[c,1,0]),u.resolveWith(t,[c,n])):u.rejectWith(t,[c,n]),this}}),l=c.props;for(V(l,c.opts.specialEasing);o<a;o++)if(r=Z.prefilters[o].call(c,t,l,c.opts))return mt.isFunction(r.stop)&&(mt._queueHooks(c.elem,c.opts.queue).stop=mt.proxy(r.stop,r)),r;return mt.map(l,X,c),mt.isFunction(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),mt.fx.timer(mt.extend(s,{elem:t,anim:c,queue:c.opts.queue})),c}function Q(t){return(t.match(Dt)||[]).join(" ")}function J(t){return t.getAttribute&&t.getAttribute("class")||""}function K(t,n,e,r){var i;if(Array.isArray(n))mt.each(n,function(n,i){e||Pn.test(t)?r(t,i):K(t+"["+("object"==typeof i&&null!=i?n:"")+"]",i,e,r)});else if(e||"object"!==mt.type(n))r(t,n);else for(i in n)K(t+"["+i+"]",n[i],e,r)}function tt(t){return function(n,e){"string"!=typeof n&&(e=n,n="*");var r,i=0,o=n.toLowerCase().match(Dt)||[];if(mt.isFunction(e))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(e)):(t[r]=t[r]||[]).push(e)}}function nt(t,n,e,r){function i(u){var s;return o[u]=!0,mt.each(t[u]||[],function(t,u){var c=u(n,e,r);return"string"!=typeof c||a||o[c]?a?!(s=c):void 0:(n.dataTypes.unshift(c),i(c),!1)}),s}var o={},a=t===Bn;return i(n.dataTypes[0])||!o["*"]&&i("*")}function et(t,n){var e,r,i=mt.ajaxSettings.flatOptions||{};for(e in n)void 0!==n[e]&&((i[e]?t:r||(r={}))[e]=n[e]);return r&&mt.extend(!0,t,r),t}function rt(t,n,e){for(var r,i,o,a,u=t.contents,s=t.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=t.mimeType||n.getResponseHeader("Content-Type"));if(r)for(i in u)if(u[i]&&u[i].test(r)){s.unshift(i);break}if(s[0]in e)o=s[0];else{for(i in e){if(!s[0]||t.converters[i+" "+s[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==s[0]&&s.unshift(o),e[o]}function it(t,n,e,r){var i,o,a,u,s,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(e[t.responseFields[o]]=n),!s&&r&&t.dataFilter&&(n=t.dataFilter(n,t.dataType)),s=o,o=l.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(a=c[s+" "+o]||c["* "+o]))for(i in c)if(u=i.split(" "),u[1]===o&&(a=c[s+" "+u[0]]||c["* "+u[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=u[0],l.unshift(u[1]));break}if(!0!==a)if(a&&t.throws)n=a(n);else try{n=a(n)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+s+" to "+o}}}return{state:"success",data:n}}var ot=[],at=e.document,ut=Object.getPrototypeOf,st=ot.slice,ct=ot.concat,lt=ot.push,ft=ot.indexOf,ht={},pt=ht.toString,dt=ht.hasOwnProperty,gt=dt.toString,vt=gt.call(Object),yt={},mt=function(t,n){return new mt.fn.init(t,n)},_t=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,xt=/^-ms-/,bt=/-([a-z])/g,wt=function(t,n){return n.toUpperCase()};mt.fn=mt.prototype={jquery:"3.2.1",constructor:mt,length:0,toArray:function(){return st.call(this)},get:function(t){return null==t?st.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var n=mt.merge(this.constructor(),t);return n.prevObject=this,n},each:function(t){return mt.each(this,t)},map:function(t){return this.pushStack(mt.map(this,function(n,e){return t.call(n,e,n)}))},slice:function(){return this.pushStack(st.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var n=this.length,e=+t+(t=0&&e<n?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:lt,sort:ot.sort,splice:ot.splice},mt.extend=mt.fn.extend=function(){var t,n,e,r,i,o,a=arguments[0]||{},u=1,s=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[u]||{},u++),"object"==typeof a||mt.isFunction(a)||(a={}),u===s&&(a=this,u–);u<s;u++)if(null!=(t=arguments[u]))for(n in t)e=a[n],r=t[n],a!==r&&(c&&r&&(mt.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=e&&Array.isArray(e)?e:[]):o=e&&mt.isPlainObject(e)?e:{},a[n]=mt.extend(c,o,r)):void 0!==r&&(a[n]=r));return a},mt.extend({expando:"jQuery"+("3.2.1"+Math.random()).replace(/\\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===mt.type(t)},isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var n=mt.type(t);return("number"===n||"string"===n)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var n,e;return!(!t||"[object Object]"!==pt.call(t))&&(!(n=ut(t))||"function"==typeof(e=dt.call(n,"constructor")&&n.constructor)&&gt.call(e)===vt)},isEmptyObject:function(t){var n;for(n in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?ht[pt.call(t)]||"object":typeof t},globalEval:function(t){a(t)},camelCase:function(t){return t.replace(xt,"ms-").replace(bt,wt)},each:function(t,n){var e,r=0;if(u(t))for(e=t.length;r<e&&!1!==n.call(t[r],r,t[r]);r++);else for(r in t)if(!1===n.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(_t,"")},makeArray:function(t,n){var e=n||[];return null!=t&&(u(Object(t))?mt.merge(e,"string"==typeof t?[t]:t):lt.call(e,t)),e},inArray:function(t,n,e){return null==n?-1:ft.call(n,t,e)},merge:function(t,n){for(var e=+n.length,r=0,i=t.length;r<e;r++)t[i++]=n[r];return t.length=i,t},grep:function(t,n,e){for(var r=[],i=0,o=t.length,a=!e;i<o;i++)!n(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,n,e){var r,i,o=0,a=[];if(u(t))for(r=t.length;ob.cacheLength&&delete t[n.shift()],t[e+” “]=r}var n=[];return t}function r(t){return t[z]=!0,t}function i(t){var n=P.createElement(“fieldset”);try{return!!t(n)}catch(t){return!1}finally{n.parentNode&&n.parentNode.removeChild(n),n=null}}function o(t,n){for(var e=t.split(“|”),r=e.length;r–;)b.attrHandle[e[r]]=n}function a(t,n){var e=n&&t,r=e&&1===t.nodeType&&1===n.nodeType&&t.sourceIndex-n.sourceIndex;if(r)return r;if(e)for(;e=e.nextSibling;)if(e===n)return-1;return t?1:-1}function u(t){return function(n){return”form”in n?n.parentNode&&!1===n.disabled?”label”in n?”label”in n.parentNode?n.parentNode.disabled===t:n.disabled===t:n.isDisabled===t||n.isDisabled!==!t&&wt(n)===t:n.disabled===t:”label”in n&&n.disabled===t}}function s(t){return r(function(n){return n=+n,r(function(e,r){for(var i,o=t([],e.length,n),a=o.length;a–;)e[i=o[a]]&&(e[i]=!(r[i]=e[i]))})})}function c(t){return t&&void 0!==t.getElementsByTagName&&t}function l(){}function f(t){for(var n=0,e=t.length,r=””;n1?function(n,e,r){for(var i=t.length;i–;)if(!t[i](n,e,r))return!1;return!0}:t[0]}function d(t,e,r){for(var i=0,o=e.length;i<o;i++)n(t,e[i],r);return r}function g(t,n,e,r,i){for(var o,a=[],u=0,s=t.length,c=null!=n;u-1&&(r[c]=!(a[c]=f))}}else _=g(_===a?_.splice(v,_.length):_),o?o(null,a,_,s):Z.apply(a,_)})}function y(t){for(var n,e,r,i=t.length,o=b.relative[t[0].type],a=o||b.relative[” “],u=o?1:0,s=h(function(t){return t===n},a,!0),c=h(function(t){return J(n,t)>-1},a,!0),l=[function(t,e,r){var i=!o&&(r||e!==k)||((n=e).nodeType?s(t,e,r):c(t,e,r));return n=null,i}];u<i;u++)if(e=b.relative[t[u].type])l=[h(p(l),e)];else{if(e=b.filter[t[u].type].apply(null,t[u].matches),e[z]){for(r=++u;r1&&p(l),u>1&&f(t.slice(0,u-1).concat({value:” “===t[u-2].type?”*”:””})).replace(ot,”$1″),e,u<r&&y(t.slice(u,r)),r<i&&y(t=t.slice(r)),r0,o=t.length>0,a=function(r,a,u,s,c){var l,f,h,p=0,d=”0″,v=r&&[],y=[],m=k,_=r||o&&b.find.TAG(“*”,c),x=F+=null==m?1:Math.random()||.1,w=_.length;for(c&&(k=a===P||a||c);d!==w&&null!=(l=_[d]);d++){if(o&&l){for(f=0,a||l.ownerDocument===P||(A(l),u=!D);h=t[f++];)if(h(l,a||P,u)){s.push(l);break}c&&(F=x)}i&&((l=!h&&l)&&p–,r&&v.push(l))}if(p+=d,i&&d!==p){for(f=0;h=e[f++];)h(v,y,a,u);if(r){if(p>0)for(;d–;)v[d]||y[d]||(y[d]=G.call(s));y=g(y)}Z.apply(s,y),c&&!r&&y.length>0&&p+e.length>1&&n.uniqueSort(s)}return c&&(F=x,k=m),v};return i?r(a):a}var _,x,b,w,M,T,E,C,k,S,N,A,P,L,D,q,j,R,O,z=”sizzle”+1*new Date,I=t.document,F=0,H=0,U=e(),B=e(),W=e(),Y=function(t,n){return t===n&&(N=!0),0},$={}.hasOwnProperty,X=[],G=X.pop,V=X.push,Z=X.push,Q=X.slice,J=function(t,n){for(var e=0,r=t.length;e+~]|”+tt+”)”+tt+”*”),st=new RegExp(“=”+tt+”*([^\\\\]’\\”]*?)”+tt+”*\\\\]”,”g”),ct=new RegExp(rt),lt=new RegExp(“^”+nt+”$”),ft={ID:new RegExp(“^#(“+nt+”)”),CLASS:new RegExp(“^\\\\.(“+nt+”)”),TAG:new RegExp(“^(“+nt+”|[*])”),ATTR:new RegExp(“^”+et),PSEUDO:new RegExp(“^”+rt),CHILD:new RegExp(“^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(“+tt+”*(even|odd|(([+-]|)(\\\\d*)n|)”+tt+”*(?:([+-]|)”+tt+”*(\\\\d+)|))”+tt+”*\\\\)|)”,”i”),bool:new RegExp(“^(?:”+K+”)$”,”i”),needsContext:new RegExp(“^”+tt+”*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(“+tt+”*((?:-\\\\d)?\\\\d*)”+tt+”*\\\\)|)(?=[^-]|$)”,”i”)},ht=/^(?:input|select|textarea|button)$/i,pt=/^h\\d$/i,dt=/^[^{]+\\{\\s*\\[native \\w/,gt=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,vt=/[+~]/,yt=new RegExp(“\\\\\\\\([\\\\da-f]{1,6}”+tt+”?|(“+tt+”)|.)”,”ig”),mt=function(t,n,e){var r=”0x”+n-65536;return r!==r||e?n:r>10|55296,1023&r|56320)},_t=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,xt=function(t,n){return n?”\\0″===t?”?”:t.slice(0,-1)+”\\\\”+t.charCodeAt(t.length-1).toString(16)+” “:”\\\\”+t},bt=function(){A()},wt=h(function(t){return!0===t.disabled&&(“form”in t||”label”in t)},{dir:”parentNode”,next:”legend”});try{Z.apply(X=Q.call(I.childNodes),I.childNodes),X[I.childNodes.length].nodeType}catch(t){Z={apply:X.length?function(t,n){V.apply(t,Q.call(n))}:function(t,n){for(var e=t.length,r=0;t[e++]=n[r++];);t.length=e-1}}}x=n.support={},M=n.isXML=function(t){var n=t&&(t.ownerDocument||t).documentElement;return!!n&&”HTML”!==n.nodeName},A=n.setDocument=function(t){var n,e,r=t?t.ownerDocument||t:I;return r!==P&&9===r.nodeType&&r.documentElement?(P=r,L=P.documentElement,D=!M(P),I!==P&&(e=P.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener(“unload”,bt,!1):e.attachEvent&&e.attachEvent(“onunload”,bt)),x.attributes=i(function(t){return t.className=”i”,!t.getAttribute(“className”)}),x.getElementsByTagName=i(function(t){return t.appendChild(P.createComment(“”)),!t.getElementsByTagName(“*”).length}),x.getElementsByClassName=dt.test(P.getElementsByClassName),x.getById=i(function(t){return L.appendChild(t).id=z,!P.getElementsByName||!P.getElementsByName(z).length}),x.getById?(b.filter.ID=function(t){var n=t.replace(yt,mt);return function(t){return t.getAttribute(“id”)===n}},b.find.ID=function(t,n){if(void 0!==n.getElementById&&D){var e=n.getElementById(t);return e?[e]:[]}}):(b.filter.ID=function(t){var n=t.replace(yt,mt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode(“id”);return e&&e.value===n}},b.find.ID=function(t,n){if(void 0!==n.getElementById&&D){var e,r,i,o=n.getElementById(t);if(o){if((e=o.getAttributeNode(“id”))&&e.value===t)return[o];for(i=n.getElementsByName(t),r=0;o=i[r++];)if((e=o.getAttributeNode(“id”))&&e.value===t)return[o]}return[]}}),b.find.TAG=x.getElementsByTagName?function(t,n){return void 0!==n.getElementsByTagName?n.getElementsByTagName(t):x.qsa?n.querySelectorAll(t):void 0}:function(t,n){var e,r=[],i=0,o=n.getElementsByTagName(t);if(“*”===t){for(;e=o[i++];)1===e.nodeType&&r.push(e);return r}return o},b.find.CLASS=x.getElementsByClassName&&function(t,n){if(void 0!==n.getElementsByClassName&&D)return n.getElementsByClassName(t)},j=[],q=[],(x.qsa=dt.test(P.querySelectorAll))&&(i(function(t){L.appendChild(t).innerHTML=”“,t.querySelectorAll(“[msallowcapture^=”]”).length&&q.push(“[*^$]=”+tt+”*(?:”|\\”\\”)”),t.querySelectorAll(“[selected]”).length||q.push(“\\\\[“+tt+”*(?:value|”+K+”)”),t.querySelectorAll(“[id~=”+z+”-]”).length||q.push(“~=”),t.querySelectorAll(“:checked”).length||q.push(“:checked”),t.querySelectorAll(“a#”+z+”+*”).length||q.push(“.#.+[+~]”)}),i(function(t){t.innerHTML=”“;var n=P.createElement(“input”);n.setAttribute(“type”,”hidden”),t.appendChild(n).setAttribute(“name”,”D”),t.querySelectorAll(“[name=d]”).length&&q.push(“name”+tt+”*[*^$|!~]?=”),2!==t.querySelectorAll(“:enabled”).length&&q.push(“:enabled”,”:disabled”),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(“:disabled”).length&&q.push(“:enabled”,”:disabled”),t.querySelectorAll(“*,:x”),q.push(“,.*:”)})),(x.matchesSelector=dt.test(R=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(t){x.disconnectedMatch=R.call(t,”*”),R.call(t,”[s!=”]:x”),j.push(“!=”,rt)}),q=q.length&&new RegExp(q.join(“|”)),j=j.length&&new RegExp(j.join(“|”)),n=dt.test(L.compareDocumentPosition),O=n||dt.test(L.contains)?function(t,n){var e=9===t.nodeType?t.documentElement:t,r=n&&n.parentNode;return t===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,n){if(n)for(;n=n.parentNode;)if(n===t)return!0;return!1},Y=n?function(t,n){if(t===n)return N=!0,0;var e=!t.compareDocumentPosition-!n.compareDocumentPosition;return e||(e=(t.ownerDocument||t)===(n.ownerDocument||n)?t.compareDocumentPosition(n):1,1&e||!x.sortDetached&&n.compareDocumentPosition(t)===e?t===P||t.ownerDocument===I&&O(I,t)?-1:n===P||n.ownerDocument===I&&O(I,n)?1:S?J(S,t)-J(S,n):0:4&e?-1:1)}:function(t,n){if(t===n)return N=!0,0;var e,r=0,i=t.parentNode,o=n.parentNode,u=[t],s=[n];if(!i||!o)return t===P?-1:n===P?1:i?-1:o?1:S?J(S,t)-J(S,n):0;if(i===o)return a(t,n);for(e=t;e=e.parentNode;)u.unshift(e);for(e=n;e=e.parentNode;)s.unshift(e);for(;u[r]===s[r];)r++;return r?a(u[r],s[r]):u[r]===I?-1:s[r]===I?1:0},P):P},n.matches=function(t,e){return n(t,null,null,e)},n.matchesSelector=function(t,e){if((t.ownerDocument||t)!==P&&A(t),e=e.replace(st,”=’$1′]”),x.matchesSelector&&D&&!W[e+” “]&&(!j||!j.test(e))&&(!q||!q.test(e)))try{var r=R.call(t,e);if(r||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return n(e,P,null,[t]).length>0},n.contains=function(t,n){return(t.ownerDocument||t)!==P&&A(t),O(t,n)},n.attr=function(t,n){(t.ownerDocument||t)!==P&&A(t);var e=b.attrHandle[n.toLowerCase()],r=e&&$.call(b.attrHandle,n.toLowerCase())?e(t,n,!D):void 0;return void 0!==r?r:x.attributes||!D?t.getAttribute(n):(r=t.getAttributeNode(n))&&r.specified?r.value:null},n.escape=function(t){return(t+””).replace(_t,xt)},n.error=function(t){throw new Error(“Syntax error, unrecognized expression: “+t)},n.uniqueSort=function(t){var n,e=[],r=0,i=0;if(N=!x.detectDuplicates,S=!x.sortStable&&t.slice(0),t.sort(Y),N){for(;n=t[i++];)n===t[i]&&(r=e.push(i));for(;r–;)t.splice(e[r],1)}return S=null,t},w=n.getText=function(t){var n,e=””,r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if(“string”==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)e+=w(t)}else if(3===i||4===i)return t.nodeValue}else for(;n=t[r++];)e+=w(n);return e},b=n.selectors={cacheLength:50,createPseudo:r,match:ft,attrHandle:{},find:{},relative:{“>”:{dir:”parentNode”,first:!0},” “:{dir:”parentNode”},”+”:{dir:”previousSibling”,first:!0},”~”:{dir:”previousSibling”}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(yt,mt),t[3]=(t[3]||t[4]||t[5]||””).replace(yt,mt),”~=”===t[2]&&(t[3]=” “+t[3]+” “),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),”nth”===t[1].slice(0,3)?(t[3]||n.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*(“even”===t[3]||”odd”===t[3])),t[5]=+(t[7]+t[8]||”odd”===t[3])):t[3]&&n.error(t[0]),t},PSEUDO:function(t){var n,e=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||””:e&&ct.test(e)&&(n=T(e,!0))&&(n=e.indexOf(“)”,e.length-n)-e.length)&&(t[0]=t[0].slice(0,n),t[2]=e.slice(0,n)),t.slice(0,3))}},filter:{TAG:function(t){var n=t.replace(yt,mt).toLowerCase();return”*”===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===n}},CLASS:function(t){var n=U[t+” “];return n||(n=new RegExp(“(^|”+tt+”)”+t+”(“+tt+”|$)”))&&U(t,function(t){return n.test(“string”==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute(“class”)||””)})},ATTR:function(t,e,r){return function(i){var o=n.attr(i,t);return null==o?”!=”===e:!e||(o+=””,”=”===e?o===r:”!=”===e?o!==r:”^=”===e?r&&0===o.indexOf(r):”*=”===e?r&&o.indexOf(r)>-1:”$=”===e?r&&o.slice(-r.length)===r:”~=”===e?(” “+o.replace(it,” “)+” “).indexOf(r)>-1:”|=”===e&&(o===r||o.slice(0,r.length+1)===r+”-“))}},CHILD:function(t,n,e,r,i){var o=”nth”!==t.slice(0,3),a=”last”!==t.slice(-4),u=”of-type”===n;return 1===r&&0===i?function(t){return!!t.parentNode}:function(n,e,s){var c,l,f,h,p,d,g=o!==a?”nextSibling”:”previousSibling”,v=n.parentNode,y=u&&n.nodeName.toLowerCase(),m=!s&&!u,_=!1;if(v){if(o){for(;g;){for(h=n;h=h[g];)if(u?h.nodeName.toLowerCase()===y:1===h.nodeType)return!1;d=g=”only”===t&&!d&&”nextSibling”}return!0}if(d=[a?v.firstChild:v.lastChild],a&&m){for(h=v,f=h[z]||(h[z]={}),l=f[h.uniqueID]||(f[h.uniqueID]={}),c=l[t]||[],p=c[0]===F&&c[1],_=p&&c[2],h=p&&v.childNodes[p];h=++p&&h&&h[g]||(_=p=0)||d.pop();)if(1===h.nodeType&&++_&&h===n){l[t]=[F,p,_];break}}else if(m&&(h=n,f=h[z]||(h[z]={}),l=f[h.uniqueID]||(f[h.uniqueID]={}),c=l[t]||[],p=c[0]===F&&c[1],_=p),!1===_)for(;(h=++p&&h&&h[g]||(_=p=0)||d.pop())&&((u?h.nodeName.toLowerCase()!==y:1!==h.nodeType)||!++_||(m&&(f=h[z]||(h[z]={}),l=f[h.uniqueID]||(f[h.uniqueID]={}),l[t]=[F,_]),h!==n)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(t,e){var i,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||n.error(“unsupported pseudo: “+t);return o[z]?o(e):o.length>1?(i=[t,t,””,e],b.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,n){for(var r,i=o(t,e),a=i.length;a–;)r=J(t,i[a]),t[r]=!(n[r]=i[a])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var n=[],e=[],i=E(t.replace(ot,”$1″));return i[z]?r(function(t,n,e,r){for(var o,a=i(t,null,r,[]),u=t.length;u–;)(o=a[u])&&(t[u]=!(n[u]=o))}):function(t,r,o){return n[0]=t,i(n,null,o,e),n[0]=null,!e.pop()}}),has:r(function(t){return function(e){return n(t,e).length>0}}),contains:r(function(t){return t=t.replace(yt,mt),function(n){return(n.textContent||n.innerText||w(n)).indexOf(t)>-1}}),lang:r(function(t){return lt.test(t||””)||n.error(“unsupported lang: “+t),t=t.replace(yt,mt).toLowerCase(),function(n){var e;do{if(e=D?n.lang:n.getAttribute(“xml:lang”)||n.getAttribute(“lang”))return(e=e.toLowerCase())===t||0===e.indexOf(t+”-“)}while((n=n.parentNode)&&1===n.nodeType);return!1}}),target:function(n){var e=t.location&&t.location.hash;return e&&e.slice(1)===n.id},root:function(t){return t===L},focus:function(t){return t===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(t){var n=t.nodeName.toLowerCase();return”input”===n&&!!t.checked||”option”===n&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return pt.test(t.nodeName)},input:function(t){return ht.test(t.nodeName)},button:function(t){var n=t.nodeName.toLowerCase();return"input"===n&&"button"===t.type||"button"===n},text:function(t){var n;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(n=t.getAttribute("type"))||"text"===n.toLowerCase())},first:s(function(){return[0]}),last:s(function(t,n){return[n-1]}),eq:s(function(t,n,e){return[e<0?e+n:e]}),even:s(function(t,n){for(var e=0;e<n;e+=2)t.push(e);return t}),odd:s(function(t,n){for(var e=1;e<n;e+=2)t.push(e);return t}),lt:s(function(t,n,e){for(var r=e=0;)t.push(r);return t}),gt:s(function(t,n,e){for(var r=e<0?e+n:e;++r2&&”ID”===(a=o[0]).type&&9===n.nodeType&&D&&b.relative[o[1].type]){if(!(n=(b.find.ID(a.matches[0].replace(yt,mt),n)||[])[0]))return e;l&&(n=n.parentNode),t=t.slice(o.shift().value.length)}for(i=ft.needsContext.test(t)?0:o.length;i–&&(a=o[i],!b.relative[u=a.type]);)if((s=b.find[u])&&(r=s(a.matches[0].replace(yt,mt),vt.test(o[0].type)&&c(n.parentNode)||n))){if(o.splice(i,1),!(t=r.length&&f(o)))return Z.apply(e,r),e;break}}return(l||E(t,h))(r,n,!D,e,!n||vt.test(t)&&c(n.parentNode)||n),e},x.sortStable=z.split(“”).sort(Y).join(“”)===z,x.detectDuplicates=!!N,A(),x.sortDetached=i(function(t){return 1&t.compareDocumentPosition(P.createElement(“fieldset”))}),i(function(t){return t.innerHTML=”“,”#”===t.firstChild.getAttribute(“href”)})||o(“type|href|height|width”,function(t,n,e){if(!e)return t.getAttribute(n,”type”===n.toLowerCase()?1:2)}),x.attributes&&i(function(t){return t.innerHTML=””,t.firstChild.setAttribute(“value”,””),””===t.firstChild.getAttribute(“value”)})||o(“value”,function(t,n,e){if(!e&&”input”===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute(“disabled”)})||o(K,function(t,n,e){var r;if(!e)return!0===t[n]?n.toLowerCase():(r=t.getAttributeNode(n))&&r.specified?r.value:null}),n}(e);mt.find=Mt,mt.expr=Mt.selectors,mt.expr[“:”]=mt.expr.pseudos,mt.uniqueSort=mt.unique=Mt.uniqueSort,mt.text=Mt.getText,mt.isXMLDoc=Mt.isXML,mt.contains=Mt.contains,mt.escapeSelector=Mt.escape;var Tt=function(t,n,e){for(var r=[],i=void 0!==e;(t=t[n])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&mt(t).is(e))break;r.push(t)}return r},Et=function(t,n){for(var e=[];t;t=t.nextSibling)1===t.nodeType&&t!==n&&e.push(t);return e},Ct=mt.expr.match.needsContext,kt=/^:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:|)$/i,St=/^.[^:#\\[\\.,]*$/;mt.filter=function(t,n,e){var r=n[0];return e&&(t=”:not(“+t+”)”),1===n.length&&1===r.nodeType?mt.find.matchesSelector(r,t)?[r]:[]:mt.find.matches(t,mt.grep(n,function(t){return 1===t.nodeType}))},mt.fn.extend({find:function(t){var n,e,r=this.length,i=this;if(“string”!=typeof t)return this.pushStack(mt(t).filter(function(){for(n=0;n<r;n++)if(mt.contains(i[n],this))return!0}));for(e=this.pushStack([]),n=0;n1?mt.uniqueSort(e):e},filter:function(t){return this.pushStack(c(this,t||[],!1))},not:function(t){return this.pushStack(c(this,t||[],!0))},is:function(t){return!!c(this,”string”==typeof t&&Ct.test(t)?mt(t):t||[],!1).length}});var Nt,At=/^(?:\\s*()[^>]*|#([\\w-]+))$/;(mt.fn.init=function(t,n,e){var r,i;if(!t)return this;if(e=e||Nt,”string”==typeof t){if(!(r=””===t[t.length-1]&&t.length>=3?[null,t,null]:At.exec(t))||!r[1]&&n)return!n||n.jquery?(n||e).find(t):this.constructor(n).find(t);if(r[1]){if(n=n instanceof mt?n[0]:n,mt.merge(this,mt.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:at,!0)),kt.test(r[1])&&mt.isPlainObject(n))for(r in n)mt.isFunction(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}return i=at.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):mt.isFunction(t)?void 0!==e.ready?e.ready(t):t(mt):mt.makeArray(t,this)}).prototype=mt.fn,Nt=mt(at);var Pt=/^(?:parents|prev(?:Until|All))/,Lt={children:!0,contents:!0,next:!0,prev:!0};mt.fn.extend({has:function(t){var n=mt(t,this),e=n.length;return this.filter(function(){for(var t=0;t<e;t++)if(mt.contains(this,n[t]))return!0})},closest:function(t,n){var e,r=0,i=this.length,o=[],a="string"!=typeof t&&mt(t);if(!Ct.test(t))for(;r<i;r++)for(e=this[r];e&&e!==n;e=e.parentNode)if(e.nodeType-1:1===e.nodeType&&mt.find.matchesSelector(e,t))){o.push(e);break}return this.pushStack(o.length>1?mt.uniqueSort(o):o)},index:function(t){return t?”string”==typeof t?ft.call(mt(t),this[0]):ft.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,n){return this.pushStack(mt.uniqueSort(mt.merge(this.get(),mt(t,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),mt.each({parent:function(t){var n=t.parentNode;return n&&11!==n.nodeType?n:null},parents:function(t){return Tt(t,”parentNode”)},parentsUntil:function(t,n,e){return Tt(t,”parentNode”,e)},next:function(t){return l(t,”nextSibling”)},prev:function(t){return l(t,”previousSibling”)},nextAll:function(t){return Tt(t,”nextSibling”)},prevAll:function(t){return Tt(t,”previousSibling”)},nextUntil:function(t,n,e){return Tt(t,”nextSibling”,e)},prevUntil:function(t,n,e){return Tt(t,”previousSibling”,e)},siblings:function(t){return Et((t.parentNode||{}).firstChild,t)},children:function(t){return Et(t.firstChild)},contents:function(t){return s(t,”iframe”)?t.contentDocument:(s(t,”template”)&&(t=t.content||t),mt.merge([],t.childNodes))}},function(t,n){mt.fn[t]=function(e,r){var i=mt.map(this,n,e);return”Until”!==t.slice(-5)&&(r=e),r&&”string”==typeof r&&(i=mt.filter(r,i)),this.length>1&&(Lt[t]||mt.uniqueSort(i),Pt.test(t)&&i.reverse()),this.pushStack(i)}});var Dt=/[^\\x20\\t\\r\\n\\f]+/g;mt.Callbacks=function(t){t=”string”==typeof t?f(t):mt.extend({},t);var n,e,r,i,o=[],a=[],u=-1,s=function(){for(i=i||t.once,r=n=!0;a.length;u=-1)for(e=a.shift();++u-1;)o.splice(e,1),e-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=e=””,this},disabled:function(){return!o},lock:function(){return i=a=[],e||n||(o=e=””),this},locked:function(){return!!i},fireWith:function(t,e){return i||(e=e||[],e=[t,e.slice?e.slice():e],a.push(e),n||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},mt.extend({Deferred:function(t){var n=[[“notify”,”progress”,mt.Callbacks(“memory”),mt.Callbacks(“memory”),2],[“resolve”,”done”,mt.Callbacks(“once memory”),mt.Callbacks(“once memory”),0,”resolved”],[“reject”,”fail”,mt.Callbacks(“once memory”),mt.Callbacks(“once memory”),1,”rejected”]],r=”pending”,i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return mt.Deferred(function(e){mt.each(n,function(n,r){var i=mt.isFunction(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&mt.isFunction(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[r[0]+”With”](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var u=this,s=arguments,c=function(){var e,c;if(!(t=a&&(r!==p&&(u=void 0,s=[e]),n.rejectWith(u,s))}};t?l():(mt.Deferred.getStackHook&&(l.stackTrace=mt.Deferred.getStackHook()),e.setTimeout(l))}}var a=0;return mt.Deferred(function(e){n[0][3].add(o(0,e,mt.isFunction(i)?i:h,e.notifyWith)),n[1][3].add(o(0,e,mt.isFunction(t)?t:h)),n[2][3].add(o(0,e,mt.isFunction(r)?r:p))}).promise()},promise:function(t){return null!=t?mt.extend(t,i):i}},o={};return mt.each(n,function(t,e){var a=e[2],u=e[5];i[e[1]]=a.add,u&&a.add(function(){r=u},n[3-t][2].disable,n[0][2].lock),a.add(e[3].fire),o[e[0]]=function(){return o[e[0]+”With”](this===o?void 0:this,arguments),this},o[e[0]+”With”]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var n=arguments.length,e=n,r=Array(e),i=st.call(arguments),o=mt.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=arguments.length>1?st.call(arguments):e,–n||o.resolveWith(r,i)}};if(n0||jt.resolveWith(at,[mt]))}}),mt.ready.then=jt.then,”complete”===at.readyState||”loading”!==at.readyState&&!at.documentElement.doScroll?e.setTimeout(mt.ready):(at.addEventListener(“DOMContentLoaded”,g),e.addEventListener(“load”,g));var Rt=function(t,n,e,r,i,o,a){var u=0,s=t.length,c=null==e;if(“object”===mt.type(e)){i=!0;for(u in e)Rt(t,n,u,e[u],!0,o,a)}else if(void 0!==r&&(i=!0,mt.isFunction(r)||(a=!0),c&&(a?(n.call(t,r),n=null):(c=n,n=function(t,n,e){return c.call(mt(t),e)})),n))for(;u1,null,!0)},removeData:function(t){return this.each(function(){It.remove(this,t)})}}),mt.extend({queue:function(t,n,e){var r;if(t)return n=(n||”fx”)+”queue”,r=zt.get(t,n),e&&(!r||Array.isArray(e)?r=zt.access(t,n,mt.makeArray(e)):r.push(e)),r||[]},dequeue:function(t,n){n=n||”fx”;var e=mt.queue(t,n),r=e.length,i=e.shift(),o=mt._queueHooks(t,n),a=function(){mt.dequeue(t,n)};”inprogress”===i&&(i=e.shift(),r–),i&&(“fx”===n&&e.unshift(“inprogress”),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,n){var e=n+”queueHooks”;return zt.get(t,e)||zt.access(t,e,{empty:mt.Callbacks(“once memory”).add(function(){zt.remove(t,[n+”queue”,e])})})}}),mt.fn.extend({queue:function(t,n){var e=2;return”string”!=typeof t&&(n=t,t=”fx”,e–),arguments.length<e?mt.queue(this[0],t):void 0===n?this:this.each(function(){var e=mt.queue(this,t,n);mt._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&mt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){mt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){var e,r=1,i=mt.Deferred(),o=this,a=this.length,u=function(){–r||i.resolveWith(o,[o])};for("string"!=typeof t&&(n=t,t=void 0),t=t||"fx";a–;)(e=zt.get(o[a],t+"queueHooks"))&&e.empty&&(r++,e.empty.add(u));return u(),i.promise(n)}});var Ut=/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,Bt=new RegExp("^(?:([+-])=|)("+Ut+")([a-z%]*)$","i"),Wt=["Top","Right","Bottom","Left"],Yt=function(t,n){return t=n||t,"none"===t.style.display||""===t.style.display&&mt.contains(t.ownerDocument,t)&&"none"===mt.css(t,"display")},$t=function(t,n,e,r){var i,o,a={};for(o in n)a[o]=t.style[o],t.style[o]=n[o];i=e.apply(t,r||[]);for(o in n)t.style[o]=a[o];return i},Xt={};mt.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Yt(this)?mt(this).show():mt(this).hide()})}});var Gt=/^(?:checkbox|radio)$/i,Vt=/\\x20\\t\\r\\n\\f]+)/i,Zt=/^$|\\/(?:java|ecma)script/i,Qt={option:[1,””,””],thead:[1,”

“,”

“],col:[2,”

“,”

“],tr:[2,”

“,”

“],td:[3,”

“,”

“],_default:[0,””,””]};Qt.optgroup=Qt.option,Qt.tbody=Qt.tfoot=Qt.colgroup=Qt.caption=Qt.thead,Qt.th=Qt.td;var Jt=/<|&#?\\w+;/;!function(){var t=at.createDocumentFragment(),n=t.appendChild(at.createElement("div")),e=at.createElement("input");e.setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),n.appendChild(e),yt.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="“,yt.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var Kt=at.documentElement,tn=/^key/,nn=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,en=/^([^.]*)(?:\\.(.+)|)/;mt.event={global:{},add:function(t,n,e,r,i){var o,a,u,s,c,l,f,h,p,d,g,v=zt.get(t);if(v)for(e.handler&&(o=e,e=o.handler,i=o.selector),i&&mt.find.matchesSelector(Kt,i),e.guid||(e.guid=mt.guid++),(s=v.events)||(s=v.events={}),(a=v.handle)||(a=v.handle=function(n){return void 0!==mt&&mt.event.triggered!==n.type?mt.event.dispatch.apply(t,arguments):void 0}),n=(n||””).match(Dt)||[“”],c=n.length;c–;)u=en.exec(n[c])||[],p=g=u[1],d=(u[2]||””).split(“.”).sort(),p&&(f=mt.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=mt.event.special[p]||{},l=mt.extend({type:p,origType:g,data:r,handler:e,guid:e.guid,selector:i,needsContext:i&&mt.expr.match.needsContext.test(i),namespace:d.join(“.”)},o),(h=s[p])||(h=s[p]=[],h.delegateCount=0,f.setup&&!1!==f.setup.call(t,r,d,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=e.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),mt.event.global[p]=!0)},remove:function(t,n,e,r,i){var o,a,u,s,c,l,f,h,p,d,g,v=zt.hasData(t)&&zt.get(t);if(v&&(s=v.events)){for(n=(n||””).match(Dt)||[“”],c=n.length;c–;)if(u=en.exec(n[c])||[],p=g=u[1],d=(u[2]||””).split(“.”).sort(),p){for(f=mt.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,h=s[p]||[],u=u[2]&&new RegExp(“(^|\\\\.)”+d.join(“\\\\.(?:.*\\\\.|)”)+”(\\\\.|$)”),a=o=h.length;o–;)l=h[o],!i&&g!==l.origType||e&&e.guid!==l.guid||u&&!u.test(l.namespace)||r&&r!==l.selector&&(“**”!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount–,f.remove&&f.remove.call(t,l));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,d,v.handle)||mt.removeEvent(t,p,v.handle),delete s[p])}else for(p in s)mt.event.remove(t,p+n[c],e,r,!0);mt.isEmptyObject(s)&&zt.remove(t,”handle events”)}},dispatch:function(t){var n,e,r,i,o,a,u=mt.event.fix(t),s=new Array(arguments.length),c=(zt.get(this,”events”)||{})[u.type]||[],l=mt.event.special[u.type]||{};for(s[0]=u,n=1;n=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(“click”!==t.type||!0!==c.disabled)){for(o=[],a={},e=0;e-1:mt.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&u.push({elem:c,handlers:o})}return c=this,s<n.length&&u.push({elem:c,handlers:n.slice(s)}),u},addProp:function(t,n){Object.defineProperty(mt.Event.prototype,t,{enumerable:!0,configurable:!0,get:mt.isFunction(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(n){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(t){return t[mt.expando]?t:new mt.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==k()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===k()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&s(this,"input"))return this.click(),!1},_default:function(t){return s(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},mt.removeEvent=function(t,n,e){t.removeEventListener&&t.removeEventListener(n,e)},mt.Event=function(t,n){if(!(this instanceof mt.Event))return new mt.Event(t,n);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?E:C,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,n&&mt.extend(this,n),this.timeStamp=t&&t.timeStamp||mt.now(),this[mt.expando]=!0},mt.Event.prototype={constructor:mt.Event,isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=E,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=E,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=E,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},mt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var n=t.button;return null==t.which&&tn.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==n&&nn.test(t.type)?1&n?1:2&n?3:4&n?2:0:t.which}},mt.event.addProp),mt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){mt.event.special[t]={delegateType:n,bindType:n,handle:function(t){var e,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||mt.contains(r,i))||(t.type=o.origType,e=o.handler.apply(this,arguments),t.type=n),e}}}),mt.fn.extend({on:function(t,n,e,r){return S(this,t,n,e,r)},one:function(t,n,e,r){return S(this,t,n,e,r,1)},off:function(t,n,e){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,mt(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,n,t[i]);return this}return!1!==n&&"function"!=typeof n||(e=n,n=void 0),!1===e&&(e=C),this.each(function(){mt.event.remove(this,t,e,n)})}});var rn=/\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,on=/<script|<style|<link/i,an=/checked\\s*(?:[^=]|=\\s*.checked.)/i,un=/^true\\/(.*)/,sn=/^\\s*\\s*$/g;mt.extend({htmlPrefilter:function(t){return t.replace(rn,””)},clone:function(t,n,e){var r,i,o,a,u=t.cloneNode(!0),s=mt.contains(t.ownerDocument,t);if(!(yt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||mt.isXMLDoc(t)))for(a=w(u),o=w(t),r=0,i=o.length;r<i;r++)D(o[r],a[r]);if(n)if(e)for(o=o||w(t),a=a||w(u),r=0,i=o.length;r0&&M(a,!s&&w(t,”script”)),u},cleanData:function(t){for(var n,e,r,i=mt.event.special,o=0;void 0!==(e=t[o]);o++)if(Ot(e)){if(n=e[zt.expando]){if(n.events)for(r in n.events)i[r]?mt.event.remove(e,r):mt.removeEvent(e,r,n.handle);e[zt.expando]=void 0}e[It.expando]&&(e[It.expando]=void 0)}}}),mt.fn.extend({detach:function(t){return j(this,t,!0)},remove:function(t){return j(this,t)},text:function(t){return Rt(this,function(t){return void 0===t?mt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return q(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){N(this,t).appendChild(t)}})},prepend:function(){return q(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var n=N(this,t);n.insertBefore(t,n.firstChild)}})},before:function(){return q(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return q(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,n=0;null!=(t=this[n]);n++)1===t.nodeType&&(mt.cleanData(w(t,!1)),t.textContent=””);return this},clone:function(t,n){return t=null!=t&&t,n=null==n?t:n,this.map(function(){return mt.clone(this,t,n)})},html:function(t){return Rt(this,function(t){var n=this[0]||{},e=0,r=this.length;if(void 0===t&&1===n.nodeType)return n.innerHTML;if(“string”==typeof t&&!on.test(t)&&!Qt[(Vt.exec(t)||[“”,””])[1].toLowerCase()]){t=mt.htmlPrefilter(t);try{for(;e<r;e++)n=this[e]||{},1===n.nodeType&&(mt.cleanData(w(n,!1)),n.innerHTML=t);n=0}catch(t){}}n&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return q(this,arguments,function(n){var e=this.parentNode;mt.inArray(this,t)<0&&(mt.cleanData(w(this)),e&&e.replaceChild(n,this))},t)}}),mt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){mt.fn[t]=function(t){for(var e,r=[],i=mt(t),o=i.length-1,a=0;a<=o;a++)e=a===o?this:this.clone(!0),mt(i[a])[n](e),lt.apply(r,e.get());return this.pushStack(r)}});var cn=/^margin/,ln=new RegExp("^("+Ut+")(?!px)[a-z%]+$","i"),fn=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)};!function(){function t(){if(u){u.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",u.innerHTML="",Kt.appendChild(a);var t=e.getComputedStyle(u);n="1%"!==t.top,o="2px"===t.marginLeft,r="4px"===t.width,u.style.marginRight="50%",i="4px"===t.marginRight,Kt.removeChild(a),u=null}}var n,r,i,o,a=at.createElement("div"),u=at.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",yt.clearCloneStyle="content-box"===u.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(u),mt.extend(yt,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),i},reliableMarginLeft:function(){return t(),o}}))}();var hn=/^(none|table(?!-c[ea]).+)/,pn=/^–/,dn={position:"absolute",visibility:"hidden",display:"block"},gn={letterSpacing:"0",fontWeight:"400"},vn=["Webkit","Moz","ms"],yn=at.createElement("div").style;mt.extend({cssHooks:{opacity:{get:function(t,n){if(n){var e=R(t,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,n,e,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,u=mt.camelCase(n),s=pn.test(n),c=t.style;if(s||(n=I(u)),a=mt.cssHooks[n]||mt.cssHooks[u],void 0===e)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:c[n];o=typeof e,"string"===o&&(i=Bt.exec(e))&&i[1]&&(e=_(t,n,i),o="number"),null!=e&&e===e&&("number"===o&&(e+=i&&i[3]||(mt.cssNumber[u]?"":"px")),yt.clearCloneStyle||""!==e||0!==n.indexOf("background")||(c[n]="inherit"),a&&"set"in a&&void 0===(e=a.set(t,e,r))||(s?c.setProperty(n,e):c[n]=e))}},css:function(t,n,e,r){var i,o,a,u=mt.camelCase(n);return pn.test(n)||(n=I(u)),a=mt.cssHooks[n]||mt.cssHooks[u],a&&"get"in a&&(i=a.get(t,!0,e)),void 0===i&&(i=R(t,n,r)),"normal"===i&&n in gn&&(i=gn[n]),""===e||e?(o=parseFloat(i),!0===e||isFinite(o)?o||0:i):i}}),mt.each(["height","width"],function(t,n){mt.cssHooks[n]={get:function(t,e,r){if(e)return!hn.test(mt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?U(t,n,r):$t(t,dn,function(){return U(t,n,r)})},set:function(t,e,r){var i,o=r&&fn(t),a=r&&H(t,n,r,"border-box"===mt.css(t,"boxSizing",!1,o),o);return a&&(i=Bt.exec(e))&&"px"!==(i[3]||"px")&&(t.style[n]=e,e=mt.css(t,n)),F(t,e,a)}}}),mt.cssHooks.marginLeft=O(yt.reliableMarginLeft,function(t,n){if(n)return(parseFloat(R(t,"marginLeft"))||t.getBoundingClientRect().left-$t(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),mt.each({margin:"",padding:"",border:"Width"},function(t,n){mt.cssHooks[t+n]={expand:function(e){for(var r=0,i={},o="string"==typeof e?e.split(" "):[e];r<4;r++)i[t+Wt[r]+n]=o[r]||o[r-2]||o[0];return i}},cn.test(t)||(mt.cssHooks[t+n].set=F)}),mt.fn.extend({css:function(t,n){return Rt(this,function(t,n,e){var r,i,o={},a=0;if(Array.isArray(n)){for(r=fn(t),i=n.length;a1)}}),mt.Tween=B,B.prototype={constructor:B,init:function(t,n,e,r,i,o){this.elem=t,this.prop=e,this.easing=i||mt.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=r,this.unit=o||(mt.cssNumber[e]?””:”px”)},cur:function(){var t=B.propHooks[this.prop];return t&&t.get?t.get(this):B.propHooks._default.get(this)},run:function(t){var n,e=B.propHooks[this.prop];return this.options.duration?this.pos=n=mt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=n=t,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.propHooks={_default:{get:function(t){var n;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(n=mt.css(t.elem,t.prop,””),n&&”auto”!==n?n:0)},set:function(t){mt.fx.step[t.prop]?mt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[mt.cssProps[t.prop]]&&!mt.cssHooks[t.prop]?t.elem[t.prop]=t.now:mt.style(t.elem,t.prop,t.now+t.unit)}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},mt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:”swing”},mt.fx=B.prototype.init,mt.fx.step={};var mn,_n,xn=/^(?:toggle|show|hide)$/,bn=/queueHooks$/;mt.Animation=mt.extend(Z,{tweeners:{“*”:[function(t,n){var e=this.createTween(t,n);return _(e.elem,t,Bt.exec(n),e),e}]},tweener:function(t,n){mt.isFunction(t)?(n=t,t=[“*”]):t=t.match(Dt);for(var e,r=0,i=t.length;r<i;r++)e=t[r],Z.tweeners[e]=Z.tweeners[e]||[],Z.tweeners[e].unshift(n)},prefilters:[G],prefilter:function(t,n){n?Z.prefilters.unshift(t):Z.prefilters.push(t)}}),mt.speed=function(t,n,e){var r=t&&"object"==typeof t?mt.extend({},t):{complete:e||!e&&n||mt.isFunction(t)&&t,duration:t,easing:e&&n||n&&!mt.isFunction(n)&&n};return mt.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in mt.fx.speeds?r.duration=mt.fx.speeds[r.duration]:r.duration=mt.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){mt.isFunction(r.old)&&r.old.call(this),r.queue&&mt.dequeue(this,r.queue)},r},mt.fn.extend({fadeTo:function(t,n,e,r){return this.filter(Yt).css("opacity",0).show().end().animate({opacity:n},t,e,r)},animate:function(t,n,e,r){var i=mt.isEmptyObject(t),o=mt.speed(n,e,r),a=function(){var n=Z(this,mt.extend({},t),o);(i||zt.get(this,"finish"))&&n.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,n,e){var r=function(t){var n=t.stop;delete t.stop,n(e)};return"string"!=typeof t&&(e=n,n=t,t=void 0),n&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var n=!0,i=null!=t&&t+"queueHooks",o=mt.timers,a=zt.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&bn.test(i)&&r(a[i]);for(i=o.length;i–;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(e),n=!1,o.splice(i,1));!n&&e||mt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var n,e=zt.get(this),r=e[t+"queue"],i=e[t+"queueHooks"],o=mt.timers,a=r?r.length:0;for(e.finish=!0,mt.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),n=o.length;n–;)o[n].elem===this&&o[n].queue===t&&(o[n].anim.stop(!0),o.splice(n,1));for(n=0;n<a;n++)r[n]&&r[n].finish&&r[n].finish.call(this);delete e.finish})}}),mt.each(["toggle","show","hide"],function(t,n){var e=mt.fn[n];mt.fn[n]=function(t,r,i){return null==t||"boolean"==typeof t?e.apply(this,arguments):this.animate($(n,!0),t,r,i)}}),mt.each({slideDown:$("show"),slideUp:$("hide"),slideToggle:$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){mt.fn[t]=function(t,e,r){return this.animate(n,t,e,r)}}),mt.timers=[],mt.fx.tick=function(){var t,n=0,e=mt.timers;for(mn=mt.now();n1)},removeAttr:function(t){return this.each(function(){mt.removeAttr(this,t)})}}),mt.extend({attr:function(t,n,e){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?mt.prop(t,n,e):(1===o&&mt.isXMLDoc(t)||(i=mt.attrHooks[n.toLowerCase()]||(mt.expr.match.bool.test(n)?wn:void 0)),void 0!==e?null===e?void mt.removeAttr(t,n):i&&”set”in i&&void 0!==(r=i.set(t,e,n))?r:(t.setAttribute(n,e+””),e):i&&”get”in i&&null!==(r=i.get(t,n))?r:(r=mt.find.attr(t,n),null==r?void 0:r))},attrHooks:{type:{set:function(t,n){if(!yt.radioValue&&”radio”===n&&s(t,”input”)){var e=t.value;return t.setAttribute(“type”,n),e&&(t.value=e),n}}}},removeAttr:function(t,n){var e,r=0,i=n&&n.match(Dt);if(i&&1===t.nodeType)for(;e=i[r++];)t.removeAttribute(e)}}),wn={set:function(t,n,e){return!1===n?mt.removeAttr(t,e):t.setAttribute(e,e),e}},mt.each(mt.expr.match.bool.source.match(/\\w+/g),function(t,n){var e=Mn[n]||mt.find.attr;Mn[n]=function(t,n,r){var i,o,a=n.toLowerCase();return r||(o=Mn[a],Mn[a]=i,i=null!=e(t,n,r)?a:null,Mn[a]=o),i}});var Tn=/^(?:input|select|textarea|button)$/i,En=/^(?:a|area)$/i;mt.fn.extend({prop:function(t,n){return Rt(this,mt.prop,t,n,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[mt.propFix[t]||t]})}}),mt.extend({prop:function(t,n,e){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&mt.isXMLDoc(t)||(n=mt.propFix[n]||n,i=mt.propHooks[n]),void 0!==e?i&&”set”in i&&void 0!==(r=i.set(t,e,n))?r:t[n]=e:i&&”get”in i&&null!==(r=i.get(t,n))?r:t[n]},propHooks:{tabIndex:{get:function(t){var n=mt.find.attr(t,”tabindex”);return n?parseInt(n,10):Tn.test(t.nodeName)||En.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:”htmlFor”,class:”className”}}),yt.optSelected||(mt.propHooks.selected={get:function(t){var n=t.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(t){var n=t.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),mt.each([“tabIndex”,”readOnly”,”maxLength”,”cellSpacing”,”cellPadding”,”rowSpan”,”colSpan”,”useMap”,”frameBorder”,”contentEditable”],function(){mt.propFix[this.toLowerCase()]=this}),mt.fn.extend({addClass:function(t){var n,e,r,i,o,a,u,s=0;if(mt.isFunction(t))return this.each(function(n){mt(this).addClass(t.call(this,n,J(this)))});if(“string”==typeof t&&t)for(n=t.match(Dt)||[];e=this[s++];)if(i=J(e),r=1===e.nodeType&&” “+Q(i)+” “){for(a=0;o=n[a++];)r.indexOf(” “+o+” “)-1;)r=r.replace(” “+o+” “,” “);u=Q(r),i!==u&&e.setAttribute(“class”,u)}return this},toggleClass:function(t,n){var e=typeof t;return”boolean”==typeof n&&”string”===e?n?this.addClass(t):this.removeClass(t):mt.isFunction(t)?this.each(function(e){mt(this).toggleClass(t.call(this,e,J(this),n),n)}):this.each(function(){var n,r,i,o;if(“string”===e)for(r=0,i=mt(this),o=t.match(Dt)||[];n=o[r++];)i.hasClass(n)?i.removeClass(n):i.addClass(n);else void 0!==t&&”boolean”!==e||(n=J(this),n&&zt.set(this,”__className__”,n),this.setAttribute&&this.setAttribute(“class”,n||!1===t?””:zt.get(this,”__className__”)||””))})},hasClass:function(t){var n,e,r=0;for(n=” “+t+” “;e=this[r++];)if(1===e.nodeType&&(” “+Q(J(e))+” “).indexOf(n)>-1)return!0;return!1}});var Cn=/\\r/g;mt.fn.extend({val:function(t){var n,e,r,i=this[0];{if(arguments.length)return r=mt.isFunction(t),this.each(function(e){var i;1===this.nodeType&&(i=r?t.call(this,e,mt(this).val()):t,null==i?i=””:”number”==typeof i?i+=””:Array.isArray(i)&&(i=mt.map(i,function(t){return null==t?””:t+””})),(n=mt.valHooks[this.type]||mt.valHooks[this.nodeName.toLowerCase()])&&”set”in n&&void 0!==n.set(this,i,”value”)||(this.value=i))});if(i)return(n=mt.valHooks[i.type]||mt.valHooks[i.nodeName.toLowerCase()])&&”get”in n&&void 0!==(e=n.get(i,”value”))?e:(e=i.value,”string”==typeof e?e.replace(Cn,””):null==e?””:e)}}}),mt.extend({valHooks:{option:{get:function(t){var n=mt.find.attr(t,”value”);return null!=n?n:Q(mt.text(t))}},select:{get:function(t){var n,e,r,i=t.options,o=t.selectedIndex,a=”select-one”===t.type,u=a?null:[],c=a?o+1:i.length;for(r=o<0?c:a?o:0;r-1)&&(e=!0);return e||(t.selectedIndex=-1),o}}}}),mt.each([“radio”,”checkbox”],function(){mt.valHooks[this]={set:function(t,n){if(Array.isArray(n))return t.checked=mt.inArray(mt(t).val(),n)>-1}},yt.checkOn||(mt.valHooks[this].get=function(t){return null===t.getAttribute(“value”)?”on”:t.value})});var kn=/^(?:focusinfocus|focusoutblur)$/;mt.extend(mt.event,{trigger:function(t,n,r,i){var o,a,u,s,c,l,f,h=[r||at],p=dt.call(t,”type”)?t.type:t,d=dt.call(t,”namespace”)?t.namespace.split(“.”):[];if(a=u=r=r||at,3!==r.nodeType&&8!==r.nodeType&&!kn.test(p+mt.event.triggered)&&(p.indexOf(“.”)>-1&&(d=p.split(“.”),p=d.shift(),d.sort()),c=p.indexOf(“:”)1?s:f.bindType||p,l=(zt.get(a,”events”)||{})[t.type]&&zt.get(a,”handle”),l&&l.apply(a,n),(l=c&&a[c])&&l.apply&&Ot(a)&&(t.result=l.apply(a,n),!1===t.result&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),n)||!Ot(r)||c&&mt.isFunction(r[p])&&!mt.isWindow(r)&&(u=r[c],u&&(r[c]=null),mt.event.triggered=p,r[p](),mt.event.triggered=void 0,u&&(r[c]=u)),t.result}},simulate:function(t,n,e){var r=mt.extend(new mt.Event,e,{type:t,isSimulated:!0});mt.event.trigger(r,null,n)}}),mt.fn.extend({trigger:function(t,n){return this.each(function(){mt.event.trigger(t,n,this)})},triggerHandler:function(t,n){var e=this[0];if(e)return mt.event.trigger(t,n,e,!0)}}),mt.each(“blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu”.split(” “),function(t,n){mt.fn[n]=function(t,e){return arguments.length>0?this.on(n,null,t,e):this.trigger(n)}}),mt.fn.extend({hover:function(t,n){return this.mouseenter(t).mouseleave(n||t)}}),yt.focusin=”onfocusin”in e,yt.focusin||mt.each({focus:”focusin”,blur:”focusout”},function(t,n){var e=function(t){mt.event.simulate(n,t.target,mt.event.fix(t))};mt.event.special[n]={setup:function(){var r=this.ownerDocument||this,i=zt.access(r,n);i||r.addEventListener(t,e,!0),zt.access(r,n,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=zt.access(r,n)-1;i?zt.access(r,n,i):(r.removeEventListener(t,e,!0),zt.remove(r,n))}}});var Sn=e.location,Nn=mt.now(),An=/\\?/;mt.parseXML=function(t){var n;if(!t||”string”!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,”text/xml”)}catch(t){n=void 0}return n&&!n.getElementsByTagName(“parsererror”).length||mt.error(“Invalid XML: “+t),n};var Pn=/\\[\\]$/,Ln=/\\r?\\n/g,Dn=/^(?:submit|button|image|reset|file)$/i,qn=/^(?:input|select|textarea|keygen)/i;mt.param=function(t,n){var e,r=[],i=function(t,n){var e=mt.isFunction(n)?n():n;r[r.length]=encodeURIComponent(t)+”=”+encodeURIComponent(null==e?””:e)};if(Array.isArray(t)||t.jquery&&!mt.isPlainObject(t))mt.each(t,function(){i(this.name,this.value)});else for(e in t)K(e,t[e],n,i);return r.join(“&”)},mt.fn.extend({serialize:function(){return mt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=mt.prop(this,”elements”);return t?mt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!mt(this).is(“:disabled”)&&qn.test(this.nodeName)&&!Dn.test(t)&&(this.checked||!Gt.test(t))}).map(function(t,n){var e=mt(this).val();return null==e?null:Array.isArray(e)?mt.map(e,function(t){return{name:n.name,value:t.replace(Ln,”\\r\\n”)}}):{name:n.name,value:e.replace(Ln,”\\r\\n”)}}).get()}});var jn=/%20/g,Rn=/#.*$/,On=/([?&])_=[^&]*/,zn=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,In=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Fn=/^(?:GET|HEAD)$/,Hn=/^\\/\\//,Un={},Bn={},Wn=”*/”.concat(“*”),Yn=at.createElement(“a”);Yn.href=Sn.href,mt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Sn.href,type:”GET”,isLocal:In.test(Sn.protocol),global:!0,processData:!0,async:!0,contentType:”application/x-www-form-urlencoded; charset=UTF-8″,accepts:{“*”:Wn,text:”text/plain”,html:”text/html”,xml:”application/xml, text/xml”,json:”application/json, text/javascript”},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:”responseXML”,text:”responseText”,json:”responseJSON”},converters:{“* text”:String,”text html”:!0,”text json”:JSON.parse,”text xml”:mt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?et(et(t,mt.ajaxSettings),n):et(mt.ajaxSettings,t)},ajaxPrefilter:tt(Un),ajaxTransport:tt(Bn),ajax:function(t,n){function r(t,n,r,u){var c,h,p,x,b,w=n;l||(l=!0,s&&e.clearTimeout(s),i=void 0,a=u||””,M.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(x=rt(d,M,r)),x=it(d,x,M,c),c?(d.ifModified&&(b=M.getResponseHeader("Last-Modified"),b&&(mt.lastModified[o]=b),(b=M.getResponseHeader("etag"))&&(mt.etag[o]=b)),204===t||"HEAD"===d.type?w="nocontent":304===t?w="notmodified":(w=x.state,h=x.data,p=x.error,c=!p)):(p=w,!t&&w||(w="error",t0&&(s=e.setTimeout(function(){M.abort(“timeout”)},d.timeout));try{l=!1,i.send(x,r)}catch(t){if(l)throw t;r(-1,t)}}else r(-1,”No Transport”);return M},getJSON:function(t,n,e){return mt.get(t,n,e,”json”)},getScript:function(t,n){return mt.get(t,void 0,n,”script”)}}),mt.each([“get”,”post”],function(t,n){mt[n]=function(t,e,r,i){return mt.isFunction(e)&&(i=i||r,r=e,e=void 0),mt.ajax(mt.extend({url:t,type:n,dataType:i,data:e,success:r},mt.isPlainObject(t)&&t))}}),mt._evalUrl=function(t){return mt.ajax({url:t,type:”GET”,dataType:”script”,cache:!0,async:!1,global:!1,throws:!0})},mt.fn.extend({wrapAll:function(t){var n;return this[0]&&(mt.isFunction(t)&&(t=t.call(this[0])),n=mt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return mt.isFunction(t)?this.each(function(n){mt(this).wrapInner(t.call(this,n))}):this.each(function(){var n=mt(this),e=n.contents();e.length?e.wrapAll(t):n.append(t)})},wrap:function(t){var n=mt.isFunction(t);return this.each(function(e){mt(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(t){return this.parent(t).not(“body”).each(function(){mt(this).replaceWith(this.childNodes)}),this}}),mt.expr.pseudos.hidden=function(t){return!mt.expr.pseudos.visible(t)},mt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},mt.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var $n={0:200,1223:204},Xn=mt.ajaxSettings.xhr();yt.cors=!!Xn&&”withCredentials”in Xn,yt.ajax=Xn=!!Xn,mt.ajaxTransport(function(t){var n,r;if(yt.cors||Xn&&!t.crossDomain)return{send:function(i,o){var a,u=t.xhr();if(u.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)u[a]=t.xhrFields[a];t.mimeType&&u.overrideMimeType&&u.overrideMimeType(t.mimeType),t.crossDomain||i[“X-Requested-With”]||(i[“X-Requested-With”]=”XMLHttpRequest”);for(a in i)u.setRequestHeader(a,i[a]);n=function(t){return function(){n&&(n=r=u.onload=u.onerror=u.onabort=u.onreadystatechange=null,”abort”===t?u.abort():”error”===t?”number”!=typeof u.status?o(0,”error”):o(u.status,u.statusText):o($n[u.status]||u.status,u.statusText,”text”!==(u.responseType||”text”)||”string”!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=n(),r=u.onerror=n(“error”),void 0!==u.onabort?u.onabort=r:u.onreadystatechange=function(){4===u.readyState&&e.setTimeout(function(){n&&r()})},n=n(“abort”);try{u.send(t.hasContent&&t.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),mt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),mt.ajaxSetup({accepts:{script:”text/javascript, application/javascript, application/ecmascript, application/x-ecmascript”},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{“text script”:function(t){return mt.globalEval(t),t}}}),mt.ajaxPrefilter(“script”,function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type=”GET”)}),mt.ajaxTransport(“script”,function(t){if(t.crossDomain){var n,e;return{send:function(r,i){n=mt(“”).prop({charset:t.scriptCharset,src:t.url}).on(“load error”,e=function(t){n.remove(),e=null,t&&i(“error”===t.type?404:200,t.type)}),at.head.appendChild(n[0])},abort:function(){e&&e()}}}});var Gn=[],Vn=/(=)\\?(?=&|$)|\\?\\?/;mt.ajaxSetup({jsonp:”callback”,jsonpCallback:function(){var t=Gn.pop()||mt.expando+”_”+Nn++;return this[t]=!0,t}}),mt.ajaxPrefilter(“json jsonp”,function(t,n,r){var i,o,a,u=!1!==t.jsonp&&(Vn.test(t.url)?”url”:”string”==typeof t.data&&0===(t.contentType||””).indexOf(“application/x-www-form-urlencoded”)&&Vn.test(t.data)&&”data”);if(u||”jsonp”===t.dataTypes[0])return i=t.jsonpCallback=mt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace(Vn,”$1″+i):!1!==t.jsonp&&(t.url+=(An.test(t.url)?”&”:”?”)+t.jsonp+”=”+i),t.converters[“script json”]=function(){return a||mt.error(i+” was not called”),a[0]},t.dataTypes[0]=”json”,o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?mt(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Gn.push(i)),a&&mt.isFunction(o)&&o(a[0]),a=o=void 0}),”script”}),yt.createHTMLDocument=function(){var t=at.implementation.createHTMLDocument(“”).body;return t.innerHTML=””,2===t.childNodes.length}(),mt.parseHTML=function(t,n,e){if(“string”!=typeof t)return[];”boolean”==typeof n&&(e=n,n=!1);var r,i,o;return n||(yt.createHTMLDocument?(n=at.implementation.createHTMLDocument(“”),r=n.createElement(“base”),r.href=at.location.href,n.head.appendChild(r)):n=at),i=kt.exec(t),o=!e&&[],i?[n.createElement(i[1])]:(i=T([t],n,o),o&&o.length&&mt(o).remove(),mt.merge([],i.childNodes))},mt.fn.load=function(t,n,e){var r,i,o,a=this,u=t.indexOf(” “);return u>-1&&(r=Q(t.slice(u)),t=t.slice(0,u)),mt.isFunction(n)?(e=n,n=void 0):n&&”object”==typeof n&&(i=”POST”),a.length>0&&mt.ajax({url:t,type:i||”GET”,dataType:”html”,data:n}).done(function(t){o=arguments,a.html(r?mt(“

“).append(mt.parseHTML(t)).find(r):t)}).always(e&&function(t,n){a.each(function(){e.apply(this,o||[t.responseText,n,t])})}),this},mt.each([“ajaxStart”,”ajaxStop”,”ajaxComplete”,”ajaxError”,”ajaxSuccess”,”ajaxSend”],function(t,n){mt.fn[n]=function(t){return this.on(n,t)}}),mt.expr.pseudos.animated=function(t){return mt.grep(mt.timers,function(n){return t===n.elem}).length},mt.offset={setOffset:function(t,n,e){var r,i,o,a,u,s,c,l=mt.css(t,”position”),f=mt(t),h={};”static”===l&&(t.style.position=”relative”),u=f.offset(),o=mt.css(t,”top”),s=mt.css(t,”left”),c=(“absolute”===l||”fixed”===l)&&(o+s).indexOf(“auto”)>-1,c?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(s)||0),mt.isFunction(n)&&(n=n.call(t,e,mt.extend({},u))),null!=n.top&&(h.top=n.top-u.top+a),null!=n.left&&(h.left=n.left-u.left+i),”using”in n?n.using.call(t,h):f.css(h)}},mt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(n){mt.offset.setOffset(this,t,n)});var n,e,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),n=o.ownerDocument,e=n.documentElement,i=n.defaultView,{top:r.top+i.pageYOffset-e.clientTop,left:r.left+i.pageXOffset-e.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var t,n,e=this[0],r={top:0,left:0};return”fixed”===mt.css(e,”position”)?n=e.getBoundingClientRect():(t=this.offsetParent(),n=this.offset(),s(t[0],”html”)||(r=t.offset()),r={top:r.top+mt.css(t[0],”borderTopWidth”,!0),left:r.left+mt.css(t[0],”borderLeftWidth”,!0)}),{top:n.top-r.top-mt.css(e,”marginTop”,!0),left:n.left-r.left-mt.css(e,”marginLeft”,!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&”static”===mt.css(t,”position”);)t=t.offsetParent;return t||Kt})}}),mt.each({scrollLeft:”pageXOffset”,scrollTop:”pageYOffset”},function(t,n){var e=”pageYOffset”===n;mt.fn[t]=function(r){return Rt(this,function(t,r,i){var o;if(mt.isWindow(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[n]:t[r];o?o.scrollTo(e?o.pageXOffset:i,e?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),mt.each([“top”,”left”],function(t,n){mt.cssHooks[n]=O(yt.pixelPosition,function(t,e){if(e)return e=R(t,n),ln.test(e)?mt(t).position()[n]+”px”:e})}),mt.each({Height:”height”,Width:”width”},function(t,n){mt.each({padding:”inner”+t,content:n,””:”outer”+t},function(e,r){mt.fn[r]=function(i,o){var a=arguments.length&&(e||”boolean”!=typeof i),u=e||(!0===i||!0===o?”margin”:”border”);return Rt(this,function(n,e,i){var o;return mt.isWindow(n)?0===r.indexOf(“outer”)?n[“inner”+t]:n.document.documentElement[“client”+t]:9===n.nodeType?(o=n.documentElement,Math.max(n.body[“scroll”+t],o[“scroll”+t],n.body[“offset”+t],o[“offset”+t],o[“client”+t])):void 0===i?mt.css(n,e,u):mt.style(n,e,i,u)},n,a?i:void 0,a)}})}),mt.fn.extend({bind:function(t,n,e){return this.on(t,null,n,e)},unbind:function(t,n){return this.off(t,null,n)},delegate:function(t,n,e,r){return this.on(n,t,e,r)},undelegate:function(t,n,e){return 1===arguments.length?this.off(t,”**”):this.off(n,t||”**”,e)}}),mt.holdReady=function(t){t?mt.readyWait++:mt.ready(!0)},mt.isArray=Array.isArray,mt.parseJSON=JSON.parse,mt.nodeName=s,r=[],void 0!==(i=function(){return mt}.apply(n,r))&&(t.exports=i);var Zn=e.jQuery,Qn=e.$;return mt.noConflict=function(t){return e.$===mt&&(e.$=Qn),t&&e.jQuery===mt&&(e.jQuery=Zn),mt},o||(e.jQuery=e.$=mt),mt})},function(t,n,e){!function(t,e){e(n)}(0,function(t){“use strict”;function n(t){return function(n,e){return Wc(t(n),e)}}function e(t,n){return[t,n]}function r(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=sl?10:o>=cl?5:o>=ll?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=sl?10:o>=cl?5:o>=ll?2:1)}function i(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=sl?i*=10:o>=cl?i*=5:o>=ll&&(i*=2),n<t?-i:i}function o(t){return t.length}function a(t){return"translate("+(t+.5)+",0)"}function u(t){return"translate(0,"+(t+.5)+")"}function s(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return t(e)+n}}function c(){return!this.__axis}function l(t,n){function e(e){var a=null==i?n.ticks?n.ticks.apply(n,r):n.domain():i,u=null==o?n.tickFormat?n.tickFormat.apply(n,r):Nl:o,v=Math.max(l,0)+h,y=n.range(),m=y[0]+.5,_=y[y.length-1]+.5,x=(n.bandwidth?s:Nl)(n.copy()),b=e.selection?e.selection():e,w=b.selectAll(".domain").data([null]),M=b.selectAll(".tick").data(a,n).order(),T=M.exit(),E=M.enter().append("g").attr("class","tick"),C=M.select("line"),k=M.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),M=M.merge(E),C=C.merge(E.append("line").attr("stroke","#000").attr(d+"2",p*l)),k=k.merge(E.append("text").attr("fill","#000").attr(d,p*v).attr("dy",t===Al?"0em":t===Ll?"0.71em":"0.32em")),e!==b&&(w=w.transition(e),M=M.transition(e),C=C.transition(e),k=k.transition(e),T=T.transition(e).attr("opacity",ql).attr("transform",function(t){return isFinite(t=x(t))?g(t):this.getAttribute("transform")}),E.attr("opacity",ql).attr("transform",function(t){var n=this.parentNode.__axis;return g(n&&isFinite(n=n(t))?n:x(t))})),T.remove(),w.attr("d",t===Dl||t==Pl?"M"+p*f+","+m+"H0.5V"+_+"H"+p*f:"M"+m+","+p*f+"V0.5H"+_+"V"+p*f),M.attr("opacity",1).attr("transform",function(t){return g(x(t))}),C.attr(d+"2",p*l),k.attr(d,p*v).text(u),b.filter(c).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Pl?"start":t===Dl?"end":"middle"),b.each(function(){this.__axis=x})}var r=[],i=null,o=null,l=6,f=6,h=3,p=t===Al||t===Dl?-1:1,d=t===Dl||t===Pl?"x":"y",g=t===Al||t===Ll?a:u;return e.scale=function(t){return arguments.length?(n=t,e):n},e.ticks=function(){return r=Sl.call(arguments),e},e.tickArguments=function(t){return arguments.length?(r=null==t?[]:Sl.call(t),e):r.slice()},e.tickValues=function(t){return arguments.length?(i=null==t?null:Sl.call(t),e):i&&i.slice()},e.tickFormat=function(t){return arguments.length?(o=t,e):o},e.tickSize=function(t){return arguments.length?(l=f=+t,e):l},e.tickSizeInner=function(t){return arguments.length?(l=+t,e):l},e.tickSizeOuter=function(t){return arguments.length?(f=+t,e):f},e.tickPadding=function(t){return arguments.length?(h=+t,e):h},e}function f(t){return l(Al,t)}function h(t){return l(Pl,t)}function p(t){return l(Ll,t)}function d(t){return l(Dl,t)}function g(){for(var t,n=0,e=arguments.length,r={};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 m(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function _(t,n,e){for(var r=0,i=t.length;r=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function k(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function S(t,n,e){var r=Yl.hasOwnProperty(t.type)?T:E;return function(i,o,a){var u,s=this.__on,c=r(n,o,a);if(s)for(var l=0,f=s.length;l<f;++l)if((u=s[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=e),void(u.value=n);this.addEventListener(t.type,c,e),u={type:t.type,name:t.name,value:n,listener:c,capture:e},s?s.push(u):this.__on=[u]}}function N(n,e,r,i){var o=t.event;n.sourceEvent=t.event,t.event=n;try{return e.apply(r,i)}finally{t.event=o}}function A(){}function P(){return[]}function L(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function D(t,n,e,r,i,o){for(var a,u=0,s=n.length,c=o.length;u<c;++u)(a=n[u])?(a.__data__=o[u],r[u]=a):e[u]=new L(t,o[u]);for(;u<s;++u)(a=n[u])&&(i[u]=a)}function q(t,n,e,r,i,o,a){var u,s,c,l={},f=n.length,h=o.length,p=new Array(f);for(u=0;u<f;++u)(s=n[u])&&(p[u]=c=of+a.call(s,s.__data__,u,n),c in l?i[u]=s:l[c]=s);for(u=0;u<h;++u)c=of+a.call(t,o[u],u,o),(s=l[c])?(r[u]=s,s.__data__=o[u],l[c]=null):e[u]=new L(t,o[u]);for(u=0;u<f;++u)(s=n[u])&&l[p[u]]===s&&(i[u]=s)}function j(t,n){return tn?1:t>=n?0:NaN}function R(t){return function(){this.removeAttribute(t)}}function O(t){return function(){this.removeAttributeNS(t.space,t.local)}}function z(t,n){return function(){this.setAttribute(t,n)}}function I(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function F(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function H(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 B(t,n,e){return function(){this.style.setProperty(t,n,e)}}function W(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function Y(t,n){return t.style.getPropertyValue(n)||mf(t).getComputedStyle(t,null).getPropertyValue(n)}function $(t){return function(){delete this[t]}}function X(t,n){return function(){this[t]=n}}function G(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 Z(t){return t.classList||new Q(t)}function Q(t){this._node=t,this._names=V(t.getAttribute(“class”)||””)}function J(t,n){for(var e=Z(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function K(t,n){for(var e=Z(t),r=-1,i=n.length;++r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<>16&255,t>>8&255,255&t,1)}function St(t,n,e,r){return r<=0&&(t=n=e=NaN),new Pt(t,n,e,r)}function Nt(t){return t instanceof Et||(t=Ct(t)),t?(t=t.rgb(),new Pt(t.r,t.g,t.b,t.opacity)):new Pt}function At(t,n,e,r){return 1===arguments.length?Nt(t):new Pt(t,n,e,null==r?1:r)}function Pt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Lt(t,n,e,r){return r<=0?t=n=e=NaN:e=1?t=n=NaN:n<=0&&(t=NaN),new jt(t,n,e,r)}function Dt(t){if(t instanceof jt)return new jt(t.h,t.s,t.l,t.opacity);if(t instanceof Et||(t=Ct(t)),!t)return new jt;if(t instanceof jt)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*(e<r):e===o?(r-n)/u+2:(n-e)/u+4,u/=s0&&s<1?0:a,new jt(a,u,s,t.opacity)}function qt(t,n,e,r){return 1===arguments.length?Dt(t):new jt(t,n,e,null==r?1:r)}function jt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Rt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:tuh?Math.pow(t,1/3):t/ah+ih}function Ht(t){return t>oh?t*t*t:ah*(t-ih)}function Ut(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Bt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Wt(t){if(t instanceof $t)return new $t(t.h,t.c,t.l,t.opacity);t instanceof It||(t=Ot(t));var n=Math.atan2(t.b,t.a)*th;return new $t(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Yt(t,n,e,r){return 1===arguments.length?Wt(t):new $t(t,n,e,null==r?1:r)}function $t(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Xt(t){if(t instanceof Vt)return new Vt(t.h,t.s,t.l,t.opacity);t instanceof Pt||(t=Nt(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(gh*r+ph*n-dh*e)/(gh+ph-dh),o=r-i,a=(hh*(e-i)-lh*o)/fh,u=Math.sqrt(a*a+o*o)/(hh*i*(1-i)),s=u?Math.atan2(a,o)*th-120:NaN;return new Vt(s180||e<-180?e-360*Math.round(e/360):e):Th(isNaN(t)?n:t)}function tn(t){return 1==(t=+t)?nn:function(n,e){return e-n?Jt(n,e,t):Th(isNaN(n)?e:n)}}function nn(t,n){var e=n-t;return e?Qt(t,e):Th(isNaN(t)?n:t)}function en(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:Ah(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:Ah(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:Ah(t,e)},{i:u-2,x:Ah(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;–Qh}function bn(){ep=(np=ip.now())+rp,Qh=Jh=0;try{xn()}finally{Qh=0,Mn(),ep=0}}function wn(){var t=ip.now(),n=t-np;n>tp&&(rp-=n,np=t)}function Mn(){for(var t,n,e=xh,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:xh=n);bh=t,Tn(r)}function Tn(t){if(!Qh){Jh&&(Jh=clearTimeout(Jh));var n=t-ep;n>24?(tlp)throw new Error(“too late”);return e}function Cn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>hp)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 Sn(t,n,e){function r(t){e.state=fp,e.timer.restart(i,e.delay,e.time),e.delay<=t&&i(t-e.delay)}function i(r){var c,l,f,h;if(e.state!==fp)return a();for(c in s)if(h=s[c],h.name===e.name){if(h.state===pp)return ap(i);h.state===dp?(h.state=vp,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete s[c]):+c<n&&(h.state=vp,h.timer.stop(),delete s[c])}if(ap(function(){e.state===pp&&(e.state=dp,e.timer.restart(o,e.delay,e.time),o(r))}),e.state=hp,e.on.call("start",t,t.__data__,e.index,e.group),e.state===hp){for(e.state=pp,u=new Array(f=e.tween.length),c=0,l=-1;c<f;++c)(h=e.tween[c].value.call(t,t.__data__,e.index,e.group))&&(u[++l]=h);u.length=l+1}}function o(n){for(var r=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(a),e.state=gp,1),i=-1,o=u.length;++i<o;)u[i].call(null,r);e.state===gp&&(e.on.call("end",t,t.__data__,e.index,e.group),a())}function a(){e.state=vp,e.timer.stop(),delete s[n];for(var r in s)return;delete t.__transition}var u,s=t.__transition;s[n]=e,e.timer=_n(r,0,e.time)}function Nn(t,n){var e,r;return function(){var i=Cn(this,t),o=i.tween;if(o!==e){r=e=o;for(var a=0,u=r.length;a<u;++a)if(r[a].name===n){r=r.slice(),r.splice(a,1);break}}i.tween=r}}function An(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=Cn(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:n,value:e},s=0,c=i.length;s=0&&(t=t.slice(0,n)),!t||”start”===t})}function $n(t,n,e){var r,i,o=Yn(n)?En:Cn;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}function Xn(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function Gn(t,n){var e,r,i;return function(){var o=Y(this,t),a=(this.style.removeProperty(t),Y(this,t));return o===a?null:o===e&&a===r?i:i=n(e=o,r=a)}}function Vn(t){return function(){this.style.removeProperty(t)}}function Zn(t,n,e){var r,i;return function(){var o=Y(this,t);return o===e?null:o===r?i:i=n(r=o,e)}}function Qn(t,n,e){var r,i,o;return function(){var a=Y(this,t),u=e(this);return null==u&&(this.style.removeProperty(t),u=Y(this,t)),a===u?null:a===r&&u===i?o:o=n(r=a,i=u)}}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 te(t){return function(){var n=t(this);this.textContent=null==n?””:n}}function ne(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function ee(t){return yt().transition(t)}function re(){return++Ip}function ie(t){return+t}function oe(t){return t*t}function ae(t){return t*(2-t)}function ue(t){return((t*=2)<=1?t*t:–t*(2-t)+1)/2}function se(t){return t*t*t}function ce(t){return–t*t*t+1}function le(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function fe(t){return 1-Math.cos(t*Yp)}function he(t){return Math.sin(t*Yp)}function pe(t){return(1-Math.cos(Wp*t))/2}function de(t){return Math.pow(2,10*t-10)}function ge(t){return 1-Math.pow(2,-10*t)}function ve(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function ye(t){return 1-Math.sqrt(1-t*t)}function me(t){return Math.sqrt(1- –t*t)}function _e(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function xe(t){return 1-be(1-t)}function be(t){return(t=+t)<$p?nd*t*t:t<Gp?nd*(t-=Xp)*t+Vp:t<Qp?nd*(t-=Zp)*t+Jp:nd*(t-=Kp)*t+td}function we(t){return((t*=2)Math.abs(t[1]-z[1])?M=!0:w=!0),z=t,b=!0,gd(),o()}function o(){var t;switch(_=z[0]-O[0],x=z[1]-O[1],C){case yd:case vd:k&&(_=Math.max(L-f,Math.min(q-g,_)),h=f+_,v=g+_),S&&(x=Math.max(D-p,Math.min(j-y,x)),d=p+x,m=y+x);break;case md:k0&&(_=Math.max(L-g,Math.min(q-g,_)),h=f,v=g+_),S0&&(x=Math.max(D-y,Math.min(j-y,x)),d=p,m=y+x);break;case _d:k&&(h=Math.max(L,Math.min(q,f-_*k)),v=Math.max(L,Math.min(q,g+_*k))),S&&(d=Math.max(D,Math.min(j,p-x*S)),m=Math.max(D,Math.min(j,y+x*S)))}v<h&&(k*=-1,t=f,f=g,g=t,t=h,h=v,v=t,E in Td&&H.attr("cursor",Md[E=Td[E]])),m<d&&(S*=-1,t=p,p=y,y=t,t=d,d=m,m=t,E in Ed&&H.attr("cursor",Md[E=Ed[E]])),N.selection&&(P=N.selection),w&&(h=P[0][0],v=P[1][0]),M&&(d=P[0][1],m=P[1][1]),P[0][0]===h&&P[0][1]===d&&P[1][0]===v&&P[1][1]===m||(N.selection=[[h,d],[v,m]],r.call(T),I.brush())}function a(){if(Te(),t.event.touches){if(t.event.touches.length)return;s&&clearTimeout(s),s=setTimeout(function(){s=null},500),F.on("touchmove.brush touchend.brush touchcancel.brush",null)}else _t(t.event.view,b),U.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);F.attr("pointer-events","all"),H.attr("cursor",Md.overlay),N.selection&&(P=N.selection),Ne(P)&&(N.selection=null,r.call(T)),I.end()}function u(){switch(t.event.keyCode){case 16:R=k&&S;break;case 18:C===md&&(k&&(g=v-_*k,f=h+_*k),S&&(y=m-x*S,p=d+x*S),C=_d,o());break;case 32:C!==md&&C!==_d||(k0&&(f=h-_),S0&&(p=d-x),C=yd,H.attr(“cursor”,Md.selection),o());break;default:return}gd()}function c(){switch(t.event.keyCode){case 16:R&&(w=M=R=!1,o());break;case 18:C===_d&&(k0&&(f=h),S0&&(p=d),C=md,o());break;case 32:C===yd&&(t.event.altKey?(k&&(g=v-_*k,f=h+_*k),S&&(y=m-x*S,p=d+x*S),C=_d):(k0&&(f=h),S0&&(p=d),C=md),H.attr(“cursor”,Md[E]),o());break;default:return}gd()}if(t.event.touches){if(t.event.changedTouches.length<t.event.touches.length)return gd()}else if(s)return;if(l.apply(this,arguments)){var f,h,p,d,g,v,y,m,_,x,b,w,M,T=this,E=t.event.target.__data__.type,C="selection"===(t.event.metaKey?E="overlay":E)?vd:t.event.altKey?_d:md,k=n===bd?null:Cd[E],S=n===xd?null:kd[E],N=Se(T),A=N.extent,P=N.selection,L=A[0][0],D=A[0][1],q=A[1][0],j=A[1][1],R=k&&S&&t.event.shiftKey,O=Vl(T),z=O,I=i(T,arguments).beforestart();"overlay"===E?N.selection=P=[[f=n===bd?L:O[0],p=n===xd?D:O[1]],[g=n===bd?q:f,y=n===xd?j:p]]:(f=P[0][0],p=P[0][1],g=P[1][0],y=P[1][1]),h=f,d=p,v=g,m=y;var F=Lf(T).attr("pointer-events","none"),H=F.selectAll(".overlay").attr("cursor",Md[E]);if(t.event.touches)F.on("touchmove.brush",e,!0).on("touchend.brush touchcancel.brush",a,!0);else{var U=Lf(t.event.view).on("keydown.brush",u,!0).on("keyup.brush",c,!0).on("mousemove.brush",e,!0).on("mouseup.brush",a,!0);Of(t.event.view)}Te(),mp(T),r.call(T),I.start()}}function u(){var t=this.__brush||{selection:null};return t.extent=c.apply(this,arguments),t.dim=n,t}var s,c=ke,l=Ce,f=g(e,"start","brush","end"),h=6;return e.move=function(t,e){t.selection?t.on("start.brush",function(){i(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){i(this,arguments).end()}).tween("brush",function(){function t(t){a.selection=1===t&&Ne(c)?null:l(t),r.call(o),u.brush()}var o=this,a=o.__brush,u=i(o,arguments),s=a.selection,c=n.input("function"==typeof e?e.apply(this,arguments):e,a.extent),l=jh(s,c);return s&&c?t:t(1)}):t.each(function(){var t=this,o=arguments,a=t.__brush,u=n.input("function"==typeof e?e.apply(t,o):e,a.extent),s=i(t,o).beforestart();mp(t),a.selection=null==u||Ne(u)?null:u,r.call(t),s.start().brush().end()})},o.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==–this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){N(new dd(e,t,n.output(this.state.selection)),f.apply,f,[t,this.that,this.args])}},e.extent=function(t){return arguments.length?(c="function"==typeof t?t:pd([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),e):c},e.filter=function(t){return arguments.length?(l="function"==typeof t?t:pd(!!t),e):l},e.handleSize=function(t){return arguments.length?(h=+t,e):h},e.on=function(){var t=f.on.apply(f,arguments);return t===f?e:t},e}function qe(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}function je(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Re(){return new je}function Oe(t){return t.source}function ze(t){return t.target}function Ie(t){return t.radius}function Fe(t){return t.startAngle}function He(t){return t.endAngle}function Ue(){}function Be(t,n){var e=new Ue;if(t instanceof Ue)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var a in t)e.set(a,t[a]);return e}function We(){return{}}function Ye(t,n,e){t[n]=e}function $e(){return Be()}function Xe(t,n,e){t.set(n,e)}function Ge(){}function Ve(t,n){var e=new Ge;if(t instanceof Ge)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r=(o=(g+y)/2))?g=o:y=o,(l=e>=(a=(v+m)/2))?v=a:m=a,i=p,!(p=p[f=l<=(o=(g+y)/2))?g=o:y=o,(l=e>=(a=(v+m)/2))?v=a:m=a}while((f=l<=a)<=o));return i[h]=p,i[f]=d,t}function tr(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),s=1/0,c=1/0,l=-1/0,f=-1/0;for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(a[e]=r,u[e]=i,rl&&(l=r),if&&(f=i));for(l<s&&(s=this._x0,l=this._x1),f<c&&(c=this._y0,f=this._y1),this.cover(s,c).cover(l,f),e=0;e<o;++e)Ke(this,a[e],u[e],t[e]);return this}function nr(t){for(var n=0,e=t.length;n”,i=n[3]||”-“,o=n[4]||””,a=!!n[5],u=n[6]&&+n[6],s=!!n[7],c=n[8]&&+n[8].slice(1),l=n[9]||””;”n”===l?(s=!0,l=”g”):Og[l]||(l=””),(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=l}function gr(n){return Ig=Ug(n),t.format=Ig.format,t.formatPrefix=Ig.formatPrefix,Ig}function vr(){this.reset()}function yr(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function mr(t){return t>1?0:t1?kv:t<-1?-kv:Math.asin(t)}function xr(t){return(t=Fv(t/2))*t}function br(){}function wr(t,n){t&&Yv.hasOwnProperty(t.type)&&Yv[t.type](t,n)}function Mr(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function Tr(t,n){var e=-1,r=t.length;for(n.polygonStart();++e=0?1:-1,i=r*e,o=jv(n),a=Fv(n),u=Qg*a,s=Zg*o+u*jv(i),c=u*r*Fv(i);Xv.add(qv(c,s)),Vg=t,Zg=o,Qg=a}function Nr(t){return[qv(t[1],t[0]),_r(t[2])]}function Ar(t){var n=t[0],e=t[1],r=jv(e);return[r*jv(n),r*Fv(n),Fv(e)]}function Pr(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Lr(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 Dr(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function qr(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function jr(t){var n=Uv(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function Rr(t,n){av.push(uv=[Jg=t,tv=t]),nnv&&(nv=n)}function Or(t,n){var e=Ar([t*Pv,n*Pv]);if(ov){var r=Lr(ov,e),i=[r[1],-r[0],0],o=Lr(i,r);jr(o),o=Nr(o);var a,u=t-ev,s=u>0?1:-1,c=o[0]*Av*s,l=Lv(u)>180;l^(s*ev<c&&cnv&&(nv=a):(c=(c+360)%360-180,l^(s*ev<c&&c<s*t)?(a=-o[1]*Av)<Kg&&(Kg=a):(nnv&&(nv=n))),l?tBr(Jg,tv)&&(tv=t):Br(t,tv)>Br(Jg,tv)&&(Jg=t):tv>=Jg?(ttv&&(tv=t)):t>ev?Br(Jg,t)>Br(Jg,tv)&&(tv=t):Br(t,tv)>Br(Jg,tv)&&(Jg=t)}else av.push(uv=[Jg=t,tv=t]);nnv&&(nv=n),ov=e,ev=t}function zr(){Jv.point=Or}function Ir(){uv[0]=Jg,uv[1]=tv,Jv.point=Rr,ov=null}function Fr(t,n){if(ov){var e=t-ev;Qv.add(Lv(e)>180?e+(e>0?360:-360):e)}else rv=t,iv=n;Vv.point(t,n),Or(t,n)}function Hr(){Vv.lineStart()}function Ur(){Fr(rv,iv),Vv.lineEnd(),Lv(Qv)>Ev&&(Jg=-(tv=180)),uv[0]=Jg,uv[1]=tv,ov=null}function Br(t,n){return(n-=t)<0?n+360:n}function Wr(t,n){return t[0]-n[0]}function Yr(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]Cv?t-Nv:tCv?n-Nv:n0?io)&&(i+=r*Nv));for(var c,l=i;r>0?l>o:l<o;l-=s)c=Nr([a,-u*jv(l),-u*Fv(l)]),t.point(c[0],c[1])}}function si(t,n){n=Ar(n),n[0]-=t,jr(n);var e=mr(-n[1]);return((-n[2]<0?-e:e)+Nv-Ev)%Nv}function ci(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function li(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function fi(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,c){var l=0,f=0;if(null==i||(l=a(i,u))!==(f=a(o,u))||s(i,o)0)do{c.point(0===l||3===l?t:e,l>1?r:n)}while((l=(l+u+4)%4)!==f);else c.point(o[0],o[1])}function a(r,i){return Lv(r[0]-t)0?0:3:Lv(r[0]-e)0?2:1:Lv(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=v.length;e<i;++e)for(var o,a,u=v[e],s=1,c=u.length,l=u[0],f=l[0],h=l[1];s<c;++s)o=f,a=h,l=u[s],f=l[0],h=l[1],ar&&(f-o)*(r-a)>(h-a)*(t-o)&&++n:h<=r&&(f-o)*(r-a)<(h-a)*(t-o)&&–n;return n}function l(){C=k,g=[],v=[],E=!0}function f(){var t=c(),n=E&&t,e=(g=xl(g)).length;(n||e)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),e&&xy(g,u,t,o,a),a.polygonEnd()),C=a,g=v=y=null}function h(){S.point=d,v&&v.push(y=[]),T=!0,M=!1,b=w=NaN}function p(){g&&(d(m,_),x&&M&&k.rejoin(),g.push(k.result())),S.point=s,M&&C.lineEnd()}function d(o,a){var u=i(o,a);if(v&&y.push([o,a]),T)m=o,_=a,x=u,T=!1,u&&(C.lineStart(),C.point(o,a));else if(u&&M)C.point(o,a);else{var s=[b=Math.max(wy,Math.min(by,b)),w=Math.max(wy,Math.min(by,w))],c=[o=Math.max(wy,Math.min(by,o)),a=Math.max(wy,Math.min(by,a))];my(s,c,t,n,e,r)?(M||(C.lineStart(),C.point(s[0],s[1])),C.point(c[0],c[1]),u||C.lineEnd(),E=!1):u&&(C.lineStart(),C.point(o,a),E=!1)}b=o,w=a,M=u}var g,v,y,m,_,x,b,w,M,T,E,C=a,k=yy(),S={point:s,lineStart:h,lineEnd:p,polygonStart:l,polygonEnd:f};return S}}function hi(){ky.point=di,ky.lineEnd=pi}function pi(){ky.point=ky.lineEnd=br}function di(t,n){t*=Pv,n*=Pv,iy=t,oy=Fv(n),ay=jv(n),ky.point=gi}function gi(t,n){t*=Pv,n*=Pv;var e=Fv(n),r=jv(n),i=Lv(t-iy),o=jv(i),a=Fv(i),u=r*a,s=ay*e-oy*r*o,c=oy*e+ay*r*o;Cy.add(qv(Uv(u*u+s*s),c)),iy=t,oy=e,ay=r}function vi(t,n){return!(!t||!Dy.hasOwnProperty(t.type))&&Dy[t.type](t,n)}function yi(t,n){return 0===Py(t,n)}function mi(t,n){var e=Py(t[0],t[1]);return Py(t[0],n)+Py(n,t[1])Ev}).map(l)).concat(ul(Rv(u/g)*g,a,g).filter(function(t){return Lv(t%y)>Ev}).map(f))}var e,r,i,o,a,u,s,c,l,f,h,p,d=10,g=d,v=90,y=360,m=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(m)):[[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(m)):[[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?(v=+n[0],y=+n[1],t):[v,y]},t.stepMinor=function(n){return arguments.length?(d=+n[0],g=+n[1],t):[d,g]},t.precision=function(n){return arguments.length?(m=+n,l=wi(u,a,90),f=Mi(r,e,m),h=wi(c,s,90),p=Mi(o,i,m),t):m},t.extentMajor([[-180,-90+Ev],[180,90-Ev]]).extentMinor([[-180,-80-Ev],[180,80+Ev]])}function Ei(){return Ti()()}function Ci(){Iy.point=ki}function ki(t,n){Iy.point=Si,uy=cy=t,sy=ly=n}function Si(t,n){zy.add(ly*t-cy*n),cy=t,ly=n}function Ni(){Si(uy,sy)}function Ai(t,n){tUy&&(Uy=t),nBy&&(By=n)}function Pi(t,n){Yy+=t,$y+=n,++Xy}function Li(){tm.point=Di}function Di(t,n){tm.point=qi,Pi(py=t,dy=n)}function qi(t,n){var e=t-py,r=n-dy,i=Uv(e*e+r*r);Gy+=i*(py+t)/2,Vy+=i*(dy+n)/2,Zy+=i,Pi(py=t,dy=n)}function ji(){tm.point=Pi}function Ri(){tm.point=zi}function Oi(){Ii(fy,hy)}function zi(t,n){tm.point=Ii,Pi(fy=py=t,hy=dy=n)}function Ii(t,n){var e=t-py,r=n-dy,i=Uv(e*e+r*r);Gy+=i*(py+t)/2,Vy+=i*(dy+n)/2,Zy+=i,i=dy*t-py*n,Qy+=i*(py+t),Jy+=i*(dy+n),Ky+=3*i,Pi(py=t,dy=n)}function Fi(t){this._context=t}function Hi(t,n){um.point=Ui,em=im=t,rm=om=n}function Ui(t,n){im-=t,om-=n,am.add(Uv(im*im+om*om)),im=t,om=n}function Bi(){this._string=[]}function Wi(t){return”m0,”+t+”a”+t+”,”+t+” 0 1,1 0,”+-2*t+”a”+t+”,”+t+” 0 1,1 0,”+2*t+”z”}function Yi(t){return t.length>1}function $i(t,n){return((t=t.x)[0]<0?t[1]-kv-Ev:kv-t[1])-((n=n.x)[0]0?Cv:-Cv,s=Lv(o-e);Lv(s-Cv)0?kv:-kv),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),n=0):i!==u&&s>=Cv&&(Lv(e-i)<Ev&&(e-=i*Ev),Lv(o-u)Ev?Dv((Fv(n)*(o=jv(r))*Fv(e)-Fv(r)*(i=jv(n))*Fv(t))/(i*o*a)):(n+r)/2}function Vi(t,n,e,r){var i;if(null==t)i=e*kv,r.point(-Cv,i),r.point(0,i),r.point(Cv,i),r.point(Cv,0),r.point(Cv,-i),r.point(0,-i),r.point(-Cv,-i),r.point(-Cv,0),r.point(-Cv,i);else if(Lv(t[0]-n[0])>Ev){var o=t[0]4*n&&g–){var x=a+h,b=u+p,w=s+d,M=Uv(x*x+b*b+w*w),T=_r(w/=M),E=Lv(Lv(w)-1)<Ev||Lv(o-f)n||Lv((y*N+m*A)/_-.5)>.3||a*h+u*p+s*d2?t[2]%360*Pv:0,i()):[b*Av,w*Av,M*Av]},n.precision=function(t){return arguments.length?(N=gm(r,S=t*t),o()):Uv(S)},n.fitExtent=function(t,e){return Ji(n,t,e)},n.fitSize=function(t,e){return Ki(n,t,e)},function(){return a=t.apply(this,arguments),n.invert=a.invert&&e,i()}}function io(t){var n=0,e=Cv/3,r=ro(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Pv,e=t[1]*Pv):[n*Av,e*Av]},i}function oo(t){function n(t,n){return[t*e,Fv(n)/e]}var e=jv(t);return n.invert=function(t,n){return[t/e,_r(n*e)]},n}function ao(t,n){function e(t,n){var e=Uv(o-2*i*Fv(n))/i;return[e*Fv(t*=i),a-e*jv(t)]}var r=Fv(t),i=(r+Fv(n))/2;if(Lv(i)<Ev)return oo(t);var o=1+r*(2*i-r),a=Uv(o)/i;return e.invert=function(t,n){var e=a-n;return[qv(t,Lv(e))/i*Hv(e),_r((o-(t*t+e*e)*i*i)/(2*i))]},e}function uo(t){var n=t.length;return{point:function(e,r){for(var i=-1;++i<n;)t[i].point(e,r)},sphere:function(){for(var e=-1;++e<n;)t[e].sphere()},lineStart:function(){for(var e=-1;++e<n;)t[e].lineStart()},lineEnd:function(){for(var e=-1;++e<n;)t[e].lineEnd()},polygonStart:function(){for(var e=-1;++e<n;)t[e].polygonStart()},polygonEnd:function(){for(var e=-1;++e0?nkv-Ev&&(n=kv-Ev);var e=o/Iv(ho(n),i);return[e*Fv(i*t),o-e*jv(i*t)]}var r=jv(t),i=t===n?Fv(t):zv(r/jv(n))/zv(ho(n)/ho(t)),o=r*Iv(ho(t),i)/i;return i?(e.invert=function(t,n){var e=o-n,r=Hv(i)*Uv(t*t+e*e);return[qv(t,Lv(e))/i*Hv(e),2*Dv(Iv(o/r,1/i))-kv]},e):lo}function go(t,n){return[t,n]}function vo(t,n){function e(t,n){var e=o-n,r=i*t;return[e*Fv(r),o-e*jv(r)]}var r=jv(t),i=t===n?Fv(t):(r-jv(n))/(n-t),o=r/i+t;return Lv(i)=0;)n+=e[r].value;else n=1;t.value=n}function Ao(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 Po(t,n){var e,r,i,o,a,u=new Ro(t),s=+t.value&&(u.value=t.value),c=[u];for(null==n&&(n=Do);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 Ro(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(jo)}function Lo(){return Po(this).eachBefore(qo)}function Do(t){return t.children}function qo(t){t.data=t.data.data}function jo(t){var n=0;do{t.height=n}while((t=t.parent)&&t.heighte*e+r*r}function Io(t,n){var e,r,i,o=null,a=t.head;switch(n.length){case 1:e=Fo(n[0]);break;case 2:e=Ho(n[0],n[1]);break;case 3:e=Uo(n[0],n[1],n[2])}for(;a;)i=a._,r=a.next,e&&zo(e,i)?o=a:(o?(t.tail=o,o.next=null):t.head=t.tail=null,n.push(i),e=Io(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 Fo(t){return{x:t.x,y:t.y,r:t.r}}function Ho(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,l=u-i,f=Math.sqrt(s*s+c*c);return{x:(e+o+s/f*l)/2,y:(r+a+c/f*l)/2,r:(f+i+u)/2}}function Uo(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,l=e.y,f=e.r,h=2*(r-a),p=2*(i-u),d=2*(s-o),g=r*r+i*i-o*o-a*a-u*u+s*s,v=2*(r-c),y=2*(i-l),m=2*(f-o),_=r*r+i*i-o*o-c*c-l*l+f*f,x=v*p-h*y,b=(p*_-y*g)/x-r,w=(y*d-p*m)/x,M=(v*g-h*_)/x-i,T=(h*m-v*d)/x,E=w*w+T*T-1,C=2*(b*w+M*T+o),k=b*b+M*M-o*o,S=(-C-Math.sqrt(C*C-4*E*k))/(2*E);return{x:b+w*S+r,y:M+T*S+i,r:S}}function Bo(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 l=.5+((a*=a)-(o*=o))/(2*c),f=Math.sqrt(Math.max(0,2*o*(a+c)-(a-=c)*a-o*o))/(2*c);e.x=r+l*u+f*s,e.y=i+l*s-f*u}else e.x=r+a,e.y=i}function Wo(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 Yo(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 $o(t){this._=t,this.next=null,this.previous=null}function Xo(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;Bo(e,n,r=t[2]);var o,a,u,s,c,l,f,h=n.r*n.r,p=e.r*e.r,d=r.r*r.r,g=h+p+d,v=h*n.x+p*e.x+d*r.x,y=h*n.y+p*e.y+d*r.y;n=new $o(n),e=new $o(e),r=new $o(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(u=3;u<i;++u){Bo(n._,e._,r=t[u]),r=new $o(r),s=e.next,c=n.previous,l=e._.r,f=n._.r;do{if(l<=f){if(Wo(s._,r._)){e=s,n.next=e,e.previous=n,–u;continue t}l+=s._.r,s=s.next}else{if(Wo(c._,r._)){n=c,n.next=e,e.previous=n,–u;continue t}f+=c._.r,c=c.previous}}while(s!==c.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,g+=d=r._.r*r._.r,v+=d*r._.x,y+=d*r._.y,h=Yo(n,o=v/g,a=y/g);(r=r.next)!==e;)(d=Yo(r,o,a))<h&&(n=r,h=d);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=$m(n),u=0;u<i;++u)n=t[u],n.x-=r.x,n.y-=r.y;return r.r}function Go(t){return null==t?null:Vo(t)}function Vo(t){if("function"!=typeof t)throw new Error;return t}function Zo(){return 0}function Qo(t){return Math.sqrt(t.value)}function Jo(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function Ko(t,n){return function(e){if(r=e.children){var r,i,o,a=r.length,u=t(e)*n||0;if(u)for(i=0;i<a;++i)r[i].r+=u;if(o=Xo(r),u)for(i=0;i=0;)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function sa(t,n,e){return t.a.parent===n.parent?t.a:e}function ca(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 la(t){for(var n,e,r,i,o,a=new ca(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 ca(r[i],i)),e.parent=n;return(a.parent=new ca(null,0)).children=[a],a}function fa(t,n,e,r,i,o){for(var a,u,s,c,l,f,h,p,d,g,v,y=[],m=n.children,_=0,x=0,b=m.length,w=n.value;_<b;){s=i-e,c=o-r;do{l=m[x++].value}while(!l&&x<b);for(f=h=l,g=Math.max(c/s,s/c)/(w*t),v=l*l*g,d=Math.max(h/v,v/f);x<b;++x){if(l+=u=m[x].value,uh&&(h=u),v=l*l*g,(p=Math.max(h/v,v/f))>d){l-=u;break}d=p}y.push(a={value:l,dice:s<c,children:m.slice(_,x)}),a.dice?Qm(a,e,r,i,w?r+=c*l/w:o):i_(a,e,r,w?e+=s*l/w:i,o),w-=l,_=x}return y}function ha(t,n){return t[0]-n[0]||t[1]-n[1]}function pa(t){for(var n=t.length,e=[0,1],r=2,i=2;i1&&p_(t[e[r-2]],t[e[r-1]],t[i])<=0;)–r;e[r++]=i}return e.slice(0,r)}function da(t){this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function ga(t){if(!t._start)try{va(t)}catch(n){if(t._tasks[t._ended+t._active-1])ma(t,n);else if(!t._data)throw n}}function va(t){for(;t._start=t._waiting&&t._active=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,_a(t)}function _a(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function xa(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error(“invalid concurrency”);return new da(t)}function ba(t){return function(n,e){t(null==n?e:null)}}function wa(t){var n=t.responseType;return n&&”text”!==n?t.response:t.responseText}function Ma(t,n){return function(e){return t(e.responseText,n)}}function Ta(t){function n(n){var o=n+””,a=e.get(o);if(!a){if(i!==z_)return i;e.set(o,a=r.push(n))}return t[(a-1)%t.length]}var e=Be(),r=[],i=z_;return t=null==t?[]:O_.call(t),n.domain=function(t){if(!arguments.length)return r.slice();r=[],e=Be();for(var i,o,a=-1,u=t.length;++a<u;)e.has(o=(i=t[a])+"")||e.set(o,r.push(i));return n},n.range=function(e){return arguments.length?(t=O_.call(e),n):t.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return Ta().domain(r).range(t).unknown(i)},n}function Ea(){function t(){var t=i().length,r=a[1]<a[0],f=a[r-0],h=a[1-r];n=(h-f)/Math.max(1,t-s+2*c),u&&(n=Math.floor(n)),f+=(h-f-n*(t-s))*l,e=n*(1-s),u&&(f=Math.round(f),e=Math.round(e));var p=ul(t).map(function(t){return f+n*t});return o(r?p.reverse():p)}var n,e,r=Ta().unknown(void 0),i=r.domain,o=r.range,a=[0,1],u=!1,s=0,c=0,l=.5;return delete r.unknown,r.domain=function(n){return arguments.length?(i(n),t()):i()},r.range=function(n){return arguments.length?(a=[+n[0],+n[1]],t()):a.slice()},r.rangeRound=function(n){return a=[+n[0],+n[1]],u=!0,t()},r.bandwidth=function(){return e},r.step=function(){return n},r.round=function(n){return arguments.length?(u=!!n,t()):u},r.padding=function(n){return arguments.length?(s=c=Math.max(0,Math.min(1,n)),t()):s},r.paddingInner=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),t()):s},r.paddingOuter=function(n){return arguments.length?(c=Math.max(0,Math.min(1,n)),t()):c},r.align=function(n){return arguments.length?(l=Math.max(0,Math.min(1,n)),t()):l},r.copy=function(){return Ea().domain(i()).range(a).round(u).paddingInner(s).paddingOuter(c).align(l)},t()}function Ca(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Ca(n())},t}function ka(){return Ca(Ea().paddingInner(1))}function Sa(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:I_(n)}function Na(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t=e?1:r(t)}}}function Aa(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t=1?e:r(t)}}}function Pa(t,n,e,r){var i=t[0],o=t[1],a=n[0],u=n[1];return o<i?(i=e(o,i),a=r(u,a)):(i=e(i,o),a=r(a,u)),function(t){return a(i(t))}}function La(t,n,e,r){var i=Math.min(t.length,n.length)-1,o=new Array(i),a=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u2?La:Pa,o=a=null,r}function r(n){return(o||(o=i(u,s,l?Na(t):t,c)))(+n)}var i,o,a,u=H_,s=H_,c=jh,l=!1;return r.invert=function(t){return(a||(a=i(s,u,Sa,l?Aa(n):n)))(+t)},r.domain=function(t){return arguments.length?(u=R_.call(t,F_),e()):u.slice()},r.range=function(t){return arguments.length?(s=O_.call(t),e()):s.slice()},r.rangeRound=function(t){return s=O_.call(t),c=Rh,e()},r.clamp=function(t){return arguments.length?(l=!!t,e()):l},r.interpolate=function(t){return arguments.length?(c=t,e()):c},e()}function ja(t){var n=t.domain;return t.ticks=function(t){var e=n();return fl(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return U_(n(),t,e)},t.nice=function(e){null==e&&(e=10);var i,o=n(),a=0,u=o.length-1,s=o[a],c=o[u];return c0?(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,i=r(s,c,e)):i0?(o[a]=Math.floor(s/i)*i,o[u]=Math.ceil(c/i)*i,n(o)):i<0&&(o[a]=Math.ceil(s*i)/i,o[u]=Math.floor(c*i)/i,n(o)),t},t}function Ra(){var t=qa(Sa,Ah);return t.copy=function(){return Da(t,Ra())},ja(t)}function Oa(){function t(t){return+t}var n=[0,1];return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=R_.call(e,F_),t):n.slice()},t.copy=function(){return Oa().domain(n)},ja(t)}function za(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:I_(n)}function Ia(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 Fa(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Ha(t){return 10===t?Fa:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function Ua(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 Ba(t){return function(n){return-t(-n)}}function Wa(){function n(){return o=Ua(i),a=Ha(i),r()[0]<0&&(o=Ba(o),a=Ba(a)),e}var e=qa(za,Ia).domain([1,10]),r=e.domain,i=10,o=Ua(10),a=Ha(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=s<u)&&(h=u,u=s,s=h);var c,l,f,h=o(u),p=o(s),d=null==t?10:+t,g=[];if(!(i%1)&&p-h0){for(;h<p;++h)for(l=1,c=a(h);l<i;++l)if(!((f=c*l)s)break;g.push(f)}}else for(;h

=1;–l)if(!((f=c*l)s)break;g.push(f)}}else g=fl(h,p,Math.min(p-h,d)).map(a);return n?g.reverse():g},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*i<i-.5&&(n*=i),n<=u?r(t):""}},e.nice=function(){return r(B_(r(),{floor:function(t){return a(Math.floor(o(t)))},ceil:function(t){return a(Math.ceil(o(t)))}}))},e.copy=function(){return Da(e,Wa().base(i))},e}function Ya(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function $a(){function t(t,n){return(n=Ya(n,e)-(t=Ya(t,e)))?function(r){return(Ya(r,e)-t)/n}:I_(n)}function n(t,n){return n=Ya(n,e)-(t=Ya(t,e)),function(r){return Ya(t+n*r,1/e)}}var e=1,r=qa(t,n),i=r.domain;return r.exponent=function(t){return arguments.length?(e=+t,i(i())):e},r.copy=function(){return Da(r,$a().exponent(e))},ja(r)}function Xa(){return $a().exponent(.5)}function Ga(){function t(){var t=0,o=Math.max(1,r.length);for(i=new Array(o-1);++t<o;)i[t-1]=dl(e,t/o);return n}function n(t){if(!isNaN(t=+t))return r[Xc(i,t)]}var e=[],r=[],i=[];return n.invertExtent=function(t){var n=r.indexOf(t);return n0?i[n-1]:e[0],n<i.length?i[n]:e[e.length-1]]},n.domain=function(n){if(!arguments.length)return e.slice();e=[];for(var r,i=0,o=n.length;i<o;++i)null==(r=n[i])||isNaN(r=+r)||e.push(r);return e.sort(Wc),t()},n.range=function(n){return arguments.length?(r=O_.call(n),t()):r.slice()},n.quantiles=function(){return i.slice()},n.copy=function(){return Ga().domain(e).range(r)},n}function Va(){function t(t){if(t<=t)return a[Xc(o,t,0,i)]}function n(){var n=-1;for(o=new Array(i);++n<i;)o[n]=((n+1)*r-(n-i)*e)/(i+1);return t}var e=0,r=1,i=1,o=[.5],a=[0,1];return t.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n()):[e,r]},t.range=function(t){return arguments.length?(i=(a=O_.call(t)).length-1,n()):a.slice()},t.invertExtent=function(t){var n=a.indexOf(t);return n<0?[NaN,NaN]:n=i?[o[i-1],r]:[o[n-1],o[n]]},t.copy=function(){return Va().domain([e,r]).range(a)},ja(t)}function Za(){function t(t){if(t<=t)return e[Xc(n,t,0,r)]}var n=[.5],e=[0,1],r=1;return t.domain=function(i){return arguments.length?(n=O_.call(i),r=Math.min(n.length,e.length-1),t):n.slice()},t.range=function(i){return arguments.length?(e=O_.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 Za().domain(n).range(e)},t}function Qa(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-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e0))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 W_.setTime(+n),Y_.setTime(+r),t(W_),t(Y_),Math.floor(e(W_,Y_))},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 Ja(t){return Qa(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())*G_)/V_})}function Ka(t){return Qa(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)/V_})}function tu(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 nu(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 eu(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function ru(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<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=Xx[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function e(t,n){return function(e){var i=eu(1900);if(r(i,t,e+="",0)!=e.length)return null;if("p"in i&&(i.H=i.H%12+12*i.p),"W"in i||"U"in i){"w"in i||(i.w="W"in i?1:0);var o="Z"in i?nu(eu(i.y)).getUTCDay():n(eu(i.y)).getDay();i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7}return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,nu(i)):n(i)}}function r(t,n,e,r){for(var i,o,a=0,u=n.length,s=e.length;a=s)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=U[i in Xx?n.charAt(a++):i])||(r=o(t,e,r))=12)]}function y(t){return k[t.getUTCDay()]}function m(t){return C[t.getUTCDay()]}function _(t){return N[t.getUTCMonth()]}function x(t){return S[t.getUTCMonth()]}function b(t){return E[+(t.getUTCHours()>=12)]}var w=t.dateTime,M=t.date,T=t.time,E=t.periods,C=t.days,k=t.shortDays,S=t.months,N=t.shortMonths,A=au(E),P=uu(E),L=au(C),D=uu(C),q=au(k),j=uu(k),R=au(S),O=uu(S),z=au(N),I=uu(N),F={a:h,A:p,b:d,B:g,c:null,d:wu,e:wu,H:Mu,I:Tu,j:Eu,L:Cu,m:ku,M:Su,p:v,S:Nu,U:Au,w:Pu,W:Lu,x:null,X:null,y:Du,Y:qu,Z:ju,”%”:Zu},H={a:y,A:m,b:_,B:x,c:null,d:Ru,e:Ru,H:Ou,I:zu,j:Iu,L:Fu,m:Hu,M:Uu,p:b,S:Bu,U:Wu,w:Yu,W:$u,x:null,X:null,y:Xu,Y:Gu,Z:Vu,”%”:Zu},U={a:o,A:a,b:u,B:s,c:c,d:gu,e:gu,H:yu,I:yu,j:vu,L:xu,m:du,M:mu,p:i,S:_u,U:cu,w:su,W:lu,x:l,X:f,y:hu,Y:fu,Z:pu,”%”:bu};return F.x=n(M,F),F.X=n(T,F),F.c=n(w,F),H.x=n(M,H),H.X=n(T,H),H.c=n(w,H),{format:function(t){var e=n(t+=””,F);return e.toString=function(){return t},e},parse:function(t){var n=e(t+=””,tu);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+=””,H);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,nu);return n.toString=function(){return t},n}}}function iu(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function ou(t){return t.replace(Zx,"\\\\$&")}function au(t){return new RegExp("^(?:"+t.map(ou).join("|")+")","i")}function uu(t){for(var n={},e=-1,r=t.length;++e68?1900:2e3),e+r[0].length):-1}function pu(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 du(t,n,e){var r=Gx.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function gu(t,n,e){var r=Gx.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function vu(t,n,e){var r=Gx.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function yu(t,n,e){var r=Gx.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function mu(t,n,e){var r=Gx.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function _u(t,n,e){var r=Gx.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function xu(t,n,e){var r=Gx.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function bu(t,n,e){var r=Vx.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function wu(t,n){return iu(t.getDate(),n,2)}function Mu(t,n){return iu(t.getHours(),n,2)}function Tu(t,n){return iu(t.getHours()%12||12,n,2)}function Eu(t,n){return iu(1+ex.count(xx(t),t),n,3)}function Cu(t,n){return iu(t.getMilliseconds(),n,3)}function ku(t,n){return iu(t.getMonth()+1,n,2)}function Su(t,n){return iu(t.getMinutes(),n,2)}function Nu(t,n){return iu(t.getSeconds(),n,2)}function Au(t,n){return iu(ix.count(xx(t),t),n,2)}function Pu(t){return t.getDay()}function Lu(t,n){return iu(ox.count(xx(t),t),n,2)}function Du(t,n){return iu(t.getFullYear()%100,n,2)}function qu(t,n){return iu(t.getFullYear()%1e4,n,4)}function ju(t){var n=t.getTimezoneOffset();return(n>0?”-“:(n*=-1,”+”))+iu(n/60|0,”0″,2)+iu(n%60,”0″,2)}function Ru(t,n){return iu(t.getUTCDate(),n,2)}function Ou(t,n){return iu(t.getUTCHours(),n,2)}function zu(t,n){return iu(t.getUTCHours()%12||12,n,2)}function Iu(t,n){return iu(1+Cx.count(Wx(t),t),n,3)}function Fu(t,n){return iu(t.getUTCMilliseconds(),n,3)}function Hu(t,n){return iu(t.getUTCMonth()+1,n,2)}function Uu(t,n){return iu(t.getUTCMinutes(),n,2)}function Bu(t,n){return iu(t.getUTCSeconds(),n,2)}function Wu(t,n){return iu(Sx.count(Wx(t),t),n,2)}function Yu(t){return t.getUTCDay()}function $u(t,n){return iu(Nx.count(Wx(t),t),n,2)}function Xu(t,n){return iu(t.getUTCFullYear()%100,n,2)}function Gu(t,n){return iu(t.getUTCFullYear()%1e4,n,4)}function Vu(){return”+0000″}function Zu(){return”%”}function Qu(n){return Yx=ru(n),t.timeFormat=Yx.format,t.timeParse=Yx.parse,t.utcFormat=Yx.utcFormat,t.utcParse=Yx.utcParse,Yx}function Ju(t){return t.toISOString()}function Ku(t){var n=new Date(t);return isNaN(n)?null:n}function ts(t){return new Date(t)}function ns(t){return t instanceof Date?+t:+new Date(+t)}function es(t,n,e,r,o,a,u,s,c){function l(i){return(u(i)<i?g:a(i)<i?v:o(i)<i?y:r(i)<i?m:n(i)<i?e(i)<i?_:x:t(i)<i?b:w)(i)}function f(n,e,r,o){if(null==n&&(n=10),"number"==typeof n){var a=Math.abs(r-e)/n,u=Yc(function(t){return t[2]}).right(M,a);u===M.length?(o=i(e/ob,r/ob,n),n=t):u?(u=M[a/M[u-1][2]<M[u][2]/a?u-1:u],o=u[1],n=u[0]):(o=i(e,r,n),n=s)}return null==o?n:n.every(o)}var h=qa(Sa,Ah),p=h.invert,d=h.domain,g=c(".%L"),v=c(":%S"),y=c("%I:%M"),m=c("%I %p"),_=c("%a %d"),x=c("%b %d"),b=c("%B"),w=c("%Y"),M=[[u,1,Kx],[u,5,5*Kx],[u,15,15*Kx],[u,30,30*Kx],[a,1,tb],[a,5,5*tb],[a,15,15*tb],[a,30,30*tb],[o,1,nb],[o,3,3*nb],[o,6,6*nb],[o,12,12*nb],[r,1,eb],[r,2,2*eb],[e,1,rb],[n,1,ib],[n,3,3*ib],[t,1,ob]];return h.invert=function(t){return new Date(p(t))},h.domain=function(t){return arguments.length?d(R_.call(t,ns)):d().map(ts)},h.ticks=function(t,n){var e,r=d(),i=r[0],o=r[r.length-1],a=o1?0:t=1?Lb:t<=-1?-Lb:Math.asin(t)}function us(t){return t.innerRadius}function ss(t){return t.outerRadius}function cs(t){return t.startAngle}function ls(t){return t.endAngle}function fs(t){return t&&t.padAngle}function hs(t,n,e,r,i,o,a,u){var s=e-t,c=r-n,l=a-i,f=u-o,h=(l*(n-o)-f*(t-i))/(f*s-l*c);return[t+h*s,n+h*c]}function ps(t,n,e,r,i,o,a){var u=t-e,s=n-r,c=(a?o:-o)/Nb(u*u+s*s),l=c*s,f=-c*u,h=t+l,p=n+f,d=e+l,g=r+f,v=(h+d)/2,y=(p+g)/2,m=d-h,_=g-p,x=m*m+_*_,b=i-o,w=h*g-d*p,M=(_A*A+P*P&&(T=C,E=k),{cx:T,cy:E,x01:-l,y01:-f,x11:T*(i/b-1),y11:E*(i/b-1)}}function ds(t){this._context=t}function gs(t){return t[0]}function vs(t){return t[1]}function ys(t){this._curve=t}function ms(t){function n(n){return new ys(t(n))}return n._curve=t,n}function _s(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(ms(t)):n()._curve},t}function xs(t){return t.source}function bs(t){return t.target}function ws(t){function n(){var n,u=Wb.call(arguments),s=e.apply(this,u),c=r.apply(this,u);if(a||(a=n=Re()),t(a,+i.apply(this,(u[0]=s,u)),+o.apply(this,u),+i.apply(this,(u[0]=c,u)),+o.apply(this,u)),n)return a=null,n+””||null}var e=xs,r=bs,i=gs,o=vs,a=null;return n.source=function(t){return arguments.length?(e=t,n):e},n.target=function(t){return arguments.length?(r=t,n):r},n.x=function(t){return arguments.length?(i=”function”==typeof t?t:wb(+t),n):i},n.y=function(t){return arguments.length?(o=”function”==typeof t?t:wb(+t),n):o},n.context=function(t){return arguments.length?(a=null==t?null:t,n):a},n}function Ms(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function Ts(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function Es(t,n,e,r,i){var o=Yb(n,e),a=Yb(n,e=(e+i)/2),u=Yb(r,e),s=Yb(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],u[0],u[1],s[0],s[1])}function Cs(){return ws(Ms)}function ks(){return ws(Ts)}function Ss(){var t=ws(Es);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}function Ns(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 As(t){this._context=t}function Ps(t){this._context=t}function Ls(t){this._context=t}function Ds(t,n){this._basis=new As(t),this._beta=n}function qs(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 js(t,n){this._context=t,this._k=(1-n)/6}function Rs(t,n){this._context=t,this._k=(1-n)/6}function Os(t,n){this._context=t,this._k=(1-n)/6}function zs(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Ab){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>Ab){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Is(t,n){this._context=t,this._alpha=n}function Fs(t,n){this._context=t,this._alpha=n}function Hs(t,n){this._context=t,this._alpha=n}function Us(t){this._context=t}function Bs(t){return t<0?-1:1}function Ws(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(Bs(o)+Bs(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Ys(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function $s(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 Xs(t){this._context=t}function Gs(t){this._context=new Vs(t)}function Vs(t){this._context=t}function Zs(t){return new Xs(t)}function Qs(t){return new Gs(t)}function Js(t){this._context=t}function Ks(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<r-1;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],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;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function tc(t,n){this._context=t,this._t=n}function nc(t){return new tc(t,0)}function ec(t){return new tc(t,1)}function rc(t,n){return t[n]}function ic(t){for(var n,e=0,r=-1,i=t.length;++r0)){if(o/=d,d<0){if(o<h)return;o

0){if(o>p)return;o>h&&(h=o)}if(o=r-s,d||!(o<0)){if(o/=d,dp)return;o>h&&(h=o)}else if(d>0){if(o<h)return;o

0)){if(o/=g,g<0){if(o<h)return;o

0){if(o>p)return;o>h&&(h=o)}if(o=i-c,g||!(o<0)){if(o/=g,gp)return;o>h&&(h=o)}else if(g>0){if(o<h)return;o

0||p0&&(t[0]=[s+h*d,c+h*g]),p<1&&(t[1]=[s+p*d,c+p*g]),!0)}}}}}function vc(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,s=t[0],c=t.left,l=t.right,f=c[0],h=c[1],p=l[0],d=l[1],g=(f+p)/2,v=(h+d)/2;if(d===h){if(g=r)return;if(f>p){if(s){if(s[1]>=i)return}else s=[g,e];o=[g,i]}else{if(s){if(s[1]<e)return}else s=[g,i];o=[g,e]}}else if(a=(f-p)/(d-h),u=v-a*g,a1)if(f>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]<e)return}else s=[(i-u)/a,i];o=[(e-u)/a,e]}else if(h=r)return}else s=[n,a*n+u];o=[r,a*r+u]}else{if(s){if(s[0]Ww||Math.abs(i[0][1]-i[1][1])>Ww)||delete Hw[o]}function mc(t){return Iw[t.index]={site:t,halfedges:[]}}function _c(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 xc(t,n){return n[+(n.left!==t.site)]}function bc(t,n){return n[+(n.left===t.site)]}function wc(){for(var t,n,e,r,i=0,o=Iw.length;i<o;++i)if((t=Iw[i])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;e<r;++e)a[e]=e,u[e]=_c(t,Hw[n[e]]);for(a.sort(function(t,n){return u[n]-u[t]}),e=0;e<r;++e)u[e]=n[a[e]];for(e=0;e<r;++e)n[e]=u[e]}}function Mc(t,n,e,r){var i,o,a,u,s,c,l,f,h,p,d,g,v=Iw.length,y=!0;for(i=0;i<v;++i)if(o=Iw[i]){for(a=o.site,s=o.halfedges,u=s.length;u–;)Hw[s[u]]||s.splice(u,1);for(u=0,c=s.length;uWw||Math.abs(g-h)>Ww)&&(s.splice(u,0,Hw.push(pc(a,p,Math.abs(d-t)Ww?[t,Math.abs(f-t)<Ww?h:r]:Math.abs(g-r)Ww?[Math.abs(h-r)<Ww?f:e,r]:Math.abs(d-e)Ww?[e,Math.abs(f-e)<Ww?h:n]:Math.abs(g-n)Ww?[Math.abs(h-n)<Ww?f:t,n]:null))-1),++c);c&&(y=!1)}if(y){var m,_,x,b=1/0;for(i=0,y=null;i<v;++i)(o=Iw[i])&&(a=o.site,m=a[0]-t,_=a[1]-n,(x=m*m+_*_)<b&&(b=x,y=o));if(y){var w=[t,n],M=[t,r],T=[e,r],E=[e,n];y.halfedges.push(Hw.push(pc(a=y.site,w,M))-1,Hw.push(pc(a,M,T))-1,Hw.push(pc(a,T,E))-1,Hw.push(pc(a,E,w))-1)}}for(i=0;i=-Yw)){var p=s*s+c*c,d=l*l+f*f,g=(f*p-c*d)/h,v=(s*d-l*p)/h,y=Uw.pop()||new Tc;y.arc=t,y.site=i,y.x=g+a,y.y=(y.cy=v+u)+Math.sqrt(g*g+v*v),t.circle=y;for(var m=null,_=Fw._;_;)if(y.y<_.y||y.y===_.y&&y.x<=_.x){if(!_.L){m=_.P;break}_=_.L}else{if(!_.R){m=_;break}_=_.R}Fw.insert(m,y),m||(Ow=y)}}}}function Cc(t){var n=t.circle;n&&(n.P||(Ow=n.N),Fw.remove(n),Uw.push(n),sc(n),t.circle=null)}function kc(){sc(this),this.edge=this.site=this.circle=null}function Sc(t){var n=Bw.pop()||new kc;return n.site=t,n}function Nc(t){Cc(t),zw.remove(t),Bw.push(t),sc(t)}function Ac(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,a=t.N,u=[t];Nc(t);for(var s=o;s.circle&&Math.abs(e-s.circle.x)<Ww&&Math.abs(r-s.circle.cy)<Ww;)o=s.P,u.unshift(s),Nc(s),s=o;u.unshift(s),Cc(s);for(var c=a;c.circle&&Math.abs(e-c.circle.x)<Ww&&Math.abs(r-c.circle.cy)<Ww;)a=c.N,u.push(c),Nc(c),c=a;u.push(c),Cc(c);var l,f=u.length;for(l=1;lWw)u=u.L;else{if(!((i=o-Dc(u,a))>Ww)){r>-Ww?(n=u.P,e=u):i>-Ww?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}mc(t);var s=Sc(t);if(zw.insert(n,s),n||e){if(n===e)return Cc(n),e=Sc(n.site),zw.insert(s,e),s.edge=e.edge=hc(n.site,s.site),Ec(n),void Ec(e);if(!e)return void(s.edge=hc(n.site,s.site));Cc(n),Cc(e);var c=n.site,l=c[0],f=c[1],h=t[0]-l,p=t[1]-f,d=e.site,g=d[0]-l,v=d[1]-f,y=2*(h*v-p*g),m=h*h+p*p,_=g*g+v*v,x=[(v*m-p*_)/y+l,(h*_-g*m)/y+f];dc(e.edge,c,d,x),s.edge=hc(c,t,null,x),e.edge=hc(t,d,null,x),Ec(n),Ec(e)}}function Lc(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 l=u-r,f=1/o-1/c,h=l/c;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*c)-s+c/2+i-o/2)))/f+r:(r+u)/2}function Dc(t,n){var e=t.N;if(e)return Lc(e,n);var r=t.site;return r[1]===n?r[0]:1/0}function qc(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function jc(t,n){return n[1]-t[1]||n[0]-t[0]}function Rc(t,n){var e,r,i,o=t.sort(jc).pop();for(Hw=[],Iw=new Array(t.length),zw=new uc,Fw=new uc;;)if(i=Ow,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(Pc(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;Ac(i.arc)}if(wc(),n){var a=+n[0][0],u=+n[0][1],s=+n[1][0],c=+n[1][1];yc(a,u,s,c),Mc(a,u,s,c)}this.edges=Hw,this.cells=Iw,zw=Fw=Hw=Iw=null}function Oc(t,n,e){this.target=t,this.type=n,this.transform=e}function zc(t,n,e){this.k=t,this.x=n,this.y=e}function Ic(t){return t.__zoom||Gw}function Fc(){t.event.stopImmediatePropagation()}function Hc(){return!t.event.button}function Uc(){var t,n,e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,t=e.width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function Bc(){return this.__zoom||Gw}var Wc=function(t,n){return tn?1:t>=n?0:NaN},Yc=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}}},$c=Yc(Wc),Xc=$c.right,Gc=$c.left,Vc=function(t,n){null==n&&(n=e);for(var r=0,i=t.length-1,o=t[0],a=new Array(i<0?0:i);r<i;)a[r]=n(o,o=t[++r]);return a},Zc=function(t,n,r){var i,o,a,u,s=t.length,c=n.length,l=new Array(s*c);for(null==r&&(r=e),i=a=0;i<s;++i)for(u=t[i],o=0;o<c;++o,++a)l[a]=r(u,n[o]);return l},Qc=function(t,n){return nt?1:n>=t?0:NaN},Jc=function(t){return null===t?NaN:+t},Kc=function(t,n){var e,r,i=t.length,o=0,a=-1,u=0,s=0;if(null==n)for(;++a<i;)isNaN(e=Jc(t[a]))||(r=e-u,u+=r/++o,s+=r*(e-u));else for(;++a1)return s/(o-1)},tl=function(t,n){var e=Kc(t,n);return e?Math.sqrt(e):e},nl=function(t,n){var e,r,i,o=t.length,a=-1;if(null==n){for(;++a=e)for(r=i=e;++ae&&(r=e),i<e&&(i=e))}else for(;++a=e)for(r=i=e;++ae&&(r=e),i<e&&(i=e));return[r,i]},el=Array.prototype,rl=el.slice,il=el.map,ol=function(t){return function(){return t}},al=function(t){return t},ul=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o},sl=Math.sqrt(50),cl=Math.sqrt(10),ll=Math.sqrt(2),fl=function(t,n,e){var i,o,a,u=n0)for(t=Math.ceil(t/a),n=Math.floor(n/a),o=new Array(i=Math.ceil(n-t+1));++s<i;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),n=Math.ceil(n*a),o=new Array(i=Math.ceil(t-n+1));++s<i;)o[s]=(t-s)/a;return u&&o.reverse(),o},hl=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},pl=function(){function t(t){var o,a,u=t.length,s=new Array(u);for(o=0;o<u;++o)s[o]=n(t[o],o,t);var c=e(s),l=c[0],f=c[1],h=r(s,l,f);Array.isArray(h)||(h=i(l,f,h),h=ul(Math.ceil(l/h)*h,Math.floor(f/h)*h,h));for(var p=h.length;h[0]f;)h.pop(),–p;var d,g=new Array(p+1);for(o=0;o0?h[o-1]:l,d.x1=o<p?h[o]:f;for(o=0;o<u;++o)a=s[o],l<=a&&a<=f&&g[Xc(h,a,0,p)].push(t[o]);return g}var n=al,e=nl,r=hl;return t.value=function(e){return arguments.length?(n="function"==typeof e?e:ol(e),t):n},t.domain=function(n){return arguments.length?(e="function"==typeof n?n:ol([n[0],n[1]]),t):e},t.thresholds=function(n){return arguments.length?(r="function"==typeof n?n:ol(Array.isArray(n)?rl.call(n):n),t):r},t},dl=function(t,n,e){if(null==e&&(e=Jc),r=t.length){if((n=+n)<=0||r=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);return a+(+e(t[o+1],o+1,t)-a)*(i-o)}},gl=function(t,n,e){return t=il.call(t,Jc).sort(Wc),Math.ceil((e-n)/(2*(dl(t,.75)-dl(t,.25))*Math.pow(t.length,-1/3)))},vl=function(t,n,e){return Math.ceil((e-n)/(3.5*tl(t)*Math.pow(t.length,-1/3)))},yl=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o=e)for(r=e;++or&&(r=e)}else for(;++o=e)for(r=e;++or&&(r=e);return r},ml=function(t,n){var e,r=t.length,i=r,o=-1,a=0;if(null==n)for(;++o<r;)isNaN(e=Jc(t[o]))?–i:a+=e;else for(;++o<r;)isNaN(e=Jc(n(t[o],o,t)))?–i:a+=e;if(i)return a/i},_l=function(t,n){var e,r=t.length,i=-1,o=[];if(null==n)for(;++i<r;)isNaN(e=Jc(t[i]))||o.push(e);else for(;++i<r;)isNaN(e=Jc(n(t[i],i,t)))||o.push(e);return dl(o.sort(Wc),.5)},xl=function(t){for(var n,e,r,i=t.length,o=-1,a=0;++o=0;)for(r=t[i],n=r.length;–n>=0;)e[–a]=r[n];return e},bl=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o=e)for(r=e;++oe&&(r=e)}else for(;++o=e)for(r=e;++oe&&(r=e);return r},wl=function(t,n){for(var e=n.length,r=new Array(e);e–;)r[e]=t[n[e]];return r},Ml=function(t,n){if(e=t.length){var e,r,i=0,o=0,a=t[o];for(null==n&&(n=Wc);++i<e;)(n(r=t[i],a)<0||0!==n(a,a))&&(a=r,o=i);return 0===n(a,a)?o:void 0}},Tl=function(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o–|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t},El=function(t,n){var e,r=t.length,i=-1,o=0;if(null==n)for(;++i<r;)(e=+t[i])&&(o+=e);else for(;++i<r;)(e=+n(t[i],i,t))&&(o+=e);return o},Cl=function(t){if(!(i=t.length))return[];for(var n=-1,e=bl(t,o),r=new Array(e);++n<e;)for(var i,a=-1,u=r[n]=new Array(i);++a<i;)u[a]=t[a][n];return r},kl=function(){return Cl(arguments)},Sl=Array.prototype.slice,Nl=function(t){return t},Al=1,Pl=2,Ll=3,Dl=4,ql=1e-6,jl={value:function(){}};v.prototype=g.prototype={constructor:v,on:function(t,n){var e,r=this._,i=y(t+"",r),o=-1,a=i.length;{if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<a;)if(e=(t=i[o]).type)r[e]=_(r[e],t.name,n);else if(null==n)for(e in r)r[e]=_(r[e],t.name,null);return this}for(;++o0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=this._[t],o=0,e=r.length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i=0&&”xmlns”!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Ol.hasOwnProperty(n)?{space:Ol[n],local:t}:t},Il=function(t){var n=zl(t);return(n.local?b:x)(n)},Fl=0;M.prototype=w.prototype={constructor:M,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 Hl=function(t){return function(){return this.matches(t)}};if(“undefined”!=typeof document){var Ul=document.documentElement;if(!Ul.matches){var Bl=Ul.webkitMatchesSelector||Ul.msMatchesSelector||Ul.mozMatchesSelector||Ul.oMatchesSelector;Hl=function(t){return function(){return Bl.call(this,t)}}}}var Wl=Hl,Yl={};if(t.event=null,”undefined”!=typeof document){“onmouseenter”in document.documentElement||(Yl={mouseenter:”mouseover”,mouseleave:”mouseout”})}var $l=function(t,n,e){var r,i,o=C(t+””),a=o.length;{if(!(arguments.length<2)){for(u=n?S:k,null==e&&(e=!1),r=0;r<a;++r)this.each(u(o[r],n,e));return this}var u=this.node().__on;if(u)for(var s,c=0,l=u.length;c<l;++c)for(r=0,s=u[c];r<a;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value}},Xl=function(){for(var n,e=t.event;n=e.sourceEvent;)e=n;return e},Gl=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]},Vl=function(t){var n=Xl();return n.changedTouches&&(n=n.changedTouches[0]),Gl(t,n)},Zl=function(t){return null==t?A:function(){return this.querySelector(t)}},Ql=function(t){"function"!=typeof t&&(t=Zl(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a,u=n[i],s=u.length,c=r[i]=new Array(s),l=0;l<s;++l)(o=u[l])&&(a=t.call(o,o.__data__,l,u))&&("__data__"in o&&(a.__data__=o.__data__),c[l]=a);return new vt(r,this._parents)},Jl=function(t){return null==t?P:function(){return this.querySelectorAll(t)}},Kl=function(t){"function"!=typeof t&&(t=Jl(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var a,u=n[o],s=u.length,c=0;c<s;++c)(a=u[c])&&(r.push(t.call(a,a.__data__,c,u)),i.push(a));return new vt(r,i)},tf=function(t){"function"!=typeof t&&(t=Wl(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new vt(r,this._parents)},nf=function(t){return new Array(t.length)},ef=function(){return new vt(this._enter||this._groups.map(nf),this._parents)};L.prototype={constructor:L,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var rf=function(t){return function(){return t}},of="$",af=function(t,n){if(!t)return p=new Array(this.size()),c=-1,this.each(function(t){p[++c]=t}),p;var e=n?q:D,r=this._parents,i=this._groups;"function"!=typeof t&&(t=rf(t));for(var o=i.length,a=new Array(o),u=new Array(o),s=new Array(o),c=0;c<o;++c){var l=r[c],f=i[c],h=f.length,p=t.call(l,l&&l.__data__,c,r),d=p.length,g=u[c]=new Array(d),v=a[c]=new Array(d);e(l,f,g,v,s[c]=new Array(h),p,n);for(var y,m,_=0,x=0;_=x&&(x=_+1);!(m=v[x])&&++x<d;);y._next=m||null}}return a=new vt(a,r),a._enter=u,a._exit=s,a},uf=function(){return new vt(this._exit||this._groups.map(nf),this._parents)},sf=function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=n[u],l=e[u],f=c.length,h=a[u]=new Array(f),p=0;p<f;++p)(s=c[p]||l[p])&&(h[p]=s);for(;u<r;++u)a[u]=n[u];return new vt(a,this._parents)},cf=function(){for(var t=this._groups,n=-1,e=t.length;++n=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},lf=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=j);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var a,u=e[o],s=u.length,c=i[o]=new Array(s),l=0;l<s;++l)(a=u[l])&&(c[l]=a);c.sort(n)}return new vt(i,this._parents).order()},ff=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},hf=function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},pf=function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},df=function(){var t=0;return this.each(function(){++t}),t},gf=function(){return!this.node()},vf=function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},yf=function(t,n){var e=zl(t);if(arguments.length1?this.each((null==n?U:”function”==typeof n?W:B)(t,n,null==e?””:e)):Y(this.node(),t)},xf=function(t,n){return arguments.length>1?this.each((null==n?$:”function”==typeof n?G:X)(t,n)):this.node()[t]};Q.prototype={add:function(t){this._names.indexOf(t)=0&&(this._names.splice(n,1),this._node.setAttribute(“class”,this._names.join(” “)))},contains:function(t){return this._names.indexOf(t)>=0}};var bf=function(t,n){var e=V(t+””);if(arguments.length<2){for(var r=Z(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?et:n?tt:nt)(e,n))},wf=function(t){return arguments.length?this.each(null==t?rt:("function"==typeof t?ot:it)(t)):this.node().textContent},Mf=function(t){return arguments.length?this.each(null==t?at:("function"==typeof t?st:ut)(t)):this.node().innerHTML},Tf=function(){return this.each(ct)},Ef=function(){return this.each(lt)},Cf=function(t){var n="function"==typeof t?t:Il(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},kf=function(t,n){var e="function"==typeof t?t:Il(t),r=null==n?ft:"function"==typeof n?n:Zl(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},Sf=function(){return this.each(ht)},Nf=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},Af=function(t,n){return this.each(("function"==typeof n?gt:dt)(t,n))},Pf=[null];vt.prototype=yt.prototype={constructor:vt,select:Ql,selectAll:Kl,filter:tf,data:af,enter:ef,exit:uf,merge:sf,order:cf,sort:lf,call:ff,nodes:hf,node:pf,size:df,empty:gf,each:vf,attr:yf,style:_f,property:xf,classed:bf,text:wf,html:Mf,raise:Tf,lower:Ef,append:Cf,insert:kf,remove:Sf,datum:Nf,on:$l,dispatch:Af};var Lf=function(t){return"string"==typeof t?new vt([[document.querySelector(t)]],[document.documentElement]):new vt([[t]],Pf)},Df=function(t){return"string"==typeof t?new vt([document.querySelectorAll(t)],[document.documentElement]):new vt([null==t?[]:t],Pf)},qf=function(t,n,e){arguments.length<3&&(e=n,n=Xl().changedTouches);for(var r,i=0,o=n?n.length:0;i<o;++i)if((r=n[i]).identifier===e)return Gl(t,r);return null},jf=function(t,n){null==n&&(n=Xl().touches);for(var e=0,r=n?n.length:0,i=new Array(r);ex}y.mouse(“drag”)}function i(){Lf(t.event.view).on(“mousemove.drag mouseup.drag”,null),_t(t.event.view,f),Rf(),y.mouse(“end”)}function o(){if(p.apply(this,arguments)){var n,e,r=t.event.changedTouches,i=d.apply(this,arguments),o=r.length;for(n=0;n<o;++n)(e=s(r[n].identifier,i,qf,this,arguments))&&(mt(),e("start"))}}function a(){var n,e,r=t.event.changedTouches,i=r.length;for(n=0;n<i;++n)(e=y[r[n].identifier])&&(Rf(),e("drag"))}function u(){var n,e,r=t.event.changedTouches,i=r.length;for(h&&clearTimeout(h),h=setTimeout(function(){h=null},500),n=0;n<i;++n)(e=y[r[n].identifier])&&(mt(),e("end"))}function s(e,r,i,o,a){var u,s,c,l=i(r,e),f=m.copy();if(N(new xt(n,"beforestart",u,e,_,l[0],l[1],0,0,f),function(){return null!=(t.event.subject=u=v.apply(o,a))&&(s=u.x-l[0]||0,c=u.y-l[1]||0,!0)}))return function t(h){var p,d=l;switch(h){case"start":y[e]=t,p=_++;break;case"end":delete y[e],–_;case"drag":l=i(r,e),p=_}N(new xt(n,h,u,e,p,l[0]+s,l[1]+c,l[0]-d[0],l[1]-d[1],f),f.apply,f,[h,o,a])}}var c,l,f,h,p=bt,d=wt,v=Mt,y={},m=g("start","drag","end"),_=0,x=0;return n.filter=function(t){return arguments.length?(p="function"==typeof t?t:zf(!!t),n):p},n.container=function(t){return arguments.length?(d="function"==typeof t?t:zf(t),n):d},n.subject=function(t){return arguments.length?(v="function"==typeof t?t:zf(t),n):v},n.on=function(){var t=m.on.apply(m,arguments);return t===m?n:t},n.clickDistance=function(t){return arguments.length?(x=(t=+t)*t,n):Math.sqrt(x)},n},Ff=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t},Hf="\\\\s*([+-]?\\\\d+)\\\\s*",Uf="\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*",Bf="\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*",Wf=/^#([0-9a-f]{3})$/,Yf=/^#([0-9a-f]{6})$/,$f=new RegExp("^rgb\\\\("+[Hf,Hf,Hf]+"\\\\)$"),Xf=new RegExp("^rgb\\\\("+[Bf,Bf,Bf]+"\\\\)$"),Gf=new RegExp("^rgba\\\\("+[Hf,Hf,Hf,Uf]+"\\\\)$"),Vf=new RegExp("^rgba\\\\("+[Bf,Bf,Bf,Uf]+"\\\\)$"),Zf=new RegExp("^hsl\\\\("+[Uf,Bf,Bf]+"\\\\)$"),Qf=new RegExp("^hsla\\\\("+[Uf,Bf,Bf,Uf]+"\\\\)$"),Jf={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ff(Et,Ct,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Ff(Pt,At,Tt(Et,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Pt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Pt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Ff(jt,qt,Tt(Et,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new jt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new jt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e=240?t-240:t+120,i,r),Rt(t,i,r),Rt(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 Kf=Math.PI/180,th=180/Math.PI,nh=.95047,eh=1,rh=1.08883,ih=4/29,oh=6/29,ah=3*oh*oh,uh=oh*oh*oh;Ff(It,zt,Tt(Et,{brighter:function(t){return new It(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new It(this.l-18*(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=eh*Ht(t),n=nh*Ht(n),e=rh*Ht(e),new Pt(Ut(3.2404542*n-1.5371385*t-.4985314*e),Ut(-.969266*n+1.8760108*t+.041556*e),Ut(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Ff($t,Yt,Tt(Et,{brighter:function(t){return new $t(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new $t(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return Ot(this).rgb()}}));var sh=-.14861,ch=1.78277,lh=-.29227,fh=-.90649,hh=1.97294,ph=hh*fh,dh=hh*ch,gh=ch*lh-fh*sh;Ff(Vt,Gt,Tt(Et,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Vt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Vt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Kf,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new Pt(255*(n+e*(sh*r+ch*i)),255*(n+e*(lh*r+fh*i)),255*(n+e*(hh*r)),this.opacity)}}));var vh,yh,mh,_h,xh,bh,wh=function(t){var n=t.length-1;return function(e){var r=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=r<n-1?t[r+2]:2*o-i;return Zt((e-r/n)*n,a,i,o,u)}},Mh=function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return Zt((e-r/n)*n,i,o,a,u)}},Th=function(t){return function(){return t}},Eh=function t(n){function e(t,n){var e=r((t=At(t)).r,(n=At(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),a=nn(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}var r=tn(n);return e.gamma=t,e}(1),Ch=en(wh),kh=en(Mh),Sh=function(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(r),a=new Array(r);for(e=0;e<i;++e)o[e]=jh(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;eo&&(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:Ah(e,r)})),o=Dh.lastIndex;return o<n.length&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?on(s[0].x):rn(n):(n=s.length,function(t){for(var e,r=0;r<n;++r)u[(e=s[r]).i]=e.x(t);return u.join("")})},jh=function(t,n){var e,r=typeof n;return null==n||"boolean"===r?Th(n):("number"===r?Ah:"string"===r?(e=Ct(n))?(n=e,Eh):qh:n instanceof Ct?Eh:n instanceof Date?Nh:Array.isArray(n)?Sh:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?Ph:Ah)(t,n)},Rh=function(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}},Oh=180/Math.PI,zh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Ih=function(t,n,e,r,i,o){var a,u,s;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(s=t*e+n*r)&&(e-=t*s,r-=n*s),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,s/=u),t*r<n*e&&(t=-t,n=-n,s=-s,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*Oh,skewX:Math.atan(s)*Oh,scaleX:a,scaleY:u}},Fh=sn(an,"px, ","px)","deg)"),Hh=sn(un,", ",")",")"),Uh=Math.SQRT2,Bh=function(t,n){var e,r,i=t[0],o=t[1],a=t[2],u=n[0],s=n[1],c=n[2],l=u-i,f=s-o,h=l*l+f*f;if(h<1e-12)r=Math.log(c/a)/Uh,e=function(t){return[i+t*l,o+t*f,a*Math.exp(Uh*t*r)]};else{var p=Math.sqrt(h),d=(c*c-a*a+4*h)/(2*a*2*p),g=(c*c-a*a-4*h)/(2*c*2*p),v=Math.log(Math.sqrt(d*d+1)-d),y=Math.log(Math.sqrt(g*g+1)-g);r=(y-v)/Uh,e=function(t){var n=t*r,e=cn(v),u=a/(2*p)*(e*fn(Uh*n+v)-ln(v));return[i+u*l,o+u*f,a*e/cn(Uh*n+v)]}}return e.duration=1e3*r,e},Wh=hn(Kt),Yh=hn(nn),$h=dn(Kt),Xh=dn(nn),Gh=gn(Kt),Vh=gn(nn),Zh=function(t,n){for(var e=new Array(n),r=0;rhp&&e.state<gp,e.state=vp,e.timer.stop(),r&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete o[i]):a=!1;a&&delete t.__transition}},_p=function(t){return this.each(function(){mp(this,t)})},xp=function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=kn(this.node(),e).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?Nn:An)(e,t,n))},bp=function(t,n){var e;return("number"==typeof n?Ah:n instanceof Ct?Eh:(e=Ct(n))?(n=e,Eh):qh)(t,n)},wp=function(t,n){var e=zl(t),r="transform"===e?Hh:bp;return this.attrTween(t,"function"==typeof n?(e.local?On:Rn)(e,r,Pn(this,"attr."+t,n)):null==n?(e.local?Dn:Ln)(e):(e.local?jn:qn)(e,r,n+""))},Mp=function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=zl(t);return this.tween(e,(r.local?zn:In)(r,n))},Tp=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Fn:Hn)(n,t)):kn(this.node(),n).delay},Ep=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Un:Bn)(n,t)):kn(this.node(),n).duration},Cp=function(t){var n=this._id;return arguments.length?this.each(Wn(n,t)):kn(this.node(),n).ease},kp=function(t){"function"!=typeof t&&(t=Wl(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new ne(r,this._parents,this._name,this._id)},Sp=function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=n[u],l=e[u],f=c.length,h=a[u]=new Array(f),p=0;p<f;++p)(s=c[p]||l[p])&&(h[p]=s);for(;u<r;++u)a[u]=n[u];return new ne(a,this._parents,this._name,this._id)},Np=function(t,n){var e=this._id;return arguments.length<2?kn(this.node(),e).on.on(t):this.each($n(e,t,n))},Ap=function(){return this.on("end.remove",Xn(this._id))},Pp=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Zl(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,s,c=r[a],l=c.length,f=o[a]=new Array(l),h=0;h<l;++h)(u=c[h])&&(s=t.call(u,u.__data__,h,c))&&("__data__"in u&&(s.__data__=u.__data__),f[h]=s,yp(f[h],n,e,h,f,kn(u,e)));return new ne(o,this._parents,n,e)},Lp=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Jl(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var s,c=r[u],l=c.length,f=0;f<l;++f)if(s=c[f]){for(var h,p=t.call(s,s.__data__,f,c),d=kn(s,e),g=0,v=p.length;g<v;++g)(h=p[g])&&yp(h,n,e,g,p,d);o.push(p),a.push(s)}return new ne(o,a,n,e)},Dp=yt.prototype.constructor,qp=function(){return new Dp(this._groups,this._parents)},jp=function(t,n,e){var r="transform"==(t+="")?Fh:bp;return null==n?this.styleTween(t,Gn(t,r)).on("end.style."+t,Vn(t)):this.styleTween(t,"function"==typeof n?Qn(t,r,Pn(this,"style."+t,n)):Zn(t,r,n+""),e)},Rp=function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,Jn(t,n,null==e?"":e))},Op=function(t){return this.tween("text","function"==typeof t?te(Pn(this,"text",t)):Kn(null==t?"":t+""))},zp=function(){for(var t=this._name,n=this._id,e=re(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)if(a=u[c]){var l=kn(a,n);yp(a,t,e,c,u,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new ne(r,this._parents,t,e)},Ip=0,Fp=yt.prototype;ne.prototype=ee.prototype={constructor:ne,select:Pp,selectAll:Lp,filter:kp,merge:Sp,selection:qp,transition:zp,call:Fp.call,nodes:Fp.nodes,node:Fp.node,size:Fp.size,empty:Fp.empty,each:Fp.each,on:Np,attr:wp,attrTween:Mp,style:jp,styleTween:Rp,text:Op,remove:Ap,tween:xp,delay:Tp,duration:Ep,ease:Cp};var Hp=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Up=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Bp=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Wp=Math.PI,Yp=Wp/2,$p=4/11,Xp=6/11,Gp=8/11,Vp=.75,Zp=9/11,Qp=10/11,Jp=.9375,Kp=21/22,td=63/64,nd=1/$p/$p,ed=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(1.70158),rd=function t(n){function e(t){return–t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(1.70158),id=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(1.70158),od=2*Math.PI,ad=function t(n,e){function r(t){return n*Math.pow(2,10*–t)*Math.sin((i-t)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=od);return r.amplitude=function(n){return t(n,e*od)},r.period=function(e){return t(n,e)},r}(1,.3),ud=function t(n,e){function r(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=od);return r.amplitude=function(n){return t(n,e*od)},r.period=function(e){return t(n,e)},r}(1,.3),sd=function t(n,e){function r(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((i-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((i+t)/e))/2}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=od);return r.amplitude=function(n){return t(n,e*od)},r.period=function(e){return t(n,e)},r}(1,.3),cd={time:null,delay:0,duration:250,ease:le},ld=function(t){var n,e;t instanceof ne?(n=t._id,t=t._name):(n=re(),(e=cd).time=vn(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;cfp&&e.name===n)return new ne([[t]],fd,n,+r)}return null},pd=function(t){return function(){return t}},dd=function(t,n,e){this.target=t,this.type=n,this.selection=e},gd=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},vd={name:”drag”},yd={name:”space”},md={name:”handle”},_d={name:”center”},xd={name:”x”,handles:[“e”,”w”].map(Ee),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]]}},bd={name:”y”,handles:[“n”,”s”].map(Ee),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]]}},wd={name:”xy”,handles:[“n”,”e”,”s”,”w”,”nw”,”ne”,”se”,”sw”].map(Ee),input:function(t){return t},output:function(t){return t}},Md={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”},Td={e:”w”,w:”e”,nw:”ne”,ne:”nw”,se:”sw”,sw:”se”},Ed={n:”s”,s:”n”,nw:”sw”,ne:”se”,se:”ne”,sw:”nw”},Cd={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},kd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},Sd=function(){return De(wd)},Nd=Math.cos,Ad=Math.sin,Pd=Math.PI,Ld=Pd/2,Dd=2*Pd,qd=Math.max,jd=function(){function t(t){var o,a,u,s,c,l,f=t.length,h=[],p=ul(f),d=[],g=[],v=g.groups=new Array(f),y=new Array(f*f);for(o=0,c=-1;++c<f;){for(a=0,l=-1;++l<f;)a+=t[c][l];h.push(a),d.push(ul(f)),o+=a}for(e&&p.sort(function(t,n){return e(h[t],h[n])}),r&&d.forEach(function(n,e){n.sort(function(n,i){return r(t[e][n],t[e][i])})}),o=qd(0,Dd-n*f)/o,s=o?n:Dd/f,a=0,c=-1;++c<f;){for(u=a,l=-1;++l<f;){var m=p[c],_=d[m][l],x=t[m][_],b=a,w=a+=x*o;y[_*f+m]={index:m,subindex:_,startAngle:b,endAngle:w,value:x}}v[m]={index:m,startAngle:u,endAngle:a,value:h[m]},a+=s}for(c=-1;++c<f;)for(l=c-1;++l<f;){var M=y[l*f+c],T=y[c*f+l];(M.value||T.value)&&g.push(M.value<T.value?{source:T,target:M}:{source:M,target:T})}return i?g.sort(i):g}var n=0,e=null,r=null,i=null;return t.padAngle=function(e){return arguments.length?(n=qd(0,e),t):n},t.sortGroups=function(n){return arguments.length?(e=n,t):e},t.sortSubgroups=function(n){return arguments.length?(r=n,t):r},t.sortChords=function(n){return arguments.length?(null==n?i=null:(i=qe(n))._=n,t):i&&i._},t},Rd=Array.prototype.slice,Od=function(t){return function(){return t}},zd=Math.PI,Id=2*zd,Fd=Id-1e-6;je.prototype=Re.prototype={constructor:je,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,a=this._y1,u=e-t,s=r-n,c=o-t,l=a-n,f=c*c+l*l;if(i1e-6)if(Math.abs(l*u-s*c)>1e-6&&i){var h=e-o,p=r-a,d=u*u+s*s,g=h*h+p*p,v=Math.sqrt(d),y=Math.sqrt(f),m=i*Math.tan((zd-Math.acos((d+f-g)/(2*v*y)))/2),_=m/y,x=m/v;Math.abs(_-1)>1e-6&&(this._+=”L”+(t+_*c)+”,”+(n+_*l)),this._+=”A”+i+”,”+i+”,0,0,”+ +(l*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,l=1^o,f=o?r-i:i-r;if(e1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+=”L”+s+”,”+c),e&&(fFd?this._+=”A”+e+”,”+e+”,0,1,”+l+”,”+(t-a)+”,”+(n-u)+”A”+e+”,”+e+”,0,1,”+l+”,”+(this._x1=s)+”,”+(this._y1=c):f>1e-6&&(this._+=”A”+e+”,”+e+”,0,”+ +(f>=zd)+”,”+l+”,”+(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 Hd=function(){function t(){var t,u=Rd.call(arguments),s=n.apply(this,u),c=e.apply(this,u),l=+r.apply(this,(u[0]=s,u)),f=i.apply(this,u)-Ld,h=o.apply(this,u)-Ld,p=l*Nd(f),d=l*Ad(f),g=+r.apply(this,(u[0]=c,u)),v=i.apply(this,u)-Ld,y=o.apply(this,u)-Ld;if(a||(a=t=Re()),a.moveTo(p,d),a.arc(0,0,l,f,h),f===v&&h===y||(a.quadraticCurveTo(0,0,g*Nd(v),g*Ad(v)),a.arc(0,0,g,v,y)),a.quadraticCurveTo(0,0,p,d),a.closePath(),t)return a=null,t+””||null}var n=Oe,e=ze,r=Ie,i=Fe,o=He,a=null;return t.radius=function(n){return arguments.length?(r=”function”==typeof n?n:Od(+n),t):r},t.startAngle=function(n){return arguments.length?(i=”function”==typeof n?n:Od(+n),t):i},t.endAngle=function(n){return arguments.length?(o=”function”==typeof n?n:Od(+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};Ue.prototype=Be.prototype={constructor:Ue,has:function(t){return”$”+t in this},get:function(t){return this[“$”+t]},set:function(t,n){return this[“$”+t]=n,this},remove:function(t){var n=”$”+t;return n in this&&delete this[n]},clear:function(){for(var t in this)”$”===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)”$”===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)”$”===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)”$”===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)”$”===n[0]&&++t;return t},empty:function(){for(var t in this)if(“$”===t[0])return!1;return!0},each:function(t){for(var n in this)”$”===n[0]&&t(this[n],n.slice(1),this)}};var Ud=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,l,f=-1,h=n.length,p=o[i++],d=Be(),g=a();++fo.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,We,Ye)},map:function(n){return t(n,0,$e,Xe)},entries:function(e){return n(t(e,0,$e,Xe),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}}},Bd=Be.prototype;Ge.prototype=Ve.prototype={constructor:Ge,has:Bd.has,add:function(t){return t+=””,this[“$”+t]=t,this},remove:Bd.remove,clear:Bd.clear,values:Bd.keys,size:Bd.size,empty:Bd.empty,each:Bd.each};var Wd=function(t){var n=[];for(var e in t)n.push(e);return n},Yd=function(t){var n=[];for(var e in t)n.push(t[e]);return n},$d=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n},Xd=function(t){function n(t,n){var r,i,o=e(t,function(t,e){if(r)return r(t,e-1);i=t,r=n?Qe(t,n):Ze(t)});return o.columns=i,o}function e(t,n){function e(){if(l>=c)return a;if(i)return i=!1,o;var n,e=l;if(34===t.charCodeAt(e)){for(var r=e;r++<c;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return l=r+2,n=t.charCodeAt(r+1),13===n?(i=!0,10===t.charCodeAt(r+2)&&++l):10===n&&(i=!0),t.slice(e+1,r).replace(/""/g,'"')}for(;l<c;){var u=1;if(10===(n=t.charCodeAt(l++)))i=!0;else if(13===n)i=!0,10===t.charCodeAt(l)&&(++l,++u);else if(n!==s)continue;return t.slice(e,l-u)}return t.slice(e)}for(var r,i,o={},a={},u=[],c=t.length,l=0,f=0;(r=e())!==a;){for(var h=[];r!==o&&r!==a;)h.push(r),r=e();n&&null==(h=n(h,f++))||u.push(h)}return u}function r(n,e){return null==e&&(e=Je(n)),[e.map(a).join(t)].concat(n.map(function(n){return e.map(function(t){return a(n[t])}).join(t)})).join("\\n")}function i(t){return t.map(o).join("\\n")}function o(n){return n.map(a).join(t)}function a(t){return null==t?"":u.test(t+="")?'"'+t.replace(/\\"/g,'""')+'"':t}var u=new RegExp('["'+t+"\\n\\r]"),s=t.charCodeAt(0);return{parse:n,parseRows:e,format:r,formatRows:i}},Gd=Xd(","),Vd=Gd.parse,Zd=Gd.parseRows,Qd=Gd.format,Jd=Gd.formatRows,Kd=Xd("\\t"),tg=Kd.parse,ng=Kd.parseRows,eg=Kd.format,rg=Kd.formatRows,ig=function(t,n){function e(){var e,i,o=r.length,a=0,u=0;for(e=0;e<o;++e)i=r[e],a+=i.x,u+=i.y;for(a=a/o-t,u=u/o-n,e=0;et||t>i||r>n||n>o))return this;var a,u,s=i-e,c=this._root;switch(u=(n<(r+o)/2)<<1|ti||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},cg=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t},lg=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]]},fg=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i},hg=function(t,n,e){var r,i,o,a,u,s,c,l=this._x0,f=this._y0,h=this._x1,p=this._y1,d=[],g=this._root;for(g&&d.push(new fg(g,l,f,h,p)),null==e?e=1/0:(l=t-e,f=n-e,h=t+e,p=n+e,e*=e);s=d.pop();)if(!(!(g=s.node)||(i=s.x0)>h||(o=s.y0)>p||(a=s.x1)<l||(u=s.y1)=y)<=v)&&(s=d[d.length-1],d[d.length-1]=d[d.length-1-c],d[d.length-1-c]=s)}else{var m=t-+this._x.call(null,g.data),_=n-+this._y.call(null,g.data),x=m*m+_*_;if(x=(u=(d+v)/2))?d=u:v=u,(l=a>=(s=(g+y)/2))?g=s:y=s,n=p,!(p=p[f=l<<1|c]))return this;if(!p.length)break;(n[f+1&3]||n[f+2&3]||n[f+3&3])&&(e=n,h=f)}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[f]=i:delete n[f],(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)},dg=function(){return this._root},gg=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t},vg=function(t){var n,e,r,i,o,a,u=[],s=this._root;for(s&&u.push(new fg(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,l=(i+a)/2;(e=s[3])&&u.push(new fg(e,c,l,o,a)),(e=s[2])&&u.push(new fg(e,r,l,c,a)),(e=s[1])&&u.push(new fg(e,c,i,o,l)),(e=s[0])&&u.push(new fg(e,r,i,c,l))}return this},yg=function(t){var n,e=[],r=[];for(this._root&&e.push(new fg(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,l=(a+s)/2,f=(u+c)/2;(o=i[0])&&e.push(new fg(o,a,u,l,f)),(o=i[1])&&e.push(new fg(o,l,u,s,f)),(o=i[2])&&e.push(new fg(o,a,f,l,c)),(o=i[3])&&e.push(new fg(o,l,f,s,c))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},mg=function(t){return arguments.length?(this._x=t,this):this._x},_g=function(t){return arguments.length?(this._y=t,this):this._y},xg=ir.prototype=or.prototype;xg.copy=function(){var t,n,e=new or(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=ar(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;ic+p||rl+p||is.index){var d=c-o.x-o.vx,g=l-o.y-o.vy,v=d*d+g*g;v<p*p&&(0===d&&(d=ag(),v+=d*d),0===g&&(g=ag(),v+=g*g),v=(p-(v=Math.sqrt(v)))/v*a,s.vx+=(d*=v)*(p=(u*=u)/(h+u)),s.vy+=(g*=v)*p,o.vx-=d*(p=1-p),o.vy-=g*p)}}}for(var n,r,s,c,l,f,h,p=i.length,d=0;d<u;++d)for(r=ir(i,ur,sr).visitAfter(e),n=0;n<p;++n)s=i[n],f=o[s.index],h=f*f,c=s.x+s.vx,l=s.y+s.vy,r.visit(t)}function e(t){if(t.data)return t.r=o[t.data.index];for(var n=t.r=0;nt.r&&(t.r=t[n].r)}function r(){if(i){var n,e,r=i.length;for(o=new Array(r),n=0;n<r;++n)e=i[n],o[e.index]=+t(e,n,i)}}var i,o,a=1,u=1;return"function"!=typeof t&&(t=og(null==t?1:+t)),n.initialize=function(t){i=t,r()},n.iterations=function(t){return arguments.length?(u=+t,n):u},n.strength=function(t){return arguments.length?(a=+t,n):a},n.radius=function(e){return arguments.length?(t="function"==typeof e?e:og(+e),r(),n):t},n},Mg=function(t){function n(t){return 1/Math.min(c[t.source.index],c[t.target.index])}function e(n){for(var e=0,r=t.length;e<d;++e)for(var i,o,s,c,f,h,p,g=0;g<r;++g)i=t[g],o=i.source,s=i.target,c=s.x+s.vx-o.x-o.vx||ag(),f=s.y+s.vy-o.y-o.vy||ag(),h=Math.sqrt(c*c+f*f),h=(h-u[g])/h*n*a[g],c*=h,f*=h,s.vx-=c*(p=l[g]),s.vy-=f*p,o.vx+=c*(p=1-p),o.vy+=f*p}function r(){if(s){var n,e,r=s.length,h=t.length,p=Be(s,f);for(n=0,c=new Array(r);n<h;++n)e=t[n],e.index=n,"object"!=typeof e.source&&(e.source=lr(p,e.source)),"object"!=typeof e.target&&(e.target=lr(p,e.target)),c[e.source.index]=(c[e.source.index]||0)+1,c[e.target.index]=(c[e.target.index]||0)+1;for(n=0,l=new Array(h);n<h;++n)e=t[n],l[n]=c[e.source.index]/(c[e.source.index]+c[e.target.index]);a=new Array(h),i(),u=new Array(h),o()}}function i(){if(s)for(var n=0,e=t.length;n<e;++n)a[n]=+h(t[n],n,t)}function o(){if(s)for(var n=0,e=t.length;n<e;++n)u[n]=+p(t[n],n,t)}var a,u,s,c,l,f=cr,h=n,p=og(30),d=1;return null==t&&(t=[]),e.initialize=function(t){s=t,r()},e.links=function(n){return arguments.length?(t=n,r(),e):t},e.id=function(t){return arguments.length?(f=t,e):f},e.iterations=function(t){return arguments.length?(d=+t,e):d},e.strength=function(t){return arguments.length?(h="function"==typeof t?t:og(+t),i(),e):h},e.distance=function(t){return arguments.length?(p="function"==typeof t?t:og(+t),o(),e):p},e},Tg=10,Eg=Math.PI*(3-Math.sqrt(5)),Cg=function(t){function n(){e(),p.call("tick",o),a<u&&(h.stop(),p.call("end",o))}function e(){var n,e,r=t.length;for(a+=(c-a)*s,f.each(function(t){t(a)}),n=0;n<r;++n)e=t[n],null==e.fx?e.x+=e.vx*=l:(e.x=e.fx,e.vx=0),null==e.fy?e.y+=e.vy*=l:(e.y=e.fy,e.vy=0)}function r(){for(var n,e=0,r=t.length;e1?(null==n?f.remove(t):f.set(t,i(n)),o):f.get(t)},find:function(n,e,r){var i,o,a,u,s,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c<l;++c)u=t[c],i=n-u.x,o=e-u.y,(a=i*i+o*o)1?(p.on(t,n),o):p.on(t)}}},kg=function(){function t(t){var n,u=i.length,s=ir(i,fr,hr).visitAfter(e);for(a=t,n=0;n<u;++n)o=i[n],s.visit(r)}function n(){if(i){var t,n,e=i.length;for(u=new Array(e),t=0;t<e;++t)n=i[t],u[n.index]=+s(n,t,i)}}function e(t){var n,e,r,i,o,a=0;if(t.length){for(r=i=o=0;o<4;++o)(n=t[o])&&(e=n.value)&&(a+=e,r+=e*n.x,i+=e*n.y);t.x=r/a,t.y=i/a}else{n=t,n.x=n.data.x,n.y=n.data.y;do{a+=u[n.data.index]}while(n=n.next)}t.value=a}function r(t,n,e,r){if(!t.value)return!0;var i=t.x-o.x,s=t.y-o.y,h=r-n,p=i*i+s*s;if(h*h/f<p)return p<l&&(0===i&&(i=ag(),p+=i*i),0===s&&(s=ag(),p+=s*s),p=l)){(t.data!==o||t.next)&&(0===i&&(i=ag(),p+=i*i),0===s&&(s=ag(),p+=s*s),p<c&&(p=Math.sqrt(c*p)));do{t.data!==o&&(h=u[t.data.index]*a/p,o.vx+=i*h,o.vy+=s*h)}while(t=t.next)}}var i,o,a,u,s=og(-30),c=1,l=1/0,f=.81;return t.initialize=function(t){i=t,n()},t.strength=function(e){return arguments.length?(s="function"==typeof e?e:og(+e),n(),t):s},t.distanceMin=function(n){return arguments.length?(c=n*n,t):Math.sqrt(c)},t.distanceMax=function(n){return arguments.length?(l=n*n,t):Math.sqrt(l)},t.theta=function(n){return arguments.length?(f=n*n,t):Math.sqrt(f)},t},Sg=function(t){function n(t){for(var n,e=0,a=r.length;e<a;++e)n=r[e],n.vx+=(o[e]-n.x)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=og(.1);return"function"!=typeof t&&(t=og(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:og(+t),e(),n):a},n.x=function(r){return arguments.length?(t="function"==typeof r?r:og(+r),e(),n):t},n},Ng=function(t){function n(t){for(var n,e=0,a=r.length;e<a;++e)n=r[e],n.vy+=(o[e]-n.y)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=og(.1);return"function"!=typeof t&&(t=og(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:og(+t),e(),n):a},n.y=function(r){return arguments.length?(t="function"==typeof r?r:og(+r),e(),n):t},n},Ag=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))1?r[0]+r.slice(2):r,+t.slice(e+1)]},Pg=function(t){return t=Ag(Math.abs(t)),t?t[1]:NaN},Lg=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)}},Dg=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}},qg=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},jg=function(t,n){var e=Ag(t,n);if(!e)return t+””;var r=e[0],i=e[1],o=i-(bg=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″)+Ag(t,Math.max(0,n+o-1))[0]},Rg=function(t,n){var e=Ag(t,n);if(!e)return t+””;var r=e[0],i=e[1];return ii+1?r.slice(0,i+1)+”.”+r.slice(i+1):r+new Array(i-r.length+2).join(“0”)},Og={“”:qg,”%”: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 Rg(100*t,n)},r:Rg,s:jg,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},zg=/^(?:(.)?([=^]))?([+\\-\\( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?([a-z%])?$/i;pr.prototype=dr.prototype,dr.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 Ig,Fg=function(t){return t},Hg=[“y”,”z”,”a”,”f”,”p”,”n”,” “,”m”,””,”k”,”M”,”G”,”T”,”P”,”E”,”Z”,”Y”],Ug=function(t){function n(t){function n(t){var n,i,u,l=v,x=y;if(“c”===g)x=m(t)+x,t=””;else{t=+t;var b=t<0;if(t=m(Math.abs(t),d),b&&0==+t&&(b=!1),l=(b?"("===c?c:"-":"-"===c||"("===c?"":c)+l,x=x+("s"===g?Hg[8+bg/3]:"")+(b&&"("===c?")":""),_)for(n=-1,i=t.length;++n(u=t.charCodeAt(n))||u>57){x=(46===u?o+t.slice(n+1):t.slice(n))+x,t=t.slice(0,n);break}}p&&!f&&(t=r(t,1/0));var w=l.length+t.length+x.length,M=w<h?new Array(h-w+1).join(e):"";switch(p&&f&&(t=r(M+t,M.length?h-x.length:1/0),M=""),s){case">1)+l+t+x+M.slice(w);break;default:t=M+l+t+x}return a(t)}t=pr(t);var e=t.fill,s=t.align,c=t.sign,l=t.symbol,f=t.zero,h=t.width,p=t.comma,d=t.precision,g=t.type,v=”$”===l?i[0]:”#”===l&&/[boxX]/.test(g)?”0″+g.toLowerCase():””,y=”$”===l?i[1]:/[%p]/.test(g)?u:””,m=Og[g],_=!g||/[defgprs%]/.test(g);return d=null==d?g?6:12:/[gprs]/.test(g)?Math.max(1,Math.min(21,d)):Math.max(0,Math.min(20,d)),n.toString=function(){return t+””},n}function e(t,e){var r=n((t=pr(t),t.type=”f”,t)),i=3*Math.max(-8,Math.min(8,Math.floor(Pg(e)/3))),o=Math.pow(10,-i),a=Hg[8+i/3];return function(t){return r(o*t)+a}}var r=t.grouping&&t.thousands?Lg(t.grouping,t.thousands):Fg,i=t.currency,o=t.decimal,a=t.numerals?Dg(t.numerals):Fg,u=t.percent||”%”;return{format:n,formatPrefix:e}};gr({decimal:”.”,thousands:”,”,grouping:[3],currency:[“$”,””]});var Bg=function(t){return Math.max(0,-Pg(Math.abs(t)))},Wg=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pg(n)/3)))-Pg(Math.abs(t)))},Yg=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Pg(n)-Pg(t))+1},$g=function(){return new vr};vr.prototype={constructor:vr,reset:function(){this.s=this.t=0},add:function(t){yr(Tv,t,this.t),yr(this,Tv.s,this.s),this.s?this.t+=Tv.t:this.s=Tv.t},valueOf:function(){return this.s}};var Xg,Gg,Vg,Zg,Qg,Jg,Kg,tv,nv,ev,rv,iv,ov,av,uv,sv,cv,lv,fv,hv,pv,dv,gv,vv,yv,mv,_v,xv,bv,wv,Mv,Tv=new vr,Ev=1e-6,Cv=Math.PI,kv=Cv/2,Sv=Cv/4,Nv=2*Cv,Av=180/Cv,Pv=Cv/180,Lv=Math.abs,Dv=Math.atan,qv=Math.atan2,jv=Math.cos,Rv=Math.ceil,Ov=Math.exp,zv=Math.log,Iv=Math.pow,Fv=Math.sin,Hv=Math.sign||function(t){return t>0?1:t<0?-1:0},Uv=Math.sqrt,Bv=Math.tan,Wv={Feature:function(t,n){wr(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)wr(e[r].geometry,n)}},Yv={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){Mr(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)Mr(e[r],n,0)},Polygon:function(t,n){Tr(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)Tr(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)wr(e[r],n)}},$v=function(t,n){t&&Wv.hasOwnProperty(t.type)?Wv[t.type](t,n):wr(t,n)},Xv=$g(),Gv=$g(),Vv={point:br,lineStart:br,lineEnd:br,polygonStart:function(){Xv.reset(),Vv.lineStart=Er,Vv.lineEnd=Cr},polygonEnd:function(){var t=+Xv;Gv.add(t<0?Nv+t:t),this.lineStart=this.lineEnd=this.point=br},sphere:function(){Gv.add(Nv)}},Zv=function(t){return Gv.reset(),$v(t,Vv),2*Gv},Qv=$g(),Jv={point:Rr,lineStart:zr,lineEnd:Ir,polygonStart:function(){Jv.point=Fr,Jv.lineStart=Hr,Jv.lineEnd=Ur,Qv.reset(),Vv.polygonStart()},polygonEnd:function(){Vv.polygonEnd(),Jv.point=Rr,Jv.lineStart=zr,Jv.lineEnd=Ir,XvEv?nv=90:Qv<-Ev&&(Kg=-90),uv[0]=Jg,uv[1]=tv}},Kv=function(t){var n,e,r,i,o,a,u;if(nv=tv=-(Jg=Kg=1/0),av=[],$v(t,Jv),e=av.length){for(av.sort(Wr),n=1,r=av[0],o=[r];nBr(r[0],r[1])&&(r[1]=i[1]),Br(i[0],r[1])>Br(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];na&&(a=u,Jg=i[0],tv=r[1])}return av=uv=null,Jg===1/0||Kg===1/0?[[NaN,NaN],[NaN,NaN]]:[[Jg,Kg],[tv,nv]]},ty={sphere:br,point:$r,lineStart:Gr,lineEnd:Qr,polygonStart:function(){ty.lineStart=Jr,ty.lineEnd=Kr},polygonEnd:function(){ty.lineStart=Gr,ty.lineEnd=Qr}},ny=function(t){sv=cv=lv=fv=hv=pv=dv=gv=vv=yv=mv=0,$v(t,ty);var n=vv,e=yv,r=mv,i=n*n+e*e+r*r;return i<1e-12&&(n=pv,e=dv,r=gv,cv<Ev&&(n=lv,e=fv,r=hv),(i=n*n+e*e+r*r)2?t[2]*Pv:0),n.invert=function(n){return n=t.invert(n[0]*Pv,n[1]*Pv),n[0]*=Av,n[1]*=Av,n},n},vy=function(){function t(t,n){e.push(t=r(t,n)),t[0]*=Av,t[1]*=Av}function n(){var t=i.apply(this,arguments),n=o.apply(this,arguments)*Pv,s=a.apply(this,arguments)*Pv;return e=[],r=ri(-t[0]*Pv,-t[1]*Pv,0).invert,ui(u,n,s,1),t={type:”Polygon”,coordinates:[e]},e=r=null,t}var e,r,i=ey([0,0]),o=ey(90),a=ey(6),u={point:t};return n.center=function(t){return arguments.length?(i=”function”==typeof t?t:ey([+t[0],+t[1]]),n):i},n.radius=function(t){return arguments.length?(o=”function”==typeof t?t:ey(+t),n):o},n.precision=function(t){return arguments.length?(a=”function”==typeof t?t:ey(+t),n):a},n},yy=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:br,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},my=function(t,n,e,r,i,o){var a,u=t[0],s=t[1],c=n[0],l=n[1],f=0,h=1,p=c-u,d=l-s;if(a=e-u,p||!(a>0)){if(a/=p,p<0){if(a<f)return;a0){if(a>h)return;a>f&&(f=a)}if(a=i-u,p||!(a<0)){if(a/=p,ph)return;a>f&&(f=a)}else if(p>0){if(a<f)return;a0)){if(a/=d,d<0){if(a<f)return;a0){if(a>h)return;a>f&&(f=a)}if(a=o-s,d||!(a<0)){if(a/=d,dh)return;a>f&&(f=a)}else if(d>0){if(a<f)return;a0&&(t[0]=u+f*p,t[1]=s+f*d),h<1&&(n[0]=u+h*p,n[1]=s+h*d),!0}}}}},_y=function(t,n){return Lv(t[0]-n[0])<Ev&&Lv(t[1]-n[1])<Ev},xy=function(t,n,e,r,i){var o,a,u=[],s=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],a=t[n];if(_y(r,a)){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}u.push(e=new ci(r,t,null,!0)),s.push(e.o=new ci(r,null,e,!1)),u.push(e=new ci(a,t,null,!1)),s.push(e.o=new ci(a,null,e,!0))}}),u.length){for(s.sort(n),li(u),li(s),o=0,a=s.length;o<a;++o)s[o].e=e=!e;for(var c,l,f=u[0];;){for(var h=f,p=!0;h.v;)if((h=h.n)===f)return;c=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,a=c.length;o=0;–o)i.point((l=c[o])[0],l[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()}}},by=1e9,wy=-by,My=function(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=fi(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]]}}},Ty=$g(),Ey=function(t,n){var e=n[0],r=n[1],i=[Fv(e),-jv(e),0],o=0,a=0;Ty.reset();for(var u=0,s=t.length;u<s;++u)if(l=(c=t[u]).length)for(var c,l,f=c[l-1],h=f[0],p=f[1]/2+Sv,d=Fv(p),g=jv(p),v=0;v=0?1:-1,T=M*w,E=T>Cv,C=d*x;if(Ty.add(qv(C*M*Fv(T),g*b+C*jv(T))),o+=E?w+M*Nv:w,E^h>=e^m>=e){var k=Lr(Ar(f),Ar(y));jr(k);var S=Lr(i,k);jr(S);var N=(E^w>=0?-1:1)*_r(S[2]);(r>N||r===N&&(k[0]||k[1]))&&(a+=E^w>=0?1:-1)}}return(o<-Ev||o<Ev&&Ty<-Ev)^1&a},Cy=$g(),ky={sphere:br,point:br,lineStart:hi,lineEnd:br,polygonStart:br,polygonEnd:br},Sy=function(t){return Cy.reset(),$v(t,ky),+Cy},Ny=[null,null],Ay={type:"LineString",coordinates:Ny},Py=function(t,n){return Ny[0]=t,Ny[1]=n,Sy(Ay)},Ly={Feature:function(t,n){return vi(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(vi(e[r].geometry,n))return!0;return!1}},Dy={Sphere:function(){return!0},Point:function(t,n){return yi(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(yi(e[r],n))return!0;return!1},LineString:function(t,n){return mi(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(mi(e[r],n))return!0;return!1},Polygon:function(t,n){return _i(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(_i(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r0){for(x||(o.polygonStart(),x=!0),o.lineStart(),t=0;t1&&2&i&&a.push(a.pop().concat(a.shift())),d.push(a.filter(Yi))}var p,d,g,v=n(o),y=i.invert(r[0],r[1]),m=yy(),_=n(m),x=!1,b={point:a,lineStart:s,lineEnd:c,polygonStart:function(){b.point=l,b.lineStart=f,b.lineEnd=h,d=[],p=[]},polygonEnd:function(){b.point=a,b.lineStart=s,b.lineEnd=c,d=xl(d);var t=Ey(p,y);d.length?(x||(o.polygonStart(),x=!0),xy(d,$i,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}},lm=cm(function(){return!0},Xi,Vi,[-Cv,-kv]),fm=function(t,n){function e(e,r,i,o){ui(o,t,n,i,e,r)}function r(t,n){return jv(t)*jv(n)>u}function i(t){var n,e,i,u,l;return{lineStart:function(){u=i=!1,l=1},point:function(f,h){var p,d=[f,h],g=r(f,h),v=s?g?0:a(f,h):g?a(f+(f<0?Cv:-Cv),h):0;if(!n&&(u=i=g)&&t.lineStart(),g!==i&&(!(p=o(n,d))||_y(n,p)||_y(d,p))&&(d[0]+=Ev,d[1]+=Ev,g=r(d[0],d[1])),g!==i)l=0,g?(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^g){var y;v&e||!(y=o(d,n,!0))||(l=0,s?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||n&&_y(n,d)||t.point(d[0],d[1]),n=d,i=g,e=v},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return l|(u&&i)<<1}}}function o(t,n,e){var r=Ar(t),i=Ar(n),o=[1,0,0],a=Lr(r,i),s=Pr(a,a),c=a[0],l=s-c*c;if(!l)return!e&&t;var f=u*s/l,h=-u*c/l,p=Lr(o,a),d=qr(o,f);Dr(d,qr(a,h));var g=p,v=Pr(d,g),y=Pr(g,g),m=v*v-y*(Pr(d,d)-1);if(!(m<0)){var _=Uv(m),x=qr(g,(-v-_)/y);if(Dr(x,d),x=Nr(x),!e)return x;var b,w=t[0],M=n[0],T=t[1],E=n[1];M<w&&(b=w,w=M,M=b);var C=M-w,k=Lv(C-Cv)<Ev,S=k||C<Ev;if(!k&&E0^x[1]<(Lv(x[0]-w)<Ev?T:E):T<=x[1]&&x[1]Cv^(w<=x[0]&&x[0]<=M)){var N=qr(g,(-v+_)/y);return Dr(N,d),[x,Nr(N)]}}}function a(n,e){var r=s?t:Cv-t,i=0;return nr&&(i|=2),er&&(i|=8),i}var u=jv(t),s=u>0,c=Lv(u)>Ev;return cm(r,i,e,s?[0,-t]:[-Cv,t-Cv])},hm=function(t){return{stream:Zi(t)}};Qi.prototype={constructor:Qi,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 pm=16,dm=jv(30*Pv),gm=function(t,n){return+n?no(t,n):to(t)},vm=Zi({point:function(t,n){this.stream.point(t*Pv,n*Pv)}}),ym=function(){return io(ao).scale(155.424).center([0,33.6442])},mm=function(){return ym().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},_m=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=mm(),c=ym().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=ym().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={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=-.425&&r=.166&&i=-.214&&r<-.115?l:s).invert(t)},t.stream=function(t){return e&&r===t?e:e=uo([s.stream(r=t),c.stream(t),l.stream(t)])},t.precision=function(t){return arguments.length?(s.precision(t),c.precision(t),l.precision(t),n()):s.precision()},t.scale=function(n){return arguments.length?(s.scale(n),c.scale(.35*n),l.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(f),o=c.translate([r-.307*e,u+.201*e]).clipExtent([[r-.425*e+Ev,u+.12*e+Ev],[r-.214*e-Ev,u+.234*e-Ev]]).stream(f),a=l.translate([r-.205*e,u+.212*e]).clipExtent([[r-.214*e+Ev,u+.166*e+Ev],[r-.115*e-Ev,u+.234*e-Ev]]).stream(f),n()},t.fitExtent=function(n,e){return Ji(t,n,e)},t.fitSize=function(n,e){return Ki(t,n,e)},t.scale(1070)},xm=so(function(t){return Uv(2/(1+t))});xm.invert=co(function(t){return 2*_r(t/2)});var bm=function(){return eo(xm).scale(124.75).clipAngle(179.999)},wm=so(function(t){return(t=mr(t))&&t/Fv(t)});wm.invert=co(function(t){return t});var Mm=function(){return eo(wm).scale(79.4188).clipAngle(179.999)};lo.invert=function(t,n){return[t,2*Dv(Ov(n))-kv]};var Tm=function(){return fo(lo).scale(961/Nv)},Em=function(){return io(po).scale(109.5).parallels([30,30])};go.invert=go;var Cm=function(){return eo(go).scale(152.63)},km=function(){return io(vo).scale(131.154).center([0,13.9389])};yo.invert=co(Dv);var Sm=function(){return eo(yo).scale(144.049).clipAngle(60)},Nm=function(){function t(){return i=o=null,a}var n,e,r,i,o,a,u=1,s=0,c=0,l=1,f=1,h=Ry,p=null,d=Ry;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,Ry):fi(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=mo((u=+n)*l,u*f,s,c),t()):u},translate:function(n){return arguments.length?(h=mo(u*l,u*f,s=+n[0],c=+n[1]),t()):[s,c]},reflectX:function(n){return arguments.length?(h=mo(u*(l=n?-1:1),u*f,s,c),t()):l<0},reflectY:function(n){return arguments.length?(h=mo(u*l,u*(f=n?-1:1),s,c),t()):f2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)},Dm=function(){function t(t){var o,a=0;t.eachAfter(function(t){var e=t.children;e?(t.x=Mo(e),t.y=Eo(e)):(t.x=o?a+=n(t,o):0,t.y=0,o=t)});var u=ko(t),s=So(t),c=u.x-n(u,s)/2,l=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)/(l-c)*e,n.y=(1-(t.y?n.y/t.y:1))*r})}var n=wo,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},qm=function(){return this.eachAfter(No)},jm=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},Om=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})},Im=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},Fm=function(t){for(var n=this,e=Ao(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},Hm=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},Um=function(){var t=[];return this.each(function(n){t.push(n)}),t},Bm=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},Wm=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n};Ro.prototype=Po.prototype={constructor:Ro,count:qm,each:jm,eachAfter:Om,eachBefore:Rm,sum:zm,sort:Im,path:Fm,ancestors:Hm,descendants:Um,leaves:Bm,links:Wm,copy:Lo};var Ym=function(t){for(var n=(t=t.slice()).length,e=null,r=e;n;){var i=new Oo(t[n-1]);r=r?r.next=i:e=i,t[void 0]=t[–n]}return{head:e,tail:r}},$m=function(t){return Io(Ym(t),[])},Xm=function(t){return Xo(t),t},Gm=function(t){return function(){return t}},Vm=function(){function t(t){return t.x=e/2,t.y=r/2,n?t.eachBefore(Jo(n)).eachAfter(Ko(i,.5)).eachBefore(ta(1)):t.eachBefore(Jo(Qo)).eachAfter(Ko(Zo,1)).eachAfter(Ko(i,t.r/Math.min(e,r))).eachBefore(ta(Math.min(e,r)/(2*t.r))),t}var n=null,e=1,r=1,i=Zo;return t.radius=function(e){return arguments.length?(n=Go(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:Gm(+n),t):i},t},Zm=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)},Qm=function(t,n,e,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(r-n)/t.value;++u<s;)o=a[u],o.y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*c},Jm=function(){function t(t){var a=t.height+1;return t.x0=t.y0=i,t.x1=e,t.y1=r/a,t.eachBefore(n(r,a)),o&&t.eachBefore(Zm),t}function n(t,n){return function(e){e.children&&Qm(e,e.x0,t*(e.depth+1)/n,e.x1,t*(e.depth+2)/n);var r=e.x0,o=e.y0,a=e.x1-i,u=e.y1-i;a<r&&(r=a=(r+a)/2),u<o&&(o=u=(o+u)/2),e.x0=r,e.y0=o,e.x1=a,e.y1=u}}var e=1,r=1,i=0,o=!1;return t.round=function(n){return arguments.length?(o=!!n,t):o},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i=+n,t):i},t},Km="$",t_={depth:-1},n_={},e_=function(){function t(t){var r,i,o,a,u,s,c,l=t.length,f=new Array(l),h={};for(i=0;i<l;++i)r=t[i],u=f[i]=new Ro(r),null!=(s=n(r,i,t))&&(s+="")&&(c=Km+(u.id=s),h[c]=c in h?n_:u);for(i=0;i0)throw new Error(“cycle”);return o}var n=na,e=ea;return t.id=function(e){return arguments.length?(n=Vo(e),t):n},t.parentId=function(n){return arguments.length?(e=Vo(n),t):e},t};ca.prototype=Object.create(Ro.prototype);var r_=function(){function t(t){var r=la(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),s)t.eachBefore(i);else{var c=t,l=t,f=t;t.eachBefore(function(t){t.xl.x&&(l=t),t.depth>f.depth&&(f=t)});var h=c===l?1:o(c,l)/2,p=h-c.x,d=a/(l.x+h+p),g=u/(f.depth||1);t.eachBefore(function(t){t.x=(t.x+p)*d,t.y=t.depth*g})}return t}function n(t){var n=t.children,e=t.parent.children,i=t.i?e[t.i-1]:null;if(n){ua(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,l=a.m,f=u.m,h=s.m;u=oa(u),i=ia(i),u&&i;)s=ia(s),a=oa(a),a.a=t,r=u.z+f-i.z-c+o(u._,i._),r>0&&(aa(sa(u,t,e),t,r),c+=r,l+=r),f+=u.m,c+=i.m,h+=s.m,l+=a.m;u&&!oa(a)&&(a.t=u,a.m+=f-l),i&&!ia(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=ra,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},i_=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}(o_),u_=function(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(n),a=[0],r&&t.eachBefore(Zm),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<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=h,t.children&&(n=a[t.depth+1]=u(t)/2,r+=f(t)-n,i+=s(t)-n,o-=c(t)-n,h-=l(t)-n,o<r&&(r=o=(r+o)/2),h=n-1){var c=s[t];return c.x0=r,c.y0=i,c.x1=a,c.y1=u,void 0}for(var f=l[t],h=e/2+f,p=t+1,d=n-1;p>>1;l[g]<h?p=g+1:d=g}h-l[p-1]<l[p]-h&&t+1

u-i){var m=(r*y+a*v)/e;o(t,p,v,r,i,m,u),o(p,n,y,m,i,a,u)}else{var _=(i*y+u*v)/e;o(t,p,v,r,i,a,_),o(p,n,y,r,_,a,u)}}var a,u,s=t.children,c=s.length,l=new Array(c+1);for(l[0]=u=a=0;a<c;++a)l[a+1]=u+=s[a].value;o(0,c,t.value,n,e,r,i)},c_=function(t,n,e,r,i){(1&t.depth?i_:Qm)(t,n,e,r,i)},l_=function t(n){function e(t,e,r,i,o){if((a=t._squarify)&&a.ratio===n)for(var a,u,s,c,l,f=-1,h=a.length,p=t.value;++f<h;){for(u=a[f],s=u.children,c=u.value=0,l=s.length;c1?n:1)},e}(o_),f_=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2},h_=function(t){for(var n,e,r=-1,i=t.length,o=0,a=0,u=t[i-1],s=0;++r<i;)n=u,u=t[r],s+=e=n[0]*u[1]-u[0]*n[1],o+=(n[0]+u[0])*e,a+=(n[1]+u[1])*e;return s*=3,[o/s,a/s]},p_=function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])},d_=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(ha),n=0;n=0;–n)c.push(t[r[o[n]][2]]);for(n=+u;n<a.length-s;++n)c.push(t[r[a[n]][2]]);return c},g_=function(t,n){for(var e,r,i=t.length,o=t[i-1],a=n[0],u=n[1],s=o[0],c=o[1],l=!1,f=0;fu!=c>u&&a<(s-e)*(u-r)/(c-r)+e&&(l=!l),s=e,c=r;return l},v_=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+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(__),w_=function t(n){function e(){var t=b_.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(__),M_=function t(n){function e(t){return function(){for(var e=0,r=0;r=200&&e3&&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?l:(l=null==t?null:t+"",r)},password:function(t){return arguments.length0&&(c.timeout=h),null==o&&”function”==typeof e&&(o=e,e=null),null!=o&&1===o.length&&(o=ba(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},k_=function(t,n){return function(e,r){var i=C_(e).mimeType(t).response(n);if(null!=r){if(“function”!=typeof r)throw new Error(“invalid callback: “+r);return i.get(r)}return i}},S_=k_(“text/html”,function(t){return document.createRange().createContextualFragment(t.responseText)}),N_=k_(“application/json”,function(t){return JSON.parse(t.responseText)}),A_=k_(“text/plain”,function(t){return t.responseText}),P_=k_(“application/xml”,function(t){var n=t.responseXML;if(!n)throw new Error(“parse error”);return n}),L_=function(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=C_(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(Ma(n,r=t)):r},o.row(r),i?o.get(i):o}},D_=L_("text/csv",Vd),q_=L_("text/tab-separated-values",tg),j_=Array.prototype,R_=j_.map,O_=j_.slice,z_={name:"implicit"},I_=function(t){return function(){return t}},F_=function(t){return+t},H_=[0,1],U_=function(n,e,r){var o,a=n[0],u=n[n.length-1],s=i(a,u,null==e?10:e);switch(r=pr(null==r?",f":r),r.type){case"s":var c=Math.max(Math.abs(a),Math.abs(u));return null!=r.precision||isNaN(o=Wg(s,c))||(r.precision=o),t.formatPrefix(r,c);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Yg(s,Math.max(Math.abs(a),Math.abs(u))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Bg(s))||(r.precision=o-2*("%"===r.type))}return t.format(r)},B_=function(t,n){t=t.slice();var e,r=0,i=t.length-1,o=t[r],a=t[i];return a0?t>1?Qa(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):$_:null};var X_=$_.range,G_=6e4,V_=6048e5,Z_=Qa(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,n){t.setTime(+t+1e3*n)},function(t,n){return(n-t)/1e3},function(t){return t.getUTCSeconds()}),Q_=Z_.range,J_=Qa(function(t){t.setTime(Math.floor(t/G_)*G_)},function(t,n){t.setTime(+t+n*G_)},function(t,n){return(n-t)/G_},function(t){return t.getMinutes()}),K_=J_.range,tx=Qa(function(t){var n=t.getTimezoneOffset()*G_%36e5;n0?Qa(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 bx=xx.range,wx=Qa(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*G_)},function(t,n){return(n-t)/G_},function(t){return t.getUTCMinutes()}),Mx=wx.range,Tx=Qa(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getUTCHours()}),Ex=Tx.range,Cx=Qa(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/864e5},function(t){return t.getUTCDate()-1}),kx=Cx.range,Sx=Ka(0),Nx=Ka(1),Ax=Ka(2),Px=Ka(3),Lx=Ka(4),Dx=Ka(5),qx=Ka(6),jx=Sx.range,Rx=Nx.range,Ox=Ax.range,zx=Px.range,Ix=Lx.range,Fx=Dx.range,Hx=qx.range,Ux=Qa(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()}),Bx=Ux.range,Wx=Qa(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()});Wx.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Qa(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 Yx,$x=Wx.range,Xx={“-“:””,_:” “,0:”0″},Gx=/^\\s*\\d+/,Vx=/^%/,Zx=/[\\\\\\^\\$\\*\\+\\?\\|\\[\\]\\(\\)\\.\\{\\}]/g;Qu({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 Qx=Date.prototype.toISOString?Ju:t.utcFormat(“%Y-%m-%dT%H:%M:%S.%LZ”),Jx=+new Date(“2000-01-01T00:00:00.000Z”)?Ku:t.utcParse(“%Y-%m-%dT%H:%M:%S.%LZ”),Kx=1e3,tb=60*Kx,nb=60*tb,eb=24*nb,rb=7*eb,ib=30*eb,ob=365*eb,ab=function(){return es(xx,mx,ix,ex,tx,J_,Z_,$_,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},ub=function(){return es(Wx,Ux,Sx,Cx,Tx,wx,Z_,$_,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},sb=function(t){return t.match(/.{6}/g).map(function(t){return”#”+t})},cb=sb(“1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf”),lb=sb(“393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6”),fb=sb(“3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9”),hb=sb(“1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5″),pb=Vh(Gt(300,.5,0),Gt(-240,.5,1)),db=Vh(Gt(-100,.75,.35),Gt(80,1.5,.8)),gb=Vh(Gt(260,.75,.35),Gt(80,1.5,.8)),vb=Gt(),yb=function(t){(t1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return vb.h=360*t-100,vb.s=1.5-1.5*n,vb.l=.8-.9*n,vb+””},mb=rs(sb(“44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725”)),_b=rs(sb(“00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf”)),xb=rs(sb(“00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4”)),bb=rs(sb(“0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921”)),wb=function(t){return function(){return t}},Mb=Math.abs,Tb=Math.atan2,Eb=Math.cos,Cb=Math.max,kb=Math.min,Sb=Math.sin,Nb=Math.sqrt,Ab=1e-12,Pb=Math.PI,Lb=Pb/2,Db=2*Pb,qb=function(){function t(){var t,c,l=+n.apply(this,arguments),f=+e.apply(this,arguments),h=o.apply(this,arguments)-Lb,p=a.apply(this,arguments)-Lb,d=Mb(p-h),g=p>h;if(s||(s=t=Re()),fAb)if(d>Db-Ab)s.moveTo(f*Eb(h),f*Sb(h)),s.arc(0,0,f,h,p,!g),l>Ab&&(s.moveTo(l*Eb(p),l*Sb(p)),s.arc(0,0,l,p,h,g));else{var v,y,m=h,_=p,x=h,b=p,w=d,M=d,T=u.apply(this,arguments)/2,E=T>Ab&&(i?+i.apply(this,arguments):Nb(l*l+f*f)),C=kb(Mb(f-l)/2,+r.apply(this,arguments)),k=C,S=C;if(E>Ab){var N=as(E/l*Sb(T)),A=as(E/f*Sb(T));(w-=2*N)>Ab?(N*=g?1:-1,x+=N,b-=N):(w=0,x=b=(h+p)/2),(M-=2*A)>Ab?(A*=g?1:-1,m+=A,_-=A):(M=0,m=_=(h+p)/2)}var P=f*Eb(m),L=f*Sb(m),D=l*Eb(b),q=l*Sb(b);if(C>Ab){var j=f*Eb(_),R=f*Sb(_),O=l*Eb(x),z=l*Sb(x);if(dAb?hs(P,L,O,z,j,R,D,q):[D,q],F=P-I[0],H=L-I[1],U=j-I[0],B=R-I[1],W=1/Sb(os((F*U+H*B)/(Nb(F*F+H*H)*Nb(U*U+B*B)))/2),Y=Nb(I[0]*I[0]+I[1]*I[1]);k=kb(C,(l-Y)/(W-1)),S=kb(C,(f-Y)/(W+1))}}M>Ab?S>Ab?(v=ps(O,z,P,L,f,S,g),y=ps(j,R,D,q,f,S,g),s.moveTo(v.cx+v.x01,v.cy+v.y01),SAb&&w>Ab?k>Ab?(v=ps(D,q,j,R,l,-k,g),y=ps(P,L,O,z,l,-k,g),s.lineTo(v.cx+v.x01,v.cy+v.y01),k<C?s.arc(v.cx,v.cy,k,Tb(v.y01,v.x01),Tb(y.y01,y.x01),!g):(s.arc(v.cx,v.cy,k,Tb(v.y01,v.x01),Tb(v.y11,v.x11),!g),s.arc(0,0,l,Tb(v.cy+v.y11,v.cx+v.x11),Tb(y.cy+y.y11,y.cx+y.x11),g),s.arc(y.cx,y.cy,k,Tb(y.y11,y.x11),Tb(y.y01,y.x01),!g))):s.arc(0,0,l,b,x,g):s.lineTo(D,q)}else s.moveTo(0,0);if(s.closePath(),t)return s=null,t+""||null}var n=us,e=ss,r=wb(0),i=null,o=cs,a=ls,u=fs,s=null;return t.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Pb/2;return[Eb(r)*t,Sb(r)*t]},t.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:wb(+e),t):n},t.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:wb(+n),t):e},t.cornerRadius=function(n){return arguments.length?(r="function"==typeof n?n:wb(+n),t):r},t.padRadius=function(n){return arguments.length?(i=null==n?null:"function"==typeof n?n:wb(+n),t):i},t.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:wb(+n),t):o},t.endAngle=function(n){return arguments.length?(a="function"==typeof n?n:wb(+n),t):a},t.padAngle=function(n){return arguments.length?(u="function"==typeof n?n:wb(+n),t):u},t.context=function(n){return arguments.length?(s=null==n?null:n,t):s},t};ds.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(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:this._context.lineTo(t,n)}}};var jb=function(t){return new ds(t)},Rb=function(){function t(t){var u,s,c,l=t.length,f=!1;for(null==i&&(a=o(c=Re())),u=0;u<=l;++u)!(u<l&&r(s=t[u],u,t))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+n(s,u,t),+e(s,u,t));if(c)return a=null,c+""||null}var n=gs,e=vs,r=wb(!0),i=null,o=jb,a=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:wb(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:wb(+n),t):e},t.defined=function(n){return arguments.length?(r="function"==typeof n?n:wb(!!n),t):r},t.curve=function(n){return arguments.length?(o=n,null!=i&&(a=o(i)),t):o},t.context=function(n){return arguments.length?(null==n?i=a=null:a=o(i=n),t):i},t},Ob=function(){function t(t){var n,l,f,h,p,d=t.length,g=!1,v=new Array(d),y=new Array(d);for(null==u&&(c=s(p=Re())),n=0;n<=d;++n){if(!(n=l;–f)c.point(v[f],y[f]);c.lineEnd(),c.areaEnd()}g&&(v[n]=+e(h,n,t),y[n]=+i(h,n,t),c.point(r?+r(h,n,t):v[n],o?+o(h,n,t):y[n]))}if(p)return c=null,p+””||null}function n(){return Rb().defined(a).curve(s).context(u)}var e=gs,r=null,i=wb(0),o=vs,a=wb(!0),u=null,s=jb,c=null;return t.x=function(n){return arguments.length?(e=”function”==typeof n?n:wb(+n),r=null,t):e},t.x0=function(n){return arguments.length?(e=”function”==typeof n?n:wb(+n),t):e},t.x1=function(n){return arguments.length?(r=null==n?null:”function”==typeof n?n:wb(+n),t):r},t.y=function(n){return arguments.length?(i=”function”==typeof n?n:wb(+n),o=null,t):i},t.y0=function(n){return arguments.length?(i=”function”==typeof n?n:wb(+n),t):i},t.y1=function(n){return arguments.length?(o=null==n?null:”function”==typeof n?n:wb(+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:wb(!!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},zb=function(t,n){return nt?1:n>=t?0:NaN},Ib=function(t){return t},Fb=function(){function t(t){var u,s,c,l,f,h=t.length,p=0,d=new Array(h),g=new Array(h),v=+i.apply(this,arguments),y=Math.min(Db,Math.max(-Db,o.apply(this,arguments)-v)),m=Math.min(Math.abs(y)/h,a.apply(this,arguments)),_=m*(y<0?-1:1);for(u=0;u0&&(p+=f);for(null!=e?d.sort(function(t,n){return e(g[t],g[n])}):null!=r&&d.sort(function(n,e){return r(t[n],t[e])}),u=0,c=p?(y-h*_)/p:0;u0?f*c:0)+_,g[s]={data:t[s],index:u,value:f,startAngle:v,endAngle:l,padAngle:m};return g}var n=Ib,e=zb,r=null,i=wb(0),o=wb(Db),a=wb(0);return t.value=function(e){return arguments.length?(n=”function”==typeof e?e:wb(+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:wb(+n),t):i},t.endAngle=function(n){return arguments.length?(o=”function”==typeof n?n:wb(+n),t):o},t.padAngle=function(n){return arguments.length?(a=”function”==typeof n?n:wb(+n),t):a},t},Hb=ms(jb);ys.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 Ub=function(){return _s(Rb().curve(Hb))},Bb=function(){var t=Ob().curve(Hb),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 _s(e())},delete t.lineX0,t.lineEndAngle=function(){return _s(r())},delete t.lineX1,t.lineInnerRadius=function(){return _s(i())},delete t.lineY0,t.lineOuterRadius=function(){return _s(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(ms(t)):n()._curve},t},Wb=Array.prototype.slice,Yb=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]},$b={draw:function(t,n){var e=Math.sqrt(n/Pb);t.moveTo(e,0),t.arc(0,0,e,0,Db)}},Xb={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()}},Gb=Math.sqrt(1/3),Vb=2*Gb,Zb={draw:function(t,n){var e=Math.sqrt(n/Vb),r=e*Gb;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Qb=Math.sin(Pb/10)/Math.sin(7*Pb/10),Jb=Math.sin(Db/10)*Qb,Kb=-Math.cos(Db/10)*Qb,tw={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=Jb*e,i=Kb*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o0)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 gw=function t(n){function e(t){return 1===n?new As(t):new Ds(t,n)}return e.beta=function(n){return t(+n)},e}(.85);js.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:qs(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:qs(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 vw=function t(n){function e(t){return new js(t,n)}return e.tension=function(n){return t(+n)},e}(0);Rs.prototype={areaStart:fw,areaEnd:fw,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:qs(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 yw=function t(n){function e(t){return new Rs(t,n)}return e.tension=function(n){return t(+n)},e}(0);Os.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:qs(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 mw=function t(n){function e(t){return new Os(t,n)}return e.tension=function(n){return t(+n)},e}(0);Is.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:zs(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 _w=function t(n){function e(t){return n?new Is(t,n):new js(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Fs.prototype={areaStart:fw,areaEnd:fw,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:zs(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 xw=function t(n){function e(t){return n?new Fs(t,n):new Rs(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Hs.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:zs(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 bw=function t(n){function e(t){return n?new Hs(t,n):new Os(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Us.prototype={areaStart:fw,areaEnd:fw,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 ww=function(t){return new Us(t)};Xs.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:$s(this,this._t0,Ys(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,$s(this,Ys(this,e=Ws(this,t,n)),e);break;default:$s(this,this._t0,e=Ws(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Gs.prototype=Object.create(Xs.prototype)).point=function(t,n){Xs.prototype.point.call(this,n,t)},Vs.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)}},Js.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=Ks(t),i=Ks(n),o=0,a=1;a<e;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Mw=function(t){return new Js(t)};tc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t=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._t1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o<i;++o)for(r=a,a=t[n[o]],e=0;e=0;)e[n]=n;return e},kw=function(){function t(t){var o,a,u=n.apply(this,arguments),s=t.length,c=u.length,l=new Array(c);for(o=0;o<c;++o){for(var f,h=u[o],p=l[o]=new Array(s),d=0;d<s;++d)p[d]=f=[0,+i(t[d],h,d,t)],f.data=t[d];p.key=h}for(o=0,a=e(l);o0){for(var e,r,i,o=0,a=t[0].length;o<a;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e1)for(var e,r,i,o,a,u,s=0,c=t[n[0]].length;s<c;++s)for(o=a=0,e=0;e=0?(r[0]=o,r[1]=o+=i):i0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var a=0,u=0;a0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;a<r;++a){for(var u=0,s=0,c=0;u<i;++u){for(var l=t[n[u]],f=l[a][1]||0,h=l[a-1][1]||0,p=(f-h)/2,d=0;d<u;++d){var g=t[n[d]];p+=(g[a][1]||0)-(g[a-1][1]||0)}s+=f,c+=p*f}e[a-1][1]+=e[a-1][0]=o,s&&(o-=c/s)}e[a-1][1]+=e[a-1][0]=o,Ew(t,n)}},Lw=function(t){var n=t.map(ic);return Cw(t).sort(function(t,e){return n[t]-n[e]})},Dw=function(t){return Lw(t).reverse()},qw=function(t){var n,e,r=t.length,i=t.map(ic),o=Cw(t).sort(function(t,n){return i[n]-i[t]}),a=0,u=0,s=[],c=[];for(n=0;n<r;++n)e=o[n],a<u?(a+=i[e],s.push(e)):(u+=i[e],c.push(e));return c.reverse().concat(s)},jw=function(t){return Cw(t).reverse()},Rw=function(t){return function(){return t}};uc.prototype={constructor:uc,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=fc(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)r=e.U,e===r.L?(i=r.R,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(cc(this,e),t=e,e=t.U),e.C=!1,r.C=!0,lc(this,r))):(i=r.L,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(lc(this,e),t=e,e=t.U),e.C=!1,r.C=!0,cc(this,r))),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,a=t.R;if(e=o?a?fc(a):o:a,i?i.L===t?i.L=e:i.R=e:this._=e,o&&a?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==a?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=a,a.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(n=i.R,n.C&&(n.C=!1,i.C=!0,cc(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,lc(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,cc(this,i),t=this._;break}}else if(n=i.L,n.C&&(n.C=!1,i.C=!0,lc(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,cc(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,lc(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Ow,zw,Iw,Fw,Hw,Uw=[],Bw=[],Ww=1e-6,Yw=1e-12;Rc.prototype={constructor:Rc,polygons:function(){var t=this.edges;return this.cells.map(function(n){var e=n.halfedges.map(function(e){return xc(n,t[e])});return e.data=n.site.data,e})},triangles:function(){var t=[],n=this.edges;return this.cells.forEach(function(e,r){if(o=(i=e.halfedges).length)for(var i,o,a,u=e.site,s=-1,c=n[i[o-1]],l=c.left===u?c.right:c.left;++s<o;)a=l,c=n[i[s]],l=c.left===u?c.right:c.left,a&&l&&r<a.index&&r<l.index&&qc(u,a,l)=u)return null;var s=t-i.site[0],c=n-i.site[1],l=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],f=s*s+c*c;f<l&&(l=f,a=u.index)}})}while(null!==a);return o._found=r,null==e||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=_.apply(t,r),s=e||o(a),c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),l=t.__zoom,f=”function”==typeof n?n.apply(t,r):n,h=k(l.invert(s).concat(c/l.k),f.invert(s).concat(c/f.k));return function(t){if(1===t)t=f;else{var n=h(t),e=c/n[2];t=new zc(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=S.length;rD}o.zoom(“mouse”,i(r(o.that.__zoom,o.mouse[0]=Vl(o.that),o.mouse[1]),o.extent))}function e(){a.on(“mousemove.zoom mouseup.zoom”,null),_t(t.event.view,o.moved),Vw(),o.end()}if(!y&&m.apply(this,arguments)){var o=u(this,arguments),a=Lf(t.event.view).on(“mousemove.zoom”,n,!0).on(“mouseup.zoom”,e,!0),s=Vl(this),c=t.event.clientX,l=t.event.clientY;Of(t.event.view),Fc(),o.mouse=[s,this.__zoom.invert(s)],mp(this),o.start()}}function f(){if(m.apply(this,arguments)){var o=this.__zoom,u=Vl(this),s=o.invert(u),c=o.k*(t.event.shiftKey?.5:2),l=i(r(e(o,c),u,s),_.apply(this,arguments));Vw(),C>0?Lf(this).transition().duration(C).call(a,l,u):Lf(this).call(n.transform,l)}}function h(){if(m.apply(this,arguments)){var n,e,r,i,o=u(this,arguments),a=t.event.changedTouches,s=a.length;for(Fc(),e=0;e<s;++e)r=a[e],i=qf(this,a,r.identifier),i=[i,this.__zoom.invert(i),r.identifier],o.touch0?o.touch1||(o.touch1=i):(o.touch0=i,n=!0);if(v&&(v=clearTimeout(v),!o.touch1))return o.end(),void((i=Lf(this).on("dblclick.zoom"))&&i.apply(this,arguments));n&&(v=setTimeout(function(){v=null},P),mp(this),o.start())}}function p(){var n,o,a,s,c=u(this,arguments),l=t.event.changedTouches,f=l.length;for(Vw(),v&&(v=clearTimeout(v)),n=0;n<f;++n)o=l[n],a=qf(this,l,o.identifier),c.touch0&&c.touch0[2]===o.identifier?c.touch0[0]=a:c.touch1&&c.touch1[2]===o.identifier&&(c.touch1[0]=a);if(o=c.that.__zoom,c.touch1){var h=c.touch0[0],p=c.touch0[1],d=c.touch1[0],g=c.touch1[1],y=(y=d[0]-h[0])*y+(y=d[1]-h[1])*y,m=(m=g[0]-p[0])*m+(m=g[1]-p[1])*m;o=e(o,Math.sqrt(y/m)),a=[(h[0]+d[0])/2,(h[1]+d[1])/2],s=[(p[0]+g[0])/2,(p[1]+g[1])/2]}else{if(!c.touch0)return;a=c.touch0[0],s=c.touch0[1]}c.zoom("touch",i(r(o,a,s),c.extent))}function d(){var n,e,r=u(this,arguments),i=t.event.changedTouches,o=i.length;for(Fc(),y&&clearTimeout(y),y=setTimeout(function(){y=null},P),n=0;n<o;++n)e=i[n],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):r.end()}var v,y,m=Hc,_=Uc,x=0,b=1/0,w=-b,M=b,T=w,E=M,C=250,k=Bh,S=[],A=g("start","zoom","end"),P=500,L=150,D=0;return n.transform=function(t,n){var e=t.selection?t.selection():t;e.property("__zoom",Bc),t!==e?a(t,n):e.interrupt().each(function(){u(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},n.scaleBy=function(t,e){n.scaleTo(t,function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)})},n.scaleTo=function(t,a){n.transform(t,function(){var t=_.apply(this,arguments),n=this.__zoom,u=o(t),s=n.invert(u);return i(r(e(n,"function"==typeof a?a.apply(this,arguments):a),u,s),t)})},n.translateBy=function(t,e,r){n.transform(t,function(){return i(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof r?r.apply(this,arguments):r),_.apply(this,arguments))})},s.prototype={start:function(){return 1==++this.active&&(this.index=S.push(this)-1,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==–this.active&&(S.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){N(new Oc(n,t,this.that.__zoom),A.apply,A,[t,this.that,this.args])}},n.filter=function(t){return arguments.length?(m="function"==typeof t?t:Xw(!!t),n):m},n.extent=function(t){return arguments.length?(_="function"==typeof t?t:Xw([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),n):_},n.scaleExtent=function(t){return arguments.length?(x=+t[0],b=+t[1],n):[x,b]},n.translateExtent=function(t){return arguments.length?(w=+t[0][0],M=+t[1][0],T=+t[0][1],E=+t[1][1],n):[[w,T],[M,E]]},n.duration=function(t){return arguments.length?(C=+t,n):C},n.interpolate=function(t){return arguments.length?(k=t,n):k},n.on=function(){var t=A.on.apply(A,arguments);return t===A?n:t},n.clickDistance=function(t){return arguments.length?(D=(t=+t)*t,n):Math.sqrt(D)},n};t.version="4.9.1",t.bisect=Xc,t.bisectRight=Xc,t.bisectLeft=Gc,t.ascending=Wc,t.bisector=Yc,t.cross=Zc,t.descending=Qc,t.deviation=tl,t.extent=nl,t.histogram=pl,t.thresholdFreedmanDiaconis=gl,t.thresholdScott=vl,t.thresholdSturges=hl,t.max=yl,t.mean=ml,t.median=_l,t.merge=xl,t.min=bl,t.pairs=Vc,t.permute=wl,t.quantile=dl,t.range=ul,t.scan=Ml,t.shuffle=Tl,t.sum=El,t.ticks=fl,t.tickIncrement=r,t.tickStep=i,t.transpose=Cl,t.variance=Kc,t.zip=kl,t.axisTop=f,t.axisRight=h,t.axisBottom=p,t.axisLeft=d,t.brush=Sd,t.brushX=Pe,t.brushY=Le,t.brushSelection=Ae,t.chord=jd,t.ribbon=Hd,t.nest=Ud,t.set=Ve,t.map=Be,t.keys=Wd,t.values=Yd,t.entries=$d,t.color=Ct,t.rgb=At,t.hsl=qt,t.lab=zt,t.hcl=Yt,t.cubehelix=Gt,t.dispatch=g,t.drag=If,t.dragDisable=Of,t.dragEnable=_t,t.dsvFormat=Xd,t.csvParse=Vd,t.csvParseRows=Zd,t.csvFormat=Qd,t.csvFormatRows=Jd,t.tsvParse=tg,t.tsvParseRows=ng,t.tsvFormat=eg,t.tsvFormatRows=rg,t.easeLinear=ie,t.easeQuad=ue,t.easeQuadIn=oe,t.easeQuadOut=ae,t.easeQuadInOut=ue,t.easeCubic=le,t.easeCubicIn=se,t.easeCubicOut=ce,t.easeCubicInOut=le,t.easePoly=Bp,t.easePolyIn=Hp,t.easePolyOut=Up,t.easePolyInOut=Bp,t.easeSin=pe,t.easeSinIn=fe,t.easeSinOut=he,t.easeSinInOut=pe,t.easeExp=ve,t.easeExpIn=de,t.easeExpOut=ge,t.easeExpInOut=ve,t.easeCircle=_e,t.easeCircleIn=ye,t.easeCircleOut=me,t.easeCircleInOut=_e,t.easeBounce=be,t.easeBounceIn=xe,t.easeBounceOut=be,t.easeBounceInOut=we,t.easeBack=id,t.easeBackIn=ed,t.easeBackOut=rd,t.easeBackInOut=id,t.easeElastic=ud,t.easeElasticIn=ad,t.easeElasticOut=ud,t.easeElasticInOut=sd,t.forceCenter=ig,t.forceCollide=wg,t.forceLink=Mg,t.forceManyBody=kg,t.forceSimulation=Cg,t.forceX=Sg,t.forceY=Ng,t.formatDefaultLocale=gr,t.formatLocale=Ug,t.formatSpecifier=pr,t.precisionFixed=Bg,t.precisionPrefix=Wg,t.precisionRound=Yg,t.geoArea=Zv,t.geoBounds=Kv,t.geoCentroid=ny,t.geoCircle=vy,t.geoClipExtent=My,t.geoContains=qy,t.geoDistance=Py,t.geoGraticule=Ti,t.geoGraticule10=Ei,t.geoInterpolate=jy,t.geoLength=Sy,t.geoPath=sm,t.geoAlbers=mm,t.geoAlbersUsa=_m,t.geoAzimuthalEqualArea=bm,t.geoAzimuthalEqualAreaRaw=xm,t.geoAzimuthalEquidistant=Mm,t.geoAzimuthalEquidistantRaw=wm,t.geoConicConformal=Em,t.geoConicConformalRaw=po,t.geoConicEqualArea=ym,t.geoConicEqualAreaRaw=ao,t.geoConicEquidistant=km,t.geoConicEquidistantRaw=vo,t.geoEquirectangular=Cm,t.geoEquirectangularRaw=go,t.geoGnomonic=Sm,t.geoGnomonicRaw=yo,t.geoIdentity=Nm,t.geoProjection=eo,t.geoProjectionMutator=ro,t.geoMercator=Tm,t.geoMercatorRaw=lo,t.geoOrthographic=Am,t.geoOrthographicRaw=_o,t.geoStereographic=Pm,t.geoStereographicRaw=xo,t.geoTransverseMercator=Lm,t.geoTransverseMercatorRaw=bo,t.geoRotation=gy,t.geoStream=$v,t.geoTransform=hm,t.cluster=Dm,t.hierarchy=Po,t.pack=Vm,t.packSiblings=Xm,t.packEnclose=$m,t.partition=Jm,t.stratify=e_,t.tree=r_,t.treemap=u_,t.treemapBinary=s_,t.treemapDice=Qm,t.treemapSlice=i_,t.treemapSliceDice=c_,t.treemapSquarify=a_,t.treemapResquarify=l_,t.interpolate=jh,t.interpolateArray=Sh,t.interpolateBasis=wh,t.interpolateBasisClosed=Mh,t.interpolateDate=Nh,t.interpolateNumber=Ah,t.interpolateObject=Ph,t.interpolateRound=Rh,t.interpolateString=qh,t.interpolateTransformCss=Fh,t.interpolateTransformSvg=Hh,t.interpolateZoom=Bh,t.interpolateRgb=Eh,t.interpolateRgbBasis=Ch,t.interpolateRgbBasisClosed=kh,t.interpolateHsl=Wh,t.interpolateHslLong=Yh,t.interpolateLab=pn,t.interpolateHcl=$h,t.interpolateHclLong=Xh,t.interpolateCubehelix=Gh,t.interpolateCubehelixLong=Vh,t.quantize=Zh,t.path=Re,t.polygonArea=f_,t.polygonCentroid=h_;t.polygonHull=d_,t.polygonContains=g_,t.polygonLength=v_,t.quadtree=ir,t.queue=xa,t.randomUniform=x_,t.randomNormal=b_,t.randomLogNormal=w_,t.randomBates=T_,t.randomIrwinHall=M_,t.randomExponential=E_,t.request=C_,t.html=S_,t.json=N_,t.text=A_,t.xml=P_,t.csv=D_,t.tsv=q_,t.scaleBand=Ea,t.scalePoint=ka,t.scaleIdentity=Oa,t.scaleLinear=Ra,t.scaleLog=Wa,t.scaleOrdinal=Ta,t.scaleImplicit=z_,t.scalePow=$a,t.scaleSqrt=Xa,t.scaleQuantile=Ga,t.scaleQuantize=Va,t.scaleThreshold=Za,t.scaleTime=ab,t.scaleUtc=ub,t.schemeCategory10=cb,t.schemeCategory20b=lb,t.schemeCategory20c=fb,t.schemeCategory20=hb,t.interpolateCubehelixDefault=pb,t.interpolateRainbow=yb,t.interpolateWarm=db,t.interpolateCool=gb,t.interpolateViridis=mb,t.interpolateMagma=_b,t.interpolateInferno=xb,t.interpolatePlasma=bb,t.scaleSequential=is,t.creator=Il,t.local=w,t.matcher=Wl,t.mouse=Vl,t.namespace=zl,t.namespaces=Ol,t.select=Lf,t.selectAll=Df,t.selection=yt,t.selector=Zl,t.selectorAll=Jl,t.style=Y,t.touch=qf,t.touches=jf,t.window=mf,t.customEvent=N,t.arc=qb,t.area=Ob,t.line=Rb,t.pie=Fb,t.radialArea=Bb,t.radialLine=Ub,t.linkHorizontal=Cs,t.linkVertical=ks,t.linkRadial=Ss,t.symbol=lw,t.symbols=cw,t.symbolCircle=$b,t.symbolCross=Xb,t.symbolDiamond=Zb,t.symbolSquare=nw,t.symbolStar=tw,t.symbolTriangle=rw,t.symbolWye=sw,t.curveBasisClosed=pw,t.curveBasisOpen=dw,t.curveBasis=hw,t.curveBundle=gw,t.curveCardinalClosed=yw,t.curveCardinalOpen=mw,t.curveCardinal=vw,t.curveCatmullRomClosed=xw,t.curveCatmullRomOpen=bw,t.curveCatmullRom=_w,t.curveLinearClosed=ww,t.curveLinear=jb,t.curveMonotoneX=Zs,t.curveMonotoneY=Qs,t.curveNatural=Mw,t.curveStep=Tw,t.curveStepAfter=ec,t.curveStepBefore=nc,t.stack=kw,t.stackOffsetExpand=Sw,t.stackOffsetDiverging=Nw,t.stackOffsetNone=Ew,t.stackOffsetSilhouette=Aw,t.stackOffsetWiggle=Pw,t.stackOrderAscending=Lw,t.stackOrderDescending=Dw,t.stackOrderInsideOut=qw,t.stackOrderNone=Cw,t.stackOrderReverse=jw,t.timeInterval=Qa,t.timeMillisecond=$_,t.timeMilliseconds=X_,t.utcMillisecond=$_,t.utcMilliseconds=X_,t.timeSecond=Z_,t.timeSeconds=Q_,t.utcSecond=Z_,t.utcSeconds=Q_,t.timeMinute=J_,t.timeMinutes=K_,t.timeHour=tx,t.timeHours=nx,t.timeDay=ex,t.timeDays=rx,t.timeWeek=ix,t.timeWeeks=fx,t.timeSunday=ix,t.timeSundays=fx,t.timeMonday=ox,t.timeMondays=hx,t.timeTuesday=ax,t.timeTuesdays=px,t.timeWednesday=ux,t.timeWednesdays=dx,t.timeThursday=sx,t.timeThursdays=gx,t.timeFriday=cx,t.timeFridays=vx,t.timeSaturday=lx,t.timeSaturdays=yx,t.timeMonth=mx,t.timeMonths=_x,t.timeYear=xx,t.timeYears=bx,t.utcMinute=wx,t.utcMinutes=Mx,t.utcHour=Tx,t.utcHours=Ex,t.utcDay=Cx,t.utcDays=kx,t.utcWeek=Sx,t.utcWeeks=jx,t.utcSunday=Sx,t.utcSundays=jx,t.utcMonday=Nx,t.utcMondays=Rx,t.utcTuesday=Ax,t.utcTuesdays=Ox,t.utcWednesday=Px,t.utcWednesdays=zx,t.utcThursday=Lx,t.utcThursdays=Ix,t.utcFriday=Dx,t.utcFridays=Fx,t.utcSaturday=qx,t.utcSaturdays=Hx,t.utcMonth=Ux,t.utcMonths=Bx,t.utcYear=Wx,t.utcYears=$x,t.timeFormatDefaultLocale=Qu,t.timeFormatLocale=ru,t.isoFormat=Qx,t.isoParse=Jx,t.now=vn,t.timer=_n,t.timerFlush=xn,t.timeout=ap,t.interval=up,t.transition=ee,t.active=hd,t.interrupt=mp,t.voronoi=$w,t.zoom=Zw,t.zoomTransform=Ic,t.zoomIdentity=Gw,Object.defineProperty(t,"__esModule",{value:!0})})},function(t,n,e){!function(t,e){e(n)}(0,function(t){"use strict";function n(t,n){var r=n.id,i=n.bbox,o=null==n.properties?{}:n.properties,a=e(t,n);return null==r&&null==i?{type:"Feature",properties:o,geometry:a}:null==i?{type:"Feature",id:r,properties:o,geometry:a}:{type:"Feature",id:r,bbox:i,properties:o,geometry:a}}function e(t,n){function e(t,n){n.length&&n.pop();for(var e=c[t<0?~t:t],r=0,i=e.length;r<i;++r)n.push(s(e[r],r));t<0&&A(n,i)}function r(t){return s(t)}function i(t){for(var n=[],r=0,i=t.length;r<i;++r)e(t[r],n);return n.length<2&&n.push(n[0]),n}function o(t){for(var n=i(t);n.length1)r=i(t,n,e);else for(o=0,r=new Array(a=t.arcs.length);o<a;++o)r[o]=o;return{type:"MultiLineString",arcs:L(t,r)}}function i(t,n,e){function r(t){var n=t<0?~t:t;(l[n]||(l[n]=[])).push({i:t,g:s})}function i(t){t.forEach(r)}function o(t){t.forEach(i)}function a(t){t.forEach(o)}function u(t){switch(s=t,t.type){case"GeometryCollection":t.geometries.forEach(u);break;case"LineString":i(t.arcs);break;case"MultiLineString":case"Polygon":o(t.arcs);break;case"MultiPolygon":a(t.arcs)}}var s,c=[],l=[];return u(n),l.forEach(null==e?function(t){c.push(t[0].i)}:function(t){e(t[0].g,t[t.length-1].g)&&c.push(t[0].i)}),c}function o(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[0]*i[1]-n[1]*i[0];return Math.abs(o)}function a(t,n){function r(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(r);break;case"Polygon":i(t.arcs);break;case"MultiPolygon":t.arcs.forEach(i)}}function i(t){t.forEach(function(n){n.forEach(function(n){(u[n=n<0?~n:n]||(u[n]=[])).push(t)})}),s.push(t)}function a(n){return o(e(t,{type:"Polygon",arcs:[n]}).coordinates[0])}var u={},s=[],c=[];return n.forEach(r),s.forEach(function(t){if(!t._){var n=[],e=[t];for(t._=1,c.push(n);t=e.pop();)n.push(t),t.forEach(function(t){t.forEach(function(t){u[t<0?~t:t].forEach(function(t){t._||(t._=1,e.push(t))})})})}}),s.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:c.map(function(n){var e,r=[];if(n.forEach(function(t){t.forEach(function(t){t.forEach(function(t){u[t<0?~t:t].length1)for(var i,o,s=1,c=a(r[0]);sc&&(o=r[0],r[0]=r[s],r[s]=o,c=i);return r})}}function u(t,n,e,r){s(t,n,e),s(t,n,n+r),s(t,n+r,e)}function s(t,n,e){for(var r,i=n+(e—n>>1);n<i;++n,–e)r=t[n],t[n]=t[e],t[e]=r}function c(t){return null==t?{type:null}:("FeatureCollection"===t.type?l:"Feature"===t.type?f:h)(t)}function l(t){var n={type:"GeometryCollection",geometries:t.features.map(f)};return null!=t.bbox&&(n.bbox=t.bbox),n}function f(t){var n,e=h(t.geometry);null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox);for(n in t.properties){e.properties=t.properties;break}return e}function h(t){if(null==t)return{type:null};var n="GeometryCollection"===t.type?{type:"GeometryCollection",geometries:t.geometries.map(h)}:"Point"===t.type||"MultiPoint"===t.type?{type:t.type,coordinates:t.coordinates}:{type:t.type,arcs:t.coordinates};return null!=t.bbox&&(n.bbox=t.bbox),n}function p(t){var n,e=t[0],r=t[1];return r<e&&(n=e,e=r,r=n),e+31*r}function d(t,n){var e,r=t[0],i=t[1],o=n[0],a=n[1];return i<r&&(e=r,r=i,i=e),a<o&&(e=o,o=a,a=e),r===o&&i===a}function g(){return!0}function v(t){return t}function y(t){return null!=t.type}function m(t){var n=t[0],e=t[1],r=t[2];return Math.abs((n[0]-r[0])*(e[1]-n[1])-(n[0]-e[0])*(r[1]-n[1]))/2}function _(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[0]*i[1]-n[1]*i[0];return Math.abs(o)/2}function x(t,n){return t[1][2]-n[1][2]}function b(t){return[t[0],t[1],0]}function w(t,n){if(e=t.length){if((n=+n)<=0||e=1)return t[e-1];var e,r=(e-1)*n,i=Math.floor(r),o=t[i];return o+(t[i+1]-o)*(r-i)}}function M(t,n){return n-t}function T(t,n){for(var e,r,i,o=0,a=t.length,u=0,s=t[n?o++:a-1],c=s[0]*pt,l=s[1]*pt/2+ht,f=gt(l),h=vt(l);o=0?1:-1,g=d*p,v=i*h,y=r*f+v*gt(g),m=v*d*vt(g);u+=dt(m,y)}return u}function E(t,n){var e=T(t,!0);return n&&(e*=-1),2*(e<0?ft+e:e)}function C(t){var n=T(t,!1);return 2*(n<0?ft+n:n)}var k=function(t){return t},S=function(t){if(null==t)return k;var n,e,r=t.scale[0],i=t.scale[1],o=t.translate[0],a=t.translate[1];return function(t,u){u||(n=e=0);var s=2,c=t.length,l=new Array(c);for(l[0]=(n+=t[0])*r+o,l[1]=(e+=t[1])*i+a;s<c;)l[s]=t[s],++s;return l}},N=function(t){function n(t){t=i(t),t[0]u&&(u=t[0]),t[1]s&&(s=t[1])}function e(t){switch(t.type){case”GeometryCollection”:t.geometries.forEach(e);break;case”Point”:n(t.coordinates);break;case”MultiPoint”:t.coordinates.forEach(n)}}var r,i=S(t.transform),o=1/0,a=o,u=-o,s=-o;t.arcs.forEach(function(t){for(var n,e=-1,r=t.length;++e<r;)n=i(t[e],e),n[0]u&&(u=n[0]),n[1]s&&(s=n[1])});for(r in t.objects)e(t.objects[r]);return[o,a,u,s]},A=function(t,n){for(var e,r=t.length,i=r-n;i<–r;)e=t[i],t[i++]=t[r],t[r]=e},P=function(t,e){return"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map(function(e){return n(t,e)})}:n(t,e)},L=function(t,n){function e(n){var e,r=t.arcs[n<0?~n:n],i=r[0];return t.transform?(e=[0,0],r.forEach(function(t){e[0]+=t[0],e[1]+=t[1]})):e=r[r.length-1],n<0?[e,i]:[i,e]}function r(t,n){for(var e in t){var r=t[e];delete n[r.start],delete r.start,delete r.end,r.forEach(function(t){i[t<0?~t:t]=1}),u.push(r)}}var i={},o={},a={},u=[],s=-1;return n.forEach(function(e,r){var i,o=t.arcs[e<0?~e:e];o.length<3&&!o[1][0]&&!o[1][1]&&(i=n[++s],n[s]=e,n[r]=i)}),n.forEach(function(t){var n,r,i=e(t),u=i[0],s=i[1];if(n=a[u])if(delete a[n.end],n.push(t),n.end=s,r=o[s]){delete o[r.start];var c=r===n?n:n.concat(r);o[c.start=n.start]=a[c.end=r.end]=c}else o[n.start]=a[n.end]=n;else if(n=o[s])if(delete o[n.start],n.unshift(t),n.start=u,r=a[u]){delete a[r.end];var l=r===n?n:r.concat(n);o[l.start=r.start]=a[l.end=n.end]=l}else o[n.start]=a[n.end]=n;else n=[t],o[n.start=u]=a[n.end=s]=n}),r(a,o),r(o,a),n.forEach(function(t){i[t<0?~t:t]||u.push([t])}),u},D=function(t){return e(t,r.apply(this,arguments))},q=function(t){return e(t,a.apply(this,arguments))},j=function(t,n){for(var e=0,r=t.length;e>>1;t[i]<n?e=i+1:r=i}return e},R=function(t){function n(t,n){t.forEach(function(t){t<0&&(t=~t);var e=i[t];e?e.push(n):i[t]=[n]})}function e(t,e){t.forEach(function(t){n(t,e)})}function r(t,n){"GeometryCollection"===t.type?t.geometries.forEach(function(t){r(t,n)}):t.type in a&&a[t.type](t.arcs,n)}var i={},o=t.map(function(){return[]}),a={LineString:n,MultiLineString:e,Polygon:e,MultiPolygon:function(t,n){t.forEach(function(t){e(t,n)})}};t.forEach(r);for(var u in i)for(var s=i[u],c=s.length,l=0;l<c;++l)for(var f=l+1;f<c;++f){var h,p=s[l],d=s[f];(h=o[p])[u=j(h,d)]!==d&&h.splice(u,0,d),(h=o[d])[u=j(h,p)]!==p&&h.splice(u,0,p)}return o},O=function(t){if(null==t)return k;var n,e,r=t.scale[0],i=t.scale[1],o=t.translate[0],a=t.translate[1];return function(t,u){u||(n=e=0);var s=2,c=t.length,l=new Array(c),f=Math.round((t[0]-o)/r),h=Math.round((t[1]-a)/i);for(l[0]=f-n,n=f,l[1]=h-e,e=h;s<c;)l[s]=t[s],++s;return l}},z=function(t,n){function e(t){return h(t)}function r(t){var n;switch(t.type){case"GeometryCollection":n={type:"GeometryCollection",geometries:t.geometries.map(r)};break;case"Point":n={type:"Point",coordinates:e(t.coordinates)};break;case"MultiPoint":n={type:"MultiPoint",coordinates:t.coordinates.map(e)};break;default:return t}return null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),null!=t.properties&&(n.properties=t.properties),n}function i(t){var n,e=0,r=1,i=t.length,o=new Array(i);for(o[0]=h(t[0],0);++e=2))throw new Error(“n must be =2″);l=t.bbox||N(t);var o,a=l[0],u=l[1],s=l[2],c=l[3];n={scale:[s-a?(s-a)/(o-1):1,c-u?(c-u)/(o-1):1],translate:[a,u]}}var l,f,h=O(n),p=t.objects,d={};for(f in p)d[f]=r(p[f]);return{type:”Topology”,bbox:l,transform:n,objects:d,arcs:t.arcs.map(i)}},I=function(t){function n(t){null!=t&&c.hasOwnProperty(t.type)&&c[t.type](t)}function e(t){var n=t[0],e=t[1];nu&&(u=n),es&&(s=e)}function r(t){t.forEach(e)}function i(t){t.forEach(r)}var o=1/0,a=1/0,u=-1/0,s=-1/0,c={GeometryCollection:function(t){t.geometries.forEach(n)},Point:function(t){e(t.coordinates)},MultiPoint:function(t){t.coordinates.forEach(e)},LineString:function(t){r(t.arcs)},MultiLineString:function(t){t.arcs.forEach(r)},Polygon:function(t){t.arcs.forEach(r)},MultiPolygon:function(t){t.arcs.forEach(i)}};for(var l in t)n(t[l]);return u>=o&&s>=a?[o,a,u,s]:void 0},F=function(t,n,e,r,i){function o(r){for(var o=n(r)&c,a=s[o],u=0;a!=i;){if(e(a,r))return!0;if(++u>=t)throw new Error(“full hashset”);a=s[o=o+1&c]}return s[o]=r,!0}function a(r){for(var o=n(r)&c,a=s[o],u=0;a!=i;){if(e(a,r))return!0;if(++u>=t)break;a=s[o=o+1&c]}return!1}function u(){for(var t=[],n=0,e=s.length;n<e;++n){var r=s[n];r!=i&&t.push(r)}return t}3===arguments.length&&(r=Array,i=null);for(var s=new r(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),c=t-1,l=0;l=t)throw new Error(“full hashmap”);u=l[a=a+1&h]}return l[a]=r,f[a]=o,o}function u(r,o){for(var a=n(r)&h,u=l[a],s=0;u!=i;){if(e(u,r))return f[a];if(++s>=t)throw new Error(“full hashmap”);u=l[a=a+1&h]}return l[a]=r,f[a]=o,o}function s(r,o){for(var a=n(r)&h,u=l[a],s=0;u!=i;){if(e(u,r))return f[a];if(++s>=t)break;u=l[a=a+1&h]}return o}function c(){for(var t=[],n=0,e=l.length;n<e;++n){var r=l[n];r!=i&&t.push(r)}return t}3===arguments.length&&(r=o=Array,i=null);for(var l=new r(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),f=new o(t),h=t-1,p=0;p<t;++p)l[p]=i;return{set:a,maybeSet:u,get:s,keys:c}},U=function(t,n){return t[0]===n[0]&&t[1]===n[1]},B=new ArrayBuffer(16),W=new Float64Array(B),Y=new Uint32Array(B),$=function(t){W[0]=t[0],W[1]=t[1];var n=Y[0]^Y[1];return 2147483647&(n=n<>7^Y[2]^Y[3])},X=function(t){function n(t,n,e,r){if(p[e]!==t){p[e]=t;var i=d[e];if(i>=0){var o=g[e];i===n&&o===r||i===r&&o===n||(++y,v[e]=1)}else d[e]=n,g[e]=r}}function e(t){return $(c[t])}function r(t,n){return U(c[t],c[n])}var i,o,a,u,s,c=t.coordinates,l=t.lines,f=t.rings,h=function(){for(var t=H(1.4*c.length,e,r,Int32Array,-1,Int32Array),n=new Int32Array(c.length),i=0,o=c.length;i<o;++i)n[i]=t.maybeSet(i,i);return n}(),p=new Int32Array(c.length),d=new Int32Array(c.length),g=new Int32Array(c.length),v=new Int8Array(c.length),y=0;for(i=0,o=c.length;i<o;++i)p[i]=d[i]=g[i]=-1;for(i=0,o=l.length;i<o;++i){var m=l[i],_=m[0],x=m[1];for(u=h[_],s=h[++_],++y,v[u]=1;++_<=x;)n(i,a=u,u=s,s=h[_]);++y,v[s]=1}for(i=0,o=c.length;i<o;++i)p[i]=-1;for(i=0,o=f.length;i<o;++i){var b=f[i],w=b[0]+1,M=b[1];for(a=h[M-1],u=h[w-1],s=h[w],n(i,a,u,s);++w<=M;)n(i,a=u,u=s,s=h[w])}p=d=g=null;var T,E=F(1.4*y,$,U);for(i=0,o=c.length;i<o;++i)v[T=h[i]]&&E.add(c[T]);return E},G=function(t){var n,e,r,i=X(t),o=t.coordinates,a=t.lines,s=t.rings;for(e=0,r=a.length;e<r;++e)for(var c=a[e],l=c[0],f=c[1];++l<f;)i.has(o[l])&&(n={0:l,1:c[1]},c[1]=l,c=c.next=n);for(e=0,r=s.length;e<r;++e)for(var h=s[e],p=h[0],d=p,g=h[1],v=i.has(o[p]);++d<g;)i.has(o[d])&&(v?(n={0:d,1:h[1]},h[1]=d,h=h.next=n):(u(o,p,g,g-d),o[g]=o[p],v=!0,d=p));return t},V=function(t){function n(t){var n,i,o,a,u,s,c,l;if(o=g.get(n=f[t[0]]))for(c=0,l=o.length;c<l;++c)if(a=o[c],e(a,t))return t[0]=a[0],void(t[1]=a[1]);if(u=g.get(i=f[t[1]]))for(c=0,l=u.length;c<l;++c)if(s=u[c],r(s,t))return t[1]=s[0],void(t[0]=s[1]);o?o.push(t):g.set(n,[t]),u?u.push(t):g.set(i,[t]),v.push(t)}function e(t,n){var e=t[0],r=n[0],i=t[1];if(e-i!=r-n[1])return!1;for(;e<=i;++e,++r)if(!U(f[e],f[r]))return!1;return!0}function r(t,n){var e=t[0],r=n[0],i=t[1],o=n[1];if(e-i!=r-o)return!1;for(;e<=i;++e,–o)if(!U(f[e],f[o]))return!1;return!0}function i(t,n){var e=t[0],r=n[0],i=t[1],o=n[1],u=i-e;if(u!==o-r)return!1;for(var s=a(t),c=a(n),l=0;l<u;++l)if(!U(f[e+(l+s)%u],f[r+(l+c)%u]))return!1;return!0}function o(t,n){var e=t[0],r=n[0],i=t[1],o=n[1],u=i-e;if(u!==o-r)return!1;for(var s=a(t),c=u-a(n),l=0;l<u;++l)if(!U(f[e+(l+s)%u],f[o-(l+c)%u]))return!1;return!0}function a(t){for(var n=t[0],e=t[1],r=n,i=r,o=f[r];++r<e;){var a=f[r];(a[0]<o[0]||a[0]===o[0]&&a[1]<o[1])&&(i=r,o=a)}return i-n}var u,s,c,l,f=t.coordinates,h=t.lines,p=t.rings,d=h.length+p.length;for(delete t.lines,delete t.rings,c=0,l=h.length;c<l;++c)for(u=h[c];u=u.next;)++d;for(c=0,l=p.length;c<l;++c)for(s=p[c];s=s.next;)++d;var g=H(2*d*1.4,$,U),v=t.arcs=[];for(c=0,l=h.length;c<l;++c){u=h[c];do{n(u)}while(u=u.next)}for(c=0,l=p.length;c<l;++c)if(s=p[c],s.next)do{n(s)}while(s=s.next);else!function(t){var n,e,r,u,s;if(e=g.get(n=f[t[0]]))for(u=0,s=e.length;u<s;++u){if(r=e[u],i(r,t))return t[0]=r[0],void(t[1]=r[1]);if(o(r,t))return t[0]=r[1],void(t[1]=r[0])}if(e=g.get(n=f[t[0]+a(t)]))for(u=0,s=e.length;u<s;++u){if(r=e[u],i(r,t))return t[0]=r[0],void(t[1]=r[1]);if(o(r,t))return t[0]=r[1],void(t[1]=r[0])}e?e.push(t):g.set(n,[t]),v.push(t)}(s);return t},Z=function(t){for(var n=-1,e=t.length;++n<e;){for(var r,i,o=t[n],a=0,u=1,s=o.length,c=o[0],l=c[0],f=c[1];++a<s;)c=o[a],r=c[0],i=c[1],r===l&&i===f||(o[u++]=[r-l,i-f],l=r,f=i);1===u&&(o[u++]=[0,0]),o.length=u}return t},Q=function(t){function n(t){t&&c.hasOwnProperty(t.type)&&c[t.type](t)}function e(t){for(var n=0,e=t.length;n<e;++n)s[++o]=t[n];var r={0:o-e+1,1:o};return a.push(r),r}function r(t){for(var n=0,e=t.length;n<e;++n)s[++o]=t[n];var r={0:o-e+1,1:o};return u.push(r),r}function i(t){return t.map(r)}var o=-1,a=[],u=[],s=[],c={GeometryCollection:function(t){t.geometries.forEach(n)},LineString:function(t){t.arcs=e(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(e)},Polygon:function(t){t.arcs=t.arcs.map(r)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var l in t)n(t[l]);return{type:"Topology",coordinates:s,lines:a,rings:u,objects:t}},J=function(t){var n,e={};for(n in t)e[n]=c(t[n]);return e},K=function(t,n,e){function r(t){return[Math.round((t[0]-c)*p),Math.round((t[1]-l)*d)]}function i(t,n){for(var e,r,i,o,a,u=-1,s=0,f=t.length,h=new Array(f);++u<f;)e=t[u],o=Math.round((e[0]-c)*p),a=Math.round((e[1]-l)*d),o===r&&a===i||(h[s++]=[r=o,i=a]);for(h.length=s;s<n;)s=h.push([h[0][0],h[0][1]]);return h}function o(t){return i(t,2)}function a(t){return i(t,4)}function u(t){return t.map(a)}function s(t){null!=t&&g.hasOwnProperty(t.type)&&g[t.type](t)}var c=n[0],l=n[1],f=n[2],h=n[3],p=f-c?(e-1)/(f-c):1,d=h-l?(e-1)/(h-l):1,g={GeometryCollection:function(t){t.geometries.forEach(s)},Point:function(t){t.coordinates=r(t.coordinates)},MultiPoint:function(t){t.coordinates=t.coordinates.map(r)},LineString:function(t){t.arcs=o(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(o)},Polygon:function(t){t.arcs=u(t.arcs)},MultiPolygon:function(t){t.arcs=t.arcs.map(u)}};for(var v in t)s(t[v]);return{scale:[1/p,1/d],translate:[c,l]}},tt=function(t,n){function e(t){t&&l.hasOwnProperty(t.type)&&l[t.type](t)}function r(t){var n=[];do{var e=c.get(t);n.push(t[0]0&&o&&K(t,o,n),u=V(G(Q(t))),s=u.coordinates,c=H(1.4*u.arcs.length,p,d);t=u.objects,u.bbox=o,u.arcs=u.arcs.map(function(t,n){return c.set(t,n),s.slice(t[0],t[1]+1)}),delete u.coordinates,s=null;var l={GeometryCollection:function(t){t.geometries.forEach(e)},LineString:function(t){t.arcs=r(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(r)},Polygon:function(t){t.arcs=t.arcs.map(r)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var f in t)e(t[f]);return a&&(u.transform=a,u.arcs=Z(u.arcs)),u},nt=function(t){function n(t){var e;switch(t.type){case”GeometryCollection”:e={type:”GeometryCollection”,geometries:t.geometries.map(n)};break;case”LineString”:e={type:”LineString”,arcs:r(t.arcs)};break;case”MultiLineString”:e={type:”MultiLineString”,arcs:t.arcs.map(r)};break;case”Polygon”:e={type:”Polygon”,arcs:t.arcs.map(r)};break;case”MultiPolygon”:e={type:”MultiPolygon”,arcs:t.arcs.map(i)};break;default:return t}return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}function e(t){var n,e=t<0&&(t=~t,!0);return null==(n=f[t])&&(f[t]=n=++l,c[n]=s[t]),e?~n:n}function r(t){return t.map(e)}function i(t){return t.map(r)}var o,a=t.objects,u={},s=t.arcs,c=[],l=-1,f=new Array(s.length);for(o in a)u[o]=n(a[o]);return{type:"Topology",bbox:t.bbox,transform:t.transform,objects:u,arcs:c}},et=function(t,n){function e(t){var n,i;switch(t.type){case"Polygon":i=r(t.arcs),n=i?{type:"Polygon",arcs:i}:{type:null};break;case"MultiPolygon":i=t.arcs.map(r).filter(v),n=i.length?{type:"MultiPolygon",arcs:i}:{type:null};break;case"GeometryCollection":i=t.geometries.map(e).filter(y),n=i.length?{type:"GeometryCollection",geometries:i}:{type:null};break;default:return t}return null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),null!=t.properties&&(n.properties=t.properties),n}function r(t){return t.length&&i(t[0])?[t[0]].concat(t.slice(1).filter(o)):null}function i(t){return n(t,!1)}function o(t){return n(t,!0)}var a,u=t.objects,s={};null==n&&(n=g);for(a in u)s[a]=e(u[a]);return nt({type:"Topology",bbox:t.bbox,transform:t.transform,objects:s,arcs:t.arcs})},rt=function(t){function n(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(n);break;case"Polygon":e(t.arcs);break;case"MultiPolygon":t.arcs.forEach(e)}}function e(t){for(var n=0,e=t.length;n<e;++n,++o)for(var r=t[n],a=0,u=r.length;a<u;++a){var s=r[a];s=0&&c!==o?-1:o}}var r,i={},o=0;for(r in t.objects)n(t.objects[r]);return function(t){for(var n,e=0,r=t.length;e<r;++e)if(n=t[e],i[n<0?~n:n]=n}},ot=function(t,n,e){var r=rt(t),i=it(t,n,e);return function(t,n){return r(t,n)||i(t,n)}},at=function(){function t(t,n){for(;n>0;){var e=(n+1>>1)-1,i=r[e];if(x(t,i)>=0)break;r[i._=n]=i,r[t._=n=e]=t}}function n(t,n){for(;;){var e=n+1<<1,o=e-1,a=n,u=r[a];if(o<i&&x(r[o],u)<0&&(u=r[a=o]),e<i&&x(r[e],u)<0&&(u=r[a=e]),a===n)break;r[u._=n]=u,r[t._=n=a]=t}}var e={},r=[],i=0;return e.push=function(n){return t(r[n._=i]=n,i++),i},e.pop=function(){if(!(i0&&(t=r[i],n(r[t._=0]=t,0)),e}},e.remove=function(e){var o,a=e._;if(r[a]===e)return a!==–i&&(o=r[i],(x(o,e)<0?t:n)(r[o._=a]=o,a)),a},e},ut=function(t,n){function e(t){i.remove(t),t[1][2]=n(t),i.push(t)}var r=t.transform?S(t.transform):b,i=at();null==n&&(n=m);var o=t.arcs.map(function(t){var o,a,u,s=[],c=0;for(t=t.map(r),a=1,u=t.length-1;a<u;++a)o=[t[a-1],t[a],t[a+1]],o[1][2]=n(o),s.push(o),i.push(o);for(t[0][2]=t[u][2]=1/0,a=0,u=s.length;a<u;++a)o=s[a],o.previous=s[a-1],o.next=s[a+1];for(;o=i.pop();){var l=o.previous,f=o.next;o[1][2]<c?o[1][2]=c:c=o[1][2],l&&(l.next=f,l[2]=o[2],e(l)),f&&(f.previous=l,f[0]=o[0],e(f))}return t});return{type:"Topology",bbox:t.bbox,objects:t.objects,arcs:o}},st=function(t,n){var e=[];return t.arcs.forEach(function(t){t.forEach(function(t){isFinite(t[2])&&e.push(t[2])})}),e.length&&w(e.sort(M),n)},ct=function(t,n){n=null==n?Number.MIN_VALUE:+n;var e=t.arcs.map(function(t){for(var e,r=-1,i=0,o=t.length,a=new Array(o);++r=n&&(a[i++]=[e[0],e[1]]);return a.length=i,a});return{type:”Topology”,transform:t.transform,bbox:t.bbox,objects:t.objects,arcs:e}},lt=Math.PI,ft=2*lt,ht=lt/4,pt=lt/180,dt=Math.atan2,gt=Math.cos,vt=Math.sin;t.bbox=N,t.feature=P,t.mesh=D,t.meshArcs=r,t.merge=q,t.mergeArcs=a,t.neighbors=R,t.quantize=z,t.transform=S,t.untransform=O,t.topology=tt,t.filter=et,t.filterAttached=rt,t.filterAttachedWeight=ot,t.filterWeight=it,t.planarRingArea=_,t.planarTriangleArea=m,t.presimplify=ut,t.quantile=st,t.simplify=ct,t.sphericalRingArea=E,t.sphericalTriangleArea=C,Object.defineProperty(t,”__esModule”,{value:!0})})},function(t,n,e){var r,i;/*! pym.js – v1.2.2 – 2017-05-20 */
!function(o){r=o,void 0!==(i=”function”==typeof r?r.call(n,e,n,t):r)&&(t.exports=i)}(function(){var t={},n=function(t){var n=document.createEvent(“Event”);n.initEvent(“pym:”+t,!0,!0),document.dispatchEvent(n)},e=function(t){var n=new RegExp(“[\\\\?&]”+t.replace(/[\\[]/,”\\\\[“).replace(/[\\]]/,”\\\\]”)+”=([^&#]*)”),e=n.exec(location.search);return null===e?””:decodeURIComponent(e[1].replace(/\\+/g,” “))},r=function(t,n){if((“*”===n.xdomain||t.origin.match(new RegExp(n.xdomain+”$”)))&&”string”==typeof t.data)return!0},i=function(t,n,e){return[“pym”,t,n,e].join(“xPYMx”)},o=function(t){var n=[“pym”,t,”(\\\\S+)”,”(.*)”];return new RegExp(“^”+n.join(“xPYMx”)+”$”)},a=function(){for(var n=t.autoInitInstances.length,e=n-1;e>=0;e–){var r=t.autoInitInstances[e];r.el.getElementsByTagName(“iframe”).length&&r.el.getElementsByTagName(“iframe”)[0].contentWindow||t.autoInitInstances.splice(e,1)}};return t.autoInitInstances=[],t.autoInit=function(e){var r=document.querySelectorAll(“[data-pym-src]:not([data-pym-auto-initialized])”),i=r.length;a();for(var o=0;o-1&&(n=this.url.substring(e,this.url.length),this.url=this.url.substring(0,e)),this.url.indexOf(“?”)<0?this.url+="?":this.url+="&",this.iframe.src=this.url+"initialWidth="+t+"&childId="+this.id,this.settings.optionalparams&&(this.iframe.src+="&parentTitle="+encodeURIComponent(document.title),this.iframe.src+="&"+this.settings.parenturlparam+"="+encodeURIComponent(this.settings.parenturlvalue)),this.iframe.src+=n,this.iframe.setAttribute("width","100%"),this.iframe.setAttribute("scrolling","no"),this.iframe.setAttribute("marginheight","0"),this.iframe.setAttribute("frameborder","0"),this.settings.title&&this.iframe.setAttribute("title",this.settings.title),void 0!==this.settings.allowfullscreen&&!1!==this.settings.allowfullscreen&&this.iframe.setAttribute("allowfullscreen",""),void 0!==this.settings.sandbox&&"string"==typeof this.settings.sandbox&&this.iframe.setAttribute("sandbox",this.settings.sandbox),this.settings.id&&(document.getElementById(this.settings.id)||this.iframe.setAttribute("id",this.settings.id)),this.settings.name&&this.iframe.setAttribute("name",this.settings.name);this.el.firstChild;)this.el.removeChild(this.el.firstChild);this.el.appendChild(this.iframe),window.addEventListener("resize",this._onResize)},this._onResize=function(){this.sendWidth()}.bind(this),this._fire=function(t,n){if(t in this.messageHandlers)for(var e=0;e<this.messageHandlers[t].length;e++)this.messageHandlers[t][e].call(this,n)},this.remove=function(){window.removeEventListener("message",this._processMessage),window.removeEventListener("resize",this._onResize),this.el.removeChild(this.iframe),a()},this._processMessage=function(t){if(r(t,this.settings)&&"string"==typeof t.data){var n=t.data.match(this.messageRegex);if(!n||3!==n.length)return!1;var e=n[1],i=n[2];this._fire(e,i)}}.bind(this),this._onHeightMessage=function(t){var n=parseInt(t);this.iframe.setAttribute("height",n+"px")},this._onNavigateToMessage=function(t){document.location.href=t},this._onScrollToChildPosMessage=function(t){var n=document.getElementById(this.id).getBoundingClientRect().top+window.pageYOffset,e=n+parseInt(t);window.scrollTo(0,e)},this.onMessage=function(t,n){t in this.messageHandlers||(this.messageHandlers[t]=[]),this.messageHandlers[t].push(n)},this.sendMessage=function(t,n){this.el.getElementsByTagName("iframe").length&&(this.el.getElementsByTagName("iframe")[0].contentWindow?this.el.getElementsByTagName("iframe")[0].contentWindow.postMessage(i(this.id,t,n),"*"):this.remove())},this.sendWidth=function(){var t=this.el.offsetWidth.toString();this.sendMessage("width",t)};for(var u in e)this.settings[u]=e[u];return this.onMessage("height",this._onHeightMessage),this.onMessage("navigateTo",this._onNavigateToMessage),this.onMessage("scrollToChildPos",this._onScrollToChildPosMessage),window.addEventListener("message",this._processMessage,!1),this._constructIframe(),this},t.Child=function(t){this.parentWidth=null,this.id=null,this.parentTitle=null,this.parentUrl=null,this.settings={renderCallback:null,xdomain:"*",polling:0,parenturlparam:"parentUrl"},this.timerId=null,this.messageRegex=null,this.messageHandlers={},t=t||{},this.onMessage=function(t,n){t in this.messageHandlers||(this.messageHandlers[t]=[]),this.messageHandlers[t].push(n)},this._fire=function(t,n){if(t in this.messageHandlers)for(var e=0;e<this.messageHandlers[t].length;e++)this.messageHandlers[t][e].call(this,n)},this._processMessage=function(t){if(r(t,this.settings)&&"string"==typeof t.data){var n=t.data.match(this.messageRegex);if(n&&3===n.length){var e=n[1],i=n[2];this._fire(e,i)}}}.bind(this),this._onWidthMessage=function(t){var n=parseInt(t);n!==this.parentWidth&&(this.parentWidth=n,this.settings.renderCallback&&this.settings.renderCallback(n),this.sendHeight())},this.sendMessage=function(t,n){window.parent.postMessage(i(this.id,t,n),"*")},this.sendHeight=function(){var t=document.getElementsByTagName("body")[0].offsetHeight.toString();return this.sendMessage("height",t),t}.bind(this),this.scrollParentTo=function(t){this.sendMessage("navigateTo","#"+t)},this.navigateParentTo=function(t){this.sendMessage("navigateTo",t)},this.scrollParentToChildEl=function(t){var n=document.getElementById(t).getBoundingClientRect().top+window.pageYOffset;this.scrollParentToChildPos(n)},this.scrollParentToChildPos=function(t){this.sendMessage("scrollToChildPos",t.toString())};this.remove=function(){window.removeEventListener("message",this._processMessage),this.timerId&&clearInterval(this.timerId)};for(var o in t)this.settings[o]=t[o];this.id=e("childId")||t.id,this.messageRegex=new RegExp("^pymxPYMx"+this.id+"xPYMx(\\\\S+)xPYMx(.*)$");var a=parseInt(e("initialWidth"));return this.parentUrl=e(this.settings.parenturlparam),this.parentTitle=e("parentTitle"),this.onMessage("width",this._onWidthMessage),window.addEventListener("message",this._processMessage,!1),this.settings.renderCallback&&this.settings.renderCallback(a),this.sendHeight(),this.settings.polling&&(this.timerId=window.setInterval(this.sendHeight,this.settings.polling)),function(t){var e,r=document.getElementsByTagName("html")[0],i=r.className;try{e=window.self!==window.top?"embedded":"not-embedded"}catch(t){e="embedded"}i.indexOf(e)<0&&(r.className=i?i+" "+e:e,t&&t(e),n("marked-embedded"))}(t.onMarkedEmbeddedStatus),this},"undefined"!=typeof document&&t.autoInit(!0),t})}]);

The consent order, a way to settle the city’s violations of state water pollution rules, is enforceable in court. If the city violates the order, the city faces fines up to $10,000 per day, and possible criminal penalties, the document says.

City Manager Lee Feldman said the city plans to borrow $200 million in January to pay for the consent order projects and other critical work.

.ss-blurb-fblike{
padding-left:10px;
}
.ss-blurb-fblike-heading {
font-family: Georgia, Times New Roman, serif;
font-weight: bold;
}

Like us on Facebook

(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.10&appId=728754867160252”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));

Brittany Wallman can be reached at bwallman@sun-sentinel.com or 954-356-4541. Find her on Twitter @BrittanyWallman.