1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t.SENTRY_RELEASE={id:"e9cc7b2420e5d76423b99ff4271bbeade7bff705"},t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];if(null!=e)for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])}return t}({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:finviz":!0});var n=(new t.Error).stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="3f603565-c6d2-4e44-84cd-2923e7425e1f",t._sentryDebugIdIdentifier="sentry-dbid-3f603565-c6d2-4e44-84cd-2923e7425e1f")}catch(t){}}(),(self.webpackChunkFinvizModern=self.webpackChunkFinvizModern||[]).push([[152],{90152(t,n,e){function r(t,n){let e,r;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r<n&&(r=n)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}e.d(n,{JLW:()=>Ue,l78:()=>m,V4s:()=>_,eH3:()=>d,yWT:()=>xn.Ay,qrM:()=>Je.Ay,Xxv:()=>r,GPZ:()=>Qn.GP,Sk5:()=>$n,KIW:()=>xn.KI,ZrM:()=>An.Ay,n8j:()=>We.A,T9B:()=>i.A,jkA:()=>o.A,Cmz:()=>a,qqI:()=>Me,rLf:()=>Qe,Qhc:()=>xn.Qh,WH:()=>qe.WH,m4Y:()=>qe.m4,UMr:()=>qe.UM,Bv9:()=>qe.Bv,aX1:()=>qe.aX,Ltv:()=>Xe,hkb:()=>Ce,gg3:()=>Be,bC4:()=>Fe,s_O:()=>mr,_V:()=>cr});var i=e(59152),o=e(66958),u=e(53568);function a(t,n,e){let r;for(;;){const i=(0,u.lq)(t,n,e);if(i===r||0===i||!isFinite(i))return[t,n];i>0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}function c(t){return t}var s=1e-6;function l(t){return"translate("+t+",0)"}function f(t){return"translate(0,"+t+")"}function h(t){return n=>+t(n)}function p(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function v(){return!this.__axis}function y(t,n){var e=[],r=null,i=null,o=6,u=6,a=3,y="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,d=1===t||4===t?-1:1,m=4===t||2===t?"x":"y",_=1===t||3===t?l:f;function g(l){var f=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,g=null==i?n.tickFormat?n.tickFormat.apply(n,e):c:i,w=Math.max(o,0)+a,x=n.range(),A=+x[0]+y,M=+x[x.length-1]+y,b=(n.bandwidth?p:h)(n.copy(),y),k=l.selection?l.selection():l,z=k.selectAll(".domain").data([null]),E=k.selectAll(".tick").data(f,n).order(),T=E.exit(),S=E.enter().append("g").attr("class","tick"),P=E.select("line"),N=E.select("text");z=z.merge(z.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),E=E.merge(S),P=P.merge(S.append("line").attr("stroke","currentColor").attr(m+"2",d*o)),N=N.merge(S.append("text").attr("fill","currentColor").attr(m,d*w).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),l!==k&&(z=z.transition(l),E=E.transition(l),P=P.transition(l),N=N.transition(l),T=T.transition(l).attr("opacity",s).attr("transform",function(t){return isFinite(t=b(t))?_(t+y):this.getAttribute("transform")}),S.attr("opacity",s).attr("transform",function(t){var n=this.parentNode.__axis;return _((n&&isFinite(n=n(t))?n:b(t))+y)})),T.remove(),z.attr("d",4===t||2===t?u?"M"+d*u+","+A+"H"+y+"V"+M+"H"+d*u:"M"+y+","+A+"V"+M:u?"M"+A+","+d*u+"V"+y+"H"+M+"V"+d*u:"M"+A+","+y+"H"+M),E.attr("opacity",1).attr("transform",function(t){return _(b(t)+y)}),P.attr(m+"2",d*o),N.attr(m,d*w).text(g),k.filter(v).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),k.each(function(){this.__axis=b})}return g.scale=function(t){return arguments.length?(n=t,g):n},g.ticks=function(){return e=Array.from(arguments),g},g.tickArguments=function(t){return arguments.length?(e=null==t?[]:Array.from(t),g):e.slice()},g.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),g):r&&r.slice()},g.tickFormat=function(t){return arguments.length?(i=t,g):i},g.tickSize=function(t){return arguments.length?(o=u=+t,g):o},g.tickSizeInner=function(t){return arguments.length?(o=+t,g):o},g.tickSizeOuter=function(t){return arguments.length?(u=+t,g):u},g.tickPadding=function(t){return arguments.length?(a=+t,g):a},g.offset=function(t){return arguments.length?(y=+t,g):y},g}function d(t){return y(2,t)}function m(t){return y(3,t)}function _(t){return y(4,t)}function g(){}function w(t){return null==t?g:function(){return this.querySelector(t)}}function x(){return[]}function A(t){return null==t?x:function(){return this.querySelectorAll(t)}}function M(t){return function(){return null==(n=t.apply(this,arguments))?[]:Array.isArray(n)?n:Array.from(n);var n}}function b(t){return function(){return this.matches(t)}}function k(t){return function(n){return n.matches(t)}}var z=Array.prototype.find;function E(){return this.firstElementChild}var T=Array.prototype.filter;function S(){return Array.from(this.children)}function P(t){return new Array(t.length)}function N(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function F(t,n,e,r,i,o){for(var u,a=0,c=n.length,s=o.length;a<s;
vendor: 4,891 bytes, line 1
1++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new N(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function C(t,n,e,r,i,o,u){var a,c,s,l=new Map,f=n.length,h=o.length,p=new Array(f);for(a=0;a<f;++a)(c=n[a])&&(p[a]=s=u.call(c,c.__data__,a,n)+"",l.has(s)?i[a]=c:l.set(s,c));for(a=0;a<h;++a)s=u.call(t,o[a],a,o)+"",(c=l.get(s))?(r[a]=c,c.__data__=o[a],l.delete(s)):e[a]=new N(t,o[a]);for(a=0;a<f;++a)(c=n[a])&&l.get(p[a])===c&&(i[a]=c)}function B(t){return t.__data__}function q(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function X(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}N.prototype={constructor:N,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var R="http://www.w3.org/1999/xhtml";const I={svg:"http://www.w3.org/2000/svg",xhtml:R,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function V(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),I.hasOwnProperty(n)?{space:I[n],local:t}:t}function Y(t){return function(){this.removeAttribute(t)}}function D(t){return function(){this.removeAttributeNS(t.space,t.local)}}function O(t,n){return function(){this.setAttribute(t,n)}}function L(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function j(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function H(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function U(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function W(t){return function(){this.style.removeProperty(t)}}function Z(t,n,e){return function(){this.style.setProperty(t,n,e)}}function G(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function K(t,n){return t.style.getPropertyValue(n)||U(t).getComputedStyle(t,null).getPropertyValue(n)}function Q(t){return function(){delete this[t]}}function J(t,n){return function(){this[t]=n}}function $(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function tt(t){return t.trim().split(/^|\s+/)}function nt(t){return t.classList||new et(t)}function et(t){this._node=t,this._names=tt(t.getAttribute("class")||"")}function rt(t,n){for(var e=nt(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function it(t,n){for(var e=nt(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function ot(t){return function(){rt(this,t)}}function ut(t){return function(){it(this,t)}}function at(t,n){return function(){(n.apply(this,arguments)?rt:it)(this,t)}}function ct(){this.textContent=""}function st(t){return function(){this.textContent=t}}function lt(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function ft(){this.innerHTML=""}function ht(t){return function(){this.innerHTML=t}}function pt(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function vt(){this.nextSibling&&this.parentNode.appendChild(this)}function yt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function dt(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===R&&n.documentElement.namespaceURI===R?n.createElement(t):n.createElementNS(e,t)}}function mt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function _t(t){var n=V(t);return(n.local?mt:dt)(n)}function gt(){return null}function wt(){var t=this.parentNode;t&&t.removeChild(this)}function xt(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function At(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Mt(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.options);++i?n.length=i:delete this.__on}}}function bt(t,n,e){return function(){var r,i=this.__on,o=function(t){return function(n){t.call(this,n,this.__data__)}}(n);if(i)for(var u=0,a=i.length;u<a;++u)if((r=i[u]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=e),void(r.value=n);this.addEventListener(t.type,o,e),r={type:t.type,name:t.name,value:n,listener:o,options:e},i?i.push(r):this.__on=[r]}}function kt(t,n,e){var r=U(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dis
vendor: 4,440 bytes, line 1
1patchEvent(i)}function zt(t,n){return function(){return kt(this,t,n)}}function Et(t,n){return function(){return kt(this,t,n.apply(this,arguments))}}et.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Tt=[null];function St(t,n){this._groups=t,this._parents=n}function Pt(){return new St([[document.documentElement]],Tt)}St.prototype=Pt.prototype={constructor:St,select:function(t){"function"!=typeof t&&(t=w(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,s=r[i]=new Array(c),l=0;l<c;++l)(o=a[l])&&(u=t.call(o,o.__data__,l,a))&&("__data__"in o&&(u.__data__=o.__data__),s[l]=u);return new St(r,this._parents)},selectAll:function(t){t="function"==typeof t?M(t):A(t);for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,s=0;s<c;++s)(u=a[s])&&(r.push(t.call(u,u.__data__,s,a)),i.push(u));return new St(r,i)},selectChild:function(t){return this.select(null==t?E:function(t){return function(){return z.call(this.children,t)}}("function"==typeof t?t:k(t)))},selectChildren:function(t){return this.selectAll(null==t?S:function(t){return function(){return T.call(this.children,t)}}("function"==typeof t?t:k(t)))},filter:function(t){"function"!=typeof t&&(t=b(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],s=0;s<a;++s)(o=u[s])&&t.call(o,o.__data__,s,u)&&c.push(o);return new St(r,this._parents)},data:function(t,n){if(!arguments.length)return Array.from(this,B);var e,r=n?C:F,i=this._parents,o=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var u=o.length,a=new Array(u),c=new Array(u),s=new Array(u),l=0;l<u;++l){var f=i[l],h=o[l],p=h.length,v=q(t.call(f,f&&f.__data__,l,i)),y=v.length,d=c[l]=new Array(y),m=a[l]=new Array(y);r(f,h,d,m,s[l]=new Array(p),v,n);for(var _,g,w=0,x=0;w<y;++w)if(_=d[w]){for(w>=x&&(x=w+1);!(g=m[x])&&++x<y;);_._next=g||null}}return(a=new St(a,i))._enter=c,a._exit=s,a},enter:function(){return new St(this._enter||this._groups.map(P),this._parents)},exit:function(){return new St(this._exit||this._groups.map(P),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=n&&(i=n(i))&&(i=i.selection()),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,i=e.length,o=r.length,u=Math.min(i,o),a=new Array(i),c=0;c<u;++c)for(var s,l=e[c],f=r[c],h=l.length,p=a[c]=new Array(h),v=0;v<h;++v)(s=l[v]||f[v])&&(p[v]=s);for(;c<i;++c)a[c]=e[c];return new St(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=X);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,a=e[o],c=a.length,s=i[o]=new Array(c),l=0;l<c;++l)(u=a[l])&&(s[l]=u);s.sort(n)}return new St(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},size:function(){let t=0;for(const n of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},attr:function(t,n){var e=V(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?D:Y:"function"==typeof n?e.local?H:j:e.local?L:O)(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?W:"function"==typeof n?G:Z)(t,n,null==e?"":e)):K(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?Q:"function"==typeof n?$:J)(t,n)):this.node()[t]},classed:function(t,n){var e=tt(t+"");
vendor: 2,531 bytes, line 1
1if(arguments.length<2){for(var r=nt(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?at:n?ot:ut)(e,n))},text:function(t){return arguments.length?this.each(null==t?ct:("function"==typeof t?lt:st)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ft:("function"==typeof t?pt:ht)(t)):this.node().innerHTML},raise:function(){return this.each(vt)},lower:function(){return this.each(yt)},append:function(t){var n="function"==typeof t?t:_t(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:_t(t),r=null==n?gt:"function"==typeof n?n:w(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(wt)},clone:function(t){return this.select(t?At:xt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),u=o.length;if(!(arguments.length<2)){for(a=n?bt:Mt,r=0;r<u;++r)this.each(a(o[r],n,e));return this}var a=this.node().__on;if(a)for(var c,s=0,l=a.length;s<l;++s)for(r=0,c=a[s];r<u;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,n){return this.each(("function"==typeof n?Et:zt)(t,n))},[Symbol.iterator]:function*(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r,i=t[n],o=0,u=i.length;o<u;++o)(r=i[o])&&(yield r)}};const Nt=Pt;var Ft={value:()=>{}};function Ct(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new Bt(r)}function Bt(t){this._=t}function qt(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function Xt(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=Ft,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}Bt.prototype=Ct.prototype={constructor:Bt,on:function(t,n){var e,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),u=-1,a=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++u<a;
vendor: 4,887 bytes, line 1
1)if(e=(t=o[u]).type)i[e]=Xt(i[e],t.name,n);else if(null==n)for(e in i)i[e]=Xt(i[e],t.name,null);return this}for(;++u<a;)if((e=(t=o[u]).type)&&(e=qt(i[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new Bt(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};const Rt=Ct;var It,Vt,Yt=0,Dt=0,Ot=0,Lt=0,jt=0,Ht=0,Ut="object"==typeof performance&&performance.now?performance:Date,Wt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Zt(){return jt||(Wt(Gt),jt=Ut.now()+Ht)}function Gt(){jt=0}function Kt(){this._call=this._time=this._next=null}function Qt(t,n,e){var r=new Kt;return r.restart(t,n,e),r}function Jt(){jt=(Lt=Ut.now())+Ht,Yt=Dt=0;try{!function(){Zt(),++Yt;for(var t,n=It;n;)(t=jt-n._time)>=0&&n._call.call(void 0,t),n=n._next;--Yt}()}finally{Yt=0,function(){var t,n,e=It,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:It=n);Vt=t,tn(r)}(),jt=0}}function $t(){var t=Ut.now(),n=t-Lt;n>1e3&&(Ht-=n,Lt=t)}function tn(t){Yt||(Dt&&(Dt=clearTimeout(Dt)),t-jt>24?(t<1/0&&(Dt=setTimeout(Jt,t-Ut.now()-Ht)),Ot&&(Ot=clearInterval(Ot))):(Ot||(Lt=Ut.now(),Ot=setInterval($t,1e3)),Yt=1,Wt(Jt)))}function nn(t,n,e){var r=new Kt;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}Kt.prototype=Qt.prototype={constructor:Kt,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Zt():+e)+(null==n?0:+n),this._next||Vt===this||(Vt?Vt._next=this:It=this,Vt=this),this._call=t,this._time=e,tn()},stop:function(){this._call&&(this._call=null,this._time=1/0,tn())}};var en=Rt("start","end","cancel","interrupt"),rn=[];function on(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(t){e.state=1,e.timer.restart(u,e.delay,e.time),e.delay<=t&&u(t-e.delay)}function u(o){var s,l,f,h;if(1!==e.state)return c();for(s in i)if((h=i[s]).name===e.name){if(3===h.state)return nn(u);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[s]):+s<n&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[s])}if(nn(function(){3===e.state&&(e.state=4,e.timer.restart(a,e.delay,e.time),a(o))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(e.state=3,r=new Array(f=e.tween.length),s=0,l=-1;s<f;++s)(h=e.tween[s].value.call(t,t.__data__,e.index,e.group))&&(r[++l]=h);r.length=l+1}}function a(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(c),e.state=5,1),o=-1,u=r.length;++o<u;)r[o].call(t,i);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),c())}function c(){for(var r in e.state=6,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=Qt(o,0,e.time)}(t,e,{name:n,index:r,group:i,on:en,tween:rn,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function un(t,n){var e=cn(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function an(t,n){var e=cn(t,n);if(e.state>3)throw new Error("too late; already running");return e}function cn(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function sn(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}}var ln,fn=e(62995),hn=180/Math.PI,pn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function vn(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*hn,skewX:Math.atan(c)*hn,scaleX:u,scaleY:a}}function yn(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a=[],c=[];return o=t(o),u=t(u),function(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:(0,fn.A)(t,i)},{i:c-2,x:(0,fn.A)(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,a,c),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:(0,fn.A)(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",
vendor: 19,914 bytes, line 1
1null,r)-2,x:(0,fn.A)(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:(0,fn.A)(t,e)},{i:a-2,x:(0,fn.A)(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e<r;)a[(n=c[e]).i]=n.x(t);return a.join("")}}}var dn=yn(function(t){const n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?pn:vn(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),mn=yn(function(t){return null==t?pn:(ln||(ln=document.createElementNS("http://www.w3.org/2000/svg","g")),ln.setAttribute("transform",t),(t=ln.transform.baseVal.consolidate())?vn((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):pn)},", ",")",")");function _n(t,n){var e,r;return function(){var i=an(this,t),o=i.tween;if(o!==e)for(var u=0,a=(r=e=o).length;u<a;++u)if(r[u].name===n){(r=r.slice()).splice(u,1);break}i.tween=r}}function gn(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=an(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},c=0,s=i.length;c<s;++c)if(i[c].name===n){i[c]=a;break}c===s&&i.push(a)}o.tween=i}}function wn(t,n,e){var r=t._id;return t.each(function(){var t=an(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return cn(t,r).value[n]}}var xn=e(18185),An=e(91555),Mn=e(90027);function bn(t,n){var e;return("number"==typeof n?fn.A:n instanceof xn.Ay?An.Ay:(e=(0,xn.Ay)(n))?(n=e,An.Ay):Mn.A)(t,n)}function kn(t){return function(){this.removeAttribute(t)}}function zn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function En(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttribute(t);return u===o?null:u===r?i:i=n(r=u,e)}}function Tn(t,n,e){var r,i,o=e+"";return function(){var u=this.getAttributeNS(t.space,t.local);return u===o?null:u===r?i:i=n(r=u,e)}}function Sn(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttribute(t))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttribute(t)}}function Pn(t,n,e){var r,i,o;return function(){var u,a,c=e(this);if(null!=c)return(u=this.getAttributeNS(t.space,t.local))===(a=c+"")?null:u===r&&a===i?o:(i=a,o=n(r=u,c));this.removeAttributeNS(t.space,t.local)}}function Nn(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}(t,i)),e}return i._value=n,i}function Fn(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}(t,i)),e}return i._value=n,i}function Cn(t,n){return function(){un(this,t).delay=+n.apply(this,arguments)}}function Bn(t,n){return n=+n,function(){un(this,t).delay=n}}function qn(t,n){return function(){an(this,t).duration=+n.apply(this,arguments)}}function Xn(t,n){return n=+n,function(){an(this,t).duration=n}}var Rn=Nt.prototype.constructor;function In(t){return function(){this.style.removeProperty(t)}}var Vn=0;function Yn(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Dn(){return++Vn}var On=Nt.prototype;Yn.prototype=function(t){return Nt().transition(t)}.prototype={constructor:Yn,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=w(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a,c,s=r[u],l=s.length,f=o[u]=new Array(l),h=0;h<l;++h)(a=s[h])&&(c=t.call(a,a.__data__,h,s))&&("__data__"in a&&(c.__data__=a.__data__),f[h]=c,on(f[h],n,e,h,f,cn(a,e)));return new Yn(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=A(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var c,s=r[a],l=s.length,f=0;f<l;++f)if(c=s[f]){for(var h,p=t.call(c,c.__data__,f,s),v=cn(c,e),y=0,d=p.length;y<d;++y)(h=p[y])&&on(h,n,e,y,p,v);o.push(p),u.push(c)}return new Yn(o,u,n,e)},selectChild:On.selectChild,selectChildren:On.selectChildren,filter:function(t){"function"!=typeof t&&(t=b(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],s=0;s<a;++s)(o=u[s])&&t.call(o,o.__data__,s,u)&&c.push(o);return new Yn(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,s=n[a],l=e[a],f=s.length,h=u[a]=new Array(f),p=0;p<f;++p)(c=s[p]||l[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new Yn(u,this._parents,this._name,this._id)},selection:function(){return new Rn(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=Dn(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,s=0;s<c;++s)if(u=a[s]){var l=cn(u,n);on(u,t,e,s,a,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new Yn(r,this._parents,t,e)},call:On.call,nodes:On.nodes,node:On.node,size:On.size,empty:On.empty,each:On.each,on:function(t,n){var e=this._id;return arguments.length<2?cn(this.node(),e).on.on(t):this.each(function(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?un:an;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}(e,t,n))},attr:function(t,n){var e=V(t),r="transform"===e?mn:bn;return this.attrTween(t,"function"==typeof n?(e.local?Pn:Sn)(e,r,wn(this,"attr."+t,n)):null==n?(e.local?zn:kn)(e):(e.local?Tn:En)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=V(t);return this.tween(e,(r.local?Nn:Fn)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?dn:bn;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=K(this,t),u=(this.style.removeProperty(t),K(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}(t,r)).on("end.style."+t,In(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var u=K(this,t),a=e(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=K(this,t)),u===c?null:u===r&&c===i?o:(i=c,o=n(r=u,a))}}(t,r,wn(this,"style."+t,n))).each(function(t,n){var e,r,i,o,u="style."+n,a="end."+u;return function(){var c=an(this,t),s=c.on,l=null==c.value[u]?o||(o=In(n)):void 0;s===e&&i===l||(r=(e=s).copy()).on(a,i=l),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var u=K(this,t);return u===o?null:u===r?i:i=n(r=u,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(wn(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=cn(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?_n:gn)(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Cn:Bn)(n,t)):cn(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?qn:Xn)(n,t)):cn(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!=typeof n)throw new Error;return function(){an(this,t).ease=n}}(n,t)):cn(this.node(),n).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,n){return function(){var e=n.apply(this,arguments);if("function"!=typeof e)throw new Error;an(this,t).ease=e}}(this._id,t))},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise(function(o,u){var a={value:u},c={value:function(){0===--i&&o()}};e.each(function(){var e=an(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(a),n._.interrupt.push(a),n._.end.push(c)),e.on=n}),0===i&&o()})},[Symbol.iterator]:On[Symbol.iterator]};var Ln={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function jn(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw new Error(`transition ${n} not found`);return e}Nt.prototype.interrupt=function(t){return this.each(function(){sn(this,t)})},Nt.prototype.transition=function(t){var n,e;t instanceof Yn?(n=t._id,t=t._name):(n=Dn(),(e=Ln).time=Zt(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,s=0;s<c;++s)(u=a[s])&&on(u,t,n,s,a,e||jn(u,n));return new Yn(r,this._parents,t,n)};const{abs:Hn,max:Un,min:Wn}=Math;function Zn(t){return[+t[0],+t[1]]}function Gn(t){return[Zn(t[0]),Zn(t[1])]}["w","e"].map(Kn),["n","s"].map(Kn),["n","w","e","s","nw","ne","sw","se"].map(Kn);function Kn(t){return{type:t}}var Qn=e(92688);function Jn(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function $n(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=ne)):void 0===n&&(n=te);for(var e,r,i,o,u,a=new ie(t),c=[a];e=c.pop();)if((i=n(e.data))&&(u=(i=Array.from(i)).length))for(e.children=i,o=u-1;o>=0;--o)c.push(r=i[o]=new ie(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(re)}function te(t){return t.children}function ne(t){return Array.isArray(t)?t[1]:null}function ee(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function re(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function ie(t){this.data=t,this.depth=this.height=0,this.parent=null}function oe(t){if("function"!=typeof t)throw new Error;return t}function ue(){return 0}function ae(t){return function(){return t}}ie.prototype=$n.prototype={constructor:ie,count:function(){return this.eachAfter(Jn)},each:function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function(t,n){for(var e,r,i,o=this,u=[o],a=[],c=-1;o=u.pop();)if(a.push(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r]);for(;o=a.pop();)t.call(n,o,++c,this);return this},eachBefore:function(t,n){for(var e,r,i=this,o=[i],u=-1;i=o.pop();)if(t.call(n,i,++u,this),e=i.children)for(r=e.length-1;r>=0;--r)o.push(e[r]);return this},find:function(t,n){let e=-1;for(const r of this)if(t.call(n,r,++e,this))return r},sum:function(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e})},sort:function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},links:function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n},copy:function(){return $n(this).eachBefore(ee)},[Symbol.iterator]:function*(){var t,n,e,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e])}while(o.length)}};const ce=4294967296;function se(t,n){for(var e,r,i=0,o=(t=function(t,n){let e,r,i=t.length;for(;i;)r=n()*i--|0,e=t[i],t[i]=t[r],t[r]=e;return t}(Array.from(t),n)).length,u=[];i<o;)e=t[i],r&&he(r,e)?++i:(r=ve(u=le(u,e)),i=0);return r}function le(t,n){var e,r;if(pe(n,t))return[n];for(e=0;e<t.length;++e)if(fe(n,t[e])&&pe(ye(t[e],n),t))return[t[e],n];for(e=0;e<t.length-1;++e)for(r=e+1;r<t.length;++r)if(fe(ye(t[e],t[r]),n)&&fe(ye(t[e],n),t[r])&&fe(ye(t[r],n),t[e])&&pe(de(t[e],t[r],n),t))return[t[e],t[r],n];throw new Error}function fe(t,n){var e=t.r-n.r,r=n.x-t.x,i=n.y-t.y;return e<0||e*e<r*r+i*i}function he(t,n){var e=t.r-n.r+1e-9*Math.max(t.r,n.r,1),r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function pe(t,n){for(var e=0;e<n.length;++e)if(!he(t,n[e]))return!1;return!0}function ve(t){switch(t.length){case 1:return function(t){return{x:t.x,y:t.y,r:t.r}}(t[0]);case 2:return ye(t[0],t[1]);case 3:return de(t[0],t[1],t[2])}}function ye(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,u=n.y,a=n.r,c=o-e,s=u-r,l=a-i,f=Math.sqrt(c*c+s*s);return{x:(e+o+c/f*l)/2,y:(r+u+s/f*l)/2,r:(f+i+a)/2}}function de(t,n,e){var r=t.x,i=t.y,o=t.r,u=n.x,a=n.y,c=n.r,s=e.x,l=e.y,f=e.r,h=r-u,p=r-s,v=i-a,y=i-l,d=c-o,m=f-o,_=r*r+i*i-o*o,g=_-u*u-a*a+c*c,w=_-s*s-l*l+f*f,x=p*v-h*y,A=(v*w-y*g)/(2*x)-r,M=(y*d-v*m)/x,b=(p*g-h*w)/(2*x)-i,k=(h*m-p*d)/x,z=M*M+k*k-1,E=2*(o+A*M+b*k),T=A*A+b*b-o*o,S=-(Math.abs(z)>1e-6?(E+Math.sqrt(E*E-4*z*T))/(2*z):T/E);return{x:r+A+M*S,y:i+b+k*S,r:S}}function me(t,n,e){var r,i,o,u,a=t.x-n.x,c=t.y-n.y,s=a*a+c*c;s?(i=n.r+e.r,i*=i,u=t.r+e.r,i>(u*=u)?(r=(s+u-i)/(2*s),o=Math.sqrt(Math.max(0,u/s-r*r)),e.x=t.x-r*a-o*c,e.y=t.y-r*c+o*a):(r=(s+i-u)/(2*s),o=Math.sqrt(Math.max(0,i/s-r*r)),e.x=n.x+r*a-o*c,e.y=n.y+r*c+o*a)):(e.x=n.x+e.r,e.y=n.y)}function _e(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function ge(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function we(t){this._=t,this.next=null,this.previous=null}function xe(t,n){if(!(u=(e=t,t="object"==typeof e&&"length"in e?e:Array.from(e)).length))return 0;var e,r,i,o,u,a,c,s,l,f,h,p;if((r=t[0]).x=0,r.y=0,!(u>1))return r.r;if(i=t[1],r.x=-i.r,i.x=r.r,i.y=0,!(u>2))return r.r+i.r;me(i,r,o=t[2]),r=new we(r),i=new we(i),o=new we(o),r.next=o.previous=i,i.next=r.previous=o,o.next=i.previous=r;t:for(s=3;s<u;++s){me(r._,i._,o=t[s]),o=new we(o),l=i.next,f=r.previous,h=i._.r,p=r._.r;do{if(h<=p){if(_e(l._,o._)){i=l,r.next=i,i.previous=r,--s;continue t}h+=l._.r,l=l.next}else{if(_e(f._,o._)){(r=f).next=i,i.previous=r,--s;continue t}p+=f._.r,f=f.previous}}while(l!==f.next);for(o.previous=r,o.next=i,r.next=i.previous=i=o,a=ge(r);(o=o.next)!==i;)(c=ge(o))<a&&(r=o,a=c);i=r.next}for(r=[i._],o=i;(o=o.next)!==i;)r.push(o._);for(o=se(r,n),s=0;s<u;++s)(r=t[s]).x-=o.x,r.y-=o.y;return o.r}function Ae(t){return Math.sqrt(t.value)}function Me(){var t=null,n=1,e=1,r=ue;function i(i){const o=function(){let t=1;return()=>(t=(1664525*t+1013904223)%ce)/ce}();return i.x=n/2,i.y=e/2,t?i.eachBefore(be(t)).eachAfter(ke(r,.5,o)).eachBefore(ze(1)):i.eachBefore(be(Ae)).eachAfter(ke(ue,1,o)).eachAfter(ke(r,i.r/Math.min(n,e),o)).eachBefore(ze(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=null==(e=n)?null:oe(e),i):t;var e},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:ae(+t),i):r},i}function be(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function ke(t,n,e){return function(r){if(i=r.children){var i,o,u,a=i.length,c=t(r)*n||0;if(c)for(o=0;o<a;++o)i[o].r+=c;if(u=xe(i,e),c)for(o=0;o<a;++o)i[o].r-=c;r.r=u+c}}}function ze(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function Ee(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Te(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,s=t.value&&(r-n)/t.value;++a<c;)(o=u[a]).y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*s}function Se(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,s=t.value&&(i-e)/t.value;++a<c;)(o=u[a]).x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*s}var Pe=(1+Math.sqrt(5))/2;function Ne(t,n,e,r,i,o){for(var u,a,c,s,l,f,h,p,v,y,d,m=[],_=n.children,g=0,w=0,x=_.length,A=n.value;g<x;){c=i-e,s=o-r;do{l=_[w++].value}while(!l&&w<x);for(f=h=l,d=l*l*(y=Math.max(s/c,c/s)/(A*t)),v=Math.max(h/d,d/f);w<x;++w){if(l+=a=_[w].value,a<f&&(f=a),a>h&&(h=a),d=l*l*y,(p=Math.max(h/d,d/f))>v){l-=a;break}v=p}m.push(u={value:l,dice:c<s,children:_.slice(g,w)}),u.dice?Te(u,e,r,i,A?r+=s*l/A:o):Se(u,e,r,A?e+=c*l/A:i,o),A-=l,g=w}return m}const Fe=function t(n){function e(t,e,r,i,o){Ne(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Pe);function Ce(){var t=Fe,n=!1,e=1,r=1,i=[0],o=ue,u=ue,a=ue,c=ue,s=ue;function l(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(f),i=[0],n&&t.eachBefore(Ee),t}function f(n){var e=i[n.depth],r=n.x0+e,l=n.y0+e,f=n.x1-e,h=n.y1-e;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),n.x0=r,n.y0=l,n.x1=f,n.y1=h,n.children&&(e=i[n.depth+1]=o(n)/2,r+=s(n)-e,l+=u(n)-e,(f-=a(n)-e)<r&&(r=f=(r+f)/2),(h-=c(n)-e)<l&&(l=h=(l+h)/2),t(n,r,l,f,h))}return l.round=function(t){return arguments.length?(n=!!t,l):n},l.size=function(t){return arguments.length?(e=+t[0],r=+t[1],l):[e,r]},l.tile=function(n){return arguments.length?(t=oe(n),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:ae(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(u="function"==typeof t?t:ae(+t),l):u},l.paddingRight=function(t){return arguments.length?(a="function"==typeof t?t:ae(+t),l):a},l.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:ae(+t),l):c},l.paddingLeft=function(t){return arguments.length?(s="function"==typeof t?t:ae(+t),l):s},l}const Be=function t(n){function e(t,e,r,i,o){if((u=t._squarify)&&u.ratio===n)for(var u,a,c,s,l,f=-1,h=u.length,p=t.value;++f<h;){for(c=(a=u[f]).children,s=a.value=0,l=c.length;s<l;++s)a.value+=c[s].value;a.dice?Te(a,e,r,i,p?r+=(o-r)*a.value/p:o):Se(a,e,r,p?e+=(i-e)*a.value/p:i,o),p-=a.value}else t._squarify=u=Ne(n,t,e,r,i,o),u.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(Pe);var qe=e(95087);function Xe(t){return"string"==typeof t?new St([[document.querySelector(t)]],[document.documentElement]):new St([[t]],Tt)}var Re=e(22896),Ie=e(24322),Ve=e(21647);function Ye(t){return t.innerRadius}function De(t){return t.outerRadius}function Oe(t){return t.startAngle}function Le(t){return t.endAngle}function je(t){return t&&t.padAngle}function He(t,n,e,r,i,o,u){var a=t-e,c=n-r,s=(u?o:-o)/(0,Ie.RZ)(a*a+c*c),l=s*c,f=-s*a,h=t+l,p=n+f,v=e+l,y=r+f,d=(h+v)/2,m=(p+y)/2,_=v-h,g=y-p,w=_*_+g*g,x=i-o,A=h*y-v*p,M=(g<0?-1:1)*(0,Ie.RZ)((0,Ie.T9)(0,x*x*w-A*A)),b=(A*g-_*M)/w,k=(-A*_-g*M)/w,z=(A*g+_*M)/w,E=(-A*_+g*M)/w,T=b-d,S=k-m,P=z-d,N=E-m;return T*T+S*S>P*P+N*N&&(b=z,k=E),{cx:b,cy:k,x01:-l,y01:-f,x11:b*(i/x-1),y11:k*(i/x-1)}}function Ue(){var t=Ye,n=De,e=(0,Re.A)(0),r=null,i=Oe,o=Le,u=je,a=null,c=(0,Ve.i)(s);function s(){var s,l,f=+t.apply(this,arguments),h=+n.apply(this,arguments),p=i.apply(this,arguments)-Ie.TW,v=o.apply(this,arguments)-Ie.TW,y=(0,Ie.tn)(v-p),d=v>p;if(a||(a=s=c()),h<f&&(l=h,h=f,f=l),h>Ie.Ni)if(y>Ie.FA-Ie.Ni)a.moveTo(h*(0,Ie.gn)(p),h*(0,Ie.F8)(p)),a.arc(0,0,h,p,v,!d),f>
1Ie.Ni&&(a.moveTo(f*(0,Ie.gn)(v),f*(0,Ie.F8)(v)),a.arc(0,0,f,v,p,d));else{var m,_,g=p,w=v,x=p,A=v,M=y,b=y,k=u.apply(this,arguments)/2,z=k>Ie.Ni&&(r?+r.apply(this,arguments):(0,Ie.RZ)(f*f+h*h)),E=(0,Ie.jk)((0,Ie.tn)(h-f)/2,+e.apply(this,arguments)),T=E,S=E;if(z>Ie.Ni){var P=(0,Ie.qR)(z/f*(0,Ie.F8)(k)),N=(0,Ie.qR)(z/h*(0,Ie.F8)(k));(M-=2*P)>Ie.Ni?(x+=P*=d?1:-1,A-=P):(M=0,x=A=(p+v)/2),(b-=2*N)>Ie.Ni?(g+=N*=d?1:-1,w-=N):(b=0,g=w=(p+v)/2)}var F=h*(0,Ie.gn)(g),C=h*(0,Ie.F8)(g),B=f*(0,Ie.gn)(A),q=f*(0,Ie.F8)(A);if(E>Ie.Ni){var X,R=h*(0,Ie.gn)(w),I=h*(0,Ie.F8)(w),V=f*(0,Ie.gn)(x),Y=f*(0,Ie.F8)(x);if(y<Ie.pi)if(X=function(t,n,e,r,i,o,u,a){var c=e-t,s=r-n,l=u-i,f=a-o,h=f*c-l*s;if(!(h*h<Ie.Ni))return[t+(h=(l*(n-o)-f*(t-i))/h)*c,n+h*s]}(F,C,V,Y,R,I,B,q)){var D=F-X[0],O=C-X[1],L=R-X[0],j=I-X[1],H=1/(0,Ie.F8)((0,Ie.HQ)((D*L+O*j)/((0,Ie.RZ)(D*D+O*O)*(0,Ie.RZ)(L*L+j*j)))/2),U=(0,Ie.RZ)(X[0]*X[0]+X[1]*X[1]);T=(0,Ie.jk)(E,(f-U)/(H-1)),S=(0,Ie.jk)(E,(h-U)/(H+1))}else T=S=0}b>Ie.Ni?S>Ie.Ni?(m=He(V,Y,F,C,h,S,d),_=He(R,I,B,q,h,S,d),a.moveTo(m.cx+m.x01,m.cy+m.y01),S<E?a.arc(m.cx,m.cy,S,(0,Ie.FP)(m.y01,m.x01),(0,Ie.FP)(_.y01,_.x01),!d):(a.arc(m.cx,m.cy,S,(0,Ie.FP)(m.y01,m.x01),(0,Ie.FP)(m.y11,m.x11),!d),a.arc(0,0,h,(0,Ie.FP)(m.cy+m.y11,m.cx+m.x11),(0,Ie.FP)(_.cy+_.y11,_.cx+_.x11),!d),a.arc(_.cx,_.cy,S,(0,Ie.FP)(_.y11,_.x11),(0,Ie.FP)(_.y01,_.x01),!d))):(a.moveTo(F,C),a.arc(0,0,h,g,w,!d)):a.moveTo(F,C),f>Ie.Ni&&M>Ie.Ni?T>Ie.Ni?(m=He(B,q,R,I,f,-T,d),_=He(F,C,V,Y,f,-T,d),a.lineTo(m.cx+m.x01,m.cy+m.y01),T<E?a.arc(m.cx,m.cy,T,(0,Ie.FP)(m.y01,m.x01),(0,Ie.FP)(_.y01,_.x01),!d):(a.arc(m.cx,m.cy,T,(0,Ie.FP)(m.y01,m.x01),(0,Ie.FP)(m.y11,m.x11),!d),a.arc(0,0,f,(0,Ie.FP)(m.cy+m.y11,m.cx+m.x11),(0,Ie.FP)(_.cy+_.y11,_.cx+_.x11),d),a.arc(_.cx,_.cy,T,(0,Ie.FP)(_.y11,_.x11),(0,Ie.FP)(_.y01,_.x01),!d))):a.arc(0,0,f,A,x,d):a.lineTo(B,q)}else a.moveTo(0,0);if(a.closePath(),s)return a=null,s+""||null}return s.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Ie.pi/2;return[(0,Ie.gn)(r)*e,(0,Ie.F8)(r)*e]},s.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:(0,Re.A)(+n),s):t},s.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:(0,Re.A)(+t),s):n},s.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,Re.A)(+t),s):e},s.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,Re.A)(+t),s):r},s.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,Re.A)(+t),s):i},s.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,Re.A)(+t),s):o},s.padAngle=function(t){return arguments.length?(u="function"==typeof t?t:(0,Re.A)(+t),s):u},s.context=function(t){return arguments.length?(a=null==t?null:t,s):a},s}var We=e(96142),Ze=e(94227);function Ge(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function Ke(t){return t}function Qe(){var t=Ke,n=Ge,e=null,r=(0,Re.A)(0),i=(0,Re.A)(Ie.FA),o=(0,Re.A)(0);function u(u){var a,c,s,l,f,h=(u=(0,Ze.A)(u)).length,p=0,v=new Array(h),y=new Array(h),d=+r.apply(this,arguments),m=Math.min(Ie.FA,Math.max(-Ie.FA,i.apply(this,arguments)-d)),_=Math.min(Math.abs(m)/h,o.apply(this,arguments)),g=_*(m<0?-1:1);for(a=0;a<h;++a)(f=y[v[a]=a]=+t(u[a],a,u))>0&&(p+=f);for(null!=n?v.sort(function(t,e){return n(y[t],y[e])}):null!=e&&v.sort(function(t,n){return e(u[t],u[n])}),a=0,s=p?(m-h*g)/p:0;a<h;++a,d=l)c=v[a],l=d+((f=y[c])>0?f*s:0)+g,y[c]={data:u[c],index:a,value:f,startAngle:d,endAngle:l,padAngle:_};return y}return u.value=function(n){return arguments.length?(t="function"==typeof n?n:(0,Re.A)(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:(0,Re.A)(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,Re.A)(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,Re.A)(+t),u):o},u}var Je=e(78264);const $e={capture:!0,passive:!1};function tr(t){t.preventDefault(),t.stopImmediatePropagation()}function nr(t){return((t=Math.exp(t))+1/t)/2}const er=function t(n,e,r){function i(t,i){var o,u,a=t[0],c=t[1],s=t[2],l=i[0],f=i[1],h=i[2],p=l-a,v=f-c,y=p*p+v*v;if(y<1e-12)u=Math.log(h/s)/n,o=function(t){return[a+t*p,c+t*v,s*Math.exp(n*t*u)]};else{var d=Math.sqrt(y),m=(h*h-s*s+r*y)/(2*s*e*d),_=(h*h-s*s-r*y)/(2*h*e*d),g=Math.log(Math.sqrt(m*m+1)-m),w=Math.log(Math.sqrt(_*_+1)-_);u=(w-g)/n,o=function(t){var r,i=t*u,o=nr(g),l=s/(e*d)*(o*(r=n*i+g,((r=Math.exp(2*r))-1)/(r+1))-function(t){return((t=Math.exp(t))-1/t)/2}(g));return[a+l*p,c+l*v,s*o/nr(n*i+g)]}}return o.duration=1e3*u*n/Math.SQRT2,o}return i.rho=function(n){var e=Math.max(.001,+n),r=e*e;return t(e,r,r*r)},i}(Math.SQRT2,2,4);function rr(t,n){if(t=function(t){let n;for(;n=t.sourceEvent;)t=n;return t}(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}}return[t.pageX,t.pageY]}const ir=t=>()=>t;function or(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function ur(t,n,e){this.k=t,this.x=n,this.y=e}ur.prototype={constructor:ur,scale:function(t){return 1===t?this:new ur(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new ur(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ar=new ur(1,0,0);function cr(t){for(;!t.__zoom;)if(!(t=t.parentNode))return ar;return t.__zoom}function sr(t){t.stopImmediatePropagation()}function lr(t){t.preventDefault(),t.stopImmediatePropagation()}function fr(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function hr(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function pr(){return this.__zoom||ar}function vr(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?
vendor: 7,938 bytes, lines 1-2
11:.002)*(t.ctrlKey?10:1)}function yr(){return navigator.maxTouchPoints||"ontouchstart"in this}function dr(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}function mr(){var t,n,e,r=fr,i=hr,o=dr,u=vr,a=yr,c=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],l=250,f=er,h=Rt("start","zoom","end"),p=0,v=10;function y(t){t.property("__zoom",pr).on("wheel.zoom",A,{passive:!1}).on("mousedown.zoom",M).on("dblclick.zoom",b).filter(a).on("touchstart.zoom",k).on("touchmove.zoom",z).on("touchend.zoom touchcancel.zoom",E).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(t,n){return(n=Math.max(c[0],Math.min(c[1],n)))===t.k?t:new ur(n,t.x,t.y)}function m(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new ur(t.k,r,i)}function _(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function g(t,n,e,r){t.on("start.zoom",function(){w(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).event(r).end()}).tween("zoom",function(){var t=this,o=arguments,u=w(t,o).event(r),a=i.apply(t,o),c=null==e?_(a):"function"==typeof e?e.apply(t,o):e,s=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),l=t.__zoom,h="function"==typeof n?n.apply(t,o):n,p=f(l.invert(c).concat(s/l.k),h.invert(c).concat(s/h.k));return function(t){if(1===t)t=h;else{var n=p(t),e=s/n[2];t=new ur(e,c[0]-n[0]*e,c[1]-n[1]*e)}u.zoom(null,t)}})}function w(t,n,e){return!e&&t.__zooming||new x(t,n)}function x(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function A(t,...n){if(r.apply(this,arguments)){var e=w(this,n).event(t),i=this.__zoom,a=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,u.apply(this,arguments)))),l=rr(t);if(e.wheel)e.mouse[0][0]===l[0]&&e.mouse[0][1]===l[1]||(e.mouse[1]=i.invert(e.mouse[0]=l)),clearTimeout(e.wheel);else{if(i.k===a)return;e.mouse=[l,i.invert(l)],sn(this),e.start()}lr(t),e.wheel=setTimeout(function(){e.wheel=null,e.end()},150),e.zoom("mouse",o(m(d(i,a),e.mouse[0],e.mouse[1]),e.extent,s))}}function M(t,...n){if(!e&&r.apply(this,arguments)){var i=t.currentTarget,u=w(this,n,!0).event(t),a=Xe(t.view).on("mousemove.zoom",function(t){if(lr(t),!u.moved){var n=t.clientX-l,e=t.clientY-f;u.moved=n*n+e*e>p}u.event(t).zoom("mouse",o(m(u.that.__zoom,u.mouse[0]=rr(t,i),u.mouse[1]),u.extent,s))},!0).on("mouseup.zoom",function(t){a.on("mousemove.zoom mouseup.zoom",null),function(t,n){var e=t.document.documentElement,r=Xe(t).on("dragstart.drag",null);n&&(r.on("click.drag",tr,$e),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}(t.view,u.moved),lr(t),u.event(t).end()},!0),c=rr(t,i),l=t.clientX,f=t.clientY;!function(t){var n=t.document.documentElement,e=Xe(t).on("dragstart.drag",tr,$e);"onselectstart"in n?e.on("selectstart.drag",tr,$e):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")}(t.view),sr(t),u.mouse=[c,this.__zoom.invert(c)],sn(this),u.start()}}function b(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,u=rr(t.changedTouches?t.changedTouches[0]:t,this),a=e.invert(u),c=e.k*(t.shiftKey?.5:2),f=o(m(d(e,c),u,a),i.apply(this,n),s);lr(t),l>0?Xe(this).transition().duration(l).call(g,f,u,t):Xe(this).call(y.transform,f,u,t)}}function k(e,...i){if(r.apply(this,arguments)){var o,u,a,c,s=e.touches,l=s.length,f=w(this,i,e.changedTouches.length===l).event(e);for(sr(e),u=0;u<l;++u)c=[c=rr(a=s[u],this),this.__zoom.invert(c),a.identifier],f.touch0?f.touch1||f.touch0[2]===c[2]||(f.touch1=c,f.taps=0):(f.touch0=c,o=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(f.taps<2&&(n=c[0],t=setTimeout(function(){t=null},500)),sn(this),f.start())}}function z(t,...n){if(this.__zooming){var e,r,i,u,a=w(this,n).event(t),c=t.changedTouches,l=c.length;for(lr(t),e=0;e<l;++e)i=rr(r=c[e],this),a.touch0&&a.touch0[2]===r.identifier?a.touch0[0]=i:a.touch1&&a.touch1[2]===r.identifier&&(a.touch1[0]=i);if(r=a.that.__zoom,a.touch1){var f=a.touch0[0],h=a.touch0[1],p=a.touch1[0],v=a.touch1[1],y=(y=p[0]-f[0])*y+(y=p[1]-f[1])*y,_=(_=v[0]-h[0])*_+(_=v[1]-h[1])*_;r=d(r,Math.sqrt(y/_)),i=[(f[0]+p[0])/2,(f[1]+p[1])/2],u=[(h[0]+v[0])/2,(h[1]+v[1])/2]}else{if(!a.touch0)return;i=a.touch0[0],u=a.touch0[1]}a.zoom("touch",o(m(r,i,u),a.extent,s))}}function E(t,...r){if(this.__zooming){var i,o,u=w(this,r).event(t),a=t.changedTouches,c=a.length;for(sr(t),e&&clearTimeout(e),e=setTimeout(function(){e=null},500),i=0;i<c;++i)o=a[i],u.touch0&&u.touch0[2]===o.identifier?delete u.touch0:u.touch1&&u.touch1[2]===o.identifier&&delete u.touch1;if(u.touch1&&!u.touch0&&(u.touch0=u.touch1,delete u.touch1),u.touch0)u.touch0[1]=this.__zoom.invert(u.touch0[0]);else if(u.end(),2===u.taps&&(o=rr(o,this),Math.hypot(n[0]-o[0],n[1]-o[1])<v)){var s=Xe(this).on("dblclick.zoom");s&&s.apply(this,arguments)}}}return y.transform=function(t,n,e,r){var i=t.selection?t.selection():t;i.property("__zoom",pr),t!==i?g(t,n,e,r):i.interrupt().each(function(){w(this,arguments).event(r).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},y.scaleBy=function(t,n,e,r){y.scaleTo(t,function(){return this.__zoom.k*("function"==typeof n?n.apply(this,arguments):n)},e,r)},y.scaleTo=function(t,n,e,r){y.transform(t,function(){var t=i.apply(this,arguments),r=this.__zoom,u=null==e?_(t):"function"==typeof e?e.apply(this,arguments):e,a=r.invert(u),c="function"==typeof n?n.apply(this,arguments):n;return o(m(d(r,c),u,a),t,s)},e,r)},y.translateBy=function(t,n,e,r){y.transform(t,function(){return o(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),i.apply(this,arguments),s)},null,r)},y.translateTo=function(t,n,e,r,u){y.transform(t,function(){var t=i.apply(this,arguments),u=this.__zoom,a=null==r?_(t):"function"==typeof r?r.apply(this,arguments):r;return o(ar.translate(a[0],a[1]).scale(u.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,s)},r,u)},x.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var n=Xe(this.that).datum();h.call(t,this.that,new or(t,{sourceEvent:this.sourceEvent,target:y,type:t,transform:this.that.__zoom,dispatch:h}),n)}},y.wheelDelta=function(t){return arguments.length?(u="function"==typeof t?t:ir(+t),y):u},y.filter=function(t){return arguments.length?(r="function"==typeof t?t:ir(!!t),y):r},y.touchable=function(t){return arguments.length?(a="function"==typeof t?t:ir(!!t),y):a},y.extent=function(t){return arguments.length?(i="function"==typeof t?t:ir([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),y):i},y.scaleExtent=function(t){return arguments.length?(c[0]=+t[0],c[1]=+t[1],y):[c[0],c[1]]},y.translateExtent=function(t){return arguments.length?(s[0][0]=+t[0][0],s[1][0]=+t[1][0],s[0][1]=+t[0][1],s[1][1]=+t[1][1],y):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},y.constrain=function(t){return arguments.length?(o=t,y):o},y.duration=function(t){return arguments.length?(l=+t,y):l},y.interpolate=function(t){return arguments.length?(f=t,y):f},y.on=function(){var t=h.on.apply(h,arguments);return t===h?y:t},y.clickDistance=function(t){return arguments.length?(p=(t=+t)*t,y):Math.sqrt(p)},y.tapDistance=function(t){return arguments.length?(v=+t,y):v},y}cr.prototype=ur.prototype}}]); 2//# sourceMappingURL=152.v1.3412815c.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.