Last active
April 21, 2022 15:17
-
-
Save agmmnn/5dc5ffa911250b50196814dfb5648e92 to your computer and use it in GitHub Desktop.
e-devlet soy bilgisi sayfasına girdikten sonra "f12" ile devtools penceresinde "console" sekmesine alttaki kodu yapıştır ve enter'la.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fontName="Oswald",link=document.createElement("link");link.rel="stylesheet",link.href="https://fonts.googleapis.com/css?family=Oswald",document.head.appendChild(link),function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function a(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var a=r+i>>>1;n(t[a],e)<0?r=a+1:i=a}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var a=r+i>>>1;n(t[a],e)>0?i=a:r=a+1}return r}}}function o(n){return n.length}function l(n){for(var t=1;n*t%1;)t*=10;return t}function u(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function s(n){return(n+="")===Aa||n[0]===Da?Da+n:n}function h(n){return(n+="")[0]===Da?n.slice(1):n}function f(n){return s(n)in this._}function d(n){return(n=s(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(h(t));return n}function p(){var n=0;for(var t in this._)++n;return n}function m(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function v(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function T(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=Sa.length;r>e;++e){var i=Sa[e]+t;if(i in n)return i}}function E(){}function x(){}function b(n){function t(){for(var t,r=e,i=-1,a=r.length;++i<a;)(t=r[i].on)&&t.apply(this,arguments);return n}var e=[],r=new c;return t.on=function(t,i){var a,o=r.get(t);return arguments.length<2?o&&o.on:(o&&(o.on=null,e=e.slice(0,a=e.indexOf(o)).concat(e.slice(a+1)),r.remove(t)),i&&e.push(r.set(t,{on:i})),n)},t}function N(){Ta.event.preventDefault()}function B(){for(var n,t=Ta.event;n=t.sourceEvent;)t=n;return t}function L(n){for(var t=new x,e=0,r=arguments.length;++e<r;)t[arguments[e]]=b(t);return t.of=function(e,r){return function(i){try{var a=i.sourceEvent=Ta.event;i.target=n,Ta.event=i,t[i.type].apply(e,r)}finally{Ta.event=a}}},t}function H(n){return Ka(n,Ra),n}function w(n){return"function"==typeof n?n:function(){return za(n,this)}}function _(n){return"function"==typeof n?n:function(){return qa(n,this)}}function k(n,t){return n=Ta.ns.qualify(n),null==t?n.local?function(){this.removeAttributeNS(n.space,n.local)}:function(){this.removeAttribute(n)}:"function"==typeof t?n.local?function(){var e=t.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}:function(){var e=t.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}:n.local?function(){this.setAttributeNS(n.space,n.local,t)}:function(){this.setAttribute(n,t)}}function A(n){return n.trim().replace(/\s+/g," ")}function D(n){return new RegExp("(?:^|\\s+)"+Ta.requote(n)+"(?:\\s+|$)","g")}function S(n){return(n+"").trim().split(/^|\s+/)}function C(n,t){var e=(n=S(n).map(K)).length;return"function"==typeof t?function(){for(var r=-1,i=t.apply(this,arguments);++r<e;)n[r](this,i)}:function(){for(var r=-1;++r<e;)n[r](this,t)}}function K(n){var t=D(n);return function(e,r){if(i=e.classList)return r?i.add(n):i.remove(n);var i=e.getAttribute("class")||"";r?(t.lastIndex=0,t.test(i)||e.setAttribute("class",A(i+" "+n))):e.setAttribute("class",A(i.replace(t," ")))}}function z(n,t,e){return null==t?function(){this.style.removeProperty(n)}:"function"==typeof t?function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(n):this.style.setProperty(n,r,e)}:function(){this.style.setProperty(n,t,e)}}function q(n,t){return null==t?function(){delete this[n]}:"function"==typeof t?function(){var e=t.apply(this,arguments);null==e?delete this[n]:this[n]=e}:function(){this[n]=t}}function Y(n){return"function"==typeof n?n:(n=Ta.ns.qualify(n)).local?function(){return this.ownerDocument.createElementNS(n.space,n.local)}:function(){var t=this.ownerDocument,e=this.namespaceURI;return e===Pa&&t.documentElement.namespaceURI===Pa?t.createElement(n):t.createElementNS(e,n)}}function R(){var n=this.parentNode;n&&n.removeChild(this)}function P(n){return{__data__:n}}function j(n){return function(){return Ya(this,n)}}function U(n){return arguments.length||(n=e),function(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}}function F(n,t){for(var e=0,r=n.length;r>e;e++)for(var i,a=n[e],o=0,l=a.length;l>o;o++)(i=a[o])&&t(i,o,e);return n}function O(n){return Ka(n,Ua),n}function I(n){var t,e;return function(r,i,a){var o,l=n[a].update,u=l.length;for(a!=e&&(e=a,t=0),i>=t&&(t=i+1);!(o=l[t])&&++t<u;);return o}}function Z(n,t,e){function r(){var t=this[i];t&&(this.removeEventListener(n,t,t.$),delete this[i])}var i="__on"+n,a=n.indexOf("."),o=V;a>0&&(n=n.slice(0,a));var l=Fa.get(n);return l&&(n=l,o=X),a?t?function(){var a=o(t,xa(arguments));r.call(this),this.addEventListener(n,this[i]=a,a.$=e),a._=t}:r:t?E:function(){var t,e=new RegExp("^__on([^.]+)"+Ta.requote(n)+"$");for(var r in this)if(t=r.match(e)){var i=this[r];this.removeEventListener(t[1],i,i.$),delete this[r]}}}function V(n,t){return function(e){var r=Ta.event;Ta.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{Ta.event=r}}}function X(n,t){var e=V(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function $(e){var r=".dragsuppress-"+ ++Ia,i="click"+r,a=Ta.select(t(e)).on("touchmove"+r,N).on("dragstart"+r,N).on("selectstart"+r,N);if(null==Oa&&(Oa=!("onselectstart"in e)&&T(e.style,"userSelect")),Oa){var o=n(e).style,l=o[Oa];o[Oa]="none"}return function(n){if(a.on(r,null),Oa&&(o[Oa]=l),n){var t=function(){a.on(i,null)};a.on(i,(function(){N(),t()}),!0),setTimeout(t,0)}}}function W(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Za){var a=t(n);if(a.scrollX||a.scrollY){var o=(r=Ta.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important"))[0][0].getScreenCTM();Za=!(o.f||o.e),r.remove()}}return Za?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),[(i=i.matrixTransform(n.getScreenCTM().inverse())).x,i.y]}var l=n.getBoundingClientRect();return[e.clientX-l.left-n.clientLeft,e.clientY-l.top-n.clientTop]}function J(){return Ta.event.changedTouches[0].identifier}function G(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?$a:Math.acos(n)}function tn(n){return n>1?Ga:-1>n?-Ga:Math.asin(n)}function en(n){return((n=Math.exp(n))+1/n)/2}function rn(n){return(n=Math.sin(n/2))*n}function an(){}function on(n,t,e){return this instanceof on?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof on?new on(n.h,n.s,n.l):Tn(""+n,En,on):new on(n,t,e)}function ln(n,t,e){function r(n){return Math.round(255*function(n){return n>360?n-=360:0>n&&(n+=360),60>n?i+(a-i)*n/60:180>n?a:240>n?i+(a-i)*(240-n)/60:i}(n))}var i,a;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)||0>t?0:t>1?1:t,i=2*(e=0>e?0:e>1?1:e)-(a=.5>=e?e*(1+t):e+t-e*t),new mn(r(n+120),r(n),r(n-120))}function un(n,t,e){return this instanceof un?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof un?new un(n.h,n.c,n.l):fn(n instanceof sn?n.l:(n=xn((n=Ta.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new un(n,t,e)}function cn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new sn(e,Math.cos(n*=Qa)*t,Math.sin(n)*t)}function sn(n,t,e){return this instanceof sn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof sn?new sn(n.l,n.a,n.b):n instanceof un?cn(n.h,n.c,n.l):xn((n=mn(n)).r,n.g,n.b):new sn(n,t,e)}function hn(n,t,e){var r=(n+16)/116,i=r+t/500,a=r-e/200;return new mn(pn(3.2404542*(i=dn(i)*uo)-1.5371385*(r=dn(r)*co)-.4985314*(a=dn(a)*so)),pn(-.969266*i+1.8760108*r+.041556*a),pn(.0556434*i-.2040259*r+1.0572252*a))}function fn(n,t,e){return n>0?new un(Math.atan2(e,t)*no,Math.sqrt(t*t+e*e),n):new un(NaN,NaN,n)}function dn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function gn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function pn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):Tn(""+n,mn,ln):new mn(n,t,e)}function yn(n){return new mn(n>>16,n>>8&255,255&n)}function vn(n){return yn(n)+""}function Mn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function Tn(n,t,e){var r,i,a,o=0,l=0,u=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(a=go.get(n))?t(a.r,a.g,a.b):(null==n||"#"!==n.charAt(0)||isNaN(a=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&a)>>4,o|=o>>4,l=240&a,l|=l>>4,u=15&a,u|=u<<4):7===n.length&&(o=(16711680&a)>>16,l=(65280&a)>>8,u=255&a)),t(o,l,u))}function En(n,t,e){var r,i,a=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),l=o-a,u=(o+a)/2;return l?(i=.5>u?l/(o+a):l/(2-o-a),r=n==o?(t-e)/l+(e>t?6:0):t==o?(e-n)/l+2:(n-t)/l+4,r*=60):(r=NaN,i=u>0&&1>u?0:r),new on(r,i,u)}function xn(n,t,e){var r=gn((.4124564*(n=bn(n))+.3575761*(t=bn(t))+.1804375*(e=bn(e)))/uo),i=gn((.2126729*n+.7151522*t+.072175*e)/co);return sn(116*i-16,500*(r-i),200*(i-gn((.0193339*n+.119192*t+.9503041*e)/so)))}function bn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function Bn(n){return"function"==typeof n?n:function(){return n}}function Ln(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Hn(t,e,n,r)}}function Hn(n,t,e,r){function i(){var n,t=u.status;if(!t&&function(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}(u)||t>=200&&300>t||304===t){try{n=e.call(a,u)}catch(n){return void o.error.call(a,n)}o.load.call(a,n)}else o.error.call(a,u)}var a={},o=Ta.dispatch("beforesend","progress","load","error"),l={},u=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in u||!/^(http(s)?:)?\/\//.test(n)||(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=i:u.onreadystatechange=function(){u.readyState>3&&i()},u.onprogress=function(n){var t=Ta.event;Ta.event=n;try{o.progress.call(a,u)}finally{Ta.event=t}},a.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?l[n]:(null==t?delete l[n]:l[n]=t+"",a)},a.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",a):t},a.responseType=function(n){return arguments.length?(c=n,a):c},a.response=function(n){return e=n,a},["get","post"].forEach((function(n){a[n]=function(){return a.send.apply(a,[n].concat(xa(arguments)))}})),a.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),u.open(e,n,!0),null==t||"accept"in l||(l.accept=t+",*/*"),u.setRequestHeader)for(var s in l)u.setRequestHeader(s,l[s]);return null!=t&&u.overrideMimeType&&u.overrideMimeType(t),null!=c&&(u.responseType=c),null!=i&&a.on("error",i).on("load",(function(n){i(null,n)})),o.beforesend.call(a,u),u.send(null==r?null:r),a},a.abort=function(){return u.abort(),a},Ta.rebind(a,o,"on"),null==r?a:a.get(function(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}(r))}function wn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,a={c:n,t:i,n:null};return mo?mo.n=a:po=a,mo=a,yo||(vo=clearTimeout(vo),yo=1,Mo(_n)),a}function _n(){var n=kn(),t=An()-n;t>24?(isFinite(t)&&(clearTimeout(vo),vo=setTimeout(_n,t)),yo=0):(yo=1,Mo(_n))}function kn(){for(var n=Date.now(),t=po;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function An(){for(var n,t=po,e=1/0;t;)t.c?(t.t<e&&(e=t.t),t=(n=t).n):t=n?n.n=t.n:po=t.n;return mo=n,e}function Dn(n,t){return t-(n?Math.ceil(Math.log(n)/Math.LN10):1)}function Sn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,a=r&&e?function(n,t){for(var i=n.length,a=[],o=0,l=r[0],u=0;i>0&&l>0&&(u+l+1>t&&(l=Math.max(1,t-u)),a.push(n.substring(i-=l,i+l)),!((u+=l+1)>t));)l=r[o=(o+1)%r.length];return a.reverse().join(e)}:v;return function(n){var e=Eo.exec(n),r=e[1]||" ",o=e[2]||">",l=e[3]||"-",u=e[4]||"",c=e[5],s=+e[6],h=e[7],f=e[8],d=e[9],g=1,p="",m="",y=!1,v=!0;switch(f&&(f=+f.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),d){case"n":h=!0,d="g";break;case"%":g=100,m="%",d="f";break;case"p":g=100,m="%",d="r";break;case"b":case"o":case"x":case"X":"#"===u&&(p="0"+d.toLowerCase());case"c":v=!1;case"d":y=!0,f=0;break;case"s":g=-1,d="r"}"$"===u&&(p=i[0],m=i[1]),"r"!=d||f||(d="g"),null!=f&&("g"==d?f=Math.max(1,Math.min(21,f)):"e"!=d&&"f"!=d||(f=Math.max(0,Math.min(20,f)))),d=xo.get(d)||Cn;var M=c&&h;return function(n){var e=m;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===l?"":l;if(0>g){var u=Ta.formatPrefix(n,f);n=u.scale(n),e=u.symbol+m}else n*=g;var T,E,x=(n=d(n,f)).lastIndexOf(".");if(0>x){var b=v?n.lastIndexOf("e"):-1;0>b?(T=n,E=""):(T=n.substring(0,b),E=n.substring(b))}else T=n.substring(0,x),E=t+n.substring(x+1);!c&&h&&(T=a(T,1/0));var N=p.length+T.length+E.length+(M?0:i.length),B=s>N?new Array(N=s-N+1).join(r):"";return M&&(T=a(B+T,B.length?s-E.length:1/0)),i+=p,n=T+E,("<"===o?i+n+B:">"===o?B+i+n:"^"===o?B.substring(0,N>>=1)+i+n+B.substring(N):i+(M?n:B+n))+e}}}function Cn(n){return n+""}function Kn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function zn(n,t,e){function r(t){var e=n(t),r=a(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new No(e-1)),1),e}function a(n,e){return t(n=new No(+n),e),n}function o(n,r,a){var o=i(n),l=[];if(a>1)for(;r>o;)e(o)%a||l.push(new Date(+o)),t(o,1);else for(;r>o;)l.push(new Date(+o)),t(o,1);return l}n.floor=n,n.round=r,n.ceil=i,n.offset=a,n.range=o;var l=n.utc=qn(n);return l.floor=l,l.round=qn(r),l.ceil=qn(i),l.offset=qn(a),l.range=function(n,t,e){try{No=Kn;var r=new Kn;return r._=n,o(r,t,e)}finally{No=Date}},n}function qn(n){return function(t,e){try{No=Kn;var r=new Kn;return r._=t,n(r,e)._}finally{No=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,a,o=[],l=-1,u=0;++l<r;)37===n.charCodeAt(l)&&(o.push(n.slice(u,l)),null!=(i=Lo[e=n.charAt(++l)])&&(e=n.charAt(++l)),(a=T[e])&&(e=a(t,null==i?"e"===e?" ":"0":i)),o.push(e),u=l+1);return o.push(n.slice(u,l)),o.join("")}var r=n.length;return t.parse=function(t){var r={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null};if(e(r,n,t,0)!=t.length)return null;"p"in r&&(r.H=r.H%12+12*r.p);var i=null!=r.Z&&No!==Kn,a=new(i?Kn:No);return"j"in r?a.setFullYear(r.y,0,r.j):"W"in r||"U"in r?("w"in r||(r.w="W"in r?1:0),a.setFullYear(r.y,0,1),a.setFullYear(r.y,0,"W"in r?(r.w+6)%7+7*r.W-(a.getDay()+5)%7:r.w+7*r.U-(a.getDay()+6)%7)):a.setFullYear(r.y,r.m,r.d),a.setHours(r.H+(r.Z/100|0),r.M+r.Z%100,r.S,r.L),i?a._:a},t.toString=function(){return n},t}function e(n,t,e,r){for(var i,a,o,l=0,u=t.length,c=e.length;u>l;){if(r>=c)return-1;if(37===(i=t.charCodeAt(l++))){if(o=t.charAt(l++),!(a=E[o in Lo?t.charAt(l++):o])||(r=a(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}var r=n.dateTime,i=n.date,a=n.time,o=n.periods,l=n.days,u=n.shortDays,c=n.months,s=n.shortMonths;t.utc=function(n){function e(n){try{var t=new(No=Kn);return t._=n,r(t)}finally{No=Date}}var r=t(n);return e.parse=function(n){try{No=Kn;var t=r.parse(n);return t&&t._}finally{No=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=rt;var h=Ta.map(),f=Pn(l),d=jn(l),g=Pn(u),p=jn(u),m=Pn(c),y=jn(c),v=Pn(s),M=jn(s);o.forEach((function(n,t){h.set(n.toLowerCase(),t)}));var T={a:function(n){return u[n.getDay()]},A:function(n){return l[n.getDay()]},b:function(n){return s[n.getMonth()]},B:function(n){return c[n.getMonth()]},c:t(r),d:function(n,t){return Rn(n.getDate(),t,2)},e:function(n,t){return Rn(n.getDate(),t,2)},H:function(n,t){return Rn(n.getHours(),t,2)},I:function(n,t){return Rn(n.getHours()%12||12,t,2)},j:function(n,t){return Rn(1+bo.dayOfYear(n),t,3)},L:function(n,t){return Rn(n.getMilliseconds(),t,3)},m:function(n,t){return Rn(n.getMonth()+1,t,2)},M:function(n,t){return Rn(n.getMinutes(),t,2)},p:function(n){return o[+(n.getHours()>=12)]},S:function(n,t){return Rn(n.getSeconds(),t,2)},U:function(n,t){return Rn(bo.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Rn(bo.mondayOfYear(n),t,2)},x:t(i),X:t(a),y:function(n,t){return Rn(n.getFullYear()%100,t,2)},Y:function(n,t){return Rn(n.getFullYear()%1e4,t,4)},Z:tt,"%":function(){return"%"}},E={a:function(n,t,e){g.lastIndex=0;var r=g.exec(t.slice(e));return r?(n.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(n,t,e){f.lastIndex=0;var r=f.exec(t.slice(e));return r?(n.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(n,t,e){v.lastIndex=0;var r=v.exec(t.slice(e));return r?(n.m=M.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(n,t,e){m.lastIndex=0;var r=m.exec(t.slice(e));return r?(n.m=y.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(n,t,r){return e(n,T.c.toString(),t,r)},d:$n,e:$n,H:Jn,I:Jn,j:Wn,L:nt,m:Xn,M:Gn,p:function(n,t,e){var r=h.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)},S:Qn,U:Fn,w:Un,W:On,x:function(n,t,r){return e(n,T.x.toString(),t,r)},X:function(n,t,r){return e(n,T.X.toString(),t,r)},y:Zn,Y:In,Z:Vn,"%":et};return t}function Rn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",a=i.length;return r+(e>a?new Array(e-a+1).join(t)+i:i)}function Pn(n){return new RegExp("^(?:"+n.map(Ta.requote).join("|")+")","i")}function jn(n){for(var t=new c,e=-1,r=n.length;++e<r;)t.set(n[e].toLowerCase(),e);return t}function Un(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+1));return r?(n.w=+r[0],e+r[0].length):-1}function Fn(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e));return r?(n.U=+r[0],e+r[0].length):-1}function On(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e));return r?(n.W=+r[0],e+r[0].length):-1}function In(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+4));return r?(n.y=+r[0],e+r[0].length):-1}function Zn(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+2));return r?(n.y=function(n){return n+(n>68?1900:2e3)}(+r[0]),e+r[0].length):-1}function Vn(n,t,e){return/^[+-]\d{4}$/.test(t=t.slice(e,e+5))?(n.Z=-t,e+5):-1}function Xn(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function $n(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function Wn(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function Jn(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function Gn(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function Qn(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function nt(n,t,e){Ho.lastIndex=0;var r=Ho.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function tt(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=ka(t)/60|0,i=ka(t)%60;return e+Rn(r,"0",2)+Rn(i,"0",2)}function et(n,t,e){wo.lastIndex=0;var r=wo.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function rt(n){for(var t=n.length,e=-1;++e<t;)n[e][0]=this(n[e][0]);return function(t){for(var e=0,r=n[e];!r[1](t);)r=n[++e];return r[0](t)}}function it(){}function at(n,t,e){var r=e.s=n+t,i=r-n,a=r-i;e.t=n-a+(t-i)}function ot(n,t){n&&Do.hasOwnProperty(n.type)&&Do[n.type](n,t)}function lt(n,t,e){var r,i=-1,a=n.length-e;for(t.lineStart();++i<a;)r=n[i],t.point(r[0],r[1],r[2]);t.lineEnd()}function ut(n,t){var e=-1,r=n.length;for(t.polygonStart();++e<r;)lt(n[e],t,1);t.polygonEnd()}function ct(){function n(n,t){t=t*Qa/2+$a/4;var e=(n*=Qa)-r,o=e>=0?1:-1,l=o*e,u=Math.cos(t),c=Math.sin(t),s=a*c,h=i*u+s*Math.cos(l),f=s*o*Math.sin(l);Co.add(Math.atan2(f,h)),r=n,i=u,a=c}var t,e,r,i,a;Ko.point=function(o,l){Ko.point=n,r=(t=o)*Qa,i=Math.cos(l=(e=l)*Qa/2+$a/4),a=Math.sin(l)},Ko.lineEnd=function(){n(t,e)}}function st(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function ht(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function ft(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function dt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function gt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function pt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function mt(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function yt(n,t){return ka(n[0]-t[0])<Va&&ka(n[1]-t[1])<Va}function vt(n,t){n*=Qa;var e=Math.cos(t*=Qa);Mt(e*Math.cos(n),e*Math.sin(n),Math.sin(t))}function Mt(n,t,e){++zo,Yo+=(n-Yo)/zo,Ro+=(t-Ro)/zo,Po+=(e-Po)/zo}function Tt(){function n(n,i){n*=Qa;var a=Math.cos(i*=Qa),o=a*Math.cos(n),l=a*Math.sin(n),u=Math.sin(i),c=Math.atan2(Math.sqrt((c=e*u-r*l)*c+(c=r*o-t*u)*c+(c=t*l-e*o)*c),t*o+e*l+r*u);qo+=c,jo+=c*(t+(t=o)),Uo+=c*(e+(e=l)),Fo+=c*(r+(r=u)),Mt(t,e,r)}var t,e,r;Vo.point=function(i,a){i*=Qa;var o=Math.cos(a*=Qa);t=o*Math.cos(i),e=o*Math.sin(i),r=Math.sin(a),Vo.point=n,Mt(t,e,r)}}function Et(){Vo.point=vt}function xt(){function n(n,t){n*=Qa;var e=Math.cos(t*=Qa),o=e*Math.cos(n),l=e*Math.sin(n),u=Math.sin(t),c=i*u-a*l,s=a*o-r*u,h=r*l-i*o,f=Math.sqrt(c*c+s*s+h*h),d=r*o+i*l+a*u,g=f&&-nn(d)/f,p=Math.atan2(f,d);Oo+=g*c,Io+=g*s,Zo+=g*h,qo+=p,jo+=p*(r+(r=o)),Uo+=p*(i+(i=l)),Fo+=p*(a+(a=u)),Mt(r,i,a)}var t,e,r,i,a;Vo.point=function(o,l){t=o,e=l,Vo.point=n,o*=Qa;var u=Math.cos(l*=Qa);r=u*Math.cos(o),i=u*Math.sin(o),a=Math.sin(l),Mt(r,i,a)},Vo.lineEnd=function(){n(t,e),Vo.lineEnd=Et,Vo.point=vt}}function bt(n,t){function e(e,r){return e=n(e,r),t(e[0],e[1])}return n.invert&&t.invert&&(e.invert=function(e,r){return(e=t.invert(e,r))&&n.invert(e[0],e[1])}),e}function Nt(){return!0}function Bt(n,t,e,r,i){var a=[],o=[];if(n.forEach((function(n){if(!((t=n.length-1)<=0)){var t,e=n[0],r=n[t];if(yt(e,r)){i.lineStart();for(var l=0;t>l;++l)i.point((e=n[l])[0],e[1]);return void i.lineEnd()}var u=new Ht(e,n,null,!0),c=new Ht(e,null,u,!1);u.o=c,a.push(u),o.push(c),u=new Ht(r,n,null,!1),c=new Ht(r,null,u,!0),u.o=c,a.push(u),o.push(c)}})),o.sort(t),Lt(a),Lt(o),a.length){for(var l=0,u=e,c=o.length;c>l;++l)o[l].e=u=!u;for(var s,h,f=a[0];;){for(var d=f,g=!0;d.v;)if((d=d.n)===f)return;s=d.z,i.lineStart();do{if(d.v=d.o.v=!0,d.e){if(g)for(l=0,c=s.length;c>l;++l)i.point((h=s[l])[0],h[1]);else r(d.x,d.n.x,1,i);d=d.n}else{if(g)for(l=(s=d.p.z).length-1;l>=0;--l)i.point((h=s[l])[0],h[1]);else r(d.x,d.p.x,-1,i);d=d.p}s=(d=d.o).z,g=!g}while(!d.v);i.lineEnd()}}}function Lt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r<t;)i.n=e=n[r],e.p=i,i=e;i.n=e=n[0],e.p=i}}function Ht(n,t,e,r){this.x=n,this.z=t,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function wt(n,t,e,r){return function(i,a){function o(t,e){var r=i(t,e);n(t=r[0],e=r[1])&&a.point(t,e)}function l(n,t){var e=i(n,t);m.point(e[0],e[1])}function u(){v.point=l,m.lineStart()}function c(){v.point=o,m.lineEnd()}function s(n,t){p.push([n,t]);var e=i(n,t);T.point(e[0],e[1])}function h(){T.lineStart(),p=[]}function f(){s(p[0][0],p[0][1]),T.lineEnd();var n,t=T.clean(),e=M.buffer(),r=e.length;if(p.pop(),g.push(p),p=null,r)if(1&t){var i,o=-1;if((r=(n=e[0]).length-1)>0){for(E||(a.polygonStart(),E=!0),a.lineStart();++o<r;)a.point((i=n[o])[0],i[1]);a.lineEnd()}}else r>1&&2&t&&e.push(e.pop().concat(e.shift())),d.push(e.filter(_t))}var d,g,p,m=t(a),y=i.invert(r[0],r[1]),v={point:o,lineStart:u,lineEnd:c,polygonStart:function(){v.point=s,v.lineStart=h,v.lineEnd=f,d=[],g=[]},polygonEnd:function(){v.point=o,v.lineStart=u,v.lineEnd=c,d=Ta.merge(d);var n=function(n,t){var e=n[0],r=n[1],i=[Math.sin(e),-Math.cos(e),0],a=0,o=0;Co.reset();for(var l=0,u=t.length;u>l;++l){var c=t[l],s=c.length;if(s)for(var h=c[0],f=h[0],d=h[1]/2+$a/4,g=Math.sin(d),p=Math.cos(d),m=1;;){m===s&&(m=0);var y=(n=c[m])[0],v=n[1]/2+$a/4,M=Math.sin(v),T=Math.cos(v),E=y-f,x=E>=0?1:-1,b=x*E,N=b>$a,B=g*M;if(Co.add(Math.atan2(B*x*Math.sin(b),p*T+B*Math.cos(b))),a+=N?E+x*Wa:E,N^f>=e^y>=e){var L=ft(st(h),st(n));pt(L);var H=ft(i,L);pt(H);var w=(N^E>=0?-1:1)*tn(H[2]);(r>w||r===w&&(L[0]||L[1]))&&(o+=N^E>=0?1:-1)}if(!m++)break;f=y,g=M,p=T,h=n}}return(-Va>a||Va>a&&-Va>Co)^1&o}(y,g);d.length?(E||(a.polygonStart(),E=!0),Bt(d,At,n,e,a)):n&&(E||(a.polygonStart(),E=!0),a.lineStart(),e(null,null,1,a),a.lineEnd()),E&&(a.polygonEnd(),E=!1),d=g=null},sphere:function(){a.polygonStart(),a.lineStart(),e(null,null,1,a),a.lineEnd(),a.polygonEnd()}},M=kt(),T=t(M),E=!1;return v}}function _t(n){return n.length>1}function kt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:E,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function At(n,t){return((n=n.x)[0]<0?n[1]-Ga-Va:Ga-n[1])-((t=t.x)[0]<0?t[1]-Ga-Va:Ga-t[1])}function Dt(n){function t(n,t){return Math.cos(n)*Math.cos(t)>i}function e(n,t,e){var r=[1,0,0],a=ft(st(n),st(t)),o=ht(a,a),l=a[0],u=o-l*l;if(!u)return!e&&n;var c=i*o/u,s=-i*l/u,h=ft(r,a),f=gt(r,c);dt(f,gt(a,s));var d=h,g=ht(f,d),p=ht(d,d),m=g*g-p*(ht(f,f)-1);if(!(0>m)){var y=Math.sqrt(m),v=gt(d,(-g-y)/p);if(dt(v,f),v=mt(v),!e)return v;var M,T=n[0],E=t[0],x=n[1],b=t[1];T>E&&(M=T,T=E,E=M);var N=E-T,B=ka(N-$a)<Va;if(!B&&x>b&&(M=x,x=b,b=M),B||Va>N?B?x+b>0^v[1]<(ka(v[0]-T)<Va?x:b):x<=v[1]&&v[1]<=b:N>$a^(T<=v[0]&&v[0]<=E)){var L=gt(d,(-g+y)/p);return dt(L,f),[v,mt(L)]}}}function r(t,e){var r=a?n:$a-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var i=Math.cos(n),a=i>0,o=ka(i)>Va;return wt(t,(function(n){var i,l,u,c,s;return{lineStart:function(){c=u=!1,s=1},point:function(h,f){var d,g=[h,f],p=t(h,f),m=a?p?0:r(h,f):p?r(h+(0>h?$a:-$a),f):0;if(!i&&(c=u=p)&&n.lineStart(),p!==u&&(d=e(i,g),(yt(i,d)||yt(g,d))&&(g[0]+=Va,g[1]+=Va,p=t(g[0],g[1]))),p!==u)s=0,p?(n.lineStart(),d=e(g,i),n.point(d[0],d[1])):(d=e(i,g),n.point(d[0],d[1]),n.lineEnd()),i=d;else if(o&&i&&a^p){var y;m&l||!(y=e(g,i,!0))||(s=0,a?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!p||i&&yt(i,g)||n.point(g[0],g[1]),i=g,u=p,l=m},lineEnd:function(){u&&n.lineEnd(),i=null},clean:function(){return s|(c&&u)<<1}}}),ie(n,6*Qa),a?[0,-n]:[-$a,n-$a])}function St(n,t,e,r){return function(i){var a,o=i.a,l=i.b,u=o.x,c=o.y,s=0,h=1,f=l.x-u,d=l.y-c;if(a=n-u,f||!(a>0)){if(a/=f,0>f){if(s>a)return;h>a&&(h=a)}else if(f>0){if(a>h)return;a>s&&(s=a)}if(a=e-u,f||!(0>a)){if(a/=f,0>f){if(a>h)return;a>s&&(s=a)}else if(f>0){if(s>a)return;h>a&&(h=a)}if(a=t-c,d||!(a>0)){if(a/=d,0>d){if(s>a)return;h>a&&(h=a)}else if(d>0){if(a>h)return;a>s&&(s=a)}if(a=r-c,d||!(0>a)){if(a/=d,0>d){if(a>h)return;a>s&&(s=a)}else if(d>0){if(s>a)return;h>a&&(h=a)}return s>0&&(i.a={x:u+s*f,y:c+s*d}),1>h&&(i.b={x:u+h*f,y:c+h*d}),i}}}}}}function Ct(n,t,e,r){function i(r,i){return ka(r[0]-n)<Va?i>0?0:3:ka(r[0]-e)<Va?i>0?2:1:ka(r[1]-t)<Va?i>0?1:0:i>0?3:2}function a(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(l){function u(a,l,u,c){var s=0,h=0;if(null==a||(s=i(a,u))!==(h=i(l,u))||o(a,l)<0^u>0)do{c.point(0===s||3===s?n:e,s>1?r:t)}while((s=(s+u+4)%4)!==h);else c.point(l[0],l[1])}function c(i,a){return i>=n&&e>=i&&a>=t&&r>=a}function s(n,t){c(n,t)&&l.point(n,t)}function h(n,t){var e=c(n=Math.max(-$o,Math.min($o,n)),t=Math.max(-$o,Math.min($o,t)));if(d&&g.push([n,t]),E)p=n,m=t,y=e,E=!1,e&&(l.lineStart(),l.point(n,t));else if(e&&T)l.point(n,t);else{var r={a:{x:v,y:M},b:{x:n,y:t}};B(r)?(T||(l.lineStart(),l.point(r.a.x,r.a.y)),l.point(r.b.x,r.b.y),e||l.lineEnd(),x=!1):e&&(l.lineStart(),l.point(n,t),x=!1)}v=n,M=t,T=e}var f,d,g,p,m,y,v,M,T,E,x,b=l,N=kt(),B=St(n,t,e,r),L={point:s,lineStart:function(){L.point=h,d&&d.push(g=[]),E=!0,T=!1,v=M=NaN},lineEnd:function(){f&&(h(p,m),y&&T&&N.rejoin(),f.push(N.buffer())),L.point=s,T&&l.lineEnd()},polygonStart:function(){l=N,f=[],d=[],x=!0},polygonEnd:function(){l=b,f=Ta.merge(f);var t=function(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var a,o=1,l=d[i],u=l.length,c=l[0];u>o;++o)a=l[o],c[1]<=r?a[1]>r&&Q(c,a,n)>0&&++t:a[1]<=r&&Q(c,a,n)<0&&--t,c=a;return 0!==t}([n,r]),e=x&&t,i=f.length;(e||i)&&(l.polygonStart(),e&&(l.lineStart(),u(null,null,1,l),l.lineEnd()),i&&Bt(f,a,t,u,l),l.polygonEnd()),f=d=g=null}};return L}}function Kt(n){var t=0,e=$a/3,r=Wt(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*$a/180,e=n[1]*$a/180):[t/$a*180,e/$a*180]},i}function zt(n,t){function e(n,t){var e=Math.sqrt(a-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,a=1+r*(2*i-r),o=Math.sqrt(a)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((a-(n*n+e*e)*i*i)/(2*i))]},e}function qt(){function n(n,t){Jo+=i*n-r*t,r=n,i=t}var t,e,r,i;el.point=function(a,o){el.point=n,t=r=a,e=i=o},el.lineEnd=function(){n(t,e)}}function Yt(){function n(n,t){o.push("M",n,",",t,a)}function t(n,t){o.push("M",n,",",t),l.point=e}function e(n,t){o.push("L",n,",",t)}function r(){l.point=n}function i(){o.push("Z")}var a=Rt(4.5),o=[],l={point:n,lineStart:function(){l.point=t},lineEnd:r,polygonStart:function(){l.lineEnd=i},polygonEnd:function(){l.lineEnd=r,l.point=n},pointRadius:function(n){return a=Rt(n),l},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return l}function Rt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Pt(n,t){Yo+=n,Ro+=t,++Po}function jt(){function n(n,r){var i=n-t,a=r-e,o=Math.sqrt(i*i+a*a);jo+=o*(t+n)/2,Uo+=o*(e+r)/2,Fo+=o,Pt(t=n,e=r)}var t,e;il.point=function(r,i){il.point=n,Pt(t=r,e=i)}}function Ut(){il.point=Pt}function Ft(){function n(n,t){var e=n-r,a=t-i,o=Math.sqrt(e*e+a*a);jo+=o*(r+n)/2,Uo+=o*(i+t)/2,Fo+=o,Oo+=(o=i*n-r*t)*(r+n),Io+=o*(i+t),Zo+=3*o,Pt(r=n,i=t)}var t,e,r,i;il.point=function(a,o){il.point=n,Pt(t=r=a,e=i=o)},il.lineEnd=function(){n(t,e)}}function Ot(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Wa)}function e(t,e){n.moveTo(t,e),l.point=r}function r(t,e){n.lineTo(t,e)}function i(){l.point=t}function a(){n.closePath()}var o=4.5,l={point:t,lineStart:function(){l.point=e},lineEnd:i,polygonStart:function(){l.lineEnd=a},polygonEnd:function(){l.lineEnd=i,l.point=t},pointRadius:function(n){return o=n,l},result:E};return l}function It(n){function t(n){return(l?r:e)(n)}function e(t){return Xt(t,(function(e,r){e=n(e,r),t.point(e[0],e[1])}))}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){v=NaN,b.point=a,t.lineStart()}function a(e,r){var a=st([e,r]),o=n(e,r);i(v,M,y,T,E,x,v=o[0],M=o[1],y=e,T=a[0],E=a[1],x=a[2],l,t),t.point(v,M)}function o(){b.point=e,t.lineEnd()}function u(){r(),b.point=c,b.lineEnd=s}function c(n,t){a(h=n,t),f=v,d=M,g=T,p=E,m=x,b.point=a}function s(){i(v,M,y,T,E,x,f,d,h,g,p,m,l,t),b.lineEnd=o,o()}var h,f,d,g,p,m,y,v,M,T,E,x,b={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),b.lineStart=u},polygonEnd:function(){t.polygonEnd(),b.lineStart=r}};return b}function i(t,e,r,l,u,c,s,h,f,d,g,p,m,y){var v=s-t,M=h-e,T=v*v+M*M;if(T>4*a&&m--){var E=l+d,x=u+g,b=c+p,N=Math.sqrt(E*E+x*x+b*b),B=Math.asin(b/=N),L=ka(ka(b)-1)<Va||ka(r-f)<Va?(r+f)/2:Math.atan2(x,E),H=n(L,B),w=H[0],_=H[1],k=w-t,A=_-e,D=M*k-v*A;(D*D/T>a||ka((v*k+M*A)/T-.5)>.3||o>l*d+u*g+c*p)&&(i(t,e,r,l,u,c,w,_,L,E/=N,x/=N,b,m,y),y.point(w,_),i(w,_,L,E,x,b,s,h,f,d,g,p,m,y))}}var a=.5,o=Math.cos(30*Qa),l=16;return t.precision=function(n){return arguments.length?(l=(a=n*n)>0&&16,t):Math.sqrt(a)},t}function Zt(n){var t=It((function(t,e){return n([t*no,e*no])}));return function(n){return Jt(t(n))}}function Vt(n){this.stream=n}function Xt(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function $t(n){return Wt((function(){return n}))()}function Wt(n){function t(n){return[(n=l(n[0]*Qa,n[1]*Qa))[0]*f+u,c-n[1]*f]}function e(n){return(n=l.invert((n[0]-u)/f,(c-n[1])/f))&&[n[0]*no,n[1]*no]}function r(){l=bt(o=ne(y,M,T),a);var n=a(p,m);return u=d-n[0]*f,c=g+n[1]*f,i()}function i(){return s&&(s.valid=!1,s=null),t}var a,o,l,u,c,s,h=It((function(n,t){return[(n=a(n,t))[0]*f+u,c-n[1]*f]})),f=150,d=480,g=250,p=0,m=0,y=0,M=0,T=0,E=Xo,x=v,b=null,N=null;return t.stream=function(n){return s&&(s.valid=!1),(s=Jt(E(o,h(x(n))))).valid=!0,s},t.clipAngle=function(n){return arguments.length?(E=null==n?(b=n,Xo):Dt((b=+n)*Qa),i()):b},t.clipExtent=function(n){return arguments.length?(N=n,x=n?Ct(n[0][0],n[0][1],n[1][0],n[1][1]):v,i()):N},t.scale=function(n){return arguments.length?(f=+n,r()):f},t.translate=function(n){return arguments.length?(d=+n[0],g=+n[1],r()):[d,g]},t.center=function(n){return arguments.length?(p=n[0]%360*Qa,m=n[1]%360*Qa,r()):[p*no,m*no]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Qa,M=n[1]%360*Qa,T=n.length>2?n[2]%360*Qa:0,r()):[y*no,M*no,T*no]},Ta.rebind(t,h,"precision"),function(){return a=n.apply(this,arguments),t.invert=a.invert&&e,r()}}function Jt(n){return Xt(n,(function(t,e){n.point(t*Qa,e*Qa)}))}function Gt(n,t){return[n,t]}function Qt(n,t){return[n>$a?n-Wa:-$a>n?n+Wa:n,t]}function ne(n,t,e){return n?t||e?bt(ee(n),re(t,e)):ee(n):t||e?re(t,e):Qt}function te(n){return function(t,e){return[(t+=n)>$a?t-Wa:-$a>t?t+Wa:t,e]}}function ee(n){var t=te(n);return t.invert=te(-n),t}function re(n,t){function e(n,t){var e=Math.cos(t),l=Math.cos(n)*e,u=Math.sin(n)*e,c=Math.sin(t),s=c*r+l*i;return[Math.atan2(u*a-s*o,l*r-c*i),tn(s*a+u*o)]}var r=Math.cos(n),i=Math.sin(n),a=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),l=Math.cos(n)*e,u=Math.sin(n)*e,c=Math.sin(t),s=c*a-u*o;return[Math.atan2(u*a+c*o,l*r+s*i),tn(s*r-l*i)]},e}function ie(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,a,o,l){var u=o*t;null!=i?(i=ae(e,i),a=ae(e,a),(o>0?a>i:i>a)&&(i+=o*Wa)):(i=n+o*Wa,a=n-.5*u);for(var c,s=i;o>0?s>a:a>s;s-=u)l.point((c=mt([e,-r*Math.cos(s),-r*Math.sin(s)]))[0],c[1])}}function ae(n,t){var e=st(t);e[0]-=n,pt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Va)%(2*Math.PI)}function oe(n,t,e){var r=Ta.range(n,t-Va,e).concat(t);return function(n){return r.map((function(t){return[n,t]}))}}function le(n,t,e){var r=Ta.range(n,t-Va,e).concat(t);return function(n){return r.map((function(t){return[t,n]}))}}function ue(n){return n.source}function ce(n){return n.target}function se(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),a=n(r*i);return[a*i*Math.sin(t),a*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),a=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*a,r*o),Math.asin(r&&e*a/r)]},e}function he(n,t){function e(n,t){o>0?-Ga+Va>t&&(t=-Ga+Va):t>Ga-Va&&(t=Ga-Va);var e=o/Math.pow(i(t),a);return[e*Math.sin(a*n),o-e*Math.cos(a*n)]}var r=Math.cos(n),i=function(n){return Math.tan($a/4+n/2)},a=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),a)/a;return a?(e.invert=function(n,t){var e=o-t,r=G(a)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/a,2*Math.atan(Math.pow(o/r,1/a))-Ga]},e):de}function fe(n,t){function e(n,t){var e=a-t;return[e*Math.sin(i*n),a-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),a=r/i+n;return ka(i)<Va?Gt:(e.invert=function(n,t){var e=a-t;return[Math.atan2(n,e)/i,a-G(i)*Math.sqrt(n*n+e*e)]},e)}function de(n,t){return[n,Math.log(Math.tan($a/4+t/2))]}function ge(n){var t,e=$t(n),r=e.scale,i=e.translate,a=e.clipExtent;return e.scale=function(){var n=r.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.translate=function(){var n=i.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.clipExtent=function(n){var o=a.apply(e,arguments);if(o===e){if(t=null==n){var l=$a*r(),u=i();a([[u[0]-l,u[1]-l],[u[0]+l,u[1]+l]])}}else t&&(o=null);return o},e.clipExtent(null)}function pe(n,t){return[Math.log(Math.tan($a/4+t/2)),-n]}function me(n){return n[0]}function ye(n){return n[1]}function ve(n){for(var t=n.length,e=[0,1],r=2,i=2;t>i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function Me(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Ee(n,t,e,r){var i=n[0],a=e[0],o=t[0]-i,l=r[0]-a,u=n[1],c=e[1],s=t[1]-u,h=r[1]-c,f=(l*(u-c)-h*(i-a))/(h*o-l*s);return[i+f*o,u+f*s]}function xe(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function be(){Ue(this),this.edge=this.site=this.circle=null}function Ne(n){var t=vl.pop()||new be;return t.site=n,t}function Be(n){Ce(n),pl.remove(n),vl.push(n),Ue(n)}function Le(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},a=n.P,o=n.N,l=[n];Be(n);for(var u=a;u.circle&&ka(e-u.circle.x)<Va&&ka(r-u.circle.cy)<Va;)a=u.P,l.unshift(u),Be(u),u=a;l.unshift(u),Ce(u);for(var c=o;c.circle&&ka(e-c.circle.x)<Va&&ka(r-c.circle.cy)<Va;)o=c.N,l.push(c),Be(c),c=o;l.push(c),Ce(c);var s,h=l.length;for(s=1;h>s;++s)c=l[s],u=l[s-1],Re(c.edge,u.site,c.site,i);u=l[0],(c=l[h-1]).edge=qe(u.site,c.site,null,i),Se(u),Se(c)}function He(n){for(var t,e,r,i,a=n.x,o=n.y,l=pl._;l;)if((r=we(l,o)-a)>Va)l=l.L;else{if(!((i=a-_e(l,o))>Va)){r>-Va?(t=l.P,e=l):i>-Va?(t=l,e=l.N):t=e=l;break}if(!l.R){t=l;break}l=l.R}var u=Ne(n);if(pl.insert(t,u),t||e){if(t===e)return Ce(t),e=Ne(t.site),pl.insert(u,e),u.edge=e.edge=qe(t.site,u.site),Se(t),void Se(e);if(!e)return void(u.edge=qe(t.site,u.site));Ce(t),Ce(e);var c=t.site,s=c.x,h=c.y,f=n.x-s,d=n.y-h,g=e.site,p=g.x-s,m=g.y-h,y=2*(f*m-d*p),v=f*f+d*d,M=p*p+m*m,T={x:(m*v-d*M)/y+s,y:(f*M-p*v)/y+h};Re(e.edge,c,g,T),u.edge=qe(c,n,null,T),e.edge=qe(n,g,null,T),Se(t),Se(e)}}function we(n,t){var e=n.site,r=e.x,i=e.y,a=i-t;if(!a)return r;var o=n.P;if(!o)return-1/0;var l=(e=o.site).x,u=e.y,c=u-t;if(!c)return l;var s=l-r,h=1/a-1/c,f=s/c;return h?(-f+Math.sqrt(f*f-2*h*(s*s/(-2*c)-u+c/2+i-a/2)))/h+r:(r+l)/2}function _e(n,t){var e=n.N;if(e)return we(e,t);var r=n.site;return r.y===t?r.x:1/0}function ke(n){this.site=n,this.edges=[]}function Ae(n,t){return t.angle-n.angle}function De(){Ue(this),this.x=this.y=this.arc=this.site=this.cy=null}function Se(n){var t=n.P,e=n.N;if(t&&e){var r=t.site,i=n.site,a=e.site;if(r!==a){var o=i.x,l=i.y,u=r.x-o,c=r.y-l,s=a.x-o,h=2*(u*(m=a.y-l)-c*s);if(!(h>=-Xa)){var f=u*u+c*c,d=s*s+m*m,g=(m*f-c*d)/h,p=(u*d-s*f)/h,m=p+l,y=Ml.pop()||new De;y.arc=n,y.site=i,y.x=g+o,y.y=m+Math.sqrt(g*g+p*p),y.cy=m,n.circle=y;for(var v=null,M=yl._;M;)if(y.y<M.y||y.y===M.y&&y.x<=M.x){if(!M.L){v=M.P;break}M=M.L}else{if(!M.R){v=M;break}M=M.R}yl.insert(v,y),v||(ml=y)}}}}function Ce(n){var t=n.circle;t&&(t.P||(ml=t.N),yl.remove(t),Ml.push(t),Ue(t),n.circle=null)}function Ke(n,t){var e=n.b;if(e)return!0;var r,i,a=n.a,o=t[0][0],l=t[1][0],u=t[0][1],c=t[1][1],s=n.l,h=n.r,f=s.x,d=s.y,g=h.x,p=h.y,m=(f+g)/2,y=(d+p)/2;if(p===d){if(o>m||m>=l)return;if(f>g){if(a){if(a.y>=c)return}else a={x:m,y:u};e={x:m,y:c}}else{if(a){if(a.y<u)return}else a={x:m,y:c};e={x:m,y:u}}}else if(i=y-(r=(f-g)/(p-d))*m,-1>r||r>1)if(f>g){if(a){if(a.y>=c)return}else a={x:(u-i)/r,y:u};e={x:(c-i)/r,y:c}}else{if(a){if(a.y<u)return}else a={x:(c-i)/r,y:c};e={x:(u-i)/r,y:u}}else if(p>d){if(a){if(a.x>=l)return}else a={x:o,y:r*o+i};e={x:l,y:r*l+i}}else{if(a){if(a.x<o)return}else a={x:l,y:r*l+i};e={x:o,y:r*o+i}}return n.a=a,n.b=e,!0}function ze(n,t){this.l=n,this.r=t,this.a=this.b=null}function qe(n,t,e,r){var i=new ze(n,t);return dl.push(i),e&&Re(i,n,t,e),r&&Re(i,t,n,r),gl[n.i].edges.push(new Pe(i,n,t)),gl[t.i].edges.push(new Pe(i,t,n)),i}function Ye(n,t,e){var r=new ze(n,null);return r.a=t,r.b=e,dl.push(r),r}function Re(n,t,e,r){n.a||n.b?n.l===e?n.b=r:n.a=r:(n.a=r,n.l=t,n.r=e)}function Pe(n,t,e){var r=n.a,i=n.b;this.edge=n,this.site=t,this.angle=e?Math.atan2(e.y-t.y,e.x-t.x):n.l===t?Math.atan2(i.x-r.x,r.y-i.y):Math.atan2(r.x-i.x,i.y-r.y)}function je(){this._=null}function Ue(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function Fe(n,t){var e=t,r=t.R,i=e.U;i?i.L===e?i.L=r:i.R=r:n._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function Oe(n,t){var e=t,r=t.L,i=e.U;i?i.L===e?i.L=r:i.R=r:n._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Ie(n){for(;n.L;)n=n.L;return n}function Ze(n,t){var e,r,i,a=n.sort(Ve).pop();for(dl=[],gl=new Array(n.length),pl=new je,yl=new je;;)if(i=ml,a&&(!i||a.y<i.y||a.y===i.y&&a.x<i.x))a.x===e&&a.y===r||(gl[a.i]=new ke(a),He(a),e=a.x,r=a.y),a=n.pop();else{if(!i)break;Le(i.arc)}t&&(function(n){for(var t,e=dl,r=St(n[0][0],n[0][1],n[1][0],n[1][1]),i=e.length;i--;)(!Ke(t=e[i],n)||!r(t)||ka(t.a.x-t.b.x)<Va&&ka(t.a.y-t.b.y)<Va)&&(t.a=t.b=null,e.splice(i,1))}(t),function(n){for(var t,e,r,i,a,o,l,u,c,s,h=n[0][0],f=n[1][0],d=n[0][1],g=n[1][1],p=gl,m=p.length;m--;)if((a=p[m])&&a.prepare())for(u=(l=a.edges).length,o=0;u>o;)r=(s=l[o].end()).x,i=s.y,t=(c=l[++o%u].start()).x,e=c.y,(ka(r-t)>Va||ka(i-e)>Va)&&(l.splice(o,0,new Pe(Ye(a.site,s,ka(r-h)<Va&&g-i>Va?{x:h,y:ka(t-h)<Va?e:g}:ka(i-g)<Va&&f-r>Va?{x:ka(e-g)<Va?t:f,y:g}:ka(r-f)<Va&&i-d>Va?{x:f,y:ka(t-f)<Va?e:d}:ka(i-d)<Va&&r-h>Va?{x:ka(e-d)<Va?t:h,y:d}:null),a.site,null)),++u)}(t));var o={cells:gl,edges:dl};return pl=yl=dl=gl=null,o}function Ve(n,t){return t.y-n.y||t.x-n.x}function Xe(n,t,e){return(n.x-e.x)*(t.y-n.y)-(n.x-t.x)*(e.y-n.y)}function $e(n){return n.x}function We(n){return n.y}function Je(n,t,e,r,i,a){if(!n(t,e,r,i,a)){var o=.5*(e+i),l=.5*(r+a),u=t.nodes;u[0]&&Je(n,u[0],e,r,o,l),u[1]&&Je(n,u[1],o,r,i,l),u[2]&&Je(n,u[2],e,l,o,a),u[3]&&Je(n,u[3],o,l,i,a)}}function Ge(n,t,e,r,i,a,o){var l,u=1/0;return function n(c,s,h,f,d){if(!(s>a||h>o||r>f||i>d)){if(g=c.point){var g,p=t-c.x,m=e-c.y,y=p*p+m*m;if(u>y){var v=Math.sqrt(u=y);r=t-v,i=e-v,a=t+v,o=e+v,l=g}}for(var M=c.nodes,T=.5*(s+f),E=.5*(h+d),x=(e>=E)<<1|t>=T,b=x+4;b>x;++x)if(c=M[3&x])switch(3&x){case 0:n(c,s,h,T,E);break;case 1:n(c,T,h,f,E);break;case 2:n(c,s,E,T,d);break;case 3:n(c,T,E,f,d)}}}(n,r,i,a,o),l}function Qe(n,t){n=Ta.rgb(n),t=Ta.rgb(t);var e=n.r,r=n.g,i=n.b,a=t.r-e,o=t.g-r,l=t.b-i;return function(n){return"#"+Mn(Math.round(e+a*n))+Mn(Math.round(r+o*n))+Mn(Math.round(i+l*n))}}function nr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=rr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function tr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function er(n,t){var e,r,i,a=El.lastIndex=xl.lastIndex=0,o=-1,l=[],u=[];for(n+="",t+="";(e=El.exec(n))&&(r=xl.exec(t));)(i=r.index)>a&&(i=t.slice(a,i),l[o]?l[o]+=i:l[++o]=i),(e=e[0])===(r=r[0])?l[o]?l[o]+=r:l[++o]=r:(l[++o]=null,u.push({i:o,x:tr(e,r)})),a=xl.lastIndex;return a<t.length&&(i=t.slice(a),l[o]?l[o]+=i:l[++o]=i),l.length<2?u[0]?(t=u[0].x,function(n){return t(n)+""}):function(){return t}:(t=u.length,function(n){for(var e,r=0;t>r;++r)l[(e=u[r]).i]=e.x(n);return l.join("")})}function rr(n,t){for(var e,r=Ta.interpolators.length;--r>=0&&!(e=Ta.interpolators[r](n,t)););return e}function ir(n,t){var e,r=[],i=[],a=n.length,o=t.length,l=Math.min(n.length,t.length);for(e=0;l>e;++e)r.push(rr(n[e],t[e]));for(;a>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;l>e;++e)i[e]=r[e](n);return i}}function ar(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function or(n){return function(t){return 1-n(1-t)}}function lr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function ur(n){return n*n}function cr(n){return n*n*n}function sr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function hr(n){return 1-Math.cos(n*Ga)}function fr(n){return Math.pow(2,10*(n-1))}function dr(n){return 1-Math.sqrt(1-n*n)}function gr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function pr(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function mr(n){var t=[n.a,n.b],e=[n.c,n.d],r=vr(t),i=yr(t,e),a=vr(function(n,t,e){return n[0]+=e*t[0],n[1]+=e*t[1],n}(e,t,-i))||0;t[0]*e[1]<e[0]*t[1]&&(t[0]*=-1,t[1]*=-1,r*=-1,i*=-1),this.rotate=(r?Math.atan2(t[1],t[0]):Math.atan2(-e[0],e[1]))*no,this.translate=[n.e,n.f],this.scale=[r,a],this.skew=a?Math.atan2(i,a)*no:0}function yr(n,t){return n[0]*t[0]+n[1]*t[1]}function vr(n){var t=Math.sqrt(yr(n,n));return t&&(n[0]/=t,n[1]/=t),t}function Mr(n){return n.length?n.pop()+",":""}function Tr(n,t){var e=[],r=[];return n=Ta.transform(n),t=Ta.transform(t),function(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push("translate(",null,",",null,")");r.push({i:i-4,x:tr(n[0],t[0])},{i:i-2,x:tr(n[1],t[1])})}else(t[0]||t[1])&&e.push("translate("+t+")")}(n.translate,t.translate,e,r),function(n,t,e,r){n!==t?(n-t>180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Mr(e)+"rotate(",null,")")-2,x:tr(n,t)})):t&&e.push(Mr(e)+"rotate("+t+")")}(n.rotate,t.rotate,e,r),function(n,t,e,r){n!==t?r.push({i:e.push(Mr(e)+"skewX(",null,")")-2,x:tr(n,t)}):t&&e.push(Mr(e)+"skewX("+t+")")}(n.skew,t.skew,e,r),function(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Mr(e)+"scale(",null,",",null,")");r.push({i:i-4,x:tr(n[0],t[0])},{i:i-2,x:tr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Mr(e)+"scale("+t+")")}(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,a=r.length;++i<a;)e[(t=r[i]).i]=t.x(n);return e.join("")}}function Er(n,t){return t=(t-=n=+n)||1/t,function(e){return(e-n)/t}}function xr(n,t){return t=(t-=n=+n)||1/t,function(e){return Math.max(0,Math.min(1,(e-n)/t))}}function br(n){for(var t=n.source,e=n.target,r=function(n,t){if(n===t)return n;for(var e=Nr(n),r=Nr(t),i=e.pop(),a=r.pop(),o=null;i===a;)o=i,i=e.pop(),a=r.pop();return o}(t,e),i=[t];t!==r;)t=t.parent,i.push(t);for(var a=i.length;e!==r;)i.splice(a,0,e),e=e.parent;return i}function Nr(n){for(var t=[],e=n.parent;null!=e;)t.push(n),n=e,e=e.parent;return t.push(n),t}function Br(n){n.fixed|=2}function Lr(n){n.fixed&=-7}function Hr(n){n.fixed|=4,n.px=n.x,n.py=n.y}function wr(n){n.fixed&=-5}function _r(n,t,e){var r=0,i=0;if(n.charge=0,!n.leaf)for(var a,o=n.nodes,l=o.length,u=-1;++u<l;)null!=(a=o[u])&&(_r(a,t,e),n.charge+=a.charge,r+=a.charge*a.cx,i+=a.charge*a.cy);if(n.point){n.leaf||(n.point.x+=Math.random()-.5,n.point.y+=Math.random()-.5);var c=t*e[n.point.index];n.charge+=n.pointCharge=c,r+=c*n.point.x,i+=c*n.point.y}n.cx=r/n.charge,n.cy=i/n.charge}function kr(n,t){return Ta.rebind(n,t,"sort","children","value"),n.nodes=n,n.links=zr,n}function Ar(n,t){for(var e=[n];null!=(n=e.pop());)if(t(n),(i=n.children)&&(r=i.length))for(var r,i;--r>=0;)e.push(i[r])}function Dr(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(a=n.children)&&(i=a.length))for(var i,a,o=-1;++o<i;)e.push(a[o]);for(;null!=(n=r.pop());)t(n)}function Sr(n){return n.children}function Cr(n){return n.value}function Kr(n,t){return t.value-n.value}function zr(n){return Ta.merge(n.map((function(n){return(n.children||[]).map((function(t){return{source:n,target:t}}))})))}function qr(n){return n.x}function Yr(n){return n.y}function Rr(n,t,e){n.y0=t,n.y=e}function Pr(n){return Ta.range(n.length)}function jr(n){for(var t=-1,e=n[0].length,r=[];++t<e;)r[t]=0;return r}function Ur(n){for(var t,e=1,r=0,i=n[0][1],a=n.length;a>e;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function Fr(n){return n.reduce(Or,0)}function Or(n,t){return n+t[1]}function Ir(n,t){return Zr(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function Zr(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,a=[];++e<=t;)a[e]=i*e+r;return a}function Vr(n){return[Ta.min(n),Ta.max(n)]}function Xr(n,t){return n.value-t.value}function $r(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Wr(n,t){n._pack_next=t,t._pack_prev=n}function Jr(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Gr(n){function t(n){s=Math.min(n.x-n.r,s),h=Math.max(n.x+n.r,h),f=Math.min(n.y-n.r,f),d=Math.max(n.y+n.r,d)}if((e=n.children)&&(c=e.length)){var e,r,i,a,o,l,u,c,s=1/0,h=-1/0,f=1/0,d=-1/0;if(e.forEach(Qr),(r=e[0]).x=-r.r,r.y=0,t(r),c>1&&((i=e[1]).x=i.r,i.y=0,t(i),c>2))for(ei(r,i,a=e[2]),t(a),$r(r,a),r._pack_prev=a,$r(a,i),i=r._pack_next,o=3;c>o;o++){ei(r,i,a=e[o]);var g=0,p=1,m=1;for(l=i._pack_next;l!==i;l=l._pack_next,p++)if(Jr(l,a)){g=1;break}if(1==g)for(u=r._pack_prev;u!==l._pack_prev&&!Jr(u,a);u=u._pack_prev,m++);g?(m>p||p==m&&i.r<r.r?Wr(r,i=l):Wr(r=u,i),o--):($r(r,a),i=a,t(a))}var y=(s+h)/2,v=(f+d)/2,M=0;for(o=0;c>o;o++)(a=e[o]).x-=y,a.y-=v,M=Math.max(M,a.r+Math.sqrt(a.x*a.x+a.y*a.y));n.r=M,e.forEach(ni)}}function Qr(n){n._pack_next=n._pack_prev=n}function ni(n){delete n._pack_next,delete n._pack_prev}function ti(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var a=-1,o=i.length;++a<o;)ti(i[a],t,e,r)}function ei(n,t,e){var r=n.r+e.r,i=t.x-n.x,a=t.y-n.y;if(r&&(i||a)){var o=t.r+e.r,l=i*i+a*a,u=.5+((r*=r)-(o*=o))/(2*l),c=Math.sqrt(Math.max(0,2*o*(r+l)-(r-=l)*r-o*o))/(2*l);e.x=n.x+u*i+c*a,e.y=n.y+u*a-c*i}else e.x=n.x+r,e.y=n.y}function ri(n,t){return n.parent==t.parent?1:2}function ii(n){var t=n.children;return t.length?t[0]:n.t}function ai(n){var t,e=n.children;return(t=e.length)?e[t-1]:n.t}function oi(n,t,e){var r=e/(t.i-n.i);t.c-=r,t.s+=e,n.c+=r,t.z+=e,t.m+=e}function li(n,t,e){return n.a.parent===t.parent?n.a:e}function ui(n){var t=n.children;return t&&t.length?ui(t[0]):n}function ci(n){var t,e=n.children;return e&&(t=e.length)?ci(e[t-1]):n}function si(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function hi(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],a=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>a&&(r+=a/2,a=0),{x:e,y:r,dx:i,dy:a}}function fi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function di(n){return n.rangeExtent?n.rangeExtent():fi(n.range())}function gi(n,t,e,r){var i=e(n[0],n[1]),a=r(t[0],t[1]);return function(n){return a(i(n))}}function pi(n,t){var e,r=0,i=n.length-1,a=n[r],o=n[i];return a>o&&(e=r,r=i,i=e,e=a,a=o,o=e),n[r]=t.floor(a),n[i]=t.ceil(o),n}function mi(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function yi(n,t,e,r){var i=[],a=[],o=0,l=Math.min(n.length,t.length)-1;for(n[l]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++o<=l;)i.push(e(n[o-1],n[o])),a.push(r(t[o-1],t[o]));return function(t){var e=Ta.bisect(n,t,1,l)-1;return a[e](i[e](t))}}function vi(n,t,e,r){function i(){var i=Math.min(n.length,t.length)>2?yi:gi,u=r?xr:Er;return o=i(n,t,u,e),l=i(t,n,u,rr),a}function a(n){return o(n)}var o,l;return a.invert=function(n){return l(n)},a.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},a.range=function(n){return arguments.length?(t=n,i()):t},a.rangeRound=function(n){return a.range(n).interpolate(pr)},a.clamp=function(n){return arguments.length?(r=n,i()):r},a.interpolate=function(n){return arguments.length?(e=n,i()):e},a.ticks=function(t){return xi(n,t)},a.tickFormat=function(t,e){return bi(n,t,e)},a.nice=function(t){return Ti(n,t),i()},a.copy=function(){return vi(n,t,e,r)},i()}function Mi(n,t){return Ta.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Ti(n,t){return pi(n,mi(Ei(n,t)[2])),pi(n,mi(Ei(n,t)[2])),n}function Ei(n,t){null==t&&(t=10);var e=fi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),a=t/r*i;return.15>=a?i*=10:.35>=a?i*=5:.75>=a&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function xi(n,t){return Ta.range.apply(Ta,Ei(n,t))}function bi(n,t,e){var r=Ei(n,t);if(e){var i=Eo.exec(e);if(i.shift(),"s"===i[8]){var a=Ta.formatPrefix(Math.max(ka(r[0]),ka(r[1])));return i[7]||(i[7]="."+Ni(a.scale(r[2]))),i[8]="f",e=Ta.format(i.join("")),function(n){return e(a.scale(n))+a.symbol}}i[7]||(i[7]="."+function(n,t){var e=Ni(t[2]);return n in Cl?Math.abs(e-Ni(Math.max(ka(t[0]),ka(t[1]))))+ +("e"!==n):e-2*("%"===n)}(i[8],r)),e=i.join("")}else e=",."+Ni(r[2])+"f";return Ta.format(e)}function Ni(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function Bi(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function a(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return a(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=pi(r.map(i),e?Math:zl);return n.domain(t),r=t.map(a),o},o.ticks=function(){var n=fi(r),o=[],l=n[0],u=n[1],c=Math.floor(i(l)),s=Math.ceil(i(u)),h=t%1?2:t;if(isFinite(s-c)){if(e){for(;s>c;c++)for(var f=1;h>f;f++)o.push(a(c)*f);o.push(a(c))}else for(o.push(a(c));c++<s;)for(f=h-1;f>0;f--)o.push(a(c)*f);for(c=0;o[c]<l;c++);for(s=o.length;o[s-1]>u;s--);o=o.slice(c,s)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Kl;arguments.length<2?e=Kl:"function"!=typeof e&&(e=Ta.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/a(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return Bi(n.copy(),t,e,r)},Mi(o,n)}function Li(n,t,e){function r(t){return n(i(t))}var i=Hi(t),a=Hi(1/t);return r.invert=function(t){return a(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return xi(e,n)},r.tickFormat=function(n,t){return bi(e,n,t)},r.nice=function(n){return r.domain(Ti(e,n))},r.exponent=function(o){return arguments.length?(i=Hi(t=o),a=Hi(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return Li(n.copy(),t,e)},Mi(r,n)}function Hi(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function wi(n,t){function e(e){return a[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%a.length]}function r(t,e){return Ta.range(n.length).map((function(n){return t+e*n}))}var i,a,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var a,o=-1,l=r.length;++o<l;)i.has(a=r[o])||i.set(a,n.push(a));return e[t.t].apply(e,t.a)},e.range=function(n){return arguments.length?(a=n,o=0,t={t:"range",a:arguments},e):a},e.rangePoints=function(i,l){arguments.length<2&&(l=0);var u=i[0],c=i[1],s=n.length<2?(u=(u+c)/2,0):(c-u)/(n.length-1+l);return a=r(u+s*l/2,s),o=0,t={t:"rangePoints",a:arguments},e},e.rangeRoundPoints=function(i,l){arguments.length<2&&(l=0);var u=i[0],c=i[1],s=n.length<2?(u=c=Math.round((u+c)/2),0):(c-u)/(n.length-1+l)|0;return a=r(u+Math.round(s*l/2+(c-u-(n.length-1+l)*s)/2),s),o=0,t={t:"rangeRoundPoints",a:arguments},e},e.rangeBands=function(i,l,u){arguments.length<2&&(l=0),arguments.length<3&&(u=l);var c=i[1]<i[0],s=i[c-0],h=i[1-c],f=(h-s)/(n.length-l+2*u);return a=r(s+f*u,f),c&&a.reverse(),o=f*(1-l),t={t:"rangeBands",a:arguments},e},e.rangeRoundBands=function(i,l,u){arguments.length<2&&(l=0),arguments.length<3&&(u=l);var c=i[1]<i[0],s=i[c-0],h=i[1-c],f=Math.floor((h-s)/(n.length-l+2*u));return a=r(s+Math.round((h-s-(n.length-l)*f)/2),f),c&&a.reverse(),o=Math.round(f*(1-l)),t={t:"rangeRoundBands",a:arguments},e},e.rangeBand=function(){return o},e.rangeExtent=function(){return fi(t.a[0])},e.copy=function(){return wi(n,t)},e.domain(n)}function _i(n,t){function a(){var e=0,r=t.length;for(l=[];++e<r;)l[e-1]=Ta.quantile(n,e/r);return o}function o(n){return isNaN(n=+n)?void 0:t[Ta.bisect(l,n)]}var l;return o.domain=function(t){return arguments.length?(n=t.map(r).filter(i).sort(e),a()):n},o.range=function(n){return arguments.length?(t=n,a()):t},o.quantiles=function(){return l},o.invertExtent=function(e){return 0>(e=t.indexOf(e))?[NaN,NaN]:[e>0?l[e-1]:n[0],e<l.length?l[e]:n[n.length-1]]},o.copy=function(){return _i(n,t)},a()}function ki(n,t,e){function r(t){return e[Math.max(0,Math.min(o,Math.floor(a*(t-n))))]}function i(){return a=e.length/(t-n),o=e.length-1,r}var a,o;return r.domain=function(e){return arguments.length?(n=+e[0],t=+e[e.length-1],i()):[n,t]},r.range=function(n){return arguments.length?(e=n,i()):e},r.invertExtent=function(t){return[t=0>(t=e.indexOf(t))?NaN:t/a+n,t+1/a]},r.copy=function(){return ki(n,t,e)},i()}function Ai(n,t){function e(e){return e>=e?t[Ta.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return Ai(n,t)},e}function Di(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return xi(n,t)},t.tickFormat=function(t,e){return bi(n,t,e)},t.copy=function(){return Di(n)},t}function Si(){return 0}function Ci(n){return n.innerRadius}function Ki(n){return n.outerRadius}function zi(n){return n.startAngle}function qi(n){return n.endAngle}function Yi(n){return n&&n.padAngle}function Ri(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function Pi(n,t,e,r,i){var a=n[0]-t[0],o=n[1]-t[1],l=(i?r:-r)/Math.sqrt(a*a+o*o),u=l*o,c=-l*a,s=n[0]+u,h=n[1]+c,f=t[0]+u,d=t[1]+c,g=(s+f)/2,p=(h+d)/2,m=f-s,y=d-h,v=m*m+y*y,M=e-r,T=s*d-f*h,E=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*v-T*T)),x=(T*y-m*E)/v,b=(-T*m-y*E)/v,N=(T*y+m*E)/v,B=(-T*m+y*E)/v,L=x-g,H=b-p,w=N-g,_=B-p;return L*L+H*H>w*w+_*_&&(x=N,b=B),[[x-u,b-c],[x*e/M,b*e/M]]}function ji(n){function t(t){function o(){c.push("M",a(n(s),l))}for(var u,c=[],s=[],h=-1,f=t.length,d=Bn(e),g=Bn(r);++h<f;)i.call(this,u=t[h],h)?s.push([+d.call(this,u,h),+g.call(this,u,h)]):s.length&&(o(),s=[]);return s.length&&o(),c.length?c.join(""):null}var e=me,r=ye,i=Nt,a=Ui,o=a.key,l=.7;return t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t.defined=function(n){return arguments.length?(i=n,t):i},t.interpolate=function(n){return arguments.length?(o="function"==typeof n?a=n:(a=Ul.get(n)||Ui).key,t):o},t.tension=function(n){return arguments.length?(l=n,t):l},t}function Ui(n){return n.length>1?n.join("L"):n+"Z"}function Fi(n){return n.join("L")+"Z"}function Oi(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("V",(r=n[t])[1],"H",r[0]);return i.join("")}function Ii(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("H",(r=n[t])[0],"V",r[1]);return i.join("")}function Zi(n,t){if(t.length<1||n.length!=t.length&&n.length!=t.length+2)return Ui(n);var e=n.length!=t.length,r="",i=n[0],a=n[1],o=t[0],l=o,u=1;if(e&&(r+="Q"+(a[0]-2*o[0]/3)+","+(a[1]-2*o[1]/3)+","+a[0]+","+a[1],i=n[1],u=2),t.length>1){l=t[1],a=n[u],u++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(a[0]-l[0])+","+(a[1]-l[1])+","+a[0]+","+a[1];for(var c=2;c<t.length;c++,u++)a=n[u],l=t[c],r+="S"+(a[0]-l[0])+","+(a[1]-l[1])+","+a[0]+","+a[1]}if(e){var s=n[u];r+="Q"+(a[0]+2*l[0]/3)+","+(a[1]+2*l[1]/3)+","+s[0]+","+s[1]}return r}function Vi(n,t){for(var e,r=[],i=(1-t)/2,a=n[0],o=n[1],l=1,u=n.length;++l<u;)e=a,a=o,o=n[l],r.push([i*(o[0]-e[0]),i*(o[1]-e[1])]);return r}function Xi(n){if(n.length<3)return Ui(n);var t=1,e=n.length,r=n[0],i=r[0],a=r[1],o=[i,i,i,(r=n[1])[0]],l=[a,a,a,r[1]],u=[i,",",a,"L",$i(Il,o),",",$i(Il,l)];for(n.push(n[e-1]);++t<=e;)r=n[t],o.shift(),o.push(r[0]),l.shift(),l.push(r[1]),Wi(u,o,l);return n.pop(),u.push("L",r),u.join("")}function $i(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]}function Wi(n,t,e){n.push("C",$i(Fl,t),",",$i(Fl,e),",",$i(Ol,t),",",$i(Ol,e),",",$i(Il,t),",",$i(Il,e))}function Ji(n,t){return(t[1]-n[1])/(t[0]-n[0])}function Gi(n){for(var t,e,r,i,a=[],o=function(n){for(var t=0,e=n.length-1,r=[],i=n[0],a=n[1],o=r[0]=Ji(i,a);++t<e;)r[t]=(o+(o=Ji(i=a,a=n[t+1])))/2;return r[t]=o,r}(n),l=-1,u=n.length-1;++l<u;)t=Ji(n[l],n[l+1]),ka(t)<Va?o[l]=o[l+1]=0:(i=(e=o[l]/t)*e+(r=o[l+1]/t)*r)>9&&(i=3*t/Math.sqrt(i),o[l]=i*e,o[l+1]=i*r);for(l=-1;++l<=u;)i=(n[Math.min(u,l+1)][0]-n[Math.max(0,l-1)][0])/(6*(1+o[l]*o[l])),a.push([i||0,o[l]*i||0]);return a}function Qi(n){for(var t,e,r,i=-1,a=n.length;++i<a;)e=(t=n[i])[0],r=t[1]-Ga,t[0]=e*Math.cos(r),t[1]=e*Math.sin(r);return n}function na(n){function t(t){function u(){p.push("M",l(n(y),h),s,c(n(m.reverse()),h),"Z")}for(var f,d,g,p=[],m=[],y=[],v=-1,M=t.length,T=Bn(e),E=Bn(i),x=e===r?function(){return d}:Bn(r),b=i===a?function(){return g}:Bn(a);++v<M;)o.call(this,f=t[v],v)?(m.push([d=+T.call(this,f,v),g=+E.call(this,f,v)]),y.push([+x.call(this,f,v),+b.call(this,f,v)])):m.length&&(u(),m=[],y=[]);return m.length&&u(),p.length?p.join(""):null}var e=me,r=me,i=0,a=ye,o=Nt,l=Ui,u=l.key,c=l,s="L",h=.7;return t.x=function(n){return arguments.length?(e=r=n,t):r},t.x0=function(n){return arguments.length?(e=n,t):e},t.x1=function(n){return arguments.length?(r=n,t):r},t.y=function(n){return arguments.length?(i=a=n,t):a},t.y0=function(n){return arguments.length?(i=n,t):i},t.y1=function(n){return arguments.length?(a=n,t):a},t.defined=function(n){return arguments.length?(o=n,t):o},t.interpolate=function(n){return arguments.length?(u="function"==typeof n?l=n:(l=Ul.get(n)||Ui).key,c=l.reverse||l,s=l.closed?"M":"L",t):u},t.tension=function(n){return arguments.length?(h=n,t):h},t}function ta(n){return n.radius}function ea(n){return[n.x,n.y]}function ra(n){return function(){var t=n.apply(this,arguments),e=t[0],r=t[1]-Ga;return[e*Math.cos(r),e*Math.sin(r)]}}function ia(){return 64}function aa(){return"circle"}function oa(n){var t=Math.sqrt(n/$a);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}function la(n){return function(){var t,e,r;(t=this[n])&&(r=t[e=t.active])&&(r.timer.c=null,r.timer.t=NaN,--t.count?delete t[e]:delete this[n],t.active+=.5,r.event&&r.event.interrupt.call(this,this.__data__,r.index))}}function ua(n,t,e){return Ka(n,Gl),n.namespace=t,n.id=e,n}function ca(n,t,e,r){var i=n.id,a=n.namespace;return F(n,"function"==typeof e?function(n,o,l){n[a][i].tween.set(t,r(e.call(n,n.__data__,o,l)))}:(e=r(e),function(n){n[a][i].tween.set(t,e)}))}function sa(n){return null==n&&(n=""),function(){this.textContent=n}}function ha(n){return null==n?"__transition__":"__transition_"+n+"__"}function fa(n,t,e,r,i){function a(e){var i=d.active,a=d[i];for(var c in a&&(a.timer.c=null,a.timer.t=NaN,--d.count,delete d[i],a.event&&a.event.interrupt.call(n,n.__data__,a.index)),d)if(r>+c){var p=d[c];p.timer.c=null,p.timer.t=NaN,--d.count,delete d[c]}u.c=o,wn((function(){return u.c&&o(e||1)&&(u.c=null,u.t=NaN),1}),0,l),d.active=r,g.event&&g.event.start.call(n,n.__data__,t),f=[],g.tween.forEach((function(e,r){(r=r.call(n,n.__data__,t))&&f.push(r)})),h=g.ease,s=g.duration}function o(i){for(var a=i/s,o=h(a),l=f.length;l>0;)f[--l].call(n,o);return a>=1?(g.event&&g.event.end.call(n,n.__data__,t),--d.count?delete d[r]:delete n[e],1):void 0}var l,u,s,h,f,d=n[e]||(n[e]={active:0,count:0}),g=d[r];g||(l=i.time,u=wn((function(n){var t=g.delay;return u.t=t+l,n>=t?a(n-t):void(u.c=a)}),0,l),g=d[r]={tween:new c,time:l,timer:u,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++d.count)}function da(n,t,e){n.attr("transform",(function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"}))}function ga(n,t,e){n.attr("transform",(function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"}))}function pa(n){return n.toISOString()}function ma(n,t,e){function r(t){return n(t)}function i(n,e){var r=(n[1]-n[0])/e,i=Ta.bisect(lu,r);return i==lu.length?[t.year,Ei(n.map((function(n){return n/31536e6})),e)[2]]:i?t[r/lu[i-1]<lu[i]/r?i-1:i]:[su,Ei(n,e)[2]]}return r.invert=function(t){return ya(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain(t),r):n.domain().map(ya)},r.nice=function(n,t){function e(e){return!isNaN(e)&&!n.range(e,ya(+e+1),t).length}var a=r.domain(),o=fi(a),l=null==n?i(o,10):"number"==typeof n&&i(o,n);return l&&(n=l[0],t=l[1]),r.domain(pi(a,t>1?{floor:function(t){for(;e(t=n.floor(t));)t=ya(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=ya(+t+1);return t}}:n))},r.ticks=function(n,t){var e=fi(r.domain()),a=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return a&&(n=a[0],t=a[1]),n.range(e[0],ya(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ma(n.copy(),t,e)},Mi(r,n)}function ya(n){return new Date(n)}function va(n){return JSON.parse(n.responseText)}function Ma(n){var t=ba.createRange();return t.selectNode(ba.body),t.createContextualFragment(n.responseText)}var Ta={version:"3.5.17"},Ea=[].slice,xa=function(n){return Ea.call(n)},ba=this.document;if(ba)try{xa(ba.documentElement.childNodes)[0].nodeType}catch(n){xa=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),ba)try{ba.createElement("DIV").style.setProperty("opacity",0,"")}catch(n){var Na=this.Element.prototype,Ba=Na.setAttribute,La=Na.setAttributeNS,Ha=this.CSSStyleDeclaration.prototype,wa=Ha.setProperty;Na.setAttribute=function(n,t){Ba.call(this,n,t+"")},Na.setAttributeNS=function(n,t,e){La.call(this,n,t,e+"")},Ha.setProperty=function(n,t,e){wa.call(this,n,t+"",e)}}Ta.ascending=e,Ta.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},Ta.min=function(n,t){var e,r,i=-1,a=n.length;if(1===arguments.length){for(;++i<a;)if(null!=(r=n[i])&&r>=r){e=r;break}for(;++i<a;)null!=(r=n[i])&&e>r&&(e=r)}else{for(;++i<a;)if(null!=(r=t.call(n,n[i],i))&&r>=r){e=r;break}for(;++i<a;)null!=(r=t.call(n,n[i],i))&&e>r&&(e=r)}return e},Ta.max=function(n,t){var e,r,i=-1,a=n.length;if(1===arguments.length){for(;++i<a;)if(null!=(r=n[i])&&r>=r){e=r;break}for(;++i<a;)null!=(r=n[i])&&r>e&&(e=r)}else{for(;++i<a;)if(null!=(r=t.call(n,n[i],i))&&r>=r){e=r;break}for(;++i<a;)null!=(r=t.call(n,n[i],i))&&r>e&&(e=r)}return e},Ta.extent=function(n,t){var e,r,i,a=-1,o=n.length;if(1===arguments.length){for(;++a<o;)if(null!=(r=n[a])&&r>=r){e=i=r;break}for(;++a<o;)null!=(r=n[a])&&(e>r&&(e=r),r>i&&(i=r))}else{for(;++a<o;)if(null!=(r=t.call(n,n[a],a))&&r>=r){e=i=r;break}for(;++a<o;)null!=(r=t.call(n,n[a],a))&&(e>r&&(e=r),r>i&&(i=r))}return[e,i]},Ta.sum=function(n,t){var e,r=0,a=n.length,o=-1;if(1===arguments.length)for(;++o<a;)i(e=+n[o])&&(r+=e);else for(;++o<a;)i(e=+t.call(n,n[o],o))&&(r+=e);return r},Ta.mean=function(n,t){var e,a=0,o=n.length,l=-1,u=o;if(1===arguments.length)for(;++l<o;)i(e=r(n[l]))?a+=e:--u;else for(;++l<o;)i(e=r(t.call(n,n[l],l)))?a+=e:--u;return u?a/u:void 0},Ta.quantile=function(n,t){var e=(n.length-1)*t+1,r=Math.floor(e),i=+n[r-1],a=e-r;return a?i+a*(n[r]-i):i},Ta.median=function(n,t){var a,o=[],l=n.length,u=-1;if(1===arguments.length)for(;++u<l;)i(a=r(n[u]))&&o.push(a);else for(;++u<l;)i(a=r(t.call(n,n[u],u)))&&o.push(a);return o.length?Ta.quantile(o.sort(e),.5):void 0},Ta.variance=function(n,t){var e,a,o=n.length,l=0,u=0,c=-1,s=0;if(1===arguments.length)for(;++c<o;)i(e=r(n[c]))&&(u+=(a=e-l)*(e-(l+=a/++s)));else for(;++c<o;)i(e=r(t.call(n,n[c],c)))&&(u+=(a=e-l)*(e-(l+=a/++s)));return s>1?u/(s-1):void 0},Ta.deviation=function(){var n=Ta.variance.apply(this,arguments);return n?Math.sqrt(n):n};var _a=a(e);Ta.bisectLeft=_a.left,Ta.bisect=Ta.bisectRight=_a.right,Ta.bisector=function(n){return a(1===n.length?function(t,r){return e(n(t),r)}:n)},Ta.shuffle=function(n,t,e){(a=arguments.length)<3&&(e=n.length,2>a&&(t=0));for(var r,i,a=e-t;a;)i=Math.random()*a--|0,r=n[a+t],n[a+t]=n[i+t],n[i+t]=r;return n},Ta.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},Ta.pairs=function(n){for(var t=0,e=n.length-1,r=n[0],i=new Array(0>e?0:e);e>t;)i[t]=[r,r=n[++t]];return i},Ta.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=Ta.min(n,o),r=new Array(e);++t<e;)for(var i,a=-1,l=r[t]=new Array(i);++a<i;)l[a]=n[a][t];return r},Ta.zip=function(){return Ta.transpose(arguments)},Ta.keys=function(n){var t=[];for(var e in n)t.push(e);return t},Ta.values=function(n){var t=[];for(var e in n)t.push(n[e]);return t},Ta.entries=function(n){var t=[];for(var e in n)t.push({key:e,value:n[e]});return t},Ta.merge=function(n){for(var t,e,r,i=n.length,a=-1,o=0;++a<i;)o+=n[a].length;for(e=new Array(o);--i>=0;)for(t=(r=n[i]).length;--t>=0;)e[--o]=r[t];return e};var ka=Math.abs;Ta.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e==1/0)throw new Error("infinite range");var r,i=[],a=l(ka(e)),o=-1;if(n*=a,t*=a,0>(e*=a))for(;(r=n+e*++o)>t;)i.push(r/a);else for(;(r=n+e*++o)<t;)i.push(r/a);return i},Ta.map=function(n,t){var e=new c;if(n instanceof c)n.forEach((function(n,t){e.set(n,t)}));else if(Array.isArray(n)){var r,i=-1,a=n.length;if(1===arguments.length)for(;++i<a;)e.set(i,n[i]);else for(;++i<a;)e.set(t.call(n,r=n[i],i),r)}else for(var o in n)e.set(o,n[o]);return e};var Aa="__proto__",Da="\0";u(c,{has:f,get:function(n){return this._[s(n)]},set:function(n,t){return this._[s(n)]=t},remove:d,keys:g,values:function(){var n=[];for(var t in this._)n.push(this._[t]);return n},entries:function(){var n=[];for(var t in this._)n.push({key:h(t),value:this._[t]});return n},size:p,empty:m,forEach:function(n){for(var t in this._)n.call(this,h(t),this._[t])}}),Ta.nest=function(){function n(t,o,l){if(l>=a.length)return r?r.call(i,o):e?o.sort(e):o;for(var u,s,h,f,d=-1,g=o.length,p=a[l++],m=new c;++d<g;)(f=m.get(u=p(s=o[d])))?f.push(s):m.set(u,[s]);return t?(s=t(),h=function(e,r){s.set(e,n(t,r,l))}):(s={},h=function(e,r){s[e]=n(t,r,l)}),m.forEach(h),s}function t(n,e){if(e>=a.length)return n;var r=[],i=o[e++];return n.forEach((function(n,i){r.push({key:n,values:t(i,e)})})),i?r.sort((function(n,t){return i(n.key,t.key)})):r}var e,r,i={},a=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(Ta.map,e,0),0)},i.key=function(n){return a.push(n),i},i.sortKeys=function(n){return o[a.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},Ta.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},u(y,{has:f,add:function(n){return this._[s(n+="")]=!0,n},remove:d,values:g,size:p,empty:m,forEach:function(n){for(var t in this._)n.call(this,h(t))}}),Ta.behavior={},Ta.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r<i;)n[e=arguments[r]]=M(n,t,t[e]);return n};var Sa=["webkit","ms","moz","Moz","o","O"];Ta.dispatch=function(){for(var n=new x,t=-1,e=arguments.length;++t<e;)n[arguments[t]]=b(n);return n},x.prototype.on=function(n,t){var e=n.indexOf("."),r="";if(e>=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},Ta.event=null,Ta.requote=function(n){return n.replace(Ca,"\\$&")};var Ca=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Ka={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},za=function(n,t){return t.querySelector(n)},qa=function(n,t){return t.querySelectorAll(n)},Ya=function(n,t){var e=n.matches||n[T(n,"matchesSelector")];return(Ya=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(za=function(n,t){return Sizzle(n,t)[0]||null},qa=Sizzle,Ya=Sizzle.matchesSelector),Ta.selection=function(){return Ta.select(ba.documentElement)};var Ra=Ta.selection.prototype=[];Ra.select=function(n){var t,e,r,i,a=[];n=w(n);for(var o=-1,l=this.length;++o<l;){a.push(t=[]),t.parentNode=(r=this[o]).parentNode;for(var u=-1,c=r.length;++u<c;)(i=r[u])?(t.push(e=n.call(i,i.__data__,u,o)),e&&"__data__"in i&&(e.__data__=i.__data__)):t.push(null)}return H(a)},Ra.selectAll=function(n){var t,e,r=[];n=_(n);for(var i=-1,a=this.length;++i<a;)for(var o=this[i],l=-1,u=o.length;++l<u;)(e=o[l])&&(r.push(t=xa(n.call(e,e.__data__,l,i))),t.parentNode=e);return H(r)};var Pa="http://www.w3.org/1999/xhtml",ja={svg:"http://www.w3.org/2000/svg",xhtml:Pa,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};Ta.ns={prefix:ja,qualify:function(n){var t=n.indexOf(":"),e=n;return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),ja.hasOwnProperty(e)?{space:ja[e],local:n}:n}},Ra.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return(n=Ta.ns.qualify(n)).local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(k(t,n[t]));return this}return this.each(k(n,t))},Ra.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=S(n)).length,i=-1;if(t=e.classList){for(;++i<r;)if(!t.contains(n[i]))return!1}else for(t=e.getAttribute("class");++i<r;)if(!D(n[i]).test(t))return!1;return!0}for(t in n)this.each(C(t,n[t]));return this}return this.each(C(n,t))},Ra.style=function(n,e,r){var i=arguments.length;if(3>i){if("string"!=typeof n){for(r in 2>i&&(e=""),n)this.each(z(r,n[r],e));return this}if(2>i){var a=this.node();return t(a).getComputedStyle(a,null).getPropertyValue(n)}r=""}return this.each(z(n,e,r))},Ra.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(q(t,n[t]));return this}return this.each(q(n,t))},Ra.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Ra.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Ra.append=function(n){return n=Y(n),this.select((function(){return this.appendChild(n.apply(this,arguments))}))},Ra.insert=function(n,t){return n=Y(n),t=w(t),this.select((function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)}))},Ra.remove=function(){return this.each(R)},Ra.data=function(n,t){function e(n,e){var r,i,a,o=n.length,h=e.length,f=Math.min(o,h),d=new Array(h),g=new Array(h),p=new Array(o);if(t){var m,y=new c,v=new Array(o);for(r=-1;++r<o;)(i=n[r])&&(y.has(m=t.call(i,i.__data__,r))?p[r]=i:y.set(m,i),v[r]=m);for(r=-1;++r<h;)(i=y.get(m=t.call(e,a=e[r],r)))?!0!==i&&(d[r]=i,i.__data__=a):g[r]=P(a),y.set(m,!0);for(r=-1;++r<o;)r in v&&!0!==y.get(v[r])&&(p[r]=n[r])}else{for(r=-1;++r<f;)i=n[r],a=e[r],i?(i.__data__=a,d[r]=i):g[r]=P(a);for(;h>r;++r)g[r]=P(e[r]);for(;o>r;++r)p[r]=n[r]}g.update=d,g.parentNode=d.parentNode=p.parentNode=n.parentNode,l.push(g),u.push(d),s.push(p)}var r,i,a=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++a<o;)(i=r[a])&&(n[a]=i.__data__);return n}var l=O([]),u=H([]),s=H([]);if("function"==typeof n)for(;++a<o;)e(r=this[a],n.call(r,r.parentNode.__data__,a));else for(;++a<o;)e(r=this[a],n);return u.enter=function(){return l},u.exit=function(){return s},u},Ra.datum=function(n){return arguments.length?this.property("__data__",n):this.property("__data__")},Ra.filter=function(n){var t,e,r,i=[];"function"!=typeof n&&(n=j(n));for(var a=0,o=this.length;o>a;a++){i.push(t=[]),t.parentNode=(e=this[a]).parentNode;for(var l=0,u=e.length;u>l;l++)(r=e[l])&&n.call(r,r.__data__,l,a)&&t.push(r)}return H(i)},Ra.order=function(){for(var n=-1,t=this.length;++n<t;)for(var e,r=this[n],i=r.length-1,a=r[i];--i>=0;)(e=r[i])&&(a&&a!==e.nextSibling&&a.parentNode.insertBefore(e,a),a=e);return this},Ra.sort=function(n){n=U.apply(this,arguments);for(var t=-1,e=this.length;++t<e;)this[t].sort(n);return this.order()},Ra.each=function(n){return F(this,(function(t,e,r){n.call(t,t.__data__,e,r)}))},Ra.call=function(n){var t=xa(arguments);return n.apply(t[0]=this,t),this},Ra.empty=function(){return!this.node()},Ra.node=function(){for(var n=0,t=this.length;t>n;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var a=e[r];if(a)return a}return null},Ra.size=function(){var n=0;return F(this,(function(){++n})),n};var Ua=[];Ta.selection.enter=O,Ta.selection.enter.prototype=Ua,Ua.append=Ra.append,Ua.empty=Ra.empty,Ua.node=Ra.node,Ua.call=Ra.call,Ua.size=Ra.size,Ua.select=function(n){for(var t,e,r,i,a,o=[],l=-1,u=this.length;++l<u;){r=(i=this[l]).update,o.push(t=[]),t.parentNode=i.parentNode;for(var c=-1,s=i.length;++c<s;)(a=i[c])?(t.push(r[c]=e=n.call(i.parentNode,a.__data__,c,l)),e.__data__=a.__data__):t.push(null)}return H(o)},Ua.insert=function(n,t){return arguments.length<2&&(t=I(this)),Ra.insert.call(this,n,t)},Ta.select=function(t){var e;return"string"==typeof t?(e=[za(t,ba)]).parentNode=ba.documentElement:(e=[t]).parentNode=n(t),H([e])},Ta.selectAll=function(n){var t;return"string"==typeof n?(t=xa(qa(n,ba))).parentNode=ba.documentElement:(t=xa(n)).parentNode=null,H([t])},Ra.on=function(n,t,e){var r=arguments.length;if(3>r){if("string"!=typeof n){for(e in 2>r&&(t=!1),n)this.each(Z(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(Z(n,t,e))};var Fa=Ta.map({mouseenter:"mouseover",mouseleave:"mouseout"});ba&&Fa.forEach((function(n){"on"+n in ba&&Fa.remove(n)}));var Oa,Ia=0;Ta.mouse=function(n){return W(n,B())};var Za=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;Ta.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=B().changedTouches),t)for(var r,i=0,a=t.length;a>i;++i)if((r=t[i]).identifier===e)return W(n,r)},Ta.behavior.drag=function(){function n(){this.on("mousedown.drag",a).on("touchstart.drag",o)}function e(n,t,e,a,o){return function(){function l(){var n,e,r=t(f,p);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,d({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function u(){t(f,p)&&(y.on(a+m,null).on(o+m,null),v(g),d({type:"dragend"}))}var c,s=this,h=Ta.event.target.correspondingElement||Ta.event.target,f=s.parentNode,d=r.of(s,arguments),g=0,p=n(),m=".drag"+(null==p?"":"-"+p),y=Ta.select(e(h)).on(a+m,l).on(o+m,u),v=$(h),M=t(f,p);i?c=[(c=i.apply(s,arguments)).x-M[0],c.y-M[1]]:c=[0,0],d({type:"dragstart"})}}var r=L(n,"drag","dragstart","dragend"),i=null,a=e(E,Ta.mouse,t,"mousemove","mouseup"),o=e(J,Ta.touch,v,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},Ta.rebind(n,r,"on")},Ta.touches=function(n,t){return arguments.length<2&&(t=B().touches),t?xa(t).map((function(t){var e=W(n,t);return e.identifier=t.identifier,e})):[]};var Va=1e-6,Xa=Va*Va,$a=Math.PI,Wa=2*$a,Ja=Wa-Va,Ga=$a/2,Qa=$a/180,no=180/$a,to=Math.SQRT2;Ta.interpolateZoom=function(n,t){var e,r,i=n[0],a=n[1],o=n[2],l=t[0],u=t[1],c=t[2],s=l-i,h=u-a,f=s*s+h*h;if(Xa>f)r=Math.log(c/o)/to,e=function(n){return[i+n*s,a+n*h,o*Math.exp(to*n*r)]};else{var d=Math.sqrt(f),g=(c*c-o*o+4*f)/(2*o*2*d),p=(c*c-o*o-4*f)/(2*c*2*d),m=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(p*p+1)-p);r=(y-m)/to,e=function(n){var t=n*r,e=en(m),l=o/(2*d)*(e*function(n){return((n=Math.exp(2*n))-1)/(n+1)}(to*t+m)-function(n){return((n=Math.exp(n))-1/n)/2}(m));return[i+l*s,a+l*h,o*e/en(to*t+m)]}}return e.duration=1e3*r,e},Ta.behavior.zoom=function(){function n(n){n.on(k,s).on(ro+".zoom",f).on("dblclick.zoom",d).on(S,h)}function e(n){return[(n[0]-b.x)/b.k,(n[1]-b.y)/b.k]}function r(n){b.k=Math.max(H[0],Math.min(H[1],n))}function i(n,t){t=function(n){return[n[0]*b.k+b.x,n[1]*b.k+b.y]}(t),b.x+=n[0]-t[0],b.y+=n[1]-t[1]}function a(t,e,a,o){t.__chart__={x:b.x,y:b.y,k:b.k},r(Math.pow(2,o)),i(p=e,a),t=Ta.select(t),w>0&&(t=t.transition().duration(w)),t.call(n.event)}function o(){T&&T.domain(M.range().map((function(n){return(n-b.x)/b.k})).map(M.invert)),x&&x.domain(E.range().map((function(n){return(n-b.y)/b.k})).map(E.invert))}function l(n){_++||n({type:"zoomstart"})}function u(n){o(),n({type:"zoom",scale:b.k,translate:[b.x,b.y]})}function c(n){--_||(n({type:"zoomend"}),p=null)}function s(){function n(){s=1,i(Ta.mouse(a),f),u(o)}function r(){h.on(A,null).on(D,null),d(s),c(o)}var a=this,o=C.of(a,arguments),s=0,h=Ta.select(t(a)).on(A,n).on(D,r),f=e(Ta.mouse(a)),d=$(a);Jl.call(a),l(o)}function h(){function n(){var n=Ta.touches(g);return d=b.k,n.forEach((function(n){n.identifier in m&&(m[n.identifier]=e(n))})),n}function t(){var t=Ta.event.target;Ta.select(t).on(T,o).on(E,f),x.push(t);for(var e=Ta.event.changedTouches,r=0,i=e.length;i>r;++r)m[e[r].identifier]=null;var l=n(),u=Date.now();if(1===l.length){if(500>u-v){var c=l[0];a(g,c,m[c.identifier],Math.floor(Math.log(b.k)/Math.LN2)+1),N()}v=u}else if(l.length>1){c=l[0];var s=l[1],h=c[0]-s[0],d=c[1]-s[1];y=h*h+d*d}}function o(){var n,t,e,a,o=Ta.touches(g);Jl.call(g);for(var l=0,c=o.length;c>l;++l,a=null)if(e=o[l],a=m[e.identifier]){if(t)break;n=e,t=a}if(a){var s=(s=e[0]-n[0])*s+(s=e[1]-n[1])*s,h=y&&Math.sqrt(s/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+a[0])/2,(t[1]+a[1])/2],r(h*d)}v=null,i(n,t),u(p)}function f(){if(Ta.event.touches.length){for(var t=Ta.event.changedTouches,e=0,r=t.length;r>e;++e)delete m[t[e].identifier];for(var i in m)return void n()}Ta.selectAll(x).on(M,null),B.on(k,s).on(S,h),L(),c(p)}var d,g=this,p=C.of(g,arguments),m={},y=0,M=".zoom-"+Ta.event.changedTouches[0].identifier,T="touchmove"+M,E="touchend"+M,x=[],B=Ta.select(g),L=$(g);t(),l(p),B.on(k,null).on(S,t)}function f(){var n=C.of(this,arguments);y?clearTimeout(y):(Jl.call(this),g=e(p=m||Ta.mouse(this)),l(n)),y=setTimeout((function(){y=null,c(n)}),50),N(),r(Math.pow(2,.002*eo())*b.k),i(p,g),u(n)}function d(){var n=Ta.mouse(this),t=Math.log(b.k)/Math.LN2;a(this,n,e(n),Ta.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var g,p,m,y,v,M,T,E,x,b={x:0,y:0,k:1},B=[960,500],H=io,w=250,_=0,k="mousedown.zoom",A="mousemove.zoom",D="mouseup.zoom",S="touchstart.zoom",C=L(n,"zoomstart","zoom","zoomend");return ro||(ro="onwheel"in ba?(eo=function(){return-Ta.event.deltaY*(Ta.event.deltaMode?120:1)},"wheel"):"onmousewheel"in ba?(eo=function(){return Ta.event.wheelDelta},"mousewheel"):(eo=function(){return-Ta.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each((function(){var n=C.of(this,arguments),t=b;$l?Ta.select(this).transition().each("start.zoom",(function(){b=this.__chart__||{x:0,y:0,k:1},l(n)})).tween("zoom:zoom",(function(){var e=B[0],r=B[1],i=p?p[0]:e/2,a=p?p[1]:r/2,o=Ta.interpolateZoom([(i-b.x)/b.k,(a-b.y)/b.k,e/b.k],[(i-t.x)/t.k,(a-t.y)/t.k,e/t.k]);return function(t){var r=o(t),l=e/r[2];this.__chart__=b={x:i-r[0]*l,y:a-r[1]*l,k:l},u(n)}})).each("interrupt.zoom",(function(){c(n)})).each("end.zoom",(function(){c(n)})):(this.__chart__=b,l(n),u(n),c(n))}))},n.translate=function(t){return arguments.length?(b={x:+t[0],y:+t[1],k:b.k},o(),n):[b.x,b.y]},n.scale=function(t){return arguments.length?(b={x:b.x,y:b.y,k:null},r(+t),o(),n):b.k},n.scaleExtent=function(t){return arguments.length?(H=null==t?io:[+t[0],+t[1]],n):H},n.center=function(t){return arguments.length?(m=t&&[+t[0],+t[1]],n):m},n.size=function(t){return arguments.length?(B=t&&[+t[0],+t[1]],n):B},n.duration=function(t){return arguments.length?(w=+t,n):w},n.x=function(t){return arguments.length?(T=t,M=t.copy(),b={x:0,y:0,k:1},n):T},n.y=function(t){return arguments.length?(x=t,E=t.copy(),b={x:0,y:0,k:1},n):x},Ta.rebind(n,C,"on")};var eo,ro,io=[0,1/0];Ta.color=an,an.prototype.toString=function(){return this.rgb()+""},Ta.hsl=on;var ao=on.prototype=new an;ao.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new on(this.h,this.s,this.l/n)},ao.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new on(this.h,this.s,n*this.l)},ao.rgb=function(){return ln(this.h,this.s,this.l)},Ta.hcl=un;var oo=un.prototype=new an;oo.brighter=function(n){return new un(this.h,this.c,Math.min(100,this.l+lo*(arguments.length?n:1)))},oo.darker=function(n){return new un(this.h,this.c,Math.max(0,this.l-lo*(arguments.length?n:1)))},oo.rgb=function(){return cn(this.h,this.c,this.l).rgb()},Ta.lab=sn;var lo=18,uo=.95047,co=1,so=1.08883,ho=sn.prototype=new an;ho.brighter=function(n){return new sn(Math.min(100,this.l+lo*(arguments.length?n:1)),this.a,this.b)},ho.darker=function(n){return new sn(Math.max(0,this.l-lo*(arguments.length?n:1)),this.a,this.b)},ho.rgb=function(){return hn(this.l,this.a,this.b)},Ta.rgb=mn;var fo=mn.prototype=new an;fo.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},fo.darker=function(n){return new mn((n=Math.pow(.7,arguments.length?n:1))*this.r,n*this.g,n*this.b)},fo.hsl=function(){return En(this.r,this.g,this.b)},fo.toString=function(){return"#"+Mn(this.r)+Mn(this.g)+Mn(this.b)};var go=Ta.map({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});go.forEach((function(n,t){go.set(n,yn(t))})),Ta.functor=Bn,Ta.xhr=Ln(v),Ta.dsv=function(n,t){function e(n,e,a){arguments.length<3&&(a=e,e=null);var o=Hn(n,t,null==e?r:i(e),a);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function a(t){return t.map(o).join(n)}function o(n){return l.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var l=new RegExp('["'+n+"\n]"),u=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,(function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map((function(n,t){return JSON.stringify(n)+": d["+t+"]"})).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i}))},e.parseRows=function(n,t){function e(){if(s>=c)return o;if(i)return i=!1,a;var t=s;if(34===n.charCodeAt(t)){for(var e=t;e++<c;)if(34===n.charCodeAt(e)){if(34!==n.charCodeAt(e+1))break;++e}return s=e+2,13===(r=n.charCodeAt(e+1))?(i=!0,10===n.charCodeAt(e+2)&&++s):10===r&&(i=!0),n.slice(t+1,e).replace(/""/g,'"')}for(;c>s;){var r,l=1;if(10===(r=n.charCodeAt(s++)))i=!0;else if(13===r)i=!0,10===n.charCodeAt(s)&&(++s,++l);else if(r!==u)continue;return n.slice(t,s-l)}return n.slice(t)}for(var r,i,a={},o={},l=[],c=n.length,s=0,h=0;(r=e())!==o;){for(var f=[];r!==a&&r!==o;)f.push(r),r=e();t&&null==(f=t(f,h++))||l.push(f)}return l},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach((function(n){for(var t in n)r.has(t)||i.push(r.add(t))})),[i.map(o).join(n)].concat(t.map((function(t){return i.map((function(n){return o(t[n])})).join(n)}))).join("\n")},e.formatRows=function(n){return n.map(a).join("\n")},e},Ta.csv=Ta.dsv(",","text/csv"),Ta.tsv=Ta.dsv("\t","text/tab-separated-values");var po,mo,yo,vo,Mo=this[T(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};Ta.timer=function(){wn.apply(this,arguments)},Ta.timer.flush=function(){kn(),An()},Ta.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var To=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map((function(n,t){var e=Math.pow(10,3*ka(8-t));return{scale:t>8?function(n){return n/e}:function(n){return n*e},symbol:n}}));Ta.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=Ta.round(n,Dn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),To[8+e/3]};var Eo=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,xo=Ta.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=Ta.round(n,Dn(n,t))).toFixed(Math.max(0,Math.min(20,Dn(n*(1+1e-15),t))))}}),bo=Ta.time={},No=Date;Kn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Bo.setUTCDate.apply(this._,arguments)},setDay:function(){Bo.setUTCDay.apply(this._,arguments)},setFullYear:function(){Bo.setUTCFullYear.apply(this._,arguments)},setHours:function(){Bo.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Bo.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Bo.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Bo.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Bo.setUTCSeconds.apply(this._,arguments)},setTime:function(){Bo.setTime.apply(this._,arguments)}};var Bo=Date.prototype;bo.year=zn((function(n){return(n=bo.day(n)).setMonth(0,1),n}),(function(n,t){n.setFullYear(n.getFullYear()+t)}),(function(n){return n.getFullYear()})),bo.years=bo.year.range,bo.years.utc=bo.year.utc.range,bo.day=zn((function(n){var t=new No(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t}),(function(n,t){n.setDate(n.getDate()+t)}),(function(n){return n.getDate()-1})),bo.days=bo.day.range,bo.days.utc=bo.day.utc.range,bo.dayOfYear=function(n){var t=bo.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(n,t){t=7-t;var e=bo[n]=zn((function(n){return(n=bo.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n}),(function(n,t){n.setDate(n.getDate()+7*Math.floor(t))}),(function(n){var e=bo.year(n).getDay();return Math.floor((bo.dayOfYear(n)+(e+t)%7)/7)-(e!==t)}));bo[n+"s"]=e.range,bo[n+"s"].utc=e.utc.range,bo[n+"OfYear"]=function(n){var e=bo.year(n).getDay();return Math.floor((bo.dayOfYear(n)+(e+t)%7)/7)}})),bo.week=bo.sunday,bo.weeks=bo.sunday.range,bo.weeks.utc=bo.sunday.utc.range,bo.weekOfYear=bo.sundayOfYear;var Lo={"-":"",_:" ",0:"0"},Ho=/^\s*\d+/,wo=/^%/;Ta.locale=function(n){return{numberFormat:Sn(n),timeFormat:Yn(n)}};var _o=Ta.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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"]});Ta.format=_o.numberFormat,Ta.geo={},it.prototype={s:0,t:0,add:function(n){at(n,this.t,ko),at(ko.s,this.s,this),this.s?this.t+=ko.t:this.s=ko.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ko=new it;Ta.geo.stream=function(n,t){n&&Ao.hasOwnProperty(n.type)?Ao[n.type](n,t):ot(n,t)};var Ao={Feature:function(n,t){ot(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++r<i;)ot(e[r].geometry,t)}},Do={Sphere:function(n,t){t.sphere()},Point:function(n,t){n=n.coordinates,t.point(n[0],n[1],n[2])},MultiPoint:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)n=e[r],t.point(n[0],n[1],n[2])},LineString:function(n,t){lt(n.coordinates,t,0)},MultiLineString:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)lt(e[r],t,0)},Polygon:function(n,t){ut(n.coordinates,t)},MultiPolygon:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)ut(e[r],t)},GeometryCollection:function(n,t){for(var e=n.geometries,r=-1,i=e.length;++r<i;)ot(e[r],t)}};Ta.geo.area=function(n){return So=0,Ta.geo.stream(n,Ko),So};var So,Co=new it,Ko={sphere:function(){So+=4*$a},point:E,lineStart:E,lineEnd:E,polygonStart:function(){Co.reset(),Ko.lineStart=ct},polygonEnd:function(){var n=2*Co;So+=0>n?4*$a+n:n,Ko.lineStart=Ko.lineEnd=Ko.point=E}};Ta.geo.bounds=function(){function n(n,t){M.push(T=[s=n,f=n]),h>t&&(h=t),t>d&&(d=t)}function t(t,e){var r=st([t*Qa,e*Qa]);if(y){var i=ft(y,r),a=ft([i[1],-i[0],0],i);pt(a),a=mt(a);var o=t-g,u=o>0?1:-1,c=a[0]*no*u,p=ka(o)>180;if(p^(c>u*g&&u*t>c))(m=a[1]*no)>d&&(d=m);else if(p^((c=(c+360)%360-180)>u*g&&u*t>c)){var m=-a[1]*no;h>m&&(h=m)}else h>e&&(h=e),e>d&&(d=e);p?g>t?l(s,t)>l(s,f)&&(f=t):l(t,f)>l(s,f)&&(s=t):f>=s?(s>t&&(s=t),t>f&&(f=t)):t>g?l(s,t)>l(s,f)&&(f=t):l(t,f)>l(s,f)&&(s=t)}else n(t,e);y=r,g=t}function e(){E.point=t}function r(){T[0]=s,T[1]=f,E.point=n,y=null}function i(n,e){if(y){var r=n-g;v+=ka(r)>180?r+(r>0?360:-360):r}else p=n,m=e;Ko.point(n,e),t(n,e)}function a(){Ko.lineStart()}function o(){i(p,m),Ko.lineEnd(),ka(v)>Va&&(s=-(f=180)),T[0]=s,T[1]=f,y=null}function l(n,t){return(t-=n)<0?t+360:t}function u(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}var s,h,f,d,g,p,m,y,v,M,T,E={point:n,lineStart:e,lineEnd:r,polygonStart:function(){E.point=i,E.lineStart=a,E.lineEnd=o,v=0,Ko.polygonStart()},polygonEnd:function(){Ko.polygonEnd(),E.point=n,E.lineStart=e,E.lineEnd=r,0>Co?(s=-(f=180),h=-(d=90)):v>Va?d=90:-Va>v&&(h=-90),T[0]=s,T[1]=f}};return function(n){if(d=f=-(s=h=1/0),M=[],Ta.geo.stream(n,E),a=M.length){M.sort(u);for(var t=1,e=[g=M[0]];a>t;++t)c((i=M[t])[0],g)||c(i[1],g)?(l(g[0],i[1])>l(g[0],g[1])&&(g[1]=i[1]),l(i[0],g[1])>l(g[0],g[1])&&(g[0]=i[0])):e.push(g=i);for(var r,i,a,o=-1/0,g=(t=0,e[a=e.length-1]);a>=t;g=i,++t)i=e[t],(r=l(g[1],i[0]))>o&&(o=r,s=i[0],f=g[1])}return M=T=null,s===1/0||h===1/0?[[NaN,NaN],[NaN,NaN]]:[[s,h],[f,d]]}}(),Ta.geo.centroid=function(n){zo=qo=Yo=Ro=Po=jo=Uo=Fo=Oo=Io=Zo=0,Ta.geo.stream(n,Vo);var t=Oo,e=Io,r=Zo,i=t*t+e*e+r*r;return Xa>i&&(t=jo,e=Uo,r=Fo,Va>qo&&(t=Yo,e=Ro,r=Po),Xa>(i=t*t+e*e+r*r))?[NaN,NaN]:[Math.atan2(e,t)*no,tn(r/Math.sqrt(i))*no]};var zo,qo,Yo,Ro,Po,jo,Uo,Fo,Oo,Io,Zo,Vo={sphere:E,point:vt,lineStart:Tt,lineEnd:Et,polygonStart:function(){Vo.lineStart=xt},polygonEnd:function(){Vo.lineStart=Tt}},Xo=wt(Nt,(function(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(a,o){var l=a>0?$a:-$a,u=ka(a-e);ka(u-$a)<Va?(n.point(e,r=(r+o)/2>0?Ga:-Ga),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(l,r),n.point(a,r),t=0):i!==l&&u>=$a&&(ka(e-i)<Va&&(e-=i*Va),ka(a-l)<Va&&(a-=l*Va),r=function(n,t,e,r){var i,a,o=Math.sin(n-e);return ka(o)>Va?Math.atan((Math.sin(t)*(a=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*a*o)):(t+r)/2}(e,r,a,o),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(l,r),t=0),n.point(e=a,r=o),i=l},lineEnd:function(){n.lineEnd(),e=r=NaN},clean:function(){return 2-t}}}),(function(n,t,e,r){var i;if(null==n)i=e*Ga,r.point(-$a,i),r.point(0,i),r.point($a,i),r.point($a,0),r.point($a,-i),r.point(0,-i),r.point(-$a,-i),r.point(-$a,0),r.point(-$a,i);else if(ka(n[0]-t[0])>Va){var a=n[0]<t[0]?$a:-$a;i=e*a/2,r.point(-a,i),r.point(0,i),r.point(a,i)}else r.point(t[0],t[1])}),[-$a,-$a/2]),$o=1e9;Ta.geo.clipExtent=function(){var n,t,e,r,i,a,o={stream:function(n){return i&&(i.valid=!1),(i=a(n)).valid=!0,i},extent:function(l){return arguments.length?(a=Ct(n=+l[0][0],t=+l[0][1],e=+l[1][0],r=+l[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(Ta.geo.conicEqualArea=function(){return Kt(zt)}).raw=zt,Ta.geo.albers=function(){return Ta.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},Ta.geo.albersUsa=function(){function n(n){var a=n[0],o=n[1];return t=null,e(a,o),t||(r(a,o),t)||i(a,o),t}var t,e,r,i,a=Ta.geo.albers(),o=Ta.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=Ta.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=a.scale(),e=a.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?l:a).invert(n)},n.stream=function(n){var t=a.stream(n),e=o.stream(n),r=l.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(a.precision(t),o.precision(t),l.precision(t),n):a.precision()},n.scale=function(t){return arguments.length?(a.scale(t),o.scale(.35*t),l.scale(t),n.translate(a.translate())):a.scale()},n.translate=function(t){if(!arguments.length)return a.translate();var c=a.scale(),s=+t[0],h=+t[1];return e=a.translate(t).clipExtent([[s-.455*c,h-.238*c],[s+.455*c,h+.238*c]]).stream(u).point,r=o.translate([s-.307*c,h+.201*c]).clipExtent([[s-.425*c+Va,h+.12*c+Va],[s-.214*c-Va,h+.234*c-Va]]).stream(u).point,i=l.translate([s-.205*c,h+.212*c]).clipExtent([[s-.214*c+Va,h+.166*c+Va],[s-.115*c-Va,h+.234*c-Va]]).stream(u).point,n},n.scale(1070)};var Wo,Jo,Go,Qo,nl,tl,el={point:E,lineStart:E,lineEnd:E,polygonStart:function(){Jo=0,el.lineStart=qt},polygonEnd:function(){el.lineStart=el.lineEnd=el.point=E,Wo+=ka(Jo/2)}},rl={point:function(n,t){Go>n&&(Go=n),n>nl&&(nl=n),Qo>t&&(Qo=t),t>tl&&(tl=t)},lineStart:E,lineEnd:E,polygonStart:E,polygonEnd:E},il={point:Pt,lineStart:jt,lineEnd:Ut,polygonStart:function(){il.lineStart=Ft},polygonEnd:function(){il.point=Pt,il.lineStart=jt,il.lineEnd=Ut}};Ta.geo.path=function(){function n(n){return n&&("function"==typeof l&&a.pointRadius(+l.apply(this,arguments)),o&&o.valid||(o=i(a)),Ta.geo.stream(n,o)),a.result()}function t(){return o=null,n}var e,r,i,a,o,l=4.5;return n.area=function(n){return Wo=0,Ta.geo.stream(n,i(el)),Wo},n.centroid=function(n){return Yo=Ro=Po=jo=Uo=Fo=Oo=Io=Zo=0,Ta.geo.stream(n,i(il)),Zo?[Oo/Zo,Io/Zo]:Fo?[jo/Fo,Uo/Fo]:Po?[Yo/Po,Ro/Po]:[NaN,NaN]},n.bounds=function(n){return nl=tl=-(Go=Qo=1/0),Ta.geo.stream(n,i(rl)),[[Go,Qo],[nl,tl]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||Zt(n):v,t()):e},n.context=function(n){return arguments.length?(a=null==(r=n)?new Yt:new Ot(n),"function"!=typeof l&&a.pointRadius(l),t()):r},n.pointRadius=function(t){return arguments.length?(l="function"==typeof t?t:(a.pointRadius(+t),+t),n):l},n.projection(Ta.geo.albersUsa()).context(null)},Ta.geo.transform=function(n){return{stream:function(t){var e=new Vt(t);for(var r in n)e[r]=n[r];return e}}},Vt.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},Ta.geo.projection=$t,Ta.geo.projectionMutator=Wt,(Ta.geo.equirectangular=function(){return $t(Gt)}).raw=Gt.invert=Gt,Ta.geo.rotation=function(n){function t(t){return(t=n(t[0]*Qa,t[1]*Qa))[0]*=no,t[1]*=no,t}return n=ne(n[0]%360*Qa,n[1]*Qa,n.length>2?n[2]*Qa:0),t.invert=function(t){return(t=n.invert(t[0]*Qa,t[1]*Qa))[0]*=no,t[1]*=no,t},t},Qt.invert=Gt,Ta.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=ne(-n[0]*Qa,-n[1]*Qa,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=no,n[1]*=no}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ie((t=+r)*Qa,i*Qa),n):t},n.precision=function(r){return arguments.length?(e=ie(t*Qa,(i=+r)*Qa),n):i},n.angle(90)},Ta.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Qa,i=n[1]*Qa,a=t[1]*Qa,o=Math.sin(r),l=Math.cos(r),u=Math.sin(i),c=Math.cos(i),s=Math.sin(a),h=Math.cos(a);return Math.atan2(Math.sqrt((e=h*o)*e+(e=c*s-u*h*l)*e),u*s+c*h*l)},Ta.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return Ta.range(Math.ceil(a/m)*m,i,m).map(f).concat(Ta.range(Math.ceil(c/y)*y,u,y).map(d)).concat(Ta.range(Math.ceil(r/g)*g,e,g).filter((function(n){return ka(n%m)>Va})).map(s)).concat(Ta.range(Math.ceil(l/p)*p,o,p).filter((function(n){return ka(n%y)>Va})).map(h))}var e,r,i,a,o,l,u,c,s,h,f,d,g=10,p=g,m=90,y=360,v=2.5;return n.lines=function(){return t().map((function(n){return{type:"LineString",coordinates:n}}))},n.outline=function(){return{type:"Polygon",coordinates:[f(a).concat(d(u).slice(1),f(i).reverse().slice(1),d(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(a=+t[0][0],i=+t[1][0],c=+t[0][1],u=+t[1][1],a>i&&(t=a,a=i,i=t),c>u&&(t=c,c=u,u=t),n.precision(v)):[[a,c],[i,u]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],l=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),l>o&&(t=l,l=o,o=t),n.precision(v)):[[r,l],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(m=+t[0],y=+t[1],n):[m,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],p=+t[1],n):[g,p]},n.precision=function(t){return arguments.length?(v=+t,s=oe(l,o,90),h=le(r,e,v),f=oe(c,u,90),d=le(a,i,v),n):v},n.majorExtent([[-180,-90+Va],[180,90-Va]]).minorExtent([[-180,-80-Va],[180,80+Va]])},Ta.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=ue,i=ce;return n.distance=function(){return Ta.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},Ta.geo.interpolate=function(n,t){return function(n,t,e,r){var i=Math.cos(t),a=Math.sin(t),o=Math.cos(r),l=Math.sin(r),u=i*Math.cos(n),c=i*Math.sin(n),s=o*Math.cos(e),h=o*Math.sin(e),f=2*Math.asin(Math.sqrt(rn(r-t)+i*o*rn(e-n))),d=1/Math.sin(f),g=f?function(n){var t=Math.sin(n*=f)*d,e=Math.sin(f-n)*d,r=e*u+t*s,i=e*c+t*h,o=e*a+t*l;return[Math.atan2(i,r)*no,Math.atan2(o,Math.sqrt(r*r+i*i))*no]}:function(){return[n*no,t*no]};return g.distance=f,g}(n[0]*Qa,n[1]*Qa,t[0]*Qa,t[1]*Qa)},Ta.geo.length=function(n){return al=0,Ta.geo.stream(n,ol),al};var al,ol={sphere:E,point:E,lineStart:function(){function n(n,i){var a=Math.sin(i*=Qa),o=Math.cos(i),l=ka((n*=Qa)-t),u=Math.cos(l);al+=Math.atan2(Math.sqrt((l=o*Math.sin(l))*l+(l=r*a-e*o*u)*l),e*a+r*o*u),t=n,e=a,r=o}var t,e,r;ol.point=function(i,a){t=i*Qa,e=Math.sin(a*=Qa),r=Math.cos(a),ol.point=n},ol.lineEnd=function(){ol.point=ol.lineEnd=E}},lineEnd:E,polygonStart:E,polygonEnd:E},ll=se((function(n){return Math.sqrt(2/(1+n))}),(function(n){return 2*Math.asin(n/2)}));(Ta.geo.azimuthalEqualArea=function(){return $t(ll)}).raw=ll;var ul=se((function(n){var t=Math.acos(n);return t&&t/Math.sin(t)}),v);(Ta.geo.azimuthalEquidistant=function(){return $t(ul)}).raw=ul,(Ta.geo.conicConformal=function(){return Kt(he)}).raw=he,(Ta.geo.conicEquidistant=function(){return Kt(fe)}).raw=fe;var cl=se((function(n){return 1/n}),Math.atan);(Ta.geo.gnomonic=function(){return $t(cl)}).raw=cl,de.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Ga]},(Ta.geo.mercator=function(){return ge(de)}).raw=de;var sl=se((function(){return 1}),Math.asin);(Ta.geo.orthographic=function(){return $t(sl)}).raw=sl;var hl=se((function(n){return 1/(1+n)}),(function(n){return 2*Math.atan(n)}));(Ta.geo.stereographic=function(){return $t(hl)}).raw=hl,pe.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Ga]},(Ta.geo.transverseMercator=function(){var n=ge(pe),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):[(n=t())[1],-n[0]]},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):[(n=e())[0],n[1],n[2]-90]},e([0,0,90])}).raw=pe,Ta.geom={},Ta.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=Bn(e),a=Bn(r),o=n.length,l=[],u=[];for(t=0;o>t;t++)l.push([+i.call(this,n[t],t),+a.call(this,n[t],t),t]);for(l.sort(Me),t=0;o>t;t++)u.push([l[t][0],-l[t][1]]);var c=ve(l),s=ve(u),h=s[0]===c[0],f=s[s.length-1]===c[c.length-1],d=[];for(t=c.length-1;t>=0;--t)d.push(n[l[c[t]][2]]);for(t=+h;t<s.length-f;++t)d.push(n[l[s[t]][2]]);return d}var e=me,r=ye;return arguments.length?t(n):(t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t)},Ta.geom.polygon=function(n){return Ka(n,fl),n};var fl=Ta.geom.polygon.prototype=[];fl.area=function(){for(var n,t=-1,e=this.length,r=this[e-1],i=0;++t<e;)n=r,r=this[t],i+=n[1]*r[0]-n[0]*r[1];return.5*i},fl.centroid=function(n){var t,e,r=-1,i=this.length,a=0,o=0,l=this[i-1];for(arguments.length||(n=-1/(6*this.area()));++r<i;)t=l,l=this[r],e=t[0]*l[1]-l[0]*t[1],a+=(t[0]+l[0])*e,o+=(t[1]+l[1])*e;return[a*n,o*n]},fl.clip=function(n){for(var t,e,r,i,a,o,l=xe(n),u=-1,c=this.length-xe(this),s=this[c-1];++u<c;){for(t=n.slice(),n.length=0,i=this[u],a=t[(r=t.length-l)-1],e=-1;++e<r;)Te(o=t[e],s,i)?(Te(a,s,i)||n.push(Ee(a,o,s,i)),n.push(o)):Te(a,s,i)&&n.push(Ee(a,o,s,i)),a=o;l&&n.push(n[0]),s=i}return n};var dl,gl,pl,ml,yl,vl=[],Ml=[];ke.prototype.prepare=function(){for(var n,t=this.edges,e=t.length;e--;)(n=t[e].edge).b&&n.a||t.splice(e,1);return t.sort(Ae),t.length},Pe.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},je.prototype={insert:function(n,t){var e,r,i;if(n){if(t.P=n,t.N=n.N,n.N&&(n.N.P=t),n.N=t,n.R){for(n=n.R;n.L;)n=n.L;n.L=t}else n.R=t;e=n}else this._?(n=Ie(this._),t.P=null,t.N=n,n.P=n.L=t,e=n):(t.P=t.N=null,this._=t,e=null);for(t.L=t.R=null,t.U=e,t.C=!0,n=t;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,n=r):(n===e.R&&(Fe(this,e),e=(n=e).U),e.C=!1,r.C=!0,Oe(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,n=r):(n===e.L&&(Oe(this,e),e=(n=e).U),e.C=!1,r.C=!0,Fe(this,r)),e=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var t,e,r,i=n.U,a=n.L,o=n.R;if(e=a?o?Ie(o):a:o,i?i.L===n?i.L=e:i.R=e:this._=e,a&&o?(r=e.C,e.C=n.C,e.L=a,a.U=e,e!==o?(i=e.U,e.U=n.U,n=e.R,i.L=n,e.R=o,o.U=e):(e.U=i,i=e,n=e.R)):(r=n.C,n=e),n&&(n.U=i),!r){if(n&&n.C)return void(n.C=!1);do{if(n===this._)break;if(n===i.L){if((t=i.R).C&&(t.C=!1,i.C=!0,Fe(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,Oe(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,Fe(this,i),n=this._;break}}else if((t=i.L).C&&(t.C=!1,i.C=!0,Oe(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,Fe(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,Oe(this,i),n=this._;break}t.C=!0,n=i,i=i.U}while(!n.C);n&&(n.C=!1)}}},Ta.geom.voronoi=function(n){function t(n){var t=new Array(n.length),r=l[0][0],i=l[0][1],a=l[1][0],o=l[1][1];return Ze(e(n),l).cells.forEach((function(e,l){var u=e.edges,c=e.site,s=t[l]=u.length?u.map((function(n){var t=n.start();return[t.x,t.y]})):c.x>=r&&c.x<=a&&c.y>=i&&c.y<=o?[[r,o],[a,o],[a,i],[r,i]]:[];s.point=n[l]})),t}function e(n){return n.map((function(n,t){return{x:Math.round(a(n,t)/Va)*Va,y:Math.round(o(n,t)/Va)*Va,i:t}}))}var r=me,i=ye,a=r,o=i,l=Tl;return n?t(n):(t.links=function(n){return Ze(e(n)).edges.filter((function(n){return n.l&&n.r})).map((function(t){return{source:n[t.l.i],target:n[t.r.i]}}))},t.triangles=function(n){var t=[];return Ze(e(n)).cells.forEach((function(e,r){for(var i,a=e.site,o=e.edges.sort(Ae),l=-1,u=o.length,c=o[u-1].edge,s=c.l===a?c.r:c.l;++l<u;)c,i=s,s=(c=o[l].edge).l===a?c.r:c.l,r<i.i&&r<s.i&&Xe(a,i,s)<0&&t.push([n[r],n[i.i],n[s.i]])})),t},t.x=function(n){return arguments.length?(a=Bn(r=n),t):r},t.y=function(n){return arguments.length?(o=Bn(i=n),t):i},t.clipExtent=function(n){return arguments.length?(l=null==n?Tl:n,t):l===Tl?null:l},t.size=function(n){return arguments.length?t.clipExtent(n&&[[0,0],n]):l===Tl?null:l&&l[1]},t)};var Tl=[[-1e6,-1e6],[1e6,1e6]];Ta.geom.delaunay=function(n){return Ta.geom.voronoi().triangles(n)},Ta.geom.quadtree=function(n,t,e,r,i){function a(n){function a(n,t,e,r,i,a,o,l){if(!isNaN(e)&&!isNaN(r))if(n.leaf){var u=n.x,s=n.y;if(null!=u)if(ka(u-e)+ka(s-r)<.01)c(n,t,e,r,i,a,o,l);else{var h=n.point;n.x=n.y=n.point=null,c(n,h,u,s,i,a,o,l),c(n,t,e,r,i,a,o,l)}else n.x=e,n.y=r,n.point=t}else c(n,t,e,r,i,a,o,l)}function c(n,t,e,r,i,o,l,u){var c=.5*(i+l),s=.5*(o+u),h=e>=c,f=r>=s,d=f<<1|h;n.leaf=!1,h?i=c:l=c,f?o=s:u=s,a(n=n.nodes[d]||(n.nodes[d]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,e,r,i,o,l,u)}var s,h,f,d,g,p,m,y,v,M=Bn(l),T=Bn(u);if(null!=t)p=t,m=e,y=r,v=i;else if(y=v=-(p=m=1/0),h=[],f=[],g=n.length,o)for(d=0;g>d;++d)(s=n[d]).x<p&&(p=s.x),s.y<m&&(m=s.y),s.x>y&&(y=s.x),s.y>v&&(v=s.y),h.push(s.x),f.push(s.y);else for(d=0;g>d;++d){var E=+M(s=n[d],d),x=+T(s,d);p>E&&(p=E),m>x&&(m=x),E>y&&(y=E),x>v&&(v=x),h.push(E),f.push(x)}var b=y-p,N=v-m;b>N?v=m+b:y=p+N;var B={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(n){a(B,n,+M(n,++d),+T(n,d),p,m,y,v)},visit:function(n){Je(n,B,p,m,y,v)},find:function(n){return Ge(B,n[0],n[1],p,m,y,v)}};if(d=-1,null==t){for(;++d<g;)a(B,n[d],h[d],f[d],p,m,y,v);--d}else n.forEach(B.add);return h=f=n=s=null,B}var o,l=me,u=ye;return(o=arguments.length)?(l=$e,u=We,3===o&&(i=e,r=t,e=t=0),a(n)):(a.x=function(n){return arguments.length?(l=n,a):l},a.y=function(n){return arguments.length?(u=n,a):u},a.extent=function(n){return arguments.length?(null==n?t=e=r=i=null:(t=+n[0][0],e=+n[0][1],r=+n[1][0],i=+n[1][1]),a):null==t?null:[[t,e],[r,i]]},a.size=function(n){return arguments.length?(null==n?t=e=r=i=null:(t=e=0,r=+n[0],i=+n[1]),a):null==t?null:[r-t,i-e]},a)},Ta.interpolateRgb=Qe,Ta.interpolateObject=nr,Ta.interpolateNumber=tr,Ta.interpolateString=er;var El=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,xl=new RegExp(El.source,"g");Ta.interpolate=rr,Ta.interpolators=[function(n,t){var e=typeof t;return("string"===e?go.has(t.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(t)?Qe:er:t instanceof an?Qe:Array.isArray(t)?ir:"object"===e&&isNaN(t)?nr:tr)(n,t)}],Ta.interpolateArray=ir;var bl=function(){return v},Nl=Ta.map({linear:bl,poly:function(n){return function(t){return Math.pow(t,n)}},quad:function(){return ur},cubic:function(){return cr},sin:function(){return hr},exp:function(){return fr},circle:function(){return dr},elastic:function(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Wa*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Wa/t)}},back:function(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}},bounce:function(){return gr}}),Bl=Ta.map({in:v,out:or,"in-out":lr,"out-in":function(n){return lr(or(n))}});Ta.ease=function(n){var t=n.indexOf("-"),e=t>=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=Nl.get(e)||bl,ar((r=Bl.get(r)||v)(e.apply(null,Ea.call(arguments,1))))},Ta.interpolateHcl=function(n,t){n=Ta.hcl(n),t=Ta.hcl(t);var e=n.h,r=n.c,i=n.l,a=t.h-e,o=t.c-r,l=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(a)?(a=0,e=isNaN(e)?t.h:e):a>180?a-=360:-180>a&&(a+=360),function(n){return cn(e+a*n,r+o*n,i+l*n)+""}},Ta.interpolateHsl=function(n,t){n=Ta.hsl(n),t=Ta.hsl(t);var e=n.h,r=n.s,i=n.l,a=t.h-e,o=t.s-r,l=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(a)?(a=0,e=isNaN(e)?t.h:e):a>180?a-=360:-180>a&&(a+=360),function(n){return ln(e+a*n,r+o*n,i+l*n)+""}},Ta.interpolateLab=function(n,t){n=Ta.lab(n),t=Ta.lab(t);var e=n.l,r=n.a,i=n.b,a=t.l-e,o=t.a-r,l=t.b-i;return function(n){return hn(e+a*n,r+o*n,i+l*n)+""}},Ta.interpolateRound=pr,Ta.transform=function(n){var t=ba.createElementNS(Ta.ns.prefix.svg,"g");return(Ta.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new mr(e?e.matrix:Ll)})(n)},mr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Ll={a:1,b:0,c:0,d:1,e:0,f:0};Ta.interpolateTransform=Tr,Ta.layout={},Ta.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++e<r;)t.push(br(n[e]));return t}},Ta.layout.chord=function(){function n(){var n,c,h,f,d,g={},p=[],m=Ta.range(a),y=[];for(e=[],r=[],n=0,f=-1;++f<a;){for(c=0,d=-1;++d<a;)c+=i[f][d];p.push(c),y.push(Ta.range(a)),n+=c}for(o&&m.sort((function(n,t){return o(p[n],p[t])})),l&&y.forEach((function(n,t){n.sort((function(n,e){return l(i[t][n],i[t][e])}))})),n=(Wa-s*a)/n,c=0,f=-1;++f<a;){for(h=c,d=-1;++d<a;){var v=m[f],M=y[v][d],T=i[v][M],E=c,x=c+=T*n;g[v+"-"+M]={index:v,subindex:M,startAngle:E,endAngle:x,value:T}}r[v]={index:v,startAngle:h,endAngle:c,value:p[v]},c+=s}for(f=-1;++f<a;)for(d=f-1;++d<a;){var b=g[f+"-"+d],N=g[d+"-"+f];(b.value||N.value)&&e.push(b.value<N.value?{source:N,target:b}:{source:b,target:N})}u&&t()}function t(){e.sort((function(n,t){return u((n.source.value+n.target.value)/2,(t.source.value+t.target.value)/2)}))}var e,r,i,a,o,l,u,c={},s=0;return c.matrix=function(n){return arguments.length?(a=(i=n)&&i.length,e=r=null,c):i},c.padding=function(n){return arguments.length?(s=n,e=r=null,c):s},c.sortGroups=function(n){return arguments.length?(o=n,e=r=null,c):o},c.sortSubgroups=function(n){return arguments.length?(l=n,e=null,c):l},c.sortChords=function(n){return arguments.length?(u=n,e&&t(),c):u},c.chords=function(){return e||n(),e},c.groups=function(){return r||n(),r},c},Ta.layout.force=function(){function n(n){return function(t,e,r,i){if(t.point!==n){var a=t.cx-n.x,o=t.cy-n.y,l=i-e,u=a*a+o*o;if(u>l*l/y){if(p>u){var c=t.charge/u;n.px-=a*c,n.py-=o*c}return!0}if(t.point&&u&&p>u){c=t.pointCharge/u;n.px-=a*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=Ta.event.x,n.py=Ta.event.y,u.resume()}var e,r,i,a,o,l,u={},c=Ta.dispatch("start","tick","end"),s=[1,1],h=.9,f=Hl,d=wl,g=-30,p=_l,m=.1,y=.64,M=[],T=[];return u.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,u,f,d,p,y,v,E,x=M.length,b=T.length;for(r=0;b>r;++r)f=(u=T[r]).source,(p=(v=(d=u.target).x-f.x)*v+(E=d.y-f.y)*E)&&(v*=p=i*o[r]*((p=Math.sqrt(p))-a[r])/p,E*=p,d.x-=v*(y=f.weight+d.weight?f.weight/(f.weight+d.weight):.5),d.y-=E*y,f.x+=v*(y=1-y),f.y+=E*y);if((y=i*m)&&(v=s[0]/2,E=s[1]/2,r=-1,y))for(;++r<x;)(u=M[r]).x+=(v-u.x)*y,u.y+=(E-u.y)*y;if(g)for(_r(t=Ta.geom.quadtree(M),i,l),r=-1;++r<x;)(u=M[r]).fixed||t.visit(n(u));for(r=-1;++r<x;)(u=M[r]).fixed?(u.x=u.px,u.y=u.py):(u.x-=(u.px-(u.px=u.x))*h,u.y-=(u.py-(u.py=u.y))*h);c.tick({type:"tick",alpha:i})},u.nodes=function(n){return arguments.length?(M=n,u):M},u.links=function(n){return arguments.length?(T=n,u):T},u.size=function(n){return arguments.length?(s=n,u):s},u.linkDistance=function(n){return arguments.length?(f="function"==typeof n?n:+n,u):f},u.distance=u.linkDistance,u.linkStrength=function(n){return arguments.length?(d="function"==typeof n?n:+n,u):d},u.friction=function(n){return arguments.length?(h=+n,u):h},u.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,u):g},u.chargeDistance=function(n){return arguments.length?(p=n*n,u):Math.sqrt(p)},u.gravity=function(n){return arguments.length?(m=+n,u):m},u.theta=function(n){return arguments.length?(y=n*n,u):Math.sqrt(y)},u.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=wn(u.tick)),u):i},u.start=function(){function n(n,r){if(!e){for(e=new Array(i),u=0;i>u;++u)e[u]=[];for(u=0;c>u;++u){var a=T[u];e[a.source.index].push(a.target),e[a.target.index].push(a.source)}}for(var o,l=e[t],u=-1,s=l.length;++u<s;)if(!isNaN(o=l[u][n]))return o;return Math.random()*r}var t,e,r,i=M.length,c=T.length,h=s[0],p=s[1];for(t=0;i>t;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)"number"==typeof(r=T[t]).source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",h)),isNaN(r.y)&&(r.y=n("y",p)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(a=[],"function"==typeof f)for(t=0;c>t;++t)a[t]=+f.call(this,T[t],t);else for(t=0;c>t;++t)a[t]=f;if(o=[],"function"==typeof d)for(t=0;c>t;++t)o[t]=+d.call(this,T[t],t);else for(t=0;c>t;++t)o[t]=d;if(l=[],"function"==typeof g)for(t=0;i>t;++t)l[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)l[t]=g;return u.resume()},u.resume=function(){return u.alpha(.1)},u.stop=function(){return u.alpha(0)},u.drag=function(){return r||(r=Ta.behavior.drag().origin(v).on("dragstart.force",Br).on("drag.force",t).on("dragend.force",Lr)),arguments.length?void this.on("mouseover.force",Hr).on("mouseout.force",wr).call(r):r},Ta.rebind(u,c,"on")};var Hl=20,wl=1,_l=1/0;Ta.layout.hierarchy=function(){function n(i){var a,o=[i],l=[];for(i.depth=0;null!=(a=o.pop());)if(l.push(a),(c=e.call(n,a,a.depth))&&(u=c.length)){for(var u,c,s;--u>=0;)o.push(s=c[u]),s.parent=a,s.depth=a.depth+1;r&&(a.value=0),a.children=c}else r&&(a.value=+r.call(n,a,a.depth)||0),delete a.children;return Dr(i,(function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)})),l}var t=Kr,e=Sr,r=Cr;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(Ar(t,(function(n){n.children&&(n.value=0)})),Dr(t,(function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)}))),t},n},Ta.layout.partition=function(){function n(t,e,r,i){var a=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,a&&(o=a.length)){var o,l,u,c=-1;for(r=t.value?r/t.value:0;++c<o;)n(l=a[c],e,u=l.value*r,i),e+=u}}function t(n){var e=n.children,r=0;if(e&&(i=e.length))for(var i,a=-1;++a<i;)r=Math.max(r,t(e[a]));return 1+r}function e(e,a){var o=r.call(this,e,a);return n(o[0],0,i[0],i[1]/t(o[0])),o}var r=Ta.layout.hierarchy(),i=[1,1];return e.size=function(n){return arguments.length?(i=n,e):i},kr(e,r)},Ta.layout.pie=function(){function n(o){var l,u=o.length,c=o.map((function(e,r){return+t.call(n,e,r)})),s=+("function"==typeof r?r.apply(this,arguments):r),h=("function"==typeof i?i.apply(this,arguments):i)-s,f=Math.min(Math.abs(h)/u,+("function"==typeof a?a.apply(this,arguments):a)),d=f*(0>h?-1:1),g=Ta.sum(c),p=g?(h-u*d)/g:0,m=Ta.range(u),y=[];return null!=e&&m.sort(e===kl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),m.forEach((function(n){y[n]={data:o[n],value:l=c[n],startAngle:s,endAngle:s+=l*p+d,padAngle:f}})),y}var t=Number,e=kl,r=0,i=Wa,a=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(a=t,n):a},n};var kl={};Ta.layout.stack=function(){function n(l,u){if(!(f=l.length))return l;var c=l.map((function(e,r){return t.call(n,e,r)})),s=c.map((function(t){return t.map((function(t,e){return[a.call(n,t,e),o.call(n,t,e)]}))})),h=e.call(n,s,u);c=Ta.permute(c,h),s=Ta.permute(s,h);var f,d,g,p,m=r.call(n,s,u),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],p=m[g],s[0][g][1]),d=1;f>d;++d)i.call(n,c[d][g],p+=s[d-1][g][1],s[d][g][1]);return l}var t=v,e=Pr,r=jr,i=Rr,a=qr,o=Yr;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:Al.get(t)||Pr,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:Dl.get(t)||jr,n):r},n.x=function(t){return arguments.length?(a=t,n):a},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var Al=Ta.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(Ur),a=n.map(Fr),o=Ta.range(r).sort((function(n,t){return i[n]-i[t]})),l=0,u=0,c=[],s=[];for(t=0;r>t;++t)e=o[t],u>l?(l+=a[e],c.push(e)):(u+=a[e],s.push(e));return s.reverse().concat(c)},reverse:function(n){return Ta.range(n.length).reverse()},default:Pr}),Dl=Ta.map({silhouette:function(n){var t,e,r,i=n.length,a=n[0].length,o=[],l=0,u=[];for(e=0;a>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>l&&(l=r),o.push(r)}for(e=0;a>e;++e)u[e]=(l-o[e])/2;return u},wiggle:function(n){var t,e,r,i,a,o,l,u,c,s=n.length,h=n[0],f=h.length,d=[];for(d[0]=u=c=0,e=1;f>e;++e){for(t=0,i=0;s>t;++t)i+=n[t][e][1];for(t=0,a=0,l=h[e][0]-h[e-1][0];s>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*l);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/l;a+=o*n[t][e][1]}d[e]=u-=i?a/i*l:0,c>u&&(c=u)}for(e=0;f>e;++e)d[e]-=c;return d},expand:function(n){var t,e,r,i=n.length,a=n[0].length,o=1/i,l=[];for(e=0;a>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;a>e;++e)l[e]=0;return l},zero:jr});Ta.layout.histogram=function(){function n(n,a){for(var o,l,u=[],c=n.map(e,this),s=r.call(this,c,a),h=i.call(this,s,c,a),f=(a=-1,c.length),d=h.length-1,g=t?1:1/f;++a<d;)(o=u[a]=[]).dx=h[a+1]-(o.x=h[a]),o.y=0;if(d>0)for(a=-1;++a<f;)(l=c[a])>=s[0]&&l<=s[1]&&((o=u[Ta.bisect(h,l,1,d)-1]).y+=g,o.push(n[a]));return u}var t=!0,e=Number,r=Vr,i=Ir;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=Bn(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return Zr(n,t)}:Bn(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},Ta.layout.pack=function(){function n(n,a){var o=e.call(this,n,a),l=o[0],u=i[0],c=i[1],s=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(l.x=l.y=0,Dr(l,(function(n){n.r=+s(n.value)})),Dr(l,Gr),r){var h=r*(t?1:Math.max(2*l.r/u,2*l.r/c))/2;Dr(l,(function(n){n.r+=h})),Dr(l,Gr),Dr(l,(function(n){n.r-=h}))}return ti(l,u/2,c/2,t?1:1/Math.max(2*l.r/u,2*l.r/c)),o}var t,e=Ta.layout.hierarchy().sort(Xr),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},kr(n,e)},Ta.layout.tree=function(){function n(n,u){var c=i.call(this,n,u),s=c[0],h=function(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,a=t.children,o=0,l=a.length;l>o;++o)r.push((a[o]=i={_:a[o],parent:t,children:(i=a[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}(s);if(Dr(h,t),h.parent.m=-h.z,Ar(h,e),l)Ar(s,r);else{var f=s,d=s,g=s;Ar(s,(function(n){n.x<f.x&&(f=n),n.x>d.x&&(d=n),n.depth>g.depth&&(g=n)}));var p=a(f,d)/2-f.x,m=o[0]/(d.x+a(d,f)/2+p),y=o[1]/(g.depth||1);Ar(s,(function(n){n.x=(n.x+p)*m,n.y=n.depth*y}))}return c}function t(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){!function(n){for(var t,e=0,r=0,i=n.children,a=i.length;--a>=0;)(t=i[a]).z+=e,t.m+=e,e+=t.s+(r+=t.c)}(n);var i=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-i):n.z=i}else r&&(n.z=r.z+a(n._,r._));n.parent.A=function(n,t,e){if(t){for(var r,i=n,o=n,l=t,u=i.parent.children[0],c=i.m,s=o.m,h=l.m,f=u.m;l=ai(l),i=ii(i),l&&i;)u=ii(u),(o=ai(o)).a=n,(r=l.z+h-i.z-c+a(l._,i._))>0&&(oi(li(l,n,e),n,r),c+=r,s+=r),h+=l.m,c+=i.m,f+=u.m,s+=o.m;l&&!ai(o)&&(o.t=l,o.m+=h-s),i&&!ii(u)&&(u.t=i,u.m+=c-f,e=n)}return e}(n,r,n.parent.A||e[0])}function e(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function r(n){n.x*=o[0],n.y=n.depth*o[1]}var i=Ta.layout.hierarchy().sort(null).value(null),a=ri,o=[1,1],l=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(l=null==(o=t)?r:null,n):l?null:o},n.nodeSize=function(t){return arguments.length?(l=null==(o=t)?null:r,n):l?o:null},kr(n,i)},Ta.layout.cluster=function(){function n(n,a){var o,l=t.call(this,n,a),u=l[0],c=0;Dr(u,(function(n){var t=n.children;t&&t.length?(n.x=function(n){return n.reduce((function(n,t){return n+t.x}),0)/n.length}(t),n.y=function(n){return 1+Ta.max(n,(function(n){return n.y}))}(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)}));var s=ui(u),h=ci(u),f=s.x-e(s,h)/2,d=h.x+e(h,s)/2;return Dr(u,i?function(n){n.x=(n.x-u.x)*r[0],n.y=(u.y-n.y)*r[1]}:function(n){n.x=(n.x-f)/(d-f)*r[0],n.y=(1-(u.y?n.y/u.y:1))*r[1]}),l}var t=Ta.layout.hierarchy().sort(null).value(null),e=ri,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},kr(n,t)},Ta.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,a=n.length;++i<a;)r=(e=n[i]).value*(0>t?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var a=e.children;if(a&&a.length){var o,l,u,c=h(e),s=[],f=a.slice(),g=1/0,p="slice"===d?c.dx:"dice"===d?c.dy:"slice-dice"===d?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(f,c.dx*c.dy/e.value),s.area=0;(u=f.length)>0;)s.push(o=f[u-1]),s.area+=o.area,"squarify"!==d||(l=r(s,p))<=g?(f.pop(),g=l):(s.area-=s.pop().area,i(s,p,c,!1),p=Math.min(c.dx,c.dy),s.length=s.area=0,g=1/0);s.length&&(i(s,p,c,!0),s.length=s.area=0),a.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var a,o=h(t),l=r.slice(),u=[];for(n(l,o.dx*o.dy/t.value),u.area=0;a=l.pop();)u.push(a),u.area+=a.area,null!=a.z&&(i(u,a.z?o.dx:o.dy,o,!l.length),u.length=u.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,a=1/0,o=-1,l=n.length;++o<l;)(e=n[o].area)&&(a>e&&(a=e),e>i&&(i=e));return t*=t,(r*=r)?Math.max(t*i*g/r,r/(t*a*g)):1/0}function i(n,t,e,r){var i,a=-1,o=n.length,l=e.x,c=e.y,s=t?u(n.area/t):0;if(t==e.dx){for((r||s>e.dy)&&(s=e.dy);++a<o;)(i=n[a]).x=l,i.y=c,i.dy=s,l+=i.dx=Math.min(e.x+e.dx-l,s?u(i.area/s):0);i.z=!0,i.dx+=e.x+e.dx-l,e.y+=s,e.dy-=s}else{for((r||s>e.dx)&&(s=e.dx);++a<o;)(i=n[a]).x=l,i.y=c,i.dx=s,c+=i.dy=Math.min(e.y+e.dy-c,s?u(i.area/s):0);i.z=!1,i.dy+=e.y+e.dy-c,e.x+=s,e.dx-=s}}function a(r){var i=o||l(r),a=i[0];return a.x=a.y=0,a.value?(a.dx=c[0],a.dy=c[1]):a.dx=a.dy=0,o&&l.revalue(a),n([a],a.dx*a.dy/a.value),(o?e:t)(a),f&&(o=i),i}var o,l=Ta.layout.hierarchy(),u=Math.round,c=[1,1],s=null,h=si,f=!1,d="squarify",g=.5*(1+Math.sqrt(5));return a.size=function(n){return arguments.length?(c=n,a):c},a.padding=function(n){function t(t){var e=n.call(a,t,t.depth);return null==e?si(t):hi(t,"number"==typeof e?[e,e,e,e]:e)}function e(t){return hi(t,n)}return arguments.length?(h=null==(s=n)?si:"function"==(r=typeof n)?t:"number"===r?(n=[n,n,n,n],e):e,a):s;var r},a.round=function(n){return arguments.length?(u=n?Math.round:Number,a):u!=Number},a.sticky=function(n){return arguments.length?(f=n,o=null,a):f},a.ratio=function(n){return arguments.length?(g=n,a):g},a.mode=function(n){return arguments.length?(d=n+"",a):d},kr(a,l)},Ta.random={normal:function(n,t){var e=arguments.length;return 2>e&&(t=1),1>e&&(n=0),function(){var e,r,i;do{i=(e=2*Math.random()-1)*e+(r=2*Math.random()-1)*r}while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=Ta.random.normal.apply(Ta,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=Ta.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},Ta.scale={};var Sl={floor:v,ceil:v};Ta.scale.linear=function(){return vi([0,1],[0,1],rr,!1)};var Cl={s:1,g:1,p:1,r:1,e:1};Ta.scale.log=function(){return Bi(Ta.scale.linear().domain([0,1]),10,!0,[1,10])};var Kl=Ta.format(".0e"),zl={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};Ta.scale.pow=function(){return Li(Ta.scale.linear(),1,[0,1])},Ta.scale.sqrt=function(){return Ta.scale.pow().exponent(.5)},Ta.scale.ordinal=function(){return wi([],{t:"range",a:[[]]})},Ta.scale.category10=function(){return Ta.scale.ordinal().range(ql)},Ta.scale.category20=function(){return Ta.scale.ordinal().range(Yl)},Ta.scale.category20b=function(){return Ta.scale.ordinal().range(Rl)},Ta.scale.category20c=function(){return Ta.scale.ordinal().range(Pl)};var ql=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(vn),Yl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(vn),Rl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(vn),Pl=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(vn);Ta.scale.quantile=function(){return _i([],[])},Ta.scale.quantize=function(){return ki(0,1,[0,1])},Ta.scale.threshold=function(){return Ai([.5],[0,1])},Ta.scale.identity=function(){return Di([0,1])},Ta.svg={},Ta.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),s=o.apply(this,arguments)-Ga,h=l.apply(this,arguments)-Ga,f=Math.abs(h-s),d=s>h?0:1;if(n>c&&(g=c,c=n,n=g),f>=Ja)return t(c,d)+(n?t(n,1-d):"")+"Z";var g,p,m,y,v,M,T,E,x,b,N,B,L=0,H=0,w=[];if((y=(+u.apply(this,arguments)||0)/2)&&(m=a===jl?Math.sqrt(n*n+c*c):+a.apply(this,arguments),d||(H*=-1),c&&(H=tn(m/c*Math.sin(y))),n&&(L=tn(m/n*Math.sin(y)))),c){v=c*Math.cos(s+H),M=c*Math.sin(s+H),T=c*Math.cos(h-H),E=c*Math.sin(h-H);var _=Math.abs(h-s-2*H)<=$a?0:1;if(H&&Ri(v,M,T,E)===d^_){var k=(s+h)/2;v=c*Math.cos(k),M=c*Math.sin(k),T=E=null}}else v=M=0;if(n){x=n*Math.cos(h-L),b=n*Math.sin(h-L),N=n*Math.cos(s+L),B=n*Math.sin(s+L);var A=Math.abs(s-h+2*L)<=$a?0:1;if(L&&Ri(x,b,N,B)===1-d^A){var D=(s+h)/2;x=n*Math.cos(D),b=n*Math.sin(D),N=B=null}}else x=b=0;if(f>Va&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){p=c>n^d?0:1;var S=g,C=g;if($a>f){var K=null==N?[x,b]:null==T?[v,M]:Ee([v,M],[N,B],[T,E],[x,b]),z=v-K[0],q=M-K[1],Y=T-K[0],R=E-K[1],P=1/Math.sin(Math.acos((z*Y+q*R)/(Math.sqrt(z*z+q*q)*Math.sqrt(Y*Y+R*R)))/2),j=Math.sqrt(K[0]*K[0]+K[1]*K[1]);C=Math.min(g,(n-j)/(P-1)),S=Math.min(g,(c-j)/(P+1))}if(null!=T){var U=Pi(null==N?[x,b]:[N,B],[v,M],c,S,d),F=Pi([T,E],[x,b],c,S,d);g===S?w.push("M",U[0],"A",S,",",S," 0 0,",p," ",U[1],"A",c,",",c," 0 ",1-d^Ri(U[1][0],U[1][1],F[1][0],F[1][1]),",",d," ",F[1],"A",S,",",S," 0 0,",p," ",F[0]):w.push("M",U[0],"A",S,",",S," 0 1,",p," ",F[0])}else w.push("M",v,",",M);if(null!=N){var O=Pi([v,M],[N,B],n,-C,d),I=Pi([x,b],null==T?[v,M]:[T,E],n,-C,d);g===C?w.push("L",I[0],"A",C,",",C," 0 0,",p," ",I[1],"A",n,",",n," 0 ",d^Ri(I[1][0],I[1][1],O[1][0],O[1][1]),",",1-d," ",O[1],"A",C,",",C," 0 0,",p," ",O[0]):w.push("L",I[0],"A",C,",",C," 0 0,",p," ",O[0])}else w.push("L",x,",",b)}else w.push("M",v,",",M),null!=T&&w.push("A",c,",",c," 0 ",_,",",d," ",T,",",E),w.push("L",x,",",b),null!=N&&w.push("A",n,",",n," 0 ",A,",",1-d," ",N,",",B);return w.push("Z"),w.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=Ci,r=Ki,i=Si,a=jl,o=zi,l=qi,u=Yi;return n.innerRadius=function(t){return arguments.length?(e=Bn(t),n):e},n.outerRadius=function(t){return arguments.length?(r=Bn(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=Bn(t),n):i},n.padRadius=function(t){return arguments.length?(a=t==jl?jl:Bn(t),n):a},n.startAngle=function(t){return arguments.length?(o=Bn(t),n):o},n.endAngle=function(t){return arguments.length?(l=Bn(t),n):l},n.padAngle=function(t){return arguments.length?(u=Bn(t),n):u},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +l.apply(this,arguments))/2-Ga;return[Math.cos(t)*n,Math.sin(t)*n]},n};var jl="auto";Ta.svg.line=function(){return ji(v)};var Ul=Ta.map({linear:Ui,"linear-closed":Fi,step:function(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("H",(r[0]+(r=n[t])[0])/2,"V",r[1]);return e>1&&i.push("H",r[0]),i.join("")},"step-before":Oi,"step-after":Ii,basis:Xi,"basis-open":function(n){if(n.length<4)return Ui(n);for(var t,e=[],r=-1,i=n.length,a=[0],o=[0];++r<3;)t=n[r],a.push(t[0]),o.push(t[1]);for(e.push($i(Il,a)+","+$i(Il,o)),--r;++r<i;)t=n[r],a.shift(),a.push(t[0]),o.shift(),o.push(t[1]),Wi(e,a,o);return e.join("")},"basis-closed":function(n){for(var t,e,r=-1,i=n.length,a=i+4,o=[],l=[];++r<4;)e=n[r%i],o.push(e[0]),l.push(e[1]);for(t=[$i(Il,o),",",$i(Il,l)],--r;++r<a;)e=n[r%i],o.shift(),o.push(e[0]),l.shift(),l.push(e[1]),Wi(t,o,l);return t.join("")},bundle:function(n,t){var e=n.length-1;if(e)for(var r,i,a=n[0][0],o=n[0][1],l=n[e][0]-a,u=n[e][1]-o,c=-1;++c<=e;)i=c/e,(r=n[c])[0]=t*r[0]+(1-t)*(a+i*l),r[1]=t*r[1]+(1-t)*(o+i*u);return Xi(n)},cardinal:function(n,t){return n.length<3?Ui(n):n[0]+Zi(n,Vi(n,t))},"cardinal-open":function(n,t){return n.length<4?Ui(n):n[1]+Zi(n.slice(1,-1),Vi(n,t))},"cardinal-closed":function(n,t){return n.length<3?Fi(n):n[0]+Zi((n.push(n[0]),n),Vi([n[n.length-2]].concat(n,[n[1]]),t))},monotone:function(n){return n.length<3?Ui(n):n[0]+Zi(n,Gi(n))}});Ul.forEach((function(n,t){t.key=n,t.closed=/-closed$/.test(n)}));var Fl=[0,2/3,1/3,0],Ol=[0,1/3,2/3,0],Il=[0,1/6,2/3,1/6];Ta.svg.line.radial=function(){var n=ji(Qi);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},Oi.reverse=Ii,Ii.reverse=Oi,Ta.svg.area=function(){return na(v)},Ta.svg.area.radial=function(){var n=na(Qi);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},Ta.svg.chord=function(){function n(n,o){var l=t(this,i,n,o),u=t(this,a,n,o);return"M"+l.p0+e(l.r,l.p1,l.a1-l.a0)+(function(n,t){return n.a0==t.a0&&n.a1==t.a1}(l,u)?r(l.r,l.p1,l.r,l.p0):r(l.r,l.p1,u.r,u.p0)+e(u.r,u.p1,u.a1-u.a0)+r(u.r,u.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),a=o.call(n,i,r),c=l.call(n,i,r)-Ga,s=u.call(n,i,r)-Ga;return{r:a,a0:c,a1:s,p0:[a*Math.cos(c),a*Math.sin(c)],p1:[a*Math.cos(s),a*Math.sin(s)]}}function e(n,t,e){return"A"+n+","+n+" 0 "+ +(e>$a)+",1 "+t}function r(n,t,e,r){return"Q 0,0 "+r}var i=ue,a=ce,o=ta,l=zi,u=qi;return n.radius=function(t){return arguments.length?(o=Bn(t),n):o},n.source=function(t){return arguments.length?(i=Bn(t),n):i},n.target=function(t){return arguments.length?(a=Bn(t),n):a},n.startAngle=function(t){return arguments.length?(l=Bn(t),n):l},n.endAngle=function(t){return arguments.length?(u=Bn(t),n):u},n},Ta.svg.diagonal=function(){function n(n,i){var a=t.call(this,n,i),o=e.call(this,n,i),l=(a.y+o.y)/2,u=[a,{x:a.x,y:l},{x:o.x,y:l},o];return"M"+(u=u.map(r))[0]+"C"+u[1]+" "+u[2]+" "+u[3]}var t=ue,e=ce,r=ea;return n.source=function(e){return arguments.length?(t=Bn(e),n):t},n.target=function(t){return arguments.length?(e=Bn(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},Ta.svg.diagonal.radial=function(){var n=Ta.svg.diagonal(),t=ea,e=n.projection;return n.projection=function(n){return arguments.length?e(ra(t=n)):t},n},Ta.svg.symbol=function(){function n(n,r){return(Zl.get(t.call(this,n,r))||oa)(e.call(this,n,r))}var t=aa,e=ia;return n.type=function(e){return arguments.length?(t=Bn(e),n):t},n.size=function(t){return arguments.length?(e=Bn(t),n):e},n};var Zl=Ta.map({circle:oa,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Xl)),e=t*Xl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/Vl),e=t*Vl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/Vl),e=t*Vl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});Ta.svg.symbolTypes=Zl.keys();var Vl=Math.sqrt(3),Xl=Math.tan(30*Qa);Ra.transition=function(n){for(var t,e,r=$l||++Ql,i=ha(n),a=[],o=Wl||{time:Date.now(),ease:sr,delay:0,duration:250},l=-1,u=this.length;++l<u;){a.push(t=[]);for(var c=this[l],s=-1,h=c.length;++s<h;)(e=c[s])&&fa(e,s,i,r,o),t.push(e)}return ua(a,i,r)},Ra.interrupt=function(n){return this.each(null==n?Jl:la(ha(n)))};var $l,Wl,Jl=la(ha()),Gl=[],Ql=0;Gl.call=Ra.call,Gl.empty=Ra.empty,Gl.node=Ra.node,Gl.size=Ra.size,Ta.transition=function(n,t){return n&&n.transition?$l?n.transition(t):n:Ta.selection().transition(n)},Ta.transition.prototype=Gl,Gl.select=function(n){var t,e,r,i=this.id,a=this.namespace,o=[];n=w(n);for(var l=-1,u=this.length;++l<u;){o.push(t=[]);for(var c=this[l],s=-1,h=c.length;++s<h;)(r=c[s])&&(e=n.call(r,r.__data__,s,l))?("__data__"in r&&(e.__data__=r.__data__),fa(e,s,a,i,r[a][i]),t.push(e)):t.push(null)}return ua(o,a,i)},Gl.selectAll=function(n){var t,e,r,i,a,o=this.id,l=this.namespace,u=[];n=_(n);for(var c=-1,s=this.length;++c<s;)for(var h=this[c],f=-1,d=h.length;++f<d;)if(r=h[f]){a=r[l][o],e=n.call(r,r.__data__,f,c),u.push(t=[]);for(var g=-1,p=e.length;++g<p;)(i=e[g])&&fa(i,g,l,o,a),t.push(i)}return ua(u,l,o)},Gl.filter=function(n){var t,e,r=[];"function"!=typeof n&&(n=j(n));for(var i=0,a=this.length;a>i;i++){r.push(t=[]);for(var o,l=0,u=(o=this[i]).length;u>l;l++)(e=o[l])&&n.call(e,e.__data__,l,i)&&t.push(e)}return ua(r,this.namespace,this.id)},Gl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):F(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Gl.attr=function(n,t){function e(){this.removeAttribute(l)}function r(){this.removeAttributeNS(l.space,l.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(l);return e!==n&&(t=o(e,n),function(n){this.setAttribute(l,t(n))})})}function a(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(l.space,l.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(l.space,l.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?Tr:rr,l=Ta.ns.qualify(n);return ca(this,"attr."+n,t,l.local?a:i)},Gl.attrTween=function(n,t){var e=Ta.ns.qualify(n);return this.tween("attr."+n,e.local?function(n,r){var i=t.call(this,n,r,this.getAttributeNS(e.space,e.local));return i&&function(n){this.setAttributeNS(e.space,e.local,i(n))}}:function(n,r){var i=t.call(this,n,r,this.getAttribute(e));return i&&function(n){this.setAttribute(e,i(n))}})},Gl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function a(e){return null==e?i:(e+="",function(){var i,a=t(this).getComputedStyle(this,null).getPropertyValue(n);return a!==e&&(i=rr(a,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){for(r in 2>o&&(e=""),n)this.style(r,n[r],e);return this}r=""}return ca(this,"style."+n,e,a)},Gl.styleTween=function(n,e,r){function i(i,a){var o=e.call(this,i,a,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Gl.text=function(n){return ca(this,"text",n,sa)},Gl.remove=function(){var n=this.namespace;return this.each("end.transition",(function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)}))},Gl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=Ta.ease.apply(Ta,arguments)),F(this,(function(r){r[e][t].ease=n})))},Gl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:F(this,"function"==typeof n?function(r,i,a){r[e][t].delay=+n.call(r,r.__data__,i,a)}:(n=+n,function(r){r[e][t].delay=n}))},Gl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:F(this,"function"==typeof n?function(r,i,a){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,a))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Gl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Wl,a=$l;try{$l=e,F(this,(function(t,i,a){Wl=t[r][e],n.call(t,t.__data__,i,a)}))}finally{Wl=i,$l=a}}else F(this,(function(i){var a=i[r][e];(a.event||(a.event=Ta.dispatch("start","end","interrupt"))).on(n,t)}));return this},Gl.transition=function(){for(var n,t,e,r=this.id,i=++Ql,a=this.namespace,o=[],l=0,u=this.length;u>l;l++){o.push(n=[]);for(var c,s=0,h=(c=this[l]).length;h>s;s++)(t=c[s])&&fa(t,s,a,i,{time:(e=t[a][r]).time,ease:e.ease,delay:e.delay+e.duration,duration:e.duration}),n.push(t)}return ua(o,a,i)},Ta.svg.axis=function(){function n(n){n.each((function(){var n,c=Ta.select(this),s=this.__chart__||e,h=this.__chart__=e.copy(),f=null==u?h.ticks?h.ticks.apply(h,l):h.domain():u,d=null==t?h.tickFormat?h.tickFormat.apply(h,l):v:t,g=c.selectAll(".tick").data(f,h),p=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Va),m=Ta.transition(g.exit()).style("opacity",Va).remove(),y=Ta.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,T=di(h),E=c.selectAll(".domain").data([0]),x=(E.enter().append("path").attr("class","domain"),Ta.transition(E));p.append("line"),p.append("text");var b,N,B,L,H=p.select("line"),w=y.select("line"),_=g.select("text").text(d),k=p.select("text"),A=y.select("text"),D="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=da,b="x",B="y",N="x2",L="y2",_.attr("dy",0>D?"0em":".71em").style("text-anchor","middle"),x.attr("d","M"+T[0]+","+D*a+"V0H"+T[1]+"V"+D*a)):(n=ga,b="y",B="x",N="y2",L="x2",_.attr("dy",".32em").style("text-anchor",0>D?"end":"start"),x.attr("d","M"+D*a+","+T[0]+"H0V"+T[1]+"H"+D*a)),H.attr(L,D*i),k.attr(B,D*M),w.attr(N,0).attr(L,D*i),A.attr(b,0).attr(B,D*M),h.rangeBand){var S=h,C=S.rangeBand()/2;s=h=function(n){return S(n)+C}}else s.rangeBand?s=h:m.call(n,h,s);p.call(n,s,h),y.call(n,h,h)}))}var t,e=Ta.scale.linear(),r=nu,i=6,a=6,o=3,l=[10],u=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in tu?t+"":nu,n):r},n.ticks=function(){return arguments.length?(l=xa(arguments),n):l},n.tickValues=function(t){return arguments.length?(u=t,n):u},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,a=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(a=+t,n):a},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var nu="bottom",tu={top:1,right:1,bottom:1,left:1};Ta.svg.brush=function(){function n(t){t.each((function(){var t=Ta.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",a).on("touchstart.brush",a),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var l=t.selectAll(".resize").data(p,v);l.exit().remove(),l.enter().append("g").attr("class",(function(n){return"resize "+n})).style("cursor",(function(n){return eu[n]})).append("rect").attr("x",(function(n){return/[ew]$/.test(n)?-3:null})).attr("y",(function(n){return/^[ns]/.test(n)?-3:null})).attr("width",6).attr("height",6).style("visibility","hidden"),l.style("display",n.empty()?"none":null);var u,h=Ta.transition(t),f=Ta.transition(o);c&&(u=di(c),f.attr("x",u[0]).attr("width",u[1]-u[0]),r(h)),s&&(u=di(s),f.attr("y",u[0]).attr("height",u[1]-u[0]),i(h)),e(h)}))}function e(n){n.selectAll(".resize").attr("transform",(function(n){return"translate("+h[+/e$/.test(n)]+","+f[+/^s/.test(n)]+")"}))}function r(n){n.select(".extent").attr("x",h[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",h[1]-h[0])}function i(n){n.select(".extent").attr("y",f[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",f[1]-f[0])}function a(){function a(){32==Ta.event.keyCode&&(_||(M=null,A[0]-=h[1],A[1]-=f[1],_=2),N())}function p(){32==Ta.event.keyCode&&2==_&&(A[0]+=h[1],A[1]+=f[1],_=0,N())}function m(){var n=Ta.mouse(E),t=!1;T&&(n[0]+=T[0],n[1]+=T[1]),_||(Ta.event.altKey?(M||(M=[(h[0]+h[1])/2,(f[0]+f[1])/2]),A[0]=h[+(n[0]<M[0])],A[1]=f[+(n[1]<M[1])]):M=null),H&&y(n,c,0)&&(r(B),t=!0),w&&y(n,s,1)&&(i(B),t=!0),t&&(e(B),b({type:"brush",mode:_?"move":"resize"}))}function y(n,t,e){var r,i,a=di(t),u=a[0],c=a[1],s=A[e],p=e?f:h,m=p[1]-p[0];return _&&(u-=s,c-=m+s),r=(e?g:d)?Math.max(u,Math.min(c,n[e])):n[e],_?i=(r+=s)+m:(M&&(s=Math.max(u,Math.min(c,2*M[e]-r))),r>s?(i=r,r=s):i=s),p[0]!=r||p[1]!=i?(e?l=null:o=null,p[0]=r,p[1]=i,!0):void 0}function v(){m(),B.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),Ta.select("body").style("cursor",null),D.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),k(),b({type:"brushend"})}var M,T,E=this,x=Ta.select(Ta.event.target),b=u.of(E,arguments),B=Ta.select(E),L=x.datum(),H=!/^(n|s)$/.test(L)&&c,w=!/^(e|w)$/.test(L)&&s,_=x.classed("extent"),k=$(E),A=Ta.mouse(E),D=Ta.select(t(E)).on("keydown.brush",a).on("keyup.brush",p);if(Ta.event.changedTouches?D.on("touchmove.brush",m).on("touchend.brush",v):D.on("mousemove.brush",m).on("mouseup.brush",v),B.interrupt().selectAll("*").interrupt(),_)A[0]=h[0]-A[0],A[1]=f[0]-A[1];else if(L){var S=+/w$/.test(L),C=+/^n/.test(L);T=[h[1-S]-A[0],f[1-C]-A[1]],A[0]=h[S],A[1]=f[C]}else Ta.event.altKey&&(M=A.slice());B.style("pointer-events","none").selectAll(".resize").style("display",null),Ta.select("body").style("cursor",x.style("cursor")),b({type:"brushstart"}),m()}var o,l,u=L(n,"brushstart","brush","brushend"),c=null,s=null,h=[0,0],f=[0,0],d=!0,g=!0,p=ru[0];return n.event=function(n){n.each((function(){var n=u.of(this,arguments),t={x:h,y:f,i:o,j:l},e=this.__chart__||t;this.__chart__=t,$l?Ta.select(this).transition().each("start.brush",(function(){o=e.i,l=e.j,h=e.x,f=e.y,n({type:"brushstart"})})).tween("brush:brush",(function(){var e=ir(h,t.x),r=ir(f,t.y);return o=l=null,function(i){h=t.x=e(i),f=t.y=r(i),n({type:"brush",mode:"resize"})}})).each("end.brush",(function(){o=t.i,l=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})})):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))}))},n.x=function(t){return arguments.length?(p=ru[!(c=t)<<1|!s],n):c},n.y=function(t){return arguments.length?(p=ru[!c<<1|!(s=t)],n):s},n.clamp=function(t){return arguments.length?(c&&s?(d=!!t[0],g=!!t[1]):c?d=!!t:s&&(g=!!t),n):c&&s?[d,g]:c?d:s?g:null},n.extent=function(t){var e,r,i,a,u;return arguments.length?(c&&(e=t[0],r=t[1],s&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(u=e,e=r,r=u),e==h[0]&&r==h[1]||(h=[e,r])),s&&(i=t[0],a=t[1],c&&(i=i[1],a=a[1]),l=[i,a],s.invert&&(i=s(i),a=s(a)),i>a&&(u=i,i=a,a=u),i==f[0]&&a==f[1]||(f=[i,a])),n):(c&&(o?(e=o[0],r=o[1]):(e=h[0],r=h[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(u=e,e=r,r=u))),s&&(l?(i=l[0],a=l[1]):(i=f[0],a=f[1],s.invert&&(i=s.invert(i),a=s.invert(a)),i>a&&(u=i,i=a,a=u))),c&&s?[[e,i],[r,a]]:c?[e,r]:s&&[i,a])},n.clear=function(){return n.empty()||(h=[0,0],f=[0,0],o=l=null),n},n.empty=function(){return!!c&&h[0]==h[1]||!!s&&f[0]==f[1]},Ta.rebind(n,u,"on")};var eu={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},ru=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],iu=bo.format=_o.timeFormat,au=iu.utc,ou=au("%Y-%m-%dT%H:%M:%S.%LZ");iu.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?pa:ou,pa.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},pa.toString=ou.toString,bo.second=zn((function(n){return new No(1e3*Math.floor(n/1e3))}),(function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))}),(function(n){return n.getSeconds()})),bo.seconds=bo.second.range,bo.seconds.utc=bo.second.utc.range,bo.minute=zn((function(n){return new No(6e4*Math.floor(n/6e4))}),(function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))}),(function(n){return n.getMinutes()})),bo.minutes=bo.minute.range,bo.minutes.utc=bo.minute.utc.range,bo.hour=zn((function(n){var t=n.getTimezoneOffset()/60;return new No(36e5*(Math.floor(n/36e5-t)+t))}),(function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))}),(function(n){return n.getHours()})),bo.hours=bo.hour.range,bo.hours.utc=bo.hour.utc.range,bo.month=zn((function(n){return(n=bo.day(n)).setDate(1),n}),(function(n,t){n.setMonth(n.getMonth()+t)}),(function(n){return n.getMonth()})),bo.months=bo.month.range,bo.months.utc=bo.month.utc.range;var lu=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],uu=[[bo.second,1],[bo.second,5],[bo.second,15],[bo.second,30],[bo.minute,1],[bo.minute,5],[bo.minute,15],[bo.minute,30],[bo.hour,1],[bo.hour,3],[bo.hour,6],[bo.hour,12],[bo.day,1],[bo.day,2],[bo.week,1],[bo.month,1],[bo.month,3],[bo.year,1]],cu=iu.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",Nt]]),su={range:function(n,t,e){return Ta.range(Math.ceil(n/e)*e,+t,e).map(ya)},floor:v,ceil:v};uu.year=bo.year,bo.scale=function(){return ma(Ta.scale.linear(),uu,cu)};var hu=uu.map((function(n){return[n[0].utc,n[1]]})),fu=au.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",Nt]]);hu.year=bo.year.utc,bo.scale.utc=function(){return ma(Ta.scale.linear(),hu,fu)},Ta.text=Ln((function(n){return n.responseText})),Ta.json=function(n,t){return Hn(n,"application/json",va,t)},Ta.html=function(n,t){return Hn(n,"text/html",Ma,t)},Ta.xml=Ln((function(n){return n.responseXML})),"function"==typeof define&&define.amd?(this.d3=Ta,define(Ta)):"object"==typeof module&&module.exports?module.exports=Ta:this.d3=Ta}();var treeData=[];function ataKontrolEt(n,t){for(var e=0;e<n.length;e++)if(td=n[e].getElementsByTagName("td")[2],td&&td.innerHTML==t)return e;return-1}function handleSoyTree(n,t){treeData.push({name:n[t].getElementsByTagName("td")[3].innerHTML+" "+n[t].getElementsByTagName("td")[4].innerHTML,children:[]});var e=ataKontrolEt(n,"Annesi");e>-1?treeData[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babası"))>-1?treeData[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesi"))>-1?treeData[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babası"))>-1?treeData[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesi"))>-1?treeData[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babası"))>-1?treeData[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Annesi"))>-1?treeData[0].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Babası"))>-1?treeData[0].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):(console.log("Annesinin Annesinin Babası bulunamadi!"),treeData[0].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]})),(e=ataKontrolEt(n,"Annesinin Babasının Annesi"))>-1?treeData[0].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Babası"))>-1?treeData[0].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Annesi"))>-1?treeData[0].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Babası"))>-1?treeData[0].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Annesi"))>-1?treeData[0].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Babası"))>-1?treeData[0].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Annesinin Annesi"))>-1?treeData[0].children[0].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Annesinin Babası"))>-1?treeData[0].children[0].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Babasının Annesi"))>-1?treeData[0].children[0].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Babasının Babası"))>-1?treeData[0].children[0].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Annesinin Annesi"))>-1?treeData[0].children[0].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Annesinin Babası"))>-1?treeData[0].children[0].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Babasının Annesi"))>-1?treeData[0].children[0].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Babasının Babası"))>-1?treeData[0].children[0].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Annesinin Annesi"))>-1?treeData[0].children[1].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Annesinin Babası"))>-1?treeData[0].children[1].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Babasının Annesi"))>-1?treeData[0].children[1].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Babasının Babası"))>-1?treeData[0].children[1].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Annesinin Annesi"))>-1?treeData[0].children[1].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Annesinin Babası"))>-1?treeData[0].children[1].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Babasının Annesi"))>-1?treeData[0].children[1].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Babasının Babası"))>-1?treeData[0].children[1].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Annesinin Annesinin Annesi"))>-1?treeData[0].children[0].children[0].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Annesinin Annesinin Babası"))>-1?treeData[0].children[0].children[0].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Annesinin Babasının Annesi"))>-1?treeData[0].children[0].children[0].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Annesinin Babasının Babası"))>-1?treeData[0].children[0].children[0].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Babasının Annesinin Annesi"))>-1?treeData[0].children[0].children[0].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Babasının Annesinin Babası"))>-1?treeData[0].children[0].children[0].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Babasının Babasının Annesi"))>-1?treeData[0].children[0].children[0].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Annesinin Babasının Babasının Babası"))>-1?treeData[0].children[0].children[0].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[0].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Annesinin Annesinin Annesi"))>-1?treeData[0].children[0].children[1].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Annesinin Annesinin Babası"))>-1?treeData[0].children[0].children[1].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Annesinin Babasının Annesi"))>-1?treeData[0].children[0].children[1].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Annesinin Babasının Babası"))>-1?treeData[0].children[0].children[1].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Babasının Annesinin Annesi"))>-1?treeData[0].children[0].children[1].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Babasının Annesinin Babası"))>-1?treeData[0].children[0].children[1].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Babasının Babasının Annesi"))>-1?treeData[0].children[0].children[1].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Annesinin Babasının Babasının Babasının Babası"))>-1?treeData[0].children[0].children[1].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[0].children[1].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Annesinin Annesinin Annesi"))>-1?treeData[0].children[1].children[0].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Annesinin Annesinin Babası"))>-1?treeData[0].children[1].children[0].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Annesinin Babasının Annesi"))>-1?treeData[0].children[1].children[0].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Annesinin Babasının Babası"))>-1?treeData[0].children[1].children[0].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Babasının Annesinin Annesi"))>-1?treeData[0].children[1].children[0].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Babasının Annesinin Babası"))>-1?treeData[0].children[1].children[0].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Babasının Babasının Annesi"))>-1?treeData[0].children[1].children[0].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Annesinin Babasının Babasının Babası"))>-1?treeData[0].children[1].children[0].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[0].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Annesinin Annesinin Annesi"))>-1?treeData[0].children[1].children[1].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Annesinin Annesinin Babası"))>-1?treeData[0].children[1].children[1].children[0].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[0].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Annesinin Babasının Annesi"))>-1?treeData[0].children[1].children[1].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Annesinin Babasının Babası"))>-1?treeData[0].children[1].children[1].children[0].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[0].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Babasının Annesinin Annesi"))>-1?treeData[0].children[1].children[1].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Babasının Annesinin Babası"))>-1?treeData[0].children[1].children[1].children[1].children[0].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[1].children[0].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Babasının Babasının Annesi"))>-1?treeData[0].children[1].children[1].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]}),(e=ataKontrolEt(n,"Babasının Babasının Babasının Babasının Babası"))>-1?treeData[0].children[1].children[1].children[1].children[1].children.push({name:n[e].getElementsByTagName("td")[3].innerHTML+" "+n[e].getElementsByTagName("td")[4].innerHTML+" ("+n[e].getElementsByTagName("td")[7].innerHTML.split("<br>")[0]+", "+n[e].getElementsByTagName("td")[7].innerHTML.split("/")[2]+"-"+n[e].getElementsByTagName("td")[11].innerHTML.split("/")[2]+")",children:[]}):treeData[0].children[1].children[1].children[1].children[1].children.push({name:"Kaydı Yok!",children:[]})}var sonucTablosu=document.getElementsByClassName("resultTable")[0];if(sonucTablosu){var trDizisi=sonucTablosu.getElementsByTagName("tr"),index=ataKontrolEt(trDizisi,"Kendisi");index>-1?handleSoyTree(trDizisi,index):console.log("Tabloda kisi bulunamadi!")}else console.log("tablo yok!");var root,margin={top:20,right:120,bottom:20,left:120},width=1960-margin.right-margin.left,height=1e3-margin.top-margin.bottom,i=0,duration=750,tree=d3.layout.tree().size([height,width]),diagonal=d3.svg.diagonal().projection((function(n){return[n.y,n.x]})),svg=d3.select("body").append("svg").attr("width",width+margin.right+margin.left).attr("height",height+margin.top+margin.bottom).append("g").attr("transform","translate("+margin.left+","+margin.top+")");function update(n){var t=tree.nodes(root).reverse(),e=tree.links(t);t.forEach((function(n){n.y=180*n.depth}));var r=svg.selectAll("g.node").data(t,(function(n){return n.id||(n.id=++i)})),a=r.enter().append("g").attr("class","node").attr("style","cursor:pointer;").attr("transform",(function(t){return"translate("+n.y0+","+n.x0+")"})).on("click",click);a.append("circle").attr("r",1e-6).style({fill:function(n){return n._children?"white":"#fff"},stroke:"steelblue","stroke-width":"3px"}),a.append("text").attr("x",(function(n){return n.children||n._children?-13:13})).attr("dy",".35em").attr("text-anchor",(function(n){return n.children||n._children?"end":"start"})).text((function(n){return n.name})).style({"fill-opacity":1e-6,font:"13px Oswald"});var o=r.transition().duration(duration).attr("transform",(function(n){return"translate("+n.y+","+n.x+")"}));o.select("circle").attr("r",10).style("fill",(function(n){return n._children?"white":"#fff"})),o.select("text").style("fill-opacity",1);var l=r.exit().transition().duration(duration).attr("transform",(function(t){return"translate("+n.y+","+n.x+")"})).remove();l.select("circle").attr("r",1e-6),l.select("text").style("fill-opacity",1e-6);var u=svg.selectAll("path.link").data(e,(function(n){return n.target.id}));u.enter().insert("path","g").attr("class","link").style({fill:"none",stroke:"#ccc","stroke-width":"2px"}).attr("d",(function(t){var e={x:n.x0,y:n.y0};return diagonal({source:e,target:e})})),u.transition().duration(duration).attr("d",diagonal),u.exit().transition().duration(duration).attr("d",(function(t){var e={x:n.x,y:n.y};return diagonal({source:e,target:e})})).remove(),t.forEach((function(n){n.x0=n.x,n.y0=n.y}))}function click(n){n.children?(n._children=n.children,n.children=null):(n.children=n._children,n._children=null),update(n)}(root=treeData[0]).x0=height/2,root.y0=0,update(root),d3.select(self.frameElement).style("height","500px");var smq={Popup:function(n){this.conf=n||{},this.init=function(){var n=document.getElementsByTagName("smq-popup");if(n&&n.length>0)for(var t=0;t<n.length;t++)document.body.removeChild(n[t]);this.nodePopup=document.createElement("smq-popup"),this.nodePopup.innerHTML='<div class="window" style="overflow: scroll;"><a class="close">x</a class="close"><div class="api-content"></div></div>',this.nodePopup.getElementsByClassName("api-content")[0].appendChild(document.getElementsByTagName("svg")[0]),this.nodeClose=this.nodePopup.getElementsByClassName("close")[0],this.nodeClose.addEventListener("click",function(){this.close()}.bind(this),!1)},this.show=function(){document.body.appendChild(this.nodePopup)},this.close=function(){this.nodePopup&&document.body.removeChild(this.nodePopup),this.nodePopup=void 0},this.init(n)}},myPopup=new smq.Popup({});myPopup.show();var popupCss="smq-popup { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.2); z-index: 2000000; display: block;} smq-popup .window { margin: 0; width: 100%; height: 100%; background: rgba(255,255,255,1); border-radius: 10px; } smq-popup .close { margin: 0 10px 0 0; float: right; color: rgba(200,200,200,1); font-size: 20px; cursor: pointer; font-family: sans-serif;}",documentHead=document.head||document.getElementsByTagName("head")[0],popupStyle=document.createElement("style");popupStyle.type="text/css",popupStyle.styleSheet?popupStyle.styleSheet.cssText=popupCss:popupStyle.appendChild(document.createTextNode(popupCss)),documentHead.appendChild(popupStyle); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment