@phenyxhealth/data-analytics 0.1.1 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DataExplorer.d.ts +1 -1
- package/dist/data-analytics.css +1 -1
- package/dist/index-DqV9nrrT.cjs +1 -0
- package/dist/index-zwVceLnx.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{plotly.min-DYqaAskA.js → plotly.min-BShBGCmk.js} +1 -1
- package/dist/{plotly.min-wrSXr6b4.cjs → plotly.min-CVXkfdkk.cjs} +1 -1
- package/dist/types/index.d.ts +7 -2
- package/package.json +1 -1
- package/dist/index-CGKlljJK.js +0 -1
- package/dist/index-DWXFNxcN.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Dz=require("./index-DWXFNxcN.cjs");function Fz(n0,md){for(var Op=0;Op<md.length;Op++){const Ff=md[Op];if(typeof Ff!="string"&&!Array.isArray(Ff)){for(const gd in Ff)if(gd!=="default"&&!(gd in n0)){const um=Object.getOwnPropertyDescriptor(Ff,gd);um&&Object.defineProperty(n0,gd,um.get?um:{enumerable:!0,get:()=>Ff[gd]})}}}return Object.freeze(Object.defineProperty(n0,Symbol.toStringTag,{value:"Module"}))}var Cy={exports:{}},Bz=Cy.exports,D4;function Rz(){return D4||(D4=1,(function(n0){(function(md,Op){n0.exports?n0.exports=Op():md.moduleName=Op()})(typeof self<"u"?self:Bz,()=>{var md=(()=>{var Op=Object.create,Ff=Object.defineProperty,gd=Object.defineProperties,um=Object.getOwnPropertyDescriptor,R4=Object.getOwnPropertyDescriptors,N4=Object.getOwnPropertyNames,Sg=Object.getOwnPropertySymbols,j4=Object.getPrototypeOf,Ly=Object.prototype.hasOwnProperty,V_=Object.prototype.propertyIsEnumerable,H_=(K,V,u)=>V in K?Ff(K,V,{enumerable:!0,configurable:!0,writable:!0,value:u}):K[V]=u,vd=(K,V)=>{for(var u in V||(V={}))Ly.call(V,u)&&H_(K,u,V[u]);if(Sg)for(var u of Sg(V))V_.call(V,u)&&H_(K,u,V[u]);return K},cm=(K,V)=>gd(K,R4(V)),U4=(K,V)=>{var u={};for(var d in K)Ly.call(K,d)&&V.indexOf(d)<0&&(u[d]=K[d]);if(K!=null&&Sg)for(var d of Sg(K))V.indexOf(d)<0&&V_.call(K,d)&&(u[d]=K[d]);return u},Bl=(K,V)=>()=>(K&&(V=K(K=0)),V),Vt=(K,V)=>()=>(V||K((V={exports:{}}).exports,V),V.exports),q_=(K,V)=>{for(var u in V)Ff(K,u,{get:V[u],enumerable:!0})},W_=(K,V,u,d)=>{if(V&&typeof V=="object"||typeof V=="function")for(let E of N4(V))!Ly.call(K,E)&&E!==u&&Ff(K,E,{get:()=>V[E],enumerable:!(d=um(V,E))||d.enumerable});return K},V4=(K,V,u)=>(u=K!=null?Op(j4(K)):{},W_(Ff(u,"default",{value:K,enumerable:!0}),K)),yd=K=>W_(Ff({},"__esModule",{value:!0}),K),Iy=Vt(K=>{K.version="3.4.0"}),H4=Vt((K,V)=>{(function(u,d,E){d[u]=d[u]||E(),typeof V<"u"&&V.exports&&(V.exports=d[u])})("Promise",typeof window<"u"?window:K,function(){var u,d,E,A=Object.prototype.toString,t=typeof setImmediate<"u"?function(_){return setImmediate(_)}:setTimeout;try{Object.defineProperty({},"x",{}),u=function(_,l,x,y){return Object.defineProperty(_,l,{value:x,writable:!0,configurable:y!==!1})}}catch{u=function(l,x,y){return l[x]=y,l}}E=(function(){var _,l,x;function y(M,w){this.fn=M,this.self=w,this.next=void 0}return{add:function(M,w){x=new y(M,w),l?l.next=x:_=x,l=x,x=void 0},drain:function(){var M=_;for(_=l=d=void 0;M;)M.fn.call(M.self),M=M.next}}})();function e(_,l){E.add(_,l),d||(d=t(E.drain))}function r(_){var l,x=typeof _;return _!=null&&(x=="object"||x=="function")&&(l=_.then),typeof l=="function"?l:!1}function i(){for(var _=0;_<this.chain.length;_++)n(this,this.state===1?this.chain[_].success:this.chain[_].failure,this.chain[_]);this.chain.length=0}function n(_,l,x){var y,M;try{l===!1?x.reject(_.msg):(l===!0?y=_.msg:y=l.call(void 0,_.msg),y===x.promise?x.reject(TypeError("Promise-chain cycle")):(M=r(y))?M.call(y,x.resolve,x.reject):x.resolve(y))}catch(w){x.reject(w)}}function o(_){var l,x=this;if(!x.triggered){x.triggered=!0,x.def&&(x=x.def);try{(l=r(_))?e(function(){var y=new h(x);try{l.call(_,function(){o.apply(y,arguments)},function(){a.apply(y,arguments)})}catch(M){a.call(y,M)}}):(x.msg=_,x.state=1,x.chain.length>0&&e(i,x))}catch(y){a.call(new h(x),y)}}}function a(_){var l=this;l.triggered||(l.triggered=!0,l.def&&(l=l.def),l.msg=_,l.state=2,l.chain.length>0&&e(i,l))}function s(_,l,x,y){for(var M=0;M<l.length;M++)(function(w){_.resolve(l[w]).then(function(S){x(w,S)},y)})(M)}function h(_){this.def=_,this.triggered=!1}function g(_){this.promise=_,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function v(_){if(typeof _!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var l=new g(this);this.then=function(x,y){var M={success:typeof x=="function"?x:!0,failure:typeof y=="function"?y:!1};return M.promise=new this.constructor(function(w,S){if(typeof w!="function"||typeof S!="function")throw TypeError("Not a function");M.resolve=w,M.reject=S}),l.chain.push(M),l.state!==0&&e(i,l),M.promise},this.catch=function(x){return this.then(void 0,x)};try{_.call(void 0,function(x){o.call(l,x)},function(x){a.call(l,x)})}catch(x){a.call(l,x)}}var p=u({},"constructor",v,!1);return v.prototype=p,u(p,"__NPO__",0,!1),u(v,"resolve",function(_){var l=this;return _&&typeof _=="object"&&_.__NPO__===1?_:new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");x(_)})}),u(v,"reject",function(_){return new this(function(l,x){if(typeof l!="function"||typeof x!="function")throw TypeError("Not a function");x(_)})}),u(v,"all",function(_){var l=this;return A.call(_)!="[object Array]"?l.reject(TypeError("Not an array")):_.length===0?l.resolve([]):new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");var M=_.length,w=Array(M),S=0;s(l,_,function(T,c){w[T]=c,++S===M&&x(w)},y)})}),u(v,"race",function(_){var l=this;return A.call(_)!="[object Array]"?l.reject(TypeError("Not an array")):new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");s(l,_,function(M,w){x(w)},y)})}),v})}),Ni=Vt((K,V)=>{(function(){var u={version:"3.8.2"},d=[].slice,E=function(gt){return d.call(gt)},A=self.document;function t(gt){return gt&&(gt.ownerDocument||gt.document||gt).documentElement}function e(gt){return gt&&(gt.ownerDocument&>.ownerDocument.defaultView||gt.document&>||gt.defaultView)}if(A)try{E(A.documentElement.childNodes)[0].nodeType}catch{E=function(Et){for(var Gt=Et.length,ce=new Array(Gt);Gt--;)ce[Gt]=Et[Gt];return ce}}if(Date.now||(Date.now=function(){return+new Date}),A)try{A.createElement("DIV").style.setProperty("opacity",0,"")}catch{var r=this.Element.prototype,i=r.setAttribute,n=r.setAttributeNS,o=this.CSSStyleDeclaration.prototype,a=o.setProperty;r.setAttribute=function(Et,Gt){i.call(this,Et,Gt+"")},r.setAttributeNS=function(Et,Gt,ce){n.call(this,Et,Gt,ce+"")},o.setProperty=function(Et,Gt,ce){a.call(this,Et,Gt+"",ce)}}u.ascending=s;function s(gt,Et){return gt<Et?-1:gt>Et?1:gt>=Et?0:NaN}u.descending=function(gt,Et){return Et<gt?-1:Et>gt?1:Et>=gt?0:NaN},u.min=function(gt,Et){var Gt=-1,ce=gt.length,me,Te;if(arguments.length===1){for(;++Gt<ce;)if((Te=gt[Gt])!=null&&Te>=Te){me=Te;break}for(;++Gt<ce;)(Te=gt[Gt])!=null&&me>Te&&(me=Te)}else{for(;++Gt<ce;)if((Te=Et.call(gt,gt[Gt],Gt))!=null&&Te>=Te){me=Te;break}for(;++Gt<ce;)(Te=Et.call(gt,gt[Gt],Gt))!=null&&me>Te&&(me=Te)}return me},u.max=function(gt,Et){var Gt=-1,ce=gt.length,me,Te;if(arguments.length===1){for(;++Gt<ce;)if((Te=gt[Gt])!=null&&Te>=Te){me=Te;break}for(;++Gt<ce;)(Te=gt[Gt])!=null&&Te>me&&(me=Te)}else{for(;++Gt<ce;)if((Te=Et.call(gt,gt[Gt],Gt))!=null&&Te>=Te){me=Te;break}for(;++Gt<ce;)(Te=Et.call(gt,gt[Gt],Gt))!=null&&Te>me&&(me=Te)}return me},u.extent=function(gt,Et){var Gt=-1,ce=gt.length,me,Te,Ve;if(arguments.length===1){for(;++Gt<ce;)if((Te=gt[Gt])!=null&&Te>=Te){me=Ve=Te;break}for(;++Gt<ce;)(Te=gt[Gt])!=null&&(me>Te&&(me=Te),Ve<Te&&(Ve=Te))}else{for(;++Gt<ce;)if((Te=Et.call(gt,gt[Gt],Gt))!=null&&Te>=Te){me=Ve=Te;break}for(;++Gt<ce;)(Te=Et.call(gt,gt[Gt],Gt))!=null&&(me>Te&&(me=Te),Ve<Te&&(Ve=Te))}return[me,Ve]};function h(gt){return gt===null?NaN:+gt}function g(gt){return!isNaN(gt)}u.sum=function(gt,Et){var Gt=0,ce=gt.length,me,Te=-1;if(arguments.length===1)for(;++Te<ce;)g(me=+gt[Te])&&(Gt+=me);else for(;++Te<ce;)g(me=+Et.call(gt,gt[Te],Te))&&(Gt+=me);return Gt},u.mean=function(gt,Et){var Gt=0,ce=gt.length,me,Te=-1,Ve=ce;if(arguments.length===1)for(;++Te<ce;)g(me=h(gt[Te]))?Gt+=me:--Ve;else for(;++Te<ce;)g(me=h(Et.call(gt,gt[Te],Te)))?Gt+=me:--Ve;if(Ve)return Gt/Ve},u.quantile=function(gt,Et){var Gt=(gt.length-1)*Et+1,ce=Math.floor(Gt),me=+gt[ce-1],Te=Gt-ce;return Te?me+Te*(gt[ce]-me):me},u.median=function(gt,Et){var Gt=[],ce=gt.length,me,Te=-1;if(arguments.length===1)for(;++Te<ce;)g(me=h(gt[Te]))&&Gt.push(me);else for(;++Te<ce;)g(me=h(Et.call(gt,gt[Te],Te)))&&Gt.push(me);if(Gt.length)return u.quantile(Gt.sort(s),.5)},u.variance=function(gt,Et){var Gt=gt.length,ce=0,me,Te,Ve=0,Ue=-1,or=0;if(arguments.length===1)for(;++Ue<Gt;)g(me=h(gt[Ue]))&&(Te=me-ce,ce+=Te/++or,Ve+=Te*(me-ce));else for(;++Ue<Gt;)g(me=h(Et.call(gt,gt[Ue],Ue)))&&(Te=me-ce,ce+=Te/++or,Ve+=Te*(me-ce));if(or>1)return Ve/(or-1)},u.deviation=function(){var gt=u.variance.apply(this,arguments);return gt&&Math.sqrt(gt)};function v(gt){return{left:function(Et,Gt,ce,me){for(arguments.length<3&&(ce=0),arguments.length<4&&(me=Et.length);ce<me;){var Te=ce+me>>>1;gt(Et[Te],Gt)<0?ce=Te+1:me=Te}return ce},right:function(Et,Gt,ce,me){for(arguments.length<3&&(ce=0),arguments.length<4&&(me=Et.length);ce<me;){var Te=ce+me>>>1;gt(Et[Te],Gt)>0?me=Te:ce=Te+1}return ce}}}var p=v(s);u.bisectLeft=p.left,u.bisect=u.bisectRight=p.right,u.bisector=function(gt){return v(gt.length===1?function(Et,Gt){return s(gt(Et),Gt)}:gt)},u.shuffle=function(gt,Et,Gt){(ce=arguments.length)<3&&(Gt=gt.length,ce<2&&(Et=0));for(var ce=Gt-Et,me,Te;ce;)Te=Math.random()*ce--|0,me=gt[ce+Et],gt[ce+Et]=gt[Te+Et],gt[Te+Et]=me;return gt},u.permute=function(gt,Et){for(var Gt=Et.length,ce=new Array(Gt);Gt--;)ce[Gt]=gt[Et[Gt]];return ce},u.pairs=function(gt){for(var Et=0,Gt=gt.length-1,ce,me=gt[0],Te=new Array(Gt<0?0:Gt);Et<Gt;)Te[Et]=[ce=me,me=gt[++Et]];return Te},u.transpose=function(gt){if(!(Te=gt.length))return[];for(var Et=-1,Gt=u.min(gt,_),ce=new Array(Gt);++Et<Gt;)for(var me=-1,Te,Ve=ce[Et]=new Array(Te);++me<Te;)Ve[me]=gt[me][Et];return ce};function _(gt){return gt.length}u.zip=function(){return u.transpose(arguments)},u.keys=function(gt){var Et=[];for(var Gt in gt)Et.push(Gt);return Et},u.values=function(gt){var Et=[];for(var Gt in gt)Et.push(gt[Gt]);return Et},u.entries=function(gt){var Et=[];for(var Gt in gt)Et.push({key:Gt,value:gt[Gt]});return Et},u.merge=function(gt){for(var Et=gt.length,Gt,ce=-1,me=0,Te,Ve;++ce<Et;)me+=gt[ce].length;for(Te=new Array(me);--Et>=0;)for(Ve=gt[Et],Gt=Ve.length;--Gt>=0;)Te[--me]=Ve[Gt];return Te};var l=Math.abs;u.range=function(gt,Et,Gt){if(arguments.length<3&&(Gt=1,arguments.length<2&&(Et=gt,gt=0)),(Et-gt)/Gt===1/0)throw new Error("infinite range");var ce=[],me=x(l(Gt)),Te=-1,Ve;if(gt*=me,Et*=me,Gt*=me,Gt<0)for(;(Ve=gt+Gt*++Te)>Et;)ce.push(Ve/me);else for(;(Ve=gt+Gt*++Te)<Et;)ce.push(Ve/me);return ce};function x(gt){for(var Et=1;gt*Et%1;)Et*=10;return Et}function y(gt,Et){for(var Gt in Et)Object.defineProperty(gt.prototype,Gt,{value:Et[Gt],enumerable:!1})}u.map=function(gt,Et){var Gt=new M;if(gt instanceof M)gt.forEach(function(Ue,or){Gt.set(Ue,or)});else if(Array.isArray(gt)){var ce=-1,me=gt.length,Te;if(arguments.length===1)for(;++ce<me;)Gt.set(ce,gt[ce]);else for(;++ce<me;)Gt.set(Et.call(gt,Te=gt[ce],ce),Te)}else for(var Ve in gt)Gt.set(Ve,gt[Ve]);return Gt};function M(){this._=Object.create(null)}var w="__proto__",S="\0";y(M,{has:f,get:function(gt){return this._[T(gt)]},set:function(gt,Et){return this._[T(gt)]=Et},remove:k,keys:b,values:function(){var gt=[];for(var Et in this._)gt.push(this._[Et]);return gt},entries:function(){var gt=[];for(var Et in this._)gt.push({key:c(Et),value:this._[Et]});return gt},size:O,empty:L,forEach:function(gt){for(var Et in this._)gt.call(this,c(Et),this._[Et])}});function T(gt){return(gt+="")===w||gt[0]===S?S+gt:gt}function c(gt){return(gt+="")[0]===S?gt.slice(1):gt}function f(gt){return T(gt)in this._}function k(gt){return(gt=T(gt))in this._&&delete this._[gt]}function b(){var gt=[];for(var Et in this._)gt.push(c(Et));return gt}function O(){var gt=0;for(var Et in this._)++gt;return gt}function L(){for(var gt in this._)return!1;return!0}u.nest=function(){var gt={},Et=[],Gt=[],ce,me;function Te(Ue,or,Ir){if(Ir>=Et.length)return me?me.call(gt,or):ce?or.sort(ce):or;for(var Sr=-1,Zr=or.length,an=Et[Ir++],on,ta,fn,Bn=new M,Hn;++Sr<Zr;)(Hn=Bn.get(on=an(ta=or[Sr])))?Hn.push(ta):Bn.set(on,[ta]);return Ue?(ta=Ue(),fn=function(Yn,na){ta.set(Yn,Te(Ue,na,Ir))}):(ta={},fn=function(Yn,na){ta[Yn]=Te(Ue,na,Ir)}),Bn.forEach(fn),ta}function Ve(Ue,or){if(or>=Et.length)return Ue;var Ir=[],Sr=Gt[or++];return Ue.forEach(function(Zr,an){Ir.push({key:Zr,values:Ve(an,or)})}),Sr?Ir.sort(function(Zr,an){return Sr(Zr.key,an.key)}):Ir}return gt.map=function(Ue,or){return Te(or,Ue,0)},gt.entries=function(Ue){return Ve(Te(u.map,Ue,0),0)},gt.key=function(Ue){return Et.push(Ue),gt},gt.sortKeys=function(Ue){return Gt[Et.length-1]=Ue,gt},gt.sortValues=function(Ue){return ce=Ue,gt},gt.rollup=function(Ue){return me=Ue,gt},gt},u.set=function(gt){var Et=new F;if(gt)for(var Gt=0,ce=gt.length;Gt<ce;++Gt)Et.add(gt[Gt]);return Et};function F(){this._=Object.create(null)}y(F,{has:f,add:function(gt){return this._[T(gt+="")]=!0,gt},remove:k,values:b,size:O,empty:L,forEach:function(gt){for(var Et in this._)gt.call(this,c(Et))}}),u.behavior={};function B(gt){return gt}u.rebind=function(gt,Et){for(var Gt=1,ce=arguments.length,me;++Gt<ce;)gt[me=arguments[Gt]]=R(gt,Et,Et[me]);return gt};function R(gt,Et,Gt){return function(){var ce=Gt.apply(Et,arguments);return ce===Et?gt:ce}}function z(gt,Et){if(Et in gt)return Et;Et=Et.charAt(0).toUpperCase()+Et.slice(1);for(var Gt=0,ce=D.length;Gt<ce;++Gt){var me=D[Gt]+Et;if(me in gt)return me}}var D=["webkit","ms","moz","Moz","o","O"];function j(){}u.dispatch=function(){for(var gt=new N,Et=-1,Gt=arguments.length;++Et<Gt;)gt[arguments[Et]]=Z(gt);return gt};function N(){}N.prototype.on=function(gt,Et){var Gt=gt.indexOf("."),ce="";if(Gt>=0&&(ce=gt.slice(Gt+1),gt=gt.slice(0,Gt)),gt)return arguments.length<2?this[gt].on(ce):this[gt].on(ce,Et);if(arguments.length===2){if(Et==null)for(gt in this)this.hasOwnProperty(gt)&&this[gt].on(ce,null);return this}};function Z(gt){var Et=[],Gt=new M;function ce(){for(var me=Et,Te=-1,Ve=me.length,Ue;++Te<Ve;)(Ue=me[Te].on)&&Ue.apply(this,arguments);return gt}return ce.on=function(me,Te){var Ve=Gt.get(me),Ue;return arguments.length<2?Ve&&Ve.on:(Ve&&(Ve.on=null,Et=Et.slice(0,Ue=Et.indexOf(Ve)).concat(Et.slice(Ue+1)),Gt.remove(me)),Te&&Et.push(Gt.set(me,{on:Te})),gt)},ce}u.event=null;function rt(){u.event.preventDefault()}function lt(){for(var gt=u.event,Et;Et=gt.sourceEvent;)gt=Et;return gt}function st(gt){for(var Et=new N,Gt=0,ce=arguments.length;++Gt<ce;)Et[arguments[Gt]]=Z(Et);return Et.of=function(me,Te){return function(Ve){try{var Ue=Ve.sourceEvent=u.event;Ve.target=gt,u.event=Ve,Et[Ve.type].apply(me,Te)}finally{u.event=Ue}}},Et}u.requote=function(gt){return gt.replace(tt,"\\$&")};var tt=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,G={}.__proto__?function(gt,Et){gt.__proto__=Et}:function(gt,Et){for(var Gt in Et)gt[Gt]=Et[Gt]};function nt(gt){return G(gt,$),gt}var Y=function(gt,Et){return Et.querySelector(gt)},Q=function(gt,Et){return Et.querySelectorAll(gt)},ut=function(gt,Et){var Gt=gt.matches||gt[z(gt,"matchesSelector")];return ut=function(ce,me){return Gt.call(ce,me)},ut(gt,Et)};typeof Sizzle=="function"&&(Y=function(gt,Et){return Sizzle(gt,Et)[0]||null},Q=Sizzle,ut=Sizzle.matchesSelector),u.selection=function(){return u.select(A.documentElement)};var $=u.selection.prototype=[];$.select=function(gt){var Et=[],Gt,ce,me,Te;gt=H(gt);for(var Ve=-1,Ue=this.length;++Ve<Ue;){Et.push(Gt=[]),Gt.parentNode=(me=this[Ve]).parentNode;for(var or=-1,Ir=me.length;++or<Ir;)(Te=me[or])?(Gt.push(ce=gt.call(Te,Te.__data__,or,Ve)),ce&&"__data__"in Te&&(ce.__data__=Te.__data__)):Gt.push(null)}return nt(Et)};function H(gt){return typeof gt=="function"?gt:function(){return Y(gt,this)}}$.selectAll=function(gt){var Et=[],Gt,ce;gt=it(gt);for(var me=-1,Te=this.length;++me<Te;)for(var Ve=this[me],Ue=-1,or=Ve.length;++Ue<or;)(ce=Ve[Ue])&&(Et.push(Gt=E(gt.call(ce,ce.__data__,Ue,me))),Gt.parentNode=ce);return nt(Et)};function it(gt){return typeof gt=="function"?gt:function(){return Q(gt,this)}}var at="http://www.w3.org/1999/xhtml",dt={svg:"http://www.w3.org/2000/svg",xhtml:at,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};u.ns={prefix:dt,qualify:function(gt){var Et=gt.indexOf(":"),Gt=gt;return Et>=0&&(Gt=gt.slice(0,Et))!=="xmlns"&&(gt=gt.slice(Et+1)),dt.hasOwnProperty(Gt)?{space:dt[Gt],local:gt}:gt}},$.attr=function(gt,Et){if(arguments.length<2){if(typeof gt=="string"){var Gt=this.node();return gt=u.ns.qualify(gt),gt.local?Gt.getAttributeNS(gt.space,gt.local):Gt.getAttribute(gt)}for(Et in gt)this.each(Tt(Et,gt[Et]));return this}return this.each(Tt(gt,Et))};function Tt(gt,Et){gt=u.ns.qualify(gt);function Gt(){this.removeAttribute(gt)}function ce(){this.removeAttributeNS(gt.space,gt.local)}function me(){this.setAttribute(gt,Et)}function Te(){this.setAttributeNS(gt.space,gt.local,Et)}function Ve(){var or=Et.apply(this,arguments);or==null?this.removeAttribute(gt):this.setAttribute(gt,or)}function Ue(){var or=Et.apply(this,arguments);or==null?this.removeAttributeNS(gt.space,gt.local):this.setAttributeNS(gt.space,gt.local,or)}return Et==null?gt.local?ce:Gt:typeof Et=="function"?gt.local?Ue:Ve:gt.local?Te:me}function xt(gt){return gt.trim().replace(/\s+/g," ")}$.classed=function(gt,Et){if(arguments.length<2){if(typeof gt=="string"){var Gt=this.node(),ce=(gt=Ot(gt)).length,me=-1;if(Et=Gt.classList){for(;++me<ce;)if(!Et.contains(gt[me]))return!1}else for(Et=Gt.getAttribute("class");++me<ce;)if(!Ct(gt[me]).test(Et))return!1;return!0}for(Et in gt)this.each(Rt(Et,gt[Et]));return this}return this.each(Rt(gt,Et))};function Ct(gt){return new RegExp("(?:^|\\s+)"+u.requote(gt)+"(?:\\s+|$)","g")}function Ot(gt){return(gt+"").trim().split(/^|\s+/)}function Rt(gt,Et){gt=Ot(gt).map(te);var Gt=gt.length;function ce(){for(var Te=-1;++Te<Gt;)gt[Te](this,Et)}function me(){for(var Te=-1,Ve=Et.apply(this,arguments);++Te<Gt;)gt[Te](this,Ve)}return typeof Et=="function"?me:ce}function te(gt){var Et=Ct(gt);return function(Gt,ce){if(me=Gt.classList)return ce?me.add(gt):me.remove(gt);var me=Gt.getAttribute("class")||"";ce?(Et.lastIndex=0,Et.test(me)||Gt.setAttribute("class",xt(me+" "+gt))):Gt.setAttribute("class",xt(me.replace(Et," ")))}}$.style=function(gt,Et,Gt){var ce=arguments.length;if(ce<3){if(typeof gt!="string"){ce<2&&(Et="");for(Gt in gt)this.each($t(Gt,gt[Gt],Et));return this}if(ce<2){var me=this.node();return e(me).getComputedStyle(me,null).getPropertyValue(gt)}Gt=""}return this.each($t(gt,Et,Gt))};function $t(gt,Et,Gt){function ce(){this.style.removeProperty(gt)}function me(){this.style.setProperty(gt,Et,Gt)}function Te(){var Ve=Et.apply(this,arguments);Ve==null?this.style.removeProperty(gt):this.style.setProperty(gt,Ve,Gt)}return Et==null?ce:typeof Et=="function"?Te:me}$.property=function(gt,Et){if(arguments.length<2){if(typeof gt=="string")return this.node()[gt];for(Et in gt)this.each(ee(Et,gt[Et]));return this}return this.each(ee(gt,Et))};function ee(gt,Et){function Gt(){delete this[gt]}function ce(){this[gt]=Et}function me(){var Te=Et.apply(this,arguments);Te==null?delete this[gt]:this[gt]=Te}return Et==null?Gt:typeof Et=="function"?me:ce}$.text=function(gt){return arguments.length?this.each(typeof gt=="function"?function(){var Et=gt.apply(this,arguments);this.textContent=Et??""}:gt==null?function(){this.textContent=""}:function(){this.textContent=gt}):this.node().textContent},$.html=function(gt){return arguments.length?this.each(typeof gt=="function"?function(){var Et=gt.apply(this,arguments);this.innerHTML=Et??""}:gt==null?function(){this.innerHTML=""}:function(){this.innerHTML=gt}):this.node().innerHTML},$.append=function(gt){return gt=Xt(gt),this.select(function(){return this.appendChild(gt.apply(this,arguments))})};function Xt(gt){function Et(){var ce=this.ownerDocument,me=this.namespaceURI;return me===at&&ce.documentElement.namespaceURI===at?ce.createElement(gt):ce.createElementNS(me,gt)}function Gt(){return this.ownerDocument.createElementNS(gt.space,gt.local)}return typeof gt=="function"?gt:(gt=u.ns.qualify(gt)).local?Gt:Et}$.insert=function(gt,Et){return gt=Xt(gt),Et=H(Et),this.select(function(){return this.insertBefore(gt.apply(this,arguments),Et.apply(this,arguments)||null)})},$.remove=function(){return this.each(mt)};function mt(){var gt=this.parentNode;gt&>.removeChild(this)}$.data=function(gt,Et){var Gt=-1,ce=this.length,me,Te;if(!arguments.length){for(gt=new Array(ce=(me=this[0]).length);++Gt<ce;)(Te=me[Gt])&&(gt[Gt]=Te.__data__);return gt}function Ve(Sr,Zr){var an,on=Sr.length,ta=Zr.length,fn=Math.min(on,ta),Bn=new Array(ta),Hn=new Array(ta),Yn=new Array(on),na,_n;if(Et){var Ha=new M,Wa=new Array(on),ri;for(an=-1;++an<on;)(na=Sr[an])&&(Ha.has(ri=Et.call(na,na.__data__,an))?Yn[an]=na:Ha.set(ri,na),Wa[an]=ri);for(an=-1;++an<ta;)(na=Ha.get(ri=Et.call(Zr,_n=Zr[an],an)))?na!==!0&&(Bn[an]=na,na.__data__=_n):Hn[an]=bt(_n),Ha.set(ri,!0);for(an=-1;++an<on;)an in Wa&&Ha.get(Wa[an])!==!0&&(Yn[an]=Sr[an])}else{for(an=-1;++an<fn;)na=Sr[an],_n=Zr[an],na?(na.__data__=_n,Bn[an]=na):Hn[an]=bt(_n);for(;an<ta;++an)Hn[an]=bt(Zr[an]);for(;an<on;++an)Yn[an]=Sr[an]}Hn.update=Bn,Hn.parentNode=Bn.parentNode=Yn.parentNode=Sr.parentNode,Ue.push(Hn),or.push(Bn),Ir.push(Yn)}var Ue=Kt([]),or=nt([]),Ir=nt([]);if(typeof gt=="function")for(;++Gt<ce;)Ve(me=this[Gt],gt.call(me,me.parentNode.__data__,Gt));else for(;++Gt<ce;)Ve(me=this[Gt],gt);return or.enter=function(){return Ue},or.exit=function(){return Ir},or};function bt(gt){return{__data__:gt}}$.datum=function(gt){return arguments.length?this.property("__data__",gt):this.property("__data__")},$.filter=function(gt){var Et=[],Gt,ce,me;typeof gt!="function"&&(gt=vt(gt));for(var Te=0,Ve=this.length;Te<Ve;Te++){Et.push(Gt=[]),Gt.parentNode=(ce=this[Te]).parentNode;for(var Ue=0,or=ce.length;Ue<or;Ue++)(me=ce[Ue])&>.call(me,me.__data__,Ue,Te)&&Gt.push(me)}return nt(Et)};function vt(gt){return function(){return ut(this,gt)}}$.order=function(){for(var gt=-1,Et=this.length;++gt<Et;)for(var Gt=this[gt],ce=Gt.length-1,me=Gt[ce],Te;--ce>=0;)(Te=Gt[ce])&&(me&&me!==Te.nextSibling&&me.parentNode.insertBefore(Te,me),me=Te);return this},$.sort=function(gt){gt=Ut.apply(this,arguments);for(var Et=-1,Gt=this.length;++Et<Gt;)this[Et].sort(gt);return this.order()};function Ut(gt){return arguments.length||(gt=s),function(Et,Gt){return Et&&Gt?gt(Et.__data__,Gt.__data__):!Et-!Gt}}$.each=function(gt){return re(this,function(Et,Gt,ce){gt.call(Et,Et.__data__,Gt,ce)})};function re(gt,Et){for(var Gt=0,ce=gt.length;Gt<ce;Gt++)for(var me=gt[Gt],Te=0,Ve=me.length,Ue;Te<Ve;Te++)(Ue=me[Te])&&Et(Ue,Te,Gt);return gt}$.call=function(gt){var Et=E(arguments);return gt.apply(Et[0]=this,Et),this},$.empty=function(){return!this.node()},$.node=function(){for(var gt=0,Et=this.length;gt<Et;gt++)for(var Gt=this[gt],ce=0,me=Gt.length;ce<me;ce++){var Te=Gt[ce];if(Te)return Te}return null},$.size=function(){var gt=0;return re(this,function(){++gt}),gt};function Kt(gt){return G(gt,se),gt}var se=[];u.selection.enter=Kt,u.selection.enter.prototype=se,se.append=$.append,se.empty=$.empty,se.node=$.node,se.call=$.call,se.size=$.size,se.select=function(gt){for(var Et=[],Gt,ce,me,Te,Ve,Ue=-1,or=this.length;++Ue<or;){me=(Te=this[Ue]).update,Et.push(Gt=[]),Gt.parentNode=Te.parentNode;for(var Ir=-1,Sr=Te.length;++Ir<Sr;)(Ve=Te[Ir])?(Gt.push(me[Ir]=ce=gt.call(Te.parentNode,Ve.__data__,Ir,Ue)),ce.__data__=Ve.__data__):Gt.push(null)}return nt(Et)},se.insert=function(gt,Et){return arguments.length<2&&(Et=Se(this)),$.insert.call(this,gt,Et)};function Se(gt){var Et,Gt;return function(ce,me,Te){var Ve=gt[Te].update,Ue=Ve.length,or;for(Te!=Gt&&(Gt=Te,Et=0),me>=Et&&(Et=me+1);!(or=Ve[Et])&&++Et<Ue;);return or}}u.select=function(gt){var Et;return typeof gt=="string"?(Et=[Y(gt,A)],Et.parentNode=A.documentElement):(Et=[gt],Et.parentNode=t(gt)),nt([Et])},u.selectAll=function(gt){var Et;return typeof gt=="string"?(Et=E(Q(gt,A)),Et.parentNode=A.documentElement):(Et=E(gt),Et.parentNode=null),nt([Et])},$.on=function(gt,Et,Gt){var ce=arguments.length;if(ce<3){if(typeof gt!="string"){ce<2&&(Et=!1);for(Gt in gt)this.each(Pe(Gt,gt[Gt],Et));return this}if(ce<2)return(ce=this.node()["__on"+gt])&&ce._;Gt=!1}return this.each(Pe(gt,Et,Gt))};function Pe(gt,Et,Gt){var ce="__on"+gt,me=gt.indexOf("."),Te=qe;me>0&&(gt=gt.slice(0,me));var Ve=We.get(gt);Ve&&(gt=Ve,Te=gr);function Ue(){var Sr=this[ce];Sr&&(this.removeEventListener(gt,Sr,Sr.$),delete this[ce])}function or(){var Sr=Te(Et,E(arguments));Ue.call(this),this.addEventListener(gt,this[ce]=Sr,Sr.$=Gt),Sr._=Et}function Ir(){var Sr=new RegExp("^__on([^.]+)"+u.requote(gt)+"$"),Zr;for(var an in this)if(Zr=an.match(Sr)){var on=this[an];this.removeEventListener(Zr[1],on,on.$),delete this[an]}}return me?Et?or:Ue:Et?j:Ir}var We=u.map({mouseenter:"mouseover",mouseleave:"mouseout"});A&&We.forEach(function(gt){"on"+gt in A&&We.remove(gt)});function qe(gt,Et){return function(Gt){var ce=u.event;u.event=Gt,Et[0]=this.__data__;try{gt.apply(this,Et)}finally{u.event=ce}}}function gr(gt,Et){var Gt=qe(gt,Et);return function(ce){var me=this,Te=ce.relatedTarget;(!Te||Te!==me&&!(Te.compareDocumentPosition(me)&8))&&Gt.call(me,ce)}}var _r,Qe=0;function Er(gt){var Et=".dragsuppress-"+ ++Qe,Gt="click"+Et,ce=u.select(e(gt)).on("touchmove"+Et,rt).on("dragstart"+Et,rt).on("selectstart"+Et,rt);if(_r==null&&(_r="onselectstart"in gt?!1:z(gt.style,"userSelect")),_r){var me=t(gt).style,Te=me[_r];me[_r]="none"}return function(Ve){if(ce.on(Et,null),_r&&(me[_r]=Te),Ve){var Ue=function(){ce.on(Gt,null)};ce.on(Gt,function(){rt(),Ue()},!0),setTimeout(Ue,0)}}}u.mouse=function(gt){return de(gt,lt())};var zr=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function de(gt,Et){Et.changedTouches&&(Et=Et.changedTouches[0]);var Gt=gt.ownerSVGElement||gt;if(Gt.createSVGPoint){var ce=Gt.createSVGPoint();if(zr<0){var me=e(gt);if(me.scrollX||me.scrollY){Gt=u.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var Te=Gt[0][0].getScreenCTM();zr=!(Te.f||Te.e),Gt.remove()}}return zr?(ce.x=Et.pageX,ce.y=Et.pageY):(ce.x=Et.clientX,ce.y=Et.clientY),ce=ce.matrixTransform(gt.getScreenCTM().inverse()),[ce.x,ce.y]}var Ve=gt.getBoundingClientRect();return[Et.clientX-Ve.left-gt.clientLeft,Et.clientY-Ve.top-gt.clientTop]}u.touch=function(gt,Et,Gt){if(arguments.length<3&&(Gt=Et,Et=lt().changedTouches),Et){for(var ce=0,me=Et.length,Te;ce<me;++ce)if((Te=Et[ce]).identifier===Gt)return de(gt,Te)}},u.behavior.drag=function(){var gt=st(me,"drag","dragstart","dragend"),Et=null,Gt=Te(j,u.mouse,e,"mousemove","mouseup"),ce=Te(Dt,u.touch,B,"touchmove","touchend");function me(){this.on("mousedown.drag",Gt).on("touchstart.drag",ce)}function Te(Ve,Ue,or,Ir,Sr){return function(){var Zr=this,an=u.event.target.correspondingElement||u.event.target,on=Zr.parentNode,ta=gt.of(Zr,arguments),fn=0,Bn=Ve(),Hn=".drag"+(Bn==null?"":"-"+Bn),Yn,na=u.select(or(an)).on(Ir+Hn,Wa).on(Sr+Hn,ri),_n=Er(an),Ha=Ue(on,Bn);Et?(Yn=Et.apply(Zr,arguments),Yn=[Yn.x-Ha[0],Yn.y-Ha[1]]):Yn=[0,0],ta({type:"dragstart"});function Wa(){var xi=Ue(on,Bn),ki,Ci;xi&&(ki=xi[0]-Ha[0],Ci=xi[1]-Ha[1],fn|=ki|Ci,Ha=xi,ta({type:"drag",x:xi[0]+Yn[0],y:xi[1]+Yn[1],dx:ki,dy:Ci}))}function ri(){Ue(on,Bn)&&(na.on(Ir+Hn,null).on(Sr+Hn,null),_n(fn),ta({type:"dragend"}))}}}return me.origin=function(Ve){return arguments.length?(Et=Ve,me):Et},u.rebind(me,gt,"on")};function Dt(){return u.event.changedTouches[0].identifier}u.touches=function(gt,Et){return arguments.length<2&&(Et=lt().touches),Et?E(Et).map(function(Gt){var ce=de(gt,Gt);return ce.identifier=Gt.identifier,ce}):[]};var qt=1e-6,wt=qt*qt,ct=Math.PI,yt=2*ct,St=yt-qt,Ht=ct/2,Yt=ct/180,fe=180/ct;function we(gt,Et,Gt){return(Et[0]-gt[0])*(Gt[1]-gt[1])-(Et[1]-gt[1])*(Gt[0]-gt[0])}function Ae(gt){return gt>1?Ht:gt<-1?-Ht:Math.asin(gt)}function Re(gt){return((gt=Math.exp(gt))-1/gt)/2}function rr(gt){return((gt=Math.exp(gt))+1/gt)/2}function ar(gt){return((gt=Math.exp(2*gt))-1)/(gt+1)}var Ye=Math.SQRT2,Mr=2,pn=4;u.interpolateZoom=function(gt,Et){var Gt=gt[0],ce=gt[1],me=gt[2],Te=Et[0],Ve=Et[1],Ue=Et[2],or=Te-Gt,Ir=Ve-ce,Sr=or*or+Ir*Ir,Zr,an;if(Sr<wt)an=Math.log(Ue/me)/Ye,Zr=function(Yn){return[Gt+Yn*or,ce+Yn*Ir,me*Math.exp(Ye*Yn*an)]};else{var on=Math.sqrt(Sr),ta=(Ue*Ue-me*me+pn*Sr)/(2*me*Mr*on),fn=(Ue*Ue-me*me-pn*Sr)/(2*Ue*Mr*on),Bn=Math.log(Math.sqrt(ta*ta+1)-ta),Hn=Math.log(Math.sqrt(fn*fn+1)-fn);an=(Hn-Bn)/Ye,Zr=function(Yn){var na=Yn*an,_n=rr(Bn),Ha=me/(Mr*on)*(_n*ar(Ye*na+Bn)-Re(Bn));return[Gt+Ha*or,ce+Ha*Ir,me*_n/rr(Ye*na+Bn)]}}return Zr.duration=an*1e3,Zr},u.behavior.zoom=function(){var gt={x:0,y:0,k:1},Et,Gt,ce,me=[960,500],Te=dn,Ve=250,Ue=0,or="mousedown.zoom",Ir="mousemove.zoom",Sr="mouseup.zoom",Zr,an="touchstart.zoom",on,ta=st(na,"zoomstart","zoom","zoomend"),fn,Bn,Hn,Yn;Gn||(Gn="onwheel"in A?(bn=function(){return-u.event.deltaY*(u.event.deltaMode?120:1)},"wheel"):"onmousewheel"in A?(bn=function(){return u.event.wheelDelta},"mousewheel"):(bn=function(){return-u.event.detail},"MozMousePixelScroll"));function na(hi){hi.on(or,$i).on(Gn+".zoom",pl).on("dblclick.zoom",Ns).on(an,es)}na.event=function(hi){hi.each(function(){var Ao=ta.of(this,arguments),Bo=gt;Ai?u.select(this).transition().each("start.zoom",function(){gt=this.__chart__||{x:0,y:0,k:1},Ci(Ao)}).tween("zoom:zoom",function(){var Ds=me[0],Ts=me[1],lu=Gt?Gt[0]:Ds/2,ps=Gt?Gt[1]:Ts/2,Cs=u.interpolateZoom([(lu-gt.x)/gt.k,(ps-gt.y)/gt.k,Ds/gt.k],[(lu-Bo.x)/Bo.k,(ps-Bo.y)/Bo.k,Ds/Bo.k]);return function(Eu){var ie=Cs(Eu),ir=Ds/ie[2];this.__chart__=gt={x:lu-ie[0]*ir,y:ps-ie[1]*ir,k:ir},jo(Ao)}}).each("interrupt.zoom",function(){zi(Ao)}).each("end.zoom",function(){zi(Ao)}):(this.__chart__=gt,Ci(Ao),jo(Ao),zi(Ao))})},na.translate=function(hi){return arguments.length?(gt={x:+hi[0],y:+hi[1],k:gt.k},ki(),na):[gt.x,gt.y]},na.scale=function(hi){return arguments.length?(gt={x:gt.x,y:gt.y,k:null},Wa(+hi),ki(),na):gt.k},na.scaleExtent=function(hi){return arguments.length?(Te=hi==null?dn:[+hi[0],+hi[1]],na):Te},na.center=function(hi){return arguments.length?(ce=hi&&[+hi[0],+hi[1]],na):ce},na.size=function(hi){return arguments.length?(me=hi&&[+hi[0],+hi[1]],na):me},na.duration=function(hi){return arguments.length?(Ve=+hi,na):Ve},na.x=function(hi){return arguments.length?(Bn=hi,fn=hi.copy(),gt={x:0,y:0,k:1},na):Bn},na.y=function(hi){return arguments.length?(Yn=hi,Hn=hi.copy(),gt={x:0,y:0,k:1},na):Yn};function _n(hi){return[(hi[0]-gt.x)/gt.k,(hi[1]-gt.y)/gt.k]}function Ha(hi){return[hi[0]*gt.k+gt.x,hi[1]*gt.k+gt.y]}function Wa(hi){gt.k=Math.max(Te[0],Math.min(Te[1],hi))}function ri(hi,Ao){Ao=Ha(Ao),gt.x+=hi[0]-Ao[0],gt.y+=hi[1]-Ao[1]}function xi(hi,Ao,Bo,Ds){hi.__chart__={x:gt.x,y:gt.y,k:gt.k},Wa(Math.pow(2,Ds)),ri(Gt=Ao,Bo),hi=u.select(hi),Ve>0&&(hi=hi.transition().duration(Ve)),hi.call(na.event)}function ki(){Bn&&Bn.domain(fn.range().map(function(hi){return(hi-gt.x)/gt.k}).map(fn.invert)),Yn&&Yn.domain(Hn.range().map(function(hi){return(hi-gt.y)/gt.k}).map(Hn.invert))}function Ci(hi){Ue++||hi({type:"zoomstart"})}function jo(hi){ki(),hi({type:"zoom",scale:gt.k,translate:[gt.x,gt.y]})}function zi(hi){--Ue||(hi({type:"zoomend"}),Gt=null)}function $i(){var hi=this,Ao=ta.of(hi,arguments),Bo=0,Ds=u.select(e(hi)).on(Ir,ps).on(Sr,Cs),Ts=_n(u.mouse(hi)),lu=Er(hi);$n.call(hi),Ci(Ao);function ps(){Bo=1,ri(u.mouse(hi),Ts),jo(Ao)}function Cs(){Ds.on(Ir,null).on(Sr,null),lu(Bo),zi(Ao)}}function es(){var hi=this,Ao=ta.of(hi,arguments),Bo={},Ds=0,Ts,lu=".zoom-"+u.event.changedTouches[0].identifier,ps="touchmove"+lu,Cs="touchend"+lu,Eu=[],ie=u.select(hi),ir=Er(hi);sn(),Ci(Ao),ie.on(or,null).on(an,sn);function cr(){var Wr=u.touches(hi);return Ts=gt.k,Wr.forEach(function(Sn){Sn.identifier in Bo&&(Bo[Sn.identifier]=_n(Sn))}),Wr}function sn(){var Wr=u.event.target;u.select(Wr).on(ps,Cn).on(Cs,Tn),Eu.push(Wr);for(var Sn=u.event.changedTouches,sa=0,ea=Sn.length;sa<ea;++sa)Bo[Sn[sa].identifier]=null;var ka=cr(),Ka=Date.now();if(ka.length===1){if(Ka-on<500){var Va=ka[0];xi(hi,Va,Bo[Va.identifier],Math.floor(Math.log(gt.k)/Math.LN2)+1),rt()}on=Ka}else if(ka.length>1){var Va=ka[0],ha=ka[1],Un=Va[0]-ha[0],jr=Va[1]-ha[1];Ds=Un*Un+jr*jr}}function Cn(){var Wr=u.touches(hi),Sn,sa,ea,ka;$n.call(hi);for(var Ka=0,Va=Wr.length;Ka<Va;++Ka,ka=null)if(ea=Wr[Ka],ka=Bo[ea.identifier]){if(sa)break;Sn=ea,sa=ka}if(ka){var ha=(ha=ea[0]-Sn[0])*ha+(ha=ea[1]-Sn[1])*ha,Un=Ds&&Math.sqrt(ha/Ds);Sn=[(Sn[0]+ea[0])/2,(Sn[1]+ea[1])/2],sa=[(sa[0]+ka[0])/2,(sa[1]+ka[1])/2],Wa(Un*Ts)}on=null,ri(Sn,sa),jo(Ao)}function Tn(){if(u.event.touches.length){for(var Wr=u.event.changedTouches,Sn=0,sa=Wr.length;Sn<sa;++Sn)delete Bo[Wr[Sn].identifier];for(var ea in Bo)return void cr()}u.selectAll(Eu).on(lu,null),ie.on(or,$i).on(an,es),ir(),zi(Ao)}}function pl(){var hi=ta.of(this,arguments);Zr?clearTimeout(Zr):($n.call(this),Et=_n(Gt=ce||u.mouse(this)),Ci(hi)),Zr=setTimeout(function(){Zr=null,zi(hi)},50),rt(),Wa(Math.pow(2,bn()*.002)*gt.k),ri(Gt,Et),jo(hi)}function Ns(){var hi=u.mouse(this),Ao=Math.log(gt.k)/Math.LN2;xi(this,hi,_n(hi),u.event.shiftKey?Math.ceil(Ao)-1:Math.floor(Ao)+1)}return u.rebind(na,ta,"on")};var dn=[0,1/0],bn,Gn;u.color=En;function En(){}En.prototype.toString=function(){return this.rgb()+""},u.hsl=yn;function yn(gt,Et,Gt){return this instanceof yn?(this.h=+gt,this.s=+Et,void(this.l=+Gt)):arguments.length<2?gt instanceof yn?new yn(gt.h,gt.s,gt.l):br(""+gt,wr,yn):new yn(gt,Et,Gt)}var da=yn.prototype=new En;da.brighter=function(gt){return gt=Math.pow(.7,arguments.length?gt:1),new yn(this.h,this.s,this.l/gt)},da.darker=function(gt){return gt=Math.pow(.7,arguments.length?gt:1),new yn(this.h,this.s,gt*this.l)},da.rgb=function(){return ra(this.h,this.s,this.l)};function ra(gt,Et,Gt){var ce,me;gt=isNaN(gt)?0:(gt%=360)<0?gt+360:gt,Et=isNaN(Et)||Et<0?0:Et>1?1:Et,Gt=Gt<0?0:Gt>1?1:Gt,me=Gt<=.5?Gt*(1+Et):Gt+Et-Gt*Et,ce=2*Gt-me;function Te(Ue){return Ue>360?Ue-=360:Ue<0&&(Ue+=360),Ue<60?ce+(me-ce)*Ue/60:Ue<180?me:Ue<240?ce+(me-ce)*(240-Ue)/60:ce}function Ve(Ue){return Math.round(Te(Ue)*255)}return new Fa(Ve(gt+120),Ve(gt),Ve(gt-120))}u.hcl=Ee;function Ee(gt,Et,Gt){return this instanceof Ee?(this.h=+gt,this.c=+Et,void(this.l=+Gt)):arguments.length<2?gt instanceof Ee?new Ee(gt.h,gt.c,gt.l):gt instanceof er?Kn(gt.l,gt.a,gt.b):Kn((gt=dr((gt=u.rgb(gt)).r,gt.g,gt.b)).l,gt.a,gt.b):new Ee(gt,Et,Gt)}var Ne=Ee.prototype=new En;Ne.brighter=function(gt){return new Ee(this.h,this.c,Math.min(100,this.l+Cr*(arguments.length?gt:1)))},Ne.darker=function(gt){return new Ee(this.h,this.c,Math.max(0,this.l-Cr*(arguments.length?gt:1)))},Ne.rgb=function(){return Ke(this.h,this.c,this.l).rgb()};function Ke(gt,Et,Gt){return isNaN(gt)&&(gt=0),isNaN(Et)&&(Et=0),new er(Gt,Math.cos(gt*=Yt)*Et,Math.sin(gt)*Et)}u.lab=er;function er(gt,Et,Gt){return this instanceof er?(this.l=+gt,this.a=+Et,void(this.b=+Gt)):arguments.length<2?gt instanceof er?new er(gt.l,gt.a,gt.b):gt instanceof Ee?Ke(gt.h,gt.c,gt.l):dr((gt=Fa(gt)).r,gt.g,gt.b):new er(gt,Et,Gt)}var Cr=18,tn=.95047,Yr=1,Jr=1.08883,zn=er.prototype=new En;zn.brighter=function(gt){return new er(Math.min(100,this.l+Cr*(arguments.length?gt:1)),this.a,this.b)},zn.darker=function(gt){return new er(Math.max(0,this.l-Cr*(arguments.length?gt:1)),this.a,this.b)},zn.rgb=function(){return Nn(this.l,this.a,this.b)};function Nn(gt,Et,Gt){var ce=(gt+16)/116,me=ce+Et/500,Te=ce-Gt/200;return me=Jn(me)*tn,ce=Jn(ce)*Yr,Te=Jn(Te)*Jr,new Fa(In(3.2404542*me-1.5371385*ce-.4985314*Te),In(-.969266*me+1.8760108*ce+.041556*Te),In(.0556434*me-.2040259*ce+1.0572252*Te))}function Kn(gt,Et,Gt){return gt>0?new Ee(Math.atan2(Gt,Et)*fe,Math.sqrt(Et*Et+Gt*Gt),gt):new Ee(NaN,NaN,gt)}function Jn(gt){return gt>.206893034?gt*gt*gt:(gt-4/29)/7.787037}function ia(gt){return gt>.008856?Math.pow(gt,1/3):7.787037*gt+4/29}function In(gt){return Math.round(255*(gt<=.00304?12.92*gt:1.055*Math.pow(gt,1/2.4)-.055))}u.rgb=Fa;function Fa(gt,Et,Gt){return this instanceof Fa?(this.r=~~gt,this.g=~~Et,void(this.b=~~Gt)):arguments.length<2?gt instanceof Fa?new Fa(gt.r,gt.g,gt.b):br(""+gt,Fa,ra):new Fa(gt,Et,Gt)}function Za(gt){return new Fa(gt>>16,gt>>8&255,gt&255)}function ve(gt){return Za(gt)+""}var ge=Fa.prototype=new En;ge.brighter=function(gt){gt=Math.pow(.7,arguments.length?gt:1);var Et=this.r,Gt=this.g,ce=this.b,me=30;return!Et&&!Gt&&!ce?new Fa(me,me,me):(Et&&Et<me&&(Et=me),Gt&&Gt<me&&(Gt=me),ce&&ce<me&&(ce=me),new Fa(Math.min(255,Et/gt),Math.min(255,Gt/gt),Math.min(255,ce/gt)))},ge.darker=function(gt){return gt=Math.pow(.7,arguments.length?gt:1),new Fa(gt*this.r,gt*this.g,gt*this.b)},ge.hsl=function(){return wr(this.r,this.g,this.b)},ge.toString=function(){return"#"+mr(this.r)+mr(this.g)+mr(this.b)};function mr(gt){return gt<16?"0"+Math.max(0,gt).toString(16):Math.min(255,gt).toString(16)}function br(gt,Et,Gt){var ce=0,me=0,Te=0,Ve,Ue,or;if(Ve=/([a-z]+)\((.*)\)/.exec(gt=gt.toLowerCase()),Ve)switch(Ue=Ve[2].split(","),Ve[1]){case"hsl":return Gt(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return Et(Nr(Ue[0]),Nr(Ue[1]),Nr(Ue[2]))}return(or=Pr.get(gt))?Et(or.r,or.g,or.b):(gt!=null&>.charAt(0)==="#"&&!isNaN(or=parseInt(gt.slice(1),16))&&(gt.length===4?(ce=(or&3840)>>4,ce=ce>>4|ce,me=or&240,me=me>>4|me,Te=or&15,Te=Te<<4|Te):gt.length===7&&(ce=(or&16711680)>>16,me=(or&65280)>>8,Te=or&255)),Et(ce,me,Te))}function wr(gt,Et,Gt){var ce=Math.min(gt/=255,Et/=255,Gt/=255),me=Math.max(gt,Et,Gt),Te=me-ce,Ve,Ue,or=(me+ce)/2;return Te?(Ue=or<.5?Te/(me+ce):Te/(2-me-ce),gt==me?Ve=(Et-Gt)/Te+(Et<Gt?6:0):Et==me?Ve=(Gt-gt)/Te+2:Ve=(gt-Et)/Te+4,Ve*=60):(Ve=NaN,Ue=or>0&&or<1?0:Ve),new yn(Ve,Ue,or)}function dr(gt,Et,Gt){gt=kr(gt),Et=kr(Et),Gt=kr(Gt);var ce=ia((.4124564*gt+.3575761*Et+.1804375*Gt)/tn),me=ia((.2126729*gt+.7151522*Et+.072175*Gt)/Yr),Te=ia((.0193339*gt+.119192*Et+.9503041*Gt)/Jr);return er(116*me-16,500*(ce-me),200*(me-Te))}function kr(gt){return(gt/=255)<=.04045?gt/12.92:Math.pow((gt+.055)/1.055,2.4)}function Nr(gt){var Et=parseFloat(gt);return gt.charAt(gt.length-1)==="%"?Math.round(Et*2.55):Et}var Pr=u.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});Pr.forEach(function(gt,Et){Pr.set(gt,Za(Et))});function pe(gt){return typeof gt=="function"?gt:function(){return gt}}u.functor=pe,u.xhr=Ge(B);function Ge(gt){return function(Et,Gt,ce){return arguments.length===2&&typeof Gt=="function"&&(ce=Gt,Gt=null),xr(Et,Gt,gt,ce)}}function xr(gt,Et,Gt,ce){var me={},Te=u.dispatch("beforesend","progress","load","error"),Ve={},Ue=new XMLHttpRequest,or=null;self.XDomainRequest&&!("withCredentials"in Ue)&&/^(http(s)?:)?\/\//.test(gt)&&(Ue=new XDomainRequest),"onload"in Ue?Ue.onload=Ue.onerror=Ir:Ue.onreadystatechange=function(){Ue.readyState>3&&Ir()};function Ir(){var Sr=Ue.status,Zr;if(!Sr&&ln(Ue)||Sr>=200&&Sr<300||Sr===304){try{Zr=Gt.call(me,Ue)}catch(an){Te.error.call(me,an);return}Te.load.call(me,Zr)}else Te.error.call(me,Ue)}return Ue.onprogress=function(Sr){var Zr=u.event;u.event=Sr;try{Te.progress.call(me,Ue)}finally{u.event=Zr}},me.header=function(Sr,Zr){return Sr=(Sr+"").toLowerCase(),arguments.length<2?Ve[Sr]:(Zr==null?delete Ve[Sr]:Ve[Sr]=Zr+"",me)},me.mimeType=function(Sr){return arguments.length?(Et=Sr==null?null:Sr+"",me):Et},me.responseType=function(Sr){return arguments.length?(or=Sr,me):or},me.response=function(Sr){return Gt=Sr,me},["get","post"].forEach(function(Sr){me[Sr]=function(){return me.send.apply(me,[Sr].concat(E(arguments)))}}),me.send=function(Sr,Zr,an){if(arguments.length===2&&typeof Zr=="function"&&(an=Zr,Zr=null),Ue.open(Sr,gt,!0),Et!=null&&!("accept"in Ve)&&(Ve.accept=Et+",*/*"),Ue.setRequestHeader)for(var on in Ve)Ue.setRequestHeader(on,Ve[on]);return Et!=null&&Ue.overrideMimeType&&Ue.overrideMimeType(Et),or!=null&&(Ue.responseType=or),an!=null&&me.on("error",an).on("load",function(ta){an(null,ta)}),Te.beforesend.call(me,Ue),Ue.send(Zr??null),me},me.abort=function(){return Ue.abort(),me},u.rebind(me,Te,"on"),ce==null?me:me.get(qr(ce))}function qr(gt){return gt.length===1?function(Et,Gt){gt(Et==null?Gt:null)}:gt}function ln(gt){var Et=gt.responseType;return Et&&Et!=="text"?gt.response:gt.responseText}u.dsv=function(gt,Et){var Gt=new RegExp('["'+gt+`
|
|
1
|
+
"use strict";const Dz=require("./index-DqV9nrrT.cjs");function Fz(n0,md){for(var Op=0;Op<md.length;Op++){const Ff=md[Op];if(typeof Ff!="string"&&!Array.isArray(Ff)){for(const gd in Ff)if(gd!=="default"&&!(gd in n0)){const um=Object.getOwnPropertyDescriptor(Ff,gd);um&&Object.defineProperty(n0,gd,um.get?um:{enumerable:!0,get:()=>Ff[gd]})}}}return Object.freeze(Object.defineProperty(n0,Symbol.toStringTag,{value:"Module"}))}var Cy={exports:{}},Bz=Cy.exports,D4;function Rz(){return D4||(D4=1,(function(n0){(function(md,Op){n0.exports?n0.exports=Op():md.moduleName=Op()})(typeof self<"u"?self:Bz,()=>{var md=(()=>{var Op=Object.create,Ff=Object.defineProperty,gd=Object.defineProperties,um=Object.getOwnPropertyDescriptor,R4=Object.getOwnPropertyDescriptors,N4=Object.getOwnPropertyNames,Sg=Object.getOwnPropertySymbols,j4=Object.getPrototypeOf,Ly=Object.prototype.hasOwnProperty,V_=Object.prototype.propertyIsEnumerable,H_=(K,V,u)=>V in K?Ff(K,V,{enumerable:!0,configurable:!0,writable:!0,value:u}):K[V]=u,vd=(K,V)=>{for(var u in V||(V={}))Ly.call(V,u)&&H_(K,u,V[u]);if(Sg)for(var u of Sg(V))V_.call(V,u)&&H_(K,u,V[u]);return K},cm=(K,V)=>gd(K,R4(V)),U4=(K,V)=>{var u={};for(var d in K)Ly.call(K,d)&&V.indexOf(d)<0&&(u[d]=K[d]);if(K!=null&&Sg)for(var d of Sg(K))V.indexOf(d)<0&&V_.call(K,d)&&(u[d]=K[d]);return u},Bl=(K,V)=>()=>(K&&(V=K(K=0)),V),Vt=(K,V)=>()=>(V||K((V={exports:{}}).exports,V),V.exports),q_=(K,V)=>{for(var u in V)Ff(K,u,{get:V[u],enumerable:!0})},W_=(K,V,u,d)=>{if(V&&typeof V=="object"||typeof V=="function")for(let E of N4(V))!Ly.call(K,E)&&E!==u&&Ff(K,E,{get:()=>V[E],enumerable:!(d=um(V,E))||d.enumerable});return K},V4=(K,V,u)=>(u=K!=null?Op(j4(K)):{},W_(Ff(u,"default",{value:K,enumerable:!0}),K)),yd=K=>W_(Ff({},"__esModule",{value:!0}),K),Iy=Vt(K=>{K.version="3.4.0"}),H4=Vt((K,V)=>{(function(u,d,E){d[u]=d[u]||E(),typeof V<"u"&&V.exports&&(V.exports=d[u])})("Promise",typeof window<"u"?window:K,function(){var u,d,E,A=Object.prototype.toString,t=typeof setImmediate<"u"?function(_){return setImmediate(_)}:setTimeout;try{Object.defineProperty({},"x",{}),u=function(_,l,x,y){return Object.defineProperty(_,l,{value:x,writable:!0,configurable:y!==!1})}}catch{u=function(l,x,y){return l[x]=y,l}}E=(function(){var _,l,x;function y(M,w){this.fn=M,this.self=w,this.next=void 0}return{add:function(M,w){x=new y(M,w),l?l.next=x:_=x,l=x,x=void 0},drain:function(){var M=_;for(_=l=d=void 0;M;)M.fn.call(M.self),M=M.next}}})();function e(_,l){E.add(_,l),d||(d=t(E.drain))}function r(_){var l,x=typeof _;return _!=null&&(x=="object"||x=="function")&&(l=_.then),typeof l=="function"?l:!1}function i(){for(var _=0;_<this.chain.length;_++)n(this,this.state===1?this.chain[_].success:this.chain[_].failure,this.chain[_]);this.chain.length=0}function n(_,l,x){var y,M;try{l===!1?x.reject(_.msg):(l===!0?y=_.msg:y=l.call(void 0,_.msg),y===x.promise?x.reject(TypeError("Promise-chain cycle")):(M=r(y))?M.call(y,x.resolve,x.reject):x.resolve(y))}catch(w){x.reject(w)}}function o(_){var l,x=this;if(!x.triggered){x.triggered=!0,x.def&&(x=x.def);try{(l=r(_))?e(function(){var y=new h(x);try{l.call(_,function(){o.apply(y,arguments)},function(){a.apply(y,arguments)})}catch(M){a.call(y,M)}}):(x.msg=_,x.state=1,x.chain.length>0&&e(i,x))}catch(y){a.call(new h(x),y)}}}function a(_){var l=this;l.triggered||(l.triggered=!0,l.def&&(l=l.def),l.msg=_,l.state=2,l.chain.length>0&&e(i,l))}function s(_,l,x,y){for(var M=0;M<l.length;M++)(function(w){_.resolve(l[w]).then(function(S){x(w,S)},y)})(M)}function h(_){this.def=_,this.triggered=!1}function g(_){this.promise=_,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function v(_){if(typeof _!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var l=new g(this);this.then=function(x,y){var M={success:typeof x=="function"?x:!0,failure:typeof y=="function"?y:!1};return M.promise=new this.constructor(function(w,S){if(typeof w!="function"||typeof S!="function")throw TypeError("Not a function");M.resolve=w,M.reject=S}),l.chain.push(M),l.state!==0&&e(i,l),M.promise},this.catch=function(x){return this.then(void 0,x)};try{_.call(void 0,function(x){o.call(l,x)},function(x){a.call(l,x)})}catch(x){a.call(l,x)}}var p=u({},"constructor",v,!1);return v.prototype=p,u(p,"__NPO__",0,!1),u(v,"resolve",function(_){var l=this;return _&&typeof _=="object"&&_.__NPO__===1?_:new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");x(_)})}),u(v,"reject",function(_){return new this(function(l,x){if(typeof l!="function"||typeof x!="function")throw TypeError("Not a function");x(_)})}),u(v,"all",function(_){var l=this;return A.call(_)!="[object Array]"?l.reject(TypeError("Not an array")):_.length===0?l.resolve([]):new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");var M=_.length,w=Array(M),S=0;s(l,_,function(T,c){w[T]=c,++S===M&&x(w)},y)})}),u(v,"race",function(_){var l=this;return A.call(_)!="[object Array]"?l.reject(TypeError("Not an array")):new l(function(x,y){if(typeof x!="function"||typeof y!="function")throw TypeError("Not a function");s(l,_,function(M,w){x(w)},y)})}),v})}),Ni=Vt((K,V)=>{(function(){var u={version:"3.8.2"},d=[].slice,E=function(gt){return d.call(gt)},A=self.document;function t(gt){return gt&&(gt.ownerDocument||gt.document||gt).documentElement}function e(gt){return gt&&(gt.ownerDocument&>.ownerDocument.defaultView||gt.document&>||gt.defaultView)}if(A)try{E(A.documentElement.childNodes)[0].nodeType}catch{E=function(Et){for(var Gt=Et.length,ce=new Array(Gt);Gt--;)ce[Gt]=Et[Gt];return ce}}if(Date.now||(Date.now=function(){return+new Date}),A)try{A.createElement("DIV").style.setProperty("opacity",0,"")}catch{var r=this.Element.prototype,i=r.setAttribute,n=r.setAttributeNS,o=this.CSSStyleDeclaration.prototype,a=o.setProperty;r.setAttribute=function(Et,Gt){i.call(this,Et,Gt+"")},r.setAttributeNS=function(Et,Gt,ce){n.call(this,Et,Gt,ce+"")},o.setProperty=function(Et,Gt,ce){a.call(this,Et,Gt+"",ce)}}u.ascending=s;function s(gt,Et){return gt<Et?-1:gt>Et?1:gt>=Et?0:NaN}u.descending=function(gt,Et){return Et<gt?-1:Et>gt?1:Et>=gt?0:NaN},u.min=function(gt,Et){var Gt=-1,ce=gt.length,me,Te;if(arguments.length===1){for(;++Gt<ce;)if((Te=gt[Gt])!=null&&Te>=Te){me=Te;break}for(;++Gt<ce;)(Te=gt[Gt])!=null&&me>Te&&(me=Te)}else{for(;++Gt<ce;)if((Te=Et.call(gt,gt[Gt],Gt))!=null&&Te>=Te){me=Te;break}for(;++Gt<ce;)(Te=Et.call(gt,gt[Gt],Gt))!=null&&me>Te&&(me=Te)}return me},u.max=function(gt,Et){var Gt=-1,ce=gt.length,me,Te;if(arguments.length===1){for(;++Gt<ce;)if((Te=gt[Gt])!=null&&Te>=Te){me=Te;break}for(;++Gt<ce;)(Te=gt[Gt])!=null&&Te>me&&(me=Te)}else{for(;++Gt<ce;)if((Te=Et.call(gt,gt[Gt],Gt))!=null&&Te>=Te){me=Te;break}for(;++Gt<ce;)(Te=Et.call(gt,gt[Gt],Gt))!=null&&Te>me&&(me=Te)}return me},u.extent=function(gt,Et){var Gt=-1,ce=gt.length,me,Te,Ve;if(arguments.length===1){for(;++Gt<ce;)if((Te=gt[Gt])!=null&&Te>=Te){me=Ve=Te;break}for(;++Gt<ce;)(Te=gt[Gt])!=null&&(me>Te&&(me=Te),Ve<Te&&(Ve=Te))}else{for(;++Gt<ce;)if((Te=Et.call(gt,gt[Gt],Gt))!=null&&Te>=Te){me=Ve=Te;break}for(;++Gt<ce;)(Te=Et.call(gt,gt[Gt],Gt))!=null&&(me>Te&&(me=Te),Ve<Te&&(Ve=Te))}return[me,Ve]};function h(gt){return gt===null?NaN:+gt}function g(gt){return!isNaN(gt)}u.sum=function(gt,Et){var Gt=0,ce=gt.length,me,Te=-1;if(arguments.length===1)for(;++Te<ce;)g(me=+gt[Te])&&(Gt+=me);else for(;++Te<ce;)g(me=+Et.call(gt,gt[Te],Te))&&(Gt+=me);return Gt},u.mean=function(gt,Et){var Gt=0,ce=gt.length,me,Te=-1,Ve=ce;if(arguments.length===1)for(;++Te<ce;)g(me=h(gt[Te]))?Gt+=me:--Ve;else for(;++Te<ce;)g(me=h(Et.call(gt,gt[Te],Te)))?Gt+=me:--Ve;if(Ve)return Gt/Ve},u.quantile=function(gt,Et){var Gt=(gt.length-1)*Et+1,ce=Math.floor(Gt),me=+gt[ce-1],Te=Gt-ce;return Te?me+Te*(gt[ce]-me):me},u.median=function(gt,Et){var Gt=[],ce=gt.length,me,Te=-1;if(arguments.length===1)for(;++Te<ce;)g(me=h(gt[Te]))&&Gt.push(me);else for(;++Te<ce;)g(me=h(Et.call(gt,gt[Te],Te)))&&Gt.push(me);if(Gt.length)return u.quantile(Gt.sort(s),.5)},u.variance=function(gt,Et){var Gt=gt.length,ce=0,me,Te,Ve=0,Ue=-1,or=0;if(arguments.length===1)for(;++Ue<Gt;)g(me=h(gt[Ue]))&&(Te=me-ce,ce+=Te/++or,Ve+=Te*(me-ce));else for(;++Ue<Gt;)g(me=h(Et.call(gt,gt[Ue],Ue)))&&(Te=me-ce,ce+=Te/++or,Ve+=Te*(me-ce));if(or>1)return Ve/(or-1)},u.deviation=function(){var gt=u.variance.apply(this,arguments);return gt&&Math.sqrt(gt)};function v(gt){return{left:function(Et,Gt,ce,me){for(arguments.length<3&&(ce=0),arguments.length<4&&(me=Et.length);ce<me;){var Te=ce+me>>>1;gt(Et[Te],Gt)<0?ce=Te+1:me=Te}return ce},right:function(Et,Gt,ce,me){for(arguments.length<3&&(ce=0),arguments.length<4&&(me=Et.length);ce<me;){var Te=ce+me>>>1;gt(Et[Te],Gt)>0?me=Te:ce=Te+1}return ce}}}var p=v(s);u.bisectLeft=p.left,u.bisect=u.bisectRight=p.right,u.bisector=function(gt){return v(gt.length===1?function(Et,Gt){return s(gt(Et),Gt)}:gt)},u.shuffle=function(gt,Et,Gt){(ce=arguments.length)<3&&(Gt=gt.length,ce<2&&(Et=0));for(var ce=Gt-Et,me,Te;ce;)Te=Math.random()*ce--|0,me=gt[ce+Et],gt[ce+Et]=gt[Te+Et],gt[Te+Et]=me;return gt},u.permute=function(gt,Et){for(var Gt=Et.length,ce=new Array(Gt);Gt--;)ce[Gt]=gt[Et[Gt]];return ce},u.pairs=function(gt){for(var Et=0,Gt=gt.length-1,ce,me=gt[0],Te=new Array(Gt<0?0:Gt);Et<Gt;)Te[Et]=[ce=me,me=gt[++Et]];return Te},u.transpose=function(gt){if(!(Te=gt.length))return[];for(var Et=-1,Gt=u.min(gt,_),ce=new Array(Gt);++Et<Gt;)for(var me=-1,Te,Ve=ce[Et]=new Array(Te);++me<Te;)Ve[me]=gt[me][Et];return ce};function _(gt){return gt.length}u.zip=function(){return u.transpose(arguments)},u.keys=function(gt){var Et=[];for(var Gt in gt)Et.push(Gt);return Et},u.values=function(gt){var Et=[];for(var Gt in gt)Et.push(gt[Gt]);return Et},u.entries=function(gt){var Et=[];for(var Gt in gt)Et.push({key:Gt,value:gt[Gt]});return Et},u.merge=function(gt){for(var Et=gt.length,Gt,ce=-1,me=0,Te,Ve;++ce<Et;)me+=gt[ce].length;for(Te=new Array(me);--Et>=0;)for(Ve=gt[Et],Gt=Ve.length;--Gt>=0;)Te[--me]=Ve[Gt];return Te};var l=Math.abs;u.range=function(gt,Et,Gt){if(arguments.length<3&&(Gt=1,arguments.length<2&&(Et=gt,gt=0)),(Et-gt)/Gt===1/0)throw new Error("infinite range");var ce=[],me=x(l(Gt)),Te=-1,Ve;if(gt*=me,Et*=me,Gt*=me,Gt<0)for(;(Ve=gt+Gt*++Te)>Et;)ce.push(Ve/me);else for(;(Ve=gt+Gt*++Te)<Et;)ce.push(Ve/me);return ce};function x(gt){for(var Et=1;gt*Et%1;)Et*=10;return Et}function y(gt,Et){for(var Gt in Et)Object.defineProperty(gt.prototype,Gt,{value:Et[Gt],enumerable:!1})}u.map=function(gt,Et){var Gt=new M;if(gt instanceof M)gt.forEach(function(Ue,or){Gt.set(Ue,or)});else if(Array.isArray(gt)){var ce=-1,me=gt.length,Te;if(arguments.length===1)for(;++ce<me;)Gt.set(ce,gt[ce]);else for(;++ce<me;)Gt.set(Et.call(gt,Te=gt[ce],ce),Te)}else for(var Ve in gt)Gt.set(Ve,gt[Ve]);return Gt};function M(){this._=Object.create(null)}var w="__proto__",S="\0";y(M,{has:f,get:function(gt){return this._[T(gt)]},set:function(gt,Et){return this._[T(gt)]=Et},remove:k,keys:b,values:function(){var gt=[];for(var Et in this._)gt.push(this._[Et]);return gt},entries:function(){var gt=[];for(var Et in this._)gt.push({key:c(Et),value:this._[Et]});return gt},size:O,empty:L,forEach:function(gt){for(var Et in this._)gt.call(this,c(Et),this._[Et])}});function T(gt){return(gt+="")===w||gt[0]===S?S+gt:gt}function c(gt){return(gt+="")[0]===S?gt.slice(1):gt}function f(gt){return T(gt)in this._}function k(gt){return(gt=T(gt))in this._&&delete this._[gt]}function b(){var gt=[];for(var Et in this._)gt.push(c(Et));return gt}function O(){var gt=0;for(var Et in this._)++gt;return gt}function L(){for(var gt in this._)return!1;return!0}u.nest=function(){var gt={},Et=[],Gt=[],ce,me;function Te(Ue,or,Ir){if(Ir>=Et.length)return me?me.call(gt,or):ce?or.sort(ce):or;for(var Sr=-1,Zr=or.length,an=Et[Ir++],on,ta,fn,Bn=new M,Hn;++Sr<Zr;)(Hn=Bn.get(on=an(ta=or[Sr])))?Hn.push(ta):Bn.set(on,[ta]);return Ue?(ta=Ue(),fn=function(Yn,na){ta.set(Yn,Te(Ue,na,Ir))}):(ta={},fn=function(Yn,na){ta[Yn]=Te(Ue,na,Ir)}),Bn.forEach(fn),ta}function Ve(Ue,or){if(or>=Et.length)return Ue;var Ir=[],Sr=Gt[or++];return Ue.forEach(function(Zr,an){Ir.push({key:Zr,values:Ve(an,or)})}),Sr?Ir.sort(function(Zr,an){return Sr(Zr.key,an.key)}):Ir}return gt.map=function(Ue,or){return Te(or,Ue,0)},gt.entries=function(Ue){return Ve(Te(u.map,Ue,0),0)},gt.key=function(Ue){return Et.push(Ue),gt},gt.sortKeys=function(Ue){return Gt[Et.length-1]=Ue,gt},gt.sortValues=function(Ue){return ce=Ue,gt},gt.rollup=function(Ue){return me=Ue,gt},gt},u.set=function(gt){var Et=new F;if(gt)for(var Gt=0,ce=gt.length;Gt<ce;++Gt)Et.add(gt[Gt]);return Et};function F(){this._=Object.create(null)}y(F,{has:f,add:function(gt){return this._[T(gt+="")]=!0,gt},remove:k,values:b,size:O,empty:L,forEach:function(gt){for(var Et in this._)gt.call(this,c(Et))}}),u.behavior={};function B(gt){return gt}u.rebind=function(gt,Et){for(var Gt=1,ce=arguments.length,me;++Gt<ce;)gt[me=arguments[Gt]]=R(gt,Et,Et[me]);return gt};function R(gt,Et,Gt){return function(){var ce=Gt.apply(Et,arguments);return ce===Et?gt:ce}}function z(gt,Et){if(Et in gt)return Et;Et=Et.charAt(0).toUpperCase()+Et.slice(1);for(var Gt=0,ce=D.length;Gt<ce;++Gt){var me=D[Gt]+Et;if(me in gt)return me}}var D=["webkit","ms","moz","Moz","o","O"];function j(){}u.dispatch=function(){for(var gt=new N,Et=-1,Gt=arguments.length;++Et<Gt;)gt[arguments[Et]]=Z(gt);return gt};function N(){}N.prototype.on=function(gt,Et){var Gt=gt.indexOf("."),ce="";if(Gt>=0&&(ce=gt.slice(Gt+1),gt=gt.slice(0,Gt)),gt)return arguments.length<2?this[gt].on(ce):this[gt].on(ce,Et);if(arguments.length===2){if(Et==null)for(gt in this)this.hasOwnProperty(gt)&&this[gt].on(ce,null);return this}};function Z(gt){var Et=[],Gt=new M;function ce(){for(var me=Et,Te=-1,Ve=me.length,Ue;++Te<Ve;)(Ue=me[Te].on)&&Ue.apply(this,arguments);return gt}return ce.on=function(me,Te){var Ve=Gt.get(me),Ue;return arguments.length<2?Ve&&Ve.on:(Ve&&(Ve.on=null,Et=Et.slice(0,Ue=Et.indexOf(Ve)).concat(Et.slice(Ue+1)),Gt.remove(me)),Te&&Et.push(Gt.set(me,{on:Te})),gt)},ce}u.event=null;function rt(){u.event.preventDefault()}function lt(){for(var gt=u.event,Et;Et=gt.sourceEvent;)gt=Et;return gt}function st(gt){for(var Et=new N,Gt=0,ce=arguments.length;++Gt<ce;)Et[arguments[Gt]]=Z(Et);return Et.of=function(me,Te){return function(Ve){try{var Ue=Ve.sourceEvent=u.event;Ve.target=gt,u.event=Ve,Et[Ve.type].apply(me,Te)}finally{u.event=Ue}}},Et}u.requote=function(gt){return gt.replace(tt,"\\$&")};var tt=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,G={}.__proto__?function(gt,Et){gt.__proto__=Et}:function(gt,Et){for(var Gt in Et)gt[Gt]=Et[Gt]};function nt(gt){return G(gt,$),gt}var Y=function(gt,Et){return Et.querySelector(gt)},Q=function(gt,Et){return Et.querySelectorAll(gt)},ut=function(gt,Et){var Gt=gt.matches||gt[z(gt,"matchesSelector")];return ut=function(ce,me){return Gt.call(ce,me)},ut(gt,Et)};typeof Sizzle=="function"&&(Y=function(gt,Et){return Sizzle(gt,Et)[0]||null},Q=Sizzle,ut=Sizzle.matchesSelector),u.selection=function(){return u.select(A.documentElement)};var $=u.selection.prototype=[];$.select=function(gt){var Et=[],Gt,ce,me,Te;gt=H(gt);for(var Ve=-1,Ue=this.length;++Ve<Ue;){Et.push(Gt=[]),Gt.parentNode=(me=this[Ve]).parentNode;for(var or=-1,Ir=me.length;++or<Ir;)(Te=me[or])?(Gt.push(ce=gt.call(Te,Te.__data__,or,Ve)),ce&&"__data__"in Te&&(ce.__data__=Te.__data__)):Gt.push(null)}return nt(Et)};function H(gt){return typeof gt=="function"?gt:function(){return Y(gt,this)}}$.selectAll=function(gt){var Et=[],Gt,ce;gt=it(gt);for(var me=-1,Te=this.length;++me<Te;)for(var Ve=this[me],Ue=-1,or=Ve.length;++Ue<or;)(ce=Ve[Ue])&&(Et.push(Gt=E(gt.call(ce,ce.__data__,Ue,me))),Gt.parentNode=ce);return nt(Et)};function it(gt){return typeof gt=="function"?gt:function(){return Q(gt,this)}}var at="http://www.w3.org/1999/xhtml",dt={svg:"http://www.w3.org/2000/svg",xhtml:at,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};u.ns={prefix:dt,qualify:function(gt){var Et=gt.indexOf(":"),Gt=gt;return Et>=0&&(Gt=gt.slice(0,Et))!=="xmlns"&&(gt=gt.slice(Et+1)),dt.hasOwnProperty(Gt)?{space:dt[Gt],local:gt}:gt}},$.attr=function(gt,Et){if(arguments.length<2){if(typeof gt=="string"){var Gt=this.node();return gt=u.ns.qualify(gt),gt.local?Gt.getAttributeNS(gt.space,gt.local):Gt.getAttribute(gt)}for(Et in gt)this.each(Tt(Et,gt[Et]));return this}return this.each(Tt(gt,Et))};function Tt(gt,Et){gt=u.ns.qualify(gt);function Gt(){this.removeAttribute(gt)}function ce(){this.removeAttributeNS(gt.space,gt.local)}function me(){this.setAttribute(gt,Et)}function Te(){this.setAttributeNS(gt.space,gt.local,Et)}function Ve(){var or=Et.apply(this,arguments);or==null?this.removeAttribute(gt):this.setAttribute(gt,or)}function Ue(){var or=Et.apply(this,arguments);or==null?this.removeAttributeNS(gt.space,gt.local):this.setAttributeNS(gt.space,gt.local,or)}return Et==null?gt.local?ce:Gt:typeof Et=="function"?gt.local?Ue:Ve:gt.local?Te:me}function xt(gt){return gt.trim().replace(/\s+/g," ")}$.classed=function(gt,Et){if(arguments.length<2){if(typeof gt=="string"){var Gt=this.node(),ce=(gt=Ot(gt)).length,me=-1;if(Et=Gt.classList){for(;++me<ce;)if(!Et.contains(gt[me]))return!1}else for(Et=Gt.getAttribute("class");++me<ce;)if(!Ct(gt[me]).test(Et))return!1;return!0}for(Et in gt)this.each(Rt(Et,gt[Et]));return this}return this.each(Rt(gt,Et))};function Ct(gt){return new RegExp("(?:^|\\s+)"+u.requote(gt)+"(?:\\s+|$)","g")}function Ot(gt){return(gt+"").trim().split(/^|\s+/)}function Rt(gt,Et){gt=Ot(gt).map(te);var Gt=gt.length;function ce(){for(var Te=-1;++Te<Gt;)gt[Te](this,Et)}function me(){for(var Te=-1,Ve=Et.apply(this,arguments);++Te<Gt;)gt[Te](this,Ve)}return typeof Et=="function"?me:ce}function te(gt){var Et=Ct(gt);return function(Gt,ce){if(me=Gt.classList)return ce?me.add(gt):me.remove(gt);var me=Gt.getAttribute("class")||"";ce?(Et.lastIndex=0,Et.test(me)||Gt.setAttribute("class",xt(me+" "+gt))):Gt.setAttribute("class",xt(me.replace(Et," ")))}}$.style=function(gt,Et,Gt){var ce=arguments.length;if(ce<3){if(typeof gt!="string"){ce<2&&(Et="");for(Gt in gt)this.each($t(Gt,gt[Gt],Et));return this}if(ce<2){var me=this.node();return e(me).getComputedStyle(me,null).getPropertyValue(gt)}Gt=""}return this.each($t(gt,Et,Gt))};function $t(gt,Et,Gt){function ce(){this.style.removeProperty(gt)}function me(){this.style.setProperty(gt,Et,Gt)}function Te(){var Ve=Et.apply(this,arguments);Ve==null?this.style.removeProperty(gt):this.style.setProperty(gt,Ve,Gt)}return Et==null?ce:typeof Et=="function"?Te:me}$.property=function(gt,Et){if(arguments.length<2){if(typeof gt=="string")return this.node()[gt];for(Et in gt)this.each(ee(Et,gt[Et]));return this}return this.each(ee(gt,Et))};function ee(gt,Et){function Gt(){delete this[gt]}function ce(){this[gt]=Et}function me(){var Te=Et.apply(this,arguments);Te==null?delete this[gt]:this[gt]=Te}return Et==null?Gt:typeof Et=="function"?me:ce}$.text=function(gt){return arguments.length?this.each(typeof gt=="function"?function(){var Et=gt.apply(this,arguments);this.textContent=Et??""}:gt==null?function(){this.textContent=""}:function(){this.textContent=gt}):this.node().textContent},$.html=function(gt){return arguments.length?this.each(typeof gt=="function"?function(){var Et=gt.apply(this,arguments);this.innerHTML=Et??""}:gt==null?function(){this.innerHTML=""}:function(){this.innerHTML=gt}):this.node().innerHTML},$.append=function(gt){return gt=Xt(gt),this.select(function(){return this.appendChild(gt.apply(this,arguments))})};function Xt(gt){function Et(){var ce=this.ownerDocument,me=this.namespaceURI;return me===at&&ce.documentElement.namespaceURI===at?ce.createElement(gt):ce.createElementNS(me,gt)}function Gt(){return this.ownerDocument.createElementNS(gt.space,gt.local)}return typeof gt=="function"?gt:(gt=u.ns.qualify(gt)).local?Gt:Et}$.insert=function(gt,Et){return gt=Xt(gt),Et=H(Et),this.select(function(){return this.insertBefore(gt.apply(this,arguments),Et.apply(this,arguments)||null)})},$.remove=function(){return this.each(mt)};function mt(){var gt=this.parentNode;gt&>.removeChild(this)}$.data=function(gt,Et){var Gt=-1,ce=this.length,me,Te;if(!arguments.length){for(gt=new Array(ce=(me=this[0]).length);++Gt<ce;)(Te=me[Gt])&&(gt[Gt]=Te.__data__);return gt}function Ve(Sr,Zr){var an,on=Sr.length,ta=Zr.length,fn=Math.min(on,ta),Bn=new Array(ta),Hn=new Array(ta),Yn=new Array(on),na,_n;if(Et){var Ha=new M,Wa=new Array(on),ri;for(an=-1;++an<on;)(na=Sr[an])&&(Ha.has(ri=Et.call(na,na.__data__,an))?Yn[an]=na:Ha.set(ri,na),Wa[an]=ri);for(an=-1;++an<ta;)(na=Ha.get(ri=Et.call(Zr,_n=Zr[an],an)))?na!==!0&&(Bn[an]=na,na.__data__=_n):Hn[an]=bt(_n),Ha.set(ri,!0);for(an=-1;++an<on;)an in Wa&&Ha.get(Wa[an])!==!0&&(Yn[an]=Sr[an])}else{for(an=-1;++an<fn;)na=Sr[an],_n=Zr[an],na?(na.__data__=_n,Bn[an]=na):Hn[an]=bt(_n);for(;an<ta;++an)Hn[an]=bt(Zr[an]);for(;an<on;++an)Yn[an]=Sr[an]}Hn.update=Bn,Hn.parentNode=Bn.parentNode=Yn.parentNode=Sr.parentNode,Ue.push(Hn),or.push(Bn),Ir.push(Yn)}var Ue=Kt([]),or=nt([]),Ir=nt([]);if(typeof gt=="function")for(;++Gt<ce;)Ve(me=this[Gt],gt.call(me,me.parentNode.__data__,Gt));else for(;++Gt<ce;)Ve(me=this[Gt],gt);return or.enter=function(){return Ue},or.exit=function(){return Ir},or};function bt(gt){return{__data__:gt}}$.datum=function(gt){return arguments.length?this.property("__data__",gt):this.property("__data__")},$.filter=function(gt){var Et=[],Gt,ce,me;typeof gt!="function"&&(gt=vt(gt));for(var Te=0,Ve=this.length;Te<Ve;Te++){Et.push(Gt=[]),Gt.parentNode=(ce=this[Te]).parentNode;for(var Ue=0,or=ce.length;Ue<or;Ue++)(me=ce[Ue])&>.call(me,me.__data__,Ue,Te)&&Gt.push(me)}return nt(Et)};function vt(gt){return function(){return ut(this,gt)}}$.order=function(){for(var gt=-1,Et=this.length;++gt<Et;)for(var Gt=this[gt],ce=Gt.length-1,me=Gt[ce],Te;--ce>=0;)(Te=Gt[ce])&&(me&&me!==Te.nextSibling&&me.parentNode.insertBefore(Te,me),me=Te);return this},$.sort=function(gt){gt=Ut.apply(this,arguments);for(var Et=-1,Gt=this.length;++Et<Gt;)this[Et].sort(gt);return this.order()};function Ut(gt){return arguments.length||(gt=s),function(Et,Gt){return Et&&Gt?gt(Et.__data__,Gt.__data__):!Et-!Gt}}$.each=function(gt){return re(this,function(Et,Gt,ce){gt.call(Et,Et.__data__,Gt,ce)})};function re(gt,Et){for(var Gt=0,ce=gt.length;Gt<ce;Gt++)for(var me=gt[Gt],Te=0,Ve=me.length,Ue;Te<Ve;Te++)(Ue=me[Te])&&Et(Ue,Te,Gt);return gt}$.call=function(gt){var Et=E(arguments);return gt.apply(Et[0]=this,Et),this},$.empty=function(){return!this.node()},$.node=function(){for(var gt=0,Et=this.length;gt<Et;gt++)for(var Gt=this[gt],ce=0,me=Gt.length;ce<me;ce++){var Te=Gt[ce];if(Te)return Te}return null},$.size=function(){var gt=0;return re(this,function(){++gt}),gt};function Kt(gt){return G(gt,se),gt}var se=[];u.selection.enter=Kt,u.selection.enter.prototype=se,se.append=$.append,se.empty=$.empty,se.node=$.node,se.call=$.call,se.size=$.size,se.select=function(gt){for(var Et=[],Gt,ce,me,Te,Ve,Ue=-1,or=this.length;++Ue<or;){me=(Te=this[Ue]).update,Et.push(Gt=[]),Gt.parentNode=Te.parentNode;for(var Ir=-1,Sr=Te.length;++Ir<Sr;)(Ve=Te[Ir])?(Gt.push(me[Ir]=ce=gt.call(Te.parentNode,Ve.__data__,Ir,Ue)),ce.__data__=Ve.__data__):Gt.push(null)}return nt(Et)},se.insert=function(gt,Et){return arguments.length<2&&(Et=Se(this)),$.insert.call(this,gt,Et)};function Se(gt){var Et,Gt;return function(ce,me,Te){var Ve=gt[Te].update,Ue=Ve.length,or;for(Te!=Gt&&(Gt=Te,Et=0),me>=Et&&(Et=me+1);!(or=Ve[Et])&&++Et<Ue;);return or}}u.select=function(gt){var Et;return typeof gt=="string"?(Et=[Y(gt,A)],Et.parentNode=A.documentElement):(Et=[gt],Et.parentNode=t(gt)),nt([Et])},u.selectAll=function(gt){var Et;return typeof gt=="string"?(Et=E(Q(gt,A)),Et.parentNode=A.documentElement):(Et=E(gt),Et.parentNode=null),nt([Et])},$.on=function(gt,Et,Gt){var ce=arguments.length;if(ce<3){if(typeof gt!="string"){ce<2&&(Et=!1);for(Gt in gt)this.each(Pe(Gt,gt[Gt],Et));return this}if(ce<2)return(ce=this.node()["__on"+gt])&&ce._;Gt=!1}return this.each(Pe(gt,Et,Gt))};function Pe(gt,Et,Gt){var ce="__on"+gt,me=gt.indexOf("."),Te=qe;me>0&&(gt=gt.slice(0,me));var Ve=We.get(gt);Ve&&(gt=Ve,Te=gr);function Ue(){var Sr=this[ce];Sr&&(this.removeEventListener(gt,Sr,Sr.$),delete this[ce])}function or(){var Sr=Te(Et,E(arguments));Ue.call(this),this.addEventListener(gt,this[ce]=Sr,Sr.$=Gt),Sr._=Et}function Ir(){var Sr=new RegExp("^__on([^.]+)"+u.requote(gt)+"$"),Zr;for(var an in this)if(Zr=an.match(Sr)){var on=this[an];this.removeEventListener(Zr[1],on,on.$),delete this[an]}}return me?Et?or:Ue:Et?j:Ir}var We=u.map({mouseenter:"mouseover",mouseleave:"mouseout"});A&&We.forEach(function(gt){"on"+gt in A&&We.remove(gt)});function qe(gt,Et){return function(Gt){var ce=u.event;u.event=Gt,Et[0]=this.__data__;try{gt.apply(this,Et)}finally{u.event=ce}}}function gr(gt,Et){var Gt=qe(gt,Et);return function(ce){var me=this,Te=ce.relatedTarget;(!Te||Te!==me&&!(Te.compareDocumentPosition(me)&8))&&Gt.call(me,ce)}}var _r,Qe=0;function Er(gt){var Et=".dragsuppress-"+ ++Qe,Gt="click"+Et,ce=u.select(e(gt)).on("touchmove"+Et,rt).on("dragstart"+Et,rt).on("selectstart"+Et,rt);if(_r==null&&(_r="onselectstart"in gt?!1:z(gt.style,"userSelect")),_r){var me=t(gt).style,Te=me[_r];me[_r]="none"}return function(Ve){if(ce.on(Et,null),_r&&(me[_r]=Te),Ve){var Ue=function(){ce.on(Gt,null)};ce.on(Gt,function(){rt(),Ue()},!0),setTimeout(Ue,0)}}}u.mouse=function(gt){return de(gt,lt())};var zr=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function de(gt,Et){Et.changedTouches&&(Et=Et.changedTouches[0]);var Gt=gt.ownerSVGElement||gt;if(Gt.createSVGPoint){var ce=Gt.createSVGPoint();if(zr<0){var me=e(gt);if(me.scrollX||me.scrollY){Gt=u.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var Te=Gt[0][0].getScreenCTM();zr=!(Te.f||Te.e),Gt.remove()}}return zr?(ce.x=Et.pageX,ce.y=Et.pageY):(ce.x=Et.clientX,ce.y=Et.clientY),ce=ce.matrixTransform(gt.getScreenCTM().inverse()),[ce.x,ce.y]}var Ve=gt.getBoundingClientRect();return[Et.clientX-Ve.left-gt.clientLeft,Et.clientY-Ve.top-gt.clientTop]}u.touch=function(gt,Et,Gt){if(arguments.length<3&&(Gt=Et,Et=lt().changedTouches),Et){for(var ce=0,me=Et.length,Te;ce<me;++ce)if((Te=Et[ce]).identifier===Gt)return de(gt,Te)}},u.behavior.drag=function(){var gt=st(me,"drag","dragstart","dragend"),Et=null,Gt=Te(j,u.mouse,e,"mousemove","mouseup"),ce=Te(Dt,u.touch,B,"touchmove","touchend");function me(){this.on("mousedown.drag",Gt).on("touchstart.drag",ce)}function Te(Ve,Ue,or,Ir,Sr){return function(){var Zr=this,an=u.event.target.correspondingElement||u.event.target,on=Zr.parentNode,ta=gt.of(Zr,arguments),fn=0,Bn=Ve(),Hn=".drag"+(Bn==null?"":"-"+Bn),Yn,na=u.select(or(an)).on(Ir+Hn,Wa).on(Sr+Hn,ri),_n=Er(an),Ha=Ue(on,Bn);Et?(Yn=Et.apply(Zr,arguments),Yn=[Yn.x-Ha[0],Yn.y-Ha[1]]):Yn=[0,0],ta({type:"dragstart"});function Wa(){var xi=Ue(on,Bn),ki,Ci;xi&&(ki=xi[0]-Ha[0],Ci=xi[1]-Ha[1],fn|=ki|Ci,Ha=xi,ta({type:"drag",x:xi[0]+Yn[0],y:xi[1]+Yn[1],dx:ki,dy:Ci}))}function ri(){Ue(on,Bn)&&(na.on(Ir+Hn,null).on(Sr+Hn,null),_n(fn),ta({type:"dragend"}))}}}return me.origin=function(Ve){return arguments.length?(Et=Ve,me):Et},u.rebind(me,gt,"on")};function Dt(){return u.event.changedTouches[0].identifier}u.touches=function(gt,Et){return arguments.length<2&&(Et=lt().touches),Et?E(Et).map(function(Gt){var ce=de(gt,Gt);return ce.identifier=Gt.identifier,ce}):[]};var qt=1e-6,wt=qt*qt,ct=Math.PI,yt=2*ct,St=yt-qt,Ht=ct/2,Yt=ct/180,fe=180/ct;function we(gt,Et,Gt){return(Et[0]-gt[0])*(Gt[1]-gt[1])-(Et[1]-gt[1])*(Gt[0]-gt[0])}function Ae(gt){return gt>1?Ht:gt<-1?-Ht:Math.asin(gt)}function Re(gt){return((gt=Math.exp(gt))-1/gt)/2}function rr(gt){return((gt=Math.exp(gt))+1/gt)/2}function ar(gt){return((gt=Math.exp(2*gt))-1)/(gt+1)}var Ye=Math.SQRT2,Mr=2,pn=4;u.interpolateZoom=function(gt,Et){var Gt=gt[0],ce=gt[1],me=gt[2],Te=Et[0],Ve=Et[1],Ue=Et[2],or=Te-Gt,Ir=Ve-ce,Sr=or*or+Ir*Ir,Zr,an;if(Sr<wt)an=Math.log(Ue/me)/Ye,Zr=function(Yn){return[Gt+Yn*or,ce+Yn*Ir,me*Math.exp(Ye*Yn*an)]};else{var on=Math.sqrt(Sr),ta=(Ue*Ue-me*me+pn*Sr)/(2*me*Mr*on),fn=(Ue*Ue-me*me-pn*Sr)/(2*Ue*Mr*on),Bn=Math.log(Math.sqrt(ta*ta+1)-ta),Hn=Math.log(Math.sqrt(fn*fn+1)-fn);an=(Hn-Bn)/Ye,Zr=function(Yn){var na=Yn*an,_n=rr(Bn),Ha=me/(Mr*on)*(_n*ar(Ye*na+Bn)-Re(Bn));return[Gt+Ha*or,ce+Ha*Ir,me*_n/rr(Ye*na+Bn)]}}return Zr.duration=an*1e3,Zr},u.behavior.zoom=function(){var gt={x:0,y:0,k:1},Et,Gt,ce,me=[960,500],Te=dn,Ve=250,Ue=0,or="mousedown.zoom",Ir="mousemove.zoom",Sr="mouseup.zoom",Zr,an="touchstart.zoom",on,ta=st(na,"zoomstart","zoom","zoomend"),fn,Bn,Hn,Yn;Gn||(Gn="onwheel"in A?(bn=function(){return-u.event.deltaY*(u.event.deltaMode?120:1)},"wheel"):"onmousewheel"in A?(bn=function(){return u.event.wheelDelta},"mousewheel"):(bn=function(){return-u.event.detail},"MozMousePixelScroll"));function na(hi){hi.on(or,$i).on(Gn+".zoom",pl).on("dblclick.zoom",Ns).on(an,es)}na.event=function(hi){hi.each(function(){var Ao=ta.of(this,arguments),Bo=gt;Ai?u.select(this).transition().each("start.zoom",function(){gt=this.__chart__||{x:0,y:0,k:1},Ci(Ao)}).tween("zoom:zoom",function(){var Ds=me[0],Ts=me[1],lu=Gt?Gt[0]:Ds/2,ps=Gt?Gt[1]:Ts/2,Cs=u.interpolateZoom([(lu-gt.x)/gt.k,(ps-gt.y)/gt.k,Ds/gt.k],[(lu-Bo.x)/Bo.k,(ps-Bo.y)/Bo.k,Ds/Bo.k]);return function(Eu){var ie=Cs(Eu),ir=Ds/ie[2];this.__chart__=gt={x:lu-ie[0]*ir,y:ps-ie[1]*ir,k:ir},jo(Ao)}}).each("interrupt.zoom",function(){zi(Ao)}).each("end.zoom",function(){zi(Ao)}):(this.__chart__=gt,Ci(Ao),jo(Ao),zi(Ao))})},na.translate=function(hi){return arguments.length?(gt={x:+hi[0],y:+hi[1],k:gt.k},ki(),na):[gt.x,gt.y]},na.scale=function(hi){return arguments.length?(gt={x:gt.x,y:gt.y,k:null},Wa(+hi),ki(),na):gt.k},na.scaleExtent=function(hi){return arguments.length?(Te=hi==null?dn:[+hi[0],+hi[1]],na):Te},na.center=function(hi){return arguments.length?(ce=hi&&[+hi[0],+hi[1]],na):ce},na.size=function(hi){return arguments.length?(me=hi&&[+hi[0],+hi[1]],na):me},na.duration=function(hi){return arguments.length?(Ve=+hi,na):Ve},na.x=function(hi){return arguments.length?(Bn=hi,fn=hi.copy(),gt={x:0,y:0,k:1},na):Bn},na.y=function(hi){return arguments.length?(Yn=hi,Hn=hi.copy(),gt={x:0,y:0,k:1},na):Yn};function _n(hi){return[(hi[0]-gt.x)/gt.k,(hi[1]-gt.y)/gt.k]}function Ha(hi){return[hi[0]*gt.k+gt.x,hi[1]*gt.k+gt.y]}function Wa(hi){gt.k=Math.max(Te[0],Math.min(Te[1],hi))}function ri(hi,Ao){Ao=Ha(Ao),gt.x+=hi[0]-Ao[0],gt.y+=hi[1]-Ao[1]}function xi(hi,Ao,Bo,Ds){hi.__chart__={x:gt.x,y:gt.y,k:gt.k},Wa(Math.pow(2,Ds)),ri(Gt=Ao,Bo),hi=u.select(hi),Ve>0&&(hi=hi.transition().duration(Ve)),hi.call(na.event)}function ki(){Bn&&Bn.domain(fn.range().map(function(hi){return(hi-gt.x)/gt.k}).map(fn.invert)),Yn&&Yn.domain(Hn.range().map(function(hi){return(hi-gt.y)/gt.k}).map(Hn.invert))}function Ci(hi){Ue++||hi({type:"zoomstart"})}function jo(hi){ki(),hi({type:"zoom",scale:gt.k,translate:[gt.x,gt.y]})}function zi(hi){--Ue||(hi({type:"zoomend"}),Gt=null)}function $i(){var hi=this,Ao=ta.of(hi,arguments),Bo=0,Ds=u.select(e(hi)).on(Ir,ps).on(Sr,Cs),Ts=_n(u.mouse(hi)),lu=Er(hi);$n.call(hi),Ci(Ao);function ps(){Bo=1,ri(u.mouse(hi),Ts),jo(Ao)}function Cs(){Ds.on(Ir,null).on(Sr,null),lu(Bo),zi(Ao)}}function es(){var hi=this,Ao=ta.of(hi,arguments),Bo={},Ds=0,Ts,lu=".zoom-"+u.event.changedTouches[0].identifier,ps="touchmove"+lu,Cs="touchend"+lu,Eu=[],ie=u.select(hi),ir=Er(hi);sn(),Ci(Ao),ie.on(or,null).on(an,sn);function cr(){var Wr=u.touches(hi);return Ts=gt.k,Wr.forEach(function(Sn){Sn.identifier in Bo&&(Bo[Sn.identifier]=_n(Sn))}),Wr}function sn(){var Wr=u.event.target;u.select(Wr).on(ps,Cn).on(Cs,Tn),Eu.push(Wr);for(var Sn=u.event.changedTouches,sa=0,ea=Sn.length;sa<ea;++sa)Bo[Sn[sa].identifier]=null;var ka=cr(),Ka=Date.now();if(ka.length===1){if(Ka-on<500){var Va=ka[0];xi(hi,Va,Bo[Va.identifier],Math.floor(Math.log(gt.k)/Math.LN2)+1),rt()}on=Ka}else if(ka.length>1){var Va=ka[0],ha=ka[1],Un=Va[0]-ha[0],jr=Va[1]-ha[1];Ds=Un*Un+jr*jr}}function Cn(){var Wr=u.touches(hi),Sn,sa,ea,ka;$n.call(hi);for(var Ka=0,Va=Wr.length;Ka<Va;++Ka,ka=null)if(ea=Wr[Ka],ka=Bo[ea.identifier]){if(sa)break;Sn=ea,sa=ka}if(ka){var ha=(ha=ea[0]-Sn[0])*ha+(ha=ea[1]-Sn[1])*ha,Un=Ds&&Math.sqrt(ha/Ds);Sn=[(Sn[0]+ea[0])/2,(Sn[1]+ea[1])/2],sa=[(sa[0]+ka[0])/2,(sa[1]+ka[1])/2],Wa(Un*Ts)}on=null,ri(Sn,sa),jo(Ao)}function Tn(){if(u.event.touches.length){for(var Wr=u.event.changedTouches,Sn=0,sa=Wr.length;Sn<sa;++Sn)delete Bo[Wr[Sn].identifier];for(var ea in Bo)return void cr()}u.selectAll(Eu).on(lu,null),ie.on(or,$i).on(an,es),ir(),zi(Ao)}}function pl(){var hi=ta.of(this,arguments);Zr?clearTimeout(Zr):($n.call(this),Et=_n(Gt=ce||u.mouse(this)),Ci(hi)),Zr=setTimeout(function(){Zr=null,zi(hi)},50),rt(),Wa(Math.pow(2,bn()*.002)*gt.k),ri(Gt,Et),jo(hi)}function Ns(){var hi=u.mouse(this),Ao=Math.log(gt.k)/Math.LN2;xi(this,hi,_n(hi),u.event.shiftKey?Math.ceil(Ao)-1:Math.floor(Ao)+1)}return u.rebind(na,ta,"on")};var dn=[0,1/0],bn,Gn;u.color=En;function En(){}En.prototype.toString=function(){return this.rgb()+""},u.hsl=yn;function yn(gt,Et,Gt){return this instanceof yn?(this.h=+gt,this.s=+Et,void(this.l=+Gt)):arguments.length<2?gt instanceof yn?new yn(gt.h,gt.s,gt.l):br(""+gt,wr,yn):new yn(gt,Et,Gt)}var da=yn.prototype=new En;da.brighter=function(gt){return gt=Math.pow(.7,arguments.length?gt:1),new yn(this.h,this.s,this.l/gt)},da.darker=function(gt){return gt=Math.pow(.7,arguments.length?gt:1),new yn(this.h,this.s,gt*this.l)},da.rgb=function(){return ra(this.h,this.s,this.l)};function ra(gt,Et,Gt){var ce,me;gt=isNaN(gt)?0:(gt%=360)<0?gt+360:gt,Et=isNaN(Et)||Et<0?0:Et>1?1:Et,Gt=Gt<0?0:Gt>1?1:Gt,me=Gt<=.5?Gt*(1+Et):Gt+Et-Gt*Et,ce=2*Gt-me;function Te(Ue){return Ue>360?Ue-=360:Ue<0&&(Ue+=360),Ue<60?ce+(me-ce)*Ue/60:Ue<180?me:Ue<240?ce+(me-ce)*(240-Ue)/60:ce}function Ve(Ue){return Math.round(Te(Ue)*255)}return new Fa(Ve(gt+120),Ve(gt),Ve(gt-120))}u.hcl=Ee;function Ee(gt,Et,Gt){return this instanceof Ee?(this.h=+gt,this.c=+Et,void(this.l=+Gt)):arguments.length<2?gt instanceof Ee?new Ee(gt.h,gt.c,gt.l):gt instanceof er?Kn(gt.l,gt.a,gt.b):Kn((gt=dr((gt=u.rgb(gt)).r,gt.g,gt.b)).l,gt.a,gt.b):new Ee(gt,Et,Gt)}var Ne=Ee.prototype=new En;Ne.brighter=function(gt){return new Ee(this.h,this.c,Math.min(100,this.l+Cr*(arguments.length?gt:1)))},Ne.darker=function(gt){return new Ee(this.h,this.c,Math.max(0,this.l-Cr*(arguments.length?gt:1)))},Ne.rgb=function(){return Ke(this.h,this.c,this.l).rgb()};function Ke(gt,Et,Gt){return isNaN(gt)&&(gt=0),isNaN(Et)&&(Et=0),new er(Gt,Math.cos(gt*=Yt)*Et,Math.sin(gt)*Et)}u.lab=er;function er(gt,Et,Gt){return this instanceof er?(this.l=+gt,this.a=+Et,void(this.b=+Gt)):arguments.length<2?gt instanceof er?new er(gt.l,gt.a,gt.b):gt instanceof Ee?Ke(gt.h,gt.c,gt.l):dr((gt=Fa(gt)).r,gt.g,gt.b):new er(gt,Et,Gt)}var Cr=18,tn=.95047,Yr=1,Jr=1.08883,zn=er.prototype=new En;zn.brighter=function(gt){return new er(Math.min(100,this.l+Cr*(arguments.length?gt:1)),this.a,this.b)},zn.darker=function(gt){return new er(Math.max(0,this.l-Cr*(arguments.length?gt:1)),this.a,this.b)},zn.rgb=function(){return Nn(this.l,this.a,this.b)};function Nn(gt,Et,Gt){var ce=(gt+16)/116,me=ce+Et/500,Te=ce-Gt/200;return me=Jn(me)*tn,ce=Jn(ce)*Yr,Te=Jn(Te)*Jr,new Fa(In(3.2404542*me-1.5371385*ce-.4985314*Te),In(-.969266*me+1.8760108*ce+.041556*Te),In(.0556434*me-.2040259*ce+1.0572252*Te))}function Kn(gt,Et,Gt){return gt>0?new Ee(Math.atan2(Gt,Et)*fe,Math.sqrt(Et*Et+Gt*Gt),gt):new Ee(NaN,NaN,gt)}function Jn(gt){return gt>.206893034?gt*gt*gt:(gt-4/29)/7.787037}function ia(gt){return gt>.008856?Math.pow(gt,1/3):7.787037*gt+4/29}function In(gt){return Math.round(255*(gt<=.00304?12.92*gt:1.055*Math.pow(gt,1/2.4)-.055))}u.rgb=Fa;function Fa(gt,Et,Gt){return this instanceof Fa?(this.r=~~gt,this.g=~~Et,void(this.b=~~Gt)):arguments.length<2?gt instanceof Fa?new Fa(gt.r,gt.g,gt.b):br(""+gt,Fa,ra):new Fa(gt,Et,Gt)}function Za(gt){return new Fa(gt>>16,gt>>8&255,gt&255)}function ve(gt){return Za(gt)+""}var ge=Fa.prototype=new En;ge.brighter=function(gt){gt=Math.pow(.7,arguments.length?gt:1);var Et=this.r,Gt=this.g,ce=this.b,me=30;return!Et&&!Gt&&!ce?new Fa(me,me,me):(Et&&Et<me&&(Et=me),Gt&&Gt<me&&(Gt=me),ce&&ce<me&&(ce=me),new Fa(Math.min(255,Et/gt),Math.min(255,Gt/gt),Math.min(255,ce/gt)))},ge.darker=function(gt){return gt=Math.pow(.7,arguments.length?gt:1),new Fa(gt*this.r,gt*this.g,gt*this.b)},ge.hsl=function(){return wr(this.r,this.g,this.b)},ge.toString=function(){return"#"+mr(this.r)+mr(this.g)+mr(this.b)};function mr(gt){return gt<16?"0"+Math.max(0,gt).toString(16):Math.min(255,gt).toString(16)}function br(gt,Et,Gt){var ce=0,me=0,Te=0,Ve,Ue,or;if(Ve=/([a-z]+)\((.*)\)/.exec(gt=gt.toLowerCase()),Ve)switch(Ue=Ve[2].split(","),Ve[1]){case"hsl":return Gt(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return Et(Nr(Ue[0]),Nr(Ue[1]),Nr(Ue[2]))}return(or=Pr.get(gt))?Et(or.r,or.g,or.b):(gt!=null&>.charAt(0)==="#"&&!isNaN(or=parseInt(gt.slice(1),16))&&(gt.length===4?(ce=(or&3840)>>4,ce=ce>>4|ce,me=or&240,me=me>>4|me,Te=or&15,Te=Te<<4|Te):gt.length===7&&(ce=(or&16711680)>>16,me=(or&65280)>>8,Te=or&255)),Et(ce,me,Te))}function wr(gt,Et,Gt){var ce=Math.min(gt/=255,Et/=255,Gt/=255),me=Math.max(gt,Et,Gt),Te=me-ce,Ve,Ue,or=(me+ce)/2;return Te?(Ue=or<.5?Te/(me+ce):Te/(2-me-ce),gt==me?Ve=(Et-Gt)/Te+(Et<Gt?6:0):Et==me?Ve=(Gt-gt)/Te+2:Ve=(gt-Et)/Te+4,Ve*=60):(Ve=NaN,Ue=or>0&&or<1?0:Ve),new yn(Ve,Ue,or)}function dr(gt,Et,Gt){gt=kr(gt),Et=kr(Et),Gt=kr(Gt);var ce=ia((.4124564*gt+.3575761*Et+.1804375*Gt)/tn),me=ia((.2126729*gt+.7151522*Et+.072175*Gt)/Yr),Te=ia((.0193339*gt+.119192*Et+.9503041*Gt)/Jr);return er(116*me-16,500*(ce-me),200*(me-Te))}function kr(gt){return(gt/=255)<=.04045?gt/12.92:Math.pow((gt+.055)/1.055,2.4)}function Nr(gt){var Et=parseFloat(gt);return gt.charAt(gt.length-1)==="%"?Math.round(Et*2.55):Et}var Pr=u.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});Pr.forEach(function(gt,Et){Pr.set(gt,Za(Et))});function pe(gt){return typeof gt=="function"?gt:function(){return gt}}u.functor=pe,u.xhr=Ge(B);function Ge(gt){return function(Et,Gt,ce){return arguments.length===2&&typeof Gt=="function"&&(ce=Gt,Gt=null),xr(Et,Gt,gt,ce)}}function xr(gt,Et,Gt,ce){var me={},Te=u.dispatch("beforesend","progress","load","error"),Ve={},Ue=new XMLHttpRequest,or=null;self.XDomainRequest&&!("withCredentials"in Ue)&&/^(http(s)?:)?\/\//.test(gt)&&(Ue=new XDomainRequest),"onload"in Ue?Ue.onload=Ue.onerror=Ir:Ue.onreadystatechange=function(){Ue.readyState>3&&Ir()};function Ir(){var Sr=Ue.status,Zr;if(!Sr&&ln(Ue)||Sr>=200&&Sr<300||Sr===304){try{Zr=Gt.call(me,Ue)}catch(an){Te.error.call(me,an);return}Te.load.call(me,Zr)}else Te.error.call(me,Ue)}return Ue.onprogress=function(Sr){var Zr=u.event;u.event=Sr;try{Te.progress.call(me,Ue)}finally{u.event=Zr}},me.header=function(Sr,Zr){return Sr=(Sr+"").toLowerCase(),arguments.length<2?Ve[Sr]:(Zr==null?delete Ve[Sr]:Ve[Sr]=Zr+"",me)},me.mimeType=function(Sr){return arguments.length?(Et=Sr==null?null:Sr+"",me):Et},me.responseType=function(Sr){return arguments.length?(or=Sr,me):or},me.response=function(Sr){return Gt=Sr,me},["get","post"].forEach(function(Sr){me[Sr]=function(){return me.send.apply(me,[Sr].concat(E(arguments)))}}),me.send=function(Sr,Zr,an){if(arguments.length===2&&typeof Zr=="function"&&(an=Zr,Zr=null),Ue.open(Sr,gt,!0),Et!=null&&!("accept"in Ve)&&(Ve.accept=Et+",*/*"),Ue.setRequestHeader)for(var on in Ve)Ue.setRequestHeader(on,Ve[on]);return Et!=null&&Ue.overrideMimeType&&Ue.overrideMimeType(Et),or!=null&&(Ue.responseType=or),an!=null&&me.on("error",an).on("load",function(ta){an(null,ta)}),Te.beforesend.call(me,Ue),Ue.send(Zr??null),me},me.abort=function(){return Ue.abort(),me},u.rebind(me,Te,"on"),ce==null?me:me.get(qr(ce))}function qr(gt){return gt.length===1?function(Et,Gt){gt(Et==null?Gt:null)}:gt}function ln(gt){var Et=gt.responseType;return Et&&Et!=="text"?gt.response:gt.responseText}u.dsv=function(gt,Et){var Gt=new RegExp('["'+gt+`
|
|
2
2
|
]`),ce=gt.charCodeAt(0);function me(Ir,Sr,Zr){arguments.length<3&&(Zr=Sr,Sr=null);var an=xr(Ir,Et,Sr==null?Te:Ve(Sr),Zr);return an.row=function(on){return arguments.length?an.response((Sr=on)==null?Te:Ve(on)):Sr},an}function Te(Ir){return me.parse(Ir.responseText)}function Ve(Ir){return function(Sr){return me.parse(Sr.responseText,Ir)}}me.parse=function(Ir,Sr){var Zr;return me.parseRows(Ir,function(an,on){if(Zr)return Zr(an,on-1);var ta=function(fn){for(var Bn={},Hn=an.length,Yn=0;Yn<Hn;++Yn)Bn[an[Yn]]=fn[Yn];return Bn};Zr=Sr?function(fn,Bn){return Sr(ta(fn),Bn)}:ta})},me.parseRows=function(Ir,Sr){var Zr={},an={},on=[],ta=Ir.length,fn=0,Bn=0,Hn,Yn;function na(){if(fn>=ta)return an;if(Yn)return Yn=!1,Zr;var Ha=fn;if(Ir.charCodeAt(Ha)===34){for(var Wa=Ha;Wa++<ta;)if(Ir.charCodeAt(Wa)===34){if(Ir.charCodeAt(Wa+1)!==34)break;++Wa}fn=Wa+2;var ri=Ir.charCodeAt(Wa+1);return ri===13?(Yn=!0,Ir.charCodeAt(Wa+2)===10&&++fn):ri===10&&(Yn=!0),Ir.slice(Ha+1,Wa).replace(/""/g,'"')}for(;fn<ta;){var ri=Ir.charCodeAt(fn++),xi=1;if(ri===10)Yn=!0;else if(ri===13)Yn=!0,Ir.charCodeAt(fn)===10&&(++fn,++xi);else if(ri!==ce)continue;return Ir.slice(Ha,fn-xi)}return Ir.slice(Ha)}for(;(Hn=na())!==an;){for(var _n=[];Hn!==Zr&&Hn!==an;)_n.push(Hn),Hn=na();Sr&&(_n=Sr(_n,Bn++))==null||on.push(_n)}return on},me.format=function(Ir){if(Array.isArray(Ir[0]))return me.formatRows(Ir);var Sr=new F,Zr=[];return Ir.forEach(function(an){for(var on in an)Sr.has(on)||Zr.push(Sr.add(on))}),[Zr.map(or).join(gt)].concat(Ir.map(function(an){return Zr.map(function(on){return or(an[on])}).join(gt)})).join(`
|
|
3
3
|
`)},me.formatRows=function(Ir){return Ir.map(Ue).join(`
|
|
4
4
|
`)};function Ue(Ir){return Ir.map(or).join(gt)}function or(Ir){return Gt.test(Ir)?'"'+Ir.replace(/\"/g,'""')+'"':Ir}return me},u.csv=u.dsv(",","text/csv"),u.tsv=u.dsv(" ","text/tab-separated-values");var wn,rn,Qr,gn,Oa=this[z(this,"requestAnimationFrame")]||function(gt){setTimeout(gt,17)};u.timer=function(){Qn.apply(this,arguments)};function Qn(gt,Et,Gt){var ce=arguments.length;ce<2&&(Et=0),ce<3&&(Gt=Date.now());var me=Gt+Et,Te={c:gt,t:me,n:null};return rn?rn.n=Te:wn=Te,rn=Te,Qr||(gn=clearTimeout(gn),Qr=1,Oa(Qa)),Te}function Qa(){var gt=$a(),Et=wi()-gt;Et>24?(isFinite(Et)&&(clearTimeout(gn),gn=setTimeout(Qa,Et)),Qr=0):(Qr=1,Oa(Qa))}u.timer.flush=function(){$a(),wi()};function $a(){for(var gt=Date.now(),Et=wn;Et;)gt>=Et.t&&Et.c(gt-Et.t)&&(Et.c=null),Et=Et.n;return gt}function wi(){for(var gt,Et=wn,Gt=1/0;Et;)Et.c?(Et.t<Gt&&(Gt=Et.t),Et=(gt=Et).n):Et=gt?gt.n=Et.n:wn=Et.n;return rn=gt,Gt}u.round=function(gt,Et){return Et?Math.round(gt*(Et=Math.pow(10,Et)))/Et:Math.round(gt)},u.geom={};function ci(gt){return gt[0]}function Ti(gt){return gt[1]}u.geom.hull=function(gt){var Et=ci,Gt=Ti;if(arguments.length)return ce(gt);function ce(me){if(me.length<3)return[];var Te=pe(Et),Ve=pe(Gt),Ue,or=me.length,Ir=[],Sr=[];for(Ue=0;Ue<or;Ue++)Ir.push([+Te.call(this,me[Ue],Ue),+Ve.call(this,me[Ue],Ue),Ue]);for(Ir.sort(Qi),Ue=0;Ue<or;Ue++)Sr.push([Ir[Ue][0],-Ir[Ue][1]]);var Zr=Ra(Ir),an=Ra(Sr),on=an[0]===Zr[0],ta=an[an.length-1]===Zr[Zr.length-1],fn=[];for(Ue=Zr.length-1;Ue>=0;--Ue)fn.push(me[Ir[Zr[Ue]][2]]);for(Ue=+on;Ue<an.length-ta;++Ue)fn.push(me[Ir[an[Ue]][2]]);return fn}return ce.x=function(me){return arguments.length?(Et=me,ce):Et},ce.y=function(me){return arguments.length?(Gt=me,ce):Gt},ce};function Ra(gt){for(var Et=gt.length,Gt=[0,1],ce=2,me=2;me<Et;me++){for(;ce>1&&we(gt[Gt[ce-2]],gt[Gt[ce-1]],gt[me])<=0;)--ce;Gt[ce++]=me}return Gt.slice(0,ce)}function Qi(gt,Et){return gt[0]-Et[0]||gt[1]-Et[1]}u.geom.polygon=function(gt){return G(gt,Hi),gt};var Hi=u.geom.polygon.prototype=[];Hi.area=function(){for(var gt=-1,Et=this.length,Gt,ce=this[Et-1],me=0;++gt<Et;)Gt=ce,ce=this[gt],me+=Gt[1]*ce[0]-Gt[0]*ce[1];return me*.5},Hi.centroid=function(gt){var Et=-1,Gt=this.length,ce=0,me=0,Te,Ve=this[Gt-1],Ue;for(arguments.length||(gt=-1/(6*this.area()));++Et<Gt;)Te=Ve,Ve=this[Et],Ue=Te[0]*Ve[1]-Ve[0]*Te[1],ce+=(Te[0]+Ve[0])*Ue,me+=(Te[1]+Ve[1])*Ue;return[ce*gt,me*gt]},Hi.clip=function(gt){for(var Et,Gt=Co(gt),ce=-1,me=this.length-Co(this),Te,Ve,Ue=this[me-1],or,Ir,Sr;++ce<me;){for(Et=gt.slice(),gt.length=0,or=this[ce],Ir=Et[(Ve=Et.length-Gt)-1],Te=-1;++Te<Ve;)Sr=Et[Te],Ho(Sr,Ue,or)?(Ho(Ir,Ue,or)||gt.push(Ii(Ir,Sr,Ue,or)),gt.push(Sr)):Ho(Ir,Ue,or)&>.push(Ii(Ir,Sr,Ue,or)),Ir=Sr;Gt&>.push(gt[0]),Ue=or}return gt};function Ho(gt,Et,Gt){return(Gt[0]-Et[0])*(gt[1]-Et[1])<(Gt[1]-Et[1])*(gt[0]-Et[0])}function Ii(gt,Et,Gt,ce){var me=gt[0],Te=Gt[0],Ve=Et[0]-me,Ue=ce[0]-Te,or=gt[1],Ir=Gt[1],Sr=Et[1]-or,Zr=ce[1]-Ir,an=(Ue*(or-Ir)-Zr*(me-Te))/(Zr*Ve-Ue*Sr);return[me+an*Ve,or+an*Sr]}function Co(gt){var Et=gt[0],Gt=gt[gt.length-1];return!(Et[0]-Gt[0]||Et[1]-Gt[1])}var qi,qo,Po,fs=[],Zi,uo,yi=[];function ao(){$o(this),this.edge=this.site=this.circle=null}function ts(gt){var Et=fs.pop()||new ao;return Et.site=gt,Et}function vs(gt){is(gt),Po.remove(gt),fs.push(gt),$o(gt)}function As(gt){var Et=gt.circle,Gt=Et.x,ce=Et.cy,me={x:Gt,y:ce},Te=gt.P,Ve=gt.N,Ue=[gt];vs(gt);for(var or=Te;or.circle&&l(Gt-or.circle.x)<qt&&l(ce-or.circle.cy)<qt;)Te=or.P,Ue.unshift(or),vs(or),or=Te;Ue.unshift(or),is(or);for(var Ir=Ve;Ir.circle&&l(Gt-Ir.circle.x)<qt&&l(ce-Ir.circle.cy)<qt;)Ve=Ir.N,Ue.push(Ir),vs(Ir),Ir=Ve;Ue.push(Ir),is(Ir);var Sr=Ue.length,Zr;for(Zr=1;Zr<Sr;++Zr)Ir=Ue[Zr],or=Ue[Zr-1],Bi(Ir.edge,or.site,Ir.site,me);or=Ue[0],Ir=Ue[Sr-1],Ir.edge=zs(or.site,Ir.site,null,me),No(or),No(Ir)}function _o(gt){for(var Et=gt.x,Gt=gt.y,ce,me,Te,Ve,Ue=Po._;Ue;)if(Te=Da(Ue,Gt)-Et,Te>qt)Ue=Ue.L;else if(Ve=Et-li(Ue,Gt),Ve>qt){if(!Ue.R){ce=Ue;break}Ue=Ue.R}else{Te>-qt?(ce=Ue.P,me=Ue):Ve>-qt?(ce=Ue,me=Ue.N):ce=me=Ue;break}var or=ts(gt);if(Po.insert(ce,or),!(!ce&&!me)){if(ce===me){is(ce),me=ts(ce.site),Po.insert(or,me),or.edge=me.edge=zs(ce.site,or.site),No(ce),No(me);return}if(!me){or.edge=zs(ce.site,or.site);return}is(ce),is(me);var Ir=ce.site,Sr=Ir.x,Zr=Ir.y,an=gt.x-Sr,on=gt.y-Zr,ta=me.site,fn=ta.x-Sr,Bn=ta.y-Zr,Hn=2*(an*Bn-on*fn),Yn=an*an+on*on,na=fn*fn+Bn*Bn,_n={x:(Bn*Yn-on*na)/Hn+Sr,y:(an*na-fn*Yn)/Hn+Zr};Bi(me.edge,Ir,ta,_n),or.edge=zs(Ir,gt,null,_n),me.edge=zs(gt,ta,null,_n),No(ce),No(me)}}function Da(gt,Et){var Gt=gt.site,ce=Gt.x,me=Gt.y,Te=me-Et;if(!Te)return ce;var Ve=gt.P;if(!Ve)return-1/0;Gt=Ve.site;var Ue=Gt.x,or=Gt.y,Ir=or-Et;if(!Ir)return Ue;var Sr=Ue-ce,Zr=1/Te-1/Ir,an=Sr/Ir;return Zr?(-an+Math.sqrt(an*an-2*Zr*(Sr*Sr/(-2*Ir)-or+Ir/2+me-Te/2)))/Zr+ce:(ce+Ue)/2}function li(gt,Et){var Gt=gt.N;if(Gt)return Da(Gt,Et);var ce=gt.site;return ce.y===Et?ce.x:1/0}function wo(gt){this.site=gt,this.edges=[]}wo.prototype.prepare=function(){for(var gt=this.edges,Et=gt.length,Gt;Et--;)Gt=gt[Et].edge,(!Gt.b||!Gt.a)&>.splice(Et,1);return gt.sort(Di),gt.length};function Ms(gt){for(var Et=gt[0][0],Gt=gt[1][0],ce=gt[0][1],me=gt[1][1],Te,Ve,Ue,or,Ir=qo,Sr=Ir.length,Zr,an,on,ta,fn,Bn;Sr--;)if(Zr=Ir[Sr],!(!Zr||!Zr.prepare()))for(on=Zr.edges,ta=on.length,an=0;an<ta;)Bn=on[an].end(),Ue=Bn.x,or=Bn.y,fn=on[++an%ta].start(),Te=fn.x,Ve=fn.y,(l(Ue-Te)>qt||l(or-Ve)>qt)&&(on.splice(an,0,new Js(Wo(Zr.site,Bn,l(Ue-Et)<qt&&me-or>qt?{x:Et,y:l(Te-Et)<qt?Ve:me}:l(or-me)<qt&&Gt-Ue>qt?{x:l(Ve-me)<qt?Te:Gt,y:me}:l(Ue-Gt)<qt&&or-ce>qt?{x:Gt,y:l(Te-Gt)<qt?Ve:ce}:l(or-ce)<qt&&Ue-Et>qt?{x:l(Ve-ce)<qt?Te:Et,y:ce}:null),Zr.site,null)),++ta)}function Di(gt,Et){return Et.angle-gt.angle}function _s(){$o(this),this.x=this.y=this.arc=this.site=this.cy=null}function No(gt){var Et=gt.P,Gt=gt.N;if(!(!Et||!Gt)){var ce=Et.site,me=gt.site,Te=Gt.site;if(ce!==Te){var Ve=me.x,Ue=me.y,or=ce.x-Ve,Ir=ce.y-Ue,Sr=Te.x-Ve,Zr=Te.y-Ue,an=2*(or*Zr-Ir*Sr);if(!(an>=-wt)){var on=or*or+Ir*Ir,ta=Sr*Sr+Zr*Zr,fn=(Zr*on-Ir*ta)/an,Bn=(or*ta-Sr*on)/an,Zr=Bn+Ue,Hn=yi.pop()||new _s;Hn.arc=gt,Hn.site=me,Hn.x=fn+Ve,Hn.y=Zr+Math.sqrt(fn*fn+Bn*Bn),Hn.cy=Zr,gt.circle=Hn;for(var Yn=null,na=uo._;na;)if(Hn.y<na.y||Hn.y===na.y&&Hn.x<=na.x)if(na.L)na=na.L;else{Yn=na.P;break}else if(na.R)na=na.R;else{Yn=na;break}uo.insert(Yn,Hn),Yn||(Zi=Hn)}}}}function is(gt){var Et=gt.circle;Et&&(Et.P||(Zi=Et.N),uo.remove(Et),yi.push(Et),$o(Et),gt.circle=null)}function al(gt,Et,Gt,ce){return function(me){var Te=me.a,Ve=me.b,Ue=Te.x,or=Te.y,Ir=Ve.x,Sr=Ve.y,Zr=0,an=1,on=Ir-Ue,ta=Sr-or,fn;if(fn=gt-Ue,!(!on&&fn>0)){if(fn/=on,on<0){if(fn<Zr)return;fn<an&&(an=fn)}else if(on>0){if(fn>an)return;fn>Zr&&(Zr=fn)}if(fn=Gt-Ue,!(!on&&fn<0)){if(fn/=on,on<0){if(fn>an)return;fn>Zr&&(Zr=fn)}else if(on>0){if(fn<Zr)return;fn<an&&(an=fn)}if(fn=Et-or,!(!ta&&fn>0)){if(fn/=ta,ta<0){if(fn<Zr)return;fn<an&&(an=fn)}else if(ta>0){if(fn>an)return;fn>Zr&&(Zr=fn)}if(fn=ce-or,!(!ta&&fn<0)){if(fn/=ta,ta<0){if(fn>an)return;fn>Zr&&(Zr=fn)}else if(ta>0){if(fn<Zr)return;fn<an&&(an=fn)}return Zr>0&&(me.a={x:Ue+Zr*on,y:or+Zr*ta}),an<1&&(me.b={x:Ue+an*on,y:or+an*ta}),me}}}}}}function ii(gt){for(var Et=qi,Gt=al(gt[0][0],gt[0][1],gt[1][0],gt[1][1]),ce=Et.length,me;ce--;)me=Et[ce],(!io(me,gt)||!Gt(me)||l(me.a.x-me.b.x)<qt&&l(me.a.y-me.b.y)<qt)&&(me.a=me.b=null,Et.splice(ce,1))}function io(gt,Et){var Gt=gt.b;if(Gt)return!0;var ce=gt.a,me=Et[0][0],Te=Et[1][0],Ve=Et[0][1],Ue=Et[1][1],or=gt.l,Ir=gt.r,Sr=or.x,Zr=or.y,an=Ir.x,on=Ir.y,ta=(Sr+an)/2,fn=(Zr+on)/2,Bn,Hn;if(on===Zr){if(ta<me||ta>=Te)return;if(Sr>an){if(!ce)ce={x:ta,y:Ve};else if(ce.y>=Ue)return;Gt={x:ta,y:Ue}}else{if(!ce)ce={x:ta,y:Ue};else if(ce.y<Ve)return;Gt={x:ta,y:Ve}}}else if(Bn=(Sr-an)/(on-Zr),Hn=fn-Bn*ta,Bn<-1||Bn>1)if(Sr>an){if(!ce)ce={x:(Ve-Hn)/Bn,y:Ve};else if(ce.y>=Ue)return;Gt={x:(Ue-Hn)/Bn,y:Ue}}else{if(!ce)ce={x:(Ue-Hn)/Bn,y:Ue};else if(ce.y<Ve)return;Gt={x:(Ve-Hn)/Bn,y:Ve}}else if(Zr<on){if(!ce)ce={x:me,y:Bn*me+Hn};else if(ce.x>=Te)return;Gt={x:Te,y:Bn*Te+Hn}}else{if(!ce)ce={x:Te,y:Bn*Te+Hn};else if(ce.x<me)return;Gt={x:me,y:Bn*me+Hn}}return gt.a=ce,gt.b=Gt,!0}function co(gt,Et){this.l=gt,this.r=Et,this.a=this.b=null}function zs(gt,Et,Gt,ce){var me=new co(gt,Et);return qi.push(me),Gt&&Bi(me,gt,Et,Gt),ce&&Bi(me,Et,gt,ce),qo[gt.i].edges.push(new Js(me,gt,Et)),qo[Et.i].edges.push(new Js(me,Et,gt)),me}function Wo(gt,Et,Gt){var ce=new co(gt,null);return ce.a=Et,ce.b=Gt,qi.push(ce),ce}function Bi(gt,Et,Gt,ce){!gt.a&&!gt.b?(gt.a=ce,gt.l=Et,gt.r=Gt):gt.l===Gt?gt.b=ce:gt.a=ce}function Js(gt,Et,Gt){var ce=gt.a,me=gt.b;this.edge=gt,this.site=Et,this.angle=Gt?Math.atan2(Gt.y-Et.y,Gt.x-Et.x):gt.l===Et?Math.atan2(me.x-ce.x,ce.y-me.y):Math.atan2(ce.x-me.x,me.y-ce.y)}Js.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}};function hl(){this._=null}function $o(gt){gt.U=gt.C=gt.L=gt.R=gt.P=gt.N=null}hl.prototype={insert:function(gt,Et){var Gt,ce,me;if(gt){if(Et.P=gt,Et.N=gt.N,gt.N&&(gt.N.P=Et),gt.N=Et,gt.R){for(gt=gt.R;gt.L;)gt=gt.L;gt.L=Et}else gt.R=Et;Gt=gt}else this._?(gt=Ls(this._),Et.P=null,Et.N=gt,gt.P=gt.L=Et,Gt=gt):(Et.P=Et.N=null,this._=Et,Gt=null);for(Et.L=Et.R=null,Et.U=Gt,Et.C=!0,gt=Et;Gt&&Gt.C;)ce=Gt.U,Gt===ce.L?(me=ce.R,me&&me.C?(Gt.C=me.C=!1,ce.C=!0,gt=ce):(gt===Gt.R&&(us(this,Gt),gt=Gt,Gt=gt.U),Gt.C=!1,ce.C=!0,Ss(this,ce))):(me=ce.L,me&&me.C?(Gt.C=me.C=!1,ce.C=!0,gt=ce):(gt===Gt.L&&(Ss(this,Gt),gt=Gt,Gt=gt.U),Gt.C=!1,ce.C=!0,us(this,ce))),Gt=gt.U;this._.C=!1},remove:function(gt){gt.N&&(gt.N.P=gt.P),gt.P&&(gt.P.N=gt.N),gt.N=gt.P=null;var Et=gt.U,Gt,ce=gt.L,me=gt.R,Te,Ve;if(ce?me?Te=Ls(me):Te=ce:Te=me,Et?Et.L===gt?Et.L=Te:Et.R=Te:this._=Te,ce&&me?(Ve=Te.C,Te.C=gt.C,Te.L=ce,ce.U=Te,Te!==me?(Et=Te.U,Te.U=gt.U,gt=Te.R,Et.L=gt,Te.R=me,me.U=Te):(Te.U=Et,Et=Te,gt=Te.R)):(Ve=gt.C,gt=Te),gt&&(gt.U=Et),!Ve){if(gt&>.C){gt.C=!1;return}do{if(gt===this._)break;if(gt===Et.L){if(Gt=Et.R,Gt.C&&(Gt.C=!1,Et.C=!0,us(this,Et),Gt=Et.R),Gt.L&&Gt.L.C||Gt.R&&Gt.R.C){(!Gt.R||!Gt.R.C)&&(Gt.L.C=!1,Gt.C=!0,Ss(this,Gt),Gt=Et.R),Gt.C=Et.C,Et.C=Gt.R.C=!1,us(this,Et),gt=this._;break}}else if(Gt=Et.L,Gt.C&&(Gt.C=!1,Et.C=!0,Ss(this,Et),Gt=Et.L),Gt.L&&Gt.L.C||Gt.R&&Gt.R.C){(!Gt.L||!Gt.L.C)&&(Gt.R.C=!1,Gt.C=!0,us(this,Gt),Gt=Et.L),Gt.C=Et.C,Et.C=Gt.L.C=!1,Ss(this,Et),gt=this._;break}Gt.C=!0,gt=Et,Et=Et.U}while(!gt.C);gt&&(gt.C=!1)}}};function us(gt,Et){var Gt=Et,ce=Et.R,me=Gt.U;me?me.L===Gt?me.L=ce:me.R=ce:gt._=ce,ce.U=me,Gt.U=ce,Gt.R=ce.L,Gt.R&&(Gt.R.U=Gt),ce.L=Gt}function Ss(gt,Et){var Gt=Et,ce=Et.L,me=Gt.U;me?me.L===Gt?me.L=ce:me.R=ce:gt._=ce,ce.U=me,Gt.U=ce,Gt.L=ce.R,Gt.L&&(Gt.L.U=Gt),ce.R=Gt}function Ls(gt){for(;gt.L;)gt=gt.L;return gt}function xl(gt,Et){var Gt=gt.sort(bu).pop(),ce,me,Te;for(qi=[],qo=new Array(gt.length),Po=new hl,uo=new hl;;)if(Te=Zi,Gt&&(!Te||Gt.y<Te.y||Gt.y===Te.y&&Gt.x<Te.x))(Gt.x!==ce||Gt.y!==me)&&(qo[Gt.i]=new wo(Gt),_o(Gt),ce=Gt.x,me=Gt.y),Gt=gt.pop();else if(Te)As(Te.arc);else break;Et&&(ii(Et),Ms(Et));var Ve={cells:qo,edges:qi};return Po=uo=qi=qo=null,Ve}function bu(gt,Et){return Et.y-gt.y||Et.x-gt.x}u.geom.voronoi=function(gt){var Et=ci,Gt=Ti,ce=Et,me=Gt,Te=au;if(gt)return Ve(gt);function Ve(or){var Ir=new Array(or.length),Sr=Te[0][0],Zr=Te[0][1],an=Te[1][0],on=Te[1][1];return xl(Ue(or),Te).cells.forEach(function(ta,fn){var Bn=ta.edges,Hn=ta.site,Yn=Ir[fn]=Bn.length?Bn.map(function(na){var _n=na.start();return[_n.x,_n.y]}):Hn.x>=Sr&&Hn.x<=an&&Hn.y>=Zr&&Hn.y<=on?[[Sr,on],[an,on],[an,Zr],[Sr,Zr]]:[];Yn.point=or[fn]}),Ir}function Ue(or){return or.map(function(Ir,Sr){return{x:Math.round(ce(Ir,Sr)/qt)*qt,y:Math.round(me(Ir,Sr)/qt)*qt,i:Sr}})}return Ve.links=function(or){return xl(Ue(or)).edges.filter(function(Ir){return Ir.l&&Ir.r}).map(function(Ir){return{source:or[Ir.l.i],target:or[Ir.r.i]}})},Ve.triangles=function(or){var Ir=[];return xl(Ue(or)).cells.forEach(function(Sr,Zr){for(var an=Sr.site,on=Sr.edges.sort(Di),ta=-1,fn=on.length,Bn,Hn,Yn=on[fn-1].edge,na=Yn.l===an?Yn.r:Yn.l;++ta<fn;)Bn=Yn,Hn=na,Yn=on[ta].edge,na=Yn.l===an?Yn.r:Yn.l,Zr<Hn.i&&Zr<na.i&&hu(an,Hn,na)<0&&Ir.push([or[Zr],or[Hn.i],or[na.i]])}),Ir},Ve.x=function(or){return arguments.length?(ce=pe(Et=or),Ve):Et},Ve.y=function(or){return arguments.length?(me=pe(Gt=or),Ve):Gt},Ve.clipExtent=function(or){return arguments.length?(Te=or??au,Ve):Te===au?null:Te},Ve.size=function(or){return arguments.length?Ve.clipExtent(or&&[[0,0],or]):Te===au?null:Te&&Te[1]},Ve};var au=[[-1e6,-1e6],[1e6,1e6]];function hu(gt,Et,Gt){return(gt.x-Gt.x)*(Et.y-gt.y)-(gt.x-Et.x)*(Gt.y-gt.y)}u.geom.delaunay=function(gt){return u.geom.voronoi().triangles(gt)},u.geom.quadtree=function(gt,Et,Gt,ce,me){var Te=ci,Ve=Ti,Ue;if(Ue=arguments.length)return Te=Ec,Ve=xc,Ue===3&&(me=Gt,ce=Et,Gt=Et=0),or(gt);function or(Ir){var Sr,Zr=pe(Te),an=pe(Ve),on,ta,fn,Bn,Hn,Yn,na,_n;if(Et!=null)Hn=Et,Yn=Gt,na=ce,_n=me;else if(na=_n=-(Hn=Yn=1/0),on=[],ta=[],Bn=Ir.length,Ue)for(fn=0;fn<Bn;++fn)Sr=Ir[fn],Sr.x<Hn&&(Hn=Sr.x),Sr.y<Yn&&(Yn=Sr.y),Sr.x>na&&(na=Sr.x),Sr.y>_n&&(_n=Sr.y),on.push(Sr.x),ta.push(Sr.y);else for(fn=0;fn<Bn;++fn){var Ha=+Zr(Sr=Ir[fn],fn),Wa=+an(Sr,fn);Ha<Hn&&(Hn=Ha),Wa<Yn&&(Yn=Wa),Ha>na&&(na=Ha),Wa>_n&&(_n=Wa),on.push(Ha),ta.push(Wa)}var ri=na-Hn,xi=_n-Yn;ri>xi?_n=Yn+ri:na=Hn+xi;function ki(zi,$i,es,pl,Ns,hi,Ao,Bo){if(!(isNaN(es)||isNaN(pl)))if(zi.leaf){var Ds=zi.x,Ts=zi.y;if(Ds!=null)if(l(Ds-es)+l(Ts-pl)<.01)Ci(zi,$i,es,pl,Ns,hi,Ao,Bo);else{var lu=zi.point;zi.x=zi.y=zi.point=null,Ci(zi,lu,Ds,Ts,Ns,hi,Ao,Bo),Ci(zi,$i,es,pl,Ns,hi,Ao,Bo)}else zi.x=es,zi.y=pl,zi.point=$i}else Ci(zi,$i,es,pl,Ns,hi,Ao,Bo)}function Ci(zi,$i,es,pl,Ns,hi,Ao,Bo){var Ds=(Ns+Ao)*.5,Ts=(hi+Bo)*.5,lu=es>=Ds,ps=pl>=Ts,Cs=ps<<1|lu;zi.leaf=!1,zi=zi.nodes[Cs]||(zi.nodes[Cs]=cs()),lu?Ns=Ds:Ao=Ds,ps?hi=Ts:Bo=Ts,ki(zi,$i,es,pl,Ns,hi,Ao,Bo)}var jo=cs();if(jo.add=function(zi){ki(jo,zi,+Zr(zi,++fn),+an(zi,fn),Hn,Yn,na,_n)},jo.visit=function(zi){Zl(zi,jo,Hn,Yn,na,_n)},jo.find=function(zi){return Cc(jo,zi[0],zi[1],Hn,Yn,na,_n)},fn=-1,Et==null){for(;++fn<Bn;)ki(jo,Ir[fn],on[fn],ta[fn],Hn,Yn,na,_n);--fn}else Ir.forEach(jo.add);return on=ta=Ir=Sr=null,jo}return or.x=function(Ir){return arguments.length?(Te=Ir,or):Te},or.y=function(Ir){return arguments.length?(Ve=Ir,or):Ve},or.extent=function(Ir){return arguments.length?(Ir==null?Et=Gt=ce=me=null:(Et=+Ir[0][0],Gt=+Ir[0][1],ce=+Ir[1][0],me=+Ir[1][1]),or):Et==null?null:[[Et,Gt],[ce,me]]},or.size=function(Ir){return arguments.length?(Ir==null?Et=Gt=ce=me=null:(Et=Gt=0,ce=+Ir[0],me=+Ir[1]),or):Et==null?null:[ce-Et,me-Gt]},or};function Ec(gt){return gt.x}function xc(gt){return gt.y}function cs(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Zl(gt,Et,Gt,ce,me,Te){if(!gt(Et,Gt,ce,me,Te)){var Ve=(Gt+me)*.5,Ue=(ce+Te)*.5,or=Et.nodes;or[0]&&Zl(gt,or[0],Gt,ce,Ve,Ue),or[1]&&Zl(gt,or[1],Ve,ce,me,Ue),or[2]&&Zl(gt,or[2],Gt,Ue,Ve,Te),or[3]&&Zl(gt,or[3],Ve,Ue,me,Te)}}function Cc(gt,Et,Gt,ce,me,Te,Ve){var Ue=1/0,or;return(function Ir(Sr,Zr,an,on,ta){if(!(Zr>Te||an>Ve||on<ce||ta<me)){if(fn=Sr.point){var fn,Bn=Et-Sr.x,Hn=Gt-Sr.y,Yn=Bn*Bn+Hn*Hn;if(Yn<Ue){var na=Math.sqrt(Ue=Yn);ce=Et-na,me=Gt-na,Te=Et+na,Ve=Gt+na,or=fn}}for(var _n=Sr.nodes,Ha=(Zr+on)*.5,Wa=(an+ta)*.5,ri=Et>=Ha,xi=Gt>=Wa,ki=xi<<1|ri,Ci=ki+4;ki<Ci;++ki)if(Sr=_n[ki&3])switch(ki&3){case 0:Ir(Sr,Zr,an,Ha,Wa);break;case 1:Ir(Sr,Ha,an,on,Wa);break;case 2:Ir(Sr,Zr,Wa,Ha,ta);break;case 3:Ir(Sr,Ha,Wa,on,ta);break}}})(gt,ce,me,Te,Ve),or}u.interpolateRgb=Al;function Al(gt,Et){gt=u.rgb(gt),Et=u.rgb(Et);var Gt=gt.r,ce=gt.g,me=gt.b,Te=Et.r-Gt,Ve=Et.g-ce,Ue=Et.b-me;return function(or){return"#"+mr(Math.round(Gt+Te*or))+mr(Math.round(ce+Ve*or))+mr(Math.round(me+Ue*or))}}u.interpolateObject=_l;function _l(gt,Et){var Gt={},ce={},me;for(me in gt)me in Et?Gt[me]=Fo(gt[me],Et[me]):ce[me]=gt[me];for(me in Et)me in gt||(ce[me]=Et[me]);return function(Te){for(me in Gt)ce[me]=Gt[me](Te);return ce}}u.interpolateNumber=Ml;function Ml(gt,Et){return gt=+gt,Et=+Et,function(Gt){return gt*(1-Gt)+Et*Gt}}u.interpolateString=fu;function fu(gt,Et){var Gt=Fs.lastIndex=bl.lastIndex=0,ce,me,Te,Ve=-1,Ue=[],or=[];for(gt=gt+"",Et=Et+"";(ce=Fs.exec(gt))&&(me=bl.exec(Et));)(Te=me.index)>Gt&&(Te=Et.slice(Gt,Te),Ue[Ve]?Ue[Ve]+=Te:Ue[++Ve]=Te),(ce=ce[0])===(me=me[0])?Ue[Ve]?Ue[Ve]+=me:Ue[++Ve]=me:(Ue[++Ve]=null,or.push({i:Ve,x:Ml(ce,me)})),Gt=bl.lastIndex;return Gt<Et.length&&(Te=Et.slice(Gt),Ue[Ve]?Ue[Ve]+=Te:Ue[++Ve]=Te),Ue.length<2?or[0]?(Et=or[0].x,function(Ir){return Et(Ir)+""}):function(){return Et}:(Et=or.length,function(Ir){for(var Sr=0,Zr;Sr<Et;++Sr)Ue[(Zr=or[Sr]).i]=Zr.x(Ir);return Ue.join("")})}var Fs=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,bl=new RegExp(Fs.source,"g");u.interpolate=Fo;function Fo(gt,Et){for(var Gt=u.interpolators.length,ce;--Gt>=0&&!(ce=u.interpolators[Gt](gt,Et)););return ce}u.interpolators=[function(gt,Et){var Gt=typeof Et;return(Gt==="string"?Pr.has(Et.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(Et)?Al:fu:Et instanceof En?Al:Array.isArray(Et)?bs:Gt==="object"&&isNaN(Et)?_l:Ml)(gt,Et)}],u.interpolateArray=bs;function bs(gt,Et){var Gt=[],ce=[],me=gt.length,Te=Et.length,Ve=Math.min(gt.length,Et.length),Ue;for(Ue=0;Ue<Ve;++Ue)Gt.push(Fo(gt[Ue],Et[Ue]));for(;Ue<me;++Ue)ce[Ue]=gt[Ue];for(;Ue<Te;++Ue)ce[Ue]=Et[Ue];return function(or){for(Ue=0;Ue<Ve;++Ue)ce[Ue]=Gt[Ue](or);return ce}}var zu=function(){return B},Nl=u.map({linear:zu,poly:nc,quad:function(){return vh},cubic:function(){return os},sin:function(){return pu},exp:function(){return ml},circle:function(){return Lc},elastic:qu,back:dc,bounce:function(){return wl}}),Hu=u.map({in:B,out:sh,"in-out":Oo,"out-in":function(gt){return Oo(sh(gt))}});u.ease=function(gt){var Et=gt.indexOf("-"),Gt=Et>=0?gt.slice(0,Et):gt,ce=Et>=0?gt.slice(Et+1):"in";return Gt=Nl.get(Gt)||zu,ce=Hu.get(ce)||B,qs(ce(Gt.apply(null,d.call(arguments,1))))};function qs(gt){return function(Et){return Et<=0?0:Et>=1?1:gt(Et)}}function sh(gt){return function(Et){return 1-gt(1-Et)}}function Oo(gt){return function(Et){return .5*(Et<.5?gt(2*Et):2-gt(2-2*Et))}}function vh(gt){return gt*gt}function os(gt){return gt*gt*gt}function Fi(gt){if(gt<=0)return 0;if(gt>=1)return 1;var Et=gt*gt,Gt=Et*gt;return 4*(gt<.5?Gt:3*(gt-Et)+Gt-.75)}function nc(gt){return function(Et){return Math.pow(Et,gt)}}function pu(gt){return 1-Math.cos(gt*Ht)}function ml(gt){return Math.pow(2,10*(gt-1))}function Lc(gt){return 1-Math.sqrt(1-gt*gt)}function qu(gt,Et){var Gt;return arguments.length<2&&(Et=.45),arguments.length?Gt=Et/yt*Math.asin(1/gt):(gt=1,Gt=Et/4),function(ce){return 1+gt*Math.pow(2,-10*ce)*Math.sin((ce-Gt)*yt/Et)}}function dc(gt){return gt||(gt=1.70158),function(Et){return Et*Et*((gt+1)*Et-gt)}}function wl(gt){return gt<1/2.75?7.5625*gt*gt:gt<2/2.75?7.5625*(gt-=1.5/2.75)*gt+.75:gt<2.5/2.75?7.5625*(gt-=2.25/2.75)*gt+.9375:7.5625*(gt-=2.625/2.75)*gt+.984375}u.interpolateHcl=Yc;function Yc(gt,Et){gt=u.hcl(gt),Et=u.hcl(Et);var Gt=gt.h,ce=gt.c,me=gt.l,Te=Et.h-Gt,Ve=Et.c-ce,Ue=Et.l-me;return isNaN(Ve)&&(Ve=0,ce=isNaN(ce)?Et.c:ce),isNaN(Te)?(Te=0,Gt=isNaN(Gt)?Et.h:Gt):Te>180?Te-=360:Te<-180&&(Te+=360),function(or){return Ke(Gt+Te*or,ce+Ve*or,me+Ue*or)+""}}u.interpolateHsl=Fc;function Fc(gt,Et){gt=u.hsl(gt),Et=u.hsl(Et);var Gt=gt.h,ce=gt.s,me=gt.l,Te=Et.h-Gt,Ve=Et.s-ce,Ue=Et.l-me;return isNaN(Ve)&&(Ve=0,ce=isNaN(ce)?Et.s:ce),isNaN(Te)?(Te=0,Gt=isNaN(Gt)?Et.h:Gt):Te>180?Te-=360:Te<-180&&(Te+=360),function(or){return ra(Gt+Te*or,ce+Ve*or,me+Ue*or)+""}}u.interpolateLab=mc;function mc(gt,Et){gt=u.lab(gt),Et=u.lab(Et);var Gt=gt.l,ce=gt.a,me=gt.b,Te=Et.l-Gt,Ve=Et.a-ce,Ue=Et.b-me;return function(or){return Nn(Gt+Te*or,ce+Ve*or,me+Ue*or)+""}}u.interpolateRound=Wu;function Wu(gt,Et){return Et-=gt,function(Gt){return Math.round(gt+Et*Gt)}}u.transform=function(gt){var Et=A.createElementNS(u.ns.prefix.svg,"g");return(u.transform=function(Gt){if(Gt!=null){Et.setAttribute("transform",Gt);var ce=Et.transform.baseVal.consolidate()}return new Ic(ce?ce.matrix:Pu)})(gt)};function Ic(gt){var Et=[gt.a,gt.b],Gt=[gt.c,gt.d],ce=du(Et),me=zc(Et,Gt),Te=du(Bc(Gt,Et,-me))||0;Et[0]*Gt[1]<Gt[0]*Et[1]&&(Et[0]*=-1,Et[1]*=-1,ce*=-1,me*=-1),this.rotate=(ce?Math.atan2(Et[1],Et[0]):Math.atan2(-Gt[0],Gt[1]))*fe,this.translate=[gt.e,gt.f],this.scale=[ce,Te],this.skew=Te?Math.atan2(me,Te)*fe:0}Ic.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function zc(gt,Et){return gt[0]*Et[0]+gt[1]*Et[1]}function du(gt){var Et=Math.sqrt(zc(gt,gt));return Et&&(gt[0]/=Et,gt[1]/=Et),Et}function Bc(gt,Et,Gt){return gt[0]+=Gt*Et[0],gt[1]+=Gt*Et[1],gt}var Pu={a:1,b:0,c:0,d:1,e:0,f:0};u.interpolateTransform=_c;function wu(gt){return gt.length?gt.pop()+",":""}function Tl(gt,Et,Gt,ce){if(gt[0]!==Et[0]||gt[1]!==Et[1]){var me=Gt.push("translate(",null,",",null,")");ce.push({i:me-4,x:Ml(gt[0],Et[0])},{i:me-2,x:Ml(gt[1],Et[1])})}else(Et[0]||Et[1])&&Gt.push("translate("+Et+")")}function $u(gt,Et,Gt,ce){gt!==Et?(gt-Et>180?Et+=360:Et-gt>180&&(gt+=360),ce.push({i:Gt.push(wu(Gt)+"rotate(",null,")")-2,x:Ml(gt,Et)})):Et&&Gt.push(wu(Gt)+"rotate("+Et+")")}function Pc(gt,Et,Gt,ce){gt!==Et?ce.push({i:Gt.push(wu(Gt)+"skewX(",null,")")-2,x:Ml(gt,Et)}):Et&&Gt.push(wu(Gt)+"skewX("+Et+")")}function Es(gt,Et,Gt,ce){if(gt[0]!==Et[0]||gt[1]!==Et[1]){var me=Gt.push(wu(Gt)+"scale(",null,",",null,")");ce.push({i:me-4,x:Ml(gt[0],Et[0])},{i:me-2,x:Ml(gt[1],Et[1])})}else(Et[0]!==1||Et[1]!==1)&&Gt.push(wu(Gt)+"scale("+Et+")")}function _c(gt,Et){var Gt=[],ce=[];return gt=u.transform(gt),Et=u.transform(Et),Tl(gt.translate,Et.translate,Gt,ce),$u(gt.rotate,Et.rotate,Gt,ce),Pc(gt.skew,Et.skew,Gt,ce),Es(gt.scale,Et.scale,Gt,ce),gt=Et=null,function(me){for(var Te=-1,Ve=ce.length,Ue;++Te<Ve;)Gt[(Ue=ce[Te]).i]=Ue.x(me);return Gt.join("")}}function lh(gt,Et){return Et=(Et-=gt=+gt)||1/Et,function(Gt){return(Gt-gt)/Et}}function Rc(gt,Et){return Et=(Et-=gt=+gt)||1/Et,function(Gt){return Math.max(0,Math.min(1,(Gt-gt)/Et))}}u.layout={},u.layout.bundle=function(){return function(gt){for(var Et=[],Gt=-1,ce=gt.length;++Gt<ce;)Et.push(gc(gt[Gt]));return Et}};function gc(gt){for(var Et=gt.source,Gt=gt.target,ce=Gl(Et,Gt),me=[Et];Et!==ce;)Et=Et.parent,me.push(Et);for(var Te=me.length;Gt!==ce;)me.splice(Te,0,Gt),Gt=Gt.parent;return me}function Nc(gt){for(var Et=[],Gt=gt.parent;Gt!=null;)Et.push(gt),gt=Gt,Gt=Gt.parent;return Et.push(gt),Et}function Gl(gt,Et){if(gt===Et)return gt;for(var Gt=Nc(gt),ce=Nc(Et),me=Gt.pop(),Te=ce.pop(),Ve=null;me===Te;)Ve=me,me=Gt.pop(),Te=ce.pop();return Ve}u.layout.chord=function(){var gt={},Et,Gt,ce,me,Te=0,Ve,Ue,or;function Ir(){var Zr={},an=[],on=u.range(me),ta=[],fn,Bn,Hn,Yn,na;for(Et=[],Gt=[],fn=0,Yn=-1;++Yn<me;){for(Bn=0,na=-1;++na<me;)Bn+=ce[Yn][na];an.push(Bn),ta.push(u.range(me)),fn+=Bn}for(Ve&&on.sort(function(jo,zi){return Ve(an[jo],an[zi])}),Ue&&ta.forEach(function(jo,zi){jo.sort(function($i,es){return Ue(ce[zi][$i],ce[zi][es])})}),fn=(yt-Te*me)/fn,Bn=0,Yn=-1;++Yn<me;){for(Hn=Bn,na=-1;++na<me;){var _n=on[Yn],Ha=ta[_n][na],Wa=ce[_n][Ha],ri=Bn,xi=Bn+=Wa*fn;Zr[_n+"-"+Ha]={index:_n,subindex:Ha,startAngle:ri,endAngle:xi,value:Wa}}Gt[_n]={index:_n,startAngle:Hn,endAngle:Bn,value:an[_n]},Bn+=Te}for(Yn=-1;++Yn<me;)for(na=Yn-1;++na<me;){var ki=Zr[Yn+"-"+na],Ci=Zr[na+"-"+Yn];(ki.value||Ci.value)&&Et.push(ki.value<Ci.value?{source:Ci,target:ki}:{source:ki,target:Ci})}or&&Sr()}function Sr(){Et.sort(function(Zr,an){return or((Zr.source.value+Zr.target.value)/2,(an.source.value+an.target.value)/2)})}return gt.matrix=function(Zr){return arguments.length?(me=(ce=Zr)&&ce.length,Et=Gt=null,gt):ce},gt.padding=function(Zr){return arguments.length?(Te=Zr,Et=Gt=null,gt):Te},gt.sortGroups=function(Zr){return arguments.length?(Ve=Zr,Et=Gt=null,gt):Ve},gt.sortSubgroups=function(Zr){return arguments.length?(Ue=Zr,Et=null,gt):Ue},gt.sortChords=function(Zr){return arguments.length?(or=Zr,Et&&Sr(),gt):or},gt.chords=function(){return Et||Ir(),Et},gt.groups=function(){return Gt||Ir(),Gt},gt},u.layout.force=function(){var gt={},Et=u.dispatch("start","tick","end"),Gt,ce=[1,1],me,Te,Ve=.9,Ue=Ou,or=Rl,Ir=-30,Sr=Yl,Zr=.1,an=.64,on=[],ta=[],fn,Bn,Hn;function Yn(_n){return function(Ha,Wa,ri,xi){if(Ha.point!==_n){var ki=Ha.cx-_n.x,Ci=Ha.cy-_n.y,jo=xi-Wa,zi=ki*ki+Ci*Ci;if(jo*jo/an<zi){if(zi<Sr){var $i=Ha.charge/zi;_n.px-=ki*$i,_n.py-=Ci*$i}return!0}if(Ha.point&&zi&&zi<Sr){var $i=Ha.pointCharge/zi;_n.px-=ki*$i,_n.py-=Ci*$i}}return!Ha.charge}}gt.tick=function(){if((Te*=.99)<.005)return Gt=null,Et.end({type:"end",alpha:Te=0}),!0;var _n=on.length,Ha=ta.length,Wa,ri,xi,ki,Ci,jo,zi,$i,es;for(ri=0;ri<Ha;++ri)xi=ta[ri],ki=xi.source,Ci=xi.target,$i=Ci.x-ki.x,es=Ci.y-ki.y,(jo=$i*$i+es*es)&&(jo=Te*Bn[ri]*((jo=Math.sqrt(jo))-fn[ri])/jo,$i*=jo,es*=jo,Ci.x-=$i*(zi=ki.weight+Ci.weight?ki.weight/(ki.weight+Ci.weight):.5),Ci.y-=es*zi,ki.x+=$i*(zi=1-zi),ki.y+=es*zi);if((zi=Te*Zr)&&($i=ce[0]/2,es=ce[1]/2,ri=-1,zi))for(;++ri<_n;)xi=on[ri],xi.x+=($i-xi.x)*zi,xi.y+=(es-xi.y)*zi;if(Ir)for(Bs(Wa=u.geom.quadtree(on),Te,Hn),ri=-1;++ri<_n;)(xi=on[ri]).fixed||Wa.visit(Yn(xi));for(ri=-1;++ri<_n;)xi=on[ri],xi.fixed?(xi.x=xi.px,xi.y=xi.py):(xi.x-=(xi.px-(xi.px=xi.x))*Ve,xi.y-=(xi.py-(xi.py=xi.y))*Ve);Et.tick({type:"tick",alpha:Te})},gt.nodes=function(_n){return arguments.length?(on=_n,gt):on},gt.links=function(_n){return arguments.length?(ta=_n,gt):ta},gt.size=function(_n){return arguments.length?(ce=_n,gt):ce},gt.linkDistance=function(_n){return arguments.length?(Ue=typeof _n=="function"?_n:+_n,gt):Ue},gt.distance=gt.linkDistance,gt.linkStrength=function(_n){return arguments.length?(or=typeof _n=="function"?_n:+_n,gt):or},gt.friction=function(_n){return arguments.length?(Ve=+_n,gt):Ve},gt.charge=function(_n){return arguments.length?(Ir=typeof _n=="function"?_n:+_n,gt):Ir},gt.chargeDistance=function(_n){return arguments.length?(Sr=_n*_n,gt):Math.sqrt(Sr)},gt.gravity=function(_n){return arguments.length?(Zr=+_n,gt):Zr},gt.theta=function(_n){return arguments.length?(an=_n*_n,gt):Math.sqrt(an)},gt.alpha=function(_n){return arguments.length?(_n=+_n,Te?_n>0?Te=_n:(Gt.c=null,Gt.t=NaN,Gt=null,Et.end({type:"end",alpha:Te=0})):_n>0&&(Et.start({type:"start",alpha:Te=_n}),Gt=Qn(gt.tick)),gt):Te},gt.start=function(){var _n,Ha=on.length,Wa=ta.length,ri=ce[0],xi=ce[1],ki,Ci;for(_n=0;_n<Ha;++_n)(Ci=on[_n]).index=_n,Ci.weight=0;for(_n=0;_n<Wa;++_n)Ci=ta[_n],typeof Ci.source=="number"&&(Ci.source=on[Ci.source]),typeof Ci.target=="number"&&(Ci.target=on[Ci.target]),++Ci.source.weight,++Ci.target.weight;for(_n=0;_n<Ha;++_n)Ci=on[_n],isNaN(Ci.x)&&(Ci.x=jo("x",ri)),isNaN(Ci.y)&&(Ci.y=jo("y",xi)),isNaN(Ci.px)&&(Ci.px=Ci.x),isNaN(Ci.py)&&(Ci.py=Ci.y);if(fn=[],typeof Ue=="function")for(_n=0;_n<Wa;++_n)fn[_n]=+Ue.call(this,ta[_n],_n);else for(_n=0;_n<Wa;++_n)fn[_n]=Ue;if(Bn=[],typeof or=="function")for(_n=0;_n<Wa;++_n)Bn[_n]=+or.call(this,ta[_n],_n);else for(_n=0;_n<Wa;++_n)Bn[_n]=or;if(Hn=[],typeof Ir=="function")for(_n=0;_n<Ha;++_n)Hn[_n]=+Ir.call(this,on[_n],_n);else for(_n=0;_n<Ha;++_n)Hn[_n]=Ir;function jo(zi,$i){if(!ki){for(ki=new Array(Ha),Ns=0;Ns<Ha;++Ns)ki[Ns]=[];for(Ns=0;Ns<Wa;++Ns){var es=ta[Ns];ki[es.source.index].push(es.target),ki[es.target.index].push(es.source)}}for(var pl=ki[_n],Ns=-1,hi=pl.length,Ao;++Ns<hi;)if(!isNaN(Ao=pl[Ns][zi]))return Ao;return Math.random()*$i}return gt.resume()},gt.resume=function(){return gt.alpha(.1)},gt.stop=function(){return gt.alpha(0)},gt.drag=function(){if(me||(me=u.behavior.drag().origin(B).on("dragstart.force",jc).on("drag.force",na).on("dragend.force",rl)),!arguments.length)return me;this.on("mouseover.force",Kl).on("mouseout.force",Zu).call(me)};function na(_n){_n.px=u.event.x,_n.py=u.event.y,gt.resume()}return u.rebind(gt,Et,"on")};function jc(gt){gt.fixed|=2}function rl(gt){gt.fixed&=-7}function Kl(gt){gt.fixed|=4,gt.px=gt.x,gt.py=gt.y}function Zu(gt){gt.fixed&=-5}function Bs(gt,Et,Gt){var ce=0,me=0;if(gt.charge=0,!gt.leaf)for(var Te=gt.nodes,Ve=Te.length,Ue=-1,or;++Ue<Ve;)or=Te[Ue],or!=null&&(Bs(or,Et,Gt),gt.charge+=or.charge,ce+=or.charge*or.cx,me+=or.charge*or.cy);if(gt.point){gt.leaf||(gt.point.x+=Math.random()-.5,gt.point.y+=Math.random()-.5);var Ir=Et*Gt[gt.point.index];gt.charge+=gt.pointCharge=Ir,ce+=Ir*gt.point.x,me+=Ir*gt.point.y}gt.cx=ce/gt.charge,gt.cy=me/gt.charge}var Ou=20,Rl=1,Yl=1/0;u.layout.hierarchy=function(){var gt=uh,Et=Gu,Gt=bc;function ce(me){var Te=[me],Ve=[],Ue;for(me.depth=0;(Ue=Te.pop())!=null;)if(Ve.push(Ue),(Ir=Et.call(ce,Ue,Ue.depth))&&(or=Ir.length)){for(var or,Ir,Sr;--or>=0;)Te.push(Sr=Ir[or]),Sr.parent=Ue,Sr.depth=Ue.depth+1;Gt&&(Ue.value=0),Ue.children=Ir}else Gt&&(Ue.value=+Gt.call(ce,Ue,Ue.depth)||0),delete Ue.children;return Tu(me,function(Zr){var an,on;gt&&(an=Zr.children)&&an.sort(gt),Gt&&(on=Zr.parent)&&(on.value+=Zr.value)}),Ve}return ce.sort=function(me){return arguments.length?(gt=me,ce):gt},ce.children=function(me){return arguments.length?(Et=me,ce):Et},ce.value=function(me){return arguments.length?(Gt=me,ce):Gt},ce.revalue=function(me){return Gt&&(ac(me,function(Te){Te.children&&(Te.value=0)}),Tu(me,function(Te){var Ve;Te.children||(Te.value=+Gt.call(ce,Te,Te.depth)||0),(Ve=Te.parent)&&(Ve.value+=Te.value)})),me},ce};function Ws(gt,Et){return u.rebind(gt,Et,"sort","children","value"),gt.nodes=gt,gt.links=Ah,gt}function ac(gt,Et){for(var Gt=[gt];(gt=Gt.pop())!=null;)if(Et(gt),(me=gt.children)&&(ce=me.length))for(var ce,me;--ce>=0;)Gt.push(me[ce])}function Tu(gt,Et){for(var Gt=[gt],ce=[];(gt=Gt.pop())!=null;)if(ce.push(gt),(Ve=gt.children)&&(Te=Ve.length))for(var me=-1,Te,Ve;++me<Te;)Gt.push(Ve[me]);for(;(gt=ce.pop())!=null;)Et(gt)}function Gu(gt){return gt.children}function bc(gt){return gt.value}function uh(gt,Et){return Et.value-gt.value}function Ah(gt){return u.merge(gt.map(function(Et){return(Et.children||[]).map(function(Gt){return{source:Et,target:Gt}})}))}u.layout.partition=function(){var gt=u.layout.hierarchy(),Et=[1,1];function Gt(Te,Ve,Ue,or){var Ir=Te.children;if(Te.x=Ve,Te.y=Te.depth*or,Te.dx=Ue,Te.dy=or,Ir&&(Zr=Ir.length)){var Sr=-1,Zr,an,on;for(Ue=Te.value?Ue/Te.value:0;++Sr<Zr;)Gt(an=Ir[Sr],Ve,on=an.value*Ue,or),Ve+=on}}function ce(Te){var Ve=Te.children,Ue=0;if(Ve&&(Ir=Ve.length))for(var or=-1,Ir;++or<Ir;)Ue=Math.max(Ue,ce(Ve[or]));return 1+Ue}function me(Te,Ve){var Ue=gt.call(this,Te,Ve);return Gt(Ue[0],0,Et[0],Et[1]/ce(Ue[0])),Ue}return me.size=function(Te){return arguments.length?(Et=Te,me):Et},Ws(me,gt)},u.layout.pie=function(){var gt=Number,Et=ic,Gt=0,ce=yt,me=0;function Te(Ve){var Ue=Ve.length,or=Ve.map(function(Yn,na){return+gt.call(Te,Yn,na)}),Ir=+(typeof Gt=="function"?Gt.apply(this,arguments):Gt),Sr=(typeof ce=="function"?ce.apply(this,arguments):ce)-Ir,Zr=Math.min(Math.abs(Sr)/Ue,+(typeof me=="function"?me.apply(this,arguments):me)),an=Zr*(Sr<0?-1:1),on=u.sum(or),ta=on?(Sr-Ue*an)/on:0,fn=u.range(Ue),Bn=[],Hn;return Et!=null&&fn.sort(Et===ic?function(Yn,na){return or[na]-or[Yn]}:function(Yn,na){return Et(Ve[Yn],Ve[na])}),fn.forEach(function(Yn){Bn[Yn]={data:Ve[Yn],value:Hn=or[Yn],startAngle:Ir,endAngle:Ir+=Hn*ta+an,padAngle:Zr}}),Bn}return Te.value=function(Ve){return arguments.length?(gt=Ve,Te):gt},Te.sort=function(Ve){return arguments.length?(Et=Ve,Te):Et},Te.startAngle=function(Ve){return arguments.length?(Gt=Ve,Te):Gt},Te.endAngle=function(Ve){return arguments.length?(ce=Ve,Te):ce},Te.padAngle=function(Ve){return arguments.length?(me=Ve,Te):me},Te};var ic={};u.layout.stack=function(){var gt=B,Et=Tc,Gt=ku,ce=oc,me=wc,Te=Fl;function Ve(Ue,or){if(!(ta=Ue.length))return Ue;var Ir=Ue.map(function(Yn,na){return gt.call(Ve,Yn,na)}),Sr=Ir.map(function(Yn){return Yn.map(function(na,_n){return[me.call(Ve,na,_n),Te.call(Ve,na,_n)]})}),Zr=Et.call(Ve,Sr,or);Ir=u.permute(Ir,Zr),Sr=u.permute(Sr,Zr);var an=Gt.call(Ve,Sr,or),on=Ir[0].length,ta,fn,Bn,Hn;for(Bn=0;Bn<on;++Bn)for(ce.call(Ve,Ir[0][Bn],Hn=an[Bn],Sr[0][Bn][1]),fn=1;fn<ta;++fn)ce.call(Ve,Ir[fn][Bn],Hn+=Sr[fn-1][Bn][1],Sr[fn][Bn][1]);return Ue}return Ve.values=function(Ue){return arguments.length?(gt=Ue,Ve):gt},Ve.order=function(Ue){return arguments.length?(Et=typeof Ue=="function"?Ue:iu.get(Ue)||Tc,Ve):Et},Ve.offset=function(Ue){return arguments.length?(Gt=typeof Ue=="function"?Ue:sc.get(Ue)||ku,Ve):Gt},Ve.x=function(Ue){return arguments.length?(me=Ue,Ve):me},Ve.y=function(Ue){return arguments.length?(Te=Ue,Ve):Te},Ve.out=function(Ue){return arguments.length?(ce=Ue,Ve):ce},Ve};function wc(gt){return gt.x}function Fl(gt){return gt.y}function oc(gt,Et,Gt){gt.y0=Et,gt.y=Gt}var iu=u.map({"inside-out":function(gt){var Et=gt.length,Gt,ce,me=gt.map(Zs),Te=gt.map(Du),Ve=u.range(Et).sort(function(Zr,an){return me[Zr]-me[an]}),Ue=0,or=0,Ir=[],Sr=[];for(Gt=0;Gt<Et;++Gt)ce=Ve[Gt],Ue<or?(Ue+=Te[ce],Ir.push(ce)):(or+=Te[ce],Sr.push(ce));return Sr.reverse().concat(Ir)},reverse:function(gt){return u.range(gt.length).reverse()},default:Tc}),sc=u.map({silhouette:function(gt){var Et=gt.length,Gt=gt[0].length,ce=[],me=0,Te,Ve,Ue,or=[];for(Ve=0;Ve<Gt;++Ve){for(Te=0,Ue=0;Te<Et;Te++)Ue+=gt[Te][Ve][1];Ue>me&&(me=Ue),ce.push(Ue)}for(Ve=0;Ve<Gt;++Ve)or[Ve]=(me-ce[Ve])/2;return or},wiggle:function(gt){var Et=gt.length,Gt=gt[0],ce=Gt.length,me,Te,Ve,Ue,or,Ir,Sr,Zr,an,on=[];for(on[0]=Zr=an=0,Te=1;Te<ce;++Te){for(me=0,Ue=0;me<Et;++me)Ue+=gt[me][Te][1];for(me=0,or=0,Sr=Gt[Te][0]-Gt[Te-1][0];me<Et;++me){for(Ve=0,Ir=(gt[me][Te][1]-gt[me][Te-1][1])/(2*Sr);Ve<me;++Ve)Ir+=(gt[Ve][Te][1]-gt[Ve][Te-1][1])/Sr;or+=Ir*gt[me][Te][1]}on[Te]=Zr-=Ue?or/Ue*Sr:0,Zr<an&&(an=Zr)}for(Te=0;Te<ce;++Te)on[Te]-=an;return on},expand:function(gt){var Et=gt.length,Gt=gt[0].length,ce=1/Et,me,Te,Ve,Ue=[];for(Te=0;Te<Gt;++Te){for(me=0,Ve=0;me<Et;me++)Ve+=gt[me][Te][1];if(Ve)for(me=0;me<Et;me++)gt[me][Te][1]/=Ve;else for(me=0;me<Et;me++)gt[me][Te][1]=ce}for(Te=0;Te<Gt;++Te)Ue[Te]=0;return Ue},zero:ku});function Tc(gt){return u.range(gt.length)}function ku(gt){for(var Et=-1,Gt=gt[0].length,ce=[];++Et<Gt;)ce[Et]=0;return ce}function Zs(gt){for(var Et=1,Gt=0,ce=gt[0][1],me,Te=gt.length;Et<Te;++Et)(me=gt[Et][1])>ce&&(Gt=Et,ce=me);return Gt}function Du(gt){return gt.reduce(Xl,0)}function Xl(gt,Et){return gt+Et[1]}u.layout.histogram=function(){var gt=!0,Et=Number,Gt=vc,ce=Xc;function me(Te,Ve){for(var Ue=[],or=Te.map(Et,this),Ir=Gt.call(this,or,Ve),Sr=ce.call(this,Ir,or,Ve),Zr,Ve=-1,an=or.length,on=Sr.length-1,ta=gt?1:1/an,fn;++Ve<on;)Zr=Ue[Ve]=[],Zr.dx=Sr[Ve+1]-(Zr.x=Sr[Ve]),Zr.y=0;if(on>0)for(Ve=-1;++Ve<an;)fn=or[Ve],fn>=Ir[0]&&fn<=Ir[1]&&(Zr=Ue[u.bisect(Sr,fn,1,on)-1],Zr.y+=ta,Zr.push(Te[Ve]));return Ue}return me.value=function(Te){return arguments.length?(Et=Te,me):Et},me.range=function(Te){return arguments.length?(Gt=pe(Te),me):Gt},me.bins=function(Te){return arguments.length?(ce=typeof Te=="number"?function(Ve){return Vs(Ve,Te)}:pe(Te),me):ce},me.frequency=function(Te){return arguments.length?(gt=!!Te,me):gt},me};function Xc(gt,Et){return Vs(gt,Math.ceil(Math.log(Et.length)/Math.LN2+1))}function Vs(gt,Et){for(var Gt=-1,ce=+gt[0],me=(gt[1]-ce)/Et,Te=[];++Gt<=Et;)Te[Gt]=me*Gt+ce;return Te}function vc(gt){return[u.min(gt),u.max(gt)]}u.layout.pack=function(){var gt=u.layout.hierarchy().sort(Ku),Et=0,Gt=[1,1],ce;function me(Te,Ve){var Ue=gt.call(this,Te,Ve),or=Ue[0],Ir=Gt[0],Sr=Gt[1],Zr=ce==null?Math.sqrt:typeof ce=="function"?ce:function(){return ce};if(or.x=or.y=0,Tu(or,function(on){on.r=+Zr(on.value)}),Tu(or,yc),Et){var an=Et*(ce?1:Math.max(2*or.r/Ir,2*or.r/Sr))/2;Tu(or,function(on){on.r+=an}),Tu(or,yc),Tu(or,function(on){on.r-=an})}return Uc(or,Ir/2,Sr/2,ce?1:1/Math.max(2*or.r/Ir,2*or.r/Sr)),Ue}return me.size=function(Te){return arguments.length?(Gt=Te,me):Gt},me.radius=function(Te){return arguments.length?(ce=Te==null||typeof Te=="function"?Te:+Te,me):ce},me.padding=function(Te){return arguments.length?(Et=+Te,me):Et},Ws(me,gt)};function Ku(gt,Et){return gt.value-Et.value}function ou(gt,Et){var Gt=gt._pack_next;gt._pack_next=Et,Et._pack_prev=gt,Et._pack_next=Gt,Gt._pack_prev=Et}function Qu(gt,Et){gt._pack_next=Et,Et._pack_prev=gt}function Yu(gt,Et){var Gt=Et.x-gt.x,ce=Et.y-gt.y,me=gt.r+Et.r;return .999*me*me>Gt*Gt+ce*ce}function yc(gt){if(!(Et=gt.children)||!(an=Et.length))return;var Et,Gt=1/0,ce=-1/0,me=1/0,Te=-1/0,Ve,Ue,or,Ir,Sr,Zr,an;function on(_n){Gt=Math.min(_n.x-_n.r,Gt),ce=Math.max(_n.x+_n.r,ce),me=Math.min(_n.y-_n.r,me),Te=Math.max(_n.y+_n.r,Te)}if(Et.forEach(ch),Ve=Et[0],Ve.x=-Ve.r,Ve.y=0,on(Ve),an>1&&(Ue=Et[1],Ue.x=Ue.r,Ue.y=0,on(Ue),an>2))for(or=Et[2],su(Ve,Ue,or),on(or),ou(Ve,or),Ve._pack_prev=or,ou(or,Ue),Ue=Ve._pack_next,Ir=3;Ir<an;Ir++){su(Ve,Ue,or=Et[Ir]);var ta=0,fn=1,Bn=1;for(Sr=Ue._pack_next;Sr!==Ue;Sr=Sr._pack_next,fn++)if(Yu(Sr,or)){ta=1;break}if(ta==1)for(Zr=Ve._pack_prev;Zr!==Sr._pack_prev&&!Yu(Zr,or);Zr=Zr._pack_prev,Bn++);ta?(fn<Bn||fn==Bn&&Ue.r<Ve.r?Qu(Ve,Ue=Sr):Qu(Ve=Zr,Ue),Ir--):(ou(Ve,or),Ue=or,on(or))}var Hn=(Gt+ce)/2,Yn=(me+Te)/2,na=0;for(Ir=0;Ir<an;Ir++)or=Et[Ir],or.x-=Hn,or.y-=Yn,na=Math.max(na,or.r+Math.sqrt(or.x*or.x+or.y*or.y));gt.r=na,Et.forEach(Ll)}function ch(gt){gt._pack_next=gt._pack_prev=gt}function Ll(gt){delete gt._pack_next,delete gt._pack_prev}function Uc(gt,Et,Gt,ce){var me=gt.children;if(gt.x=Et+=ce*gt.x,gt.y=Gt+=ce*gt.y,gt.r*=ce,me)for(var Te=-1,Ve=me.length;++Te<Ve;)Uc(me[Te],Et,Gt,ce)}function su(gt,Et,Gt){var ce=gt.r+Gt.r,me=Et.x-gt.x,Te=Et.y-gt.y;if(ce&&(me||Te)){var Ve=Et.r+Gt.r,Ue=me*me+Te*Te;Ve*=Ve,ce*=ce;var or=.5+(ce-Ve)/(2*Ue),Ir=Math.sqrt(Math.max(0,2*Ve*(ce+Ue)-(ce-=Ue)*ce-Ve*Ve))/(2*Ue);Gt.x=gt.x+or*me+Ir*Te,Gt.y=gt.y+or*Te-Ir*me}else Gt.x=gt.x+ce,Gt.y=gt.y}u.layout.tree=function(){var gt=u.layout.hierarchy().sort(null).value(null),Et=Fu,Gt=[1,1],ce=null;function me(Sr,Zr){var an=gt.call(this,Sr,Zr),on=an[0],ta=Te(on);if(Tu(ta,Ve),ta.parent.m=-ta.z,ac(ta,Ue),ce)ac(on,Ir);else{var fn=on,Bn=on,Hn=on;ac(on,function(Ha){Ha.x<fn.x&&(fn=Ha),Ha.x>Bn.x&&(Bn=Ha),Ha.depth>Hn.depth&&(Hn=Ha)});var Yn=Et(fn,Bn)/2-fn.x,na=Gt[0]/(Bn.x+Et(Bn,fn)/2+Yn),_n=Gt[1]/(Hn.depth||1);ac(on,function(Ha){Ha.x=(Ha.x+Yn)*na,Ha.y=Ha.depth*_n})}return an}function Te(Sr){for(var Zr={A:null,children:[Sr]},an=[Zr],on;(on=an.pop())!=null;)for(var ta=on.children,fn,Bn=0,Hn=ta.length;Bn<Hn;++Bn)an.push((ta[Bn]=fn={_:ta[Bn],parent:on,children:(fn=ta[Bn].children)&&fn.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:Bn}).a=fn);return Zr.children[0]}function Ve(Sr){var Zr=Sr.children,an=Sr.parent.children,on=Sr.i?an[Sr.i-1]:null;if(Zr.length){Mu(Sr);var ta=(Zr[0].z+Zr[Zr.length-1].z)/2;on?(Sr.z=on.z+Et(Sr._,on._),Sr.m=Sr.z-ta):Sr.z=ta}else on&&(Sr.z=on.z+Et(Sr._,on._));Sr.parent.A=or(Sr,on,Sr.parent.A||an[0])}function Ue(Sr){Sr._.x=Sr.z+Sr.parent.m,Sr.m+=Sr.parent.m}function or(Sr,Zr,an){if(Zr){for(var on=Sr,ta=Sr,fn=Zr,Bn=on.parent.children[0],Hn=on.m,Yn=ta.m,na=fn.m,_n=Bn.m,Ha;fn=il(fn),on=Au(on),fn&&on;)Bn=Au(Bn),ta=il(ta),ta.a=Sr,Ha=fn.z+na-on.z-Hn+Et(fn._,on._),Ha>0&&(Is(lc(fn,Sr,an),Sr,Ha),Hn+=Ha,Yn+=Ha),na+=fn.m,Hn+=on.m,_n+=Bn.m,Yn+=ta.m;fn&&!il(ta)&&(ta.t=fn,ta.m+=na-Yn),on&&!Au(Bn)&&(Bn.t=on,Bn.m+=Hn-_n,an=Sr)}return an}function Ir(Sr){Sr.x*=Gt[0],Sr.y=Sr.depth*Gt[1]}return me.separation=function(Sr){return arguments.length?(Et=Sr,me):Et},me.size=function(Sr){return arguments.length?(ce=(Gt=Sr)==null?Ir:null,me):ce?null:Gt},me.nodeSize=function(Sr){return arguments.length?(ce=(Gt=Sr)==null?null:Ir,me):ce?Gt:null},Ws(me,gt)};function Fu(gt,Et){return gt.parent==Et.parent?1:2}function Au(gt){var Et=gt.children;return Et.length?Et[0]:gt.t}function il(gt){var Et=gt.children,Gt;return(Gt=Et.length)?Et[Gt-1]:gt.t}function Is(gt,Et,Gt){var ce=Gt/(Et.i-gt.i);Et.c-=ce,Et.s+=Gt,gt.c+=ce,Et.z+=Gt,Et.m+=Gt}function Mu(gt){for(var Et=0,Gt=0,ce=gt.children,me=ce.length,Te;--me>=0;)Te=ce[me],Te.z+=Et,Te.m+=Et,Et+=Te.s+(Gt+=Te.c)}function lc(gt,Et,Gt){return gt.a.parent===Et.parent?gt.a:Gt}u.layout.cluster=function(){var gt=u.layout.hierarchy().sort(null).value(null),Et=Fu,Gt=[1,1],ce=!1;function me(Te,Ve){var Ue=gt.call(this,Te,Ve),or=Ue[0],Ir,Sr=0;Tu(or,function(fn){var Bn=fn.children;Bn&&Bn.length?(fn.x=Oc(Bn),fn.y=Su(Bn)):(fn.x=Ir?Sr+=Et(fn,Ir):0,fn.y=0,Ir=fn)});var Zr=Xe(or),an=yr(or),on=Zr.x-Et(Zr,an)/2,ta=an.x+Et(an,Zr)/2;return Tu(or,ce?function(fn){fn.x=(fn.x-or.x)*Gt[0],fn.y=(or.y-fn.y)*Gt[1]}:function(fn){fn.x=(fn.x-on)/(ta-on)*Gt[0],fn.y=(1-(or.y?fn.y/or.y:1))*Gt[1]}),Ue}return me.separation=function(Te){return arguments.length?(Et=Te,me):Et},me.size=function(Te){return arguments.length?(ce=(Gt=Te)==null,me):ce?null:Gt},me.nodeSize=function(Te){return arguments.length?(ce=(Gt=Te)!=null,me):ce?Gt:null},Ws(me,gt)};function Su(gt){return 1+u.max(gt,function(Et){return Et.y})}function Oc(gt){return gt.reduce(function(Et,Gt){return Et+Gt.x},0)/gt.length}function Xe(gt){var Et=gt.children;return Et&&Et.length?Xe(Et[0]):gt}function yr(gt){var Et=gt.children,Gt;return Et&&(Gt=Et.length)?yr(Et[Gt-1]):gt}u.layout.treemap=function(){var gt=u.layout.hierarchy(),Et=Math.round,Gt=[1,1],ce=null,me=Kr,Te=!1,Ve,Ue="squarify",or=.5*(1+Math.sqrt(5));function Ir(fn,Bn){for(var Hn=-1,Yn=fn.length,na,_n;++Hn<Yn;)_n=(na=fn[Hn]).value*(Bn<0?0:Bn),na.area=isNaN(_n)||_n<=0?0:_n}function Sr(fn){var Bn=fn.children;if(Bn&&Bn.length){var Hn=me(fn),Yn=[],na=Bn.slice(),_n,Ha=1/0,Wa,ri=Ue==="slice"?Hn.dx:Ue==="dice"?Hn.dy:Ue==="slice-dice"?fn.depth&1?Hn.dy:Hn.dx:Math.min(Hn.dx,Hn.dy),xi;for(Ir(na,Hn.dx*Hn.dy/fn.value),Yn.area=0;(xi=na.length)>0;)Yn.push(_n=na[xi-1]),Yn.area+=_n.area,Ue!=="squarify"||(Wa=an(Yn,ri))<=Ha?(na.pop(),Ha=Wa):(Yn.area-=Yn.pop().area,on(Yn,ri,Hn,!1),ri=Math.min(Hn.dx,Hn.dy),Yn.length=Yn.area=0,Ha=1/0);Yn.length&&(on(Yn,ri,Hn,!0),Yn.length=Yn.area=0),Bn.forEach(Sr)}}function Zr(fn){var Bn=fn.children;if(Bn&&Bn.length){var Hn=me(fn),Yn=Bn.slice(),na,_n=[];for(Ir(Yn,Hn.dx*Hn.dy/fn.value),_n.area=0;na=Yn.pop();)_n.push(na),_n.area+=na.area,na.z!=null&&(on(_n,na.z?Hn.dx:Hn.dy,Hn,!Yn.length),_n.length=_n.area=0);Bn.forEach(Zr)}}function an(fn,Bn){for(var Hn=fn.area,Yn,na=0,_n=1/0,Ha=-1,Wa=fn.length;++Ha<Wa;)(Yn=fn[Ha].area)&&(Yn<_n&&(_n=Yn),Yn>na&&(na=Yn));return Hn*=Hn,Bn*=Bn,Hn?Math.max(Bn*na*or/Hn,Hn/(Bn*_n*or)):1/0}function on(fn,Bn,Hn,Yn){var na=-1,_n=fn.length,Ha=Hn.x,Wa=Hn.y,ri=Bn?Et(fn.area/Bn):0,xi;if(Bn==Hn.dx){for((Yn||ri>Hn.dy)&&(ri=Hn.dy);++na<_n;)xi=fn[na],xi.x=Ha,xi.y=Wa,xi.dy=ri,Ha+=xi.dx=Math.min(Hn.x+Hn.dx-Ha,ri?Et(xi.area/ri):0);xi.z=!0,xi.dx+=Hn.x+Hn.dx-Ha,Hn.y+=ri,Hn.dy-=ri}else{for((Yn||ri>Hn.dx)&&(ri=Hn.dx);++na<_n;)xi=fn[na],xi.x=Ha,xi.y=Wa,xi.dx=ri,Wa+=xi.dy=Math.min(Hn.y+Hn.dy-Wa,ri?Et(xi.area/ri):0);xi.z=!1,xi.dy+=Hn.y+Hn.dy-Wa,Hn.x+=ri,Hn.dx-=ri}}function ta(fn){var Bn=Ve||gt(fn),Hn=Bn[0];return Hn.x=Hn.y=0,Hn.value?(Hn.dx=Gt[0],Hn.dy=Gt[1]):Hn.dx=Hn.dy=0,Ve&>.revalue(Hn),Ir([Hn],Hn.dx*Hn.dy/Hn.value),(Ve?Zr:Sr)(Hn),Te&&(Ve=Bn),Bn}return ta.size=function(fn){return arguments.length?(Gt=fn,ta):Gt},ta.padding=function(fn){if(!arguments.length)return ce;function Bn(na){var _n=fn.call(ta,na,na.depth);return _n==null?Kr(na):Rr(na,typeof _n=="number"?[_n,_n,_n,_n]:_n)}function Hn(na){return Rr(na,fn)}var Yn;return me=(ce=fn)==null?Kr:(Yn=typeof fn)=="function"?Bn:(Yn==="number"&&(fn=[fn,fn,fn,fn]),Hn),ta},ta.round=function(fn){return arguments.length?(Et=fn?Math.round:Number,ta):Et!=Number},ta.sticky=function(fn){return arguments.length?(Te=fn,Ve=null,ta):Te},ta.ratio=function(fn){return arguments.length?(or=fn,ta):or},ta.mode=function(fn){return arguments.length?(Ue=fn+"",ta):Ue},Ws(ta,gt)};function Kr(gt){return{x:gt.x,y:gt.y,dx:gt.dx,dy:gt.dy}}function Rr(gt,Et){var Gt=gt.x+Et[3],ce=gt.y+Et[0],me=gt.dx-Et[1]-Et[3],Te=gt.dy-Et[0]-Et[2];return me<0&&(Gt+=me/2,me=0),Te<0&&(ce+=Te/2,Te=0),{x:Gt,y:ce,dx:me,dy:Te}}u.random={normal:function(gt,Et){var Gt=arguments.length;return Gt<2&&(Et=1),Gt<1&&(gt=0),function(){var ce,me,Te;do ce=Math.random()*2-1,me=Math.random()*2-1,Te=ce*ce+me*me;while(!Te||Te>1);return gt+Et*ce*Math.sqrt(-2*Math.log(Te)/Te)}},logNormal:function(){var gt=u.random.normal.apply(u,arguments);return function(){return Math.exp(gt())}},bates:function(gt){var Et=u.random.irwinHall(gt);return function(){return Et()/gt}},irwinHall:function(gt){return function(){for(var Et=0,Gt=0;Gt<gt;Gt++)Et+=Math.random();return Et}}},u.scale={};function mn(gt){var Et=gt[0],Gt=gt[gt.length-1];return Et<Gt?[Et,Gt]:[Gt,Et]}function Pn(gt){return gt.rangeExtent?gt.rangeExtent():mn(gt.range())}function fa(gt,Et,Gt,ce){var me=Gt(gt[0],gt[1]),Te=ce(Et[0],Et[1]);return function(Ve){return Te(me(Ve))}}function Ta(gt,Et){var Gt=0,ce=gt.length-1,me=gt[Gt],Te=gt[ce],Ve;return Te<me&&(Ve=Gt,Gt=ce,ce=Ve,Ve=me,me=Te,Te=Ve),gt[Gt]=Et.floor(me),gt[ce]=Et.ceil(Te),gt}function Ua(gt){return gt?{floor:function(Et){return Math.floor(Et/gt)*gt},ceil:function(Et){return Math.ceil(Et/gt)*gt}}:Ya}var Ya={floor:B,ceil:B};function va(gt,Et,Gt,ce){var me=[],Te=[],Ve=0,Ue=Math.min(gt.length,Et.length)-1;for(gt[Ue]<gt[0]&&(gt=gt.slice().reverse(),Et=Et.slice().reverse());++Ve<=Ue;)me.push(Gt(gt[Ve-1],gt[Ve])),Te.push(ce(Et[Ve-1],Et[Ve]));return function(or){var Ir=u.bisect(gt,or,1,Ue)-1;return Te[Ir](me[Ir](or))}}u.scale.linear=function(){return Ba([0,1],[0,1],Fo,!1)};function Ba(gt,Et,Gt,ce){var me,Te;function Ve(){var or=Math.min(gt.length,Et.length)>2?va:fa,Ir=ce?Rc:lh;return me=or(gt,Et,Ir,Gt),Te=or(Et,gt,Ir,Fo),Ue}function Ue(or){return me(or)}return Ue.invert=function(or){return Te(or)},Ue.domain=function(or){return arguments.length?(gt=or.map(Number),Ve()):gt},Ue.range=function(or){return arguments.length?(Et=or,Ve()):Et},Ue.rangeRound=function(or){return Ue.range(or).interpolate(Wu)},Ue.clamp=function(or){return arguments.length?(ce=or,Ve()):ce},Ue.interpolate=function(or){return arguments.length?(Gt=or,Ve()):Gt},Ue.ticks=function(or){return Vi(gt,or)},Ue.tickFormat=function(or,Ir){return d3_scale_linearTickFormat(gt,or,Ir)},Ue.nice=function(or){return ca(gt,or),Ve()},Ue.copy=function(){return Ba(gt,Et,Gt,ce)},Ve()}function Ca(gt,Et){return u.rebind(gt,Et,"range","rangeRound","interpolate","clamp")}function ca(gt,Et){return Ta(gt,Ua(ei(gt,Et)[2])),Ta(gt,Ua(ei(gt,Et)[2])),gt}function ei(gt,Et){Et==null&&(Et=10);var Gt=mn(gt),ce=Gt[1]-Gt[0],me=Math.pow(10,Math.floor(Math.log(ce/Et)/Math.LN10)),Te=Et/ce*me;return Te<=.15?me*=10:Te<=.35?me*=5:Te<=.75&&(me*=2),Gt[0]=Math.ceil(Gt[0]/me)*me,Gt[1]=Math.floor(Gt[1]/me)*me+me*.5,Gt[2]=me,Gt}function Vi(gt,Et){return u.range.apply(u,ei(gt,Et))}u.scale.log=function(){return Oi(u.scale.linear().domain([0,1]),10,!0,[1,10])};function Oi(gt,Et,Gt,ce){function me(Ue){return(Gt?Math.log(Ue<0?0:Ue):-Math.log(Ue>0?0:-Ue))/Math.log(Et)}function Te(Ue){return Gt?Math.pow(Et,Ue):-Math.pow(Et,-Ue)}function Ve(Ue){return gt(me(Ue))}return Ve.invert=function(Ue){return Te(gt.invert(Ue))},Ve.domain=function(Ue){return arguments.length?(Gt=Ue[0]>=0,gt.domain((ce=Ue.map(Number)).map(me)),Ve):ce},Ve.base=function(Ue){return arguments.length?(Et=+Ue,gt.domain(ce.map(me)),Ve):Et},Ve.nice=function(){var Ue=Ta(ce.map(me),Gt?Math:Wi);return gt.domain(Ue),ce=Ue.map(Te),Ve},Ve.ticks=function(){var Ue=mn(ce),or=[],Ir=Ue[0],Sr=Ue[1],Zr=Math.floor(me(Ir)),an=Math.ceil(me(Sr)),on=Et%1?2:Et;if(isFinite(an-Zr)){if(Gt){for(;Zr<an;Zr++)for(var ta=1;ta<on;ta++)or.push(Te(Zr)*ta);or.push(Te(Zr))}else for(or.push(Te(Zr));Zr++<an;)for(var ta=on-1;ta>0;ta--)or.push(Te(Zr)*ta);for(Zr=0;or[Zr]<Ir;Zr++);for(an=or.length;or[an-1]>Sr;an--);or=or.slice(Zr,an)}return or},Ve.copy=function(){return Oi(gt.copy(),Et,Gt,ce)},Ca(Ve,gt)}var Wi={floor:function(gt){return-Math.ceil(-gt)},ceil:function(gt){return-Math.floor(-gt)}};u.scale.pow=function(){return Xi(u.scale.linear(),1,[0,1])};function Xi(gt,Et,Gt){var ce=ni(Et),me=ni(1/Et);function Te(Ve){return gt(ce(Ve))}return Te.invert=function(Ve){return me(gt.invert(Ve))},Te.domain=function(Ve){return arguments.length?(gt.domain((Gt=Ve.map(Number)).map(ce)),Te):Gt},Te.ticks=function(Ve){return Vi(Gt,Ve)},Te.tickFormat=function(Ve,Ue){return d3_scale_linearTickFormat(Gt,Ve,Ue)},Te.nice=function(Ve){return Te.domain(ca(Gt,Ve))},Te.exponent=function(Ve){return arguments.length?(ce=ni(Et=Ve),me=ni(1/Et),gt.domain(Gt.map(ce)),Te):Et},Te.copy=function(){return Xi(gt.copy(),Et,Gt)},Ca(Te,gt)}function ni(gt){return function(Et){return Et<0?-Math.pow(-Et,gt):Math.pow(Et,gt)}}u.scale.sqrt=function(){return u.scale.pow().exponent(.5)},u.scale.ordinal=function(){return Ga([],{t:"range",a:[[]]})};function Ga(gt,Et){var Gt,ce,me;function Te(Ue){return ce[((Gt.get(Ue)||(Et.t==="range"?Gt.set(Ue,gt.push(Ue)):NaN))-1)%ce.length]}function Ve(Ue,or){return u.range(gt.length).map(function(Ir){return Ue+or*Ir})}return Te.domain=function(Ue){if(!arguments.length)return gt;gt=[],Gt=new M;for(var or=-1,Ir=Ue.length,Sr;++or<Ir;)Gt.has(Sr=Ue[or])||Gt.set(Sr,gt.push(Sr));return Te[Et.t].apply(Te,Et.a)},Te.range=function(Ue){return arguments.length?(ce=Ue,me=0,Et={t:"range",a:arguments},Te):ce},Te.rangePoints=function(Ue,or){arguments.length<2&&(or=0);var Ir=Ue[0],Sr=Ue[1],Zr=gt.length<2?(Ir=(Ir+Sr)/2,0):(Sr-Ir)/(gt.length-1+or);return ce=Ve(Ir+Zr*or/2,Zr),me=0,Et={t:"rangePoints",a:arguments},Te},Te.rangeRoundPoints=function(Ue,or){arguments.length<2&&(or=0);var Ir=Ue[0],Sr=Ue[1],Zr=gt.length<2?(Ir=Sr=Math.round((Ir+Sr)/2),0):(Sr-Ir)/(gt.length-1+or)|0;return ce=Ve(Ir+Math.round(Zr*or/2+(Sr-Ir-(gt.length-1+or)*Zr)/2),Zr),me=0,Et={t:"rangeRoundPoints",a:arguments},Te},Te.rangeBands=function(Ue,or,Ir){arguments.length<2&&(or=0),arguments.length<3&&(Ir=or);var Sr=Ue[1]<Ue[0],Zr=Ue[Sr-0],an=Ue[1-Sr],on=(an-Zr)/(gt.length-or+2*Ir);return ce=Ve(Zr+on*Ir,on),Sr&&ce.reverse(),me=on*(1-or),Et={t:"rangeBands",a:arguments},Te},Te.rangeRoundBands=function(Ue,or,Ir){arguments.length<2&&(or=0),arguments.length<3&&(Ir=or);var Sr=Ue[1]<Ue[0],Zr=Ue[Sr-0],an=Ue[1-Sr],on=Math.floor((an-Zr)/(gt.length-or+2*Ir));return ce=Ve(Zr+Math.round((an-Zr-(gt.length-or)*on)/2),on),Sr&&ce.reverse(),me=Math.round(on*(1-or)),Et={t:"rangeRoundBands",a:arguments},Te},Te.rangeBand=function(){return me},Te.rangeExtent=function(){return mn(Et.a[0])},Te.copy=function(){return Ga(gt,Et)},Te.domain(gt)}u.scale.category10=function(){return u.scale.ordinal().range(Ji)},u.scale.category20=function(){return u.scale.ordinal().range(Do)},u.scale.category20b=function(){return u.scale.ordinal().range(ss)},u.scale.category20c=function(){return u.scale.ordinal().range(Ps)};var Ji=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(ve),Do=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(ve),ss=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(ve),Ps=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(ve);u.scale.quantile=function(){return ys([],[])};function ys(gt,Et){var Gt;function ce(){var Te=0,Ve=Et.length;for(Gt=[];++Te<Ve;)Gt[Te-1]=u.quantile(gt,Te/Ve);return me}function me(Te){if(!isNaN(Te=+Te))return Et[u.bisect(Gt,Te)]}return me.domain=function(Te){return arguments.length?(gt=Te.map(h).filter(g).sort(s),ce()):gt},me.range=function(Te){return arguments.length?(Et=Te,ce()):Et},me.quantiles=function(){return Gt},me.invertExtent=function(Te){return Te=Et.indexOf(Te),Te<0?[NaN,NaN]:[Te>0?Gt[Te-1]:gt[0],Te<Gt.length?Gt[Te]:gt[gt.length-1]]},me.copy=function(){return ys(gt,Et)},ce()}u.scale.quantize=function(){return Os(0,1,[0,1])};function Os(gt,Et,Gt){var ce,me;function Te(Ue){return Gt[Math.max(0,Math.min(me,Math.floor(ce*(Ue-gt))))]}function Ve(){return ce=Gt.length/(Et-gt),me=Gt.length-1,Te}return Te.domain=function(Ue){return arguments.length?(gt=+Ue[0],Et=+Ue[Ue.length-1],Ve()):[gt,Et]},Te.range=function(Ue){return arguments.length?(Gt=Ue,Ve()):Gt},Te.invertExtent=function(Ue){return Ue=Gt.indexOf(Ue),Ue=Ue<0?NaN:Ue/ce+gt,[Ue,Ue+1/ce]},Te.copy=function(){return Os(gt,Et,Gt)},Ve()}u.scale.threshold=function(){return Yo([.5],[0,1])};function Yo(gt,Et){function Gt(ce){if(ce<=ce)return Et[u.bisect(gt,ce)]}return Gt.domain=function(ce){return arguments.length?(gt=ce,Gt):gt},Gt.range=function(ce){return arguments.length?(Et=ce,Gt):Et},Gt.invertExtent=function(ce){return ce=Et.indexOf(ce),[gt[ce-1],gt[ce]]},Gt.copy=function(){return Yo(gt,Et)},Gt}u.scale.identity=function(){return ll([0,1])};function ll(gt){function Et(Gt){return+Gt}return Et.invert=Et,Et.domain=Et.range=function(Gt){return arguments.length?(gt=Gt.map(Et),Et):gt},Et.ticks=function(Gt){return Vi(gt,Gt)},Et.tickFormat=function(Gt,ce){return d3_scale_linearTickFormat(gt,Gt,ce)},Et.copy=function(){return ll(gt)},Et}u.svg={};function el(){return 0}u.svg.arc=function(){var gt=bi,Et=so,Gt=el,ce=Rs,me=ws,Te=hs,Ve=Il;function Ue(){var Ir=Math.max(0,+gt.apply(this,arguments)),Sr=Math.max(0,+Et.apply(this,arguments)),Zr=me.apply(this,arguments)-Ht,an=Te.apply(this,arguments)-Ht,on=Math.abs(an-Zr),ta=Zr>an?0:1;if(Sr<Ir&&(fn=Sr,Sr=Ir,Ir=fn),on>=St)return or(Sr,ta)+(Ir?or(Ir,1-ta):"")+"Z";var fn,Bn,Hn,Yn,na=0,_n=0,Ha,Wa,ri,xi,ki,Ci,jo,zi,$i=[];if((Yn=(+Ve.apply(this,arguments)||0)/2)&&(Hn=ce===Rs?Math.sqrt(Ir*Ir+Sr*Sr):+ce.apply(this,arguments),ta||(_n*=-1),Sr&&(_n=Ae(Hn/Sr*Math.sin(Yn))),Ir&&(na=Ae(Hn/Ir*Math.sin(Yn)))),Sr){Ha=Sr*Math.cos(Zr+_n),Wa=Sr*Math.sin(Zr+_n),ri=Sr*Math.cos(an-_n),xi=Sr*Math.sin(an-_n);var es=Math.abs(an-Zr-2*_n)<=ct?0:1;if(_n&&Jl(Ha,Wa,ri,xi)===ta^es){var pl=(Zr+an)/2;Ha=Sr*Math.cos(pl),Wa=Sr*Math.sin(pl),ri=xi=null}}else Ha=Wa=0;if(Ir){ki=Ir*Math.cos(an-na),Ci=Ir*Math.sin(an-na),jo=Ir*Math.cos(Zr+na),zi=Ir*Math.sin(Zr+na);var Ns=Math.abs(Zr-an+2*na)<=ct?0:1;if(na&&Jl(ki,Ci,jo,zi)===1-ta^Ns){var hi=(Zr+an)/2;ki=Ir*Math.cos(hi),Ci=Ir*Math.sin(hi),jo=zi=null}}else ki=Ci=0;if(on>qt&&(fn=Math.min(Math.abs(Sr-Ir)/2,+Gt.apply(this,arguments)))>.001){Bn=Ir<Sr^ta?0:1;var Ao=fn,Bo=fn;if(on<ct){var Ds=jo==null?[ki,Ci]:ri==null?[Ha,Wa]:Ii([Ha,Wa],[jo,zi],[ri,xi],[ki,Ci]),Ts=Ha-Ds[0],lu=Wa-Ds[1],ps=ri-Ds[0],Cs=xi-Ds[1],Eu=1/Math.sin(Math.acos((Ts*ps+lu*Cs)/(Math.sqrt(Ts*Ts+lu*lu)*Math.sqrt(ps*ps+Cs*Cs)))/2),ie=Math.sqrt(Ds[0]*Ds[0]+Ds[1]*Ds[1]);Bo=Math.min(fn,(Ir-ie)/(Eu-1)),Ao=Math.min(fn,(Sr-ie)/(Eu+1))}if(ri!=null){var ir=jl(jo==null?[ki,Ci]:[jo,zi],[Ha,Wa],Sr,Ao,ta),cr=jl([ri,xi],[ki,Ci],Sr,Ao,ta);fn===Ao?$i.push("M",ir[0],"A",Ao,",",Ao," 0 0,",Bn," ",ir[1],"A",Sr,",",Sr," 0 ",1-ta^Jl(ir[1][0],ir[1][1],cr[1][0],cr[1][1]),",",ta," ",cr[1],"A",Ao,",",Ao," 0 0,",Bn," ",cr[0]):$i.push("M",ir[0],"A",Ao,",",Ao," 0 1,",Bn," ",cr[0])}else $i.push("M",Ha,",",Wa);if(jo!=null){var sn=jl([Ha,Wa],[jo,zi],Ir,-Bo,ta),Cn=jl([ki,Ci],ri==null?[Ha,Wa]:[ri,xi],Ir,-Bo,ta);fn===Bo?$i.push("L",Cn[0],"A",Bo,",",Bo," 0 0,",Bn," ",Cn[1],"A",Ir,",",Ir," 0 ",ta^Jl(Cn[1][0],Cn[1][1],sn[1][0],sn[1][1]),",",1-ta," ",sn[1],"A",Bo,",",Bo," 0 0,",Bn," ",sn[0]):$i.push("L",Cn[0],"A",Bo,",",Bo," 0 0,",Bn," ",sn[0])}else $i.push("L",ki,",",Ci)}else $i.push("M",Ha,",",Wa),ri!=null&&$i.push("A",Sr,",",Sr," 0 ",es,",",ta," ",ri,",",xi),$i.push("L",ki,",",Ci),jo!=null&&$i.push("A",Ir,",",Ir," 0 ",Ns,",",1-ta," ",jo,",",zi);return $i.push("Z"),$i.join("")}function or(Ir,Sr){return"M0,"+Ir+"A"+Ir+","+Ir+" 0 1,"+Sr+" 0,"+-Ir+"A"+Ir+","+Ir+" 0 1,"+Sr+" 0,"+Ir}return Ue.innerRadius=function(Ir){return arguments.length?(gt=pe(Ir),Ue):gt},Ue.outerRadius=function(Ir){return arguments.length?(Et=pe(Ir),Ue):Et},Ue.cornerRadius=function(Ir){return arguments.length?(Gt=pe(Ir),Ue):Gt},Ue.padRadius=function(Ir){return arguments.length?(ce=Ir==Rs?Rs:pe(Ir),Ue):ce},Ue.startAngle=function(Ir){return arguments.length?(me=pe(Ir),Ue):me},Ue.endAngle=function(Ir){return arguments.length?(Te=pe(Ir),Ue):Te},Ue.padAngle=function(Ir){return arguments.length?(Ve=pe(Ir),Ue):Ve},Ue.centroid=function(){var Ir=(+gt.apply(this,arguments)+ +Et.apply(this,arguments))/2,Sr=(+me.apply(this,arguments)+ +Te.apply(this,arguments))/2-Ht;return[Math.cos(Sr)*Ir,Math.sin(Sr)*Ir]},Ue};var Rs="auto";function bi(gt){return gt.innerRadius}function so(gt){return gt.outerRadius}function ws(gt){return gt.startAngle}function hs(gt){return gt.endAngle}function Il(gt){return gt&>.padAngle}function Jl(gt,Et,Gt,ce){return(gt-Gt)*Et-(Et-ce)*gt>0?0:1}function jl(gt,Et,Gt,ce,me){var Te=gt[0]-Et[0],Ve=gt[1]-Et[1],Ue=(me?ce:-ce)/Math.sqrt(Te*Te+Ve*Ve),or=Ue*Ve,Ir=-Ue*Te,Sr=gt[0]+or,Zr=gt[1]+Ir,an=Et[0]+or,on=Et[1]+Ir,ta=(Sr+an)/2,fn=(Zr+on)/2,Bn=an-Sr,Hn=on-Zr,Yn=Bn*Bn+Hn*Hn,na=Gt-ce,_n=Sr*on-an*Zr,Ha=(Hn<0?-1:1)*Math.sqrt(Math.max(0,na*na*Yn-_n*_n)),Wa=(_n*Hn-Bn*Ha)/Yn,ri=(-_n*Bn-Hn*Ha)/Yn,xi=(_n*Hn+Bn*Ha)/Yn,ki=(-_n*Bn+Hn*Ha)/Yn,Ci=Wa-ta,jo=ri-fn,zi=xi-ta,$i=ki-fn;return Ci*Ci+jo*jo>zi*zi+$i*$i&&(Wa=xi,ri=ki),[[Wa-or,ri-Ir],[Wa*Gt/na,ri*Gt/na]]}function Bu(){return!0}function $l(gt){var Et=ci,Gt=Ti,ce=Bu,me=nl,Te=me.key,Ve=.7;function Ue(or){var Ir=[],Sr=[],Zr=-1,an=or.length,on,ta=pe(Et),fn=pe(Gt);function Bn(){Ir.push("M",me(gt(Sr),Ve))}for(;++Zr<an;)ce.call(this,on=or[Zr],Zr)?Sr.push([+ta.call(this,on,Zr),+fn.call(this,on,Zr)]):Sr.length&&(Bn(),Sr=[]);return Sr.length&&Bn(),Ir.length?Ir.join(""):null}return Ue.x=function(or){return arguments.length?(Et=or,Ue):Et},Ue.y=function(or){return arguments.length?(Gt=or,Ue):Gt},Ue.defined=function(or){return arguments.length?(ce=or,Ue):ce},Ue.interpolate=function(or){return arguments.length?(typeof or=="function"?Te=me=or:Te=(me=Ru.get(or)||nl).key,Ue):Te},Ue.tension=function(or){return arguments.length?(Ve=or,Ue):Ve},Ue}u.svg.line=function(){return $l(B)};var Ru=u.map({linear:nl,"linear-closed":Nu,step:Ui,"step-before":ho,"step-after":Ql,basis:_t,"basis-open":kt,"basis-closed":It,bundle:le,cardinal:zt,"cardinal-open":ul,"cardinal-closed":Dc,monotone:Zt});Ru.forEach(function(gt,Et){Et.key=gt,Et.closed=/-closed$/.test(gt)});function nl(gt){return gt.length>1?gt.join("L"):gt+"Z"}function Nu(gt){return gt.join("L")+"Z"}function Ui(gt){for(var Et=0,Gt=gt.length,ce=gt[0],me=[ce[0],",",ce[1]];++Et<Gt;)me.push("H",(ce[0]+(ce=gt[Et])[0])/2,"V",ce[1]);return Gt>1&&me.push("H",ce[0]),me.join("")}function ho(gt){for(var Et=0,Gt=gt.length,ce=gt[0],me=[ce[0],",",ce[1]];++Et<Gt;)me.push("V",(ce=gt[Et])[1],"H",ce[0]);return me.join("")}function Ql(gt){for(var Et=0,Gt=gt.length,ce=gt[0],me=[ce[0],",",ce[1]];++Et<Gt;)me.push("H",(ce=gt[Et])[0],"V",ce[1]);return me.join("")}function ul(gt,Et){return gt.length<4?nl(gt):gt[1]+C(gt.slice(1,-1),ot(gt,Et))}function Dc(gt,Et){return gt.length<3?Nu(gt):gt[0]+C((gt.push(gt[0]),gt),ot([gt[gt.length-2]].concat(gt,[gt[1]]),Et))}function zt(gt,Et){return gt.length<3?nl(gt):gt[0]+C(gt,ot(gt,Et))}function C(gt,Et){if(Et.length<1||gt.length!=Et.length&>.length!=Et.length+2)return nl(gt);var Gt=gt.length!=Et.length,ce="",me=gt[0],Te=gt[1],Ve=Et[0],Ue=Ve,or=1;if(Gt&&(ce+="Q"+(Te[0]-Ve[0]*2/3)+","+(Te[1]-Ve[1]*2/3)+","+Te[0]+","+Te[1],me=gt[1],or=2),Et.length>1){Ue=Et[1],Te=gt[or],or++,ce+="C"+(me[0]+Ve[0])+","+(me[1]+Ve[1])+","+(Te[0]-Ue[0])+","+(Te[1]-Ue[1])+","+Te[0]+","+Te[1];for(var Ir=2;Ir<Et.length;Ir++,or++)Te=gt[or],Ue=Et[Ir],ce+="S"+(Te[0]-Ue[0])+","+(Te[1]-Ue[1])+","+Te[0]+","+Te[1]}if(Gt){var Sr=gt[or];ce+="Q"+(Te[0]+Ue[0]*2/3)+","+(Te[1]+Ue[1]*2/3)+","+Sr[0]+","+Sr[1]}return ce}function ot(gt,Et){for(var Gt=[],ce=(1-Et)/2,me,Te=gt[0],Ve=gt[1],Ue=1,or=gt.length;++Ue<or;)me=Te,Te=Ve,Ve=gt[Ue],Gt.push([ce*(Ve[0]-me[0]),ce*(Ve[1]-me[1])]);return Gt}function _t(gt){if(gt.length<3)return nl(gt);var Et=1,Gt=gt.length,ce=gt[0],me=ce[0],Te=ce[1],Ve=[me,me,me,(ce=gt[1])[0]],Ue=[Te,Te,Te,ce[1]],or=[me,",",Te,"L",xe(fr,Ve),",",xe(fr,Ue)];for(gt.push(gt[Gt-1]);++Et<=Gt;)ce=gt[Et],Ve.shift(),Ve.push(ce[0]),Ue.shift(),Ue.push(ce[1]),pr(or,Ve,Ue);return gt.pop(),or.push("L",ce),or.join("")}function kt(gt){if(gt.length<4)return nl(gt);for(var Et=[],Gt=-1,ce=gt.length,me,Te=[0],Ve=[0];++Gt<3;)me=gt[Gt],Te.push(me[0]),Ve.push(me[1]);for(Et.push(xe(fr,Te)+","+xe(fr,Ve)),--Gt;++Gt<ce;)me=gt[Gt],Te.shift(),Te.push(me[0]),Ve.shift(),Ve.push(me[1]),pr(Et,Te,Ve);return Et.join("")}function It(gt){for(var Et,Gt=-1,ce=gt.length,me=ce+4,Te,Ve=[],Ue=[];++Gt<4;)Te=gt[Gt%ce],Ve.push(Te[0]),Ue.push(Te[1]);for(Et=[xe(fr,Ve),",",xe(fr,Ue)],--Gt;++Gt<me;)Te=gt[Gt%ce],Ve.shift(),Ve.push(Te[0]),Ue.shift(),Ue.push(Te[1]),pr(Et,Ve,Ue);return Et.join("")}function le(gt,Et){var Gt=gt.length-1;if(Gt)for(var ce=gt[0][0],me=gt[0][1],Te=gt[Gt][0]-ce,Ve=gt[Gt][1]-me,Ue=-1,or,Ir;++Ue<=Gt;)or=gt[Ue],Ir=Ue/Gt,or[0]=Et*or[0]+(1-Et)*(ce+Ir*Te),or[1]=Et*or[1]+(1-Et)*(me+Ir*Ve);return _t(gt)}function xe(gt,Et){return gt[0]*Et[0]+gt[1]*Et[1]+gt[2]*Et[2]+gt[3]*Et[3]}var ze=[0,2/3,1/3,0],Je=[0,1/3,2/3,0],fr=[0,1/6,2/3,1/6];function pr(gt,Et,Gt){gt.push("C",xe(ze,Et),",",xe(ze,Gt),",",xe(Je,Et),",",xe(Je,Gt),",",xe(fr,Et),",",xe(fr,Gt))}function Br(gt,Et){return(Et[1]-gt[1])/(Et[0]-gt[0])}function $r(gt){for(var Et=0,Gt=gt.length-1,ce=[],me=gt[0],Te=gt[1],Ve=ce[0]=Br(me,Te);++Et<Gt;)ce[Et]=(Ve+(Ve=Br(me=Te,Te=gt[Et+1])))/2;return ce[Et]=Ve,ce}function Nt(gt){for(var Et=[],Gt,ce,me,Te,Ve=$r(gt),Ue=-1,or=gt.length-1;++Ue<or;)Gt=Br(gt[Ue],gt[Ue+1]),l(Gt)<qt?Ve[Ue]=Ve[Ue+1]=0:(ce=Ve[Ue]/Gt,me=Ve[Ue+1]/Gt,Te=ce*ce+me*me,Te>9&&(Te=Gt*3/Math.sqrt(Te),Ve[Ue]=Te*ce,Ve[Ue+1]=Te*me));for(Ue=-1;++Ue<=or;)Te=(gt[Math.min(or,Ue+1)][0]-gt[Math.max(0,Ue-1)][0])/(6*(1+Ve[Ue]*Ve[Ue])),Et.push([Te||0,Ve[Ue]*Te||0]);return Et}function Zt(gt){return gt.length<3?nl(gt):gt[0]+C(gt,Nt(gt))}u.svg.line.radial=function(){var gt=$l(ae);return gt.radius=gt.x,delete gt.x,gt.angle=gt.y,delete gt.y,gt};function ae(gt){for(var Et,Gt=-1,ce=gt.length,me,Te;++Gt<ce;)Et=gt[Gt],me=Et[0],Te=Et[1]-Ht,Et[0]=me*Math.cos(Te),Et[1]=me*Math.sin(Te);return gt}function ue(gt){var Et=ci,Gt=ci,ce=0,me=Ti,Te=Bu,Ve=nl,Ue=Ve.key,or=Ve,Ir="L",Sr=.7;function Zr(an){var on=[],ta=[],fn=[],Bn=-1,Hn=an.length,Yn,na=pe(Et),_n=pe(ce),Ha=Et===Gt?function(){return ri}:pe(Gt),Wa=ce===me?function(){return xi}:pe(me),ri,xi;function ki(){on.push("M",Ve(gt(fn),Sr),Ir,or(gt(ta.reverse()),Sr),"Z")}for(;++Bn<Hn;)Te.call(this,Yn=an[Bn],Bn)?(ta.push([ri=+na.call(this,Yn,Bn),xi=+_n.call(this,Yn,Bn)]),fn.push([+Ha.call(this,Yn,Bn),+Wa.call(this,Yn,Bn)])):ta.length&&(ki(),ta=[],fn=[]);return ta.length&&ki(),on.length?on.join(""):null}return Zr.x=function(an){return arguments.length?(Et=Gt=an,Zr):Gt},Zr.x0=function(an){return arguments.length?(Et=an,Zr):Et},Zr.x1=function(an){return arguments.length?(Gt=an,Zr):Gt},Zr.y=function(an){return arguments.length?(ce=me=an,Zr):me},Zr.y0=function(an){return arguments.length?(ce=an,Zr):ce},Zr.y1=function(an){return arguments.length?(me=an,Zr):me},Zr.defined=function(an){return arguments.length?(Te=an,Zr):Te},Zr.interpolate=function(an){return arguments.length?(typeof an=="function"?Ue=Ve=an:Ue=(Ve=Ru.get(an)||nl).key,or=Ve.reverse||Ve,Ir=Ve.closed?"M":"L",Zr):Ue},Zr.tension=function(an){return arguments.length?(Sr=an,Zr):Sr},Zr}ho.reverse=Ql,Ql.reverse=ho,u.svg.area=function(){return ue(B)},u.svg.area.radial=function(){var gt=ue(ae);return gt.radius=gt.x,delete gt.x,gt.innerRadius=gt.x0,delete gt.x0,gt.outerRadius=gt.x1,delete gt.x1,gt.angle=gt.y,delete gt.y,gt.startAngle=gt.y0,delete gt.y0,gt.endAngle=gt.y1,delete gt.y1,gt};function ke(gt){return gt.source}function ye(gt){return gt.target}u.svg.chord=function(){var gt=ke,Et=ye,Gt=Ce,ce=ws,me=hs;function Te(Sr,Zr){var an=Ve(this,gt,Sr,Zr),on=Ve(this,Et,Sr,Zr);return"M"+an.p0+or(an.r,an.p1,an.a1-an.a0)+(Ue(an,on)?Ir(an.r,an.p1,an.r,an.p0):Ir(an.r,an.p1,on.r,on.p0)+or(on.r,on.p1,on.a1-on.a0)+Ir(on.r,on.p1,an.r,an.p0))+"Z"}function Ve(Sr,Zr,an,on){var ta=Zr.call(Sr,an,on),fn=Gt.call(Sr,ta,on),Bn=ce.call(Sr,ta,on)-Ht,Hn=me.call(Sr,ta,on)-Ht;return{r:fn,a0:Bn,a1:Hn,p0:[fn*Math.cos(Bn),fn*Math.sin(Bn)],p1:[fn*Math.cos(Hn),fn*Math.sin(Hn)]}}function Ue(Sr,Zr){return Sr.a0==Zr.a0&&Sr.a1==Zr.a1}function or(Sr,Zr,an){return"A"+Sr+","+Sr+" 0 "+ +(an>ct)+",1 "+Zr}function Ir(Sr,Zr,an,on){return"Q 0,0 "+on}return Te.radius=function(Sr){return arguments.length?(Gt=pe(Sr),Te):Gt},Te.source=function(Sr){return arguments.length?(gt=pe(Sr),Te):gt},Te.target=function(Sr){return arguments.length?(Et=pe(Sr),Te):Et},Te.startAngle=function(Sr){return arguments.length?(ce=pe(Sr),Te):ce},Te.endAngle=function(Sr){return arguments.length?(me=pe(Sr),Te):me},Te};function Ce(gt){return gt.radius}u.svg.diagonal=function(){var gt=ke,Et=ye,Gt=nr;function ce(me,Te){var Ve=gt.call(this,me,Te),Ue=Et.call(this,me,Te),or=(Ve.y+Ue.y)/2,Ir=[Ve,{x:Ve.x,y:or},{x:Ue.x,y:or},Ue];return Ir=Ir.map(Gt),"M"+Ir[0]+"C"+Ir[1]+" "+Ir[2]+" "+Ir[3]}return ce.source=function(me){return arguments.length?(gt=pe(me),ce):gt},ce.target=function(me){return arguments.length?(Et=pe(me),ce):Et},ce.projection=function(me){return arguments.length?(Gt=me,ce):Gt},ce};function nr(gt){return[gt.x,gt.y]}u.svg.diagonal.radial=function(){var gt=u.svg.diagonal(),Et=nr,Gt=gt.projection;return gt.projection=function(ce){return arguments.length?Gt(hr(Et=ce)):Et},gt};function hr(gt){return function(){var Et=gt.apply(this,arguments),Gt=Et[0],ce=Et[1]-Ht;return[Gt*Math.cos(ce),Gt*Math.sin(ce)]}}u.svg.symbol=function(){var gt=Lr,Et=vr;function Gt(ce,me){return(nn.get(gt.call(this,ce,me))||Hr)(Et.call(this,ce,me))}return Gt.type=function(ce){return arguments.length?(gt=pe(ce),Gt):gt},Gt.size=function(ce){return arguments.length?(Et=pe(ce),Gt):Et},Gt};function vr(){return 64}function Lr(){return"circle"}function Hr(gt){var Et=Math.sqrt(gt/ct);return"M0,"+Et+"A"+Et+","+Et+" 0 1,1 0,"+-Et+"A"+Et+","+Et+" 0 1,1 0,"+Et+"Z"}var nn=u.map({circle:Hr,cross:function(gt){var Et=Math.sqrt(gt/5)/2;return"M"+-3*Et+","+-Et+"H"+-Et+"V"+-3*Et+"H"+Et+"V"+-Et+"H"+3*Et+"V"+Et+"H"+Et+"V"+3*Et+"H"+-Et+"V"+Et+"H"+-3*Et+"Z"},diamond:function(gt){var Et=Math.sqrt(gt/(2*Mn)),Gt=Et*Mn;return"M0,"+-Et+"L"+Gt+",0 0,"+Et+" "+-Gt+",0Z"},square:function(gt){var Et=Math.sqrt(gt)/2;return"M"+-Et+","+-Et+"L"+Et+","+-Et+" "+Et+","+Et+" "+-Et+","+Et+"Z"},"triangle-down":function(gt){var Et=Math.sqrt(gt/cn),Gt=Et*cn/2;return"M0,"+Gt+"L"+Et+","+-Gt+" "+-Et+","+-Gt+"Z"},"triangle-up":function(gt){var Et=Math.sqrt(gt/cn),Gt=Et*cn/2;return"M0,"+-Gt+"L"+Et+","+Gt+" "+-Et+","+Gt+"Z"}});u.svg.symbolTypes=nn.keys();var cn=Math.sqrt(3),Mn=Math.tan(30*Yt);$.transition=function(gt){for(var Et=Ai||++ai,Gt=Xo(gt),ce=[],me,Te,Ve=mi||{time:Date.now(),ease:Fi,delay:0,duration:250},Ue=-1,or=this.length;++Ue<or;){ce.push(me=[]);for(var Ir=this[Ue],Sr=-1,Zr=Ir.length;++Sr<Zr;)(Te=Ir[Sr])&&po(Te,Sr,Gt,Et,Ve),me.push(Te)}return xa(ce,Gt,Et)},$.interrupt=function(gt){return this.each(gt==null?$n:_a(Xo(gt)))};var $n=_a(Xo());function _a(gt){return function(){var Et,Gt,ce;(Et=this[gt])&&(ce=Et[Gt=Et.active])&&(ce.timer.c=null,ce.timer.t=NaN,--Et.count?delete Et[Gt]:delete this[gt],Et.active+=.5,ce.event&&ce.event.interrupt.call(this,this.__data__,ce.index))}}function xa(gt,Et,Gt){return G(gt,La),gt.namespace=Et,gt.id=Gt,gt}var La=[],ai=0,Ai,mi;La.call=$.call,La.empty=$.empty,La.node=$.node,La.size=$.size,u.transition=function(gt,Et){return gt&>.transition?Ai?gt.transition(Et):gt:u.selection().transition(gt)},u.transition.prototype=La,La.select=function(gt){var Et=this.id,Gt=this.namespace,ce=[],me,Te,Ve;gt=H(gt);for(var Ue=-1,or=this.length;++Ue<or;){ce.push(me=[]);for(var Ir=this[Ue],Sr=-1,Zr=Ir.length;++Sr<Zr;)(Ve=Ir[Sr])&&(Te=gt.call(Ve,Ve.__data__,Sr,Ue))?("__data__"in Ve&&(Te.__data__=Ve.__data__),po(Te,Sr,Gt,Et,Ve[Gt][Et]),me.push(Te)):me.push(null)}return xa(ce,Gt,Et)},La.selectAll=function(gt){var Et=this.id,Gt=this.namespace,ce=[],me,Te,Ve,Ue,or;gt=it(gt);for(var Ir=-1,Sr=this.length;++Ir<Sr;)for(var Zr=this[Ir],an=-1,on=Zr.length;++an<on;)if(Ve=Zr[an]){or=Ve[Gt][Et],Te=gt.call(Ve,Ve.__data__,an,Ir),ce.push(me=[]);for(var ta=-1,fn=Te.length;++ta<fn;)(Ue=Te[ta])&&po(Ue,ta,Gt,Et,or),me.push(Ue)}return xa(ce,Gt,Et)},La.filter=function(gt){var Et=[],Gt,ce,me;typeof gt!="function"&&(gt=vt(gt));for(var Te=0,Ve=this.length;Te<Ve;Te++){Et.push(Gt=[]);for(var ce=this[Te],Ue=0,or=ce.length;Ue<or;Ue++)(me=ce[Ue])&>.call(me,me.__data__,Ue,Te)&&Gt.push(me)}return xa(Et,this.namespace,this.id)},La.tween=function(gt,Et){var Gt=this.id,ce=this.namespace;return arguments.length<2?this.node()[ce][Gt].tween.get(gt):re(this,Et==null?function(me){me[ce][Gt].tween.remove(gt)}:function(me){me[ce][Gt].tween.set(gt,Et)})};function Yi(gt,Et,Gt,ce){var me=gt.id,Te=gt.namespace;return re(gt,typeof Gt=="function"?function(Ve,Ue,or){Ve[Te][me].tween.set(Et,ce(Gt.call(Ve,Ve.__data__,Ue,or)))}:(Gt=ce(Gt),function(Ve){Ve[Te][me].tween.set(Et,Gt)}))}La.attr=function(gt,Et){if(arguments.length<2){for(Et in gt)this.attr(Et,gt[Et]);return this}var Gt=gt=="transform"?_c:Fo,ce=u.ns.qualify(gt);function me(){this.removeAttribute(ce)}function Te(){this.removeAttributeNS(ce.space,ce.local)}function Ve(or){return or==null?me:(or+="",function(){var Ir=this.getAttribute(ce),Sr;return Ir!==or&&(Sr=Gt(Ir,or),function(Zr){this.setAttribute(ce,Sr(Zr))})})}function Ue(or){return or==null?Te:(or+="",function(){var Ir=this.getAttributeNS(ce.space,ce.local),Sr;return Ir!==or&&(Sr=Gt(Ir,or),function(Zr){this.setAttributeNS(ce.space,ce.local,Sr(Zr))})})}return Yi(this,"attr."+gt,Et,ce.local?Ue:Ve)},La.attrTween=function(gt,Et){var Gt=u.ns.qualify(gt);function ce(Te,Ve){var Ue=Et.call(this,Te,Ve,this.getAttribute(Gt));return Ue&&function(or){this.setAttribute(Gt,Ue(or))}}function me(Te,Ve){var Ue=Et.call(this,Te,Ve,this.getAttributeNS(Gt.space,Gt.local));return Ue&&function(or){this.setAttributeNS(Gt.space,Gt.local,Ue(or))}}return this.tween("attr."+gt,Gt.local?me:ce)},La.style=function(gt,Et,Gt){var ce=arguments.length;if(ce<3){if(typeof gt!="string"){ce<2&&(Et="");for(Gt in gt)this.style(Gt,gt[Gt],Et);return this}Gt=""}function me(){this.style.removeProperty(gt)}function Te(Ve){return Ve==null?me:(Ve+="",function(){var Ue=e(this).getComputedStyle(this,null).getPropertyValue(gt),or;return Ue!==Ve&&(or=Fo(Ue,Ve),function(Ir){this.style.setProperty(gt,or(Ir),Gt)})})}return Yi(this,"style."+gt,Et,Te)},La.styleTween=function(gt,Et,Gt){arguments.length<3&&(Gt="");function ce(me,Te){var Ve=Et.call(this,me,Te,e(this).getComputedStyle(this,null).getPropertyValue(gt));return Ve&&function(Ue){this.style.setProperty(gt,Ve(Ue),Gt)}}return this.tween("style."+gt,ce)},La.text=function(gt){return Yi(this,"text",gt,Zo)};function Zo(gt){return gt==null&&(gt=""),function(){this.textContent=gt}}La.remove=function(){var gt=this.namespace;return this.each("end.transition",function(){var Et;this[gt].count<2&&(Et=this.parentNode)&&Et.removeChild(this)})},La.ease=function(gt){var Et=this.id,Gt=this.namespace;return arguments.length<1?this.node()[Gt][Et].ease:(typeof gt!="function"&&(gt=u.ease.apply(u,arguments)),re(this,function(ce){ce[Gt][Et].ease=gt}))},La.delay=function(gt){var Et=this.id,Gt=this.namespace;return arguments.length<1?this.node()[Gt][Et].delay:re(this,typeof gt=="function"?function(ce,me,Te){ce[Gt][Et].delay=+gt.call(ce,ce.__data__,me,Te)}:(gt=+gt,function(ce){ce[Gt][Et].delay=gt}))},La.duration=function(gt){var Et=this.id,Gt=this.namespace;return arguments.length<1?this.node()[Gt][Et].duration:re(this,typeof gt=="function"?function(ce,me,Te){ce[Gt][Et].duration=Math.max(1,gt.call(ce,ce.__data__,me,Te))}:(gt=Math.max(1,gt),function(ce){ce[Gt][Et].duration=gt}))},La.each=function(gt,Et){var Gt=this.id,ce=this.namespace;if(arguments.length<2){var me=mi,Te=Ai;try{Ai=Gt,re(this,function(Ve,Ue,or){mi=Ve[ce][Gt],gt.call(Ve,Ve.__data__,Ue,or)})}finally{mi=me,Ai=Te}}else re(this,function(Ve){var Ue=Ve[ce][Gt];(Ue.event||(Ue.event=u.dispatch("start","end","interrupt"))).on(gt,Et)});return this},La.transition=function(){for(var gt=this.id,Et=++ai,Gt=this.namespace,ce=[],me,Te,Ve,Ue,or=0,Ir=this.length;or<Ir;or++){ce.push(me=[]);for(var Te=this[or],Sr=0,Zr=Te.length;Sr<Zr;Sr++)(Ve=Te[Sr])&&(Ue=Ve[Gt][gt],po(Ve,Sr,Gt,Et,{time:Ue.time,ease:Ue.ease,delay:Ue.delay+Ue.duration,duration:Ue.duration})),me.push(Ve)}return xa(ce,Gt,Et)};function Xo(gt){return gt==null?"__transition__":"__transition_"+gt+"__"}function po(gt,Et,Gt,ce,me){var Te=gt[Gt]||(gt[Gt]={active:0,count:0}),Ve=Te[ce],Ue,or,Ir,Sr,Zr;function an(fn){var Bn=Ve.delay;if(or.t=Bn+Ue,Bn<=fn)return on(fn-Bn);or.c=on}function on(fn){var Bn=Te.active,Hn=Te[Bn];Hn&&(Hn.timer.c=null,Hn.timer.t=NaN,--Te.count,delete Te[Bn],Hn.event&&Hn.event.interrupt.call(gt,gt.__data__,Hn.index));for(var Yn in Te)if(+Yn<ce){var na=Te[Yn];na.timer.c=null,na.timer.t=NaN,--Te.count,delete Te[Yn]}or.c=ta,Qn(function(){return or.c&&ta(fn||1)&&(or.c=null,or.t=NaN),1},0,Ue),Te.active=ce,Ve.event&&Ve.event.start.call(gt,gt.__data__,Et),Zr=[],Ve.tween.forEach(function(_n,Ha){(Ha=Ha.call(gt,gt.__data__,Et))&&Zr.push(Ha)}),Sr=Ve.ease,Ir=Ve.duration}function ta(fn){for(var Bn=fn/Ir,Hn=Sr(Bn),Yn=Zr.length;Yn>0;)Zr[--Yn].call(gt,Hn);if(Bn>=1)return Ve.event&&Ve.event.end.call(gt,gt.__data__,Et),--Te.count?delete Te[ce]:delete gt[Gt],1}Ve||(Ue=me.time,or=Qn(an,0,Ue),Ve=Te[ce]={tween:new M,time:Ue,timer:or,delay:me.delay,duration:me.duration,ease:me.ease,index:Et},me=null,++Te.count)}u.svg.axis=function(){var gt=u.scale.linear(),Et=Qo,Gt=6,ce=6,me=3,Te=[10],Ve=null,Ue;function or(Ir){Ir.each(function(){var Sr=u.select(this),Zr=this.__chart__||gt,an=this.__chart__=gt.copy(),on=Ve??(an.ticks?an.ticks.apply(an,Te):an.domain()),ta=Ue??(an.tickFormat?an.tickFormat.apply(an,Te):B),fn=Sr.selectAll(".tick").data(on,an),Bn=fn.enter().insert("g",".domain").attr("class","tick").style("opacity",qt),Hn=u.transition(fn.exit()).style("opacity",qt).remove(),Yn=u.transition(fn.order()).style("opacity",1),na=Math.max(Gt,0)+me,_n,Ha=Pn(an),Wa=Sr.selectAll(".domain").data([0]),ri=(Wa.enter().append("path").attr("class","domain"),u.transition(Wa));Bn.append("line"),Bn.append("text");var xi=Bn.select("line"),ki=Yn.select("line"),Ci=fn.select("text").text(ta),jo=Bn.select("text"),zi=Yn.select("text"),$i=Et==="top"||Et==="left"?-1:1,es,pl,Ns,hi;if(Et==="bottom"||Et==="top"?(_n=Us,es="x",Ns="y",pl="x2",hi="y2",Ci.attr("dy",$i<0?"0em":".71em").style("text-anchor","middle"),ri.attr("d","M"+Ha[0]+","+$i*ce+"V0H"+Ha[1]+"V"+$i*ce)):(_n=To,es="y",Ns="x",pl="y2",hi="x2",Ci.attr("dy",".32em").style("text-anchor",$i<0?"end":"start"),ri.attr("d","M"+$i*ce+","+Ha[0]+"H0V"+Ha[1]+"H"+$i*ce)),xi.attr(hi,$i*Gt),jo.attr(Ns,$i*na),ki.attr(pl,0).attr(hi,$i*Gt),zi.attr(es,0).attr(Ns,$i*na),an.rangeBand){var Ao=an,Bo=Ao.rangeBand()/2;Zr=an=function(Ds){return Ao(Ds)+Bo}}else Zr.rangeBand?Zr=an:Hn.call(_n,an,Zr);Bn.call(_n,Zr,an),Yn.call(_n,an,an)})}return or.scale=function(Ir){return arguments.length?(gt=Ir,or):gt},or.orient=function(Ir){return arguments.length?(Et=Ir in $s?Ir+"":Qo,or):Et},or.ticks=function(){return arguments.length?(Te=E(arguments),or):Te},or.tickValues=function(Ir){return arguments.length?(Ve=Ir,or):Ve},or.tickFormat=function(Ir){return arguments.length?(Ue=Ir,or):Ue},or.tickSize=function(Ir){var Sr=arguments.length;return Sr?(Gt=+Ir,ce=+arguments[Sr-1],or):Gt},or.innerTickSize=function(Ir){return arguments.length?(Gt=+Ir,or):Gt},or.outerTickSize=function(Ir){return arguments.length?(ce=+Ir,or):ce},or.tickPadding=function(Ir){return arguments.length?(me=+Ir,or):me},or.tickSubdivide=function(){return arguments.length&&or},or};var Qo="bottom",$s={top:1,right:1,bottom:1,left:1};function Us(gt,Et,Gt){gt.attr("transform",function(ce){var me=Et(ce);return"translate("+(isFinite(me)?me:Gt(ce))+",0)"})}function To(gt,Et,Gt){gt.attr("transform",function(ce){var me=Et(ce);return"translate(0,"+(isFinite(me)?me:Gt(ce))+")"})}u.svg.brush=function(){var gt=st(Sr,"brushstart","brush","brushend"),Et=null,Gt=null,ce=[0,0],me=[0,0],Te,Ve,Ue=!0,or=!0,Ir=fl[0];function Sr(fn){fn.each(function(){var Bn=u.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",ta).on("touchstart.brush",ta),Hn=Bn.selectAll(".background").data([0]);Hn.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),Bn.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var Yn=Bn.selectAll(".resize").data(Ir,B);Yn.exit().remove(),Yn.enter().append("g").attr("class",function(Wa){return"resize "+Wa}).style("cursor",function(Wa){return ko[Wa]}).append("rect").attr("x",function(Wa){return/[ew]$/.test(Wa)?-3:null}).attr("y",function(Wa){return/^[ns]/.test(Wa)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),Yn.style("display",Sr.empty()?"none":null);var na=u.transition(Bn),_n=u.transition(Hn),Ha;Et&&(Ha=Pn(Et),_n.attr("x",Ha[0]).attr("width",Ha[1]-Ha[0]),an(na)),Gt&&(Ha=Pn(Gt),_n.attr("y",Ha[0]).attr("height",Ha[1]-Ha[0]),on(na)),Zr(na)})}Sr.event=function(fn){fn.each(function(){var Bn=gt.of(this,arguments),Hn={x:ce,y:me,i:Te,j:Ve},Yn=this.__chart__||Hn;this.__chart__=Hn,Ai?u.select(this).transition().each("start.brush",function(){Te=Yn.i,Ve=Yn.j,ce=Yn.x,me=Yn.y,Bn({type:"brushstart"})}).tween("brush:brush",function(){var na=bs(ce,Hn.x),_n=bs(me,Hn.y);return Te=Ve=null,function(Ha){ce=Hn.x=na(Ha),me=Hn.y=_n(Ha),Bn({type:"brush",mode:"resize"})}}).each("end.brush",function(){Te=Hn.i,Ve=Hn.j,Bn({type:"brush",mode:"resize"}),Bn({type:"brushend"})}):(Bn({type:"brushstart"}),Bn({type:"brush",mode:"resize"}),Bn({type:"brushend"}))})};function Zr(fn){fn.selectAll(".resize").attr("transform",function(Bn){return"translate("+ce[+/e$/.test(Bn)]+","+me[+/^s/.test(Bn)]+")"})}function an(fn){fn.select(".extent").attr("x",ce[0]),fn.selectAll(".extent,.n>rect,.s>rect").attr("width",ce[1]-ce[0])}function on(fn){fn.select(".extent").attr("y",me[0]),fn.selectAll(".extent,.e>rect,.w>rect").attr("height",me[1]-me[0])}function ta(){var fn=this,Bn=u.select(u.event.target),Hn=gt.of(fn,arguments),Yn=u.select(fn),na=Bn.datum(),_n=!/^(n|s)$/.test(na)&&Et,Ha=!/^(e|w)$/.test(na)&&Gt,Wa=Bn.classed("extent"),ri=Er(fn),xi,ki=u.mouse(fn),Ci,jo=u.select(e(fn)).on("keydown.brush",es).on("keyup.brush",pl);if(u.event.changedTouches?jo.on("touchmove.brush",Ns).on("touchend.brush",Ao):jo.on("mousemove.brush",Ns).on("mouseup.brush",Ao),Yn.interrupt().selectAll("*").interrupt(),Wa)ki[0]=ce[0]-ki[0],ki[1]=me[0]-ki[1];else if(na){var zi=+/w$/.test(na),$i=+/^n/.test(na);Ci=[ce[1-zi]-ki[0],me[1-$i]-ki[1]],ki[0]=ce[zi],ki[1]=me[$i]}else u.event.altKey&&(xi=ki.slice());Yn.style("pointer-events","none").selectAll(".resize").style("display",null),u.select("body").style("cursor",Bn.style("cursor")),Hn({type:"brushstart"}),Ns();function es(){u.event.keyCode==32&&(Wa||(xi=null,ki[0]-=ce[1],ki[1]-=me[1],Wa=2),rt())}function pl(){u.event.keyCode==32&&Wa==2&&(ki[0]+=ce[1],ki[1]+=me[1],Wa=0,rt())}function Ns(){var Bo=u.mouse(fn),Ds=!1;Ci&&(Bo[0]+=Ci[0],Bo[1]+=Ci[1]),Wa||(u.event.altKey?(xi||(xi=[(ce[0]+ce[1])/2,(me[0]+me[1])/2]),ki[0]=ce[+(Bo[0]<xi[0])],ki[1]=me[+(Bo[1]<xi[1])]):xi=null),_n&&hi(Bo,Et,0)&&(an(Yn),Ds=!0),Ha&&hi(Bo,Gt,1)&&(on(Yn),Ds=!0),Ds&&(Zr(Yn),Hn({type:"brush",mode:Wa?"move":"resize"}))}function hi(Bo,Ds,Ts){var lu=Pn(Ds),ps=lu[0],Cs=lu[1],Eu=ki[Ts],ie=Ts?me:ce,ir=ie[1]-ie[0],cr,sn;if(Wa&&(ps-=Eu,Cs-=ir+Eu),cr=(Ts?or:Ue)?Math.max(ps,Math.min(Cs,Bo[Ts])):Bo[Ts],Wa?sn=(cr+=Eu)+ir:(xi&&(Eu=Math.max(ps,Math.min(Cs,2*xi[Ts]-cr))),Eu<cr?(sn=cr,cr=Eu):sn=Eu),ie[0]!=cr||ie[1]!=sn)return Ts?Ve=null:Te=null,ie[0]=cr,ie[1]=sn,!0}function Ao(){Ns(),Yn.style("pointer-events","all").selectAll(".resize").style("display",Sr.empty()?"none":null),u.select("body").style("cursor",null),jo.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),ri(),Hn({type:"brushend"})}}return Sr.x=function(fn){return arguments.length?(Et=fn,Ir=fl[!Et<<1|!Gt],Sr):Et},Sr.y=function(fn){return arguments.length?(Gt=fn,Ir=fl[!Et<<1|!Gt],Sr):Gt},Sr.clamp=function(fn){return arguments.length?(Et&&Gt?(Ue=!!fn[0],or=!!fn[1]):Et?Ue=!!fn:Gt&&(or=!!fn),Sr):Et&&Gt?[Ue,or]:Et?Ue:Gt?or:null},Sr.extent=function(fn){var Bn,Hn,Yn,na,_n;return arguments.length?(Et&&(Bn=fn[0],Hn=fn[1],Gt&&(Bn=Bn[0],Hn=Hn[0]),Te=[Bn,Hn],Et.invert&&(Bn=Et(Bn),Hn=Et(Hn)),Hn<Bn&&(_n=Bn,Bn=Hn,Hn=_n),(Bn!=ce[0]||Hn!=ce[1])&&(ce=[Bn,Hn])),Gt&&(Yn=fn[0],na=fn[1],Et&&(Yn=Yn[1],na=na[1]),Ve=[Yn,na],Gt.invert&&(Yn=Gt(Yn),na=Gt(na)),na<Yn&&(_n=Yn,Yn=na,na=_n),(Yn!=me[0]||na!=me[1])&&(me=[Yn,na])),Sr):(Et&&(Te?(Bn=Te[0],Hn=Te[1]):(Bn=ce[0],Hn=ce[1],Et.invert&&(Bn=Et.invert(Bn),Hn=Et.invert(Hn)),Hn<Bn&&(_n=Bn,Bn=Hn,Hn=_n))),Gt&&(Ve?(Yn=Ve[0],na=Ve[1]):(Yn=me[0],na=me[1],Gt.invert&&(Yn=Gt.invert(Yn),na=Gt.invert(na)),na<Yn&&(_n=Yn,Yn=na,na=_n))),Et&&Gt?[[Bn,Yn],[Hn,na]]:Et?[Bn,Hn]:Gt&&[Yn,na])},Sr.clear=function(){return Sr.empty()||(ce=[0,0],me=[0,0],Te=Ve=null),Sr},Sr.empty=function(){return!!Et&&ce[0]==ce[1]||!!Gt&&me[0]==me[1]},u.rebind(Sr,gt,"on")};var ko={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},fl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];u.text=Ge(function(gt){return gt.responseText}),u.json=function(gt,Et){return xr(gt,"application/json",Sl,Et)};function Sl(gt){return JSON.parse(gt.responseText)}u.html=function(gt,Et){return xr(gt,"text/html",tu,Et)};function tu(gt){var Et=A.createRange();return Et.selectNode(A.body),Et.createContextualFragment(gt.responseText)}u.xml=Ge(function(gt){return gt.responseXML}),typeof V=="object"&&V.exports?V.exports=u:this.d3=u}).apply(self)}),Z_=Vt((K,V)=>{(function(u,d){typeof K=="object"&&typeof V<"u"?d(K):(u=u||self,d(u.d3=u.d3||{}))})(K,function(u){var d=new Date,E=new Date;function A(vt,Ut,re,Kt){function se(Se){return vt(Se=arguments.length===0?new Date:new Date(+Se)),Se}return se.floor=function(Se){return vt(Se=new Date(+Se)),Se},se.ceil=function(Se){return vt(Se=new Date(Se-1)),Ut(Se,1),vt(Se),Se},se.round=function(Se){var Pe=se(Se),We=se.ceil(Se);return Se-Pe<We-Se?Pe:We},se.offset=function(Se,Pe){return Ut(Se=new Date(+Se),Pe==null?1:Math.floor(Pe)),Se},se.range=function(Se,Pe,We){var qe=[],gr;if(Se=se.ceil(Se),We=We==null?1:Math.floor(We),!(Se<Pe)||!(We>0))return qe;do qe.push(gr=new Date(+Se)),Ut(Se,We),vt(Se);while(gr<Se&&Se<Pe);return qe},se.filter=function(Se){return A(function(Pe){if(Pe>=Pe)for(;vt(Pe),!Se(Pe);)Pe.setTime(Pe-1)},function(Pe,We){if(Pe>=Pe)if(We<0)for(;++We<=0;)for(;Ut(Pe,-1),!Se(Pe););else for(;--We>=0;)for(;Ut(Pe,1),!Se(Pe););})},re&&(se.count=function(Se,Pe){return d.setTime(+Se),E.setTime(+Pe),vt(d),vt(E),Math.floor(re(d,E))},se.every=function(Se){return Se=Math.floor(Se),!isFinite(Se)||!(Se>0)?null:Se>1?se.filter(Kt?function(Pe){return Kt(Pe)%Se===0}:function(Pe){return se.count(0,Pe)%Se===0}):se}),se}var t=A(function(){},function(vt,Ut){vt.setTime(+vt+Ut)},function(vt,Ut){return Ut-vt});t.every=function(vt){return vt=Math.floor(vt),!isFinite(vt)||!(vt>0)?null:vt>1?A(function(Ut){Ut.setTime(Math.floor(Ut/vt)*vt)},function(Ut,re){Ut.setTime(+Ut+re*vt)},function(Ut,re){return(re-Ut)/vt}):t};var e=t.range,r=1e3,i=6e4,n=36e5,o=864e5,a=6048e5,s=A(function(vt){vt.setTime(vt-vt.getMilliseconds())},function(vt,Ut){vt.setTime(+vt+Ut*r)},function(vt,Ut){return(Ut-vt)/r},function(vt){return vt.getUTCSeconds()}),h=s.range,g=A(function(vt){vt.setTime(vt-vt.getMilliseconds()-vt.getSeconds()*r)},function(vt,Ut){vt.setTime(+vt+Ut*i)},function(vt,Ut){return(Ut-vt)/i},function(vt){return vt.getMinutes()}),v=g.range,p=A(function(vt){vt.setTime(vt-vt.getMilliseconds()-vt.getSeconds()*r-vt.getMinutes()*i)},function(vt,Ut){vt.setTime(+vt+Ut*n)},function(vt,Ut){return(Ut-vt)/n},function(vt){return vt.getHours()}),_=p.range,l=A(function(vt){vt.setHours(0,0,0,0)},function(vt,Ut){vt.setDate(vt.getDate()+Ut)},function(vt,Ut){return(Ut-vt-(Ut.getTimezoneOffset()-vt.getTimezoneOffset())*i)/o},function(vt){return vt.getDate()-1}),x=l.range;function y(vt){return A(function(Ut){Ut.setDate(Ut.getDate()-(Ut.getDay()+7-vt)%7),Ut.setHours(0,0,0,0)},function(Ut,re){Ut.setDate(Ut.getDate()+re*7)},function(Ut,re){return(re-Ut-(re.getTimezoneOffset()-Ut.getTimezoneOffset())*i)/a})}var M=y(0),w=y(1),S=y(2),T=y(3),c=y(4),f=y(5),k=y(6),b=M.range,O=w.range,L=S.range,F=T.range,B=c.range,R=f.range,z=k.range,D=A(function(vt){vt.setDate(1),vt.setHours(0,0,0,0)},function(vt,Ut){vt.setMonth(vt.getMonth()+Ut)},function(vt,Ut){return Ut.getMonth()-vt.getMonth()+(Ut.getFullYear()-vt.getFullYear())*12},function(vt){return vt.getMonth()}),j=D.range,N=A(function(vt){vt.setMonth(0,1),vt.setHours(0,0,0,0)},function(vt,Ut){vt.setFullYear(vt.getFullYear()+Ut)},function(vt,Ut){return Ut.getFullYear()-vt.getFullYear()},function(vt){return vt.getFullYear()});N.every=function(vt){return!isFinite(vt=Math.floor(vt))||!(vt>0)?null:A(function(Ut){Ut.setFullYear(Math.floor(Ut.getFullYear()/vt)*vt),Ut.setMonth(0,1),Ut.setHours(0,0,0,0)},function(Ut,re){Ut.setFullYear(Ut.getFullYear()+re*vt)})};var Z=N.range,rt=A(function(vt){vt.setUTCSeconds(0,0)},function(vt,Ut){vt.setTime(+vt+Ut*i)},function(vt,Ut){return(Ut-vt)/i},function(vt){return vt.getUTCMinutes()}),lt=rt.range,st=A(function(vt){vt.setUTCMinutes(0,0,0)},function(vt,Ut){vt.setTime(+vt+Ut*n)},function(vt,Ut){return(Ut-vt)/n},function(vt){return vt.getUTCHours()}),tt=st.range,G=A(function(vt){vt.setUTCHours(0,0,0,0)},function(vt,Ut){vt.setUTCDate(vt.getUTCDate()+Ut)},function(vt,Ut){return(Ut-vt)/o},function(vt){return vt.getUTCDate()-1}),nt=G.range;function Y(vt){return A(function(Ut){Ut.setUTCDate(Ut.getUTCDate()-(Ut.getUTCDay()+7-vt)%7),Ut.setUTCHours(0,0,0,0)},function(Ut,re){Ut.setUTCDate(Ut.getUTCDate()+re*7)},function(Ut,re){return(re-Ut)/a})}var Q=Y(0),ut=Y(1),$=Y(2),H=Y(3),it=Y(4),at=Y(5),dt=Y(6),Tt=Q.range,xt=ut.range,Ct=$.range,Ot=H.range,Rt=it.range,te=at.range,$t=dt.range,ee=A(function(vt){vt.setUTCDate(1),vt.setUTCHours(0,0,0,0)},function(vt,Ut){vt.setUTCMonth(vt.getUTCMonth()+Ut)},function(vt,Ut){return Ut.getUTCMonth()-vt.getUTCMonth()+(Ut.getUTCFullYear()-vt.getUTCFullYear())*12},function(vt){return vt.getUTCMonth()}),Xt=ee.range,mt=A(function(vt){vt.setUTCMonth(0,1),vt.setUTCHours(0,0,0,0)},function(vt,Ut){vt.setUTCFullYear(vt.getUTCFullYear()+Ut)},function(vt,Ut){return Ut.getUTCFullYear()-vt.getUTCFullYear()},function(vt){return vt.getUTCFullYear()});mt.every=function(vt){return!isFinite(vt=Math.floor(vt))||!(vt>0)?null:A(function(Ut){Ut.setUTCFullYear(Math.floor(Ut.getUTCFullYear()/vt)*vt),Ut.setUTCMonth(0,1),Ut.setUTCHours(0,0,0,0)},function(Ut,re){Ut.setUTCFullYear(Ut.getUTCFullYear()+re*vt)})};var bt=mt.range;u.timeDay=l,u.timeDays=x,u.timeFriday=f,u.timeFridays=R,u.timeHour=p,u.timeHours=_,u.timeInterval=A,u.timeMillisecond=t,u.timeMilliseconds=e,u.timeMinute=g,u.timeMinutes=v,u.timeMonday=w,u.timeMondays=O,u.timeMonth=D,u.timeMonths=j,u.timeSaturday=k,u.timeSaturdays=z,u.timeSecond=s,u.timeSeconds=h,u.timeSunday=M,u.timeSundays=b,u.timeThursday=c,u.timeThursdays=B,u.timeTuesday=S,u.timeTuesdays=L,u.timeWednesday=T,u.timeWednesdays=F,u.timeWeek=M,u.timeWeeks=b,u.timeYear=N,u.timeYears=Z,u.utcDay=G,u.utcDays=nt,u.utcFriday=at,u.utcFridays=te,u.utcHour=st,u.utcHours=tt,u.utcMillisecond=t,u.utcMilliseconds=e,u.utcMinute=rt,u.utcMinutes=lt,u.utcMonday=ut,u.utcMondays=xt,u.utcMonth=ee,u.utcMonths=Xt,u.utcSaturday=dt,u.utcSaturdays=$t,u.utcSecond=s,u.utcSeconds=h,u.utcSunday=Q,u.utcSundays=Tt,u.utcThursday=it,u.utcThursdays=Rt,u.utcTuesday=$,u.utcTuesdays=Ct,u.utcWednesday=H,u.utcWednesdays=Ot,u.utcWeek=Q,u.utcWeeks=Tt,u.utcYear=mt,u.utcYears=bt,Object.defineProperty(u,"__esModule",{value:!0})})}),hm=Vt((K,V)=>{(function(u,d){typeof K=="object"&&typeof V<"u"?d(K,Z_()):(u=u||self,d(u.d3=u.d3||{},u.d3))})(K,function(u,d){function E(Dt){if(0<=Dt.y&&Dt.y<100){var qt=new Date(-1,Dt.m,Dt.d,Dt.H,Dt.M,Dt.S,Dt.L);return qt.setFullYear(Dt.y),qt}return new Date(Dt.y,Dt.m,Dt.d,Dt.H,Dt.M,Dt.S,Dt.L)}function A(Dt){if(0<=Dt.y&&Dt.y<100){var qt=new Date(Date.UTC(-1,Dt.m,Dt.d,Dt.H,Dt.M,Dt.S,Dt.L));return qt.setUTCFullYear(Dt.y),qt}return new Date(Date.UTC(Dt.y,Dt.m,Dt.d,Dt.H,Dt.M,Dt.S,Dt.L))}function t(Dt,qt,wt){return{y:Dt,m:qt,d:wt,H:0,M:0,S:0,L:0}}function e(Dt){var qt=Dt.dateTime,wt=Dt.date,ct=Dt.time,yt=Dt.periods,St=Dt.days,Ht=Dt.shortDays,Yt=Dt.months,fe=Dt.shortMonths,we=h(yt),Ae=g(yt),Re=h(St),rr=g(St),ar=h(Ht),Ye=g(Ht),Mr=h(Yt),pn=g(Yt),dn=h(fe),bn=g(fe),Gn={a:Nn,A:Kn,b:Jn,B:ia,c:null,d:D,e:D,f:lt,H:j,I:N,j:Z,L:rt,m:st,M:tt,p:In,q:Fa,Q:Pe,s:We,S:G,u:nt,U:Y,V:Q,w:ut,W:$,x:null,X:null,y:H,Y:it,Z:at,"%":Se},En={a:Za,A:ve,b:ge,B:mr,c:null,d:dt,e:dt,f:Rt,H:Tt,I:xt,j:Ct,L:Ot,m:te,M:$t,p:br,q:wr,Q:Pe,s:We,S:ee,u:Xt,U:mt,V:bt,w:vt,W:Ut,x:null,X:null,y:re,Y:Kt,Z:se,"%":Se},yn={a:Ke,A:er,b:Cr,B:tn,c:Yr,d:c,e:c,f:F,H:k,I:k,j:f,L,m:T,M:b,p:Ne,q:S,Q:R,s:z,S:O,u:p,U:_,V:l,w:v,W:x,x:Jr,X:zn,y:M,Y:y,Z:w,"%":B};Gn.x=da(wt,Gn),Gn.X=da(ct,Gn),Gn.c=da(qt,Gn),En.x=da(wt,En),En.X=da(ct,En),En.c=da(qt,En);function da(dr,kr){return function(Nr){var Pr=[],pe=-1,Ge=0,xr=dr.length,qr,ln,wn;for(Nr instanceof Date||(Nr=new Date(+Nr));++pe<xr;)dr.charCodeAt(pe)===37&&(Pr.push(dr.slice(Ge,pe)),(ln=r[qr=dr.charAt(++pe)])!=null?qr=dr.charAt(++pe):ln=qr==="e"?" ":"0",(wn=kr[qr])&&(qr=wn(Nr,ln)),Pr.push(qr),Ge=pe+1);return Pr.push(dr.slice(Ge,pe)),Pr.join("")}}function ra(dr,kr){return function(Nr){var Pr=t(1900,void 0,1),pe=Ee(Pr,dr,Nr+="",0),Ge,xr;if(pe!=Nr.length)return null;if("Q"in Pr)return new Date(Pr.Q);if("s"in Pr)return new Date(Pr.s*1e3+("L"in Pr?Pr.L:0));if(kr&&!("Z"in Pr)&&(Pr.Z=0),"p"in Pr&&(Pr.H=Pr.H%12+Pr.p*12),Pr.m===void 0&&(Pr.m="q"in Pr?Pr.q:0),"V"in Pr){if(Pr.V<1||Pr.V>53)return null;"w"in Pr||(Pr.w=1),"Z"in Pr?(Ge=A(t(Pr.y,0,1)),xr=Ge.getUTCDay(),Ge=xr>4||xr===0?d.utcMonday.ceil(Ge):d.utcMonday(Ge),Ge=d.utcDay.offset(Ge,(Pr.V-1)*7),Pr.y=Ge.getUTCFullYear(),Pr.m=Ge.getUTCMonth(),Pr.d=Ge.getUTCDate()+(Pr.w+6)%7):(Ge=E(t(Pr.y,0,1)),xr=Ge.getDay(),Ge=xr>4||xr===0?d.timeMonday.ceil(Ge):d.timeMonday(Ge),Ge=d.timeDay.offset(Ge,(Pr.V-1)*7),Pr.y=Ge.getFullYear(),Pr.m=Ge.getMonth(),Pr.d=Ge.getDate()+(Pr.w+6)%7)}else("W"in Pr||"U"in Pr)&&("w"in Pr||(Pr.w="u"in Pr?Pr.u%7:"W"in Pr?1:0),xr="Z"in Pr?A(t(Pr.y,0,1)).getUTCDay():E(t(Pr.y,0,1)).getDay(),Pr.m=0,Pr.d="W"in Pr?(Pr.w+6)%7+Pr.W*7-(xr+5)%7:Pr.w+Pr.U*7-(xr+6)%7);return"Z"in Pr?(Pr.H+=Pr.Z/100|0,Pr.M+=Pr.Z%100,A(Pr)):E(Pr)}}function Ee(dr,kr,Nr,Pr){for(var pe=0,Ge=kr.length,xr=Nr.length,qr,ln;pe<Ge;){if(Pr>=xr)return-1;if(qr=kr.charCodeAt(pe++),qr===37){if(qr=kr.charAt(pe++),ln=yn[qr in r?kr.charAt(pe++):qr],!ln||(Pr=ln(dr,Nr,Pr))<0)return-1}else if(qr!=Nr.charCodeAt(Pr++))return-1}return Pr}function Ne(dr,kr,Nr){var Pr=we.exec(kr.slice(Nr));return Pr?(dr.p=Ae[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function Ke(dr,kr,Nr){var Pr=ar.exec(kr.slice(Nr));return Pr?(dr.w=Ye[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function er(dr,kr,Nr){var Pr=Re.exec(kr.slice(Nr));return Pr?(dr.w=rr[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function Cr(dr,kr,Nr){var Pr=dn.exec(kr.slice(Nr));return Pr?(dr.m=bn[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function tn(dr,kr,Nr){var Pr=Mr.exec(kr.slice(Nr));return Pr?(dr.m=pn[Pr[0].toLowerCase()],Nr+Pr[0].length):-1}function Yr(dr,kr,Nr){return Ee(dr,qt,kr,Nr)}function Jr(dr,kr,Nr){return Ee(dr,wt,kr,Nr)}function zn(dr,kr,Nr){return Ee(dr,ct,kr,Nr)}function Nn(dr){return Ht[dr.getDay()]}function Kn(dr){return St[dr.getDay()]}function Jn(dr){return fe[dr.getMonth()]}function ia(dr){return Yt[dr.getMonth()]}function In(dr){return yt[+(dr.getHours()>=12)]}function Fa(dr){return 1+~~(dr.getMonth()/3)}function Za(dr){return Ht[dr.getUTCDay()]}function ve(dr){return St[dr.getUTCDay()]}function ge(dr){return fe[dr.getUTCMonth()]}function mr(dr){return Yt[dr.getUTCMonth()]}function br(dr){return yt[+(dr.getUTCHours()>=12)]}function wr(dr){return 1+~~(dr.getUTCMonth()/3)}return{format:function(dr){var kr=da(dr+="",Gn);return kr.toString=function(){return dr},kr},parse:function(dr){var kr=ra(dr+="",!1);return kr.toString=function(){return dr},kr},utcFormat:function(dr){var kr=da(dr+="",En);return kr.toString=function(){return dr},kr},utcParse:function(dr){var kr=ra(dr+="",!0);return kr.toString=function(){return dr},kr}}}var r={"-":"",_:" ",0:"0"},i=/^\s*\d+/,n=/^%/,o=/[\\^$*+?|[\]().{}]/g;function a(Dt,qt,wt){var ct=Dt<0?"-":"",yt=(ct?-Dt:Dt)+"",St=yt.length;return ct+(St<wt?new Array(wt-St+1).join(qt)+yt:yt)}function s(Dt){return Dt.replace(o,"\\$&")}function h(Dt){return new RegExp("^(?:"+Dt.map(s).join("|")+")","i")}function g(Dt){for(var qt={},wt=-1,ct=Dt.length;++wt<ct;)qt[Dt[wt].toLowerCase()]=wt;return qt}function v(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+1));return ct?(Dt.w=+ct[0],wt+ct[0].length):-1}function p(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+1));return ct?(Dt.u=+ct[0],wt+ct[0].length):-1}function _(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.U=+ct[0],wt+ct[0].length):-1}function l(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.V=+ct[0],wt+ct[0].length):-1}function x(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.W=+ct[0],wt+ct[0].length):-1}function y(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+4));return ct?(Dt.y=+ct[0],wt+ct[0].length):-1}function M(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.y=+ct[0]+(+ct[0]>68?1900:2e3),wt+ct[0].length):-1}function w(Dt,qt,wt){var ct=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(qt.slice(wt,wt+6));return ct?(Dt.Z=ct[1]?0:-(ct[2]+(ct[3]||"00")),wt+ct[0].length):-1}function S(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+1));return ct?(Dt.q=ct[0]*3-3,wt+ct[0].length):-1}function T(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.m=ct[0]-1,wt+ct[0].length):-1}function c(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.d=+ct[0],wt+ct[0].length):-1}function f(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+3));return ct?(Dt.m=0,Dt.d=+ct[0],wt+ct[0].length):-1}function k(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.H=+ct[0],wt+ct[0].length):-1}function b(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.M=+ct[0],wt+ct[0].length):-1}function O(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+2));return ct?(Dt.S=+ct[0],wt+ct[0].length):-1}function L(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+3));return ct?(Dt.L=+ct[0],wt+ct[0].length):-1}function F(Dt,qt,wt){var ct=i.exec(qt.slice(wt,wt+6));return ct?(Dt.L=Math.floor(ct[0]/1e3),wt+ct[0].length):-1}function B(Dt,qt,wt){var ct=n.exec(qt.slice(wt,wt+1));return ct?wt+ct[0].length:-1}function R(Dt,qt,wt){var ct=i.exec(qt.slice(wt));return ct?(Dt.Q=+ct[0],wt+ct[0].length):-1}function z(Dt,qt,wt){var ct=i.exec(qt.slice(wt));return ct?(Dt.s=+ct[0],wt+ct[0].length):-1}function D(Dt,qt){return a(Dt.getDate(),qt,2)}function j(Dt,qt){return a(Dt.getHours(),qt,2)}function N(Dt,qt){return a(Dt.getHours()%12||12,qt,2)}function Z(Dt,qt){return a(1+d.timeDay.count(d.timeYear(Dt),Dt),qt,3)}function rt(Dt,qt){return a(Dt.getMilliseconds(),qt,3)}function lt(Dt,qt){return rt(Dt,qt)+"000"}function st(Dt,qt){return a(Dt.getMonth()+1,qt,2)}function tt(Dt,qt){return a(Dt.getMinutes(),qt,2)}function G(Dt,qt){return a(Dt.getSeconds(),qt,2)}function nt(Dt){var qt=Dt.getDay();return qt===0?7:qt}function Y(Dt,qt){return a(d.timeSunday.count(d.timeYear(Dt)-1,Dt),qt,2)}function Q(Dt,qt){var wt=Dt.getDay();return Dt=wt>=4||wt===0?d.timeThursday(Dt):d.timeThursday.ceil(Dt),a(d.timeThursday.count(d.timeYear(Dt),Dt)+(d.timeYear(Dt).getDay()===4),qt,2)}function ut(Dt){return Dt.getDay()}function $(Dt,qt){return a(d.timeMonday.count(d.timeYear(Dt)-1,Dt),qt,2)}function H(Dt,qt){return a(Dt.getFullYear()%100,qt,2)}function it(Dt,qt){return a(Dt.getFullYear()%1e4,qt,4)}function at(Dt){var qt=Dt.getTimezoneOffset();return(qt>0?"-":(qt*=-1,"+"))+a(qt/60|0,"0",2)+a(qt%60,"0",2)}function dt(Dt,qt){return a(Dt.getUTCDate(),qt,2)}function Tt(Dt,qt){return a(Dt.getUTCHours(),qt,2)}function xt(Dt,qt){return a(Dt.getUTCHours()%12||12,qt,2)}function Ct(Dt,qt){return a(1+d.utcDay.count(d.utcYear(Dt),Dt),qt,3)}function Ot(Dt,qt){return a(Dt.getUTCMilliseconds(),qt,3)}function Rt(Dt,qt){return Ot(Dt,qt)+"000"}function te(Dt,qt){return a(Dt.getUTCMonth()+1,qt,2)}function $t(Dt,qt){return a(Dt.getUTCMinutes(),qt,2)}function ee(Dt,qt){return a(Dt.getUTCSeconds(),qt,2)}function Xt(Dt){var qt=Dt.getUTCDay();return qt===0?7:qt}function mt(Dt,qt){return a(d.utcSunday.count(d.utcYear(Dt)-1,Dt),qt,2)}function bt(Dt,qt){var wt=Dt.getUTCDay();return Dt=wt>=4||wt===0?d.utcThursday(Dt):d.utcThursday.ceil(Dt),a(d.utcThursday.count(d.utcYear(Dt),Dt)+(d.utcYear(Dt).getUTCDay()===4),qt,2)}function vt(Dt){return Dt.getUTCDay()}function Ut(Dt,qt){return a(d.utcMonday.count(d.utcYear(Dt)-1,Dt),qt,2)}function re(Dt,qt){return a(Dt.getUTCFullYear()%100,qt,2)}function Kt(Dt,qt){return a(Dt.getUTCFullYear()%1e4,qt,4)}function se(){return"+0000"}function Se(){return"%"}function Pe(Dt){return+Dt}function We(Dt){return Math.floor(+Dt/1e3)}var qe;gr({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function gr(Dt){return qe=e(Dt),u.timeFormat=qe.format,u.timeParse=qe.parse,u.utcFormat=qe.utcFormat,u.utcParse=qe.utcParse,qe}var _r="%Y-%m-%dT%H:%M:%S.%LZ";function Qe(Dt){return Dt.toISOString()}var Er=Date.prototype.toISOString?Qe:u.utcFormat(_r);function zr(Dt){var qt=new Date(Dt);return isNaN(qt)?null:qt}var de=+new Date("2000-01-01T00:00:00.000Z")?zr:u.utcParse(_r);u.isoFormat=Er,u.isoParse=de,u.timeFormatDefaultLocale=gr,u.timeFormatLocale=e,Object.defineProperty(u,"__esModule",{value:!0})})}),G_=Vt((K,V)=>{(function(u,d){typeof K=="object"&&typeof V<"u"?d(K):(u=typeof globalThis<"u"?globalThis:u||self,d(u.d3=u.d3||{}))})(K,function(u){function d(T){return Math.abs(T=Math.round(T))>=1e21?T.toLocaleString("en").replace(/,/g,""):T.toString(10)}function E(T,c){if((f=(T=c?T.toExponential(c-1):T.toExponential()).indexOf("e"))<0)return null;var f,k=T.slice(0,f);return[k.length>1?k[0]+k.slice(2):k,+T.slice(f+1)]}function A(T){return T=E(Math.abs(T)),T?T[1]:NaN}function t(T,c){return function(f,k){for(var b=f.length,O=[],L=0,F=T[0],B=0;b>0&&F>0&&(B+F+1>k&&(F=Math.max(1,k-B)),O.push(f.substring(b-=F,b+F)),!((B+=F+1)>k));)F=T[L=(L+1)%T.length];return O.reverse().join(c)}}function e(T){return function(c){return c.replace(/[0-9]/g,function(f){return T[+f]})}}var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(T){if(!(c=r.exec(T)))throw new Error("invalid format: "+T);var c;return new n({fill:c[1],align:c[2],sign:c[3],symbol:c[4],zero:c[5],width:c[6],comma:c[7],precision:c[8]&&c[8].slice(1),trim:c[9],type:c[10]})}i.prototype=n.prototype;function n(T){this.fill=T.fill===void 0?" ":T.fill+"",this.align=T.align===void 0?">":T.align+"",this.sign=T.sign===void 0?"-":T.sign+"",this.symbol=T.symbol===void 0?"":T.symbol+"",this.zero=!!T.zero,this.width=T.width===void 0?void 0:+T.width,this.comma=!!T.comma,this.precision=T.precision===void 0?void 0:+T.precision,this.trim=!!T.trim,this.type=T.type===void 0?"":T.type+""}n.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function o(T){t:for(var c=T.length,f=1,k=-1,b;f<c;++f)switch(T[f]){case".":k=b=f;break;case"0":k===0&&(k=f),b=f;break;default:if(!+T[f])break t;k>0&&(k=0);break}return k>0?T.slice(0,k)+T.slice(b+1):T}var a;function s(T,c){var f=E(T,c);if(!f)return T+"";var k=f[0],b=f[1],O=b-(a=Math.max(-8,Math.min(8,Math.floor(b/3)))*3)+1,L=k.length;return O===L?k:O>L?k+new Array(O-L+1).join("0"):O>0?k.slice(0,O)+"."+k.slice(O):"0."+new Array(1-O).join("0")+E(T,Math.max(0,c+O-1))[0]}function h(T,c){var f=E(T,c);if(!f)return T+"";var k=f[0],b=f[1];return b<0?"0."+new Array(-b).join("0")+k:k.length>b+1?k.slice(0,b+1)+"."+k.slice(b+1):k+new Array(b-k.length+2).join("0")}var g={"%":function(T,c){return(T*100).toFixed(c)},b:function(T){return Math.round(T).toString(2)},c:function(T){return T+""},d,e:function(T,c){return T.toExponential(c)},f:function(T,c){return T.toFixed(c)},g:function(T,c){return T.toPrecision(c)},o:function(T){return Math.round(T).toString(8)},p:function(T,c){return h(T*100,c)},r:h,s,X:function(T){return Math.round(T).toString(16).toUpperCase()},x:function(T){return Math.round(T).toString(16)}};function v(T){return T}var p=Array.prototype.map,_=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function l(T){var c=T.grouping===void 0||T.thousands===void 0?v:t(p.call(T.grouping,Number),T.thousands+""),f=T.currency===void 0?"":T.currency[0]+"",k=T.currency===void 0?"":T.currency[1]+"",b=T.decimal===void 0?".":T.decimal+"",O=T.numerals===void 0?v:e(p.call(T.numerals,String)),L=T.percent===void 0?"%":T.percent+"",F=T.minus===void 0?"-":T.minus+"",B=T.nan===void 0?"NaN":T.nan+"";function R(D){D=i(D);var j=D.fill,N=D.align,Z=D.sign,rt=D.symbol,lt=D.zero,st=D.width,tt=D.comma,G=D.precision,nt=D.trim,Y=D.type;Y==="n"?(tt=!0,Y="g"):g[Y]||(G===void 0&&(G=12),nt=!0,Y="g"),(lt||j==="0"&&N==="=")&&(lt=!0,j="0",N="=");var Q=rt==="$"?f:rt==="#"&&/[boxX]/.test(Y)?"0"+Y.toLowerCase():"",ut=rt==="$"?k:/[%p]/.test(Y)?L:"",$=g[Y],H=/[defgprs%]/.test(Y);G=G===void 0?6:/[gprs]/.test(Y)?Math.max(1,Math.min(21,G)):Math.max(0,Math.min(20,G));function it(at){var dt=Q,Tt=ut,xt,Ct,Ot;if(Y==="c")Tt=$(at)+Tt,at="";else{at=+at;var Rt=at<0||1/at<0;if(at=isNaN(at)?B:$(Math.abs(at),G),nt&&(at=o(at)),Rt&&+at==0&&Z!=="+"&&(Rt=!1),dt=(Rt?Z==="("?Z:F:Z==="-"||Z==="("?"":Z)+dt,Tt=(Y==="s"?_[8+a/3]:"")+Tt+(Rt&&Z==="("?")":""),H){for(xt=-1,Ct=at.length;++xt<Ct;)if(Ot=at.charCodeAt(xt),48>Ot||Ot>57){Tt=(Ot===46?b+at.slice(xt+1):at.slice(xt))+Tt,at=at.slice(0,xt);break}}}tt&&!lt&&(at=c(at,1/0));var te=dt.length+at.length+Tt.length,$t=te<st?new Array(st-te+1).join(j):"";switch(tt&<&&(at=c($t+at,$t.length?st-Tt.length:1/0),$t=""),N){case"<":at=dt+at+Tt+$t;break;case"=":at=dt+$t+at+Tt;break;case"^":at=$t.slice(0,te=$t.length>>1)+dt+at+Tt+$t.slice(te);break;default:at=$t+dt+at+Tt;break}return O(at)}return it.toString=function(){return D+""},it}function z(D,j){var N=R((D=i(D),D.type="f",D)),Z=Math.max(-8,Math.min(8,Math.floor(A(j)/3)))*3,rt=Math.pow(10,-Z),lt=_[8+Z/3];return function(st){return N(rt*st)+lt}}return{format:R,formatPrefix:z}}var x;y({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function y(T){return x=l(T),u.format=x.format,u.formatPrefix=x.formatPrefix,x}function M(T){return Math.max(0,-A(Math.abs(T)))}function w(T,c){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(A(c)/3)))*3-A(Math.abs(T)))}function S(T,c){return T=Math.abs(T),c=Math.abs(c)-T,Math.max(0,A(c)-A(T))+1}u.FormatSpecifier=n,u.formatDefaultLocale=y,u.formatLocale=l,u.formatSpecifier=i,u.precisionFixed=M,u.precisionPrefix=w,u.precisionRound=S,Object.defineProperty(u,"__esModule",{value:!0})})}),q4=Vt((K,V)=>{V.exports=function(u){for(var d=u.length,E,A=0;A<d;A++)if(E=u.charCodeAt(A),(E<9||E>13)&&E!==32&&E!==133&&E!==160&&E!==5760&&E!==6158&&(E<8192||E>8205)&&E!==8232&&E!==8233&&E!==8239&&E!==8287&&E!==8288&&E!==12288&&E!==65279)return!1;return!0}}),Lo=Vt((K,V)=>{var u=q4();V.exports=function(d){var E=typeof d;if(E==="string"){var A=d;if(d=+d,d===0&&u(A))return!1}else if(E!=="number")return!1;return d-d<1}}),ks=Vt((K,V)=>{V.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,ONEMILLI:1,ONEMICROSEC:.001,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:"−"}}),K_=Vt((K,V)=>{(function(u,d){typeof K=="object"&&typeof V<"u"?d(K):(u=typeof globalThis<"u"?globalThis:u||self,d(u["base64-arraybuffer"]={}))})(K,function(u){for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",E=typeof Uint8Array>"u"?[]:new Uint8Array(256),A=0;A<d.length;A++)E[d.charCodeAt(A)]=A;var t=function(r){var i=new Uint8Array(r),n,o=i.length,a="";for(n=0;n<o;n+=3)a+=d[i[n]>>2],a+=d[(i[n]&3)<<4|i[n+1]>>4],a+=d[(i[n+1]&15)<<2|i[n+2]>>6],a+=d[i[n+2]&63];return o%3===2?a=a.substring(0,a.length-1)+"=":o%3===1&&(a=a.substring(0,a.length-2)+"=="),a},e=function(r){var i=r.length*.75,n=r.length,o,a=0,s,h,g,v;r[r.length-1]==="="&&(i--,r[r.length-2]==="="&&i--);var p=new ArrayBuffer(i),_=new Uint8Array(p);for(o=0;o<n;o+=4)s=E[r.charCodeAt(o)],h=E[r.charCodeAt(o+1)],g=E[r.charCodeAt(o+2)],v=E[r.charCodeAt(o+3)],_[a++]=s<<2|h>>4,_[a++]=(h&15)<<4|g>>2,_[a++]=(g&3)<<6|v&63;return p};u.decode=e,u.encode=t,Object.defineProperty(u,"__esModule",{value:!0})})}),Dp=Vt((K,V)=>{V.exports=function(u){return window&&window.process&&window.process.versions?Object.prototype.toString.call(u)==="[object Object]":Object.prototype.toString.call(u)==="[object Object]"&&Object.getPrototypeOf(u).hasOwnProperty("hasOwnProperty")}}),ef=Vt(K=>{var V=K_().decode,u=Dp(),d=Array.isArray,E=ArrayBuffer,A=DataView;function t(s){return E.isView(s)&&!(s instanceof A)}K.isTypedArray=t;function e(s){return d(s)||t(s)}K.isArrayOrTypedArray=e;function r(s){return!e(s[0])}K.isArray1D=r,K.ensureArray=function(s,h){return d(s)||(s=[]),s.length=h,s};var i={u1c:typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};i.uint8c=i.u1c,i.uint8=i.u1,i.int8=i.i1,i.uint16=i.u2,i.int16=i.i2,i.uint32=i.u4,i.int32=i.i4,i.float32=i.f4,i.float64=i.f8;function n(s){return s.constructor===ArrayBuffer}K.isArrayBuffer=n,K.decodeTypedArraySpec=function(s){var h=[],g=o(s),v=g.dtype,p=i[v];if(!p)throw new Error('Error in dtype: "'+v+'"');var _=p.BYTES_PER_ELEMENT,l=g.bdata;n(l)||(l=V(l));var x=g.shape===void 0?[l.byteLength/_]:(""+g.shape).split(",");x.reverse();var y=x.length,M,w,S=+x[0],T=_*S,c=0;if(y===1)h=new p(l);else if(y===2)for(M=+x[1],w=0;w<M;w++)h[w]=new p(l,c,S),c+=T;else if(y===3){M=+x[1];for(var f=+x[2],k=0;k<f;k++)for(h[k]=[],w=0;w<M;w++)h[k][w]=new p(l,c,S),c+=T}else throw new Error("ndim: "+y+'is not supported with the shape:"'+g.shape+'"');return h.bdata=g.bdata,h.dtype=g.dtype,h.shape=x.reverse().join(","),s._inputArray=h,h},K.isTypedArraySpec=function(s){return u(s)&&s.hasOwnProperty("dtype")&&typeof s.dtype=="string"&&s.hasOwnProperty("bdata")&&(typeof s.bdata=="string"||n(s.bdata))&&(s.shape===void 0||s.hasOwnProperty("shape")&&(typeof s.shape=="string"||typeof s.shape=="number"))};function o(s){return{bdata:s.bdata,dtype:s.dtype,shape:s.shape}}K.concat=function(){var s=[],h=!0,g=0,v,p,_,l,x,y,M,w;for(_=0;_<arguments.length;_++)l=arguments[_],y=l.length,y&&(p?s.push(l):(p=l,x=y),d(l)?v=!1:(h=!1,g?v!==l.constructor&&(v=!1):v=l.constructor),g+=y);if(!g)return[];if(!s.length)return p;if(h)return p.concat.apply(p,s);if(v){for(M=new v(g),M.set(p),_=0;_<s.length;_++)l=s[_],M.set(l,x),x+=l.length;return M}for(M=new Array(g),w=0;w<p.length;w++)M[w]=p[w];for(_=0;_<s.length;_++){for(l=s[_],w=0;w<l.length;w++)M[x+w]=l[w];x+=w}return M},K.maxRowLength=function(s){return a(s,Math.max,0)},K.minRowLength=function(s){return a(s,Math.min,1/0)};function a(s,h,g){if(e(s))if(e(s[0])){for(var v=g,p=0;p<s.length;p++)v=h(v,s[p].length);return v}else return s.length;return 0}}),Eg=Vt((K,V)=>{var u=Lo(),d=ef().isArrayOrTypedArray;V.exports=function(a,s){if(u(s))s=String(s);else if(typeof s!="string"||s.slice(-4)==="[-1]")throw"bad property string";var h=s.split("."),g,v,p,_;for(_=0;_<h.length;_++)if(String(h[_]).slice(0,2)==="__")throw"bad property string";for(_=0;_<h.length;){if(g=String(h[_]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/),g){if(g[1])h[_]=g[1];else if(_===0)h.splice(0,1);else throw"bad property string";for(v=g[2].slice(1,-1).split("]["),p=0;p<v.length;p++)_++,h.splice(_,0,Number(v[p]))}_++}return typeof a!="object"?o(a,s,h):{set:e(a,h,s),get:E(a,h),astr:s,parts:h,obj:a}};function E(a,s){return function(h){var g=a,v,p,_,l,x;for(l=0;l<s.length-1;l++){if(v=s[l],v===-1){for(p=!0,_=[],x=0;x<g.length;x++)_[x]=E(g[x],s.slice(l+1))(h),_[x]!==_[0]&&(p=!1);return p?_[0]:_}if(typeof v=="number"&&!d(g)||(g=g[v],typeof g!="object"||g===null))return}if(!(typeof g!="object"||g===null)&&(_=g[s[l]],!(!h&&_===null)))return _}}var A=/(^|\.)args\[/;function t(a,s){return a===void 0||a===null&&!s.match(A)}function e(a,s,h){return function(g){var v=a,p="",_=t(g,h),l,x;for(x=0;x<s.length-1;x++){if(l=s[x],typeof l=="number"&&!d(v))throw"array index but container is not an array";if(l===-1){if(_=!i(v,s.slice(x+1),g,h),_)break;return}if(!n(v,l,s[x+1],_))break;if(v=v[l],typeof v!="object"||v===null)throw"container is not an object";p=r(p,l)}if(_){if(x===s.length-1&&(delete v[s[x]],Array.isArray(v)&&+s[x]===v.length-1))for(;v.length&&v[v.length-1]===void 0;)v.pop()}else v[s[x]]=g}}function r(a,s){var h=s;return u(s)?h="["+s+"]":a&&(h="."+s),a+h}function i(a,s,h,g){var v=d(h),p=!0,_=h,l=g.replace("-1",0),x=v?!1:t(h,l),y=s[0],M;for(M=0;M<a.length;M++)l=g.replace("-1",M),v&&(_=h[M%h.length],x=t(_,l)),x&&(p=!1),n(a,M,y,x)&&e(a[M],s,g.replace("-1",M))(_);return p}function n(a,s,h,g){if(a[s]===void 0){if(g)return!1;typeof h=="number"?a[s]=[]:a[s]={}}return!0}function o(a,s,h){return{set:function(){throw"bad container"},get:function(){},astr:s,parts:h,obj:a}}}),W4=Vt((K,V)=>{var u=Eg(),d=/^\w*$/,E=0,A=1,t=2,e=3,r=4;V.exports=function(i,n,o,a){o=o||"name",a=a||"value";var s,h,g,v={};n&&n.length?(g=u(i,n),h=g.get()):h=i,n=n||"";var p={};if(h)for(s=0;s<h.length;s++)p[h[s][o]]=s;var _=d.test(a),l={set:function(x,y){var M=y===null?r:E;if(!h){if(!g||M===r)return;h=[],g.set(h)}var w=p[x];if(w===void 0){if(M===r)return;M=M|e,w=h.length,p[x]=w}else y!==(_?h[w][a]:u(h[w],a).get())&&(M=M|t);var S=h[w]=h[w]||{};return S[o]=x,_?S[a]=y:u(S,a).set(y),y!==null&&(M=M&~r),v[w]=v[w]|M,l},get:function(x){if(h){var y=p[x];if(y!==void 0)return _?h[y][a]:u(h[y],a).get()}},rename:function(x,y){var M=p[x];return M===void 0||(v[M]=v[M]|A,p[y]=M,delete p[x],h[M][o]=y),l},remove:function(x){var y=p[x];if(y===void 0)return l;var M=h[y];if(Object.keys(M).length>2)return v[y]=v[y]|t,l.set(x,null);if(_){for(s=y;s<h.length;s++)v[s]=v[s]|e;for(s=y;s<h.length;s++)p[h[s][o]]--;h.splice(y,1),delete p[x]}else u(M,a).set(null),v[y]=v[y]|t|r;return l},constructUpdate:function(){for(var x,y,M={},w=Object.keys(v),S=0;S<w.length;S++)y=w[S],x=n+"["+y+"]",h[y]?(v[y]&A&&(M[x+"."+o]=h[y][o]),v[y]&t&&(_?M[x+"."+a]=v[y]&r?null:h[y][a]:M[x+"."+a]=v[y]&r?null:u(h[y],a).get())):M[x]=null;return M}};return l}}),Z4=Vt((K,V)=>{var u=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,d=/^[^\.\[\]]+$/;V.exports=function(E,A){for(;A;){var t=E.match(u);if(t)E=t[1];else if(E.match(d))E="";else throw new Error("bad relativeAttr call:"+[E,A]);if(A.charAt(0)==="^")A=A.slice(1);else break}return E&&A.charAt(0)!=="["?E+"."+A:E+A}}),zy=Vt((K,V)=>{var u=Lo();V.exports=function(d,E){if(d>0)return Math.log(d)/Math.LN10;var A=Math.log(Math.min(E[0],E[1]))/Math.LN10;return u(A)||(A=Math.log(Math.max(E[0],E[1]))/Math.LN10-6),A}}),G4=Vt((K,V)=>{var u=ef().isArrayOrTypedArray,d=Dp();V.exports=function E(A,t){for(var e in t){var r=t[e],i=A[e];if(i!==r)if(e.charAt(0)==="_"||typeof r=="function"){if(e in A)continue;A[e]=r}else if(u(r)&&u(i)&&d(r[0])){if(e==="customdata"||e==="ids")continue;for(var n=Math.min(r.length,i.length),o=0;o<n;o++)i[o]!==r[o]&&d(r[o])&&d(i[o])&&E(i[o],r[o])}else d(r)&&d(i)&&(E(i,r),Object.keys(i).length||delete A[e])}}}),fm=Vt((K,V)=>{function u(E,A){var t=E%A;return t<0?t+A:t}function d(E,A){return Math.abs(E)>A/2?E-Math.round(E/A)*A:E}V.exports={mod:u,modHalf:d}}),kh=Vt((K,V)=>{(function(u){var d=/^\s+/,E=/\s+$/,A=0,t=u.round,e=u.min,r=u.max,i=u.random;function n(H,it){if(H=H||"",it=it||{},H instanceof n)return H;if(!(this instanceof n))return new n(H,it);var at=o(H);this._originalInput=H,this._r=at.r,this._g=at.g,this._b=at.b,this._a=at.a,this._roundA=t(100*this._a)/100,this._format=it.format||at.format,this._gradientType=it.gradientType,this._r<1&&(this._r=t(this._r)),this._g<1&&(this._g=t(this._g)),this._b<1&&(this._b=t(this._b)),this._ok=at.ok,this._tc_id=A++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var H=this.toRgb();return(H.r*299+H.g*587+H.b*114)/1e3},getLuminance:function(){var H=this.toRgb(),it,at,dt,Tt,xt,Ct;return it=H.r/255,at=H.g/255,dt=H.b/255,it<=.03928?Tt=it/12.92:Tt=u.pow((it+.055)/1.055,2.4),at<=.03928?xt=at/12.92:xt=u.pow((at+.055)/1.055,2.4),dt<=.03928?Ct=dt/12.92:Ct=u.pow((dt+.055)/1.055,2.4),.2126*Tt+.7152*xt+.0722*Ct},setAlpha:function(H){return this._a=D(H),this._roundA=t(100*this._a)/100,this},toHsv:function(){var H=g(this._r,this._g,this._b);return{h:H.h*360,s:H.s,v:H.v,a:this._a}},toHsvString:function(){var H=g(this._r,this._g,this._b),it=t(H.h*360),at=t(H.s*100),dt=t(H.v*100);return this._a==1?"hsv("+it+", "+at+"%, "+dt+"%)":"hsva("+it+", "+at+"%, "+dt+"%, "+this._roundA+")"},toHsl:function(){var H=s(this._r,this._g,this._b);return{h:H.h*360,s:H.s,l:H.l,a:this._a}},toHslString:function(){var H=s(this._r,this._g,this._b),it=t(H.h*360),at=t(H.s*100),dt=t(H.l*100);return this._a==1?"hsl("+it+", "+at+"%, "+dt+"%)":"hsla("+it+", "+at+"%, "+dt+"%, "+this._roundA+")"},toHex:function(H){return p(this._r,this._g,this._b,H)},toHexString:function(H){return"#"+this.toHex(H)},toHex8:function(H){return _(this._r,this._g,this._b,this._a,H)},toHex8String:function(H){return"#"+this.toHex8(H)},toRgb:function(){return{r:t(this._r),g:t(this._g),b:t(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+t(this._r)+", "+t(this._g)+", "+t(this._b)+")":"rgba("+t(this._r)+", "+t(this._g)+", "+t(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:t(j(this._r,255)*100)+"%",g:t(j(this._g,255)*100)+"%",b:t(j(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+t(j(this._r,255)*100)+"%, "+t(j(this._g,255)*100)+"%, "+t(j(this._b,255)*100)+"%)":"rgba("+t(j(this._r,255)*100)+"%, "+t(j(this._g,255)*100)+"%, "+t(j(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:R[p(this._r,this._g,this._b,!0)]||!1},toFilter:function(H){var it="#"+l(this._r,this._g,this._b,this._a),at=it,dt=this._gradientType?"GradientType = 1, ":"";if(H){var Tt=n(H);at="#"+l(Tt._r,Tt._g,Tt._b,Tt._a)}return"progid:DXImageTransform.Microsoft.gradient("+dt+"startColorstr="+it+",endColorstr="+at+")"},toString:function(H){var it=!!H;H=H||this._format;var at=!1,dt=this._a<1&&this._a>=0,Tt=!it&&dt&&(H==="hex"||H==="hex6"||H==="hex3"||H==="hex4"||H==="hex8"||H==="name");return Tt?H==="name"&&this._a===0?this.toName():this.toRgbString():(H==="rgb"&&(at=this.toRgbString()),H==="prgb"&&(at=this.toPercentageRgbString()),(H==="hex"||H==="hex6")&&(at=this.toHexString()),H==="hex3"&&(at=this.toHexString(!0)),H==="hex4"&&(at=this.toHex8String(!0)),H==="hex8"&&(at=this.toHex8String()),H==="name"&&(at=this.toName()),H==="hsl"&&(at=this.toHslString()),H==="hsv"&&(at=this.toHsvString()),at||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(H,it){var at=H.apply(null,[this].concat([].slice.call(it)));return this._r=at._r,this._g=at._g,this._b=at._b,this.setAlpha(at._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(S,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(x,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(M,arguments)},spin:function(){return this._applyModification(c,arguments)},_applyCombination:function(H,it){return H.apply(null,[this].concat([].slice.call(it)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(f,arguments)},monochromatic:function(){return this._applyCombination(F,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},n.fromRatio=function(H,it){if(typeof H=="object"){var at={};for(var dt in H)H.hasOwnProperty(dt)&&(dt==="a"?at[dt]=H[dt]:at[dt]=tt(H[dt]));H=at}return n(H,it)};function o(H){var it={r:0,g:0,b:0},at=1,dt=null,Tt=null,xt=null,Ct=!1,Ot=!1;return typeof H=="string"&&(H=ut(H)),typeof H=="object"&&(Q(H.r)&&Q(H.g)&&Q(H.b)?(it=a(H.r,H.g,H.b),Ct=!0,Ot=String(H.r).substr(-1)==="%"?"prgb":"rgb"):Q(H.h)&&Q(H.s)&&Q(H.v)?(dt=tt(H.s),Tt=tt(H.v),it=v(H.h,dt,Tt),Ct=!0,Ot="hsv"):Q(H.h)&&Q(H.s)&&Q(H.l)&&(dt=tt(H.s),xt=tt(H.l),it=h(H.h,dt,xt),Ct=!0,Ot="hsl"),H.hasOwnProperty("a")&&(at=H.a)),at=D(at),{ok:Ct,format:H.format||Ot,r:e(255,r(it.r,0)),g:e(255,r(it.g,0)),b:e(255,r(it.b,0)),a:at}}function a(H,it,at){return{r:j(H,255)*255,g:j(it,255)*255,b:j(at,255)*255}}function s(H,it,at){H=j(H,255),it=j(it,255),at=j(at,255);var dt=r(H,it,at),Tt=e(H,it,at),xt,Ct,Ot=(dt+Tt)/2;if(dt==Tt)xt=Ct=0;else{var Rt=dt-Tt;switch(Ct=Ot>.5?Rt/(2-dt-Tt):Rt/(dt+Tt),dt){case H:xt=(it-at)/Rt+(it<at?6:0);break;case it:xt=(at-H)/Rt+2;break;case at:xt=(H-it)/Rt+4;break}xt/=6}return{h:xt,s:Ct,l:Ot}}function h(H,it,at){var dt,Tt,xt;H=j(H,360),it=j(it,100),at=j(at,100);function Ct(te,$t,ee){return ee<0&&(ee+=1),ee>1&&(ee-=1),ee<1/6?te+($t-te)*6*ee:ee<1/2?$t:ee<2/3?te+($t-te)*(2/3-ee)*6:te}if(it===0)dt=Tt=xt=at;else{var Ot=at<.5?at*(1+it):at+it-at*it,Rt=2*at-Ot;dt=Ct(Rt,Ot,H+1/3),Tt=Ct(Rt,Ot,H),xt=Ct(Rt,Ot,H-1/3)}return{r:dt*255,g:Tt*255,b:xt*255}}function g(H,it,at){H=j(H,255),it=j(it,255),at=j(at,255);var dt=r(H,it,at),Tt=e(H,it,at),xt,Ct,Ot=dt,Rt=dt-Tt;if(Ct=dt===0?0:Rt/dt,dt==Tt)xt=0;else{switch(dt){case H:xt=(it-at)/Rt+(it<at?6:0);break;case it:xt=(at-H)/Rt+2;break;case at:xt=(H-it)/Rt+4;break}xt/=6}return{h:xt,s:Ct,v:Ot}}function v(H,it,at){H=j(H,360)*6,it=j(it,100),at=j(at,100);var dt=u.floor(H),Tt=H-dt,xt=at*(1-it),Ct=at*(1-Tt*it),Ot=at*(1-(1-Tt)*it),Rt=dt%6,te=[at,Ct,xt,xt,Ot,at][Rt],$t=[Ot,at,at,Ct,xt,xt][Rt],ee=[xt,xt,Ot,at,at,Ct][Rt];return{r:te*255,g:$t*255,b:ee*255}}function p(H,it,at,dt){var Tt=[st(t(H).toString(16)),st(t(it).toString(16)),st(t(at).toString(16))];return dt&&Tt[0].charAt(0)==Tt[0].charAt(1)&&Tt[1].charAt(0)==Tt[1].charAt(1)&&Tt[2].charAt(0)==Tt[2].charAt(1)?Tt[0].charAt(0)+Tt[1].charAt(0)+Tt[2].charAt(0):Tt.join("")}function _(H,it,at,dt,Tt){var xt=[st(t(H).toString(16)),st(t(it).toString(16)),st(t(at).toString(16)),st(G(dt))];return Tt&&xt[0].charAt(0)==xt[0].charAt(1)&&xt[1].charAt(0)==xt[1].charAt(1)&&xt[2].charAt(0)==xt[2].charAt(1)&&xt[3].charAt(0)==xt[3].charAt(1)?xt[0].charAt(0)+xt[1].charAt(0)+xt[2].charAt(0)+xt[3].charAt(0):xt.join("")}function l(H,it,at,dt){var Tt=[st(G(dt)),st(t(H).toString(16)),st(t(it).toString(16)),st(t(at).toString(16))];return Tt.join("")}n.equals=function(H,it){return!H||!it?!1:n(H).toRgbString()==n(it).toRgbString()},n.random=function(){return n.fromRatio({r:i(),g:i(),b:i()})};function x(H,it){it=it===0?0:it||10;var at=n(H).toHsl();return at.s-=it/100,at.s=N(at.s),n(at)}function y(H,it){it=it===0?0:it||10;var at=n(H).toHsl();return at.s+=it/100,at.s=N(at.s),n(at)}function M(H){return n(H).desaturate(100)}function w(H,it){it=it===0?0:it||10;var at=n(H).toHsl();return at.l+=it/100,at.l=N(at.l),n(at)}function S(H,it){it=it===0?0:it||10;var at=n(H).toRgb();return at.r=r(0,e(255,at.r-t(255*-(it/100)))),at.g=r(0,e(255,at.g-t(255*-(it/100)))),at.b=r(0,e(255,at.b-t(255*-(it/100)))),n(at)}function T(H,it){it=it===0?0:it||10;var at=n(H).toHsl();return at.l-=it/100,at.l=N(at.l),n(at)}function c(H,it){var at=n(H).toHsl(),dt=(at.h+it)%360;return at.h=dt<0?360+dt:dt,n(at)}function f(H){var it=n(H).toHsl();return it.h=(it.h+180)%360,n(it)}function k(H){var it=n(H).toHsl(),at=it.h;return[n(H),n({h:(at+120)%360,s:it.s,l:it.l}),n({h:(at+240)%360,s:it.s,l:it.l})]}function b(H){var it=n(H).toHsl(),at=it.h;return[n(H),n({h:(at+90)%360,s:it.s,l:it.l}),n({h:(at+180)%360,s:it.s,l:it.l}),n({h:(at+270)%360,s:it.s,l:it.l})]}function O(H){var it=n(H).toHsl(),at=it.h;return[n(H),n({h:(at+72)%360,s:it.s,l:it.l}),n({h:(at+216)%360,s:it.s,l:it.l})]}function L(H,it,at){it=it||6,at=at||30;var dt=n(H).toHsl(),Tt=360/at,xt=[n(H)];for(dt.h=(dt.h-(Tt*it>>1)+720)%360;--it;)dt.h=(dt.h+Tt)%360,xt.push(n(dt));return xt}function F(H,it){it=it||6;for(var at=n(H).toHsv(),dt=at.h,Tt=at.s,xt=at.v,Ct=[],Ot=1/it;it--;)Ct.push(n({h:dt,s:Tt,v:xt})),xt=(xt+Ot)%1;return Ct}n.mix=function(H,it,at){at=at===0?0:at||50;var dt=n(H).toRgb(),Tt=n(it).toRgb(),xt=at/100,Ct={r:(Tt.r-dt.r)*xt+dt.r,g:(Tt.g-dt.g)*xt+dt.g,b:(Tt.b-dt.b)*xt+dt.b,a:(Tt.a-dt.a)*xt+dt.a};return n(Ct)},n.readability=function(H,it){var at=n(H),dt=n(it);return(u.max(at.getLuminance(),dt.getLuminance())+.05)/(u.min(at.getLuminance(),dt.getLuminance())+.05)},n.isReadable=function(H,it,at){var dt=n.readability(H,it),Tt,xt;switch(xt=!1,Tt=$(at),Tt.level+Tt.size){case"AAsmall":case"AAAlarge":xt=dt>=4.5;break;case"AAlarge":xt=dt>=3;break;case"AAAsmall":xt=dt>=7;break}return xt},n.mostReadable=function(H,it,at){var dt=null,Tt=0,xt,Ct,Ot,Rt;at=at||{},Ct=at.includeFallbackColors,Ot=at.level,Rt=at.size;for(var te=0;te<it.length;te++)xt=n.readability(H,it[te]),xt>Tt&&(Tt=xt,dt=n(it[te]));return n.isReadable(H,dt,{level:Ot,size:Rt})||!Ct?dt:(at.includeFallbackColors=!1,n.mostReadable(H,["#fff","#000"],at))};var B=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=n.hexNames=z(B);function z(H){var it={};for(var at in H)H.hasOwnProperty(at)&&(it[H[at]]=at);return it}function D(H){return H=parseFloat(H),(isNaN(H)||H<0||H>1)&&(H=1),H}function j(H,it){rt(H)&&(H="100%");var at=lt(H);return H=e(it,r(0,parseFloat(H))),at&&(H=parseInt(H*it,10)/100),u.abs(H-it)<1e-6?1:H%it/parseFloat(it)}function N(H){return e(1,r(0,H))}function Z(H){return parseInt(H,16)}function rt(H){return typeof H=="string"&&H.indexOf(".")!=-1&&parseFloat(H)===1}function lt(H){return typeof H=="string"&&H.indexOf("%")!=-1}function st(H){return H.length==1?"0"+H:""+H}function tt(H){return H<=1&&(H=H*100+"%"),H}function G(H){return u.round(parseFloat(H)*255).toString(16)}function nt(H){return Z(H)/255}var Y=(function(){var H="[-\\+]?\\d+%?",it="[-\\+]?\\d*\\.\\d+%?",at="(?:"+it+")|(?:"+H+")",dt="[\\s|\\(]+("+at+")[,|\\s]+("+at+")[,|\\s]+("+at+")\\s*\\)?",Tt="[\\s|\\(]+("+at+")[,|\\s]+("+at+")[,|\\s]+("+at+")[,|\\s]+("+at+")\\s*\\)?";return{CSS_UNIT:new RegExp(at),rgb:new RegExp("rgb"+dt),rgba:new RegExp("rgba"+Tt),hsl:new RegExp("hsl"+dt),hsla:new RegExp("hsla"+Tt),hsv:new RegExp("hsv"+dt),hsva:new RegExp("hsva"+Tt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function Q(H){return!!Y.CSS_UNIT.exec(H)}function ut(H){H=H.replace(d,"").replace(E,"").toLowerCase();var it=!1;if(B[H])H=B[H],it=!0;else if(H=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var at;return(at=Y.rgb.exec(H))?{r:at[1],g:at[2],b:at[3]}:(at=Y.rgba.exec(H))?{r:at[1],g:at[2],b:at[3],a:at[4]}:(at=Y.hsl.exec(H))?{h:at[1],s:at[2],l:at[3]}:(at=Y.hsla.exec(H))?{h:at[1],s:at[2],l:at[3],a:at[4]}:(at=Y.hsv.exec(H))?{h:at[1],s:at[2],v:at[3]}:(at=Y.hsva.exec(H))?{h:at[1],s:at[2],v:at[3],a:at[4]}:(at=Y.hex8.exec(H))?{r:Z(at[1]),g:Z(at[2]),b:Z(at[3]),a:nt(at[4]),format:it?"name":"hex8"}:(at=Y.hex6.exec(H))?{r:Z(at[1]),g:Z(at[2]),b:Z(at[3]),format:it?"name":"hex"}:(at=Y.hex4.exec(H))?{r:Z(at[1]+""+at[1]),g:Z(at[2]+""+at[2]),b:Z(at[3]+""+at[3]),a:nt(at[4]+""+at[4]),format:it?"name":"hex8"}:(at=Y.hex3.exec(H))?{r:Z(at[1]+""+at[1]),g:Z(at[2]+""+at[2]),b:Z(at[3]+""+at[3]),format:it?"name":"hex"}:!1}function $(H){var it,at;return H=H||{level:"AA",size:"small"},it=(H.level||"AA").toUpperCase(),at=(H.size||"small").toLowerCase(),it!=="AA"&&it!=="AAA"&&(it="AA"),at!=="small"&&at!=="large"&&(at="small"),{level:it,size:at}}typeof V<"u"&&V.exports?V.exports=n:window.tinycolor=n})(Math)}),So=Vt(K=>{var V=Dp(),u=Array.isArray;function d(A,t){var e,r;for(e=0;e<A.length;e++){if(r=A[e],r!==null&&typeof r=="object")return!1;r!==void 0&&(t[e]=r)}return!0}K.extendFlat=function(){return E(arguments,!1,!1,!1)},K.extendDeep=function(){return E(arguments,!0,!1,!1)},K.extendDeepAll=function(){return E(arguments,!0,!0,!1)},K.extendDeepNoArrays=function(){return E(arguments,!0,!1,!0)};function E(A,t,e,r){var i=A[0],n=A.length,o,a,s,h,g,v,p;if(n===2&&u(i)&&u(A[1])&&i.length===0){if(p=d(A[1],i),p)return i;i.splice(0,i.length)}for(var _=1;_<n;_++){o=A[_];for(a in o)s=i[a],h=o[a],r&&u(h)?i[a]=h:t&&h&&(V(h)||(g=u(h)))?(g?(g=!1,v=s&&u(s)?s:[]):v=s&&V(s)?s:{},i[a]=E([v,h],t,e,r)):(typeof h<"u"||e)&&(i[a]=h)}return i}}),yu=Vt((K,V)=>{V.exports=function(u){var d=u.variantValues,E=u.editType,A=u.colorEditType;A===void 0&&(A=E);var t={editType:E,valType:"integer",min:1,max:1e3,extras:["normal","bold"],dflt:"normal"};u.noNumericWeightValues&&(t.valType="enumerated",t.values=t.extras,t.extras=void 0,t.min=void 0,t.max=void 0);var e={family:{valType:"string",noBlank:!0,strict:!0,editType:E},size:{valType:"number",min:1,editType:E},color:{valType:"color",editType:A},weight:t,style:{editType:E,valType:"enumerated",values:["normal","italic"],dflt:"normal"},variant:u.noFontVariant?void 0:{editType:E,valType:"enumerated",values:d||["normal","small-caps","all-small-caps","all-petite-caps","petite-caps","unicase"],dflt:"normal"},textcase:u.noFontTextcase?void 0:{editType:E,valType:"enumerated",values:["normal","word caps","upper","lower"],dflt:"normal"},lineposition:u.noFontLineposition?void 0:{editType:E,valType:"flaglist",flags:["under","over","through"],extras:["none"],dflt:"none"},shadow:u.noFontShadow?void 0:{editType:E,valType:"string",dflt:u.autoShadowDflt?"auto":"none"},editType:E};return u.autoSize&&(e.size.dflt="auto"),u.autoColor&&(e.color.dflt="auto"),u.arrayOk&&(e.family.arrayOk=!0,e.weight.arrayOk=!0,e.style.arrayOk=!0,u.noFontVariant||(e.variant.arrayOk=!0),u.noFontTextcase||(e.textcase.arrayOk=!0),u.noFontLineposition||(e.lineposition.arrayOk=!0),u.noFontShadow||(e.shadow.arrayOk=!0),e.size.arrayOk=!0,e.color.arrayOk=!0),e}}),Cg=Vt((K,V)=>{V.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}}),xd=Vt((K,V)=>{var u=Cg(),d=yu(),E=d({editType:"none"});E.family.dflt=u.HOVERFONT,E.size.dflt=u.HOVERFONTSIZE,V.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoversubplots:{valType:"enumerated",values:["single","overlaying","axis"],dflt:"overlaying",editType:"none"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:E,grouptitlefont:d({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},showarrow:{valType:"boolean",dflt:!0,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}}),pm=Vt((K,V)=>{var u=yu(),d=xd().hoverlabel,E=So().extendFlat;V.exports={hoverlabel:{bgcolor:E({},d.bgcolor,{arrayOk:!0}),bordercolor:E({},d.bordercolor,{arrayOk:!0}),font:u({arrayOk:!0,editType:"none"}),align:E({},d.align,{arrayOk:!0}),namelength:E({},d.namelength,{arrayOk:!0}),showarrow:E({},d.showarrow),editType:"none"}}}),kl=Vt((K,V)=>{var u=yu(),d=pm();V.exports={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc"},showlegend:{valType:"boolean",dflt:!0,editType:"style"},legend:{valType:"subplotid",dflt:"legend",editType:"style"},legendgroup:{valType:"string",dflt:"",editType:"style"},legendgrouptitle:{text:{valType:"string",dflt:"",editType:"style"},font:u({editType:"style"}),editType:"style"},legendrank:{valType:"number",dflt:1e3,editType:"style"},legendwidth:{valType:"number",min:0,editType:"style"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style"},name:{valType:"string",editType:"style"},uid:{valType:"string",editType:"plot",anim:!0},ids:{valType:"data_array",editType:"calc",anim:!0},customdata:{valType:"data_array",editType:"calc"},meta:{valType:"any",arrayOk:!0,editType:"plot"},selectedpoints:{valType:"any",editType:"calc"},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none"},hoverlabel:d.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc"},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc"},editType:"calc"},uirevision:{valType:"any",editType:"none"}}}),a0=Vt((K,V)=>{var u=kh(),d={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},E=d.RdBu;function A(r,i){if(i||(i=E),!r)return i;function n(){try{r=d[r]||JSON.parse(r)}catch{r=i}}return typeof r=="string"&&(n(),typeof r=="string"&&n()),t(r)?r:i}function t(r){var i=0;if(!Array.isArray(r)||r.length<2||!r[0]||!r[r.length-1]||+r[0][0]!=0||+r[r.length-1][0]!=1)return!1;for(var n=0;n<r.length;n++){var o=r[n];if(o.length!==2||+o[0]<i||!u(o[1]).isValid())return!1;i=+o[0]}return!0}function e(r){return d[r]!==void 0?!0:t(r)}V.exports={scales:d,defaultScale:E,get:A,isValid:e}}),nh=Vt(K=>{K.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],K.defaultLine="#444",K.lightLine="#eee",K.background="#fff",K.borderLine="#BEC8D9",K.lightFraction=1e3/11}),Pi=Vt((K,V)=>{var u=kh(),d=Lo(),E=ef().isTypedArray,A=V.exports={},t=nh();A.defaults=t.defaults;var e=A.defaultLine=t.defaultLine;A.lightLine=t.lightLine;var r=A.background=t.background;A.tinyRGB=function(n){var o=n.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},A.rgb=function(n){return A.tinyRGB(u(n))},A.opacity=function(n){return n?u(n).getAlpha():0},A.addOpacity=function(n,o){var a=u(n).toRgb();return"rgba("+Math.round(a.r)+", "+Math.round(a.g)+", "+Math.round(a.b)+", "+o+")"},A.combine=function(n,o){var a=u(n).toRgb();if(a.a===1)return u(n).toRgbString();var s=u(o||r).toRgb(),h=s.a===1?s:{r:255*(1-s.a)+s.r*s.a,g:255*(1-s.a)+s.g*s.a,b:255*(1-s.a)+s.b*s.a},g={r:h.r*(1-a.a)+a.r*a.a,g:h.g*(1-a.a)+a.g*a.a,b:h.b*(1-a.a)+a.b*a.a};return u(g).toRgbString()},A.interpolate=function(n,o,a){var s=u(n).toRgb(),h=u(o).toRgb(),g={r:a*s.r+(1-a)*h.r,g:a*s.g+(1-a)*h.g,b:a*s.b+(1-a)*h.b};return u(g).toRgbString()},A.contrast=function(n,o,a){var s=u(n);s.getAlpha()!==1&&(s=u(A.combine(n,r)));var h=s.isDark()?o?s.lighten(o):r:a?s.darken(a):e;return h.toString()},A.stroke=function(n,o){var a=u(o);n.style({stroke:A.tinyRGB(a),"stroke-opacity":a.getAlpha()})},A.fill=function(n,o){var a=u(o);n.style({fill:A.tinyRGB(a),"fill-opacity":a.getAlpha()})},A.clean=function(n){if(!(!n||typeof n!="object")){var o=Object.keys(n),a,s,h,g;for(a=0;a<o.length;a++)if(h=o[a],g=n[h],h.slice(-5)==="color")if(Array.isArray(g))for(s=0;s<g.length;s++)g[s]=i(g[s]);else n[h]=i(g);else if(h.slice(-10)==="colorscale"&&Array.isArray(g))for(s=0;s<g.length;s++)Array.isArray(g[s])&&(g[s][1]=i(g[s][1]));else if(Array.isArray(g)){var v=g[0];if(!Array.isArray(v)&&v&&typeof v=="object")for(s=0;s<g.length;s++)A.clean(g[s])}else g&&typeof g=="object"&&!E(g)&&A.clean(g)}};function i(n){if(d(n)||typeof n!="string")return n;var o=n.trim();if(o.slice(0,3)!=="rgb")return n;var a=o.match(/^rgba?\s*\(([^()]*)\)$/);if(!a)return n;var s=a[1].trim().split(/\s*[\s,]\s*/),h=o.charAt(3)==="a"&&s.length===4;if(!h&&s.length!==3)return n;for(var g=0;g<s.length;g++){if(!s[g].length||(s[g]=Number(s[g]),!(s[g]>=0)))return n;if(g===3)s[g]>1&&(s[g]=1);else if(s[g]>=1)return n}var v=Math.round(s[0]*255)+", "+Math.round(s[1]*255)+", "+Math.round(s[2]*255);return h?"rgba("+v+", "+s[3]+")":"rgb("+v+")"}}),_d=Vt((K,V)=>{V.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}}),dm=Vt(K=>{K.counter=function(V,u,d,E){var A=(u||"")+(d?"":"$"),t=E===!1?"":"^";return V==="xy"?new RegExp(t+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+A):new RegExp(t+V+"([2-9]|[1-9][0-9]+)?"+A)}}),K4=Vt(K=>{var V=Lo(),u=kh(),d=So().extendFlat,E=kl(),A=a0(),t=Pi(),e=_d().DESELECTDIM,r=Eg(),i=dm().counter,n=fm().modHalf,o=ef().isArrayOrTypedArray,a=ef().isTypedArraySpec,s=ef().decodeTypedArraySpec;K.valObjectMeta={data_array:{coerceFunction:function(g,v,p){v.set(o(g)?g:a(g)?s(g):p)}},enumerated:{coerceFunction:function(g,v,p,_){_.coerceNumber&&(g=+g),_.values.indexOf(g)===-1?v.set(p):v.set(g)},validateFunction:function(g,v){v.coerceNumber&&(g=+g);for(var p=v.values,_=0;_<p.length;_++){var l=String(p[_]);if(l.charAt(0)==="/"&&l.charAt(l.length-1)==="/"){var x=new RegExp(l.slice(1,-1));if(x.test(g))return!0}else if(g===p[_])return!0}return!1}},boolean:{coerceFunction:function(g,v,p,_){let l=x=>x===!0||x===!1;l(g)||_.arrayOk&&Array.isArray(g)&&g.length>0&&g.every(l)?v.set(g):v.set(p)}},number:{coerceFunction:function(g,v,p,_){a(g)&&(g=s(g)),!V(g)||_.min!==void 0&&g<_.min||_.max!==void 0&&g>_.max?v.set(p):v.set(+g)}},integer:{coerceFunction:function(g,v,p,_){if((_.extras||[]).indexOf(g)!==-1){v.set(g);return}a(g)&&(g=s(g)),g%1||!V(g)||_.min!==void 0&&g<_.min||_.max!==void 0&&g>_.max?v.set(p):v.set(+g)}},string:{coerceFunction:function(g,v,p,_){if(typeof g!="string"){var l=typeof g=="number";_.strict===!0||!l?v.set(p):v.set(String(g))}else _.noBlank&&!g?v.set(p):v.set(g)}},color:{coerceFunction:function(g,v,p){a(g)&&(g=s(g)),u(g).isValid()?v.set(g):v.set(p)}},colorlist:{coerceFunction:function(g,v,p){function _(l){return u(l).isValid()}!Array.isArray(g)||!g.length?v.set(p):g.every(_)?v.set(g):v.set(p)}},colorscale:{coerceFunction:function(g,v,p){v.set(A.get(g,p))}},angle:{coerceFunction:function(g,v,p){a(g)&&(g=s(g)),g==="auto"?v.set("auto"):V(g)?v.set(n(+g,360)):v.set(p)}},subplotid:{coerceFunction:function(g,v,p,_){var l=_.regex||i(p);let x=y=>typeof y=="string"&&l.test(y);x(g)||_.arrayOk&&o(g)&&g.length>0&&g.every(x)?v.set(g):v.set(p)},validateFunction:function(g,v){var p=v.dflt;return g===p?!0:typeof g!="string"?!1:!!i(p).test(g)}},flaglist:{coerceFunction:function(g,v,p,_){if((_.extras||[]).indexOf(g)!==-1){v.set(g);return}if(typeof g!="string"){v.set(p);return}for(var l=g.split("+"),x=0;x<l.length;){var y=l[x];_.flags.indexOf(y)===-1||l.indexOf(y)<x?l.splice(x,1):x++}l.length?v.set(l.join("+")):v.set(p)}},any:{coerceFunction:function(g,v,p){g===void 0?v.set(p):v.set(a(g)?s(g):g)}},info_array:{coerceFunction:function(g,v,p,_){function l(B,R,z){var D,j={set:function(N){D=N}};return z===void 0&&(z=R.dflt),K.valObjectMeta[R.valType].coerceFunction(B,j,z,R),D}if(a(g)&&(g=s(g)),!o(g)){v.set(p);return}var x=_.dimensions===2||_.dimensions==="1-2"&&Array.isArray(g)&&o(g[0]),y=_.items,M=[],w=Array.isArray(y),S=w&&x&&o(y[0]),T=x&&w&&!S,c=w&&!T?y.length:g.length,f,k,b,O,L,F;if(p=Array.isArray(p)?p:[],x)for(f=0;f<c;f++)for(M[f]=[],b=o(g[f])?g[f]:[],T?L=y.length:w?L=y[f].length:L=b.length,k=0;k<L;k++)T?O=y[k]:w?O=y[f][k]:O=y,F=l(b[k],O,(p[f]||[])[k]),F!==void 0&&(M[f][k]=F);else for(f=0;f<c;f++)F=l(g[f],w?y[f]:y,p[f]),F!==void 0&&(M[f]=F);v.set(M)},validateFunction:function(g,v){if(!o(g))return!1;var p=v.items,_=Array.isArray(p),l=v.dimensions===2;if(!v.freeLength&&g.length!==p.length)return!1;for(var x=0;x<g.length;x++)if(l){if(!o(g[x])||!v.freeLength&&g[x].length!==p[x].length)return!1;for(var y=0;y<g[x].length;y++)if(!h(g[x][y],_?p[x][y]:p))return!1}else if(!h(g[x],_?p[x]:p))return!1;return!0}}},K.coerce=function(g,v,p,_,l){var x=r(p,_).get(),y=r(g,_),M=r(v,_),w=y.get(),S=v._template;if(w===void 0&&S&&(w=r(S,_).get(),S=0),l===void 0&&(l=x.dflt),x.arrayOk){if(o(w))return M.set(w),w;if(a(w))return w=s(w),M.set(w),w}var T=K.valObjectMeta[x.valType].coerceFunction;T(w,M,l,x);var c=M.get();return S&&c===l&&!h(w,x)&&(w=r(S,_).get(),T(w,M,l,x),c=M.get()),c},K.coerce2=function(g,v,p,_,l){var x=r(g,_),y=K.coerce(g,v,p,_,l),M=x.get();return M!=null?y:!1},K.coerceFont=function(g,v,p,_){_||(_={}),p=d({},p),p=d(p,_.overrideDflt||{});var l={family:g(v+".family",p.family),size:g(v+".size",p.size),color:g(v+".color",p.color),weight:g(v+".weight",p.weight),style:g(v+".style",p.style)};if(_.noFontVariant||(l.variant=g(v+".variant",p.variant)),_.noFontLineposition||(l.lineposition=g(v+".lineposition",p.lineposition)),_.noFontTextcase||(l.textcase=g(v+".textcase",p.textcase)),!_.noFontShadow){var x=p.shadow;x==="none"&&_.autoShadowDflt&&(x="auto"),l.shadow=g(v+".shadow",x)}return l},K.coercePattern=function(g,v,p,_){var l=g(v+".shape"),x;if(l||(x=g(v+".path")),l||x){l&&g(v+".solidity"),g(v+".size");var y=g(v+".fillmode"),M=y==="overlay";if(!_){var w=g(v+".bgcolor",M?p:void 0);g(v+".fgcolor",M?t.contrast(w):p)}g(v+".fgopacity",M?.5:1)}},K.coerceHoverinfo=function(g,v,p){var _=v._module.attributes,l=_.hoverinfo?_:E,x=l.hoverinfo,y;if(p._dataLength===1){var M=x.dflt==="all"?x.flags.slice():x.dflt.split("+");M.splice(M.indexOf("name"),1),y=M.join("+")}return K.coerce(g,v,l,"hoverinfo",y)},K.coerceSelectionMarkerOpacity=function(g,v){if(g.marker){var p=g.marker.opacity;if(p!==void 0){var _,l;!o(p)&&!g.selected&&!g.unselected&&(_=p,l=e*p),v("selected.marker.opacity",_),v("unselected.marker.opacity",l)}}};function h(g,v){var p=K.valObjectMeta[v.valType];if(v.arrayOk&&o(g))return!0;if(p.validateFunction)return p.validateFunction(g,v);var _={},l=_,x={set:function(y){l=y}};return p.coerceFunction(g,x,_,v),l!==_}K.validate=h}),i0=Vt((K,V)=>{var u={staticPlot:{valType:"boolean",dflt:!1},typesetMath:{valType:"boolean",dflt:!0},plotlyServerURL:{valType:"string",dflt:""},editable:{valType:"boolean",dflt:!1},edits:{annotationPosition:{valType:"boolean",dflt:!1},annotationTail:{valType:"boolean",dflt:!1},annotationText:{valType:"boolean",dflt:!1},axisTitleText:{valType:"boolean",dflt:!1},colorbarPosition:{valType:"boolean",dflt:!1},colorbarTitleText:{valType:"boolean",dflt:!1},legendPosition:{valType:"boolean",dflt:!1},legendText:{valType:"boolean",dflt:!1},shapePosition:{valType:"boolean",dflt:!1},titleText:{valType:"boolean",dflt:!1}},editSelection:{valType:"boolean",dflt:!0},autosizable:{valType:"boolean",dflt:!1},responsive:{valType:"boolean",dflt:!1},fillFrame:{valType:"boolean",dflt:!1},frameMargins:{valType:"number",dflt:0,min:0,max:.5},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox","map"],extras:[!0,!1],dflt:"gl3d+geo+map"},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize"},doubleClickDelay:{valType:"number",dflt:300,min:0},showAxisDragHandles:{valType:"boolean",dflt:!0},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0},showTips:{valType:"boolean",dflt:!0},showLink:{valType:"boolean",dflt:!1},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0},sendData:{valType:"boolean",dflt:!0},showSources:{valType:"any",dflt:!1},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover"},showSendToCloud:{valType:"boolean",dflt:!1},showEditInChartStudio:{valType:"boolean",dflt:!1},modeBarButtonsToRemove:{valType:"any",dflt:[]},modeBarButtonsToAdd:{valType:"any",dflt:[]},modeBarButtons:{valType:"any",dflt:!1},toImageButtonOptions:{valType:"any",dflt:{}},displaylogo:{valType:"boolean",dflt:!0},watermark:{valType:"boolean",dflt:!1},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4},setBackground:{valType:"any",dflt:"transparent"},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/un/"},mapboxAccessToken:{valType:"string",dflt:null},logging:{valType:"integer",min:0,max:2,dflt:1},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0},queueLength:{valType:"integer",min:0,dflt:0},locale:{valType:"string",dflt:"en-US"},locales:{valType:"any",dflt:{}}},d={};function E(A,t){for(var e in A){var r=A[e];r.valType?t[e]=r.dflt:(t[e]||(t[e]={}),E(r,t[e]))}}E(u,d),V.exports={configAttributes:u,dfltConfig:d}}),Y_=Vt((K,V)=>{var u=Ni(),d=Lo(),E=[];V.exports=function(A,t){if(E.indexOf(A)!==-1)return;E.push(A);var e=1e3;d(t)?e=t:t==="long"&&(e=3e3);var r=u.select("body").selectAll(".plotly-notifier").data([0]);r.enter().append("div").classed("plotly-notifier",!0);var i=r.selectAll(".notifier-note").data(E);function n(o){o.duration(700).style("opacity",0).each("end",function(a){var s=E.indexOf(a);s!==-1&&E.splice(s,1),u.select(this).remove()})}i.enter().append("div").classed("notifier-note",!0).style("opacity",0).each(function(o){var a=u.select(this);a.append("button").classed("notifier-close",!0).html("×").on("click",function(){a.transition().call(n)});for(var s=a.append("p"),h=o.split(/<br\s*\/?>/g),g=0;g<h.length;g++)g&&s.append("br"),s.append("span").text(h[g]);t==="stick"?a.transition().duration(350).style("opacity",1):a.transition().duration(700).style("opacity",1).transition().delay(e).call(n)})}}),bd=Vt((K,V)=>{var u=i0().dfltConfig,d=Y_(),E=V.exports={};E.log=function(){var A;if(u.logging>1){var t=["LOG:"];for(A=0;A<arguments.length;A++)t.push(arguments[A]);console.trace.apply(console,t)}if(u.notifyOnLogging>1){var e=[];for(A=0;A<arguments.length;A++)e.push(arguments[A]);d(e.join("<br>"),"long")}},E.warn=function(){var A;if(u.logging>0){var t=["WARN:"];for(A=0;A<arguments.length;A++)t.push(arguments[A]);console.trace.apply(console,t)}if(u.notifyOnLogging>0){var e=[];for(A=0;A<arguments.length;A++)e.push(arguments[A]);d(e.join("<br>"),"stick")}},E.error=function(){var A;if(u.logging>0){var t=["ERROR:"];for(A=0;A<arguments.length;A++)t.push(arguments[A]);console.error.apply(console,t)}if(u.notifyOnLogging>0){var e=[];for(A=0;A<arguments.length;A++)e.push(arguments[A]);d(e.join("<br>"),"stick")}}}),Py=Vt((K,V)=>{V.exports=function(){}}),X_=Vt((K,V)=>{V.exports=function(u,d){if(d instanceof RegExp){for(var E=d.toString(),A=0;A<u.length;A++)if(u[A]instanceof RegExp&&u[A].toString()===E)return u;u.push(d)}else(d||d===0)&&u.indexOf(d)===-1&&u.push(d);return u}}),Y4=Vt((K,V)=>{V.exports=u;function u(){var d=new Float32Array(16);return d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}),X4=Vt((K,V)=>{V.exports=u;function u(d){var E=new Float32Array(16);return E[0]=d[0],E[1]=d[1],E[2]=d[2],E[3]=d[3],E[4]=d[4],E[5]=d[5],E[6]=d[6],E[7]=d[7],E[8]=d[8],E[9]=d[9],E[10]=d[10],E[11]=d[11],E[12]=d[12],E[13]=d[13],E[14]=d[14],E[15]=d[15],E}}),J4=Vt((K,V)=>{V.exports=u;function u(d,E){return d[0]=E[0],d[1]=E[1],d[2]=E[2],d[3]=E[3],d[4]=E[4],d[5]=E[5],d[6]=E[6],d[7]=E[7],d[8]=E[8],d[9]=E[9],d[10]=E[10],d[11]=E[11],d[12]=E[12],d[13]=E[13],d[14]=E[14],d[15]=E[15],d}}),J_=Vt((K,V)=>{V.exports=u;function u(d){return d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}),$4=Vt((K,V)=>{V.exports=u;function u(d,E){if(d===E){var A=E[1],t=E[2],e=E[3],r=E[6],i=E[7],n=E[11];d[1]=E[4],d[2]=E[8],d[3]=E[12],d[4]=A,d[6]=E[9],d[7]=E[13],d[8]=t,d[9]=r,d[11]=E[14],d[12]=e,d[13]=i,d[14]=n}else d[0]=E[0],d[1]=E[4],d[2]=E[8],d[3]=E[12],d[4]=E[1],d[5]=E[5],d[6]=E[9],d[7]=E[13],d[8]=E[2],d[9]=E[6],d[10]=E[10],d[11]=E[14],d[12]=E[3],d[13]=E[7],d[14]=E[11],d[15]=E[15];return d}}),Q4=Vt((K,V)=>{V.exports=u;function u(d,E){var A=E[0],t=E[1],e=E[2],r=E[3],i=E[4],n=E[5],o=E[6],a=E[7],s=E[8],h=E[9],g=E[10],v=E[11],p=E[12],_=E[13],l=E[14],x=E[15],y=A*n-t*i,M=A*o-e*i,w=A*a-r*i,S=t*o-e*n,T=t*a-r*n,c=e*a-r*o,f=s*_-h*p,k=s*l-g*p,b=s*x-v*p,O=h*l-g*_,L=h*x-v*_,F=g*x-v*l,B=y*F-M*L+w*O+S*b-T*k+c*f;return B?(B=1/B,d[0]=(n*F-o*L+a*O)*B,d[1]=(e*L-t*F-r*O)*B,d[2]=(_*c-l*T+x*S)*B,d[3]=(g*T-h*c-v*S)*B,d[4]=(o*b-i*F-a*k)*B,d[5]=(A*F-e*b+r*k)*B,d[6]=(l*w-p*c-x*M)*B,d[7]=(s*c-g*w+v*M)*B,d[8]=(i*L-n*b+a*f)*B,d[9]=(t*b-A*L-r*f)*B,d[10]=(p*T-_*w+x*y)*B,d[11]=(h*w-s*T-v*y)*B,d[12]=(n*k-i*O-o*f)*B,d[13]=(A*O-t*k+e*f)*B,d[14]=(_*M-p*S-l*y)*B,d[15]=(s*S-h*M+g*y)*B,d):null}}),tT=Vt((K,V)=>{V.exports=u;function u(d,E){var A=E[0],t=E[1],e=E[2],r=E[3],i=E[4],n=E[5],o=E[6],a=E[7],s=E[8],h=E[9],g=E[10],v=E[11],p=E[12],_=E[13],l=E[14],x=E[15];return d[0]=n*(g*x-v*l)-h*(o*x-a*l)+_*(o*v-a*g),d[1]=-(t*(g*x-v*l)-h*(e*x-r*l)+_*(e*v-r*g)),d[2]=t*(o*x-a*l)-n*(e*x-r*l)+_*(e*a-r*o),d[3]=-(t*(o*v-a*g)-n*(e*v-r*g)+h*(e*a-r*o)),d[4]=-(i*(g*x-v*l)-s*(o*x-a*l)+p*(o*v-a*g)),d[5]=A*(g*x-v*l)-s*(e*x-r*l)+p*(e*v-r*g),d[6]=-(A*(o*x-a*l)-i*(e*x-r*l)+p*(e*a-r*o)),d[7]=A*(o*v-a*g)-i*(e*v-r*g)+s*(e*a-r*o),d[8]=i*(h*x-v*_)-s*(n*x-a*_)+p*(n*v-a*h),d[9]=-(A*(h*x-v*_)-s*(t*x-r*_)+p*(t*v-r*h)),d[10]=A*(n*x-a*_)-i*(t*x-r*_)+p*(t*a-r*n),d[11]=-(A*(n*v-a*h)-i*(t*v-r*h)+s*(t*a-r*n)),d[12]=-(i*(h*l-g*_)-s*(n*l-o*_)+p*(n*g-o*h)),d[13]=A*(h*l-g*_)-s*(t*l-e*_)+p*(t*g-e*h),d[14]=-(A*(n*l-o*_)-i*(t*l-e*_)+p*(t*o-e*n)),d[15]=A*(n*g-o*h)-i*(t*g-e*h)+s*(t*o-e*n),d}}),eT=Vt((K,V)=>{V.exports=u;function u(d){var E=d[0],A=d[1],t=d[2],e=d[3],r=d[4],i=d[5],n=d[6],o=d[7],a=d[8],s=d[9],h=d[10],g=d[11],v=d[12],p=d[13],_=d[14],l=d[15],x=E*i-A*r,y=E*n-t*r,M=E*o-e*r,w=A*n-t*i,S=A*o-e*i,T=t*o-e*n,c=a*p-s*v,f=a*_-h*v,k=a*l-g*v,b=s*_-h*p,O=s*l-g*p,L=h*l-g*_;return x*L-y*O+M*b+w*k-S*f+T*c}}),rT=Vt((K,V)=>{V.exports=u;function u(d,E,A){var t=E[0],e=E[1],r=E[2],i=E[3],n=E[4],o=E[5],a=E[6],s=E[7],h=E[8],g=E[9],v=E[10],p=E[11],_=E[12],l=E[13],x=E[14],y=E[15],M=A[0],w=A[1],S=A[2],T=A[3];return d[0]=M*t+w*n+S*h+T*_,d[1]=M*e+w*o+S*g+T*l,d[2]=M*r+w*a+S*v+T*x,d[3]=M*i+w*s+S*p+T*y,M=A[4],w=A[5],S=A[6],T=A[7],d[4]=M*t+w*n+S*h+T*_,d[5]=M*e+w*o+S*g+T*l,d[6]=M*r+w*a+S*v+T*x,d[7]=M*i+w*s+S*p+T*y,M=A[8],w=A[9],S=A[10],T=A[11],d[8]=M*t+w*n+S*h+T*_,d[9]=M*e+w*o+S*g+T*l,d[10]=M*r+w*a+S*v+T*x,d[11]=M*i+w*s+S*p+T*y,M=A[12],w=A[13],S=A[14],T=A[15],d[12]=M*t+w*n+S*h+T*_,d[13]=M*e+w*o+S*g+T*l,d[14]=M*r+w*a+S*v+T*x,d[15]=M*i+w*s+S*p+T*y,d}}),nT=Vt((K,V)=>{V.exports=u;function u(d,E,A){var t=A[0],e=A[1],r=A[2],i,n,o,a,s,h,g,v,p,_,l,x;return E===d?(d[12]=E[0]*t+E[4]*e+E[8]*r+E[12],d[13]=E[1]*t+E[5]*e+E[9]*r+E[13],d[14]=E[2]*t+E[6]*e+E[10]*r+E[14],d[15]=E[3]*t+E[7]*e+E[11]*r+E[15]):(i=E[0],n=E[1],o=E[2],a=E[3],s=E[4],h=E[5],g=E[6],v=E[7],p=E[8],_=E[9],l=E[10],x=E[11],d[0]=i,d[1]=n,d[2]=o,d[3]=a,d[4]=s,d[5]=h,d[6]=g,d[7]=v,d[8]=p,d[9]=_,d[10]=l,d[11]=x,d[12]=i*t+s*e+p*r+E[12],d[13]=n*t+h*e+_*r+E[13],d[14]=o*t+g*e+l*r+E[14],d[15]=a*t+v*e+x*r+E[15]),d}}),aT=Vt((K,V)=>{V.exports=u;function u(d,E,A){var t=A[0],e=A[1],r=A[2];return d[0]=E[0]*t,d[1]=E[1]*t,d[2]=E[2]*t,d[3]=E[3]*t,d[4]=E[4]*e,d[5]=E[5]*e,d[6]=E[6]*e,d[7]=E[7]*e,d[8]=E[8]*r,d[9]=E[9]*r,d[10]=E[10]*r,d[11]=E[11]*r,d[12]=E[12],d[13]=E[13],d[14]=E[14],d[15]=E[15],d}}),iT=Vt((K,V)=>{V.exports=u;function u(d,E,A,t){var e=t[0],r=t[1],i=t[2],n=Math.sqrt(e*e+r*r+i*i),o,a,s,h,g,v,p,_,l,x,y,M,w,S,T,c,f,k,b,O,L,F,B,R;return Math.abs(n)<1e-6?null:(n=1/n,e*=n,r*=n,i*=n,o=Math.sin(A),a=Math.cos(A),s=1-a,h=E[0],g=E[1],v=E[2],p=E[3],_=E[4],l=E[5],x=E[6],y=E[7],M=E[8],w=E[9],S=E[10],T=E[11],c=e*e*s+a,f=r*e*s+i*o,k=i*e*s-r*o,b=e*r*s-i*o,O=r*r*s+a,L=i*r*s+e*o,F=e*i*s+r*o,B=r*i*s-e*o,R=i*i*s+a,d[0]=h*c+_*f+M*k,d[1]=g*c+l*f+w*k,d[2]=v*c+x*f+S*k,d[3]=p*c+y*f+T*k,d[4]=h*b+_*O+M*L,d[5]=g*b+l*O+w*L,d[6]=v*b+x*O+S*L,d[7]=p*b+y*O+T*L,d[8]=h*F+_*B+M*R,d[9]=g*F+l*B+w*R,d[10]=v*F+x*B+S*R,d[11]=p*F+y*B+T*R,E!==d&&(d[12]=E[12],d[13]=E[13],d[14]=E[14],d[15]=E[15]),d)}}),oT=Vt((K,V)=>{V.exports=u;function u(d,E,A){var t=Math.sin(A),e=Math.cos(A),r=E[4],i=E[5],n=E[6],o=E[7],a=E[8],s=E[9],h=E[10],g=E[11];return E!==d&&(d[0]=E[0],d[1]=E[1],d[2]=E[2],d[3]=E[3],d[12]=E[12],d[13]=E[13],d[14]=E[14],d[15]=E[15]),d[4]=r*e+a*t,d[5]=i*e+s*t,d[6]=n*e+h*t,d[7]=o*e+g*t,d[8]=a*e-r*t,d[9]=s*e-i*t,d[10]=h*e-n*t,d[11]=g*e-o*t,d}}),sT=Vt((K,V)=>{V.exports=u;function u(d,E,A){var t=Math.sin(A),e=Math.cos(A),r=E[0],i=E[1],n=E[2],o=E[3],a=E[8],s=E[9],h=E[10],g=E[11];return E!==d&&(d[4]=E[4],d[5]=E[5],d[6]=E[6],d[7]=E[7],d[12]=E[12],d[13]=E[13],d[14]=E[14],d[15]=E[15]),d[0]=r*e-a*t,d[1]=i*e-s*t,d[2]=n*e-h*t,d[3]=o*e-g*t,d[8]=r*t+a*e,d[9]=i*t+s*e,d[10]=n*t+h*e,d[11]=o*t+g*e,d}}),lT=Vt((K,V)=>{V.exports=u;function u(d,E,A){var t=Math.sin(A),e=Math.cos(A),r=E[0],i=E[1],n=E[2],o=E[3],a=E[4],s=E[5],h=E[6],g=E[7];return E!==d&&(d[8]=E[8],d[9]=E[9],d[10]=E[10],d[11]=E[11],d[12]=E[12],d[13]=E[13],d[14]=E[14],d[15]=E[15]),d[0]=r*e+a*t,d[1]=i*e+s*t,d[2]=n*e+h*t,d[3]=o*e+g*t,d[4]=a*e-r*t,d[5]=s*e-i*t,d[6]=h*e-n*t,d[7]=g*e-o*t,d}}),uT=Vt((K,V)=>{V.exports=u;function u(d,E,A){var t,e,r,i=A[0],n=A[1],o=A[2],a=Math.sqrt(i*i+n*n+o*o);return Math.abs(a)<1e-6?null:(a=1/a,i*=a,n*=a,o*=a,t=Math.sin(E),e=Math.cos(E),r=1-e,d[0]=i*i*r+e,d[1]=n*i*r+o*t,d[2]=o*i*r-n*t,d[3]=0,d[4]=i*n*r-o*t,d[5]=n*n*r+e,d[6]=o*n*r+i*t,d[7]=0,d[8]=i*o*r+n*t,d[9]=n*o*r-i*t,d[10]=o*o*r+e,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d)}}),cT=Vt((K,V)=>{V.exports=u;function u(d,E,A){var t=E[0],e=E[1],r=E[2],i=E[3],n=t+t,o=e+e,a=r+r,s=t*n,h=t*o,g=t*a,v=e*o,p=e*a,_=r*a,l=i*n,x=i*o,y=i*a;return d[0]=1-(v+_),d[1]=h+y,d[2]=g-x,d[3]=0,d[4]=h-y,d[5]=1-(s+_),d[6]=p+l,d[7]=0,d[8]=g+x,d[9]=p-l,d[10]=1-(s+v),d[11]=0,d[12]=A[0],d[13]=A[1],d[14]=A[2],d[15]=1,d}}),hT=Vt((K,V)=>{V.exports=u;function u(d,E){return d[0]=E[0],d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=E[1],d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=E[2],d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}),fT=Vt((K,V)=>{V.exports=u;function u(d,E){return d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=E[0],d[13]=E[1],d[14]=E[2],d[15]=1,d}}),pT=Vt((K,V)=>{V.exports=u;function u(d,E){var A=Math.sin(E),t=Math.cos(E);return d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=t,d[6]=A,d[7]=0,d[8]=0,d[9]=-A,d[10]=t,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}),dT=Vt((K,V)=>{V.exports=u;function u(d,E){var A=Math.sin(E),t=Math.cos(E);return d[0]=t,d[1]=0,d[2]=-A,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=A,d[9]=0,d[10]=t,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}),mT=Vt((K,V)=>{V.exports=u;function u(d,E){var A=Math.sin(E),t=Math.cos(E);return d[0]=t,d[1]=A,d[2]=0,d[3]=0,d[4]=-A,d[5]=t,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}),gT=Vt((K,V)=>{V.exports=u;function u(d,E){var A=E[0],t=E[1],e=E[2],r=E[3],i=A+A,n=t+t,o=e+e,a=A*i,s=t*i,h=t*n,g=e*i,v=e*n,p=e*o,_=r*i,l=r*n,x=r*o;return d[0]=1-h-p,d[1]=s+x,d[2]=g-l,d[3]=0,d[4]=s-x,d[5]=1-a-p,d[6]=v+_,d[7]=0,d[8]=g+l,d[9]=v-_,d[10]=1-a-h,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1,d}}),vT=Vt((K,V)=>{V.exports=u;function u(d,E,A,t,e,r,i){var n=1/(A-E),o=1/(e-t),a=1/(r-i);return d[0]=r*2*n,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=r*2*o,d[6]=0,d[7]=0,d[8]=(A+E)*n,d[9]=(e+t)*o,d[10]=(i+r)*a,d[11]=-1,d[12]=0,d[13]=0,d[14]=i*r*2*a,d[15]=0,d}}),yT=Vt((K,V)=>{V.exports=u;function u(d,E,A,t,e){var r=1/Math.tan(E/2),i=1/(t-e);return d[0]=r/A,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=r,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=(e+t)*i,d[11]=-1,d[12]=0,d[13]=0,d[14]=2*e*t*i,d[15]=0,d}}),xT=Vt((K,V)=>{V.exports=u;function u(d,E,A,t){var e=Math.tan(E.upDegrees*Math.PI/180),r=Math.tan(E.downDegrees*Math.PI/180),i=Math.tan(E.leftDegrees*Math.PI/180),n=Math.tan(E.rightDegrees*Math.PI/180),o=2/(i+n),a=2/(e+r);return d[0]=o,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=a,d[6]=0,d[7]=0,d[8]=-((i-n)*o*.5),d[9]=(e-r)*a*.5,d[10]=t/(A-t),d[11]=-1,d[12]=0,d[13]=0,d[14]=t*A/(A-t),d[15]=0,d}}),_T=Vt((K,V)=>{V.exports=u;function u(d,E,A,t,e,r,i){var n=1/(E-A),o=1/(t-e),a=1/(r-i);return d[0]=-2*n,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=-2*o,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=2*a,d[11]=0,d[12]=(E+A)*n,d[13]=(e+t)*o,d[14]=(i+r)*a,d[15]=1,d}}),bT=Vt((K,V)=>{var u=J_();V.exports=d;function d(E,A,t,e){var r,i,n,o,a,s,h,g,v,p,_=A[0],l=A[1],x=A[2],y=e[0],M=e[1],w=e[2],S=t[0],T=t[1],c=t[2];return Math.abs(_-S)<1e-6&&Math.abs(l-T)<1e-6&&Math.abs(x-c)<1e-6?u(E):(h=_-S,g=l-T,v=x-c,p=1/Math.sqrt(h*h+g*g+v*v),h*=p,g*=p,v*=p,r=M*v-w*g,i=w*h-y*v,n=y*g-M*h,p=Math.sqrt(r*r+i*i+n*n),p?(p=1/p,r*=p,i*=p,n*=p):(r=0,i=0,n=0),o=g*n-v*i,a=v*r-h*n,s=h*i-g*r,p=Math.sqrt(o*o+a*a+s*s),p?(p=1/p,o*=p,a*=p,s*=p):(o=0,a=0,s=0),E[0]=r,E[1]=o,E[2]=h,E[3]=0,E[4]=i,E[5]=a,E[6]=g,E[7]=0,E[8]=n,E[9]=s,E[10]=v,E[11]=0,E[12]=-(r*_+i*l+n*x),E[13]=-(o*_+a*l+s*x),E[14]=-(h*_+g*l+v*x),E[15]=1,E)}}),wT=Vt((K,V)=>{V.exports=u;function u(d){return"mat4("+d[0]+", "+d[1]+", "+d[2]+", "+d[3]+", "+d[4]+", "+d[5]+", "+d[6]+", "+d[7]+", "+d[8]+", "+d[9]+", "+d[10]+", "+d[11]+", "+d[12]+", "+d[13]+", "+d[14]+", "+d[15]+")"}}),$_=Vt((K,V)=>{V.exports={create:Y4(),clone:X4(),copy:J4(),identity:J_(),transpose:$4(),invert:Q4(),adjoint:tT(),determinant:eT(),multiply:rT(),translate:nT(),scale:aT(),rotate:iT(),rotateX:oT(),rotateY:sT(),rotateZ:lT(),fromRotation:uT(),fromRotationTranslation:cT(),fromScaling:hT(),fromTranslation:fT(),fromXRotation:pT(),fromYRotation:dT(),fromZRotation:mT(),fromQuat:gT(),frustum:vT(),perspective:yT(),perspectiveFromFieldOfView:xT(),ortho:_T(),lookAt:bT(),str:wT()}}),Oy=Vt(K=>{var V=$_();K.init2dArray=function(u,d){for(var E=new Array(u),A=0;A<u;A++)E[A]=new Array(d);return E},K.transposeRagged=function(u){var d=0,E=u.length,A,t;for(A=0;A<E;A++)d=Math.max(d,u[A].length);var e=new Array(d);for(A=0;A<d;A++)for(e[A]=new Array(E),t=0;t<E;t++)e[A][t]=u[t][A];return e},K.dot=function(u,d){if(!(u.length&&d.length)||u.length!==d.length)return null;var E=u.length,A,t;if(u[0].length)for(A=new Array(E),t=0;t<E;t++)A[t]=K.dot(u[t],d);else if(d[0].length){var e=K.transposeRagged(d);for(A=new Array(e.length),t=0;t<e.length;t++)A[t]=K.dot(u,e[t])}else for(A=0,t=0;t<E;t++)A+=u[t]*d[t];return A},K.translationMatrix=function(u,d){return[[1,0,u],[0,1,d],[0,0,1]]},K.rotationMatrix=function(u){var d=u*Math.PI/180;return[[Math.cos(d),-Math.sin(d),0],[Math.sin(d),Math.cos(d),0],[0,0,1]]},K.rotationXYMatrix=function(u,d,E){return K.dot(K.dot(K.translationMatrix(d,E),K.rotationMatrix(u)),K.translationMatrix(-d,-E))},K.apply3DTransform=function(u){return function(){var d=arguments,E=arguments.length===1?d[0]:[d[0],d[1],d[2]||0];return K.dot(u,[E[0],E[1],E[2],1]).slice(0,3)}},K.apply2DTransform=function(u){return function(){var d=arguments;d.length===3&&(d=d[0]);var E=arguments.length===1?d[0]:[d[0],d[1]];return K.dot(u,[E[0],E[1],1]).slice(0,2)}},K.apply2DTransform2=function(u){var d=K.apply2DTransform(u);return function(E){return d(E.slice(0,2)).concat(d(E.slice(2,4)))}},K.convertCssMatrix=function(u){if(u){var d=u.length;if(d===16)return u;if(d===6)return[u[0],u[1],0,0,u[2],u[3],0,0,0,0,1,0,u[4],u[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},K.inverseTransformMatrix=function(u){var d=[];return V.invert(d,u),[[d[0],d[1],d[2],d[3]],[d[4],d[5],d[6],d[7]],[d[8],d[9],d[10],d[11]],[d[12],d[13],d[14],d[15]]]}}),Lg=Vt((K,V)=>{var u=Ni(),d=bd(),E=Oy(),A=$_();function t(_){var l;if(typeof _=="string"){if(l=document.getElementById(_),l===null)throw new Error("No DOM element with id '"+_+"' exists on the page.");return l}else if(_==null)throw new Error("DOM element provided is null or undefined");return _}function e(_){var l=u.select(_);return l.node()instanceof HTMLElement&&l.size()&&l.classed("js-plotly-plot")}function r(_){var l=_&&_.parentNode;l&&l.removeChild(_)}function i(_,l){n("global",_,l)}function n(_,l,x){var y="plotly.js-style-"+_,M=document.getElementById(y);if(!(M&&M.matches(".no-inline-styles"))){M||(M=document.createElement("style"),M.setAttribute("id",y),M.appendChild(document.createTextNode("")),document.head.appendChild(M));var w=M.sheet;w?w.insertRule?w.insertRule(l+"{"+x+"}",0):w.addRule?w.addRule(l,x,0):d.warn("addStyleRule failed"):d.warn("Cannot addRelatedStyleRule, probably due to strict CSP...")}}function o(_){var l="plotly.js-style-"+_,x=document.getElementById(l);x&&r(x)}function a(_,l,x,y,M,w){var S=y.split(":"),T=M.split(":"),c="data-btn-style-event-added";w||(w=document),w.querySelectorAll(_).forEach(function(f){f.getAttribute(c)||(f.addEventListener("mouseenter",function(){var k=this.querySelector(x);k&&(k.style[S[0]]=S[1])}),f.addEventListener("mouseleave",function(){var k=this.querySelector(x);k&&(l&&this.matches(l)?k.style[S[0]]=S[1]:k.style[T[0]]=T[1])}),f.setAttribute(c,!0))})}function s(_){var l=g(_),x=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return l.forEach(function(y){var M=h(y);if(M){var w=E.convertCssMatrix(M);x=A.multiply(x,x,w)}}),x}function h(_){var l=window.getComputedStyle(_,null),x=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("-moz-transform")||l.getPropertyValue("-ms-transform")||l.getPropertyValue("-o-transform")||l.getPropertyValue("transform");return x==="none"?null:x.replace("matrix","").replace("3d","").slice(1,-1).split(",").map(function(y){return+y})}function g(_){for(var l=[];v(_);)l.push(_),_=_.parentNode,typeof ShadowRoot=="function"&&_ instanceof ShadowRoot&&(_=_.host);return l}function v(_){return _&&(_ instanceof Element||_ instanceof HTMLElement)}function p(_,l){return _&&l&&_.top===l.top&&_.left===l.left&&_.right===l.right&&_.bottom===l.bottom}V.exports={getGraphDiv:t,isPlotDiv:e,removeElement:r,addStyleRule:i,addRelatedStyleRule:n,deleteRelatedStyleRule:o,setStyleOnHover:a,getFullTransformMatrix:s,getElementTransformMatrix:h,getElementAndAncestors:g,equalDomRects:p}}),Ig=Vt((K,V)=>{V.exports={mode:{valType:"enumerated",dflt:"afterall",values:["immediate","next","afterall"]},direction:{valType:"enumerated",values:["forward","reverse"],dflt:"forward"},fromcurrent:{valType:"boolean",dflt:!1},frame:{duration:{valType:"number",min:0,dflt:500},redraw:{valType:"boolean",dflt:!0}},transition:{duration:{valType:"number",min:0,dflt:500,editType:"none"},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],editType:"none"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",editType:"none"}}}}),Iu=Vt((K,V)=>{var u=So().extendFlat,d=Dp(),E={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"]},A={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"]},t=E.flags.slice().concat(["fullReplot"]),e=A.flags.slice().concat("layoutReplot");V.exports={traces:E,layout:A,traceFlags:function(){return r(t)},layoutFlags:function(){return r(e)},update:function(o,a){var s=a.editType;if(s&&s!=="none")for(var h=s.split("+"),g=0;g<h.length;g++)o[h[g]]=!0},overrideAll:i};function r(o){for(var a={},s=0;s<o.length;s++)a[o[s]]=!1;return a}function i(o,a,s){var h=u({},o);for(var g in h){var v=h[g];d(v)&&(h[g]=n(v,a,s,g))}return s==="from-root"&&(h.editType=a),h}function n(o,a,s,h){if(o.valType){var g=u({},o);if(g.editType=a,Array.isArray(o.items)){g.items=new Array(o.items.length);for(var v=0;v<o.items.length;v++)g.items[v]=n(o.items[v],a)}return g}else return i(o,a,h.charAt(0)==="_"?"nested":"from-root")}}),Lh=Vt(K=>{K.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},K.pattern={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},path:{valType:"string",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}}),Q_=Vt((K,V)=>{V.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}}),yl=Vt(K=>{var{DATE_FORMAT_LINK:V,FORMAT_LINK:u}=Q_(),d=["Variables that can't be found will be replaced with the specifier.",'For example, a template of "data: %{x}, %{y}" will result in a value of "data: 1, %{y}" if x is 1 and y is missing.',"Variables with an undefined value will be replaced with the fallback value."].join(" ");function E({supportOther:A}={}){return["Variables are inserted using %{variable},",'for example "y: %{y}"'+(A?" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown.":"."),`Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".`,u,"for details on the formatting syntax.",`Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".`,V,"for details on the date formatting syntax.",d].join(" ")}K.templateFormatStringDescription=E,K.hovertemplateAttrs=({editType:A="none",arrayOk:t}={},e={})=>vd({valType:"string",dflt:"",editType:A},t!==!1?{arrayOk:!0}:{}),K.texttemplateAttrs=({editType:A="calc",arrayOk:t}={},e={})=>vd({valType:"string",dflt:"",editType:A},t!==!1?{arrayOk:!0}:{}),K.shapeTexttemplateAttrs=({editType:A="arraydraw",newshape:t}={},e={})=>({valType:"string",dflt:"",editType:A}),K.templatefallbackAttrs=({editType:A="none"}={})=>({valType:"any",dflt:"-",editType:A})}),Dy=Vt((K,V)=>{function u(M,w){return w?w.d2l(M):M}function d(M,w){return w?w.l2d(M):M}function E(M){return M.x0}function A(M){return M.x1}function t(M){return M.y0}function e(M){return M.y1}function r(M){return M.x0shift||0}function i(M){return M.x1shift||0}function n(M){return M.y0shift||0}function o(M){return M.y1shift||0}function a(M,w){return u(M.x1,w)+i(M)-u(M.x0,w)-r(M)}function s(M,w,S){return u(M.y1,S)+o(M)-u(M.y0,S)-n(M)}function h(M,w){return Math.abs(a(M,w))}function g(M,w,S){return Math.abs(s(M,w,S))}function v(M,w,S){return M.type!=="line"?void 0:Math.sqrt(Math.pow(a(M,w),2)+Math.pow(s(M,w,S),2))}function p(M,w){return d((u(M.x1,w)+i(M)+u(M.x0,w)+r(M))/2,w)}function _(M,w,S){return d((u(M.y1,S)+o(M)+u(M.y0,S)+n(M))/2,S)}function l(M,w,S){return M.type!=="line"?void 0:s(M,w,S)/a(M,w)}var x=["x0","x1","y0","y1","dy","height","ycenter"],y=["x0","x1","y0","y1","dx","width","xcenter"];V.exports={x0:E,x1:A,y0:t,y1:e,slope:l,dx:a,dy:s,width:h,height:g,length:v,xcenter:p,ycenter:_,simpleXVariables:x,simpleYVariables:y}}),TT=Vt((K,V)=>{var u=Iu().overrideAll,d=kl(),E=yu(),A=Lh().dash,t=So().extendFlat,{shapeTexttemplateAttrs:e,templatefallbackAttrs:r}=yl(),i=Dy();V.exports=u({newshape:{visible:t({},d.visible,{}),showlegend:{valType:"boolean",dflt:!1},legend:t({},d.legend,{}),legendgroup:t({},d.legendgroup,{}),legendgrouptitle:{text:t({},d.legendgrouptitle.text,{}),font:E({})},legendrank:t({},d.legendrank,{}),legendwidth:t({},d.legendwidth,{}),line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:4},dash:t({},A,{dflt:"solid"})},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd"},opacity:{valType:"number",min:0,max:1,dflt:1},layer:{valType:"enumerated",values:["below","above","between"],dflt:"above"},drawdirection:{valType:"enumerated",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal"},name:t({},d.name,{}),label:{text:{valType:"string",dflt:""},texttemplate:e({newshape:!0},{keys:Object.keys(i)}),texttemplatefallback:r({editType:"arraydraw"}),font:E({}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"]},textangle:{valType:"angle",dflt:"auto"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},padding:{valType:"number",dflt:3,min:0}}},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5}}},"none","from-root")}),kT=Vt((K,V)=>{var u=Lh().dash,d=So().extendFlat;V.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:d({},u,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}}),Fy=Vt((K,V)=>{V.exports=function(u){var d=u.editType;return{t:{valType:"number",dflt:0,editType:d},r:{valType:"number",dflt:0,editType:d},b:{valType:"number",dflt:0,editType:d},l:{valType:"number",dflt:0,editType:d},editType:d}}}),mm=Vt((K,V)=>{var u=yu(),d=Ig(),E=nh(),A=TT(),t=kT(),e=Fy(),r=So().extendFlat,i=u({editType:"calc"});i.family.dflt='"Open Sans", verdana, arial, sans-serif',i.size.dflt=12,i.color.dflt=E.defaultLine,V.exports={font:i,title:{text:{valType:"string",editType:"layoutstyle"},font:u({editType:"layoutstyle"}),subtitle:{text:{valType:"string",editType:"layoutstyle"},font:u({editType:"layoutstyle"}),editType:"layoutstyle"},xref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},x:{valType:"number",min:0,max:1,dflt:.5,editType:"layoutstyle"},y:{valType:"number",min:0,max:1,dflt:"auto",editType:"layoutstyle"},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],editType:"layoutstyle"},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],editType:"layoutstyle"},pad:r(e({editType:"layoutstyle"}),{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,editType:"plot"},minsize:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"plot"},autosize:{valType:"boolean",dflt:!1,editType:"none"},width:{valType:"number",min:10,dflt:700,editType:"plot"},height:{valType:"number",min:10,dflt:450,editType:"plot"},minreducedwidth:{valType:"number",min:2,dflt:64,editType:"plot"},minreducedheight:{valType:"number",min:2,dflt:64,editType:"plot"},margin:{l:{valType:"number",min:0,dflt:80,editType:"plot"},r:{valType:"number",min:0,dflt:80,editType:"plot"},t:{valType:"number",min:0,dflt:100,editType:"plot"},b:{valType:"number",min:0,dflt:80,editType:"plot"},pad:{valType:"number",min:0,dflt:0,editType:"plot"},autoexpand:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},computed:{valType:"any",editType:"none"},paper_bgcolor:{valType:"color",dflt:E.background,editType:"plot"},plot_bgcolor:{valType:"color",dflt:E.background,editType:"layoutstyle"},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc"},separators:{valType:"string",editType:"plot"},hidesources:{valType:"boolean",dflt:!1,editType:"plot"},showlegend:{valType:"boolean",editType:"legend"},colorway:{valType:"colorlist",dflt:E.defaults,editType:"calc"},datarevision:{valType:"any",editType:"calc"},uirevision:{valType:"any",editType:"none"},editrevision:{valType:"any",editType:"none"},selectionrevision:{valType:"any",editType:"none"},template:{valType:"any",editType:"calc"},newshape:A.newshape,activeshape:A.activeshape,newselection:t.newselection,activeselection:t.activeselection,meta:{valType:"any",arrayOk:!0,editType:"plot"},transition:r({},d.transition,{editType:"none"})}}),AT=Vt(()=>{(function(){if(!document.getElementById("a75c73da1cd7a97e8992659f6aed556255838daadea9ca0c9fc3af7f1ddf63c0")){var K=document.createElement("style");K.id="a75c73da1cd7a97e8992659f6aed556255838daadea9ca0c9fc3af7f1ddf63c0",K.textContent=`.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}.maplibregl-ctrl button:not(:disabled):hover{background-color:rgb(0 0 0/5%)}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:rgb(0 0 0/5%)}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:rgb(0 0 0/5%)}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:rgba(0,0,0,.4);color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(width <= 480px){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999}`,document.head.appendChild(K)}})()}),ji=Vt(K=>{var V=bd(),u=Py(),d=X_(),E=Dp(),A=Lg().addStyleRule,t=So(),e=kl(),r=mm(),i=t.extendFlat,n=t.extendDeepAll;K.modules={},K.allCategories={},K.allTypes=[],K.subplotsRegistry={},K.componentsRegistry={},K.layoutArrayContainers=[],K.layoutArrayRegexes=[],K.traceLayoutAttributes={},K.localeRegistry={},K.apiMethodRegistry={},K.collectableSubplotTypes=null,K.register=function(x){if(K.collectableSubplotTypes=null,x)x&&!Array.isArray(x)&&(x=[x]);else throw new Error("No argument passed to Plotly.register.");for(var y=0;y<x.length;y++){var M=x[y];if(!M)throw new Error("Invalid module was attempted to be registered!");switch(M.moduleType){case"trace":o(M);break;case"transform":h(M);break;case"component":s(M);break;case"locale":g(M);break;case"apiMethod":var w=M.name;K.apiMethodRegistry[w]=M.fn;break;default:throw new Error("Invalid module was attempted to be registered!")}}},K.getModule=function(x){var y=K.modules[l(x)];return y?y._module:!1},K.traceIs=function(x,y){if(x=l(x),x==="various")return!1;var M=K.modules[x];return M||(x&&V.log("Unrecognized trace type "+x+"."),M=K.modules[e.type.dflt]),!!M.categories[y]},K.getComponentMethod=function(x,y){var M=K.componentsRegistry[x];return M&&M[y]||u},K.call=function(){var x=arguments[0],y=[].slice.call(arguments,1);return K.apiMethodRegistry[x].apply(null,y)};function o(x){var y=x.name,M=x.categories,w=x.meta;if(K.modules[y]){V.log("Type "+y+" already registered");return}K.subplotsRegistry[x.basePlotModule.name]||a(x.basePlotModule);for(var S={},T=0;T<M.length;T++)S[M[T]]=!0,K.allCategories[M[T]]=!0;K.modules[y]={_module:x,categories:S},w&&Object.keys(w).length&&(K.modules[y].meta=w),K.allTypes.push(y);for(var c in K.componentsRegistry)p(c,y);x.layoutAttributes&&i(K.traceLayoutAttributes,x.layoutAttributes);var f=x.basePlotModule,k=f.name;if(k==="mapbox"){var b=f.constants.styleRules;for(var O in b)A(".js-plotly-plot .plotly .mapboxgl-"+O,b[O])}k==="map"&&AT(),(k==="geo"||k==="mapbox"||k==="map")&&window.PlotlyGeoAssets===void 0&&(window.PlotlyGeoAssets={topojson:{}})}function a(x){var y=x.name;if(K.subplotsRegistry[y]){V.log("Plot type "+y+" already registered.");return}v(x),K.subplotsRegistry[y]=x;for(var M in K.componentsRegistry)_(M,x.name)}function s(x){if(typeof x.name!="string")throw new Error("Component module *name* must be a string.");var y=x.name;K.componentsRegistry[y]=x,x.layoutAttributes&&(x.layoutAttributes._isLinkedToArray&&d(K.layoutArrayContainers,y),v(x));for(var M in K.modules)p(y,M);for(var w in K.subplotsRegistry)_(y,w);x.schema&&x.schema.layout&&n(r,x.schema.layout)}function h(x){if(typeof x.name!="string")throw new Error("Transform module *name* must be a string.");var y="Transform module "+x.name,M=typeof x.transform=="function",w=typeof x.calcTransform=="function";if(!M&&!w)throw new Error(y+" is missing a *transform* or *calcTransform* method.");M&&w&&V.log([y+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),E(x.attributes)||V.log(y+" registered without an *attributes* object."),typeof x.supplyDefaults!="function"&&V.log(y+" registered without a *supplyDefaults* method.")}function g(x){var y=x.name,M=y.split("-")[0],w=x.dictionary,S=x.format,T=w&&Object.keys(w).length,c=S&&Object.keys(S).length,f=K.localeRegistry,k=f[y];if(k||(f[y]=k={}),M!==y){var b=f[M];b||(f[M]=b={}),T&&b.dictionary===k.dictionary&&(b.dictionary=w),c&&b.format===k.format&&(b.format=S)}T&&(k.dictionary=w),c&&(k.format=S)}function v(x){if(x.layoutAttributes){var y=x.layoutAttributes._arrayAttrRegexps;if(y)for(var M=0;M<y.length;M++)d(K.layoutArrayRegexes,y[M])}}function p(x,y){var M=K.componentsRegistry[x].schema;if(!(!M||!M.traces)){var w=M.traces[y];w&&n(K.modules[y]._module.attributes,w)}}function _(x,y){var M=K.componentsRegistry[x].schema;if(!(!M||!M.subplots)){var w=K.subplotsRegistry[y],S=w.layoutAttributes,T=w.attr==="subplot"?w.name:w.attr;Array.isArray(T)&&(T=T[0]);var c=M.subplots[T];S&&c&&n(S,c)}}function l(x){return typeof x=="object"&&(x=x.type),x}}),MT=Vt(K=>{var V=hm().timeFormat,u=Lo(),d=bd(),E=fm().mod,A=ks(),t=A.BADNUM,e=A.ONEDAY,r=A.ONEHOUR,i=A.ONEMIN,n=A.ONESEC,o=A.EPOCHJD,a=ji(),s=hm().utcFormat,h=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,g=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,v=new Date().getFullYear()-70;function p(B){return B&&a.componentsRegistry.calendars&&typeof B=="string"&&B!=="gregorian"}K.dateTick0=function(B,R){var z=_(B,!!R);if(R<2)return z;var D=K.dateTime2ms(z,B);return D+=e*(R-1),K.ms2DateTime(D,0,B)};function _(B,R){return p(B)?R?a.getComponentMethod("calendars","CANONICAL_SUNDAY")[B]:a.getComponentMethod("calendars","CANONICAL_TICK")[B]:R?"2000-01-02":"2000-01-01"}K.dfltRange=function(B){return p(B)?a.getComponentMethod("calendars","DFLTRANGE")[B]:["2000-01-01","2001-01-01"]},K.isJSDate=function(B){return typeof B=="object"&&B!==null&&typeof B.getTime=="function"};var l,x;K.dateTime2ms=function(B,R){if(K.isJSDate(B)){var z=B.getTimezoneOffset()*i,D=(B.getUTCMinutes()-B.getMinutes())*i+(B.getUTCSeconds()-B.getSeconds())*n+(B.getUTCMilliseconds()-B.getMilliseconds());if(D){var j=3*i;z=z-j/2+E(D-z+j/2,j)}return B=Number(B)-z,B>=l&&B<=x?B:t}if(typeof B!="string"&&typeof B!="number")return t;B=String(B);var N=p(R),Z=B.charAt(0);N&&(Z==="G"||Z==="g")&&(B=B.slice(1),R="");var rt=N&&R.slice(0,7)==="chinese",lt=B.match(rt?g:h);if(!lt)return t;var st=lt[1],tt=lt[3]||"1",G=Number(lt[5]||1),nt=Number(lt[7]||0),Y=Number(lt[9]||0),Q=Number(lt[11]||0);if(N){if(st.length===2)return t;st=Number(st);var ut;try{var $=a.getComponentMethod("calendars","getCal")(R);if(rt){var H=tt.charAt(tt.length-1)==="i";tt=parseInt(tt,10),ut=$.newDate(st,$.toMonthIndex(st,tt,H),G)}else ut=$.newDate(st,Number(tt),G)}catch{return t}return ut?(ut.toJD()-o)*e+nt*r+Y*i+Q*n:t}st.length===2?st=(Number(st)+2e3-v)%100+v:st=Number(st),tt-=1;var it=new Date(Date.UTC(2e3,tt,G,nt,Y));return it.setUTCFullYear(st),it.getUTCMonth()!==tt||it.getUTCDate()!==G?t:it.getTime()+Q*n},l=K.MIN_MS=K.dateTime2ms("-9999"),x=K.MAX_MS=K.dateTime2ms("9999-12-31 23:59:59.9999"),K.isDateTime=function(B,R){return K.dateTime2ms(B,R)!==t};function y(B,R){return String(B+Math.pow(10,R)).slice(1)}var M=90*e,w=3*r,S=5*i;K.ms2DateTime=function(B,R,z){if(typeof B!="number"||!(B>=l&&B<=x))return t;R||(R=0);var D=Math.floor(E(B+.05,1)*10),j=Math.round(B-D/10),N,Z,rt,lt,st,tt;if(p(z)){var G=Math.floor(j/e)+o,nt=Math.floor(E(B,e));try{N=a.getComponentMethod("calendars","getCal")(z).fromJD(G).formatDate("yyyy-mm-dd")}catch{N=s("G%Y-%m-%d")(new Date(j))}if(N.charAt(0)==="-")for(;N.length<11;)N="-0"+N.slice(1);else for(;N.length<10;)N="0"+N;Z=R<M?Math.floor(nt/r):0,rt=R<M?Math.floor(nt%r/i):0,lt=R<w?Math.floor(nt%i/n):0,st=R<S?nt%n*10+D:0}else tt=new Date(j),N=s("%Y-%m-%d")(tt),Z=R<M?tt.getUTCHours():0,rt=R<M?tt.getUTCMinutes():0,lt=R<w?tt.getUTCSeconds():0,st=R<S?tt.getUTCMilliseconds()*10+D:0;return T(N,Z,rt,lt,st)},K.ms2DateTimeLocal=function(B){if(!(B>=l+e&&B<=x-e))return t;var R=Math.floor(E(B+.05,1)*10),z=new Date(Math.round(B-R/10)),D=V("%Y-%m-%d")(z),j=z.getHours(),N=z.getMinutes(),Z=z.getSeconds(),rt=z.getUTCMilliseconds()*10+R;return T(D,j,N,Z,rt)};function T(B,R,z,D,j){if((R||z||D||j)&&(B+=" "+y(R,2)+":"+y(z,2),(D||j)&&(B+=":"+y(D,2),j))){for(var N=4;j%10===0;)N-=1,j/=10;B+="."+y(j,N)}return B}K.cleanDate=function(B,R,z){if(B===t)return R;if(K.isJSDate(B)||typeof B=="number"&&isFinite(B)){if(p(z))return d.error("JS Dates and milliseconds are incompatible with world calendars",B),R;if(B=K.ms2DateTimeLocal(+B),!B&&R!==void 0)return R}else if(!K.isDateTime(B,z))return d.error("unrecognized date",B),R;return B};var c=/%\d?f/g,f=/%h/g,k={1:"1",2:"1",3:"2",4:"2"};function b(B,R,z,D){B=B.replace(c,function(N){var Z=Math.min(+N.charAt(1)||6,6),rt=(R/1e3%1+2).toFixed(Z).slice(2).replace(/0+$/,"")||"0";return rt});var j=new Date(Math.floor(R+.05));if(B=B.replace(f,function(){return k[z("%q")(j)]}),p(D))try{B=a.getComponentMethod("calendars","worldCalFmt")(B,R,D)}catch{return"Invalid"}return z(B)(j)}var O=[59,59.9,59.99,59.999,59.9999];function L(B,R){var z=E(B+.05,e),D=y(Math.floor(z/r),2)+":"+y(E(Math.floor(z/i),60),2);if(R!=="M"){u(R)||(R=0);var j=Math.min(E(B/n,60),O[R]),N=(100+j).toFixed(R).slice(1);R>0&&(N=N.replace(/0+$/,"").replace(/[\.]$/,"")),D+=":"+N}return D}K.formatDate=function(B,R,z,D,j,N){if(j=p(j)&&j,!R)if(z==="y")R=N.year;else if(z==="m")R=N.month;else if(z==="d")R=N.dayMonth+`
|