{"id":8220,"date":"2026-08-06T10:41:52","date_gmt":"2026-08-06T15:41:52","guid":{"rendered":"https:\/\/observatorioarmenia.org\/site\/?p=8220"},"modified":"2026-08-06T10:41:54","modified_gmt":"2026-08-06T15:41:54","slug":"observatorio-fiscal-programa-de-acumulacion-de-reservas-internacionales-2026-mecanismo-contexto-cambiario-e-implicaciones-para-armenia-y-el-eje-cafetero","status":"publish","type":"post","link":"https:\/\/observatorioarmenia.org\/site\/observatorio-fiscal-programa-de-acumulacion-de-reservas-internacionales-2026-mecanismo-contexto-cambiario-e-implicaciones-para-armenia-y-el-eje-cafetero\/","title":{"rendered":"Observatorio Fiscal: Programa de acumulaci\u00f3n de reservas internacionales 2026: mecanismo, contexto cambiario e implicaciones para Armenia y el Eje Cafetero"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"es\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Programa de Acumulaci\u00f3n de Reservas Internacionales 2026 | Observatorio Econ\u00f3mico de Armenia<\/title>\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin>\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=IBM+Plex+Sans:wght@400;500;600;700&#038;family=IBM+Plex+Mono:wght@400;500;600&#038;display=swap\" rel=\"stylesheet\">\n<script>\n\/* Plotly.js (basic dist, minificado) incrustado localmente para asegurar el renderizado sin dependencias externas *\/\n\/**\n* plotly.js (basic - minified) v3.7.0\n* Copyright 2012-2026, Plotly, Inc.\n* All rights reserved.\n* Licensed under the MIT license\n*\/\n(\n function(root, factory) {\n  if (typeof module === \"object\" && module.exports) {\n   module.exports = factory();\n  } else {\n   root.moduleName = factory();\n  }\n} (typeof self !== \"undefined\" ? self : this, () => {\n\"use strict\";var Plotly=(()=>{var dI=Object.defineProperty,pI=Object.defineProperties;var mI=Object.getOwnPropertyDescriptors;var yb=Object.getOwnPropertySymbols;var yI=Object.prototype.hasOwnProperty,gI=Object.prototype.propertyIsEnumerable;var gb=(e,r,t)=>r in e?dI(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,io=(e,r)=>{for(var t in r||(r={}))yI.call(r,t)&&gb(e,t,r[t]);if(yb)for(var t of yb(r))gI.call(r,t)&&gb(e,t,r[t]);return e},gv=(e,r)=>pI(e,mI(r));var K=(e,r)=>()=>{try{return r||e((r={exports:{}}).exports,r),r.exports}catch(t){throw r=0,t}};var Zu=K(bb=>{\"use strict\";bb.version=\"3.7.0\"});var _b=K((xb,bv)=>{(function(r,t,a){t[r]=t[r]||a(),typeof bv!=\"undefined\"&&bv.exports&&(bv.exports=t[r])})(\"Promise\",typeof window!=\"undefined\"?window:xb,function(){\"use strict\";var r,t,a,n=Object.prototype.toString,i=typeof setImmediate!=\"undefined\"?function(T){return setImmediate(T)}:setTimeout;try{Object.defineProperty({},\"x\",{}),r=function(T,w,b,M){return Object.defineProperty(T,w,{value:b,writable:!0,configurable:M!==!1})}}catch(_){r=function(w,b,M){return w[b]=M,w}}a=(function(){var T,w,b;function M(S,k){this.fn=S,this.self=k,this.next=void 0}return{add:function(k,q){b=new M(k,q),w?w.next=b:T=b,w=b,b=void 0},drain:function(){var k=T;for(T=w=t=void 0;k;)k.fn.call(k.self),k=k.next}}})();function l(_,T){a.add(_,T),t||(t=i(a.drain))}function o(_){var T,w=typeof _;return _!=null&&(w==\"object\"||w==\"function\")&&(T=_.then),typeof T==\"function\"?T:!1}function s(){for(var _=0;_<this.chain.length;_++)u(this,this.state===1?this.chain[_].success:this.chain[_].failure,this.chain[_]);this.chain.length=0}function u(_,T,w){var b,M;try{T===!1?w.reject(_.msg):(T===!0?b=_.msg:b=T.call(void 0,_.msg),b===w.promise?w.reject(TypeError(\"Promise-chain cycle\")):(M=o(b))?M.call(b,w.resolve,w.reject):w.resolve(b))}catch(S){w.reject(S)}}function f(_){var T,w=this;if(!w.triggered){w.triggered=!0,w.def&#038;&#038;(w=w.def);try{(T=o(_))?l(function(){var b=new d(w);try{T.call(_,function(){f.apply(b,arguments)},function(){v.apply(b,arguments)})}catch(M){v.call(b,M)}}):(w.msg=_,w.state=1,w.chain.length>0&&l(s,w))}catch(b){v.call(new d(w),b)}}}function v(_){var T=this;T.triggered||(T.triggered=!0,T.def&&(T=T.def),T.msg=_,T.state=2,T.chain.length>0&&l(s,T))}function h(_,T,w,b){for(var M=0;M<T.length;M++)(function(k){_.resolve(T[k]).then(function(D){w(k,D)},b)})(M)}function d(_){this.def=_,this.triggered=!1}function m(_){this.promise=_,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function y(_){if(typeof _!=\"function\")throw TypeError(\"Not a function\");if(this.__NPO__!==0)throw TypeError(\"Not a promise\");this.__NPO__=1;var T=new m(this);this.then=function(b,M){var S={success:typeof b==\"function\"?b:!0,failure:typeof M==\"function\"?M:!1};return S.promise=new this.constructor(function(q,D){if(typeof q!=\"function\"||typeof D!=\"function\")throw TypeError(\"Not a function\");S.resolve=q,S.reject=D}),T.chain.push(S),T.state!==0&#038;&#038;l(s,T),S.promise},this.catch=function(b){return this.then(void 0,b)};try{_.call(void 0,function(b){f.call(T,b)},function(b){v.call(T,b)})}catch(w){v.call(T,w)}}var g=r({},\"constructor\",y,!1);return y.prototype=g,r(g,\"__NPO__\",0,!1),r(y,\"resolve\",function(T){var w=this;return T&#038;&#038;typeof T==\"object\"&#038;&#038;T.__NPO__===1?T:new w(function(M,S){if(typeof M!=\"function\"||typeof S!=\"function\")throw TypeError(\"Not a function\");M(T)})}),r(y,\"reject\",function(T){return new this(function(b,M){if(typeof b!=\"function\"||typeof M!=\"function\")throw TypeError(\"Not a function\");M(T)})}),r(y,\"all\",function(T){var w=this;return n.call(T)!=\"[object Array]\"?w.reject(TypeError(\"Not an array\")):T.length===0?w.resolve([]):new w(function(M,S){if(typeof M!=\"function\"||typeof S!=\"function\")throw TypeError(\"Not a function\");var k=T.length,q=Array(k),D=0;h(w,T,function(z,F){q[z]=F,++D===k&#038;&#038;M(q)},S)})}),r(y,\"race\",function(T){var w=this;return n.call(T)!=\"[object Array]\"?w.reject(TypeError(\"Not an array\")):new w(function(M,S){if(typeof M!=\"function\"||typeof S!=\"function\")throw TypeError(\"Not a function\");h(w,T,function(q,D){M(D)},S)})}),y})});var zr=K((Bie,xv)=>{(function(){var e={version:\"3.8.2\"},r=[].slice,t=function(c){return r.call(c)},a=self.document;function n(c){return c&&(c.ownerDocument||c.document||c).documentElement}function i(c){return c&&(c.ownerDocument&&c.ownerDocument.defaultView||c.document&&c||c.defaultView)}if(a)try{t(a.documentElement.childNodes)[0].nodeType}catch(c){t=function(p){for(var x=p.length,A=new Array(x);x--;)A[x]=p[x];return A}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement(\"DIV\").style.setProperty(\"opacity\",0,\"\")}catch(c){var l=this.Element.prototype,o=l.setAttribute,s=l.setAttributeNS,u=this.CSSStyleDeclaration.prototype,f=u.setProperty;l.setAttribute=function(p,x){o.call(this,p,x+\"\")},l.setAttributeNS=function(p,x,A){s.call(this,p,x,A+\"\")},u.setProperty=function(p,x,A){f.call(this,p,x+\"\",A)}}e.ascending=v;function v(c,p){return c<p?-1:c>p?1:c>=p?0:NaN}e.descending=function(c,p){return p<c?-1:p>c?1:p>=c?0:NaN},e.min=function(c,p){var x=-1,A=c.length,C,L;if(arguments.length===1){for(;++x<A;)if((L=c[x])!=null&#038;&#038;L>=L){C=L;break}for(;++x<A;)(L=c[x])!=null&#038;&#038;C>L&&(C=L)}else{for(;++x<A;)if((L=p.call(c,c[x],x))!=null&#038;&#038;L>=L){C=L;break}for(;++x<A;)(L=p.call(c,c[x],x))!=null&#038;&#038;C>L&&(C=L)}return C},e.max=function(c,p){var x=-1,A=c.length,C,L;if(arguments.length===1){for(;++x<A;)if((L=c[x])!=null&#038;&#038;L>=L){C=L;break}for(;++x<A;)(L=c[x])!=null&#038;&#038;L>C&&(C=L)}else{for(;++x<A;)if((L=p.call(c,c[x],x))!=null&#038;&#038;L>=L){C=L;break}for(;++x<A;)(L=p.call(c,c[x],x))!=null&#038;&#038;L>C&&(C=L)}return C},e.extent=function(c,p){var x=-1,A=c.length,C,L,R;if(arguments.length===1){for(;++x<A;)if((L=c[x])!=null&#038;&#038;L>=L){C=R=L;break}for(;++x<A;)(L=c[x])!=null&#038;&#038;(C>L&&(C=L),R<L&#038;&#038;(R=L))}else{for(;++x<A;)if((L=p.call(c,c[x],x))!=null&#038;&#038;L>=L){C=R=L;break}for(;++x<A;)(L=p.call(c,c[x],x))!=null&#038;&#038;(C>L&&(C=L),R<L&#038;&#038;(R=L))}return[C,R]};function h(c){return c===null?NaN:+c}function d(c){return!isNaN(c)}e.sum=function(c,p){var x=0,A=c.length,C,L=-1;if(arguments.length===1)for(;++L<A;)d(C=+c[L])&#038;&#038;(x+=C);else for(;++L<A;)d(C=+p.call(c,c[L],L))&#038;&#038;(x+=C);return x},e.mean=function(c,p){var x=0,A=c.length,C,L=-1,R=A;if(arguments.length===1)for(;++L<A;)d(C=h(c[L]))?x+=C:--R;else for(;++L<A;)d(C=h(p.call(c,c[L],L)))?x+=C:--R;if(R)return x\/R},e.quantile=function(c,p){var x=(c.length-1)*p+1,A=Math.floor(x),C=+c[A-1],L=x-A;return L?C+L*(c[A]-C):C},e.median=function(c,p){var x=[],A=c.length,C,L=-1;if(arguments.length===1)for(;++L<A;)d(C=h(c[L]))&#038;&#038;x.push(C);else for(;++L<A;)d(C=h(p.call(c,c[L],L)))&#038;&#038;x.push(C);if(x.length)return e.quantile(x.sort(v),.5)},e.variance=function(c,p){var x=c.length,A=0,C,L,R=0,E=-1,N=0;if(arguments.length===1)for(;++E<x;)d(C=h(c[E]))&#038;&#038;(L=C-A,A+=L\/++N,R+=L*(C-A));else for(;++E<x;)d(C=h(p.call(c,c[E],E)))&#038;&#038;(L=C-A,A+=L\/++N,R+=L*(C-A));if(N>1)return R\/(N-1)},e.deviation=function(){var c=e.variance.apply(this,arguments);return c&&Math.sqrt(c)};function m(c){return{left:function(p,x,A,C){for(arguments.length<3&#038;&#038;(A=0),arguments.length<4&#038;&#038;(C=p.length);A<C;){var L=A+C>>>1;c(p[L],x)<0?A=L+1:C=L}return A},right:function(p,x,A,C){for(arguments.length<3&#038;&#038;(A=0),arguments.length<4&#038;&#038;(C=p.length);A<C;){var L=A+C>>>1;c(p[L],x)>0?C=L:A=L+1}return A}}}var y=m(v);e.bisectLeft=y.left,e.bisect=e.bisectRight=y.right,e.bisector=function(c){return m(c.length===1?function(p,x){return v(c(p),x)}:c)},e.shuffle=function(c,p,x){(A=arguments.length)<3&#038;&#038;(x=c.length,A<2&#038;&#038;(p=0));for(var A=x-p,C,L;A;)L=Math.random()*A--|0,C=c[A+p],c[A+p]=c[L+p],c[L+p]=C;return c},e.permute=function(c,p){for(var x=p.length,A=new Array(x);x--;)A[x]=c[p[x]];return A},e.pairs=function(c){for(var p=0,x=c.length-1,A,C=c[0],L=new Array(x<0?0:x);p<x;)L[p]=[A=C,C=c[++p]];return L},e.transpose=function(c){if(!(L=c.length))return[];for(var p=-1,x=e.min(c,g),A=new Array(x);++p<x;)for(var C=-1,L,R=A[p]=new Array(L);++C<L;)R[C]=c[C][p];return A};function g(c){return c.length}e.zip=function(){return e.transpose(arguments)},e.keys=function(c){var p=[];for(var x in c)p.push(x);return p},e.values=function(c){var p=[];for(var x in c)p.push(c[x]);return p},e.entries=function(c){var p=[];for(var x in c)p.push({key:x,value:c[x]});return p},e.merge=function(c){for(var p=c.length,x,A=-1,C=0,L,R;++A<p;)C+=c[A].length;for(L=new Array(C);--p>=0;)for(R=c[p],x=R.length;--x>=0;)L[--C]=R[x];return L};var _=Math.abs;e.range=function(c,p,x){if(arguments.length<3&#038;&#038;(x=1,arguments.length<2&#038;&#038;(p=c,c=0)),(p-c)\/x===1\/0)throw new Error(\"infinite range\");var A=[],C=T(_(x)),L=-1,R;if(c*=C,p*=C,x*=C,x<0)for(;(R=c+x*++L)>p;)A.push(R\/C);else for(;(R=c+x*++L)<p;)A.push(R\/C);return A};function T(c){for(var p=1;c*p%1;)p*=10;return p}function w(c,p){for(var x in p)Object.defineProperty(c.prototype,x,{value:p[x],enumerable:!1})}e.map=function(c,p){var x=new b;if(c instanceof b)c.forEach(function(E,N){x.set(E,N)});else if(Array.isArray(c)){var A=-1,C=c.length,L;if(arguments.length===1)for(;++A<C;)x.set(A,c[A]);else for(;++A<C;)x.set(p.call(c,L=c[A],A),L)}else for(var R in c)x.set(R,c[R]);return x};function b(){this._=Object.create(null)}var M=\"__proto__\",S=\"\\0\";w(b,{has:D,get:function(c){return this._[k(c)]},set:function(c,p){return this._[k(c)]=p},remove:P,keys:z,values:function(){var c=[];for(var p in this._)c.push(this._[p]);return c},entries:function(){var c=[];for(var p in this._)c.push({key:q(p),value:this._[p]});return c},size:F,empty:O,forEach:function(c){for(var p in this._)c.call(this,q(p),this._[p])}});function k(c){return(c+=\"\")===M||c[0]===S?S+c:c}function q(c){return(c+=\"\")[0]===S?c.slice(1):c}function D(c){return k(c)in this._}function P(c){return(c=k(c))in this._&#038;&#038;delete this._[c]}function z(){var c=[];for(var p in this._)c.push(q(p));return c}function F(){var c=0;for(var p in this._)++c;return c}function O(){for(var c in this._)return!1;return!0}e.nest=function(){var c={},p=[],x=[],A,C;function L(E,N,W){if(W>=p.length)return C?C.call(c,N):A?N.sort(A):N;for(var X=-1,j=N.length,ee=p[W++],de,we,te,se=new b,ue;++X<j;)(ue=se.get(de=ee(we=N[X])))?ue.push(we):se.set(de,[we]);return E?(we=E(),te=function(_e,Te){we.set(_e,L(E,Te,W))}):(we={},te=function(_e,Te){we[_e]=L(E,Te,W)}),se.forEach(te),we}function R(E,N){if(N>=p.length)return E;var W=[],X=x[N++];return E.forEach(function(j,ee){W.push({key:j,values:R(ee,N)})}),X?W.sort(function(j,ee){return X(j.key,ee.key)}):W}return c.map=function(E,N){return L(N,E,0)},c.entries=function(E){return R(L(e.map,E,0),0)},c.key=function(E){return p.push(E),c},c.sortKeys=function(E){return x[p.length-1]=E,c},c.sortValues=function(E){return A=E,c},c.rollup=function(E){return C=E,c},c},e.set=function(c){var p=new I;if(c)for(var x=0,A=c.length;x<A;++x)p.add(c[x]);return p};function I(){this._=Object.create(null)}w(I,{has:D,add:function(c){return this._[k(c+=\"\")]=!0,c},remove:P,values:z,size:F,empty:O,forEach:function(c){for(var p in this._)c.call(this,q(p))}}),e.behavior={};function V(c){return c}e.rebind=function(c,p){for(var x=1,A=arguments.length,C;++x<A;)c[C=arguments[x]]=J(c,p,p[C]);return c};function J(c,p,x){return function(){var A=x.apply(p,arguments);return A===p?c:A}}function G(c,p){if(p in c)return p;p=p.charAt(0).toUpperCase()+p.slice(1);for(var x=0,A=U.length;x<A;++x){var C=U[x]+p;if(C in c)return C}}var U=[\"webkit\",\"ms\",\"moz\",\"Moz\",\"o\",\"O\"];function H(){}e.dispatch=function(){for(var c=new Q,p=-1,x=arguments.length;++p<x;)c[arguments[p]]=Z(c);return c};function Q(){}Q.prototype.on=function(c,p){var x=c.indexOf(\".\"),A=\"\";if(x>=0&&(A=c.slice(x+1),c=c.slice(0,x)),c)return arguments.length<2?this[c].on(A):this[c].on(A,p);if(arguments.length===2){if(p==null)for(c in this)this.hasOwnProperty(c)&#038;&#038;this[c].on(A,null);return this}};function Z(c){var p=[],x=new b;function A(){for(var C=p,L=-1,R=C.length,E;++L<R;)(E=C[L].on)&#038;&#038;E.apply(this,arguments);return c}return A.on=function(C,L){var R=x.get(C),E;return arguments.length<2?R&#038;&#038;R.on:(R&#038;&#038;(R.on=null,p=p.slice(0,E=p.indexOf(R)).concat(p.slice(E+1)),x.remove(C)),L&#038;&#038;p.push(x.set(C,{on:L})),c)},A}e.event=null;function ne(){e.event.preventDefault()}function ce(){for(var c=e.event,p;p=c.sourceEvent;)c=p;return c}function ye(c){for(var p=new Q,x=0,A=arguments.length;++x<A;)p[arguments[x]]=Z(p);return p.of=function(C,L){return function(R){try{var E=R.sourceEvent=e.event;R.target=c,e.event=R,p[R.type].apply(C,L)}finally{e.event=E}}},p}e.requote=function(c){return c.replace(Ce,\"\\\\$&#038;\")};var Ce=\/[\\\\\\^\\$\\*\\+\\?\\|\\[\\]\\(\\)\\.\\{\\}]\/g,re={}.__proto__?function(c,p){c.__proto__=p}:function(c,p){for(var x in p)c[x]=p[x]};function Se(c){return re(c,ge),c}var pe=function(c,p){return p.querySelector(c)},be=function(c,p){return p.querySelectorAll(c)},Ae=function(c,p){var x=c.matches||c[G(c,\"matchesSelector\")];return Ae=function(A,C){return x.call(A,C)},Ae(c,p)};typeof Sizzle==\"function\"&#038;&#038;(pe=function(c,p){return Sizzle(c,p)[0]||null},be=Sizzle,Ae=Sizzle.matchesSelector),e.selection=function(){return e.select(a.documentElement)};var ge=e.selection.prototype=[];ge.select=function(c){var p=[],x,A,C,L;c=B(c);for(var R=-1,E=this.length;++R<E;){p.push(x=[]),x.parentNode=(C=this[R]).parentNode;for(var N=-1,W=C.length;++N<W;)(L=C[N])?(x.push(A=c.call(L,L.__data__,N,R)),A&#038;&#038;\"__data__\"in L&#038;&#038;(A.__data__=L.__data__)):x.push(null)}return Se(p)};function B(c){return typeof c==\"function\"?c:function(){return pe(c,this)}}ge.selectAll=function(c){var p=[],x,A;c=$(c);for(var C=-1,L=this.length;++C<L;)for(var R=this[C],E=-1,N=R.length;++E<N;)(A=R[E])&#038;&#038;(p.push(x=t(c.call(A,A.__data__,E,C))),x.parentNode=A);return Se(p)};function $(c){return typeof c==\"function\"?c:function(){return be(c,this)}}var Y=\"http:\/\/www.w3.org\/1999\/xhtml\",le={svg:\"http:\/\/www.w3.org\/2000\/svg\",xhtml:Y,xlink:\"http:\/\/www.w3.org\/1999\/xlink\",xml:\"http:\/\/www.w3.org\/XML\/1998\/namespace\",xmlns:\"http:\/\/www.w3.org\/2000\/xmlns\/\"};e.ns={prefix:le,qualify:function(c){var p=c.indexOf(\":\"),x=c;return p>=0&&(x=c.slice(0,p))!==\"xmlns\"&&(c=c.slice(p+1)),le.hasOwnProperty(x)?{space:le[x],local:c}:c}},ge.attr=function(c,p){if(arguments.length<2){if(typeof c==\"string\"){var x=this.node();return c=e.ns.qualify(c),c.local?x.getAttributeNS(c.space,c.local):x.getAttribute(c)}for(p in c)this.each(he(p,c[p]));return this}return this.each(he(c,p))};function he(c,p){c=e.ns.qualify(c);function x(){this.removeAttribute(c)}function A(){this.removeAttributeNS(c.space,c.local)}function C(){this.setAttribute(c,p)}function L(){this.setAttributeNS(c.space,c.local,p)}function R(){var N=p.apply(this,arguments);N==null?this.removeAttribute(c):this.setAttribute(c,N)}function E(){var N=p.apply(this,arguments);N==null?this.removeAttributeNS(c.space,c.local):this.setAttributeNS(c.space,c.local,N)}return p==null?c.local?A:x:typeof p==\"function\"?c.local?E:R:c.local?L:C}function me(c){return c.trim().replace(\/\\s+\/g,\" \")}ge.classed=function(c,p){if(arguments.length<2){if(typeof c==\"string\"){var x=this.node(),A=(c=Ee(c)).length,C=-1;if(p=x.classList){for(;++C<A;)if(!p.contains(c[C]))return!1}else for(p=x.getAttribute(\"class\");++C<A;)if(!Re(c[C]).test(p))return!1;return!0}for(p in c)this.each(Le(p,c[p]));return this}return this.each(Le(c,p))};function Re(c){return new RegExp(\"(?:^|\\\\s+)\"+e.requote(c)+\"(?:\\\\s+|$)\",\"g\")}function Ee(c){return(c+\"\").trim().split(\/^|\\s+\/)}function Le(c,p){c=Ee(c).map(Ve);var x=c.length;function A(){for(var L=-1;++L<x;)c[L](this,p)}function C(){for(var L=-1,R=p.apply(this,arguments);++L<x;)c[L](this,R)}return typeof p==\"function\"?C:A}function Ve(c){var p=Re(c);return function(x,A){if(C=x.classList)return A?C.add(c):C.remove(c);var C=x.getAttribute(\"class\")||\"\";A?(p.lastIndex=0,p.test(C)||x.setAttribute(\"class\",me(C+\" \"+c))):x.setAttribute(\"class\",me(C.replace(p,\" \")))}}ge.style=function(c,p,x){var A=arguments.length;if(A<3){if(typeof c!=\"string\"){A<2&#038;&#038;(p=\"\");for(x in c)this.each(Ie(x,c[x],p));return this}if(A<2){var C=this.node();return i(C).getComputedStyle(C,null).getPropertyValue(c)}x=\"\"}return this.each(Ie(c,p,x))};function Ie(c,p,x){function A(){this.style.removeProperty(c)}function C(){this.style.setProperty(c,p,x)}function L(){var R=p.apply(this,arguments);R==null?this.style.removeProperty(c):this.style.setProperty(c,R,x)}return p==null?A:typeof p==\"function\"?L:C}ge.property=function(c,p){if(arguments.length<2){if(typeof c==\"string\")return this.node()[c];for(p in c)this.each(Xe(p,c[p]));return this}return this.each(Xe(c,p))};function Xe(c,p){function x(){delete this[c]}function A(){this[c]=p}function C(){var L=p.apply(this,arguments);L==null?delete this[c]:this[c]=L}return p==null?x:typeof p==\"function\"?C:A}ge.text=function(c){return arguments.length?this.each(typeof c==\"function\"?function(){var p=c.apply(this,arguments);this.textContent=p==null?\"\":p}:c==null?function(){this.textContent=\"\"}:function(){this.textContent=c}):this.node().textContent},ge.html=function(c){return arguments.length?this.each(typeof c==\"function\"?function(){var p=c.apply(this,arguments);this.innerHTML=p==null?\"\":p}:c==null?function(){this.innerHTML=\"\"}:function(){this.innerHTML=c}):this.node().innerHTML},ge.append=function(c){return c=De(c),this.select(function(){return this.appendChild(c.apply(this,arguments))})};function De(c){function p(){var A=this.ownerDocument,C=this.namespaceURI;return C===Y&#038;&#038;A.documentElement.namespaceURI===Y?A.createElement(c):A.createElementNS(C,c)}function x(){return this.ownerDocument.createElementNS(c.space,c.local)}return typeof c==\"function\"?c:(c=e.ns.qualify(c)).local?x:p}ge.insert=function(c,p){return c=De(c),p=B(p),this.select(function(){return this.insertBefore(c.apply(this,arguments),p.apply(this,arguments)||null)})},ge.remove=function(){return this.each(He)};function He(){var c=this.parentNode;c&#038;&#038;c.removeChild(this)}ge.data=function(c,p){var x=-1,A=this.length,C,L;if(!arguments.length){for(c=new Array(A=(C=this[0]).length);++x<A;)(L=C[x])&#038;&#038;(c[x]=L.__data__);return c}function R(X,j){var ee,de=X.length,we=j.length,te=Math.min(de,we),se=new Array(we),ue=new Array(we),_e=new Array(de),Te,ve;if(p){var Ye=new b,nr=new Array(de),fr;for(ee=-1;++ee<de;)(Te=X[ee])&#038;&#038;(Ye.has(fr=p.call(Te,Te.__data__,ee))?_e[ee]=Te:Ye.set(fr,Te),nr[ee]=fr);for(ee=-1;++ee<we;)(Te=Ye.get(fr=p.call(j,ve=j[ee],ee)))?Te!==!0&#038;&#038;(se[ee]=Te,Te.__data__=ve):ue[ee]=We(ve),Ye.set(fr,!0);for(ee=-1;++ee<de;)ee in nr&#038;&#038;Ye.get(nr[ee])!==!0&#038;&#038;(_e[ee]=X[ee])}else{for(ee=-1;++ee<te;)Te=X[ee],ve=j[ee],Te?(Te.__data__=ve,se[ee]=Te):ue[ee]=We(ve);for(;ee<we;++ee)ue[ee]=We(j[ee]);for(;ee<de;++ee)_e[ee]=X[ee]}ue.update=se,ue.parentNode=se.parentNode=_e.parentNode=X.parentNode,E.push(ue),N.push(se),W.push(_e)}var E=hr([]),N=Se([]),W=Se([]);if(typeof c==\"function\")for(;++x<A;)R(C=this[x],c.call(C,C.parentNode.__data__,x));else for(;++x<A;)R(C=this[x],c);return N.enter=function(){return E},N.exit=function(){return W},N};function We(c){return{__data__:c}}ge.datum=function(c){return arguments.length?this.property(\"__data__\",c):this.property(\"__data__\")},ge.filter=function(c){var p=[],x,A,C;typeof c!=\"function\"&#038;&#038;(c=ie(c));for(var L=0,R=this.length;L<R;L++){p.push(x=[]),x.parentNode=(A=this[L]).parentNode;for(var E=0,N=A.length;E<N;E++)(C=A[E])&#038;&#038;c.call(C,C.__data__,E,L)&#038;&#038;x.push(C)}return Se(p)};function ie(c){return function(){return Ae(this,c)}}ge.order=function(){for(var c=-1,p=this.length;++c<p;)for(var x=this[c],A=x.length-1,C=x[A],L;--A>=0;)(L=x[A])&&(C&&C!==L.nextSibling&&C.parentNode.insertBefore(L,C),C=L);return this},ge.sort=function(c){c=xe.apply(this,arguments);for(var p=-1,x=this.length;++p<x;)this[p].sort(c);return this.order()};function xe(c){return arguments.length||(c=v),function(p,x){return p&#038;&#038;x?c(p.__data__,x.__data__):!p-!x}}ge.each=function(c){return Ke(this,function(p,x,A){c.call(p,p.__data__,x,A)})};function Ke(c,p){for(var x=0,A=c.length;x<A;x++)for(var C=c[x],L=0,R=C.length,E;L<R;L++)(E=C[L])&#038;&#038;p(E,L,x);return c}ge.call=function(c){var p=t(arguments);return c.apply(p[0]=this,p),this},ge.empty=function(){return!this.node()},ge.node=function(){for(var c=0,p=this.length;c<p;c++)for(var x=this[c],A=0,C=x.length;A<C;A++){var L=x[A];if(L)return L}return null},ge.size=function(){var c=0;return Ke(this,function(){++c}),c};function hr(c){return re(c,ze),c}var ze=[];e.selection.enter=hr,e.selection.enter.prototype=ze,ze.append=ge.append,ze.empty=ge.empty,ze.node=ge.node,ze.call=ge.call,ze.size=ge.size,ze.select=function(c){for(var p=[],x,A,C,L,R,E=-1,N=this.length;++E<N;){C=(L=this[E]).update,p.push(x=[]),x.parentNode=L.parentNode;for(var W=-1,X=L.length;++W<X;)(R=L[W])?(x.push(C[W]=A=c.call(L.parentNode,R.__data__,W,E)),A.__data__=R.__data__):x.push(null)}return Se(p)},ze.insert=function(c,p){return arguments.length<2&#038;&#038;(p=Me(this)),ge.insert.call(this,c,p)};function Me(c){var p,x;return function(A,C,L){var R=c[L].update,E=R.length,N;for(L!=x&#038;&#038;(x=L,p=0),C>=p&&(p=C+1);!(N=R[p])&&++p<E;);return N}}e.select=function(c){var p;return typeof c==\"string\"?(p=[pe(c,a)],p.parentNode=a.documentElement):(p=[c],p.parentNode=n(c)),Se([p])},e.selectAll=function(c){var p;return typeof c==\"string\"?(p=t(be(c,a)),p.parentNode=a.documentElement):(p=t(c),p.parentNode=null),Se([p])},ge.on=function(c,p,x){var A=arguments.length;if(A<3){if(typeof c!=\"string\"){A<2&#038;&#038;(p=!1);for(x in c)this.each(ke(x,c[x],p));return this}if(A<2)return(A=this.node()[\"__on\"+c])&#038;&#038;A._;x=!1}return this.each(ke(c,p,x))};function ke(c,p,x){var A=\"__on\"+c,C=c.indexOf(\".\"),L=Ze;C>0&&(c=c.slice(0,C));var R=Oe.get(c);R&&(c=R,L=Ue);function E(){var X=this[A];X&&(this.removeEventListener(c,X,X.$),delete this[A])}function N(){var X=L(p,t(arguments));E.call(this),this.addEventListener(c,this[A]=X,X.$=x),X._=p}function W(){var X=new RegExp(\"^__on([^.]+)\"+e.requote(c)+\"$\"),j;for(var ee in this)if(j=ee.match(X)){var de=this[ee];this.removeEventListener(j[1],de,de.$),delete this[ee]}}return C?p?N:E:p?H:W}var Oe=e.map({mouseenter:\"mouseover\",mouseleave:\"mouseout\"});a&&Oe.forEach(function(c){\"on\"+c in a&&Oe.remove(c)});function Ze(c,p){return function(x){var A=e.event;e.event=x,p[0]=this.__data__;try{c.apply(this,p)}finally{e.event=A}}}function Ue(c,p){var x=Ze(c,p);return function(A){var C=this,L=A.relatedTarget;(!L||L!==C&&!(L.compareDocumentPosition(C)&8))&&x.call(C,A)}}var Ge,ir=0;function ar(c){var p=\".dragsuppress-\"+ ++ir,x=\"click\"+p,A=e.select(i(c)).on(\"touchmove\"+p,ne).on(\"dragstart\"+p,ne).on(\"selectstart\"+p,ne);if(Ge==null&&(Ge=\"onselectstart\"in c?!1:G(c.style,\"userSelect\")),Ge){var C=n(c).style,L=C[Ge];C[Ge]=\"none\"}return function(R){if(A.on(p,null),Ge&&(C[Ge]=L),R){var E=function(){A.on(x,null)};A.on(x,function(){ne(),E()},!0),setTimeout(E,0)}}}e.mouse=function(c){return Ne(c,ce())};var er=this.navigator&&\/WebKit\/.test(this.navigator.userAgent)?-1:0;function Ne(c,p){p.changedTouches&&(p=p.changedTouches[0]);var x=c.ownerSVGElement||c;if(x.createSVGPoint){var A=x.createSVGPoint();if(er<0){var C=i(c);if(C.scrollX||C.scrollY){x=e.select(\"body\").append(\"svg\").style({position:\"absolute\",top:0,left:0,margin:0,padding:0,border:\"none\"},\"important\");var L=x[0][0].getScreenCTM();er=!(L.f||L.e),x.remove()}}return er?(A.x=p.pageX,A.y=p.pageY):(A.x=p.clientX,A.y=p.clientY),A=A.matrixTransform(c.getScreenCTM().inverse()),[A.x,A.y]}var R=c.getBoundingClientRect();return[p.clientX-R.left-c.clientLeft,p.clientY-R.top-c.clientTop]}e.touch=function(c,p,x){if(arguments.length<3&#038;&#038;(x=p,p=ce().changedTouches),p){for(var A=0,C=p.length,L;A<C;++A)if((L=p[A]).identifier===x)return Ne(c,L)}},e.behavior.drag=function(){var c=ye(C,\"drag\",\"dragstart\",\"dragend\"),p=null,x=L(H,e.mouse,i,\"mousemove\",\"mouseup\"),A=L(ae,e.touch,V,\"touchmove\",\"touchend\");function C(){this.on(\"mousedown.drag\",x).on(\"touchstart.drag\",A)}function L(R,E,N,W,X){return function(){var j=this,ee=e.event.target.correspondingElement||e.event.target,de=j.parentNode,we=c.of(j,arguments),te=0,se=R(),ue=\".drag\"+(se==null?\"\":\"-\"+se),_e,Te=e.select(N(ee)).on(W+ue,nr).on(X+ue,fr),ve=ar(ee),Ye=E(de,se);p?(_e=p.apply(j,arguments),_e=[_e.x-Ye[0],_e.y-Ye[1]]):_e=[0,0],we({type:\"dragstart\"});function nr(){var lr=E(de,se),dr,pr;lr&#038;&#038;(dr=lr[0]-Ye[0],pr=lr[1]-Ye[1],te|=dr|pr,Ye=lr,we({type:\"drag\",x:lr[0]+_e[0],y:lr[1]+_e[1],dx:dr,dy:pr}))}function fr(){E(de,se)&#038;&#038;(Te.on(W+ue,null).on(X+ue,null),ve(te),we({type:\"dragend\"}))}}}return C.origin=function(R){return arguments.length?(p=R,C):p},e.rebind(C,c,\"on\")};function ae(){return e.event.changedTouches[0].identifier}e.touches=function(c,p){return arguments.length<2&#038;&#038;(p=ce().touches),p?t(p).map(function(x){var A=Ne(c,x);return A.identifier=x.identifier,A}):[]};var oe=1e-6,qe=oe*oe,Pe=Math.PI,$e=2*Pe,cr=$e-oe,sr=Pe\/2,Mr=Pe\/180,Ir=180\/Pe;function Jr(c){return c>0?1:c<0?-1:0}function lt(c,p,x){return(p[0]-c[0])*(x[1]-c[1])-(p[1]-c[1])*(x[0]-c[0])}function _t(c){return c>1?0:c<-1?Pe:Math.acos(c)}function gt(c){return c>1?sr:c<-1?-sr:Math.asin(c)}function Yt(c){return((c=Math.exp(c))-1\/c)\/2}function zt(c){return((c=Math.exp(c))+1\/c)\/2}function Ba(c){return((c=Math.exp(2*c))-1)\/(c+1)}function ha(c){return(c=Math.sin(c\/2))*c}var na=Math.SQRT2,Ya=2,ia=4;e.interpolateZoom=function(c,p){var x=c[0],A=c[1],C=c[2],L=p[0],R=p[1],E=p[2],N=L-x,W=R-A,X=N*N+W*W,j,ee;if(X<qe)ee=Math.log(E\/C)\/na,j=function(_e){return[x+_e*N,A+_e*W,C*Math.exp(na*_e*ee)]};else{var de=Math.sqrt(X),we=(E*E-C*C+ia*X)\/(2*C*Ya*de),te=(E*E-C*C-ia*X)\/(2*E*Ya*de),se=Math.log(Math.sqrt(we*we+1)-we),ue=Math.log(Math.sqrt(te*te+1)-te);ee=(ue-se)\/na,j=function(_e){var Te=_e*ee,ve=zt(se),Ye=C\/(Ya*de)*(ve*Ba(na*Te+se)-Yt(se));return[x+Ye*N,A+Ye*W,C*ve\/zt(na*Te+se)]}}return j.duration=ee*1e3,j},e.behavior.zoom=function(){var c={x:0,y:0,k:1},p,x,A,C=[960,500],L=la,R=250,E=0,N=\"mousedown.zoom\",W=\"mousemove.zoom\",X=\"mouseup.zoom\",j,ee=\"touchstart.zoom\",de,we=ye(Te,\"zoomstart\",\"zoom\",\"zoomend\"),te,se,ue,_e;ot||(ot=\"onwheel\"in a?(vr=function(){return-e.event.deltaY*(e.event.deltaMode?120:1)},\"wheel\"):\"onmousewheel\"in a?(vr=function(){return e.event.wheelDelta},\"mousewheel\"):(vr=function(){return-e.event.detail},\"MozMousePixelScroll\"));function Te(rr){rr.on(N,Tr).on(ot+\".zoom\",St).on(\"dblclick.zoom\",et).on(ee,Kr)}Te.event=function(rr){rr.each(function(){var Lr=we.of(this,arguments),qr=c;to?e.select(this).transition().each(\"start.zoom\",function(){c=this.__chart__||{x:0,y:0,k:1},pr(Lr)}).tween(\"zoom:zoom\",function(){var Qr=C[0],wt=C[1],Vt=x?x[0]:Qr\/2,ma=x?x[1]:wt\/2,Ea=e.interpolateZoom([(Vt-c.x)\/c.k,(ma-c.y)\/c.k,Qr\/c.k],[(Vt-qr.x)\/qr.k,(ma-qr.y)\/qr.k,Qr\/qr.k]);return function(Ua){var Pa=Ea(Ua),Za=Qr\/Pa[2];this.__chart__=c={x:Vt-Pa[0]*Za,y:ma-Pa[1]*Za,k:Za},Sr(Lr)}}).each(\"interrupt.zoom\",function(){mr(Lr)}).each(\"end.zoom\",function(){mr(Lr)}):(this.__chart__=c,pr(Lr),Sr(Lr),mr(Lr))})},Te.translate=function(rr){return arguments.length?(c={x:+rr[0],y:+rr[1],k:c.k},dr(),Te):[c.x,c.y]},Te.scale=function(rr){return arguments.length?(c={x:c.x,y:c.y,k:null},nr(+rr),dr(),Te):c.k},Te.scaleExtent=function(rr){return arguments.length?(L=rr==null?la:[+rr[0],+rr[1]],Te):L},Te.center=function(rr){return arguments.length?(A=rr&#038;&#038;[+rr[0],+rr[1]],Te):A},Te.size=function(rr){return arguments.length?(C=rr&#038;&#038;[+rr[0],+rr[1]],Te):C},Te.duration=function(rr){return arguments.length?(R=+rr,Te):R},Te.x=function(rr){return arguments.length?(se=rr,te=rr.copy(),c={x:0,y:0,k:1},Te):se},Te.y=function(rr){return arguments.length?(_e=rr,ue=rr.copy(),c={x:0,y:0,k:1},Te):_e};function ve(rr){return[(rr[0]-c.x)\/c.k,(rr[1]-c.y)\/c.k]}function Ye(rr){return[rr[0]*c.k+c.x,rr[1]*c.k+c.y]}function nr(rr){c.k=Math.max(L[0],Math.min(L[1],rr))}function fr(rr,Lr){Lr=Ye(Lr),c.x+=rr[0]-Lr[0],c.y+=rr[1]-Lr[1]}function lr(rr,Lr,qr,Qr){rr.__chart__={x:c.x,y:c.y,k:c.k},nr(Math.pow(2,Qr)),fr(x=Lr,qr),rr=e.select(rr),R>0&&(rr=rr.transition().duration(R)),rr.call(Te.event)}function dr(){se&&se.domain(te.range().map(function(rr){return(rr-c.x)\/c.k}).map(te.invert)),_e&&_e.domain(ue.range().map(function(rr){return(rr-c.y)\/c.k}).map(ue.invert))}function pr(rr){E++||rr({type:\"zoomstart\"})}function Sr(rr){dr(),rr({type:\"zoom\",scale:c.k,translate:[c.x,c.y]})}function mr(rr){--E||(rr({type:\"zoomend\"}),x=null)}function Tr(){var rr=this,Lr=we.of(rr,arguments),qr=0,Qr=e.select(i(rr)).on(W,ma).on(X,Ea),wt=ve(e.mouse(rr)),Vt=ar(rr);dv.call(rr),pr(Lr);function ma(){qr=1,fr(e.mouse(rr),wt),Sr(Lr)}function Ea(){Qr.on(W,null).on(X,null),Vt(qr),mr(Lr)}}function Kr(){var rr=this,Lr=we.of(rr,arguments),qr={},Qr=0,wt,Vt=\".zoom-\"+e.event.changedTouches[0].identifier,ma=\"touchmove\"+Vt,Ea=\"touchend\"+Vt,Ua=[],Pa=e.select(rr),Za=ar(rr);Ja(),pr(Lr),Pa.on(N,null).on(ee,Ja);function Ma(){var Wn=e.touches(rr);return wt=c.k,Wn.forEach(function(ya){ya.identifier in qr&&(qr[ya.identifier]=ve(ya))}),Wn}function Ja(){var Wn=e.event.target;e.select(Wn).on(ma,ao).on(Ea,hI),Ua.push(Wn);for(var ya=e.event.changedTouches,xn=0,yi=ya.length;xn<yi;++xn)qr[ya[xn].identifier]=null;var _n=Ma(),bs=Date.now();if(_n.length===1){if(bs-de<500){var no=_n[0];lr(rr,no,qr[no.identifier],Math.floor(Math.log(c.k)\/Math.LN2)+1),ne()}de=bs}else if(_n.length>1){var no=_n[0],fl=_n[1],yv=no[0]-fl[0],mb=no[1]-fl[1];Qr=yv*yv+mb*mb}}function ao(){var Wn=e.touches(rr),ya,xn,yi,_n;dv.call(rr);for(var bs=0,no=Wn.length;bs<no;++bs,_n=null)if(yi=Wn[bs],_n=qr[yi.identifier]){if(xn)break;ya=yi,xn=_n}if(_n){var fl=(fl=yi[0]-ya[0])*fl+(fl=yi[1]-ya[1])*fl,yv=Qr&#038;&#038;Math.sqrt(fl\/Qr);ya=[(ya[0]+yi[0])\/2,(ya[1]+yi[1])\/2],xn=[(xn[0]+_n[0])\/2,(xn[1]+_n[1])\/2],nr(yv*wt)}de=null,fr(ya,xn),Sr(Lr)}function hI(){if(e.event.touches.length){for(var Wn=e.event.changedTouches,ya=0,xn=Wn.length;ya<xn;++ya)delete qr[Wn[ya].identifier];for(var yi in qr)return void Ma()}e.selectAll(Ua).on(Vt,null),Pa.on(N,Tr).on(ee,Kr),Za(),mr(Lr)}}function St(){var rr=we.of(this,arguments);j?clearTimeout(j):(dv.call(this),p=ve(x=A||e.mouse(this)),pr(rr)),j=setTimeout(function(){j=null,mr(rr)},50),ne(),nr(Math.pow(2,vr()*.002)*c.k),fr(x,p),Sr(rr)}function et(){var rr=e.mouse(this),Lr=Math.log(c.k)\/Math.LN2;lr(this,rr,ve(rr),e.event.shiftKey?Math.ceil(Lr)-1:Math.floor(Lr)+1)}return e.rebind(Te,we,\"on\")};var la=[0,1\/0],vr,ot;e.color=Xr;function Xr(){}Xr.prototype.toString=function(){return this.rgb()+\"\"},e.hsl=nt;function nt(c,p,x){return this instanceof nt?(this.h=+c,this.s=+p,void(this.l=+x)):arguments.length<2?c instanceof nt?new nt(c.h,c.s,c.l):Gr(\"\"+c,$r,nt):new nt(c,p,x)}var oa=nt.prototype=new Xr;oa.brighter=function(c){return c=Math.pow(.7,arguments.length?c:1),new nt(this.h,this.s,this.l\/c)},oa.darker=function(c){return c=Math.pow(.7,arguments.length?c:1),new nt(this.h,this.s,c*this.l)},oa.rgb=function(){return sa(this.h,this.s,this.l)};function sa(c,p,x){var A,C;c=isNaN(c)?0:(c%=360)<0?c+360:c,p=isNaN(p)||p<0?0:p>1?1:p,x=x<0?0:x>1?1:x,C=x<=.5?x*(1+p):x+p-x*p,A=2*x-C;function L(E){return E>360?E-=360:E<0&#038;&#038;(E+=360),E<60?A+(C-A)*E\/60:E<180?C:E<240?A+(C-A)*(240-E)\/60:A}function R(E){return Math.round(L(E)*255)}return new Da(R(c+120),R(c),R(c-120))}e.hcl=at;function at(c,p,x){return this instanceof at?(this.h=+c,this.c=+p,void(this.l=+x)):arguments.length<2?c instanceof at?new at(c.h,c.c,c.l):c instanceof Kt?Xc(c.l,c.a,c.b):Xc((c=or((c=e.rgb(c)).r,c.g,c.b)).l,c.a,c.b):new at(c,p,x)}var Xa=at.prototype=new Xr;Xa.brighter=function(c){return new at(this.h,this.c,Math.min(100,this.l+vt*(arguments.length?c:1)))},Xa.darker=function(c){return new at(this.h,this.c,Math.max(0,this.l-vt*(arguments.length?c:1)))},Xa.rgb=function(){return Un(this.h,this.c,this.l).rgb()};function Un(c,p,x){return isNaN(c)&#038;&#038;(c=0),isNaN(p)&#038;&#038;(p=0),new Kt(x,Math.cos(c*=Mr)*p,Math.sin(c)*p)}e.lab=Kt;function Kt(c,p,x){return this instanceof Kt?(this.l=+c,this.a=+p,void(this.b=+x)):arguments.length<2?c instanceof Kt?new Kt(c.l,c.a,c.b):c instanceof at?Un(c.h,c.c,c.l):or((c=Da(c)).r,c.g,c.b):new Kt(c,p,x)}var vt=18,Nt=.95047,Ft=1,$l=1.08883,sl=Kt.prototype=new Xr;sl.brighter=function(c){return new Kt(Math.min(100,this.l+vt*(arguments.length?c:1)),this.a,this.b)},sl.darker=function(c){return new Kt(Math.max(0,this.l-vt*(arguments.length?c:1)),this.a,this.b)},sl.rgb=function(){return Wc(this.l,this.a,this.b)};function Wc(c,p,x){var A=(c+16)\/116,C=A+p\/500,L=A-x\/200;return C=Nu(C)*Nt,A=Nu(A)*Ft,L=Nu(L)*$l,new Da(Iu(3.2404542*C-1.5371385*A-.4985314*L),Iu(-.969266*C+1.8760108*A+.041556*L),Iu(.0556434*C-.2040259*A+1.0572252*L))}function Xc(c,p,x){return c>0?new at(Math.atan2(x,p)*Ir,Math.sqrt(p*p+x*x),c):new at(NaN,NaN,c)}function Nu(c){return c>.206893034?c*c*c:(c-4\/29)\/7.787037}function Fu(c){return c>.008856?Math.pow(c,1\/3):7.787037*c+4\/29}function Iu(c){return Math.round(255*(c<=.00304?12.92*c:1.055*Math.pow(c,1\/2.4)-.055))}e.rgb=Da;function Da(c,p,x){return this instanceof Da?(this.r=~~c,this.g=~~p,void(this.b=~~x)):arguments.length<2?c instanceof Da?new Da(c.r,c.g,c.b):Gr(\"\"+c,Da,sa):new Da(c,p,x)}function Zc(c){return new Da(c>>16,c>>8&255,c&255)}function cs(c){return Zc(c)+\"\"}var vs=Da.prototype=new Xr;vs.brighter=function(c){c=Math.pow(.7,arguments.length?c:1);var p=this.r,x=this.g,A=this.b,C=30;return!p&&!x&&!A?new Da(C,C,C):(p&&p<C&#038;&#038;(p=C),x&#038;&#038;x<C&#038;&#038;(x=C),A&#038;&#038;A<C&#038;&#038;(A=C),new Da(Math.min(255,p\/c),Math.min(255,x\/c),Math.min(255,A\/c)))},vs.darker=function(c){return c=Math.pow(.7,arguments.length?c:1),new Da(c*this.r,c*this.g,c*this.b)},vs.hsl=function(){return $r(this.r,this.g,this.b)},vs.toString=function(){return\"#\"+yr(this.r)+yr(this.g)+yr(this.b)};function yr(c){return c<16?\"0\"+Math.max(0,c).toString(16):Math.min(255,c).toString(16)}function Gr(c,p,x){var A=0,C=0,L=0,R,E,N;if(R=\/([a-z]+)\\((.*)\\)\/.exec(c=c.toLowerCase()),R)switch(E=R[2].split(\",\"),R[1]){case\"hsl\":return x(parseFloat(E[0]),parseFloat(E[1])\/100,parseFloat(E[2])\/100);case\"rgb\":return p(st(E[0]),st(E[1]),st(E[2]))}return(N=pa.get(c))?p(N.r,N.g,N.b):(c!=null&#038;&#038;c.charAt(0)===\"#\"&#038;&#038;!isNaN(N=parseInt(c.slice(1),16))&#038;&#038;(c.length===4?(A=(N&#038;3840)>>4,A=A>>4|A,C=N&240,C=C>>4|C,L=N&15,L=L<<4|L):c.length===7&#038;&#038;(A=(N&#038;16711680)>>16,C=(N&65280)>>8,L=N&255)),p(A,C,L))}function $r(c,p,x){var A=Math.min(c\/=255,p\/=255,x\/=255),C=Math.max(c,p,x),L=C-A,R,E,N=(C+A)\/2;return L?(E=N<.5?L\/(C+A):L\/(2-C-A),c==C?R=(p-x)\/L+(p<x?6:0):p==C?R=(x-c)\/L+2:R=(c-p)\/L+4,R*=60):(R=NaN,E=N>0&&N<1?0:R),new nt(R,E,N)}function or(c,p,x){c=da(c),p=da(p),x=da(x);var A=Fu((.4124564*c+.3575761*p+.1804375*x)\/Nt),C=Fu((.2126729*c+.7151522*p+.072175*x)\/Ft),L=Fu((.0193339*c+.119192*p+.9503041*x)\/$l);return Kt(116*C-16,500*(A-C),200*(C-L))}function da(c){return(c\/=255)<=.04045?c\/12.92:Math.pow((c+.055)\/1.055,2.4)}function st(c){var p=parseFloat(c);return c.charAt(c.length-1)===\"%\"?Math.round(p*2.55):p}var pa=e.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});pa.forEach(function(c,p){pa.set(c,Zc(p))});function Rr(c){return typeof c==\"function\"?c:function(){return c}}e.functor=Rr,e.xhr=Vn(V);function Vn(c){return function(p,x,A){return arguments.length===2&#038;&#038;typeof x==\"function\"&#038;&#038;(A=x,x=null),jl(p,x,c,A)}}function jl(c,p,x,A){var C={},L=e.dispatch(\"beforesend\",\"progress\",\"load\",\"error\"),R={},E=new XMLHttpRequest,N=null;self.XDomainRequest&#038;&#038;!(\"withCredentials\"in E)&#038;&#038;\/^(http(s)?:)?\\\/\\\/\/.test(c)&#038;&#038;(E=new XDomainRequest),\"onload\"in E?E.onload=E.onerror=W:E.onreadystatechange=function(){E.readyState>3&&W()};function W(){var X=E.status,j;if(!X&&pN(E)||X>=200&&X<300||X===304){try{j=x.call(C,E)}catch(ee){L.error.call(C,ee);return}L.load.call(C,j)}else L.error.call(C,E)}return E.onprogress=function(X){var j=e.event;e.event=X;try{L.progress.call(C,E)}finally{e.event=j}},C.header=function(X,j){return X=(X+\"\").toLowerCase(),arguments.length<2?R[X]:(j==null?delete R[X]:R[X]=j+\"\",C)},C.mimeType=function(X){return arguments.length?(p=X==null?null:X+\"\",C):p},C.responseType=function(X){return arguments.length?(N=X,C):N},C.response=function(X){return x=X,C},[\"get\",\"post\"].forEach(function(X){C[X]=function(){return C.send.apply(C,[X].concat(t(arguments)))}}),C.send=function(X,j,ee){if(arguments.length===2&#038;&#038;typeof j==\"function\"&#038;&#038;(ee=j,j=null),E.open(X,c,!0),p!=null&#038;&#038;!(\"accept\"in R)&#038;&#038;(R.accept=p+\",*\/*\"),E.setRequestHeader)for(var de in R)E.setRequestHeader(de,R[de]);return p!=null&#038;&#038;E.overrideMimeType&#038;&#038;E.overrideMimeType(p),N!=null&#038;&#038;(E.responseType=N),ee!=null&#038;&#038;C.on(\"error\",ee).on(\"load\",function(we){ee(null,we)}),L.beforesend.call(C,E),E.send(j==null?null:j),C},C.abort=function(){return E.abort(),C},e.rebind(C,L,\"on\"),A==null?C:C.get(dN(A))}function dN(c){return c.length===1?function(p,x){c(p==null?x:null)}:c}function pN(c){var p=c.responseType;return p&#038;&#038;p!==\"text\"?c.response:c.responseText}e.dsv=function(c,p){var x=new RegExp('[\"'+c+`\n]`),A=c.charCodeAt(0);function C(W,X,j){arguments.length<3&#038;&#038;(j=X,X=null);var ee=jl(W,p,X==null?L:R(X),j);return ee.row=function(de){return arguments.length?ee.response((X=de)==null?L:R(de)):X},ee}function L(W){return C.parse(W.responseText)}function R(W){return function(X){return C.parse(X.responseText,W)}}C.parse=function(W,X){var j;return C.parseRows(W,function(ee,de){if(j)return j(ee,de-1);var we=function(te){for(var se={},ue=ee.length,_e=0;_e<ue;++_e)se[ee[_e]]=te[_e];return se};j=X?function(te,se){return X(we(te),se)}:we})},C.parseRows=function(W,X){var j={},ee={},de=[],we=W.length,te=0,se=0,ue,_e;function Te(){if(te>=we)return ee;if(_e)return _e=!1,j;var Ye=te;if(W.charCodeAt(Ye)===34){for(var nr=Ye;nr++<we;)if(W.charCodeAt(nr)===34){if(W.charCodeAt(nr+1)!==34)break;++nr}te=nr+2;var fr=W.charCodeAt(nr+1);return fr===13?(_e=!0,W.charCodeAt(nr+2)===10&#038;&#038;++te):fr===10&#038;&#038;(_e=!0),W.slice(Ye+1,nr).replace(\/\"\"\/g,'\"')}for(;te<we;){var fr=W.charCodeAt(te++),lr=1;if(fr===10)_e=!0;else if(fr===13)_e=!0,W.charCodeAt(te)===10&#038;&#038;(++te,++lr);else if(fr!==A)continue;return W.slice(Ye,te-lr)}return W.slice(Ye)}for(;(ue=Te())!==ee;){for(var ve=[];ue!==j&#038;&#038;ue!==ee;)ve.push(ue),ue=Te();X&#038;&#038;(ve=X(ve,se++))==null||de.push(ve)}return de},C.format=function(W){if(Array.isArray(W[0]))return C.formatRows(W);var X=new I,j=[];return W.forEach(function(ee){for(var de in ee)X.has(de)||j.push(X.add(de))}),[j.map(N).join(c)].concat(W.map(function(ee){return j.map(function(de){return N(ee[de])}).join(c)})).join(`\n`)},C.formatRows=function(W){return W.map(E).join(`\n`)};function E(W){return W.map(N).join(c)}function N(W){return x.test(W)?'\"'+W.replace(\/\\\"\/g,'\"\"')+'\"':W}return C},e.csv=e.dsv(\",\",\"text\/csv\"),e.tsv=e.dsv(\"\t\",\"text\/tab-separated-values\");var Jc,Kc,Qc,$c,t5=this[G(this,\"requestAnimationFrame\")]||function(c){setTimeout(c,17)};e.timer=function(){jc.apply(this,arguments)};function jc(c,p,x){var A=arguments.length;A<2&#038;&#038;(p=0),A<3&#038;&#038;(x=Date.now());var C=x+p,L={c,t:C,n:null};return Kc?Kc.n=L:Jc=L,Kc=L,Qc||($c=clearTimeout($c),Qc=1,t5(T1)),L}function T1(){var c=a5(),p=n5()-c;p>24?(isFinite(p)&&(clearTimeout($c),$c=setTimeout(T1,p)),Qc=0):(Qc=1,t5(T1))}e.timer.flush=function(){a5(),n5()};function a5(){for(var c=Date.now(),p=Jc;p;)c>=p.t&&p.c(c-p.t)&&(p.c=null),p=p.n;return c}function n5(){for(var c,p=Jc,x=1\/0;p;)p.c?(p.t<x&#038;&#038;(x=p.t),p=(c=p).n):p=c?c.n=p.n:Jc=p.n;return Kc=c,x}e.round=function(c,p){return p?Math.round(c*(p=Math.pow(10,p)))\/p:Math.round(c)},e.geom={};function hs(c){return c[0]}function Hu(c){return c[1]}e.geom.hull=function(c){var p=hs,x=Hu;if(arguments.length)return A(c);function A(C){if(C.length<3)return[];var L=Rr(p),R=Rr(x),E,N=C.length,W=[],X=[];for(E=0;E<N;E++)W.push([+L.call(this,C[E],E),+R.call(this,C[E],E),E]);for(W.sort(mN),E=0;E<N;E++)X.push([W[E][0],-W[E][1]]);var j=i5(W),ee=i5(X),de=ee[0]===j[0],we=ee[ee.length-1]===j[j.length-1],te=[];for(E=j.length-1;E>=0;--E)te.push(C[W[j[E]][2]]);for(E=+de;E<ee.length-we;++E)te.push(C[W[ee[E]][2]]);return te}return A.x=function(C){return arguments.length?(p=C,A):p},A.y=function(C){return arguments.length?(x=C,A):x},A};function i5(c){for(var p=c.length,x=[0,1],A=2,C=2;C<p;C++){for(;A>1&&lt(c[x[A-2]],c[x[A-1]],c[C])<=0;)--A;x[A++]=C}return x.slice(0,A)}function mN(c,p){return c[0]-p[0]||c[1]-p[1]}e.geom.polygon=function(c){return re(c,ev),c};var ev=e.geom.polygon.prototype=[];ev.area=function(){for(var c=-1,p=this.length,x,A=this[p-1],C=0;++c<p;)x=A,A=this[c],C+=x[1]*A[0]-x[0]*A[1];return C*.5},ev.centroid=function(c){var p=-1,x=this.length,A=0,C=0,L,R=this[x-1],E;for(arguments.length||(c=-1\/(6*this.area()));++p<x;)L=R,R=this[p],E=L[0]*R[1]-R[0]*L[1],A+=(L[0]+R[0])*E,C+=(L[1]+R[1])*E;return[A*c,C*c]},ev.clip=function(c){for(var p,x=l5(c),A=-1,C=this.length-l5(this),L,R,E=this[C-1],N,W,X;++A<C;){for(p=c.slice(),c.length=0,N=this[A],W=p[(R=p.length-x)-1],L=-1;++L<R;)X=p[L],M1(X,E,N)?(M1(W,E,N)||c.push(A1(W,X,E,N)),c.push(X)):M1(W,E,N)&#038;&#038;c.push(A1(W,X,E,N)),W=X;x&#038;&#038;c.push(c[0]),E=N}return c};function M1(c,p,x){return(x[0]-p[0])*(c[1]-p[1])<(x[1]-p[1])*(c[0]-p[0])}function A1(c,p,x,A){var C=c[0],L=x[0],R=p[0]-C,E=A[0]-L,N=c[1],W=x[1],X=p[1]-N,j=A[1]-W,ee=(E*(N-W)-j*(C-L))\/(j*R-E*X);return[C+ee*R,N+ee*X]}function l5(c){var p=c[0],x=c[c.length-1];return!(p[0]-x[0]||p[1]-x[1])}var ds,eo,ps,o5=[],k1,Ou,s5=[];function yN(){av(this),this.edge=this.site=this.circle=null}function u5(c){var p=o5.pop()||new yN;return p.site=c,p}function C1(c){ys(c),ps.remove(c),o5.push(c),av(c)}function gN(c){var p=c.circle,x=p.x,A=p.cy,C={x,y:A},L=c.P,R=c.N,E=[c];C1(c);for(var N=L;N.circle&#038;&#038;_(x-N.circle.x)<oe&#038;&#038;_(A-N.circle.cy)<oe;)L=N.P,E.unshift(N),C1(N),N=L;E.unshift(N),ys(N);for(var W=R;W.circle&#038;&#038;_(x-W.circle.x)<oe&#038;&#038;_(A-W.circle.cy)<oe;)R=W.N,E.push(W),C1(W),W=R;E.push(W),ys(W);var X=E.length,j;for(j=1;j<X;++j)W=E[j],N=E[j-1],rv(W.edge,N.site,W.site,C);N=E[0],W=E[X-1],W.edge=Bu(N.site,W.site,null,C),ms(N),ms(W)}function bN(c){for(var p=c.x,x=c.y,A,C,L,R,E=ps._;E;)if(L=f5(E,x)-p,L>oe)E=E.L;else if(R=p-xN(E,x),R>oe){if(!E.R){A=E;break}E=E.R}else{L>-oe?(A=E.P,C=E):R>-oe?(A=E,C=E.N):A=C=E;break}var N=u5(c);if(ps.insert(A,N),!(!A&&!C)){if(A===C){ys(A),C=u5(A.site),ps.insert(N,C),N.edge=C.edge=Bu(A.site,N.site),ms(A),ms(C);return}if(!C){N.edge=Bu(A.site,N.site);return}ys(A),ys(C);var W=A.site,X=W.x,j=W.y,ee=c.x-X,de=c.y-j,we=C.site,te=we.x-X,se=we.y-j,ue=2*(ee*se-de*te),_e=ee*ee+de*de,Te=te*te+se*se,ve={x:(se*_e-de*Te)\/ue+X,y:(ee*Te-te*_e)\/ue+j};rv(C.edge,W,we,ve),N.edge=Bu(W,c,null,ve),C.edge=Bu(c,we,null,ve),ms(A),ms(C)}}function f5(c,p){var x=c.site,A=x.x,C=x.y,L=C-p;if(!L)return A;var R=c.P;if(!R)return-1\/0;x=R.site;var E=x.x,N=x.y,W=N-p;if(!W)return E;var X=E-A,j=1\/L-1\/W,ee=X\/W;return j?(-ee+Math.sqrt(ee*ee-2*j*(X*X\/(-2*W)-N+W\/2+C-L\/2)))\/j+A:(A+E)\/2}function xN(c,p){var x=c.N;if(x)return f5(x,p);var A=c.site;return A.y===p?A.x:1\/0}function c5(c){this.site=c,this.edges=[]}c5.prototype.prepare=function(){for(var c=this.edges,p=c.length,x;p--;)x=c[p].edge,(!x.b||!x.a)&&c.splice(p,1);return c.sort(v5),c.length};function _N(c){for(var p=c[0][0],x=c[1][0],A=c[0][1],C=c[1][1],L,R,E,N,W=eo,X=W.length,j,ee,de,we,te,se;X--;)if(j=W[X],!(!j||!j.prepare()))for(de=j.edges,we=de.length,ee=0;ee<we;)se=de[ee].end(),E=se.x,N=se.y,te=de[++ee%we].start(),L=te.x,R=te.y,(_(E-L)>oe||_(N-R)>oe)&&(de.splice(ee,0,new tv(kN(j.site,se,_(E-p)<oe&#038;&#038;C-N>oe?{x:p,y:_(L-p)<oe?R:C}:_(N-C)<oe&#038;&#038;x-E>oe?{x:_(R-C)<oe?L:x,y:C}:_(E-x)<oe&#038;&#038;N-A>oe?{x,y:_(L-x)<oe?R:A}:_(N-A)<oe&#038;&#038;E-p>oe?{x:_(R-A)<oe?L:p,y:A}:null),j.site,null)),++we)}function v5(c,p){return p.angle-c.angle}function wN(){av(this),this.x=this.y=this.arc=this.site=this.cy=null}function ms(c){var p=c.P,x=c.N;if(!(!p||!x)){var A=p.site,C=c.site,L=x.site;if(A!==L){var R=C.x,E=C.y,N=A.x-R,W=A.y-E,X=L.x-R,se=L.y-E,j=2*(N*se-W*X);if(!(j>=-qe)){var ee=N*N+W*W,de=X*X+se*se,we=(se*ee-W*de)\/j,te=(N*de-X*ee)\/j,se=te+E,ue=s5.pop()||new wN;ue.arc=c,ue.site=C,ue.x=we+R,ue.y=se+Math.sqrt(we*we+te*te),ue.cy=se,c.circle=ue;for(var _e=null,Te=Ou._;Te;)if(ue.y<Te.y||ue.y===Te.y&#038;&#038;ue.x<=Te.x)if(Te.L)Te=Te.L;else{_e=Te.P;break}else if(Te.R)Te=Te.R;else{_e=Te;break}Ou.insert(_e,ue),_e||(k1=ue)}}}}function ys(c){var p=c.circle;p&#038;&#038;(p.P||(k1=p.N),Ou.remove(p),s5.push(p),av(p),c.circle=null)}function TN(c,p,x,A){return function(C){var L=C.a,R=C.b,E=L.x,N=L.y,W=R.x,X=R.y,j=0,ee=1,de=W-E,we=X-N,te;if(te=c-E,!(!de&#038;&#038;te>0)){if(te\/=de,de<0){if(te<j)return;te<ee&#038;&#038;(ee=te)}else if(de>0){if(te>ee)return;te>j&&(j=te)}if(te=x-E,!(!de&&te<0)){if(te\/=de,de<0){if(te>ee)return;te>j&&(j=te)}else if(de>0){if(te<j)return;te<ee&#038;&#038;(ee=te)}if(te=p-N,!(!we&#038;&#038;te>0)){if(te\/=we,we<0){if(te<j)return;te<ee&#038;&#038;(ee=te)}else if(we>0){if(te>ee)return;te>j&&(j=te)}if(te=A-N,!(!we&&te<0)){if(te\/=we,we<0){if(te>ee)return;te>j&&(j=te)}else if(we>0){if(te<j)return;te<ee&#038;&#038;(ee=te)}return j>0&&(C.a={x:E+j*de,y:N+j*we}),ee<1&#038;&#038;(C.b={x:E+ee*de,y:N+ee*we}),C}}}}}}function MN(c){for(var p=ds,x=TN(c[0][0],c[0][1],c[1][0],c[1][1]),A=p.length,C;A--;)C=p[A],(!AN(C,c)||!x(C)||_(C.a.x-C.b.x)<oe&#038;&#038;_(C.a.y-C.b.y)<oe)&#038;&#038;(C.a=C.b=null,p.splice(A,1))}function AN(c,p){var x=c.b;if(x)return!0;var A=c.a,C=p[0][0],L=p[1][0],R=p[0][1],E=p[1][1],N=c.l,W=c.r,X=N.x,j=N.y,ee=W.x,de=W.y,we=(X+ee)\/2,te=(j+de)\/2,se,ue;if(de===j){if(we<C||we>=L)return;if(X>ee){if(!A)A={x:we,y:R};else if(A.y>=E)return;x={x:we,y:E}}else{if(!A)A={x:we,y:E};else if(A.y<R)return;x={x:we,y:R}}}else if(se=(X-ee)\/(de-j),ue=te-se*we,se<-1||se>1)if(X>ee){if(!A)A={x:(R-ue)\/se,y:R};else if(A.y>=E)return;x={x:(E-ue)\/se,y:E}}else{if(!A)A={x:(E-ue)\/se,y:E};else if(A.y<R)return;x={x:(R-ue)\/se,y:R}}else if(j<de){if(!A)A={x:C,y:se*C+ue};else if(A.x>=L)return;x={x:L,y:se*L+ue}}else{if(!A)A={x:L,y:se*L+ue};else if(A.x<C)return;x={x:C,y:se*C+ue}}return c.a=A,c.b=x,!0}function h5(c,p){this.l=c,this.r=p,this.a=this.b=null}function Bu(c,p,x,A){var C=new h5(c,p);return ds.push(C),x&#038;&#038;rv(C,c,p,x),A&#038;&#038;rv(C,p,c,A),eo[c.i].edges.push(new tv(C,c,p)),eo[p.i].edges.push(new tv(C,p,c)),C}function kN(c,p,x){var A=new h5(c,null);return A.a=p,A.b=x,ds.push(A),A}function rv(c,p,x,A){!c.a&#038;&#038;!c.b?(c.a=A,c.l=p,c.r=x):c.l===x?c.b=A:c.a=A}function tv(c,p,x){var A=c.a,C=c.b;this.edge=c,this.site=p,this.angle=x?Math.atan2(x.y-p.y,x.x-p.x):c.l===p?Math.atan2(C.x-A.x,A.y-C.y):Math.atan2(A.x-C.x,C.y-A.y)}tv.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 S1(){this._=null}function av(c){c.U=c.C=c.L=c.R=c.P=c.N=null}S1.prototype={insert:function(c,p){var x,A,C;if(c){if(p.P=c,p.N=c.N,c.N&#038;&#038;(c.N.P=p),c.N=p,c.R){for(c=c.R;c.L;)c=c.L;c.L=p}else c.R=p;x=c}else this._?(c=d5(this._),p.P=null,p.N=c,c.P=c.L=p,x=c):(p.P=p.N=null,this._=p,x=null);for(p.L=p.R=null,p.U=x,p.C=!0,c=p;x&#038;&#038;x.C;)A=x.U,x===A.L?(C=A.R,C&#038;&#038;C.C?(x.C=C.C=!1,A.C=!0,c=A):(c===x.R&#038;&#038;(Yu(this,x),c=x,x=c.U),x.C=!1,A.C=!0,Uu(this,A))):(C=A.L,C&#038;&#038;C.C?(x.C=C.C=!1,A.C=!0,c=A):(c===x.L&#038;&#038;(Uu(this,x),c=x,x=c.U),x.C=!1,A.C=!0,Yu(this,A))),x=c.U;this._.C=!1},remove:function(c){c.N&#038;&#038;(c.N.P=c.P),c.P&#038;&#038;(c.P.N=c.N),c.N=c.P=null;var p=c.U,x,A=c.L,C=c.R,L,R;if(A?C?L=d5(C):L=A:L=C,p?p.L===c?p.L=L:p.R=L:this._=L,A&#038;&#038;C?(R=L.C,L.C=c.C,L.L=A,A.U=L,L!==C?(p=L.U,L.U=c.U,c=L.R,p.L=c,L.R=C,C.U=L):(L.U=p,p=L,c=L.R)):(R=c.C,c=L),c&#038;&#038;(c.U=p),!R){if(c&#038;&#038;c.C){c.C=!1;return}do{if(c===this._)break;if(c===p.L){if(x=p.R,x.C&#038;&#038;(x.C=!1,p.C=!0,Yu(this,p),x=p.R),x.L&#038;&#038;x.L.C||x.R&#038;&#038;x.R.C){(!x.R||!x.R.C)&#038;&#038;(x.L.C=!1,x.C=!0,Uu(this,x),x=p.R),x.C=p.C,p.C=x.R.C=!1,Yu(this,p),c=this._;break}}else if(x=p.L,x.C&#038;&#038;(x.C=!1,p.C=!0,Uu(this,p),x=p.L),x.L&#038;&#038;x.L.C||x.R&#038;&#038;x.R.C){(!x.L||!x.L.C)&#038;&#038;(x.R.C=!1,x.C=!0,Yu(this,x),x=p.L),x.C=p.C,p.C=x.L.C=!1,Uu(this,p),c=this._;break}x.C=!0,c=p,p=p.U}while(!c.C);c&#038;&#038;(c.C=!1)}}};function Yu(c,p){var x=p,A=p.R,C=x.U;C?C.L===x?C.L=A:C.R=A:c._=A,A.U=C,x.U=A,x.R=A.L,x.R&#038;&#038;(x.R.U=x),A.L=x}function Uu(c,p){var x=p,A=p.L,C=x.U;C?C.L===x?C.L=A:C.R=A:c._=A,A.U=C,x.U=A,x.L=A.R,x.L&#038;&#038;(x.L.U=x),A.R=x}function d5(c){for(;c.L;)c=c.L;return c}function L1(c,p){var x=c.sort(CN).pop(),A,C,L;for(ds=[],eo=new Array(c.length),ps=new S1,Ou=new S1;;)if(L=k1,x&#038;&#038;(!L||x.y<L.y||x.y===L.y&#038;&#038;x.x<L.x))(x.x!==A||x.y!==C)&#038;&#038;(eo[x.i]=new c5(x),bN(x),A=x.x,C=x.y),x=c.pop();else if(L)gN(L.arc);else break;p&#038;&#038;(MN(p),_N(p));var R={cells:eo,edges:ds};return ps=Ou=ds=eo=null,R}function CN(c,p){return p.y-c.y||p.x-c.x}e.geom.voronoi=function(c){var p=hs,x=Hu,A=p,C=x,L=nv;if(c)return R(c);function R(N){var W=new Array(N.length),X=L[0][0],j=L[0][1],ee=L[1][0],de=L[1][1];return L1(E(N),L).cells.forEach(function(we,te){var se=we.edges,ue=we.site,_e=W[te]=se.length?se.map(function(Te){var ve=Te.start();return[ve.x,ve.y]}):ue.x>=X&&ue.x<=ee&#038;&#038;ue.y>=j&&ue.y<=de?[[X,de],[ee,de],[ee,j],[X,j]]:[];_e.point=N[te]}),W}function E(N){return N.map(function(W,X){return{x:Math.round(A(W,X)\/oe)*oe,y:Math.round(C(W,X)\/oe)*oe,i:X}})}return R.links=function(N){return L1(E(N)).edges.filter(function(W){return W.l&#038;&#038;W.r}).map(function(W){return{source:N[W.l.i],target:N[W.r.i]}})},R.triangles=function(N){var W=[];return L1(E(N)).cells.forEach(function(X,j){for(var ee=X.site,de=X.edges.sort(v5),we=-1,te=de.length,se,ue,_e=de[te-1].edge,Te=_e.l===ee?_e.r:_e.l;++we<te;)se=_e,ue=Te,_e=de[we].edge,Te=_e.l===ee?_e.r:_e.l,j<ue.i&#038;&#038;j<Te.i&#038;&#038;SN(ee,ue,Te)<0&#038;&#038;W.push([N[j],N[ue.i],N[Te.i]])}),W},R.x=function(N){return arguments.length?(A=Rr(p=N),R):p},R.y=function(N){return arguments.length?(C=Rr(x=N),R):x},R.clipExtent=function(N){return arguments.length?(L=N==null?nv:N,R):L===nv?null:L},R.size=function(N){return arguments.length?R.clipExtent(N&#038;&#038;[[0,0],N]):L===nv?null:L&#038;&#038;L[1]},R};var nv=[[-1e6,-1e6],[1e6,1e6]];function SN(c,p,x){return(c.x-x.x)*(p.y-c.y)-(c.x-p.x)*(x.y-c.y)}e.geom.delaunay=function(c){return e.geom.voronoi().triangles(c)},e.geom.quadtree=function(c,p,x,A,C){var L=hs,R=Hu,E;if(E=arguments.length)return L=LN,R=qN,E===3&#038;&#038;(C=x,A=p,x=p=0),N(c);function N(W){var X,j=Rr(L),ee=Rr(R),de,we,te,se,ue,_e,Te,ve;if(p!=null)ue=p,_e=x,Te=A,ve=C;else if(Te=ve=-(ue=_e=1\/0),de=[],we=[],se=W.length,E)for(te=0;te<se;++te)X=W[te],X.x<ue&#038;&#038;(ue=X.x),X.y<_e&#038;&#038;(_e=X.y),X.x>Te&&(Te=X.x),X.y>ve&&(ve=X.y),de.push(X.x),we.push(X.y);else for(te=0;te<se;++te){var Ye=+j(X=W[te],te),nr=+ee(X,te);Ye<ue&#038;&#038;(ue=Ye),nr<_e&#038;&#038;(_e=nr),Ye>Te&&(Te=Ye),nr>ve&&(ve=nr),de.push(Ye),we.push(nr)}var fr=Te-ue,lr=ve-_e;fr>lr?ve=_e+fr:Te=ue+lr;function dr(mr,Tr,Kr,St,et,rr,Lr,qr){if(!(isNaN(Kr)||isNaN(St)))if(mr.leaf){var Qr=mr.x,wt=mr.y;if(Qr!=null)if(_(Qr-Kr)+_(wt-St)<.01)pr(mr,Tr,Kr,St,et,rr,Lr,qr);else{var Vt=mr.point;mr.x=mr.y=mr.point=null,pr(mr,Vt,Qr,wt,et,rr,Lr,qr),pr(mr,Tr,Kr,St,et,rr,Lr,qr)}else mr.x=Kr,mr.y=St,mr.point=Tr}else pr(mr,Tr,Kr,St,et,rr,Lr,qr)}function pr(mr,Tr,Kr,St,et,rr,Lr,qr){var Qr=(et+Lr)*.5,wt=(rr+qr)*.5,Vt=Kr>=Qr,ma=St>=wt,Ea=ma<<1|Vt;mr.leaf=!1,mr=mr.nodes[Ea]||(mr.nodes[Ea]=p5()),Vt?et=Qr:Lr=Qr,ma?rr=wt:qr=wt,dr(mr,Tr,Kr,St,et,rr,Lr,qr)}var Sr=p5();if(Sr.add=function(mr){dr(Sr,mr,+j(mr,++te),+ee(mr,te),ue,_e,Te,ve)},Sr.visit=function(mr){Vu(mr,Sr,ue,_e,Te,ve)},Sr.find=function(mr){return DN(Sr,mr[0],mr[1],ue,_e,Te,ve)},te=-1,p==null){for(;++te<se;)dr(Sr,W[te],de[te],we[te],ue,_e,Te,ve);--te}else W.forEach(Sr.add);return de=we=W=X=null,Sr}return N.x=function(W){return arguments.length?(L=W,N):L},N.y=function(W){return arguments.length?(R=W,N):R},N.extent=function(W){return arguments.length?(W==null?p=x=A=C=null:(p=+W[0][0],x=+W[0][1],A=+W[1][0],C=+W[1][1]),N):p==null?null:[[p,x],[A,C]]},N.size=function(W){return arguments.length?(W==null?p=x=A=C=null:(p=x=0,A=+W[0],C=+W[1]),N):p==null?null:[A-p,C-x]},N};function LN(c){return c.x}function qN(c){return c.y}function p5(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Vu(c,p,x,A,C,L){if(!c(p,x,A,C,L)){var R=(x+C)*.5,E=(A+L)*.5,N=p.nodes;N[0]&#038;&#038;Vu(c,N[0],x,A,R,E),N[1]&#038;&#038;Vu(c,N[1],R,A,C,E),N[2]&#038;&#038;Vu(c,N[2],x,E,R,L),N[3]&#038;&#038;Vu(c,N[3],R,E,C,L)}}function DN(c,p,x,A,C,L,R){var E=1\/0,N;return(function W(X,j,ee,de,we){if(!(j>L||ee>R||de<A||we<C)){if(te=X.point){var te,se=p-X.x,ue=x-X.y,_e=se*se+ue*ue;if(_e<E){var Te=Math.sqrt(E=_e);A=p-Te,C=x-Te,L=p+Te,R=x+Te,N=te}}for(var ve=X.nodes,Ye=(j+de)*.5,nr=(ee+we)*.5,fr=p>=Ye,lr=x>=nr,dr=lr<<1|fr,pr=dr+4;dr<pr;++dr)if(X=ve[dr&#038;3])switch(dr&#038;3){case 0:W(X,j,ee,Ye,nr);break;case 1:W(X,Ye,ee,de,nr);break;case 2:W(X,j,nr,Ye,we);break;case 3:W(X,Ye,nr,de,we);break}}})(c,A,C,L,R),N}e.interpolateRgb=q1;function q1(c,p){c=e.rgb(c),p=e.rgb(p);var x=c.r,A=c.g,C=c.b,L=p.r-x,R=p.g-A,E=p.b-C;return function(N){return\"#\"+yr(Math.round(x+L*N))+yr(Math.round(A+R*N))+yr(Math.round(C+E*N))}}e.interpolateObject=m5;function m5(c,p){var x={},A={},C;for(C in c)C in p?x[C]=ro(c[C],p[C]):A[C]=c[C];for(C in p)C in c||(A[C]=p[C]);return function(L){for(C in x)A[C]=x[C](L);return A}}e.interpolateNumber=Yi;function Yi(c,p){return c=+c,p=+p,function(x){return c*(1-x)+p*x}}e.interpolateString=y5;function y5(c,p){var x=D1.lastIndex=E1.lastIndex=0,A,C,L,R=-1,E=[],N=[];for(c=c+\"\",p=p+\"\";(A=D1.exec(c))&#038;&#038;(C=E1.exec(p));)(L=C.index)>x&&(L=p.slice(x,L),E[R]?E[R]+=L:E[++R]=L),(A=A[0])===(C=C[0])?E[R]?E[R]+=C:E[++R]=C:(E[++R]=null,N.push({i:R,x:Yi(A,C)})),x=E1.lastIndex;return x<p.length&#038;&#038;(L=p.slice(x),E[R]?E[R]+=L:E[++R]=L),E.length<2?N[0]?(p=N[0].x,function(W){return p(W)+\"\"}):function(){return p}:(p=N.length,function(W){for(var X=0,j;X<p;++X)E[(j=N[X]).i]=j.x(W);return E.join(\"\")})}var D1=\/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?\/g,E1=new RegExp(D1.source,\"g\");e.interpolate=ro;function ro(c,p){for(var x=e.interpolators.length,A;--x>=0&&!(A=e.interpolators[x](c,p)););return A}e.interpolators=[function(c,p){var x=typeof p;return(x===\"string\"?pa.has(p.toLowerCase())||\/^(#|rgb\\(|hsl\\()\/i.test(p)?q1:y5:p instanceof Xr?q1:Array.isArray(p)?iv:x===\"object\"&&isNaN(p)?m5:Yi)(c,p)}],e.interpolateArray=iv;function iv(c,p){var x=[],A=[],C=c.length,L=p.length,R=Math.min(c.length,p.length),E;for(E=0;E<R;++E)x.push(ro(c[E],p[E]));for(;E<C;++E)A[E]=c[E];for(;E<L;++E)A[E]=p[E];return function(N){for(E=0;E<R;++E)A[E]=x[E](N);return A}}var g5=function(){return V},EN=e.map({linear:g5,poly:IN,quad:function(){return zN},cubic:function(){return NN},sin:function(){return HN},exp:function(){return ON},circle:function(){return BN},elastic:YN,back:UN,bounce:function(){return VN}}),PN=e.map({in:V,out:b5,\"in-out\":x5,\"out-in\":function(c){return x5(b5(c))}});e.ease=function(c){var p=c.indexOf(\"-\"),x=p>=0?c.slice(0,p):c,A=p>=0?c.slice(p+1):\"in\";return x=EN.get(x)||g5,A=PN.get(A)||V,RN(A(x.apply(null,r.call(arguments,1))))};function RN(c){return function(p){return p<=0?0:p>=1?1:c(p)}}function b5(c){return function(p){return 1-c(1-p)}}function x5(c){return function(p){return .5*(p<.5?c(2*p):2-c(2-2*p))}}function zN(c){return c*c}function NN(c){return c*c*c}function FN(c){if(c<=0)return 0;if(c>=1)return 1;var p=c*c,x=p*c;return 4*(c<.5?x:3*(c-p)+x-.75)}function IN(c){return function(p){return Math.pow(p,c)}}function HN(c){return 1-Math.cos(c*sr)}function ON(c){return Math.pow(2,10*(c-1))}function BN(c){return 1-Math.sqrt(1-c*c)}function YN(c,p){var x;return arguments.length<2&#038;&#038;(p=.45),arguments.length?x=p\/$e*Math.asin(1\/c):(c=1,x=p\/4),function(A){return 1+c*Math.pow(2,-10*A)*Math.sin((A-x)*$e\/p)}}function UN(c){return c||(c=1.70158),function(p){return p*p*((c+1)*p-c)}}function VN(c){return c<1\/2.75?7.5625*c*c:c<2\/2.75?7.5625*(c-=1.5\/2.75)*c+.75:c<2.5\/2.75?7.5625*(c-=2.25\/2.75)*c+.9375:7.5625*(c-=2.625\/2.75)*c+.984375}e.interpolateHcl=GN;function GN(c,p){c=e.hcl(c),p=e.hcl(p);var x=c.h,A=c.c,C=c.l,L=p.h-x,R=p.c-A,E=p.l-C;return isNaN(R)&#038;&#038;(R=0,A=isNaN(A)?p.c:A),isNaN(L)?(L=0,x=isNaN(x)?p.h:x):L>180?L-=360:L<-180&#038;&#038;(L+=360),function(N){return Un(x+L*N,A+R*N,C+E*N)+\"\"}}e.interpolateHsl=WN;function WN(c,p){c=e.hsl(c),p=e.hsl(p);var x=c.h,A=c.s,C=c.l,L=p.h-x,R=p.s-A,E=p.l-C;return isNaN(R)&#038;&#038;(R=0,A=isNaN(A)?p.s:A),isNaN(L)?(L=0,x=isNaN(x)?p.h:x):L>180?L-=360:L<-180&#038;&#038;(L+=360),function(N){return sa(x+L*N,A+R*N,C+E*N)+\"\"}}e.interpolateLab=XN;function XN(c,p){c=e.lab(c),p=e.lab(p);var x=c.l,A=c.a,C=c.b,L=p.l-x,R=p.a-A,E=p.b-C;return function(N){return Wc(x+L*N,A+R*N,C+E*N)+\"\"}}e.interpolateRound=_5;function _5(c,p){return p-=c,function(x){return Math.round(c+p*x)}}e.transform=function(c){var p=a.createElementNS(e.ns.prefix.svg,\"g\");return(e.transform=function(x){if(x!=null){p.setAttribute(\"transform\",x);var A=p.transform.baseVal.consolidate()}return new w5(A?A.matrix:JN)})(c)};function w5(c){var p=[c.a,c.b],x=[c.c,c.d],A=M5(p),C=T5(p,x),L=M5(ZN(x,p,-C))||0;p[0]*x[1]<x[0]*p[1]&#038;&#038;(p[0]*=-1,p[1]*=-1,A*=-1,C*=-1),this.rotate=(A?Math.atan2(p[1],p[0]):Math.atan2(-x[0],x[1]))*Ir,this.translate=[c.e,c.f],this.scale=[A,L],this.skew=L?Math.atan2(C,L)*Ir:0}w5.prototype.toString=function(){return\"translate(\"+this.translate+\")rotate(\"+this.rotate+\")skewX(\"+this.skew+\")scale(\"+this.scale+\")\"};function T5(c,p){return c[0]*p[0]+c[1]*p[1]}function M5(c){var p=Math.sqrt(T5(c,c));return p&#038;&#038;(c[0]\/=p,c[1]\/=p),p}function ZN(c,p,x){return c[0]+=x*p[0],c[1]+=x*p[1],c}var JN={a:1,b:0,c:0,d:1,e:0,f:0};e.interpolateTransform=A5;function gs(c){return c.length?c.pop()+\",\":\"\"}function KN(c,p,x,A){if(c[0]!==p[0]||c[1]!==p[1]){var C=x.push(\"translate(\",null,\",\",null,\")\");A.push({i:C-4,x:Yi(c[0],p[0])},{i:C-2,x:Yi(c[1],p[1])})}else(p[0]||p[1])&#038;&#038;x.push(\"translate(\"+p+\")\")}function QN(c,p,x,A){c!==p?(c-p>180?p+=360:p-c>180&&(c+=360),A.push({i:x.push(gs(x)+\"rotate(\",null,\")\")-2,x:Yi(c,p)})):p&&x.push(gs(x)+\"rotate(\"+p+\")\")}function $N(c,p,x,A){c!==p?A.push({i:x.push(gs(x)+\"skewX(\",null,\")\")-2,x:Yi(c,p)}):p&&x.push(gs(x)+\"skewX(\"+p+\")\")}function jN(c,p,x,A){if(c[0]!==p[0]||c[1]!==p[1]){var C=x.push(gs(x)+\"scale(\",null,\",\",null,\")\");A.push({i:C-4,x:Yi(c[0],p[0])},{i:C-2,x:Yi(c[1],p[1])})}else(p[0]!==1||p[1]!==1)&&x.push(gs(x)+\"scale(\"+p+\")\")}function A5(c,p){var x=[],A=[];return c=e.transform(c),p=e.transform(p),KN(c.translate,p.translate,x,A),QN(c.rotate,p.rotate,x,A),$N(c.skew,p.skew,x,A),jN(c.scale,p.scale,x,A),c=p=null,function(C){for(var L=-1,R=A.length,E;++L<R;)x[(E=A[L]).i]=E.x(C);return x.join(\"\")}}function eF(c,p){return p=(p-=c=+c)||1\/p,function(x){return(x-c)\/p}}function rF(c,p){return p=(p-=c=+c)||1\/p,function(x){return Math.max(0,Math.min(1,(x-c)\/p))}}e.layout={},e.layout.bundle=function(){return function(c){for(var p=[],x=-1,A=c.length;++x<A;)p.push(tF(c[x]));return p}};function tF(c){for(var p=c.source,x=c.target,A=aF(p,x),C=[p];p!==A;)p=p.parent,C.push(p);for(var L=C.length;x!==A;)C.splice(L,0,x),x=x.parent;return C}function k5(c){for(var p=[],x=c.parent;x!=null;)p.push(c),c=x,x=x.parent;return p.push(c),p}function aF(c,p){if(c===p)return c;for(var x=k5(c),A=k5(p),C=x.pop(),L=A.pop(),R=null;C===L;)R=C,C=x.pop(),L=A.pop();return R}e.layout.chord=function(){var c={},p,x,A,C,L=0,R,E,N;function W(){var j={},ee=[],de=e.range(C),we=[],te,se,ue,_e,Te;for(p=[],x=[],te=0,_e=-1;++_e<C;){for(se=0,Te=-1;++Te<C;)se+=A[_e][Te];ee.push(se),we.push(e.range(C)),te+=se}for(R&#038;&#038;de.sort(function(Sr,mr){return R(ee[Sr],ee[mr])}),E&#038;&#038;we.forEach(function(Sr,mr){Sr.sort(function(Tr,Kr){return E(A[mr][Tr],A[mr][Kr])})}),te=($e-L*C)\/te,se=0,_e=-1;++_e<C;){for(ue=se,Te=-1;++Te<C;){var ve=de[_e],Ye=we[ve][Te],nr=A[ve][Ye],fr=se,lr=se+=nr*te;j[ve+\"-\"+Ye]={index:ve,subindex:Ye,startAngle:fr,endAngle:lr,value:nr}}x[ve]={index:ve,startAngle:ue,endAngle:se,value:ee[ve]},se+=L}for(_e=-1;++_e<C;)for(Te=_e-1;++Te<C;){var dr=j[_e+\"-\"+Te],pr=j[Te+\"-\"+_e];(dr.value||pr.value)&#038;&#038;p.push(dr.value<pr.value?{source:pr,target:dr}:{source:dr,target:pr})}N&#038;&#038;X()}function X(){p.sort(function(j,ee){return N((j.source.value+j.target.value)\/2,(ee.source.value+ee.target.value)\/2)})}return c.matrix=function(j){return arguments.length?(C=(A=j)&#038;&#038;A.length,p=x=null,c):A},c.padding=function(j){return arguments.length?(L=j,p=x=null,c):L},c.sortGroups=function(j){return arguments.length?(R=j,p=x=null,c):R},c.sortSubgroups=function(j){return arguments.length?(E=j,p=null,c):E},c.sortChords=function(j){return arguments.length?(N=j,p&#038;&#038;X(),c):N},c.chords=function(){return p||W(),p},c.groups=function(){return x||W(),x},c},e.layout.force=function(){var c={},p=e.dispatch(\"start\",\"tick\",\"end\"),x,A=[1,1],C,L,R=.9,E=sF,N=uF,W=-30,X=fF,j=.1,ee=.64,de=[],we=[],te,se,ue;function _e(ve){return function(Ye,nr,fr,lr){if(Ye.point!==ve){var dr=Ye.cx-ve.x,pr=Ye.cy-ve.y,Sr=lr-nr,mr=dr*dr+pr*pr;if(Sr*Sr\/ee<mr){if(mr<X){var Tr=Ye.charge\/mr;ve.px-=dr*Tr,ve.py-=pr*Tr}return!0}if(Ye.point&#038;&#038;mr&#038;&#038;mr<X){var Tr=Ye.pointCharge\/mr;ve.px-=dr*Tr,ve.py-=pr*Tr}}return!Ye.charge}}c.tick=function(){if((L*=.99)<.005)return x=null,p.end({type:\"end\",alpha:L=0}),!0;var ve=de.length,Ye=we.length,nr,fr,lr,dr,pr,Sr,mr,Tr,Kr;for(fr=0;fr<Ye;++fr)lr=we[fr],dr=lr.source,pr=lr.target,Tr=pr.x-dr.x,Kr=pr.y-dr.y,(Sr=Tr*Tr+Kr*Kr)&#038;&#038;(Sr=L*se[fr]*((Sr=Math.sqrt(Sr))-te[fr])\/Sr,Tr*=Sr,Kr*=Sr,pr.x-=Tr*(mr=dr.weight+pr.weight?dr.weight\/(dr.weight+pr.weight):.5),pr.y-=Kr*mr,dr.x+=Tr*(mr=1-mr),dr.y+=Kr*mr);if((mr=L*j)&#038;&#038;(Tr=A[0]\/2,Kr=A[1]\/2,fr=-1,mr))for(;++fr<ve;)lr=de[fr],lr.x+=(Tr-lr.x)*mr,lr.y+=(Kr-lr.y)*mr;if(W)for(C5(nr=e.geom.quadtree(de),L,ue),fr=-1;++fr<ve;)(lr=de[fr]).fixed||nr.visit(_e(lr));for(fr=-1;++fr<ve;)lr=de[fr],lr.fixed?(lr.x=lr.px,lr.y=lr.py):(lr.x-=(lr.px-(lr.px=lr.x))*R,lr.y-=(lr.py-(lr.py=lr.y))*R);p.tick({type:\"tick\",alpha:L})},c.nodes=function(ve){return arguments.length?(de=ve,c):de},c.links=function(ve){return arguments.length?(we=ve,c):we},c.size=function(ve){return arguments.length?(A=ve,c):A},c.linkDistance=function(ve){return arguments.length?(E=typeof ve==\"function\"?ve:+ve,c):E},c.distance=c.linkDistance,c.linkStrength=function(ve){return arguments.length?(N=typeof ve==\"function\"?ve:+ve,c):N},c.friction=function(ve){return arguments.length?(R=+ve,c):R},c.charge=function(ve){return arguments.length?(W=typeof ve==\"function\"?ve:+ve,c):W},c.chargeDistance=function(ve){return arguments.length?(X=ve*ve,c):Math.sqrt(X)},c.gravity=function(ve){return arguments.length?(j=+ve,c):j},c.theta=function(ve){return arguments.length?(ee=ve*ve,c):Math.sqrt(ee)},c.alpha=function(ve){return arguments.length?(ve=+ve,L?ve>0?L=ve:(x.c=null,x.t=NaN,x=null,p.end({type:\"end\",alpha:L=0})):ve>0&&(p.start({type:\"start\",alpha:L=ve}),x=jc(c.tick)),c):L},c.start=function(){var ve,Ye=de.length,nr=we.length,fr=A[0],lr=A[1],dr,pr;for(ve=0;ve<Ye;++ve)(pr=de[ve]).index=ve,pr.weight=0;for(ve=0;ve<nr;++ve)pr=we[ve],typeof pr.source==\"number\"&#038;&#038;(pr.source=de[pr.source]),typeof pr.target==\"number\"&#038;&#038;(pr.target=de[pr.target]),++pr.source.weight,++pr.target.weight;for(ve=0;ve<Ye;++ve)pr=de[ve],isNaN(pr.x)&#038;&#038;(pr.x=Sr(\"x\",fr)),isNaN(pr.y)&#038;&#038;(pr.y=Sr(\"y\",lr)),isNaN(pr.px)&#038;&#038;(pr.px=pr.x),isNaN(pr.py)&#038;&#038;(pr.py=pr.y);if(te=[],typeof E==\"function\")for(ve=0;ve<nr;++ve)te[ve]=+E.call(this,we[ve],ve);else for(ve=0;ve<nr;++ve)te[ve]=E;if(se=[],typeof N==\"function\")for(ve=0;ve<nr;++ve)se[ve]=+N.call(this,we[ve],ve);else for(ve=0;ve<nr;++ve)se[ve]=N;if(ue=[],typeof W==\"function\")for(ve=0;ve<Ye;++ve)ue[ve]=+W.call(this,de[ve],ve);else for(ve=0;ve<Ye;++ve)ue[ve]=W;function Sr(mr,Tr){if(!dr){for(dr=new Array(Ye),et=0;et<Ye;++et)dr[et]=[];for(et=0;et<nr;++et){var Kr=we[et];dr[Kr.source.index].push(Kr.target),dr[Kr.target.index].push(Kr.source)}}for(var St=dr[ve],et=-1,rr=St.length,Lr;++et<rr;)if(!isNaN(Lr=St[et][mr]))return Lr;return Math.random()*Tr}return c.resume()},c.resume=function(){return c.alpha(.1)},c.stop=function(){return c.alpha(0)},c.drag=function(){if(C||(C=e.behavior.drag().origin(V).on(\"dragstart.force\",nF).on(\"drag.force\",Te).on(\"dragend.force\",iF)),!arguments.length)return C;this.on(\"mouseover.force\",lF).on(\"mouseout.force\",oF).call(C)};function Te(ve){ve.px=e.event.x,ve.py=e.event.y,c.resume()}return e.rebind(c,p,\"on\")};function nF(c){c.fixed|=2}function iF(c){c.fixed&#038;=-7}function lF(c){c.fixed|=4,c.px=c.x,c.py=c.y}function oF(c){c.fixed&#038;=-5}function C5(c,p,x){var A=0,C=0;if(c.charge=0,!c.leaf)for(var L=c.nodes,R=L.length,E=-1,N;++E<R;)N=L[E],N!=null&#038;&#038;(C5(N,p,x),c.charge+=N.charge,A+=N.charge*N.cx,C+=N.charge*N.cy);if(c.point){c.leaf||(c.point.x+=Math.random()-.5,c.point.y+=Math.random()-.5);var W=p*x[c.point.index];c.charge+=c.pointCharge=W,A+=W*c.point.x,C+=W*c.point.y}c.cx=A\/c.charge,c.cy=C\/c.charge}var sF=20,uF=1,fF=1\/0;e.layout.hierarchy=function(){var c=hF,p=cF,x=vF;function A(C){var L=[C],R=[],E;for(C.depth=0;(E=L.pop())!=null;)if(R.push(E),(W=p.call(A,E,E.depth))&#038;&#038;(N=W.length)){for(var N,W,X;--N>=0;)L.push(X=W[N]),X.parent=E,X.depth=E.depth+1;x&&(E.value=0),E.children=W}else x&&(E.value=+x.call(A,E,E.depth)||0),delete E.children;return mi(C,function(j){var ee,de;c&&(ee=j.children)&&ee.sort(c),x&&(de=j.parent)&&(de.value+=j.value)}),R}return A.sort=function(C){return arguments.length?(c=C,A):c},A.children=function(C){return arguments.length?(p=C,A):p},A.value=function(C){return arguments.length?(x=C,A):x},A.revalue=function(C){return x&&(Wu(C,function(L){L.children&&(L.value=0)}),mi(C,function(L){var R;L.children||(L.value=+x.call(A,L,L.depth)||0),(R=L.parent)&&(R.value+=L.value)})),C},A};function Gu(c,p){return e.rebind(c,p,\"sort\",\"children\",\"value\"),c.nodes=c,c.links=dF,c}function Wu(c,p){for(var x=[c];(c=x.pop())!=null;)if(p(c),(C=c.children)&&(A=C.length))for(var A,C;--A>=0;)x.push(C[A])}function mi(c,p){for(var x=[c],A=[];(c=x.pop())!=null;)if(A.push(c),(R=c.children)&&(L=R.length))for(var C=-1,L,R;++C<L;)x.push(R[C]);for(;(c=A.pop())!=null;)p(c)}function cF(c){return c.children}function vF(c){return c.value}function hF(c,p){return p.value-c.value}function dF(c){return e.merge(c.map(function(p){return(p.children||[]).map(function(x){return{source:p,target:x}})}))}e.layout.partition=function(){var c=e.layout.hierarchy(),p=[1,1];function x(L,R,E,N){var W=L.children;if(L.x=R,L.y=L.depth*N,L.dx=E,L.dy=N,W&#038;&#038;(j=W.length)){var X=-1,j,ee,de;for(E=L.value?E\/L.value:0;++X<j;)x(ee=W[X],R,de=ee.value*E,N),R+=de}}function A(L){var R=L.children,E=0;if(R&#038;&#038;(W=R.length))for(var N=-1,W;++N<W;)E=Math.max(E,A(R[N]));return 1+E}function C(L,R){var E=c.call(this,L,R);return x(E[0],0,p[0],p[1]\/A(E[0])),E}return C.size=function(L){return arguments.length?(p=L,C):p},Gu(C,c)},e.layout.pie=function(){var c=Number,p=S5,x=0,A=$e,C=0;function L(R){var E=R.length,N=R.map(function(_e,Te){return+c.call(L,_e,Te)}),W=+(typeof x==\"function\"?x.apply(this,arguments):x),X=(typeof A==\"function\"?A.apply(this,arguments):A)-W,j=Math.min(Math.abs(X)\/E,+(typeof C==\"function\"?C.apply(this,arguments):C)),ee=j*(X<0?-1:1),de=e.sum(N),we=de?(X-E*ee)\/de:0,te=e.range(E),se=[],ue;return p!=null&#038;&#038;te.sort(p===S5?function(_e,Te){return N[Te]-N[_e]}:function(_e,Te){return p(R[_e],R[Te])}),te.forEach(function(_e){se[_e]={data:R[_e],value:ue=N[_e],startAngle:W,endAngle:W+=ue*we+ee,padAngle:j}}),se}return L.value=function(R){return arguments.length?(c=R,L):c},L.sort=function(R){return arguments.length?(p=R,L):p},L.startAngle=function(R){return arguments.length?(x=R,L):x},L.endAngle=function(R){return arguments.length?(A=R,L):A},L.padAngle=function(R){return arguments.length?(C=R,L):C},L};var S5={};e.layout.stack=function(){var c=V,p=P1,x=R1,A=yF,C=pF,L=mF;function R(E,N){if(!(we=E.length))return E;var W=E.map(function(_e,Te){return c.call(R,_e,Te)}),X=W.map(function(_e){return _e.map(function(Te,ve){return[C.call(R,Te,ve),L.call(R,Te,ve)]})}),j=p.call(R,X,N);W=e.permute(W,j),X=e.permute(X,j);var ee=x.call(R,X,N),de=W[0].length,we,te,se,ue;for(se=0;se<de;++se)for(A.call(R,W[0][se],ue=ee[se],X[0][se][1]),te=1;te<we;++te)A.call(R,W[te][se],ue+=X[te-1][se][1],X[te][se][1]);return E}return R.values=function(E){return arguments.length?(c=E,R):c},R.order=function(E){return arguments.length?(p=typeof E==\"function\"?E:gF.get(E)||P1,R):p},R.offset=function(E){return arguments.length?(x=typeof E==\"function\"?E:bF.get(E)||R1,R):x},R.x=function(E){return arguments.length?(C=E,R):C},R.y=function(E){return arguments.length?(L=E,R):L},R.out=function(E){return arguments.length?(A=E,R):A},R};function pF(c){return c.x}function mF(c){return c.y}function yF(c,p,x){c.y0=p,c.y=x}var gF=e.map({\"inside-out\":function(c){var p=c.length,x,A,C=c.map(xF),L=c.map(_F),R=e.range(p).sort(function(j,ee){return C[j]-C[ee]}),E=0,N=0,W=[],X=[];for(x=0;x<p;++x)A=R[x],E<N?(E+=L[A],W.push(A)):(N+=L[A],X.push(A));return X.reverse().concat(W)},reverse:function(c){return e.range(c.length).reverse()},default:P1}),bF=e.map({silhouette:function(c){var p=c.length,x=c[0].length,A=[],C=0,L,R,E,N=[];for(R=0;R<x;++R){for(L=0,E=0;L<p;L++)E+=c[L][R][1];E>C&&(C=E),A.push(E)}for(R=0;R<x;++R)N[R]=(C-A[R])\/2;return N},wiggle:function(c){var p=c.length,x=c[0],A=x.length,C,L,R,E,N,W,X,j,ee,de=[];for(de[0]=j=ee=0,L=1;L<A;++L){for(C=0,E=0;C<p;++C)E+=c[C][L][1];for(C=0,N=0,X=x[L][0]-x[L-1][0];C<p;++C){for(R=0,W=(c[C][L][1]-c[C][L-1][1])\/(2*X);R<C;++R)W+=(c[R][L][1]-c[R][L-1][1])\/X;N+=W*c[C][L][1]}de[L]=j-=E?N\/E*X:0,j<ee&#038;&#038;(ee=j)}for(L=0;L<A;++L)de[L]-=ee;return de},expand:function(c){var p=c.length,x=c[0].length,A=1\/p,C,L,R,E=[];for(L=0;L<x;++L){for(C=0,R=0;C<p;C++)R+=c[C][L][1];if(R)for(C=0;C<p;C++)c[C][L][1]\/=R;else for(C=0;C<p;C++)c[C][L][1]=A}for(L=0;L<x;++L)E[L]=0;return E},zero:R1});function P1(c){return e.range(c.length)}function R1(c){for(var p=-1,x=c[0].length,A=[];++p<x;)A[p]=0;return A}function xF(c){for(var p=1,x=0,A=c[0][1],C,L=c.length;p<L;++p)(C=c[p][1])>A&&(x=p,A=C);return x}function _F(c){return c.reduce(wF,0)}function wF(c,p){return c+p[1]}e.layout.histogram=function(){var c=!0,p=Number,x=MF,A=TF;function C(L,ee){for(var E=[],N=L.map(p,this),W=x.call(this,N,ee),X=A.call(this,W,N,ee),j,ee=-1,de=N.length,we=X.length-1,te=c?1:1\/de,se;++ee<we;)j=E[ee]=[],j.dx=X[ee+1]-(j.x=X[ee]),j.y=0;if(we>0)for(ee=-1;++ee<de;)se=N[ee],se>=W[0]&&se<=W[1]&#038;&#038;(j=E[e.bisect(X,se,1,we)-1],j.y+=te,j.push(L[ee]));return E}return C.value=function(L){return arguments.length?(p=L,C):p},C.range=function(L){return arguments.length?(x=Rr(L),C):x},C.bins=function(L){return arguments.length?(A=typeof L==\"number\"?function(R){return L5(R,L)}:Rr(L),C):A},C.frequency=function(L){return arguments.length?(c=!!L,C):c},C};function TF(c,p){return L5(c,Math.ceil(Math.log(p.length)\/Math.LN2+1))}function L5(c,p){for(var x=-1,A=+c[0],C=(c[1]-A)\/p,L=[];++x<=p;)L[x]=C*x+A;return L}function MF(c){return[e.min(c),e.max(c)]}e.layout.pack=function(){var c=e.layout.hierarchy().sort(AF),p=0,x=[1,1],A;function C(L,R){var E=c.call(this,L,R),N=E[0],W=x[0],X=x[1],j=A==null?Math.sqrt:typeof A==\"function\"?A:function(){return A};if(N.x=N.y=0,mi(N,function(de){de.r=+j(de.value)}),mi(N,E5),p){var ee=p*(A?1:Math.max(2*N.r\/W,2*N.r\/X))\/2;mi(N,function(de){de.r+=ee}),mi(N,E5),mi(N,function(de){de.r-=ee})}return P5(N,W\/2,X\/2,A?1:1\/Math.max(2*N.r\/W,2*N.r\/X)),E}return C.size=function(L){return arguments.length?(x=L,C):x},C.radius=function(L){return arguments.length?(A=L==null||typeof L==\"function\"?L:+L,C):A},C.padding=function(L){return arguments.length?(p=+L,C):p},Gu(C,c)};function AF(c,p){return c.value-p.value}function z1(c,p){var x=c._pack_next;c._pack_next=p,p._pack_prev=c,p._pack_next=x,x._pack_prev=p}function q5(c,p){c._pack_next=p,p._pack_prev=c}function D5(c,p){var x=p.x-c.x,A=p.y-c.y,C=c.r+p.r;return .999*C*C>x*x+A*A}function E5(c){if(!(p=c.children)||!(ee=p.length))return;var p,x=1\/0,A=-1\/0,C=1\/0,L=-1\/0,R,E,N,W,X,j,ee;function de(ve){x=Math.min(ve.x-ve.r,x),A=Math.max(ve.x+ve.r,A),C=Math.min(ve.y-ve.r,C),L=Math.max(ve.y+ve.r,L)}if(p.forEach(kF),R=p[0],R.x=-R.r,R.y=0,de(R),ee>1&&(E=p[1],E.x=E.r,E.y=0,de(E),ee>2))for(N=p[2],R5(R,E,N),de(N),z1(R,N),R._pack_prev=N,z1(N,E),E=R._pack_next,W=3;W<ee;W++){R5(R,E,N=p[W]);var we=0,te=1,se=1;for(X=E._pack_next;X!==E;X=X._pack_next,te++)if(D5(X,N)){we=1;break}if(we==1)for(j=R._pack_prev;j!==X._pack_prev&#038;&#038;!D5(j,N);j=j._pack_prev,se++);we?(te<se||te==se&#038;&#038;E.r<R.r?q5(R,E=X):q5(R=j,E),W--):(z1(R,N),E=N,de(N))}var ue=(x+A)\/2,_e=(C+L)\/2,Te=0;for(W=0;W<ee;W++)N=p[W],N.x-=ue,N.y-=_e,Te=Math.max(Te,N.r+Math.sqrt(N.x*N.x+N.y*N.y));c.r=Te,p.forEach(CF)}function kF(c){c._pack_next=c._pack_prev=c}function CF(c){delete c._pack_next,delete c._pack_prev}function P5(c,p,x,A){var C=c.children;if(c.x=p+=A*c.x,c.y=x+=A*c.y,c.r*=A,C)for(var L=-1,R=C.length;++L<R;)P5(C[L],p,x,A)}function R5(c,p,x){var A=c.r+x.r,C=p.x-c.x,L=p.y-c.y;if(A&#038;&#038;(C||L)){var R=p.r+x.r,E=C*C+L*L;R*=R,A*=A;var N=.5+(A-R)\/(2*E),W=Math.sqrt(Math.max(0,2*R*(A+E)-(A-=E)*A-R*R))\/(2*E);x.x=c.x+N*C+W*L,x.y=c.y+N*L-W*C}else x.x=c.x+A,x.y=c.y}e.layout.tree=function(){var c=e.layout.hierarchy().sort(null).value(null),p=z5,x=[1,1],A=null;function C(X,j){var ee=c.call(this,X,j),de=ee[0],we=L(de);if(mi(we,R),we.parent.m=-we.z,Wu(we,E),A)Wu(de,W);else{var te=de,se=de,ue=de;Wu(de,function(Ye){Ye.x<te.x&#038;&#038;(te=Ye),Ye.x>se.x&&(se=Ye),Ye.depth>ue.depth&&(ue=Ye)});var _e=p(te,se)\/2-te.x,Te=x[0]\/(se.x+p(se,te)\/2+_e),ve=x[1]\/(ue.depth||1);Wu(de,function(Ye){Ye.x=(Ye.x+_e)*Te,Ye.y=Ye.depth*ve})}return ee}function L(X){for(var j={A:null,children:[X]},ee=[j],de;(de=ee.pop())!=null;)for(var we=de.children,te,se=0,ue=we.length;se<ue;++se)ee.push((we[se]=te={_:we[se],parent:de,children:(te=we[se].children)&#038;&#038;te.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:se}).a=te);return j.children[0]}function R(X){var j=X.children,ee=X.parent.children,de=X.i?ee[X.i-1]:null;if(j.length){LF(X);var we=(j[0].z+j[j.length-1].z)\/2;de?(X.z=de.z+p(X._,de._),X.m=X.z-we):X.z=we}else de&#038;&#038;(X.z=de.z+p(X._,de._));X.parent.A=N(X,de,X.parent.A||ee[0])}function E(X){X._.x=X.z+X.parent.m,X.m+=X.parent.m}function N(X,j,ee){if(j){for(var de=X,we=X,te=j,se=de.parent.children[0],ue=de.m,_e=we.m,Te=te.m,ve=se.m,Ye;te=F1(te),de=N1(de),te&#038;&de;)se=N1(se),we=F1(we),we.a=X,Ye=te.z+Te-de.z-ue+p(te._,de._),Ye>0&&(SF(qF(te,X,ee),X,Ye),ue+=Ye,_e+=Ye),Te+=te.m,ue+=de.m,ve+=se.m,_e+=we.m;te&&!F1(we)&&(we.t=te,we.m+=Te-_e),de&&!N1(se)&&(se.t=de,se.m+=ue-ve,ee=X)}return ee}function W(X){X.x*=x[0],X.y=X.depth*x[1]}return C.separation=function(X){return arguments.length?(p=X,C):p},C.size=function(X){return arguments.length?(A=(x=X)==null?W:null,C):A?null:x},C.nodeSize=function(X){return arguments.length?(A=(x=X)==null?null:W,C):A?x:null},Gu(C,c)};function z5(c,p){return c.parent==p.parent?1:2}function N1(c){var p=c.children;return p.length?p[0]:c.t}function F1(c){var p=c.children,x;return(x=p.length)?p[x-1]:c.t}function SF(c,p,x){var A=x\/(p.i-c.i);p.c-=A,p.s+=x,c.c+=A,p.z+=x,p.m+=x}function LF(c){for(var p=0,x=0,A=c.children,C=A.length,L;--C>=0;)L=A[C],L.z+=p,L.m+=p,p+=L.s+(x+=L.c)}function qF(c,p,x){return c.a.parent===p.parent?c.a:x}e.layout.cluster=function(){var c=e.layout.hierarchy().sort(null).value(null),p=z5,x=[1,1],A=!1;function C(L,R){var E=c.call(this,L,R),N=E[0],W,X=0;mi(N,function(te){var se=te.children;se&&se.length?(te.x=EF(se),te.y=DF(se)):(te.x=W?X+=p(te,W):0,te.y=0,W=te)});var j=N5(N),ee=F5(N),de=j.x-p(j,ee)\/2,we=ee.x+p(ee,j)\/2;return mi(N,A?function(te){te.x=(te.x-N.x)*x[0],te.y=(N.y-te.y)*x[1]}:function(te){te.x=(te.x-de)\/(we-de)*x[0],te.y=(1-(N.y?te.y\/N.y:1))*x[1]}),E}return C.separation=function(L){return arguments.length?(p=L,C):p},C.size=function(L){return arguments.length?(A=(x=L)==null,C):A?null:x},C.nodeSize=function(L){return arguments.length?(A=(x=L)!=null,C):A?x:null},Gu(C,c)};function DF(c){return 1+e.max(c,function(p){return p.y})}function EF(c){return c.reduce(function(p,x){return p+x.x},0)\/c.length}function N5(c){var p=c.children;return p&&p.length?N5(p[0]):c}function F5(c){var p=c.children,x;return p&&(x=p.length)?F5(p[x-1]):c}e.layout.treemap=function(){var c=e.layout.hierarchy(),p=Math.round,x=[1,1],A=null,C=I1,L=!1,R,E=\"squarify\",N=.5*(1+Math.sqrt(5));function W(te,se){for(var ue=-1,_e=te.length,Te,ve;++ue<_e;)ve=(Te=te[ue]).value*(se<0?0:se),Te.area=isNaN(ve)||ve<=0?0:ve}function X(te){var se=te.children;if(se&#038;&#038;se.length){var ue=C(te),_e=[],Te=se.slice(),ve,Ye=1\/0,nr,fr=E===\"slice\"?ue.dx:E===\"dice\"?ue.dy:E===\"slice-dice\"?te.depth&#038;1?ue.dy:ue.dx:Math.min(ue.dx,ue.dy),lr;for(W(Te,ue.dx*ue.dy\/te.value),_e.area=0;(lr=Te.length)>0;)_e.push(ve=Te[lr-1]),_e.area+=ve.area,E!==\"squarify\"||(nr=ee(_e,fr))<=Ye?(Te.pop(),Ye=nr):(_e.area-=_e.pop().area,de(_e,fr,ue,!1),fr=Math.min(ue.dx,ue.dy),_e.length=_e.area=0,Ye=1\/0);_e.length&#038;&#038;(de(_e,fr,ue,!0),_e.length=_e.area=0),se.forEach(X)}}function j(te){var se=te.children;if(se&#038;&#038;se.length){var ue=C(te),_e=se.slice(),Te,ve=[];for(W(_e,ue.dx*ue.dy\/te.value),ve.area=0;Te=_e.pop();)ve.push(Te),ve.area+=Te.area,Te.z!=null&#038;&#038;(de(ve,Te.z?ue.dx:ue.dy,ue,!_e.length),ve.length=ve.area=0);se.forEach(j)}}function ee(te,se){for(var ue=te.area,_e,Te=0,ve=1\/0,Ye=-1,nr=te.length;++Ye<nr;)(_e=te[Ye].area)&#038;&#038;(_e<ve&#038;&#038;(ve=_e),_e>Te&&(Te=_e));return ue*=ue,se*=se,ue?Math.max(se*Te*N\/ue,ue\/(se*ve*N)):1\/0}function de(te,se,ue,_e){var Te=-1,ve=te.length,Ye=ue.x,nr=ue.y,fr=se?p(te.area\/se):0,lr;if(se==ue.dx){for((_e||fr>ue.dy)&&(fr=ue.dy);++Te<ve;)lr=te[Te],lr.x=Ye,lr.y=nr,lr.dy=fr,Ye+=lr.dx=Math.min(ue.x+ue.dx-Ye,fr?p(lr.area\/fr):0);lr.z=!0,lr.dx+=ue.x+ue.dx-Ye,ue.y+=fr,ue.dy-=fr}else{for((_e||fr>ue.dx)&&(fr=ue.dx);++Te<ve;)lr=te[Te],lr.x=Ye,lr.y=nr,lr.dx=fr,nr+=lr.dy=Math.min(ue.y+ue.dy-nr,fr?p(lr.area\/fr):0);lr.z=!1,lr.dy+=ue.y+ue.dy-nr,ue.x+=fr,ue.dx-=fr}}function we(te){var se=R||c(te),ue=se[0];return ue.x=ue.y=0,ue.value?(ue.dx=x[0],ue.dy=x[1]):ue.dx=ue.dy=0,R&#038;&#038;c.revalue(ue),W([ue],ue.dx*ue.dy\/ue.value),(R?j:X)(ue),L&#038;&#038;(R=se),se}return we.size=function(te){return arguments.length?(x=te,we):x},we.padding=function(te){if(!arguments.length)return A;function se(Te){var ve=te.call(we,Te,Te.depth);return ve==null?I1(Te):I5(Te,typeof ve==\"number\"?[ve,ve,ve,ve]:ve)}function ue(Te){return I5(Te,te)}var _e;return C=(A=te)==null?I1:(_e=typeof te)==\"function\"?se:(_e===\"number\"&#038;&#038;(te=[te,te,te,te]),ue),we},we.round=function(te){return arguments.length?(p=te?Math.round:Number,we):p!=Number},we.sticky=function(te){return arguments.length?(L=te,R=null,we):L},we.ratio=function(te){return arguments.length?(N=te,we):N},we.mode=function(te){return arguments.length?(E=te+\"\",we):E},Gu(we,c)};function I1(c){return{x:c.x,y:c.y,dx:c.dx,dy:c.dy}}function I5(c,p){var x=c.x+p[3],A=c.y+p[0],C=c.dx-p[1]-p[3],L=c.dy-p[0]-p[2];return C<0&#038;&#038;(x+=C\/2,C=0),L<0&#038;&#038;(A+=L\/2,L=0),{x,y:A,dx:C,dy:L}}e.random={normal:function(c,p){var x=arguments.length;return x<2&#038;&#038;(p=1),x<1&#038;&#038;(c=0),function(){var A,C,L;do A=Math.random()*2-1,C=Math.random()*2-1,L=A*A+C*C;while(!L||L>1);return c+p*A*Math.sqrt(-2*Math.log(L)\/L)}},logNormal:function(){var c=e.random.normal.apply(e,arguments);return function(){return Math.exp(c())}},bates:function(c){var p=e.random.irwinHall(c);return function(){return p()\/c}},irwinHall:function(c){return function(){for(var p=0,x=0;x<c;x++)p+=Math.random();return p}}},e.scale={};function lv(c){var p=c[0],x=c[c.length-1];return p<x?[p,x]:[x,p]}function ov(c){return c.rangeExtent?c.rangeExtent():lv(c.range())}function PF(c,p,x,A){var C=x(c[0],c[1]),L=A(p[0],p[1]);return function(R){return L(C(R))}}function H1(c,p){var x=0,A=c.length-1,C=c[x],L=c[A],R;return L<C&#038;&#038;(R=x,x=A,A=R,R=C,C=L,L=R),c[x]=p.floor(C),c[A]=p.ceil(L),c}function H5(c){return c?{floor:function(p){return Math.floor(p\/c)*c},ceil:function(p){return Math.ceil(p\/c)*c}}:RF}var RF={floor:V,ceil:V};function zF(c,p,x,A){var C=[],L=[],R=0,E=Math.min(c.length,p.length)-1;for(c[E]<c[0]&#038;&#038;(c=c.slice().reverse(),p=p.slice().reverse());++R<=E;)C.push(x(c[R-1],c[R])),L.push(A(p[R-1],p[R]));return function(N){var W=e.bisect(c,N,1,E)-1;return L[W](C[W](N))}}e.scale.linear=function(){return O5([0,1],[0,1],ro,!1)};function O5(c,p,x,A){var C,L;function R(){var N=Math.min(c.length,p.length)>2?zF:PF,W=A?rF:eF;return C=N(c,p,W,x),L=N(p,c,W,ro),E}function E(N){return C(N)}return E.invert=function(N){return L(N)},E.domain=function(N){return arguments.length?(c=N.map(Number),R()):c},E.range=function(N){return arguments.length?(p=N,R()):p},E.rangeRound=function(N){return E.range(N).interpolate(_5)},E.clamp=function(N){return arguments.length?(A=N,R()):A},E.interpolate=function(N){return arguments.length?(x=N,R()):x},E.ticks=function(N){return B1(c,N)},E.tickFormat=function(N,W){return d3_scale_linearTickFormat(c,N,W)},E.nice=function(N){return Y5(c,N),R()},E.copy=function(){return O5(c,p,x,A)},R()}function B5(c,p){return e.rebind(c,p,\"range\",\"rangeRound\",\"interpolate\",\"clamp\")}function Y5(c,p){return H1(c,H5(O1(c,p)[2])),H1(c,H5(O1(c,p)[2])),c}function O1(c,p){p==null&&(p=10);var x=lv(c),A=x[1]-x[0],C=Math.pow(10,Math.floor(Math.log(A\/p)\/Math.LN10)),L=p\/A*C;return L<=.15?C*=10:L<=.35?C*=5:L<=.75&#038;&#038;(C*=2),x[0]=Math.ceil(x[0]\/C)*C,x[1]=Math.floor(x[1]\/C)*C+C*.5,x[2]=C,x}function B1(c,p){return e.range.apply(e,O1(c,p))}var NF={s:1,g:1,p:1,r:1,e:1};function U5(c){return-Math.floor(Math.log(c)\/Math.LN10+.01)}function Iie(c,p){var x=U5(p[2]);return c in NF?Math.abs(x-U5(Math.max(_(p[0]),_(p[1]))))+ +(c!==\"e\"):x-(c===\"%\")*2}e.scale.log=function(){return V5(e.scale.linear().domain([0,1]),10,!0,[1,10])};function V5(c,p,x,A){function C(E){return(x?Math.log(E<0?0:E):-Math.log(E>0?0:-E))\/Math.log(p)}function L(E){return x?Math.pow(p,E):-Math.pow(p,-E)}function R(E){return c(C(E))}return R.invert=function(E){return L(c.invert(E))},R.domain=function(E){return arguments.length?(x=E[0]>=0,c.domain((A=E.map(Number)).map(C)),R):A},R.base=function(E){return arguments.length?(p=+E,c.domain(A.map(C)),R):p},R.nice=function(){var E=H1(A.map(C),x?Math:FF);return c.domain(E),A=E.map(L),R},R.ticks=function(){var E=lv(A),N=[],W=E[0],X=E[1],j=Math.floor(C(W)),ee=Math.ceil(C(X)),de=p%1?2:p;if(isFinite(ee-j)){if(x){for(;j<ee;j++)for(var we=1;we<de;we++)N.push(L(j)*we);N.push(L(j))}else for(N.push(L(j));j++<ee;)for(var we=de-1;we>0;we--)N.push(L(j)*we);for(j=0;N[j]<W;j++);for(ee=N.length;N[ee-1]>X;ee--);N=N.slice(j,ee)}return N},R.copy=function(){return V5(c.copy(),p,x,A)},B5(R,c)}var FF={floor:function(c){return-Math.ceil(-c)},ceil:function(c){return-Math.floor(-c)}};e.scale.pow=function(){return G5(e.scale.linear(),1,[0,1])};function G5(c,p,x){var A=sv(p),C=sv(1\/p);function L(R){return c(A(R))}return L.invert=function(R){return C(c.invert(R))},L.domain=function(R){return arguments.length?(c.domain((x=R.map(Number)).map(A)),L):x},L.ticks=function(R){return B1(x,R)},L.tickFormat=function(R,E){return d3_scale_linearTickFormat(x,R,E)},L.nice=function(R){return L.domain(Y5(x,R))},L.exponent=function(R){return arguments.length?(A=sv(p=R),C=sv(1\/p),c.domain(x.map(A)),L):p},L.copy=function(){return G5(c.copy(),p,x)},B5(L,c)}function sv(c){return function(p){return p<0?-Math.pow(-p,c):Math.pow(p,c)}}e.scale.sqrt=function(){return e.scale.pow().exponent(.5)},e.scale.ordinal=function(){return W5([],{t:\"range\",a:[[]]})};function W5(c,p){var x,A,C;function L(E){return A[((x.get(E)||(p.t===\"range\"?x.set(E,c.push(E)):NaN))-1)%A.length]}function R(E,N){return e.range(c.length).map(function(W){return E+N*W})}return L.domain=function(E){if(!arguments.length)return c;c=[],x=new b;for(var N=-1,W=E.length,X;++N<W;)x.has(X=E[N])||x.set(X,c.push(X));return L[p.t].apply(L,p.a)},L.range=function(E){return arguments.length?(A=E,C=0,p={t:\"range\",a:arguments},L):A},L.rangePoints=function(E,N){arguments.length<2&#038;&#038;(N=0);var W=E[0],X=E[1],j=c.length<2?(W=(W+X)\/2,0):(X-W)\/(c.length-1+N);return A=R(W+j*N\/2,j),C=0,p={t:\"rangePoints\",a:arguments},L},L.rangeRoundPoints=function(E,N){arguments.length<2&#038;&#038;(N=0);var W=E[0],X=E[1],j=c.length<2?(W=X=Math.round((W+X)\/2),0):(X-W)\/(c.length-1+N)|0;return A=R(W+Math.round(j*N\/2+(X-W-(c.length-1+N)*j)\/2),j),C=0,p={t:\"rangeRoundPoints\",a:arguments},L},L.rangeBands=function(E,N,W){arguments.length<2&#038;&#038;(N=0),arguments.length<3&#038;&#038;(W=N);var X=E[1]<E[0],j=E[X-0],ee=E[1-X],de=(ee-j)\/(c.length-N+2*W);return A=R(j+de*W,de),X&#038;&#038;A.reverse(),C=de*(1-N),p={t:\"rangeBands\",a:arguments},L},L.rangeRoundBands=function(E,N,W){arguments.length<2&#038;&#038;(N=0),arguments.length<3&#038;&#038;(W=N);var X=E[1]<E[0],j=E[X-0],ee=E[1-X],de=Math.floor((ee-j)\/(c.length-N+2*W));return A=R(j+Math.round((ee-j-(c.length-N)*de)\/2),de),X&#038;&#038;A.reverse(),C=Math.round(de*(1-N)),p={t:\"rangeRoundBands\",a:arguments},L},L.rangeBand=function(){return C},L.rangeExtent=function(){return lv(p.a[0])},L.copy=function(){return W5(c,p)},L.domain(c)}e.scale.category10=function(){return e.scale.ordinal().range(IF)},e.scale.category20=function(){return e.scale.ordinal().range(HF)},e.scale.category20b=function(){return e.scale.ordinal().range(OF)},e.scale.category20c=function(){return e.scale.ordinal().range(BF)};var IF=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(cs),HF=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(cs),OF=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(cs),BF=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(cs);e.scale.quantile=function(){return X5([],[])};function X5(c,p){var x;function A(){var L=0,R=p.length;for(x=[];++L<R;)x[L-1]=e.quantile(c,L\/R);return C}function C(L){if(!isNaN(L=+L))return p[e.bisect(x,L)]}return C.domain=function(L){return arguments.length?(c=L.map(h).filter(d).sort(v),A()):c},C.range=function(L){return arguments.length?(p=L,A()):p},C.quantiles=function(){return x},C.invertExtent=function(L){return L=p.indexOf(L),L<0?[NaN,NaN]:[L>0?x[L-1]:c[0],L<x.length?x[L]:c[c.length-1]]},C.copy=function(){return X5(c,p)},A()}e.scale.quantize=function(){return Z5(0,1,[0,1])};function Z5(c,p,x){var A,C;function L(E){return x[Math.max(0,Math.min(C,Math.floor(A*(E-c))))]}function R(){return A=x.length\/(p-c),C=x.length-1,L}return L.domain=function(E){return arguments.length?(c=+E[0],p=+E[E.length-1],R()):[c,p]},L.range=function(E){return arguments.length?(x=E,R()):x},L.invertExtent=function(E){return E=x.indexOf(E),E=E<0?NaN:E\/A+c,[E,E+1\/A]},L.copy=function(){return Z5(c,p,x)},R()}e.scale.threshold=function(){return J5([.5],[0,1])};function J5(c,p){function x(A){if(A<=A)return p[e.bisect(c,A)]}return x.domain=function(A){return arguments.length?(c=A,x):c},x.range=function(A){return arguments.length?(p=A,x):p},x.invertExtent=function(A){return A=p.indexOf(A),[c[A-1],c[A]]},x.copy=function(){return J5(c,p)},x}e.scale.identity=function(){return K5([0,1])};function K5(c){function p(x){return+x}return p.invert=p,p.domain=p.range=function(x){return arguments.length?(c=x.map(p),p):c},p.ticks=function(x){return B1(c,x)},p.tickFormat=function(x,A){return d3_scale_linearTickFormat(c,x,A)},p.copy=function(){return K5(c)},p}e.svg={};function YF(){return 0}e.svg.arc=function(){var c=UF,p=VF,x=YF,A=uv,C=Q5,L=$5,R=GF;function E(){var W=Math.max(0,+c.apply(this,arguments)),X=Math.max(0,+p.apply(this,arguments)),j=C.apply(this,arguments)-sr,ee=L.apply(this,arguments)-sr,de=Math.abs(ee-j),we=j>ee?0:1;if(X<W&#038;&#038;(te=X,X=W,W=te),de>=cr)return N(X,we)+(W?N(W,1-we):\"\")+\"Z\";var te,se,ue,_e,Te=0,ve=0,Ye,nr,fr,lr,dr,pr,Sr,mr,Tr=[];if((_e=(+R.apply(this,arguments)||0)\/2)&&(ue=A===uv?Math.sqrt(W*W+X*X):+A.apply(this,arguments),we||(ve*=-1),X&&(ve=gt(ue\/X*Math.sin(_e))),W&&(Te=gt(ue\/W*Math.sin(_e)))),X){Ye=X*Math.cos(j+ve),nr=X*Math.sin(j+ve),fr=X*Math.cos(ee-ve),lr=X*Math.sin(ee-ve);var Kr=Math.abs(ee-j-2*ve)<=Pe?0:1;if(ve&#038;&#038;fv(Ye,nr,fr,lr)===we^Kr){var St=(j+ee)\/2;Ye=X*Math.cos(St),nr=X*Math.sin(St),fr=lr=null}}else Ye=nr=0;if(W){dr=W*Math.cos(ee-Te),pr=W*Math.sin(ee-Te),Sr=W*Math.cos(j+Te),mr=W*Math.sin(j+Te);var et=Math.abs(j-ee+2*Te)<=Pe?0:1;if(Te&#038;&#038;fv(dr,pr,Sr,mr)===1-we^et){var rr=(j+ee)\/2;dr=W*Math.cos(rr),pr=W*Math.sin(rr),Sr=mr=null}}else dr=pr=0;if(de>oe&&(te=Math.min(Math.abs(X-W)\/2,+x.apply(this,arguments)))>.001){se=W<X^we?0:1;var Lr=te,qr=te;if(de<Pe){var Qr=Sr==null?[dr,pr]:fr==null?[Ye,nr]:A1([Ye,nr],[Sr,mr],[fr,lr],[dr,pr]),wt=Ye-Qr[0],Vt=nr-Qr[1],ma=fr-Qr[0],Ea=lr-Qr[1],Ua=1\/Math.sin(Math.acos((wt*ma+Vt*Ea)\/(Math.sqrt(wt*wt+Vt*Vt)*Math.sqrt(ma*ma+Ea*Ea)))\/2),Pa=Math.sqrt(Qr[0]*Qr[0]+Qr[1]*Qr[1]);qr=Math.min(te,(W-Pa)\/(Ua-1)),Lr=Math.min(te,(X-Pa)\/(Ua+1))}if(fr!=null){var Za=cv(Sr==null?[dr,pr]:[Sr,mr],[Ye,nr],X,Lr,we),Ma=cv([fr,lr],[dr,pr],X,Lr,we);te===Lr?Tr.push(\"M\",Za[0],\"A\",Lr,\",\",Lr,\" 0 0,\",se,\" \",Za[1],\"A\",X,\",\",X,\" 0 \",1-we^fv(Za[1][0],Za[1][1],Ma[1][0],Ma[1][1]),\",\",we,\" \",Ma[1],\"A\",Lr,\",\",Lr,\" 0 0,\",se,\" \",Ma[0]):Tr.push(\"M\",Za[0],\"A\",Lr,\",\",Lr,\" 0 1,\",se,\" \",Ma[0])}else Tr.push(\"M\",Ye,\",\",nr);if(Sr!=null){var Ja=cv([Ye,nr],[Sr,mr],W,-qr,we),ao=cv([dr,pr],fr==null?[Ye,nr]:[fr,lr],W,-qr,we);te===qr?Tr.push(\"L\",ao[0],\"A\",qr,\",\",qr,\" 0 0,\",se,\" \",ao[1],\"A\",W,\",\",W,\" 0 \",we^fv(ao[1][0],ao[1][1],Ja[1][0],Ja[1][1]),\",\",1-we,\" \",Ja[1],\"A\",qr,\",\",qr,\" 0 0,\",se,\" \",Ja[0]):Tr.push(\"L\",ao[0],\"A\",qr,\",\",qr,\" 0 0,\",se,\" \",Ja[0])}else Tr.push(\"L\",dr,\",\",pr)}else Tr.push(\"M\",Ye,\",\",nr),fr!=null&#038;&#038;Tr.push(\"A\",X,\",\",X,\" 0 \",Kr,\",\",we,\" \",fr,\",\",lr),Tr.push(\"L\",dr,\",\",pr),Sr!=null&#038;&#038;Tr.push(\"A\",W,\",\",W,\" 0 \",et,\",\",1-we,\" \",Sr,\",\",mr);return Tr.push(\"Z\"),Tr.join(\"\")}function N(W,X){return\"M0,\"+W+\"A\"+W+\",\"+W+\" 0 1,\"+X+\" 0,\"+-W+\"A\"+W+\",\"+W+\" 0 1,\"+X+\" 0,\"+W}return E.innerRadius=function(W){return arguments.length?(c=Rr(W),E):c},E.outerRadius=function(W){return arguments.length?(p=Rr(W),E):p},E.cornerRadius=function(W){return arguments.length?(x=Rr(W),E):x},E.padRadius=function(W){return arguments.length?(A=W==uv?uv:Rr(W),E):A},E.startAngle=function(W){return arguments.length?(C=Rr(W),E):C},E.endAngle=function(W){return arguments.length?(L=Rr(W),E):L},E.padAngle=function(W){return arguments.length?(R=Rr(W),E):R},E.centroid=function(){var W=(+c.apply(this,arguments)+ +p.apply(this,arguments))\/2,X=(+C.apply(this,arguments)+ +L.apply(this,arguments))\/2-sr;return[Math.cos(X)*W,Math.sin(X)*W]},E};var uv=\"auto\";function UF(c){return c.innerRadius}function VF(c){return c.outerRadius}function Q5(c){return c.startAngle}function $5(c){return c.endAngle}function GF(c){return c&#038;&#038;c.padAngle}function fv(c,p,x,A){return(c-x)*p-(p-A)*c>0?0:1}function cv(c,p,x,A,C){var L=c[0]-p[0],R=c[1]-p[1],E=(C?A:-A)\/Math.sqrt(L*L+R*R),N=E*R,W=-E*L,X=c[0]+N,j=c[1]+W,ee=p[0]+N,de=p[1]+W,we=(X+ee)\/2,te=(j+de)\/2,se=ee-X,ue=de-j,_e=se*se+ue*ue,Te=x-A,ve=X*de-ee*j,Ye=(ue<0?-1:1)*Math.sqrt(Math.max(0,Te*Te*_e-ve*ve)),nr=(ve*ue-se*Ye)\/_e,fr=(-ve*se-ue*Ye)\/_e,lr=(ve*ue+se*Ye)\/_e,dr=(-ve*se+ue*Ye)\/_e,pr=nr-we,Sr=fr-te,mr=lr-we,Tr=dr-te;return pr*pr+Sr*Sr>mr*mr+Tr*Tr&&(nr=lr,fr=dr),[[nr-N,fr-W],[nr*x\/Te,fr*x\/Te]]}function j5(){return!0}function eb(c){var p=hs,x=Hu,A=j5,C=Gn,L=C.key,R=.7;function E(N){var W=[],X=[],j=-1,ee=N.length,de,we=Rr(p),te=Rr(x);function se(){W.push(\"M\",C(c(X),R))}for(;++j<ee;)A.call(this,de=N[j],j)?X.push([+we.call(this,de,j),+te.call(this,de,j)]):X.length&#038;&#038;(se(),X=[]);return X.length&#038;&#038;se(),W.length?W.join(\"\"):null}return E.x=function(N){return arguments.length?(p=N,E):p},E.y=function(N){return arguments.length?(x=N,E):x},E.defined=function(N){return arguments.length?(A=N,E):A},E.interpolate=function(N){return arguments.length?(typeof N==\"function\"?L=C=N:L=(C=Y1.get(N)||Gn).key,E):L},E.tension=function(N){return arguments.length?(R=N,E):R},E}e.svg.line=function(){return eb(V)};var Y1=e.map({linear:Gn,\"linear-closed\":rb,step:WF,\"step-before\":U1,\"step-after\":V1,basis:tb,\"basis-open\":KF,\"basis-closed\":QF,bundle:$F,cardinal:JF,\"cardinal-open\":XF,\"cardinal-closed\":ZF,monotone:rI});Y1.forEach(function(c,p){p.key=c,p.closed=\/-closed$\/.test(c)});function Gn(c){return c.length>1?c.join(\"L\"):c+\"Z\"}function rb(c){return c.join(\"L\")+\"Z\"}function WF(c){for(var p=0,x=c.length,A=c[0],C=[A[0],\",\",A[1]];++p<x;)C.push(\"H\",(A[0]+(A=c[p])[0])\/2,\"V\",A[1]);return x>1&&C.push(\"H\",A[0]),C.join(\"\")}function U1(c){for(var p=0,x=c.length,A=c[0],C=[A[0],\",\",A[1]];++p<x;)C.push(\"V\",(A=c[p])[1],\"H\",A[0]);return C.join(\"\")}function V1(c){for(var p=0,x=c.length,A=c[0],C=[A[0],\",\",A[1]];++p<x;)C.push(\"H\",(A=c[p])[0],\"V\",A[1]);return C.join(\"\")}function XF(c,p){return c.length<4?Gn(c):c[1]+vv(c.slice(1,-1),G1(c,p))}function ZF(c,p){return c.length<3?rb(c):c[0]+vv((c.push(c[0]),c),G1([c[c.length-2]].concat(c,[c[1]]),p))}function JF(c,p){return c.length<3?Gn(c):c[0]+vv(c,G1(c,p))}function vv(c,p){if(p.length<1||c.length!=p.length&#038;&#038;c.length!=p.length+2)return Gn(c);var x=c.length!=p.length,A=\"\",C=c[0],L=c[1],R=p[0],E=R,N=1;if(x&#038;&#038;(A+=\"Q\"+(L[0]-R[0]*2\/3)+\",\"+(L[1]-R[1]*2\/3)+\",\"+L[0]+\",\"+L[1],C=c[1],N=2),p.length>1){E=p[1],L=c[N],N++,A+=\"C\"+(C[0]+R[0])+\",\"+(C[1]+R[1])+\",\"+(L[0]-E[0])+\",\"+(L[1]-E[1])+\",\"+L[0]+\",\"+L[1];for(var W=2;W<p.length;W++,N++)L=c[N],E=p[W],A+=\"S\"+(L[0]-E[0])+\",\"+(L[1]-E[1])+\",\"+L[0]+\",\"+L[1]}if(x){var X=c[N];A+=\"Q\"+(L[0]+E[0]*2\/3)+\",\"+(L[1]+E[1]*2\/3)+\",\"+X[0]+\",\"+X[1]}return A}function G1(c,p){for(var x=[],A=(1-p)\/2,C,L=c[0],R=c[1],E=1,N=c.length;++E<N;)C=L,L=R,R=c[E],x.push([A*(R[0]-C[0]),A*(R[1]-C[1])]);return x}function tb(c){if(c.length<3)return Gn(c);var p=1,x=c.length,A=c[0],C=A[0],L=A[1],R=[C,C,C,(A=c[1])[0]],E=[L,L,L,A[1]],N=[C,\",\",L,\"L\",bn(ul,R),\",\",bn(ul,E)];for(c.push(c[x-1]);++p<=x;)A=c[p],R.shift(),R.push(A[0]),E.shift(),E.push(A[1]),W1(N,R,E);return c.pop(),N.push(\"L\",A),N.join(\"\")}function KF(c){if(c.length<4)return Gn(c);for(var p=[],x=-1,A=c.length,C,L=[0],R=[0];++x<3;)C=c[x],L.push(C[0]),R.push(C[1]);for(p.push(bn(ul,L)+\",\"+bn(ul,R)),--x;++x<A;)C=c[x],L.shift(),L.push(C[0]),R.shift(),R.push(C[1]),W1(p,L,R);return p.join(\"\")}function QF(c){for(var p,x=-1,A=c.length,C=A+4,L,R=[],E=[];++x<4;)L=c[x%A],R.push(L[0]),E.push(L[1]);for(p=[bn(ul,R),\",\",bn(ul,E)],--x;++x<C;)L=c[x%A],R.shift(),R.push(L[0]),E.shift(),E.push(L[1]),W1(p,R,E);return p.join(\"\")}function $F(c,p){var x=c.length-1;if(x)for(var A=c[0][0],C=c[0][1],L=c[x][0]-A,R=c[x][1]-C,E=-1,N,W;++E<=x;)N=c[E],W=E\/x,N[0]=p*N[0]+(1-p)*(A+W*L),N[1]=p*N[1]+(1-p)*(C+W*R);return tb(c)}function bn(c,p){return c[0]*p[0]+c[1]*p[1]+c[2]*p[2]+c[3]*p[3]}var ab=[0,2\/3,1\/3,0],nb=[0,1\/3,2\/3,0],ul=[0,1\/6,2\/3,1\/6];function W1(c,p,x){c.push(\"C\",bn(ab,p),\",\",bn(ab,x),\",\",bn(nb,p),\",\",bn(nb,x),\",\",bn(ul,p),\",\",bn(ul,x))}function X1(c,p){return(p[1]-c[1])\/(p[0]-c[0])}function jF(c){for(var p=0,x=c.length-1,A=[],C=c[0],L=c[1],R=A[0]=X1(C,L);++p<x;)A[p]=(R+(R=X1(C=L,L=c[p+1])))\/2;return A[p]=R,A}function eI(c){for(var p=[],x,A,C,L,R=jF(c),E=-1,N=c.length-1;++E<N;)x=X1(c[E],c[E+1]),_(x)<oe?R[E]=R[E+1]=0:(A=R[E]\/x,C=R[E+1]\/x,L=A*A+C*C,L>9&&(L=x*3\/Math.sqrt(L),R[E]=L*A,R[E+1]=L*C));for(E=-1;++E<=N;)L=(c[Math.min(N,E+1)][0]-c[Math.max(0,E-1)][0])\/(6*(1+R[E]*R[E])),p.push([L||0,R[E]*L||0]);return p}function rI(c){return c.length<3?Gn(c):c[0]+vv(c,eI(c))}e.svg.line.radial=function(){var c=eb(ib);return c.radius=c.x,delete c.x,c.angle=c.y,delete c.y,c};function ib(c){for(var p,x=-1,A=c.length,C,L;++x<A;)p=c[x],C=p[0],L=p[1]-sr,p[0]=C*Math.cos(L),p[1]=C*Math.sin(L);return c}function lb(c){var p=hs,x=hs,A=0,C=Hu,L=j5,R=Gn,E=R.key,N=R,W=\"L\",X=.7;function j(ee){var de=[],we=[],te=[],se=-1,ue=ee.length,_e,Te=Rr(p),ve=Rr(A),Ye=p===x?function(){return fr}:Rr(x),nr=A===C?function(){return lr}:Rr(C),fr,lr;function dr(){de.push(\"M\",R(c(te),X),W,N(c(we.reverse()),X),\"Z\")}for(;++se<ue;)L.call(this,_e=ee[se],se)?(we.push([fr=+Te.call(this,_e,se),lr=+ve.call(this,_e,se)]),te.push([+Ye.call(this,_e,se),+nr.call(this,_e,se)])):we.length&#038;&#038;(dr(),we=[],te=[]);return we.length&#038;&#038;dr(),de.length?de.join(\"\"):null}return j.x=function(ee){return arguments.length?(p=x=ee,j):x},j.x0=function(ee){return arguments.length?(p=ee,j):p},j.x1=function(ee){return arguments.length?(x=ee,j):x},j.y=function(ee){return arguments.length?(A=C=ee,j):C},j.y0=function(ee){return arguments.length?(A=ee,j):A},j.y1=function(ee){return arguments.length?(C=ee,j):C},j.defined=function(ee){return arguments.length?(L=ee,j):L},j.interpolate=function(ee){return arguments.length?(typeof ee==\"function\"?E=R=ee:E=(R=Y1.get(ee)||Gn).key,N=R.reverse||R,W=R.closed?\"M\":\"L\",j):E},j.tension=function(ee){return arguments.length?(X=ee,j):X},j}U1.reverse=V1,V1.reverse=U1,e.svg.area=function(){return lb(V)},e.svg.area.radial=function(){var c=lb(ib);return c.radius=c.x,delete c.x,c.innerRadius=c.x0,delete c.x0,c.outerRadius=c.x1,delete c.x1,c.angle=c.y,delete c.y,c.startAngle=c.y0,delete c.y0,c.endAngle=c.y1,delete c.y1,c};function ob(c){return c.source}function sb(c){return c.target}e.svg.chord=function(){var c=ob,p=sb,x=tI,A=Q5,C=$5;function L(X,j){var ee=R(this,c,X,j),de=R(this,p,X,j);return\"M\"+ee.p0+N(ee.r,ee.p1,ee.a1-ee.a0)+(E(ee,de)?W(ee.r,ee.p1,ee.r,ee.p0):W(ee.r,ee.p1,de.r,de.p0)+N(de.r,de.p1,de.a1-de.a0)+W(de.r,de.p1,ee.r,ee.p0))+\"Z\"}function R(X,j,ee,de){var we=j.call(X,ee,de),te=x.call(X,we,de),se=A.call(X,we,de)-sr,ue=C.call(X,we,de)-sr;return{r:te,a0:se,a1:ue,p0:[te*Math.cos(se),te*Math.sin(se)],p1:[te*Math.cos(ue),te*Math.sin(ue)]}}function E(X,j){return X.a0==j.a0&#038;&#038;X.a1==j.a1}function N(X,j,ee){return\"A\"+X+\",\"+X+\" 0 \"+ +(ee>Pe)+\",1 \"+j}function W(X,j,ee,de){return\"Q 0,0 \"+de}return L.radius=function(X){return arguments.length?(x=Rr(X),L):x},L.source=function(X){return arguments.length?(c=Rr(X),L):c},L.target=function(X){return arguments.length?(p=Rr(X),L):p},L.startAngle=function(X){return arguments.length?(A=Rr(X),L):A},L.endAngle=function(X){return arguments.length?(C=Rr(X),L):C},L};function tI(c){return c.radius}e.svg.diagonal=function(){var c=ob,p=sb,x=ub;function A(C,L){var R=c.call(this,C,L),E=p.call(this,C,L),N=(R.y+E.y)\/2,W=[R,{x:R.x,y:N},{x:E.x,y:N},E];return W=W.map(x),\"M\"+W[0]+\"C\"+W[1]+\" \"+W[2]+\" \"+W[3]}return A.source=function(C){return arguments.length?(c=Rr(C),A):c},A.target=function(C){return arguments.length?(p=Rr(C),A):p},A.projection=function(C){return arguments.length?(x=C,A):x},A};function ub(c){return[c.x,c.y]}e.svg.diagonal.radial=function(){var c=e.svg.diagonal(),p=ub,x=c.projection;return c.projection=function(A){return arguments.length?x(aI(p=A)):p},c};function aI(c){return function(){var p=c.apply(this,arguments),x=p[0],A=p[1]-sr;return[x*Math.cos(A),x*Math.sin(A)]}}e.svg.symbol=function(){var c=iI,p=nI;function x(A,C){return(cb.get(c.call(this,A,C))||fb)(p.call(this,A,C))}return x.type=function(A){return arguments.length?(c=Rr(A),x):c},x.size=function(A){return arguments.length?(p=Rr(A),x):p},x};function nI(){return 64}function iI(){return\"circle\"}function fb(c){var p=Math.sqrt(c\/Pe);return\"M0,\"+p+\"A\"+p+\",\"+p+\" 0 1,1 0,\"+-p+\"A\"+p+\",\"+p+\" 0 1,1 0,\"+p+\"Z\"}var cb=e.map({circle:fb,cross:function(c){var p=Math.sqrt(c\/5)\/2;return\"M\"+-3*p+\",\"+-p+\"H\"+-p+\"V\"+-3*p+\"H\"+p+\"V\"+-p+\"H\"+3*p+\"V\"+p+\"H\"+p+\"V\"+3*p+\"H\"+-p+\"V\"+p+\"H\"+-3*p+\"Z\"},diamond:function(c){var p=Math.sqrt(c\/(2*vb)),x=p*vb;return\"M0,\"+-p+\"L\"+x+\",0 0,\"+p+\" \"+-x+\",0Z\"},square:function(c){var p=Math.sqrt(c)\/2;return\"M\"+-p+\",\"+-p+\"L\"+p+\",\"+-p+\" \"+p+\",\"+p+\" \"+-p+\",\"+p+\"Z\"},\"triangle-down\":function(c){var p=Math.sqrt(c\/hv),x=p*hv\/2;return\"M0,\"+x+\"L\"+p+\",\"+-x+\" \"+-p+\",\"+-x+\"Z\"},\"triangle-up\":function(c){var p=Math.sqrt(c\/hv),x=p*hv\/2;return\"M0,\"+-x+\"L\"+p+\",\"+x+\" \"+-p+\",\"+x+\"Z\"}});e.svg.symbolTypes=cb.keys();var hv=Math.sqrt(3),vb=Math.tan(30*Mr);ge.transition=function(c){for(var p=to||++db,x=J1(c),A=[],C,L,R=pv||{time:Date.now(),ease:FN,delay:0,duration:250},E=-1,N=this.length;++E<N;){A.push(C=[]);for(var W=this[E],X=-1,j=W.length;++X<j;)(L=W[X])&#038;&#038;mv(L,X,x,p,R),C.push(L)}return Xu(A,x,p)},ge.interrupt=function(c){return this.each(c==null?dv:hb(J1(c)))};var dv=hb(J1());function hb(c){return function(){var p,x,A;(p=this[c])&#038;&#038;(A=p[x=p.active])&#038;&#038;(A.timer.c=null,A.timer.t=NaN,--p.count?delete p[x]:delete this[c],p.active+=.5,A.event&#038;&#038;A.event.interrupt.call(this,this.__data__,A.index))}}function Xu(c,p,x){return re(c,Ut),c.namespace=p,c.id=x,c}var Ut=[],db=0,to,pv;Ut.call=ge.call,Ut.empty=ge.empty,Ut.node=ge.node,Ut.size=ge.size,e.transition=function(c,p){return c&#038;&#038;c.transition?to?c.transition(p):c:e.selection().transition(c)},e.transition.prototype=Ut,Ut.select=function(c){var p=this.id,x=this.namespace,A=[],C,L,R;c=B(c);for(var E=-1,N=this.length;++E<N;){A.push(C=[]);for(var W=this[E],X=-1,j=W.length;++X<j;)(R=W[X])&#038;&#038;(L=c.call(R,R.__data__,X,E))?(\"__data__\"in R&#038;&#038;(L.__data__=R.__data__),mv(L,X,x,p,R[x][p]),C.push(L)):C.push(null)}return Xu(A,x,p)},Ut.selectAll=function(c){var p=this.id,x=this.namespace,A=[],C,L,R,E,N;c=$(c);for(var W=-1,X=this.length;++W<X;)for(var j=this[W],ee=-1,de=j.length;++ee<de;)if(R=j[ee]){N=R[x][p],L=c.call(R,R.__data__,ee,W),A.push(C=[]);for(var we=-1,te=L.length;++we<te;)(E=L[we])&#038;&#038;mv(E,we,x,p,N),C.push(E)}return Xu(A,x,p)},Ut.filter=function(c){var p=[],x,A,C;typeof c!=\"function\"&#038;&#038;(c=ie(c));for(var L=0,R=this.length;L<R;L++){p.push(x=[]);for(var A=this[L],E=0,N=A.length;E<N;E++)(C=A[E])&#038;&#038;c.call(C,C.__data__,E,L)&#038;&#038;x.push(C)}return Xu(p,this.namespace,this.id)},Ut.tween=function(c,p){var x=this.id,A=this.namespace;return arguments.length<2?this.node()[A][x].tween.get(c):Ke(this,p==null?function(C){C[A][x].tween.remove(c)}:function(C){C[A][x].tween.set(c,p)})};function Z1(c,p,x,A){var C=c.id,L=c.namespace;return Ke(c,typeof x==\"function\"?function(R,E,N){R[L][C].tween.set(p,A(x.call(R,R.__data__,E,N)))}:(x=A(x),function(R){R[L][C].tween.set(p,x)}))}Ut.attr=function(c,p){if(arguments.length<2){for(p in c)this.attr(p,c[p]);return this}var x=c==\"transform\"?A5:ro,A=e.ns.qualify(c);function C(){this.removeAttribute(A)}function L(){this.removeAttributeNS(A.space,A.local)}function R(N){return N==null?C:(N+=\"\",function(){var W=this.getAttribute(A),X;return W!==N&#038;&#038;(X=x(W,N),function(j){this.setAttribute(A,X(j))})})}function E(N){return N==null?L:(N+=\"\",function(){var W=this.getAttributeNS(A.space,A.local),X;return W!==N&#038;&#038;(X=x(W,N),function(j){this.setAttributeNS(A.space,A.local,X(j))})})}return Z1(this,\"attr.\"+c,p,A.local?E:R)},Ut.attrTween=function(c,p){var x=e.ns.qualify(c);function A(L,R){var E=p.call(this,L,R,this.getAttribute(x));return E&#038;&#038;function(N){this.setAttribute(x,E(N))}}function C(L,R){var E=p.call(this,L,R,this.getAttributeNS(x.space,x.local));return E&#038;&#038;function(N){this.setAttributeNS(x.space,x.local,E(N))}}return this.tween(\"attr.\"+c,x.local?C:A)},Ut.style=function(c,p,x){var A=arguments.length;if(A<3){if(typeof c!=\"string\"){A<2&#038;&#038;(p=\"\");for(x in c)this.style(x,c[x],p);return this}x=\"\"}function C(){this.style.removeProperty(c)}function L(R){return R==null?C:(R+=\"\",function(){var E=i(this).getComputedStyle(this,null).getPropertyValue(c),N;return E!==R&#038;&#038;(N=ro(E,R),function(W){this.style.setProperty(c,N(W),x)})})}return Z1(this,\"style.\"+c,p,L)},Ut.styleTween=function(c,p,x){arguments.length<3&#038;&#038;(x=\"\");function A(C,L){var R=p.call(this,C,L,i(this).getComputedStyle(this,null).getPropertyValue(c));return R&#038;&#038;function(E){this.style.setProperty(c,R(E),x)}}return this.tween(\"style.\"+c,A)},Ut.text=function(c){return Z1(this,\"text\",c,lI)};function lI(c){return c==null&#038;&#038;(c=\"\"),function(){this.textContent=c}}Ut.remove=function(){var c=this.namespace;return this.each(\"end.transition\",function(){var p;this[c].count<2&#038;&#038;(p=this.parentNode)&#038;&#038;p.removeChild(this)})},Ut.ease=function(c){var p=this.id,x=this.namespace;return arguments.length<1?this.node()[x][p].ease:(typeof c!=\"function\"&#038;&#038;(c=e.ease.apply(e,arguments)),Ke(this,function(A){A[x][p].ease=c}))},Ut.delay=function(c){var p=this.id,x=this.namespace;return arguments.length<1?this.node()[x][p].delay:Ke(this,typeof c==\"function\"?function(A,C,L){A[x][p].delay=+c.call(A,A.__data__,C,L)}:(c=+c,function(A){A[x][p].delay=c}))},Ut.duration=function(c){var p=this.id,x=this.namespace;return arguments.length<1?this.node()[x][p].duration:Ke(this,typeof c==\"function\"?function(A,C,L){A[x][p].duration=Math.max(1,c.call(A,A.__data__,C,L))}:(c=Math.max(1,c),function(A){A[x][p].duration=c}))},Ut.each=function(c,p){var x=this.id,A=this.namespace;if(arguments.length<2){var C=pv,L=to;try{to=x,Ke(this,function(R,E,N){pv=R[A][x],c.call(R,R.__data__,E,N)})}finally{pv=C,to=L}}else Ke(this,function(R){var E=R[A][x];(E.event||(E.event=e.dispatch(\"start\",\"end\",\"interrupt\"))).on(c,p)});return this},Ut.transition=function(){for(var c=this.id,p=++db,x=this.namespace,A=[],C,L,R,E,N=0,W=this.length;N<W;N++){A.push(C=[]);for(var L=this[N],X=0,j=L.length;X<j;X++)(R=L[X])&#038;&#038;(E=R[x][c],mv(R,X,x,p,{time:E.time,ease:E.ease,delay:E.delay+E.duration,duration:E.duration})),C.push(R)}return Xu(A,x,p)};function J1(c){return c==null?\"__transition__\":\"__transition_\"+c+\"__\"}function mv(c,p,x,A,C){var L=c[x]||(c[x]={active:0,count:0}),R=L[A],E,N,W,X,j;function ee(te){var se=R.delay;if(N.t=se+E,se<=te)return de(te-se);N.c=de}function de(te){var se=L.active,ue=L[se];ue&#038;&#038;(ue.timer.c=null,ue.timer.t=NaN,--L.count,delete L[se],ue.event&#038;&#038;ue.event.interrupt.call(c,c.__data__,ue.index));for(var _e in L)if(+_e<A){var Te=L[_e];Te.timer.c=null,Te.timer.t=NaN,--L.count,delete L[_e]}N.c=we,jc(function(){return N.c&#038;&#038;we(te||1)&#038;&#038;(N.c=null,N.t=NaN),1},0,E),L.active=A,R.event&#038;&#038;R.event.start.call(c,c.__data__,p),j=[],R.tween.forEach(function(ve,Ye){(Ye=Ye.call(c,c.__data__,p))&#038;&#038;j.push(Ye)}),X=R.ease,W=R.duration}function we(te){for(var se=te\/W,ue=X(se),_e=j.length;_e>0;)j[--_e].call(c,ue);if(se>=1)return R.event&&R.event.end.call(c,c.__data__,p),--L.count?delete L[A]:delete c[x],1}R||(E=C.time,N=jc(ee,0,E),R=L[A]={tween:new b,time:E,timer:N,delay:C.delay,duration:C.duration,ease:C.ease,index:p},C=null,++L.count)}e.svg.axis=function(){var c=e.scale.linear(),p=pb,x=6,A=6,C=3,L=[10],R=null,E;function N(W){W.each(function(){var X=e.select(this),j=this.__chart__||c,ee=this.__chart__=c.copy(),de=R==null?ee.ticks?ee.ticks.apply(ee,L):ee.domain():R,we=E==null?ee.tickFormat?ee.tickFormat.apply(ee,L):V:E,te=X.selectAll(\".tick\").data(de,ee),se=te.enter().insert(\"g\",\".domain\").attr(\"class\",\"tick\").style(\"opacity\",oe),ue=e.transition(te.exit()).style(\"opacity\",oe).remove(),_e=e.transition(te.order()).style(\"opacity\",1),Te=Math.max(x,0)+C,ve,Ye=ov(ee),nr=X.selectAll(\".domain\").data([0]),fr=(nr.enter().append(\"path\").attr(\"class\",\"domain\"),e.transition(nr));se.append(\"line\"),se.append(\"text\");var lr=se.select(\"line\"),dr=_e.select(\"line\"),pr=te.select(\"text\").text(we),Sr=se.select(\"text\"),mr=_e.select(\"text\"),Tr=p===\"top\"||p===\"left\"?-1:1,Kr,St,et,rr;if(p===\"bottom\"||p===\"top\"?(ve=sI,Kr=\"x\",et=\"y\",St=\"x2\",rr=\"y2\",pr.attr(\"dy\",Tr<0?\"0em\":\".71em\").style(\"text-anchor\",\"middle\"),fr.attr(\"d\",\"M\"+Ye[0]+\",\"+Tr*A+\"V0H\"+Ye[1]+\"V\"+Tr*A)):(ve=uI,Kr=\"y\",et=\"x\",St=\"y2\",rr=\"x2\",pr.attr(\"dy\",\".32em\").style(\"text-anchor\",Tr<0?\"end\":\"start\"),fr.attr(\"d\",\"M\"+Tr*A+\",\"+Ye[0]+\"H0V\"+Ye[1]+\"H\"+Tr*A)),lr.attr(rr,Tr*x),Sr.attr(et,Tr*Te),dr.attr(St,0).attr(rr,Tr*x),mr.attr(Kr,0).attr(et,Tr*Te),ee.rangeBand){var Lr=ee,qr=Lr.rangeBand()\/2;j=ee=function(Qr){return Lr(Qr)+qr}}else j.rangeBand?j=ee:ue.call(ve,ee,j);se.call(ve,j,ee),_e.call(ve,ee,ee)})}return N.scale=function(W){return arguments.length?(c=W,N):c},N.orient=function(W){return arguments.length?(p=W in oI?W+\"\":pb,N):p},N.ticks=function(){return arguments.length?(L=t(arguments),N):L},N.tickValues=function(W){return arguments.length?(R=W,N):R},N.tickFormat=function(W){return arguments.length?(E=W,N):E},N.tickSize=function(W){var X=arguments.length;return X?(x=+W,A=+arguments[X-1],N):x},N.innerTickSize=function(W){return arguments.length?(x=+W,N):x},N.outerTickSize=function(W){return arguments.length?(A=+W,N):A},N.tickPadding=function(W){return arguments.length?(C=+W,N):C},N.tickSubdivide=function(){return arguments.length&#038;&#038;N},N};var pb=\"bottom\",oI={top:1,right:1,bottom:1,left:1};function sI(c,p,x){c.attr(\"transform\",function(A){var C=p(A);return\"translate(\"+(isFinite(C)?C:x(A))+\",0)\"})}function uI(c,p,x){c.attr(\"transform\",function(A){var C=p(A);return\"translate(0,\"+(isFinite(C)?C:x(A))+\")\"})}e.svg.brush=function(){var c=ye(X,\"brushstart\",\"brush\",\"brushend\"),p=null,x=null,A=[0,0],C=[0,0],L,R,E=!0,N=!0,W=K1[0];function X(te){te.each(function(){var se=e.select(this).style(\"pointer-events\",\"all\").style(\"-webkit-tap-highlight-color\",\"rgba(0,0,0,0)\").on(\"mousedown.brush\",we).on(\"touchstart.brush\",we),ue=se.selectAll(\".background\").data([0]);ue.enter().append(\"rect\").attr(\"class\",\"background\").style(\"visibility\",\"hidden\").style(\"cursor\",\"crosshair\"),se.selectAll(\".extent\").data([0]).enter().append(\"rect\").attr(\"class\",\"extent\").style(\"cursor\",\"move\");var _e=se.selectAll(\".resize\").data(W,V);_e.exit().remove(),_e.enter().append(\"g\").attr(\"class\",function(nr){return\"resize \"+nr}).style(\"cursor\",function(nr){return fI[nr]}).append(\"rect\").attr(\"x\",function(nr){return\/[ew]$\/.test(nr)?-3:null}).attr(\"y\",function(nr){return\/^[ns]\/.test(nr)?-3:null}).attr(\"width\",6).attr(\"height\",6).style(\"visibility\",\"hidden\"),_e.style(\"display\",X.empty()?\"none\":null);var Te=e.transition(se),ve=e.transition(ue),Ye;p&#038;&#038;(Ye=ov(p),ve.attr(\"x\",Ye[0]).attr(\"width\",Ye[1]-Ye[0]),ee(Te)),x&#038;&#038;(Ye=ov(x),ve.attr(\"y\",Ye[0]).attr(\"height\",Ye[1]-Ye[0]),de(Te)),j(Te)})}X.event=function(te){te.each(function(){var se=c.of(this,arguments),ue={x:A,y:C,i:L,j:R},_e=this.__chart__||ue;this.__chart__=ue,to?e.select(this).transition().each(\"start.brush\",function(){L=_e.i,R=_e.j,A=_e.x,C=_e.y,se({type:\"brushstart\"})}).tween(\"brush:brush\",function(){var Te=iv(A,ue.x),ve=iv(C,ue.y);return L=R=null,function(Ye){A=ue.x=Te(Ye),C=ue.y=ve(Ye),se({type:\"brush\",mode:\"resize\"})}}).each(\"end.brush\",function(){L=ue.i,R=ue.j,se({type:\"brush\",mode:\"resize\"}),se({type:\"brushend\"})}):(se({type:\"brushstart\"}),se({type:\"brush\",mode:\"resize\"}),se({type:\"brushend\"}))})};function j(te){te.selectAll(\".resize\").attr(\"transform\",function(se){return\"translate(\"+A[+\/e$\/.test(se)]+\",\"+C[+\/^s\/.test(se)]+\")\"})}function ee(te){te.select(\".extent\").attr(\"x\",A[0]),te.selectAll(\".extent,.n>rect,.s>rect\").attr(\"width\",A[1]-A[0])}function de(te){te.select(\".extent\").attr(\"y\",C[0]),te.selectAll(\".extent,.e>rect,.w>rect\").attr(\"height\",C[1]-C[0])}function we(){var te=this,se=e.select(e.event.target),ue=c.of(te,arguments),_e=e.select(te),Te=se.datum(),ve=!\/^(n|s)$\/.test(Te)&&p,Ye=!\/^(e|w)$\/.test(Te)&&x,nr=se.classed(\"extent\"),fr=ar(te),lr,dr=e.mouse(te),pr,Sr=e.select(i(te)).on(\"keydown.brush\",Kr).on(\"keyup.brush\",St);if(e.event.changedTouches?Sr.on(\"touchmove.brush\",et).on(\"touchend.brush\",Lr):Sr.on(\"mousemove.brush\",et).on(\"mouseup.brush\",Lr),_e.interrupt().selectAll(\"*\").interrupt(),nr)dr[0]=A[0]-dr[0],dr[1]=C[0]-dr[1];else if(Te){var mr=+\/w$\/.test(Te),Tr=+\/^n\/.test(Te);pr=[A[1-mr]-dr[0],C[1-Tr]-dr[1]],dr[0]=A[mr],dr[1]=C[Tr]}else e.event.altKey&&(lr=dr.slice());_e.style(\"pointer-events\",\"none\").selectAll(\".resize\").style(\"display\",null),e.select(\"body\").style(\"cursor\",se.style(\"cursor\")),ue({type:\"brushstart\"}),et();function Kr(){e.event.keyCode==32&&(nr||(lr=null,dr[0]-=A[1],dr[1]-=C[1],nr=2),ne())}function St(){e.event.keyCode==32&&nr==2&&(dr[0]+=A[1],dr[1]+=C[1],nr=0,ne())}function et(){var qr=e.mouse(te),Qr=!1;pr&&(qr[0]+=pr[0],qr[1]+=pr[1]),nr||(e.event.altKey?(lr||(lr=[(A[0]+A[1])\/2,(C[0]+C[1])\/2]),dr[0]=A[+(qr[0]<lr[0])],dr[1]=C[+(qr[1]<lr[1])]):lr=null),ve&#038;&#038;rr(qr,p,0)&#038;&#038;(ee(_e),Qr=!0),Ye&#038;&#038;rr(qr,x,1)&#038;&#038;(de(_e),Qr=!0),Qr&#038;&#038;(j(_e),ue({type:\"brush\",mode:nr?\"move\":\"resize\"}))}function rr(qr,Qr,wt){var Vt=ov(Qr),ma=Vt[0],Ea=Vt[1],Ua=dr[wt],Pa=wt?C:A,Za=Pa[1]-Pa[0],Ma,Ja;if(nr&#038;&#038;(ma-=Ua,Ea-=Za+Ua),Ma=(wt?N:E)?Math.max(ma,Math.min(Ea,qr[wt])):qr[wt],nr?Ja=(Ma+=Ua)+Za:(lr&#038;&#038;(Ua=Math.max(ma,Math.min(Ea,2*lr[wt]-Ma))),Ua<Ma?(Ja=Ma,Ma=Ua):Ja=Ua),Pa[0]!=Ma||Pa[1]!=Ja)return wt?R=null:L=null,Pa[0]=Ma,Pa[1]=Ja,!0}function Lr(){et(),_e.style(\"pointer-events\",\"all\").selectAll(\".resize\").style(\"display\",X.empty()?\"none\":null),e.select(\"body\").style(\"cursor\",null),Sr.on(\"mousemove.brush\",null).on(\"mouseup.brush\",null).on(\"touchmove.brush\",null).on(\"touchend.brush\",null).on(\"keydown.brush\",null).on(\"keyup.brush\",null),fr(),ue({type:\"brushend\"})}}return X.x=function(te){return arguments.length?(p=te,W=K1[!p<<1|!x],X):p},X.y=function(te){return arguments.length?(x=te,W=K1[!p<<1|!x],X):x},X.clamp=function(te){return arguments.length?(p&#038;&#038;x?(E=!!te[0],N=!!te[1]):p?E=!!te:x&#038;&#038;(N=!!te),X):p&#038;&#038;x?[E,N]:p?E:x?N:null},X.extent=function(te){var se,ue,_e,Te,ve;return arguments.length?(p&#038;&#038;(se=te[0],ue=te[1],x&#038;&#038;(se=se[0],ue=ue[0]),L=[se,ue],p.invert&#038;&#038;(se=p(se),ue=p(ue)),ue<se&#038;&#038;(ve=se,se=ue,ue=ve),(se!=A[0]||ue!=A[1])&#038;&#038;(A=[se,ue])),x&#038;&#038;(_e=te[0],Te=te[1],p&#038;&#038;(_e=_e[1],Te=Te[1]),R=[_e,Te],x.invert&#038;&#038;(_e=x(_e),Te=x(Te)),Te<_e&#038;&#038;(ve=_e,_e=Te,Te=ve),(_e!=C[0]||Te!=C[1])&#038;&#038;(C=[_e,Te])),X):(p&#038;&#038;(L?(se=L[0],ue=L[1]):(se=A[0],ue=A[1],p.invert&#038;&#038;(se=p.invert(se),ue=p.invert(ue)),ue<se&#038;&#038;(ve=se,se=ue,ue=ve))),x&#038;&#038;(R?(_e=R[0],Te=R[1]):(_e=C[0],Te=C[1],x.invert&#038;&#038;(_e=x.invert(_e),Te=x.invert(Te)),Te<_e&#038;&#038;(ve=_e,_e=Te,Te=ve))),p&#038;&#038;x?[[se,_e],[ue,Te]]:p?[se,ue]:x&#038;&#038;[_e,Te])},X.clear=function(){return X.empty()||(A=[0,0],C=[0,0],L=R=null),X},X.empty=function(){return!!p&#038;&#038;A[0]==A[1]||!!x&#038;&#038;C[0]==C[1]},e.rebind(X,c,\"on\")};var fI={n:\"ns-resize\",e:\"ew-resize\",s:\"ns-resize\",w:\"ew-resize\",nw:\"nwse-resize\",ne:\"nesw-resize\",se:\"nwse-resize\",sw:\"nesw-resize\"},K1=[[\"n\",\"e\",\"s\",\"w\",\"nw\",\"ne\",\"se\",\"sw\"],[\"e\",\"w\"],[\"n\",\"s\"],[]];e.text=Vn(function(c){return c.responseText}),e.json=function(c,p){return jl(c,\"application\/json\",cI,p)};function cI(c){return JSON.parse(c.responseText)}e.html=function(c,p){return jl(c,\"text\/html\",vI,p)};function vI(c){var p=a.createRange();return p.selectNode(a.body),p.createContextualFragment(c.responseText)}e.xml=Vn(function(c){return c.responseXML}),typeof xv==\"object\"&#038;&#038;xv.exports?xv.exports=e:this.d3=e}).apply(self)});var Q1=K((_v,wb)=>{(function(e,r){typeof _v==\"object\"&&typeof wb!=\"undefined\"?r(_v):(e=e||self,r(e.d3=e.d3||{}))})(_v,function(e){\"use strict\";var r=new Date,t=new Date;function a(ie,xe,Ke,hr){function ze(Me){return ie(Me=arguments.length===0?new Date:new Date(+Me)),Me}return ze.floor=function(Me){return ie(Me=new Date(+Me)),Me},ze.ceil=function(Me){return ie(Me=new Date(Me-1)),xe(Me,1),ie(Me),Me},ze.round=function(Me){var ke=ze(Me),Oe=ze.ceil(Me);return Me-ke<Oe-Me?ke:Oe},ze.offset=function(Me,ke){return xe(Me=new Date(+Me),ke==null?1:Math.floor(ke)),Me},ze.range=function(Me,ke,Oe){var Ze=[],Ue;if(Me=ze.ceil(Me),Oe=Oe==null?1:Math.floor(Oe),!(Me<ke)||!(Oe>0))return Ze;do Ze.push(Ue=new Date(+Me)),xe(Me,Oe),ie(Me);while(Ue<Me&#038;&#038;Me<ke);return Ze},ze.filter=function(Me){return a(function(ke){if(ke>=ke)for(;ie(ke),!Me(ke);)ke.setTime(ke-1)},function(ke,Oe){if(ke>=ke)if(Oe<0)for(;++Oe<=0;)for(;xe(ke,-1),!Me(ke););else for(;--Oe>=0;)for(;xe(ke,1),!Me(ke););})},Ke&&(ze.count=function(Me,ke){return r.setTime(+Me),t.setTime(+ke),ie(r),ie(t),Math.floor(Ke(r,t))},ze.every=function(Me){return Me=Math.floor(Me),!isFinite(Me)||!(Me>0)?null:Me>1?ze.filter(hr?function(ke){return hr(ke)%Me===0}:function(ke){return ze.count(0,ke)%Me===0}):ze}),ze}var n=a(function(){},function(ie,xe){ie.setTime(+ie+xe)},function(ie,xe){return xe-ie});n.every=function(ie){return ie=Math.floor(ie),!isFinite(ie)||!(ie>0)?null:ie>1?a(function(xe){xe.setTime(Math.floor(xe\/ie)*ie)},function(xe,Ke){xe.setTime(+xe+Ke*ie)},function(xe,Ke){return(Ke-xe)\/ie}):n};var i=n.range,l=1e3,o=6e4,s=36e5,u=864e5,f=6048e5,v=a(function(ie){ie.setTime(ie-ie.getMilliseconds())},function(ie,xe){ie.setTime(+ie+xe*l)},function(ie,xe){return(xe-ie)\/l},function(ie){return ie.getUTCSeconds()}),h=v.range,d=a(function(ie){ie.setTime(ie-ie.getMilliseconds()-ie.getSeconds()*l)},function(ie,xe){ie.setTime(+ie+xe*o)},function(ie,xe){return(xe-ie)\/o},function(ie){return ie.getMinutes()}),m=d.range,y=a(function(ie){ie.setTime(ie-ie.getMilliseconds()-ie.getSeconds()*l-ie.getMinutes()*o)},function(ie,xe){ie.setTime(+ie+xe*s)},function(ie,xe){return(xe-ie)\/s},function(ie){return ie.getHours()}),g=y.range,_=a(function(ie){ie.setHours(0,0,0,0)},function(ie,xe){ie.setDate(ie.getDate()+xe)},function(ie,xe){return(xe-ie-(xe.getTimezoneOffset()-ie.getTimezoneOffset())*o)\/u},function(ie){return ie.getDate()-1}),T=_.range;function w(ie){return a(function(xe){xe.setDate(xe.getDate()-(xe.getDay()+7-ie)%7),xe.setHours(0,0,0,0)},function(xe,Ke){xe.setDate(xe.getDate()+Ke*7)},function(xe,Ke){return(Ke-xe-(Ke.getTimezoneOffset()-xe.getTimezoneOffset())*o)\/f})}var b=w(0),M=w(1),S=w(2),k=w(3),q=w(4),D=w(5),P=w(6),z=b.range,F=M.range,O=S.range,I=k.range,V=q.range,J=D.range,G=P.range,U=a(function(ie){ie.setDate(1),ie.setHours(0,0,0,0)},function(ie,xe){ie.setMonth(ie.getMonth()+xe)},function(ie,xe){return xe.getMonth()-ie.getMonth()+(xe.getFullYear()-ie.getFullYear())*12},function(ie){return ie.getMonth()}),H=U.range,Q=a(function(ie){ie.setMonth(0,1),ie.setHours(0,0,0,0)},function(ie,xe){ie.setFullYear(ie.getFullYear()+xe)},function(ie,xe){return xe.getFullYear()-ie.getFullYear()},function(ie){return ie.getFullYear()});Q.every=function(ie){return!isFinite(ie=Math.floor(ie))||!(ie>0)?null:a(function(xe){xe.setFullYear(Math.floor(xe.getFullYear()\/ie)*ie),xe.setMonth(0,1),xe.setHours(0,0,0,0)},function(xe,Ke){xe.setFullYear(xe.getFullYear()+Ke*ie)})};var Z=Q.range,ne=a(function(ie){ie.setUTCSeconds(0,0)},function(ie,xe){ie.setTime(+ie+xe*o)},function(ie,xe){return(xe-ie)\/o},function(ie){return ie.getUTCMinutes()}),ce=ne.range,ye=a(function(ie){ie.setUTCMinutes(0,0,0)},function(ie,xe){ie.setTime(+ie+xe*s)},function(ie,xe){return(xe-ie)\/s},function(ie){return ie.getUTCHours()}),Ce=ye.range,re=a(function(ie){ie.setUTCHours(0,0,0,0)},function(ie,xe){ie.setUTCDate(ie.getUTCDate()+xe)},function(ie,xe){return(xe-ie)\/u},function(ie){return ie.getUTCDate()-1}),Se=re.range;function pe(ie){return a(function(xe){xe.setUTCDate(xe.getUTCDate()-(xe.getUTCDay()+7-ie)%7),xe.setUTCHours(0,0,0,0)},function(xe,Ke){xe.setUTCDate(xe.getUTCDate()+Ke*7)},function(xe,Ke){return(Ke-xe)\/f})}var be=pe(0),Ae=pe(1),ge=pe(2),B=pe(3),$=pe(4),Y=pe(5),le=pe(6),he=be.range,me=Ae.range,Re=ge.range,Ee=B.range,Le=$.range,Ve=Y.range,Ie=le.range,Xe=a(function(ie){ie.setUTCDate(1),ie.setUTCHours(0,0,0,0)},function(ie,xe){ie.setUTCMonth(ie.getUTCMonth()+xe)},function(ie,xe){return xe.getUTCMonth()-ie.getUTCMonth()+(xe.getUTCFullYear()-ie.getUTCFullYear())*12},function(ie){return ie.getUTCMonth()}),De=Xe.range,He=a(function(ie){ie.setUTCMonth(0,1),ie.setUTCHours(0,0,0,0)},function(ie,xe){ie.setUTCFullYear(ie.getUTCFullYear()+xe)},function(ie,xe){return xe.getUTCFullYear()-ie.getUTCFullYear()},function(ie){return ie.getUTCFullYear()});He.every=function(ie){return!isFinite(ie=Math.floor(ie))||!(ie>0)?null:a(function(xe){xe.setUTCFullYear(Math.floor(xe.getUTCFullYear()\/ie)*ie),xe.setUTCMonth(0,1),xe.setUTCHours(0,0,0,0)},function(xe,Ke){xe.setUTCFullYear(xe.getUTCFullYear()+Ke*ie)})};var We=He.range;e.timeDay=_,e.timeDays=T,e.timeFriday=D,e.timeFridays=J,e.timeHour=y,e.timeHours=g,e.timeInterval=a,e.timeMillisecond=n,e.timeMilliseconds=i,e.timeMinute=d,e.timeMinutes=m,e.timeMonday=M,e.timeMondays=F,e.timeMonth=U,e.timeMonths=H,e.timeSaturday=P,e.timeSaturdays=G,e.timeSecond=v,e.timeSeconds=h,e.timeSunday=b,e.timeSundays=z,e.timeThursday=q,e.timeThursdays=V,e.timeTuesday=S,e.timeTuesdays=O,e.timeWednesday=k,e.timeWednesdays=I,e.timeWeek=b,e.timeWeeks=z,e.timeYear=Q,e.timeYears=Z,e.utcDay=re,e.utcDays=Se,e.utcFriday=Y,e.utcFridays=Ve,e.utcHour=ye,e.utcHours=Ce,e.utcMillisecond=n,e.utcMilliseconds=i,e.utcMinute=ne,e.utcMinutes=ce,e.utcMonday=Ae,e.utcMondays=me,e.utcMonth=Xe,e.utcMonths=De,e.utcSaturday=le,e.utcSaturdays=Ie,e.utcSecond=v,e.utcSeconds=h,e.utcSunday=be,e.utcSundays=he,e.utcThursday=$,e.utcThursdays=Le,e.utcTuesday=ge,e.utcTuesdays=Re,e.utcWednesday=B,e.utcWednesdays=Ee,e.utcWeek=be,e.utcWeeks=he,e.utcYear=He,e.utcYears=We,Object.defineProperty(e,\"__esModule\",{value:!0})})});var xs=K((wv,Tb)=>{(function(e,r){typeof wv==\"object\"&&typeof Tb!=\"undefined\"?r(wv,Q1()):(e=e||self,r(e.d3=e.d3||{},e.d3))})(wv,function(e,r){\"use strict\";function t(ae){if(0<=ae.y&#038;&#038;ae.y<100){var oe=new Date(-1,ae.m,ae.d,ae.H,ae.M,ae.S,ae.L);return oe.setFullYear(ae.y),oe}return new Date(ae.y,ae.m,ae.d,ae.H,ae.M,ae.S,ae.L)}function a(ae){if(0<=ae.y&#038;&#038;ae.y<100){var oe=new Date(Date.UTC(-1,ae.m,ae.d,ae.H,ae.M,ae.S,ae.L));return oe.setUTCFullYear(ae.y),oe}return new Date(Date.UTC(ae.y,ae.m,ae.d,ae.H,ae.M,ae.S,ae.L))}function n(ae,oe,qe){return{y:ae,m:oe,d:qe,H:0,M:0,S:0,L:0}}function i(ae){var oe=ae.dateTime,qe=ae.date,Pe=ae.time,$e=ae.periods,cr=ae.days,sr=ae.shortDays,Mr=ae.months,Ir=ae.shortMonths,Jr=h($e),lt=d($e),_t=h(cr),gt=d(cr),Yt=h(sr),zt=d(sr),Ba=h(Mr),ha=d(Mr),na=h(Ir),Ya=d(Ir),ia={a:Ft,A:$l,b:sl,B:Wc,c:null,d:U,e:U,f:ce,H,I:Q,j:Z,L:ne,m:ye,M:Ce,p:Xc,q:Nu,Q:ke,s:Oe,S:re,u:Se,U:pe,V:be,w:Ae,W:ge,x:null,X:null,y:B,Y:$,Z:Y,\"%\":Me},la={a:Fu,A:Iu,b:Da,B:Zc,c:null,d:le,e:le,f:Le,H:he,I:me,j:Re,L:Ee,m:Ve,M:Ie,p:cs,q:vs,Q:ke,s:Oe,S:Xe,u:De,U:He,V:We,w:ie,W:xe,x:null,X:null,y:Ke,Y:hr,Z:ze,\"%\":Me},vr={a:sa,A:at,b:Xa,B:Un,c:Kt,d:q,e:q,f:I,H:P,I:P,j:D,L:O,m:k,M:z,p:oa,q:S,Q:J,s:G,S:F,u:y,U:g,V:_,w:m,W:T,x:vt,X:Nt,y:b,Y:w,Z:M,\"%\":V};ia.x=ot(qe,ia),ia.X=ot(Pe,ia),ia.c=ot(oe,ia),la.x=ot(qe,la),la.X=ot(Pe,la),la.c=ot(oe,la);function ot(yr,Gr){return function($r){var or=[],da=-1,st=0,pa=yr.length,Rr,Vn,jl;for($r instanceof Date||($r=new Date(+$r));++da<pa;)yr.charCodeAt(da)===37&#038;&#038;(or.push(yr.slice(st,da)),(Vn=l[Rr=yr.charAt(++da)])!=null?Rr=yr.charAt(++da):Vn=Rr===\"e\"?\" \":\"0\",(jl=Gr[Rr])&#038;&#038;(Rr=jl($r,Vn)),or.push(Rr),st=da+1);return or.push(yr.slice(st,da)),or.join(\"\")}}function Xr(yr,Gr){return function($r){var or=n(1900,void 0,1),da=nt(or,yr,$r+=\"\",0),st,pa;if(da!=$r.length)return null;if(\"Q\"in or)return new Date(or.Q);if(\"s\"in or)return new Date(or.s*1e3+(\"L\"in or?or.L:0));if(Gr&#038;&#038;!(\"Z\"in or)&#038;&#038;(or.Z=0),\"p\"in or&#038;&#038;(or.H=or.H%12+or.p*12),or.m===void 0&#038;&#038;(or.m=\"q\"in or?or.q:0),\"V\"in or){if(or.V<1||or.V>53)return null;\"w\"in or||(or.w=1),\"Z\"in or?(st=a(n(or.y,0,1)),pa=st.getUTCDay(),st=pa>4||pa===0?r.utcMonday.ceil(st):r.utcMonday(st),st=r.utcDay.offset(st,(or.V-1)*7),or.y=st.getUTCFullYear(),or.m=st.getUTCMonth(),or.d=st.getUTCDate()+(or.w+6)%7):(st=t(n(or.y,0,1)),pa=st.getDay(),st=pa>4||pa===0?r.timeMonday.ceil(st):r.timeMonday(st),st=r.timeDay.offset(st,(or.V-1)*7),or.y=st.getFullYear(),or.m=st.getMonth(),or.d=st.getDate()+(or.w+6)%7)}else(\"W\"in or||\"U\"in or)&&(\"w\"in or||(or.w=\"u\"in or?or.u%7:\"W\"in or?1:0),pa=\"Z\"in or?a(n(or.y,0,1)).getUTCDay():t(n(or.y,0,1)).getDay(),or.m=0,or.d=\"W\"in or?(or.w+6)%7+or.W*7-(pa+5)%7:or.w+or.U*7-(pa+6)%7);return\"Z\"in or?(or.H+=or.Z\/100|0,or.M+=or.Z%100,a(or)):t(or)}}function nt(yr,Gr,$r,or){for(var da=0,st=Gr.length,pa=$r.length,Rr,Vn;da<st;){if(or>=pa)return-1;if(Rr=Gr.charCodeAt(da++),Rr===37){if(Rr=Gr.charAt(da++),Vn=vr[Rr in l?Gr.charAt(da++):Rr],!Vn||(or=Vn(yr,$r,or))<0)return-1}else if(Rr!=$r.charCodeAt(or++))return-1}return or}function oa(yr,Gr,$r){var or=Jr.exec(Gr.slice($r));return or?(yr.p=lt[or[0].toLowerCase()],$r+or[0].length):-1}function sa(yr,Gr,$r){var or=Yt.exec(Gr.slice($r));return or?(yr.w=zt[or[0].toLowerCase()],$r+or[0].length):-1}function at(yr,Gr,$r){var or=_t.exec(Gr.slice($r));return or?(yr.w=gt[or[0].toLowerCase()],$r+or[0].length):-1}function Xa(yr,Gr,$r){var or=na.exec(Gr.slice($r));return or?(yr.m=Ya[or[0].toLowerCase()],$r+or[0].length):-1}function Un(yr,Gr,$r){var or=Ba.exec(Gr.slice($r));return or?(yr.m=ha[or[0].toLowerCase()],$r+or[0].length):-1}function Kt(yr,Gr,$r){return nt(yr,oe,Gr,$r)}function vt(yr,Gr,$r){return nt(yr,qe,Gr,$r)}function Nt(yr,Gr,$r){return nt(yr,Pe,Gr,$r)}function Ft(yr){return sr[yr.getDay()]}function $l(yr){return cr[yr.getDay()]}function sl(yr){return Ir[yr.getMonth()]}function Wc(yr){return Mr[yr.getMonth()]}function Xc(yr){return $e[+(yr.getHours()>=12)]}function Nu(yr){return 1+~~(yr.getMonth()\/3)}function Fu(yr){return sr[yr.getUTCDay()]}function Iu(yr){return cr[yr.getUTCDay()]}function Da(yr){return Ir[yr.getUTCMonth()]}function Zc(yr){return Mr[yr.getUTCMonth()]}function cs(yr){return $e[+(yr.getUTCHours()>=12)]}function vs(yr){return 1+~~(yr.getUTCMonth()\/3)}return{format:function(yr){var Gr=ot(yr+=\"\",ia);return Gr.toString=function(){return yr},Gr},parse:function(yr){var Gr=Xr(yr+=\"\",!1);return Gr.toString=function(){return yr},Gr},utcFormat:function(yr){var Gr=ot(yr+=\"\",la);return Gr.toString=function(){return yr},Gr},utcParse:function(yr){var Gr=Xr(yr+=\"\",!0);return Gr.toString=function(){return yr},Gr}}}var l={\"-\":\"\",_:\" \",0:\"0\"},o=\/^\\s*\\d+\/,s=\/^%\/,u=\/[\\\\^$*+?|[\\]().{}]\/g;function f(ae,oe,qe){var Pe=ae<0?\"-\":\"\",$e=(Pe?-ae:ae)+\"\",cr=$e.length;return Pe+(cr<qe?new Array(qe-cr+1).join(oe)+$e:$e)}function v(ae){return ae.replace(u,\"\\\\$&#038;\")}function h(ae){return new RegExp(\"^(?:\"+ae.map(v).join(\"|\")+\")\",\"i\")}function d(ae){for(var oe={},qe=-1,Pe=ae.length;++qe<Pe;)oe[ae[qe].toLowerCase()]=qe;return oe}function m(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+1));return Pe?(ae.w=+Pe[0],qe+Pe[0].length):-1}function y(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+1));return Pe?(ae.u=+Pe[0],qe+Pe[0].length):-1}function g(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.U=+Pe[0],qe+Pe[0].length):-1}function _(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.V=+Pe[0],qe+Pe[0].length):-1}function T(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.W=+Pe[0],qe+Pe[0].length):-1}function w(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+4));return Pe?(ae.y=+Pe[0],qe+Pe[0].length):-1}function b(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.y=+Pe[0]+(+Pe[0]>68?1900:2e3),qe+Pe[0].length):-1}function M(ae,oe,qe){var Pe=\/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?\/.exec(oe.slice(qe,qe+6));return Pe?(ae.Z=Pe[1]?0:-(Pe[2]+(Pe[3]||\"00\")),qe+Pe[0].length):-1}function S(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+1));return Pe?(ae.q=Pe[0]*3-3,qe+Pe[0].length):-1}function k(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.m=Pe[0]-1,qe+Pe[0].length):-1}function q(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.d=+Pe[0],qe+Pe[0].length):-1}function D(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+3));return Pe?(ae.m=0,ae.d=+Pe[0],qe+Pe[0].length):-1}function P(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.H=+Pe[0],qe+Pe[0].length):-1}function z(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.M=+Pe[0],qe+Pe[0].length):-1}function F(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.S=+Pe[0],qe+Pe[0].length):-1}function O(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+3));return Pe?(ae.L=+Pe[0],qe+Pe[0].length):-1}function I(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+6));return Pe?(ae.L=Math.floor(Pe[0]\/1e3),qe+Pe[0].length):-1}function V(ae,oe,qe){var Pe=s.exec(oe.slice(qe,qe+1));return Pe?qe+Pe[0].length:-1}function J(ae,oe,qe){var Pe=o.exec(oe.slice(qe));return Pe?(ae.Q=+Pe[0],qe+Pe[0].length):-1}function G(ae,oe,qe){var Pe=o.exec(oe.slice(qe));return Pe?(ae.s=+Pe[0],qe+Pe[0].length):-1}function U(ae,oe){return f(ae.getDate(),oe,2)}function H(ae,oe){return f(ae.getHours(),oe,2)}function Q(ae,oe){return f(ae.getHours()%12||12,oe,2)}function Z(ae,oe){return f(1+r.timeDay.count(r.timeYear(ae),ae),oe,3)}function ne(ae,oe){return f(ae.getMilliseconds(),oe,3)}function ce(ae,oe){return ne(ae,oe)+\"000\"}function ye(ae,oe){return f(ae.getMonth()+1,oe,2)}function Ce(ae,oe){return f(ae.getMinutes(),oe,2)}function re(ae,oe){return f(ae.getSeconds(),oe,2)}function Se(ae){var oe=ae.getDay();return oe===0?7:oe}function pe(ae,oe){return f(r.timeSunday.count(r.timeYear(ae)-1,ae),oe,2)}function be(ae,oe){var qe=ae.getDay();return ae=qe>=4||qe===0?r.timeThursday(ae):r.timeThursday.ceil(ae),f(r.timeThursday.count(r.timeYear(ae),ae)+(r.timeYear(ae).getDay()===4),oe,2)}function Ae(ae){return ae.getDay()}function ge(ae,oe){return f(r.timeMonday.count(r.timeYear(ae)-1,ae),oe,2)}function B(ae,oe){return f(ae.getFullYear()%100,oe,2)}function $(ae,oe){return f(ae.getFullYear()%1e4,oe,4)}function Y(ae){var oe=ae.getTimezoneOffset();return(oe>0?\"-\":(oe*=-1,\"+\"))+f(oe\/60|0,\"0\",2)+f(oe%60,\"0\",2)}function le(ae,oe){return f(ae.getUTCDate(),oe,2)}function he(ae,oe){return f(ae.getUTCHours(),oe,2)}function me(ae,oe){return f(ae.getUTCHours()%12||12,oe,2)}function Re(ae,oe){return f(1+r.utcDay.count(r.utcYear(ae),ae),oe,3)}function Ee(ae,oe){return f(ae.getUTCMilliseconds(),oe,3)}function Le(ae,oe){return Ee(ae,oe)+\"000\"}function Ve(ae,oe){return f(ae.getUTCMonth()+1,oe,2)}function Ie(ae,oe){return f(ae.getUTCMinutes(),oe,2)}function Xe(ae,oe){return f(ae.getUTCSeconds(),oe,2)}function De(ae){var oe=ae.getUTCDay();return oe===0?7:oe}function He(ae,oe){return f(r.utcSunday.count(r.utcYear(ae)-1,ae),oe,2)}function We(ae,oe){var qe=ae.getUTCDay();return ae=qe>=4||qe===0?r.utcThursday(ae):r.utcThursday.ceil(ae),f(r.utcThursday.count(r.utcYear(ae),ae)+(r.utcYear(ae).getUTCDay()===4),oe,2)}function ie(ae){return ae.getUTCDay()}function xe(ae,oe){return f(r.utcMonday.count(r.utcYear(ae)-1,ae),oe,2)}function Ke(ae,oe){return f(ae.getUTCFullYear()%100,oe,2)}function hr(ae,oe){return f(ae.getUTCFullYear()%1e4,oe,4)}function ze(){return\"+0000\"}function Me(){return\"%\"}function ke(ae){return+ae}function Oe(ae){return Math.floor(+ae\/1e3)}var Ze;Ue({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 Ue(ae){return Ze=i(ae),e.timeFormat=Ze.format,e.timeParse=Ze.parse,e.utcFormat=Ze.utcFormat,e.utcParse=Ze.utcParse,Ze}var Ge=\"%Y-%m-%dT%H:%M:%S.%LZ\";function ir(ae){return ae.toISOString()}var ar=Date.prototype.toISOString?ir:e.utcFormat(Ge);function er(ae){var oe=new Date(ae);return isNaN(oe)?null:oe}var Ne=+new Date(\"2000-01-01T00:00:00.000Z\")?er:e.utcParse(Ge);e.isoFormat=ar,e.isoParse=Ne,e.timeFormatDefaultLocale=Ue,e.timeFormatLocale=i,Object.defineProperty(e,\"__esModule\",{value:!0})})});var $1=K((Tv,Mb)=>{(function(e,r){typeof Tv==\"object\"&&typeof Mb!=\"undefined\"?r(Tv):(e=typeof globalThis!=\"undefined\"?globalThis:e||self,r(e.d3=e.d3||{}))})(Tv,(function(e){\"use strict\";function r(k){return Math.abs(k=Math.round(k))>=1e21?k.toLocaleString(\"en\").replace(\/,\/g,\"\"):k.toString(10)}function t(k,q){if((D=(k=q?k.toExponential(q-1):k.toExponential()).indexOf(\"e\"))<0)return null;var D,P=k.slice(0,D);return[P.length>1?P[0]+P.slice(2):P,+k.slice(D+1)]}function a(k){return k=t(Math.abs(k)),k?k[1]:NaN}function n(k,q){return function(D,P){for(var z=D.length,F=[],O=0,I=k[0],V=0;z>0&&I>0&&(V+I+1>P&&(I=Math.max(1,P-V)),F.push(D.substring(z-=I,z+I)),!((V+=I+1)>P));)I=k[O=(O+1)%k.length];return F.reverse().join(q)}}function i(k){return function(q){return q.replace(\/[0-9]\/g,function(D){return k[+D]})}}var l=\/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$\/i;function o(k){if(!(q=l.exec(k)))throw new Error(\"invalid format: \"+k);var q;return new s({fill:q[1],align:q[2],sign:q[3],symbol:q[4],zero:q[5],width:q[6],comma:q[7],precision:q[8]&&q[8].slice(1),trim:q[9],type:q[10]})}o.prototype=s.prototype;function s(k){this.fill=k.fill===void 0?\" \":k.fill+\"\",this.align=k.align===void 0?\">\":k.align+\"\",this.sign=k.sign===void 0?\"-\":k.sign+\"\",this.symbol=k.symbol===void 0?\"\":k.symbol+\"\",this.zero=!!k.zero,this.width=k.width===void 0?void 0:+k.width,this.comma=!!k.comma,this.precision=k.precision===void 0?void 0:+k.precision,this.trim=!!k.trim,this.type=k.type===void 0?\"\":k.type+\"\"}s.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 u(k){e:for(var q=k.length,D=1,P=-1,z;D<q;++D)switch(k[D]){case\".\":P=z=D;break;case\"0\":P===0&#038;&#038;(P=D),z=D;break;default:if(!+k[D])break e;P>0&&(P=0);break}return P>0?k.slice(0,P)+k.slice(z+1):k}var f;function v(k,q){var D=t(k,q);if(!D)return k+\"\";var P=D[0],z=D[1],F=z-(f=Math.max(-8,Math.min(8,Math.floor(z\/3)))*3)+1,O=P.length;return F===O?P:F>O?P+new Array(F-O+1).join(\"0\"):F>0?P.slice(0,F)+\".\"+P.slice(F):\"0.\"+new Array(1-F).join(\"0\")+t(k,Math.max(0,q+F-1))[0]}function h(k,q){var D=t(k,q);if(!D)return k+\"\";var P=D[0],z=D[1];return z<0?\"0.\"+new Array(-z).join(\"0\")+P:P.length>z+1?P.slice(0,z+1)+\".\"+P.slice(z+1):P+new Array(z-P.length+2).join(\"0\")}var d={\"%\":function(k,q){return(k*100).toFixed(q)},b:function(k){return Math.round(k).toString(2)},c:function(k){return k+\"\"},d:r,e:function(k,q){return k.toExponential(q)},f:function(k,q){return k.toFixed(q)},g:function(k,q){return k.toPrecision(q)},o:function(k){return Math.round(k).toString(8)},p:function(k,q){return h(k*100,q)},r:h,s:v,X:function(k){return Math.round(k).toString(16).toUpperCase()},x:function(k){return Math.round(k).toString(16)}};function m(k){return k}var y=Array.prototype.map,g=[\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"\\xB5\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];function _(k){var q=k.grouping===void 0||k.thousands===void 0?m:n(y.call(k.grouping,Number),k.thousands+\"\"),D=k.currency===void 0?\"\":k.currency[0]+\"\",P=k.currency===void 0?\"\":k.currency[1]+\"\",z=k.decimal===void 0?\".\":k.decimal+\"\",F=k.numerals===void 0?m:i(y.call(k.numerals,String)),O=k.percent===void 0?\"%\":k.percent+\"\",I=k.minus===void 0?\"-\":k.minus+\"\",V=k.nan===void 0?\"NaN\":k.nan+\"\";function J(U){U=o(U);var H=U.fill,Q=U.align,Z=U.sign,ne=U.symbol,ce=U.zero,ye=U.width,Ce=U.comma,re=U.precision,Se=U.trim,pe=U.type;pe===\"n\"?(Ce=!0,pe=\"g\"):d[pe]||(re===void 0&&(re=12),Se=!0,pe=\"g\"),(ce||H===\"0\"&&Q===\"=\")&&(ce=!0,H=\"0\",Q=\"=\");var be=ne===\"$\"?D:ne===\"#\"&&\/[boxX]\/.test(pe)?\"0\"+pe.toLowerCase():\"\",Ae=ne===\"$\"?P:\/[%p]\/.test(pe)?O:\"\",ge=d[pe],B=\/[defgprs%]\/.test(pe);re=re===void 0?6:\/[gprs]\/.test(pe)?Math.max(1,Math.min(21,re)):Math.max(0,Math.min(20,re));function $(Y){var le=be,he=Ae,me,Re,Ee;if(pe===\"c\")he=ge(Y)+he,Y=\"\";else{Y=+Y;var Le=Y<0||1\/Y<0;if(Y=isNaN(Y)?V:ge(Math.abs(Y),re),Se&#038;&#038;(Y=u(Y)),Le&#038;&#038;+Y==0&#038;&#038;Z!==\"+\"&#038;&#038;(Le=!1),le=(Le?Z===\"(\"?Z:I:Z===\"-\"||Z===\"(\"?\"\":Z)+le,he=(pe===\"s\"?g[8+f\/3]:\"\")+he+(Le&#038;&#038;Z===\"(\"?\")\":\"\"),B){for(me=-1,Re=Y.length;++me<Re;)if(Ee=Y.charCodeAt(me),48>Ee||Ee>57){he=(Ee===46?z+Y.slice(me+1):Y.slice(me))+he,Y=Y.slice(0,me);break}}}Ce&&!ce&&(Y=q(Y,1\/0));var Ve=le.length+Y.length+he.length,Ie=Ve<ye?new Array(ye-Ve+1).join(H):\"\";switch(Ce&#038;&#038;ce&#038;&#038;(Y=q(Ie+Y,Ie.length?ye-he.length:1\/0),Ie=\"\"),Q){case\"<\":Y=le+Y+he+Ie;break;case\"=\":Y=le+Ie+Y+he;break;case\"^\":Y=Ie.slice(0,Ve=Ie.length>>1)+le+Y+he+Ie.slice(Ve);break;default:Y=Ie+le+Y+he;break}return F(Y)}return $.toString=function(){return U+\"\"},$}function G(U,H){var Q=J((U=o(U),U.type=\"f\",U)),Z=Math.max(-8,Math.min(8,Math.floor(a(H)\/3)))*3,ne=Math.pow(10,-Z),ce=g[8+Z\/3];return function(ye){return Q(ne*ye)+ce}}return{format:J,formatPrefix:G}}var T;w({decimal:\".\",thousands:\",\",grouping:[3],currency:[\"$\",\"\"],minus:\"-\"});function w(k){return T=_(k),e.format=T.format,e.formatPrefix=T.formatPrefix,T}function b(k){return Math.max(0,-a(Math.abs(k)))}function M(k,q){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(a(q)\/3)))*3-a(Math.abs(k)))}function S(k,q){return k=Math.abs(k),q=Math.abs(q)-k,Math.max(0,a(q)-a(k))+1}e.FormatSpecifier=s,e.formatDefaultLocale=w,e.formatLocale=_,e.formatSpecifier=o,e.precisionFixed=b,e.precisionPrefix=M,e.precisionRound=S,Object.defineProperty(e,\"__esModule\",{value:!0})}))});var kb=K((Yie,Ab)=>{\"use strict\";Ab.exports=function(e){for(var r=e.length,t,a=0;a<r;a++)if(t=e.charCodeAt(a),(t<9||t>13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}});var Hr=K((Uie,Cb)=>{\"use strict\";var bI=kb();Cb.exports=function(e){var r=typeof e;if(r===\"string\"){var t=e;if(e=+e,e===0&&bI(t))return!1}else if(r!==\"number\")return!1;return e-e<1}});var Gt=K((Vie,Sb)=>{\"use strict\";Sb.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:\"\\u2212\"}});var j1=K((Mv,Lb)=>{(function(e,r){typeof Mv==\"object\"&&typeof Lb!=\"undefined\"?r(Mv):(e=typeof globalThis!=\"undefined\"?globalThis:e||self,r(e[\"base64-arraybuffer\"]={}))})(Mv,(function(e){\"use strict\";for(var r=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/\",t=typeof Uint8Array==\"undefined\"?[]:new Uint8Array(256),a=0;a<r.length;a++)t[r.charCodeAt(a)]=a;var n=function(l){var o=new Uint8Array(l),s,u=o.length,f=\"\";for(s=0;s<u;s+=3)f+=r[o[s]>>2],f+=r[(o[s]&3)<<4|o[s+1]>>4],f+=r[(o[s+1]&15)<<2|o[s+2]>>6],f+=r[o[s+2]&63];return u%3===2?f=f.substring(0,f.length-1)+\"=\":u%3===1&&(f=f.substring(0,f.length-2)+\"==\"),f},i=function(l){var o=l.length*.75,s=l.length,u,f=0,v,h,d,m;l[l.length-1]===\"=\"&&(o--,l[l.length-2]===\"=\"&&o--);var y=new ArrayBuffer(o),g=new Uint8Array(y);for(u=0;u<s;u+=4)v=t[l.charCodeAt(u)],h=t[l.charCodeAt(u+1)],d=t[l.charCodeAt(u+2)],m=t[l.charCodeAt(u+3)],g[f++]=v<<2|h>>4,g[f++]=(h&15)<<4|d>>2,g[f++]=(d&3)<<6|m&#038;63;return y};e.decode=i,e.encode=n,Object.defineProperty(e,\"__esModule\",{value:!0})}))});var cl=K((Gie,qb)=>{\"use strict\";qb.exports=function(r){return window&&window.process&&window.process.versions?Object.prototype.toString.call(r)===\"[object Object]\":Object.prototype.toString.call(r)===\"[object Object]\"&&Object.getPrototypeOf(r).hasOwnProperty(\"hasOwnProperty\")}});var Ka=K(Xn=>{\"use strict\";var xI=j1().decode,_I=cl(),ep=Array.isArray,wI=ArrayBuffer,TI=DataView;function Db(e){return wI.isView(e)&&!(e instanceof TI)}Xn.isTypedArray=Db;function Av(e){return ep(e)||Db(e)}Xn.isArrayOrTypedArray=Av;function MI(e){return!Av(e[0])}Xn.isArray1D=MI;Xn.ensureArray=function(e,r){return ep(e)||(e=[]),e.length=r,e};var ua={u1c:typeof Uint8ClampedArray==\"undefined\"?void 0:Uint8ClampedArray,i1:typeof Int8Array==\"undefined\"?void 0:Int8Array,u1:typeof Uint8Array==\"undefined\"?void 0:Uint8Array,i2:typeof Int16Array==\"undefined\"?void 0:Int16Array,u2:typeof Uint16Array==\"undefined\"?void 0:Uint16Array,i4:typeof Int32Array==\"undefined\"?void 0:Int32Array,u4:typeof Uint32Array==\"undefined\"?void 0:Uint32Array,f4:typeof Float32Array==\"undefined\"?void 0:Float32Array,f8:typeof Float64Array==\"undefined\"?void 0:Float64Array};ua.uint8c=ua.u1c;ua.uint8=ua.u1;ua.int8=ua.i1;ua.uint16=ua.u2;ua.int16=ua.i2;ua.uint32=ua.u4;ua.int32=ua.i4;ua.float32=ua.f4;ua.float64=ua.f8;function rp(e){return e.constructor===ArrayBuffer}Xn.isArrayBuffer=rp;Xn.decodeTypedArraySpec=function(e){var r=[],t=AI(e),a=t.dtype,n=ua[a];if(!n)throw new Error('Error in dtype: \"'+a+'\"');var i=n.BYTES_PER_ELEMENT,l=t.bdata;rp(l)||(l=xI(l));var o=t.shape===void 0?[l.byteLength\/i]:(\"\"+t.shape).split(\",\");o.reverse();var s=o.length,u,f,v=+o[0],h=i*v,d=0;if(s===1)r=new n(l);else if(s===2)for(u=+o[1],f=0;f<u;f++)r[f]=new n(l,d,v),d+=h;else if(s===3){u=+o[1];for(var m=+o[2],y=0;y<m;y++)for(r[y]=[],f=0;f<u;f++)r[y][f]=new n(l,d,v),d+=h}else throw new Error(\"ndim: \"+s+'is not supported with the shape:\"'+t.shape+'\"');return r.bdata=t.bdata,r.dtype=t.dtype,r.shape=o.reverse().join(\",\"),e._inputArray=r,r};Xn.isTypedArraySpec=function(e){return _I(e)&#038;&#038;e.hasOwnProperty(\"dtype\")&#038;&#038;typeof e.dtype==\"string\"&#038;&#038;e.hasOwnProperty(\"bdata\")&#038;&#038;(typeof e.bdata==\"string\"||rp(e.bdata))&#038;&#038;(e.shape===void 0||e.hasOwnProperty(\"shape\")&#038;&#038;(typeof e.shape==\"string\"||typeof e.shape==\"number\"))};function AI(e){return{bdata:e.bdata,dtype:e.dtype,shape:e.shape}}Xn.concat=function(){var e=[],r=!0,t=0,a,n,i,l,o,s,u,f;for(i=0;i<arguments.length;i++)l=arguments[i],s=l.length,s&#038;&#038;(n?e.push(l):(n=l,o=s),ep(l)?a=!1:(r=!1,t?a!==l.constructor&#038;&#038;(a=!1):a=l.constructor),t+=s);if(!t)return[];if(!e.length)return n;if(r)return n.concat.apply(n,e);if(a){for(u=new a(t),u.set(n),i=0;i<e.length;i++)l=e[i],u.set(l,o),o+=l.length;return u}for(u=new Array(t),f=0;f<n.length;f++)u[f]=n[f];for(i=0;i<e.length;i++){for(l=e[i],f=0;f<l.length;f++)u[o+f]=l[f];o+=f}return u};Xn.maxRowLength=function(e){return Eb(e,Math.max,0)};Xn.minRowLength=function(e){return Eb(e,Math.min,1\/0)};function Eb(e,r,t){if(Av(e))if(Av(e[0])){for(var a=t,n=0;n<e.length;n++)a=r(a,e[n].length);return a}else return e.length;return 0}});var kv=K((Xie,Fb)=>{\"use strict\";var Pb=Hr(),ap=Ka().isArrayOrTypedArray;Fb.exports=function(r,t){if(Pb(t))t=String(t);else if(typeof t!=\"string\"||t.slice(-4)===\"[-1]\")throw\"bad property string\";var a=t.split(\".\"),n,i,l,o;for(o=0;o<a.length;o++)if(String(a[o]).slice(0,2)===\"__\")throw\"bad property string\";for(o=0;o<a.length;){if(n=String(a[o]).match(\/^([^\\[\\]]*)((\\[\\-?[0-9]*\\])+)$\/),n){if(n[1])a[o]=n[1];else if(o===0)a.splice(0,1);else throw\"bad property string\";for(i=n[2].slice(1,-1).split(\"][\"),l=0;l<i.length;l++)o++,a.splice(o,0,Number(i[l]))}o++}return typeof r!=\"object\"?LI(r,t,a):{set:zb(r,a,t),get:Rb(r,a),astr:t,parts:a,obj:r}};function Rb(e,r){return function(t){var a=e,n,i,l,o,s;for(o=0;o<r.length-1;o++){if(n=r[o],n===-1){for(i=!0,l=[],s=0;s<a.length;s++)l[s]=Rb(a[s],r.slice(o+1))(t),l[s]!==l[0]&#038;&#038;(i=!1);return i?l[0]:l}if(typeof n==\"number\"&#038;&#038;!ap(a)||(a=a[n],typeof a!=\"object\"||a===null))return}if(!(typeof a!=\"object\"||a===null)&#038;&#038;(l=a[r[o]],!(!t&#038;&#038;l===null)))return l}}var kI=\/(^|\\.)args\\[\/;function tp(e,r){return e===void 0||e===null&#038;&#038;!r.match(kI)}function zb(e,r,t){return function(a){var n=e,i=\"\",l=[[e,i]],o=tp(a,t),s,u;for(u=0;u<r.length-1;u++){if(s=r[u],typeof s==\"number\"&#038;&#038;!ap(n))throw\"array index but container is not an array\";if(s===-1){if(o=!SI(n,r.slice(u+1),a,t),o)break;return}if(!Nb(n,s,r[u+1],o))break;if(n=n[s],typeof n!=\"object\"||n===null)throw\"container is not an object\";i=CI(i,s),l.push([n,i])}if(o){if(u===r.length-1&#038;&#038;(delete n[r[u]],Array.isArray(n)&#038;&#038;+r[u]===n.length-1))for(;n.length&#038;&#038;n[n.length-1]===void 0;)n.pop()}else n[r[u]]=a}}function CI(e,r){var t=r;return Pb(r)?t=\"[\"+r+\"]\":e&#038;&#038;(t=\".\"+r),e+t}function SI(e,r,t,a){var n=ap(t),i=!0,l=t,o=a.replace(\"-1\",0),s=n?!1:tp(t,o),u=r[0],f;for(f=0;f<e.length;f++)o=a.replace(\"-1\",f),n&#038;&#038;(l=t[f%t.length],s=tp(l,o)),s&#038;&#038;(i=!1),Nb(e,f,u,s)&#038;&#038;zb(e[f],r,a.replace(\"-1\",f))(l);return i}function Nb(e,r,t,a){if(e[r]===void 0){if(a)return!1;typeof t==\"number\"?e[r]=[]:e[r]={}}return!0}function LI(e,r,t){return{set:function(){throw\"bad container\"},get:function(){},astr:r,parts:t,obj:e}}});var Bb=K((Zie,Ob)=>{\"use strict\";var _s=kv(),qI=\/^\\w*$\/,DI=0,Ib=1,Cv=2,Hb=3,lo=4;Ob.exports=function(r,t,a,n){a=a||\"name\",n=n||\"value\";var i,l,o,s={};t&&t.length?(o=_s(r,t),l=o.get()):l=r,t=t||\"\";var u={};if(l)for(i=0;i<l.length;i++)u[l[i][a]]=i;var f=qI.test(n),v={set:function(h,d){var m=d===null?lo:DI;if(!l){if(!o||m===lo)return;l=[],o.set(l)}var y=u[h];if(y===void 0){if(m===lo)return;m=m|Hb,y=l.length,u[h]=y}else d!==(f?l[y][n]:_s(l[y],n).get())&#038;&#038;(m=m|Cv);var g=l[y]=l[y]||{};return g[a]=h,f?g[n]=d:_s(g,n).set(d),d!==null&#038;&#038;(m=m&#038;~lo),s[y]=s[y]|m,v},get:function(h){if(l){var d=u[h];if(d!==void 0)return f?l[d][n]:_s(l[d],n).get()}},rename:function(h,d){var m=u[h];return m===void 0||(s[m]=s[m]|Ib,u[d]=m,delete u[h],l[m][a]=d),v},remove:function(h){var d=u[h];if(d===void 0)return v;var m=l[d];if(Object.keys(m).length>2)return s[d]=s[d]|Cv,v.set(h,null);if(f){for(i=d;i<l.length;i++)s[i]=s[i]|Hb;for(i=d;i<l.length;i++)u[l[i][a]]--;l.splice(d,1),delete u[h]}else _s(m,n).set(null),s[d]=s[d]|Cv|lo;return v},constructUpdate:function(){for(var h,d,m={},y=Object.keys(s),g=0;g<y.length;g++)d=y[g],h=t+\"[\"+d+\"]\",l[d]?(s[d]&#038;Ib&#038;&#038;(m[h+\".\"+a]=l[d][a]),s[d]&#038;Cv&#038;&#038;(f?m[h+\".\"+n]=s[d]&#038;lo?null:l[d][n]:m[h+\".\"+n]=s[d]&#038;lo?null:_s(l[d],n).get())):m[h]=null;return m}};return v}});var Ub=K((Jie,Yb)=>{\"use strict\";var EI=\/^(.*)(\\.[^\\.\\[\\]]+|\\[\\d\\])$\/,PI=\/^[^\\.\\[\\]]+$\/;Yb.exports=function(e,r){for(;r;){var t=e.match(EI);if(t)e=t[1];else if(e.match(PI))e=\"\";else throw new Error(\"bad relativeAttr call:\"+[e,r]);if(r.charAt(0)===\"^\")r=r.slice(1);else break}return e&&r.charAt(0)!==\"[\"?e+\".\"+r:e+r}});var Sv=K((Kie,Vb)=>{\"use strict\";var RI=Hr();Vb.exports=function(r,t){if(r>0)return Math.log(r)\/Math.LN10;var a=Math.log(Math.min(t[0],t[1]))\/Math.LN10;return RI(a)||(a=Math.log(Math.max(t[0],t[1]))\/Math.LN10-6),a}});var Xb=K((Qie,Wb)=>{\"use strict\";var Gb=Ka().isArrayOrTypedArray,Ju=cl();Wb.exports=function e(r,t){for(var a in t){var n=t[a],i=r[a];if(i!==n)if(a.charAt(0)===\"_\"||typeof n==\"function\"){if(a in r)continue;r[a]=n}else if(Gb(n)&&Gb(i)&&Ju(n[0])){if(a===\"customdata\"||a===\"ids\")continue;for(var l=Math.min(n.length,i.length),o=0;o<l;o++)i[o]!==n[o]&#038;&#038;Ju(n[o])&#038;&#038;Ju(i[o])&#038;&#038;e(i[o],n[o])}else Ju(n)&#038;&#038;Ju(i)&#038;&#038;(e(i,n),Object.keys(i).length||delete r[a])}}});var ws=K(($ie,Zb)=>{\"use strict\";function zI(e,r){var t=e%r;return t<0?t+r:t}function NI(e,r){return Math.abs(e)>r\/2?e-Math.round(e\/r)*r:e}Zb.exports={mod:zI,modHalf:NI}});var wn=K((jie,Lv)=>{(function(e){var r=\/^\\s+\/,t=\/\\s+$\/,a=0,n=e.round,i=e.min,l=e.max,o=e.random;function s(B,$){if(B=B||\"\",$=$||{},B instanceof s)return B;if(!(this instanceof s))return new s(B,$);var Y=u(B);this._originalInput=B,this._r=Y.r,this._g=Y.g,this._b=Y.b,this._a=Y.a,this._roundA=n(100*this._a)\/100,this._format=$.format||Y.format,this._gradientType=$.gradientType,this._r<1&#038;&#038;(this._r=n(this._r)),this._g<1&#038;&#038;(this._g=n(this._g)),this._b<1&#038;&#038;(this._b=n(this._b)),this._ok=Y.ok,this._tc_id=a++}s.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 B=this.toRgb();return(B.r*299+B.g*587+B.b*114)\/1e3},getLuminance:function(){var B=this.toRgb(),$,Y,le,he,me,Re;return $=B.r\/255,Y=B.g\/255,le=B.b\/255,$<=.03928?he=$\/12.92:he=e.pow(($+.055)\/1.055,2.4),Y<=.03928?me=Y\/12.92:me=e.pow((Y+.055)\/1.055,2.4),le<=.03928?Re=le\/12.92:Re=e.pow((le+.055)\/1.055,2.4),.2126*he+.7152*me+.0722*Re},setAlpha:function(B){return this._a=U(B),this._roundA=n(100*this._a)\/100,this},toHsv:function(){var B=d(this._r,this._g,this._b);return{h:B.h*360,s:B.s,v:B.v,a:this._a}},toHsvString:function(){var B=d(this._r,this._g,this._b),$=n(B.h*360),Y=n(B.s*100),le=n(B.v*100);return this._a==1?\"hsv(\"+$+\", \"+Y+\"%, \"+le+\"%)\":\"hsva(\"+$+\", \"+Y+\"%, \"+le+\"%, \"+this._roundA+\")\"},toHsl:function(){var B=v(this._r,this._g,this._b);return{h:B.h*360,s:B.s,l:B.l,a:this._a}},toHslString:function(){var B=v(this._r,this._g,this._b),$=n(B.h*360),Y=n(B.s*100),le=n(B.l*100);return this._a==1?\"hsl(\"+$+\", \"+Y+\"%, \"+le+\"%)\":\"hsla(\"+$+\", \"+Y+\"%, \"+le+\"%, \"+this._roundA+\")\"},toHex:function(B){return y(this._r,this._g,this._b,B)},toHexString:function(B){return\"#\"+this.toHex(B)},toHex8:function(B){return g(this._r,this._g,this._b,this._a,B)},toHex8String:function(B){return\"#\"+this.toHex8(B)},toRgb:function(){return{r:n(this._r),g:n(this._g),b:n(this._b),a:this._a}},toRgbString:function(){return this._a==1?\"rgb(\"+n(this._r)+\", \"+n(this._g)+\", \"+n(this._b)+\")\":\"rgba(\"+n(this._r)+\", \"+n(this._g)+\", \"+n(this._b)+\", \"+this._roundA+\")\"},toPercentageRgb:function(){return{r:n(H(this._r,255)*100)+\"%\",g:n(H(this._g,255)*100)+\"%\",b:n(H(this._b,255)*100)+\"%\",a:this._a}},toPercentageRgbString:function(){return this._a==1?\"rgb(\"+n(H(this._r,255)*100)+\"%, \"+n(H(this._g,255)*100)+\"%, \"+n(H(this._b,255)*100)+\"%)\":\"rgba(\"+n(H(this._r,255)*100)+\"%, \"+n(H(this._g,255)*100)+\"%, \"+n(H(this._b,255)*100)+\"%, \"+this._roundA+\")\"},toName:function(){return this._a===0?\"transparent\":this._a<1?!1:J[y(this._r,this._g,this._b,!0)]||!1},toFilter:function(B){var $=\"#\"+_(this._r,this._g,this._b,this._a),Y=$,le=this._gradientType?\"GradientType = 1, \":\"\";if(B){var he=s(B);Y=\"#\"+_(he._r,he._g,he._b,he._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+le+\"startColorstr=\"+$+\",endColorstr=\"+Y+\")\"},toString:function(B){var $=!!B;B=B||this._format;var Y=!1,le=this._a<1&#038;&#038;this._a>=0,he=!$&&le&&(B===\"hex\"||B===\"hex6\"||B===\"hex3\"||B===\"hex4\"||B===\"hex8\"||B===\"name\");return he?B===\"name\"&&this._a===0?this.toName():this.toRgbString():(B===\"rgb\"&&(Y=this.toRgbString()),B===\"prgb\"&&(Y=this.toPercentageRgbString()),(B===\"hex\"||B===\"hex6\")&&(Y=this.toHexString()),B===\"hex3\"&&(Y=this.toHexString(!0)),B===\"hex4\"&&(Y=this.toHex8String(!0)),B===\"hex8\"&&(Y=this.toHex8String()),B===\"name\"&&(Y=this.toName()),B===\"hsl\"&&(Y=this.toHslString()),B===\"hsv\"&&(Y=this.toHsvString()),Y||this.toHexString())},clone:function(){return s(this.toString())},_applyModification:function(B,$){var Y=B.apply(null,[this].concat([].slice.call($)));return this._r=Y._r,this._g=Y._g,this._b=Y._b,this.setAlpha(Y._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(S,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(T,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(q,arguments)},_applyCombination:function(B,$){return B.apply(null,[this].concat([].slice.call($)))},analogous:function(){return this._applyCombination(O,arguments)},complement:function(){return this._applyCombination(D,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(F,arguments)},triad:function(){return this._applyCombination(P,arguments)},tetrad:function(){return this._applyCombination(z,arguments)}},s.fromRatio=function(B,$){if(typeof B==\"object\"){var Y={};for(var le in B)B.hasOwnProperty(le)&&(le===\"a\"?Y[le]=B[le]:Y[le]=Ce(B[le]));B=Y}return s(B,$)};function u(B){var $={r:0,g:0,b:0},Y=1,le=null,he=null,me=null,Re=!1,Ee=!1;return typeof B==\"string\"&&(B=Ae(B)),typeof B==\"object\"&&(be(B.r)&&be(B.g)&&be(B.b)?($=f(B.r,B.g,B.b),Re=!0,Ee=String(B.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):be(B.h)&&be(B.s)&&be(B.v)?(le=Ce(B.s),he=Ce(B.v),$=m(B.h,le,he),Re=!0,Ee=\"hsv\"):be(B.h)&&be(B.s)&&be(B.l)&&(le=Ce(B.s),me=Ce(B.l),$=h(B.h,le,me),Re=!0,Ee=\"hsl\"),B.hasOwnProperty(\"a\")&&(Y=B.a)),Y=U(Y),{ok:Re,format:B.format||Ee,r:i(255,l($.r,0)),g:i(255,l($.g,0)),b:i(255,l($.b,0)),a:Y}}function f(B,$,Y){return{r:H(B,255)*255,g:H($,255)*255,b:H(Y,255)*255}}function v(B,$,Y){B=H(B,255),$=H($,255),Y=H(Y,255);var le=l(B,$,Y),he=i(B,$,Y),me,Re,Ee=(le+he)\/2;if(le==he)me=Re=0;else{var Le=le-he;switch(Re=Ee>.5?Le\/(2-le-he):Le\/(le+he),le){case B:me=($-Y)\/Le+($<Y?6:0);break;case $:me=(Y-B)\/Le+2;break;case Y:me=(B-$)\/Le+4;break}me\/=6}return{h:me,s:Re,l:Ee}}function h(B,$,Y){var le,he,me;B=H(B,360),$=H($,100),Y=H(Y,100);function Re(Ve,Ie,Xe){return Xe<0&#038;&#038;(Xe+=1),Xe>1&&(Xe-=1),Xe<1\/6?Ve+(Ie-Ve)*6*Xe:Xe<1\/2?Ie:Xe<2\/3?Ve+(Ie-Ve)*(2\/3-Xe)*6:Ve}if($===0)le=he=me=Y;else{var Ee=Y<.5?Y*(1+$):Y+$-Y*$,Le=2*Y-Ee;le=Re(Le,Ee,B+1\/3),he=Re(Le,Ee,B),me=Re(Le,Ee,B-1\/3)}return{r:le*255,g:he*255,b:me*255}}function d(B,$,Y){B=H(B,255),$=H($,255),Y=H(Y,255);var le=l(B,$,Y),he=i(B,$,Y),me,Re,Ee=le,Le=le-he;if(Re=le===0?0:Le\/le,le==he)me=0;else{switch(le){case B:me=($-Y)\/Le+($<Y?6:0);break;case $:me=(Y-B)\/Le+2;break;case Y:me=(B-$)\/Le+4;break}me\/=6}return{h:me,s:Re,v:Ee}}function m(B,$,Y){B=H(B,360)*6,$=H($,100),Y=H(Y,100);var le=e.floor(B),he=B-le,me=Y*(1-$),Re=Y*(1-he*$),Ee=Y*(1-(1-he)*$),Le=le%6,Ve=[Y,Re,me,me,Ee,Y][Le],Ie=[Ee,Y,Y,Re,me,me][Le],Xe=[me,me,Ee,Y,Y,Re][Le];return{r:Ve*255,g:Ie*255,b:Xe*255}}function y(B,$,Y,le){var he=[ye(n(B).toString(16)),ye(n($).toString(16)),ye(n(Y).toString(16))];return le&#038;&#038;he[0].charAt(0)==he[0].charAt(1)&#038;&#038;he[1].charAt(0)==he[1].charAt(1)&#038;&#038;he[2].charAt(0)==he[2].charAt(1)?he[0].charAt(0)+he[1].charAt(0)+he[2].charAt(0):he.join(\"\")}function g(B,$,Y,le,he){var me=[ye(n(B).toString(16)),ye(n($).toString(16)),ye(n(Y).toString(16)),ye(re(le))];return he&#038;&#038;me[0].charAt(0)==me[0].charAt(1)&#038;&#038;me[1].charAt(0)==me[1].charAt(1)&#038;&#038;me[2].charAt(0)==me[2].charAt(1)&#038;&#038;me[3].charAt(0)==me[3].charAt(1)?me[0].charAt(0)+me[1].charAt(0)+me[2].charAt(0)+me[3].charAt(0):me.join(\"\")}function _(B,$,Y,le){var he=[ye(re(le)),ye(n(B).toString(16)),ye(n($).toString(16)),ye(n(Y).toString(16))];return he.join(\"\")}s.equals=function(B,$){return!B||!$?!1:s(B).toRgbString()==s($).toRgbString()},s.random=function(){return s.fromRatio({r:o(),g:o(),b:o()})};function T(B,$){$=$===0?0:$||10;var Y=s(B).toHsl();return Y.s-=$\/100,Y.s=Q(Y.s),s(Y)}function w(B,$){$=$===0?0:$||10;var Y=s(B).toHsl();return Y.s+=$\/100,Y.s=Q(Y.s),s(Y)}function b(B){return s(B).desaturate(100)}function M(B,$){$=$===0?0:$||10;var Y=s(B).toHsl();return Y.l+=$\/100,Y.l=Q(Y.l),s(Y)}function S(B,$){$=$===0?0:$||10;var Y=s(B).toRgb();return Y.r=l(0,i(255,Y.r-n(255*-($\/100)))),Y.g=l(0,i(255,Y.g-n(255*-($\/100)))),Y.b=l(0,i(255,Y.b-n(255*-($\/100)))),s(Y)}function k(B,$){$=$===0?0:$||10;var Y=s(B).toHsl();return Y.l-=$\/100,Y.l=Q(Y.l),s(Y)}function q(B,$){var Y=s(B).toHsl(),le=(Y.h+$)%360;return Y.h=le<0?360+le:le,s(Y)}function D(B){var $=s(B).toHsl();return $.h=($.h+180)%360,s($)}function P(B){var $=s(B).toHsl(),Y=$.h;return[s(B),s({h:(Y+120)%360,s:$.s,l:$.l}),s({h:(Y+240)%360,s:$.s,l:$.l})]}function z(B){var $=s(B).toHsl(),Y=$.h;return[s(B),s({h:(Y+90)%360,s:$.s,l:$.l}),s({h:(Y+180)%360,s:$.s,l:$.l}),s({h:(Y+270)%360,s:$.s,l:$.l})]}function F(B){var $=s(B).toHsl(),Y=$.h;return[s(B),s({h:(Y+72)%360,s:$.s,l:$.l}),s({h:(Y+216)%360,s:$.s,l:$.l})]}function O(B,$,Y){$=$||6,Y=Y||30;var le=s(B).toHsl(),he=360\/Y,me=[s(B)];for(le.h=(le.h-(he*$>>1)+720)%360;--$;)le.h=(le.h+he)%360,me.push(s(le));return me}function I(B,$){$=$||6;for(var Y=s(B).toHsv(),le=Y.h,he=Y.s,me=Y.v,Re=[],Ee=1\/$;$--;)Re.push(s({h:le,s:he,v:me})),me=(me+Ee)%1;return Re}s.mix=function(B,$,Y){Y=Y===0?0:Y||50;var le=s(B).toRgb(),he=s($).toRgb(),me=Y\/100,Re={r:(he.r-le.r)*me+le.r,g:(he.g-le.g)*me+le.g,b:(he.b-le.b)*me+le.b,a:(he.a-le.a)*me+le.a};return s(Re)},s.readability=function(B,$){var Y=s(B),le=s($);return(e.max(Y.getLuminance(),le.getLuminance())+.05)\/(e.min(Y.getLuminance(),le.getLuminance())+.05)},s.isReadable=function(B,$,Y){var le=s.readability(B,$),he,me;switch(me=!1,he=ge(Y),he.level+he.size){case\"AAsmall\":case\"AAAlarge\":me=le>=4.5;break;case\"AAlarge\":me=le>=3;break;case\"AAAsmall\":me=le>=7;break}return me},s.mostReadable=function(B,$,Y){var le=null,he=0,me,Re,Ee,Le;Y=Y||{},Re=Y.includeFallbackColors,Ee=Y.level,Le=Y.size;for(var Ve=0;Ve<$.length;Ve++)me=s.readability(B,$[Ve]),me>he&&(he=me,le=s($[Ve]));return s.isReadable(B,le,{level:Ee,size:Le})||!Re?le:(Y.includeFallbackColors=!1,s.mostReadable(B,[\"#fff\",\"#000\"],Y))};var V=s.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\"},J=s.hexNames=G(V);function G(B){var $={};for(var Y in B)B.hasOwnProperty(Y)&&($[B[Y]]=Y);return $}function U(B){return B=parseFloat(B),(isNaN(B)||B<0||B>1)&&(B=1),B}function H(B,$){ne(B)&&(B=\"100%\");var Y=ce(B);return B=i($,l(0,parseFloat(B))),Y&&(B=parseInt(B*$,10)\/100),e.abs(B-$)<1e-6?1:B%$\/parseFloat($)}function Q(B){return i(1,l(0,B))}function Z(B){return parseInt(B,16)}function ne(B){return typeof B==\"string\"&#038;&#038;B.indexOf(\".\")!=-1&#038;&#038;parseFloat(B)===1}function ce(B){return typeof B==\"string\"&#038;&#038;B.indexOf(\"%\")!=-1}function ye(B){return B.length==1?\"0\"+B:\"\"+B}function Ce(B){return B<=1&#038;&#038;(B=B*100+\"%\"),B}function re(B){return e.round(parseFloat(B)*255).toString(16)}function Se(B){return Z(B)\/255}var pe=(function(){var B=\"[-\\\\+]?\\\\d+%?\",$=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",Y=\"(?:\"+$+\")|(?:\"+B+\")\",le=\"[\\\\s|\\\\(]+(\"+Y+\")[,|\\\\s]+(\"+Y+\")[,|\\\\s]+(\"+Y+\")\\\\s*\\\\)?\",he=\"[\\\\s|\\\\(]+(\"+Y+\")[,|\\\\s]+(\"+Y+\")[,|\\\\s]+(\"+Y+\")[,|\\\\s]+(\"+Y+\")\\\\s*\\\\)?\";return{CSS_UNIT:new RegExp(Y),rgb:new RegExp(\"rgb\"+le),rgba:new RegExp(\"rgba\"+he),hsl:new RegExp(\"hsl\"+le),hsla:new RegExp(\"hsla\"+he),hsv:new RegExp(\"hsv\"+le),hsva:new RegExp(\"hsva\"+he),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 be(B){return!!pe.CSS_UNIT.exec(B)}function Ae(B){B=B.replace(r,\"\").replace(t,\"\").toLowerCase();var $=!1;if(V[B])B=V[B],$=!0;else if(B==\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};var Y;return(Y=pe.rgb.exec(B))?{r:Y[1],g:Y[2],b:Y[3]}:(Y=pe.rgba.exec(B))?{r:Y[1],g:Y[2],b:Y[3],a:Y[4]}:(Y=pe.hsl.exec(B))?{h:Y[1],s:Y[2],l:Y[3]}:(Y=pe.hsla.exec(B))?{h:Y[1],s:Y[2],l:Y[3],a:Y[4]}:(Y=pe.hsv.exec(B))?{h:Y[1],s:Y[2],v:Y[3]}:(Y=pe.hsva.exec(B))?{h:Y[1],s:Y[2],v:Y[3],a:Y[4]}:(Y=pe.hex8.exec(B))?{r:Z(Y[1]),g:Z(Y[2]),b:Z(Y[3]),a:Se(Y[4]),format:$?\"name\":\"hex8\"}:(Y=pe.hex6.exec(B))?{r:Z(Y[1]),g:Z(Y[2]),b:Z(Y[3]),format:$?\"name\":\"hex\"}:(Y=pe.hex4.exec(B))?{r:Z(Y[1]+\"\"+Y[1]),g:Z(Y[2]+\"\"+Y[2]),b:Z(Y[3]+\"\"+Y[3]),a:Se(Y[4]+\"\"+Y[4]),format:$?\"name\":\"hex8\"}:(Y=pe.hex3.exec(B))?{r:Z(Y[1]+\"\"+Y[1]),g:Z(Y[2]+\"\"+Y[2]),b:Z(Y[3]+\"\"+Y[3]),format:$?\"name\":\"hex\"}:!1}function ge(B){var $,Y;return B=B||{level:\"AA\",size:\"small\"},$=(B.level||\"AA\").toUpperCase(),Y=(B.size||\"small\").toLowerCase(),$!==\"AA\"&#038;&#038;$!==\"AAA\"&#038;&#038;($=\"AA\"),Y!==\"small\"&#038;&#038;Y!==\"large\"&#038;&#038;(Y=\"small\"),{level:$,size:Y}}typeof Lv!=\"undefined\"&#038;&#038;Lv.exports?Lv.exports=s:window.tinycolor=s})(Math)});var Wt=K($u=>{\"use strict\";var Jb=cl(),Ku=Array.isArray;function FI(e,r){var t,a;for(t=0;t<e.length;t++){if(a=e[t],a!==null&#038;&#038;typeof a==\"object\")return!1;a!==void 0&#038;&#038;(r[t]=a)}return!0}$u.extendFlat=function(){return Qu(arguments,!1,!1,!1)};$u.extendDeep=function(){return Qu(arguments,!0,!1,!1)};$u.extendDeepAll=function(){return Qu(arguments,!0,!0,!1)};$u.extendDeepNoArrays=function(){return Qu(arguments,!0,!1,!0)};function Qu(e,r,t,a){var n=e[0],i=e.length,l,o,s,u,f,v,h;if(i===2&#038;&#038;Ku(n)&#038;&#038;Ku(e[1])&#038;&#038;n.length===0){if(h=FI(e[1],n),h)return n;n.splice(0,n.length)}for(var d=1;d<i;d++){l=e[d];for(o in l)s=n[o],u=l[o],a&#038;&#038;Ku(u)?n[o]=u:r&#038;&#038;u&#038;&#038;(Jb(u)||(f=Ku(u)))?(f?(f=!1,v=s&#038;&#038;Ku(s)?s:[]):v=s&#038;&#038;Jb(s)?s:{},n[o]=Qu([v,u],r,t,a)):(typeof u!=\"undefined\"||t)&#038;&#038;(n[o]=u)}return n}});var ga=K((rle,Kb)=>{\"use strict\";Kb.exports=function(e){var r=e.variantValues,t=e.editType,a=e.colorEditType;a===void 0&&(a=t);var n={editType:t,valType:\"integer\",min:1,max:1e3,extras:[\"normal\",\"bold\"],dflt:\"normal\"};e.noNumericWeightValues&&(n.valType=\"enumerated\",n.values=n.extras,n.extras=void 0,n.min=void 0,n.max=void 0);var i={family:{valType:\"string\",noBlank:!0,strict:!0,editType:t},size:{valType:\"number\",min:1,editType:t},color:{valType:\"color\",editType:a},weight:n,style:{editType:t,valType:\"enumerated\",values:[\"normal\",\"italic\"],dflt:\"normal\"},variant:e.noFontVariant?void 0:{editType:t,valType:\"enumerated\",values:r||[\"normal\",\"small-caps\",\"all-small-caps\",\"all-petite-caps\",\"petite-caps\",\"unicase\"],dflt:\"normal\"},textcase:e.noFontTextcase?void 0:{editType:t,valType:\"enumerated\",values:[\"normal\",\"word caps\",\"upper\",\"lower\"],dflt:\"normal\"},lineposition:e.noFontLineposition?void 0:{editType:t,valType:\"flaglist\",flags:[\"under\",\"over\",\"through\"],extras:[\"none\"],dflt:\"none\"},shadow:e.noFontShadow?void 0:{editType:t,valType:\"string\",dflt:e.autoShadowDflt?\"auto\":\"none\"},editType:t};return e.autoSize&&(i.size.dflt=\"auto\"),e.autoColor&&(i.color.dflt=\"auto\"),e.arrayOk&&(i.family.arrayOk=!0,i.weight.arrayOk=!0,i.style.arrayOk=!0,e.noFontVariant||(i.variant.arrayOk=!0),e.noFontTextcase||(i.textcase.arrayOk=!0),e.noFontLineposition||(i.lineposition.arrayOk=!0),e.noFontShadow||(i.shadow.arrayOk=!0),i.size.arrayOk=!0,i.color.arrayOk=!0),i}});var ju=K((tle,Qb)=>{\"use strict\";Qb.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:\"Arial, sans-serif\",HOVERMINTIME:50,HOVERID:\"-hover\"}});var Ts=K((ale,ex)=>{\"use strict\";var $b=ju(),jb=ga(),np=jb({editType:\"none\"});np.family.dflt=$b.HOVERFONT;np.size.dflt=$b.HOVERFONTSIZE;ex.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\"},hoversort:{valType:\"enumerated\",values:[\"trace\",\"value descending\",\"value ascending\"],dflt:\"trace\",editType:\"none\"},hoversubplots:{valType:\"enumerated\",values:[\"single\",\"overlaying\",\"axis\"],dflt:\"overlaying\",editType:\"none\"},hoveranywhere:{valType:\"boolean\",dflt:!1,editType:\"none\"},clickanywhere:{valType:\"boolean\",dflt:!1,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:np,grouptitlefont:jb({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\"}}});var qv=K((nle,rx)=>{\"use strict\";var II=ga(),ef=Ts().hoverlabel,rf=Wt().extendFlat;rx.exports={hoverlabel:{bgcolor:rf({},ef.bgcolor,{arrayOk:!0}),bordercolor:rf({},ef.bordercolor,{arrayOk:!0}),font:II({arrayOk:!0,editType:\"none\"}),align:rf({},ef.align,{arrayOk:!0}),namelength:rf({},ef.namelength,{arrayOk:!0}),showarrow:rf({},ef.showarrow),editType:\"none\"}}});var Zn=K((ile,tx)=>{\"use strict\";var HI=ga(),OI=qv();tx.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:HI({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:OI.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\"}}});var oo=K((lle,ix)=>{\"use strict\";var BI=wn(),Dv={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)\"]]},ax=Dv.RdBu;function YI(e,r){if(r||(r=ax),!e)return r;function t(){try{e=Dv[e]||JSON.parse(e)}catch(a){e=r}}return typeof e==\"string\"&&(t(),typeof e==\"string\"&&t()),nx(e)?e:r}function nx(e){var r=0;if(!Array.isArray(e)||e.length<2||!e[0]||!e[e.length-1]||+e[0][0]!=0||+e[e.length-1][0]!=1)return!1;for(var t=0;t<e.length;t++){var a=e[t];if(a.length!==2||+a[0]<r||!BI(a[1]).isValid())return!1;r=+a[0]}return!0}function UI(e){return Dv[e]!==void 0?!0:nx(e)}ix.exports={scales:Dv,defaultScale:ax,get:YI,isValid:UI}});var gi=K(so=>{\"use strict\";so.defaults=[\"#1f77b4\",\"#ff7f0e\",\"#2ca02c\",\"#d62728\",\"#9467bd\",\"#8c564b\",\"#e377c2\",\"#7f7f7f\",\"#bcbd22\",\"#17becf\"];so.defaultLine=\"#444\";so.lightLine=\"#eee\";so.background=\"#fff\";so.borderLine=\"#BEC8D9\";so.lightFraction=1e3\/11});var Er=K((sle,lx)=>{\"use strict\";var Qa=wn(),VI=Hr(),GI=Ka().isTypedArray,Qt=lx.exports={},Ev=gi();Qt.defaults=Ev.defaults;var WI=Qt.defaultLine=Ev.defaultLine;Qt.lightLine=Ev.lightLine;var lp=Qt.background=Ev.background;Qt.tinyRGB=function(e){var r=e.toRgb();return\"rgb(\"+Math.round(r.r)+\", \"+Math.round(r.g)+\", \"+Math.round(r.b)+\")\"};Qt.rgb=function(e){return Qt.tinyRGB(Qa(e))};Qt.opacity=function(e){return e?Qa(e).getAlpha():0};Qt.addOpacity=function(e,r){var t=Qa(e).toRgb();return\"rgba(\"+Math.round(t.r)+\", \"+Math.round(t.g)+\", \"+Math.round(t.b)+\", \"+r+\")\"};Qt.combine=function(e,r){var t=Qa(e).toRgb();if(t.a===1)return Qa(e).toRgbString();var a=Qa(r||lp).toRgb(),n=a.a===1?a:{r:255*(1-a.a)+a.r*a.a,g:255*(1-a.a)+a.g*a.a,b:255*(1-a.a)+a.b*a.a},i={r:n.r*(1-t.a)+t.r*t.a,g:n.g*(1-t.a)+t.g*t.a,b:n.b*(1-t.a)+t.b*t.a};return Qa(i).toRgbString()};Qt.interpolate=function(e,r,t){var a=Qa(e).toRgb(),n=Qa(r).toRgb(),i={r:t*a.r+(1-t)*n.r,g:t*a.g+(1-t)*n.g,b:t*a.b+(1-t)*n.b};return Qa(i).toRgbString()};Qt.contrast=function(e,r,t){var a=Qa(e);a.getAlpha()!==1&&(a=Qa(Qt.combine(e,lp)));var n=a.isDark()?r?a.lighten(r):lp:t?a.darken(t):WI;return n.toString()};Qt.stroke=function(e,r){var t=Qa(r);e.style({stroke:Qt.tinyRGB(t),\"stroke-opacity\":t.getAlpha()})};Qt.fill=function(e,r){var t=Qa(r);e.style({fill:Qt.tinyRGB(t),\"fill-opacity\":t.getAlpha()})};Qt.clean=function(e){if(!(!e||typeof e!=\"object\")){var r=Object.keys(e),t,a,n,i;for(t=0;t<r.length;t++)if(n=r[t],i=e[n],n.slice(-5)===\"color\")if(Array.isArray(i))for(a=0;a<i.length;a++)i[a]=ip(i[a]);else e[n]=ip(i);else if(n.slice(-10)===\"colorscale\"&#038;&#038;Array.isArray(i))for(a=0;a<i.length;a++)Array.isArray(i[a])&#038;&#038;(i[a][1]=ip(i[a][1]));else if(Array.isArray(i)){var l=i[0];if(!Array.isArray(l)&#038;&#038;l&#038;&#038;typeof l==\"object\")for(a=0;a<i.length;a++)Qt.clean(i[a])}else i&#038;&#038;typeof i==\"object\"&#038;&#038;!GI(i)&#038;&#038;Qt.clean(i)}};function ip(e){if(VI(e)||typeof e!=\"string\")return e;var r=e.trim();if(r.slice(0,3)!==\"rgb\")return e;var t=r.match(\/^rgba?\\s*\\(([^()]*)\\)$\/);if(!t)return e;var a=t[1].trim().split(\/\\s*[\\s,]\\s*\/),n=r.charAt(3)===\"a\"&#038;&#038;a.length===4;if(!n&#038;&#038;a.length!==3)return e;for(var i=0;i<a.length;i++){if(!a[i].length||(a[i]=Number(a[i]),!(a[i]>=0)))return e;if(i===3)a[i]>1&&(a[i]=1);else if(a[i]>=1)return e}var l=Math.round(a[0]*255)+\", \"+Math.round(a[1]*255)+\", \"+Math.round(a[2]*255);return n?\"rgba(\"+l+\", \"+a[3]+\")\":\"rgb(\"+l+\")\"}});var Pv=K((ule,ox)=>{\"use strict\";ox.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}});var Ms=K(sx=>{\"use strict\";sx.counter=function(e,r,t,a){var n=(r||\"\")+(t?\"\":\"$\"),i=a===!1?\"\":\"^\";return e===\"xy\"?new RegExp(i+\"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?\"+n):new RegExp(i+e+\"([2-9]|[1-9][0-9]+)?\"+n)}});var vx=K($a=>{\"use strict\";var op=Hr(),ux=wn(),fx=Wt().extendFlat,XI=Zn(),ZI=oo(),JI=Er(),KI=Pv().DESELECTDIM,As=kv(),cx=Ms().counter,QI=ws().modHalf,Jn=Ka().isArrayOrTypedArray,vl=Ka().isTypedArraySpec,hl=Ka().decodeTypedArraySpec;$a.valObjectMeta={data_array:{coerceFunction:function(e,r,t){r.set(Jn(e)?e:vl(e)?hl(e):t)}},enumerated:{coerceFunction:function(e,r,t,a){a.coerceNumber&&(e=+e),a.values.indexOf(e)===-1?r.set(t):r.set(e)},validateFunction:function(e,r){r.coerceNumber&&(e=+e);for(var t=r.values,a=0;a<t.length;a++){var n=String(t[a]);if(n.charAt(0)===\"\/\"&#038;&#038;n.charAt(n.length-1)===\"\/\"){var i=new RegExp(n.slice(1,-1));if(i.test(e))return!0}else if(e===t[a])return!0}return!1}},boolean:{coerceFunction:function(e,r,t,a){let n=i=>i===!0||i===!1;n(e)||a.arrayOk&&Array.isArray(e)&&e.length>0&&e.every(n)?r.set(e):r.set(t)}},number:{coerceFunction:function(e,r,t,a){vl(e)&&(e=hl(e)),!op(e)||a.min!==void 0&&e<a.min||a.max!==void 0&#038;&#038;e>a.max?r.set(t):r.set(+e)}},integer:{coerceFunction:function(e,r,t,a){if((a.extras||[]).indexOf(e)!==-1){r.set(e);return}vl(e)&&(e=hl(e)),e%1||!op(e)||a.min!==void 0&&e<a.min||a.max!==void 0&#038;&#038;e>a.max?r.set(t):r.set(+e)}},string:{coerceFunction:function(e,r,t,a){if(typeof e!=\"string\"){var n=typeof e==\"number\";a.strict===!0||!n?r.set(t):r.set(String(e))}else a.noBlank&&!e?r.set(t):r.set(e)}},color:{coerceFunction:function(e,r,t){vl(e)&&(e=hl(e)),ux(e).isValid()?r.set(e):r.set(t)}},colorlist:{coerceFunction:function(e,r,t){function a(n){return ux(n).isValid()}!Array.isArray(e)||!e.length?r.set(t):e.every(a)?r.set(e):r.set(t)}},colorscale:{coerceFunction:function(e,r,t){r.set(ZI.get(e,t))}},angle:{coerceFunction:function(e,r,t){vl(e)&&(e=hl(e)),e===\"auto\"?r.set(\"auto\"):op(e)?r.set(QI(+e,360)):r.set(t)}},subplotid:{coerceFunction:function(e,r,t,a){var n=a.regex||cx(t);let i=l=>typeof l==\"string\"&&n.test(l);i(e)||a.arrayOk&&Jn(e)&&e.length>0&&e.every(i)?r.set(e):r.set(t)},validateFunction:function(e,r){var t=r.dflt;return e===t?!0:typeof e!=\"string\"?!1:!!cx(t).test(e)}},flaglist:{coerceFunction:function(e,r,t,a){if((a.extras||[]).indexOf(e)!==-1){r.set(e);return}if(typeof e!=\"string\"){r.set(t);return}for(var n=e.split(\"+\"),i=0;i<n.length;){var l=n[i];a.flags.indexOf(l)===-1||n.indexOf(l)<i?n.splice(i,1):i++}n.length?r.set(n.join(\"+\")):r.set(t)}},any:{coerceFunction:function(e,r,t){e===void 0?r.set(t):r.set(vl(e)?hl(e):e)}},info_array:{coerceFunction:function(e,r,t,a){function n(T,w,b){var M,S={set:function(k){M=k}};return b===void 0&#038;&#038;(b=w.dflt),$a.valObjectMeta[w.valType].coerceFunction(T,S,b,w),M}if(vl(e)&#038;&#038;(e=hl(e)),!Jn(e)){r.set(t);return}var i=a.dimensions===2||a.dimensions===\"1-2\"&#038;&#038;Array.isArray(e)&#038;&#038;Jn(e[0]),l=a.items,o=[],s=Array.isArray(l),u=s&#038;&#038;i&#038;&#038;Jn(l[0]),f=i&#038;&#038;s&#038;&#038;!u,v=s&#038;&#038;!f?l.length:e.length,h,d,m,y,g,_;if(t=Array.isArray(t)?t:[],i)for(h=0;h<v;h++)for(o[h]=[],m=Jn(e[h])?e[h]:[],f?g=l.length:s?g=l[h].length:g=m.length,d=0;d<g;d++)f?y=l[d]:s?y=l[h][d]:y=l,_=n(m[d],y,(t[h]||[])[d]),_!==void 0&#038;&#038;(o[h][d]=_);else for(h=0;h<v;h++)_=n(e[h],s?l[h]:l,t[h]),_!==void 0&#038;&#038;(o[h]=_);r.set(o)},validateFunction:function(e,r){if(!Jn(e))return!1;var t=r.items,a=Array.isArray(t),n=r.dimensions===2;if(!r.freeLength&#038;&#038;e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(n){if(!Jn(e[i])||!r.freeLength&#038;&#038;e[i].length!==t[i].length)return!1;for(var l=0;l<e[i].length;l++)if(!Rv(e[i][l],a?t[i][l]:t))return!1}else if(!Rv(e[i],a?t[i]:t))return!1;return!0}}};$a.coerce=function(e,r,t,a,n){var i=As(t,a).get(),l=As(e,a),o=As(r,a),s=l.get(),u=r._template;if(s===void 0&#038;&#038;u&#038;&#038;(s=As(u,a).get(),u=0),n===void 0&#038;&#038;(n=i.dflt),i.arrayOk){if(Jn(s))return o.set(s),s;if(vl(s))return s=hl(s),o.set(s),s}var f=$a.valObjectMeta[i.valType].coerceFunction;f(s,o,n,i);var v=o.get();return u&#038;&#038;v===n&#038;&#038;!Rv(s,i)&#038;&#038;(s=As(u,a).get(),f(s,o,n,i),v=o.get()),v};$a.coerce2=function(e,r,t,a,n){var i=As(e,a),l=$a.coerce(e,r,t,a,n),o=i.get();return o!=null?l:!1};$a.coerceFont=function(e,r,t,a){a||(a={}),t=fx({},t),t=fx(t,a.overrideDflt||{});var n={family:e(r+\".family\",t.family),size:e(r+\".size\",t.size),color:e(r+\".color\",t.color),weight:e(r+\".weight\",t.weight),style:e(r+\".style\",t.style)};if(a.noFontVariant||(n.variant=e(r+\".variant\",t.variant)),a.noFontLineposition||(n.lineposition=e(r+\".lineposition\",t.lineposition)),a.noFontTextcase||(n.textcase=e(r+\".textcase\",t.textcase)),!a.noFontShadow){var i=t.shadow;i===\"none\"&#038;&#038;a.autoShadowDflt&#038;&#038;(i=\"auto\"),n.shadow=e(r+\".shadow\",i)}return n};$a.coercePattern=function(e,r,t,a){var n=e(r+\".shape\"),i;if(n||(i=e(r+\".path\")),n||i){n&#038;&#038;e(r+\".solidity\"),e(r+\".size\");var l=e(r+\".fillmode\"),o=l===\"overlay\";if(!a){var s=e(r+\".bgcolor\",o?t:void 0);e(r+\".fgcolor\",o?JI.contrast(s):t)}e(r+\".fgopacity\",o?.5:1)}};$a.coerceHoverinfo=function(e,r,t){var a=r._module.attributes,n=a.hoverinfo?a:XI,i=n.hoverinfo,l;if(t._dataLength===1){var o=i.dflt===\"all\"?i.flags.slice():i.dflt.split(\"+\");o.splice(o.indexOf(\"name\"),1),l=o.join(\"+\")}return $a.coerce(e,r,n,\"hoverinfo\",l)};$a.coerceSelectionMarkerOpacity=function(e,r){if(e.marker){var t=e.marker.opacity;if(t!==void 0){var a,n;!Jn(t)&#038;&#038;!e.selected&#038;&#038;!e.unselected&#038;&#038;(a=t,n=KI*t),r(\"selected.marker.opacity\",a),r(\"unselected.marker.opacity\",n)}}};function Rv(e,r){var t=$a.valObjectMeta[r.valType];if(r.arrayOk&#038;&#038;Jn(e))return!0;if(t.validateFunction)return t.validateFunction(e,r);var a={},n=a,i={set:function(l){n=l}};return t.coerceFunction(e,i,a,r),n!==a}$a.validate=Rv});var uo=K((vle,mx)=>{\"use strict\";var hx={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},displayNotifier:{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:{}}},dx={};function px(e,r){for(var t in e){var a=e[t];a.valType?r[t]=a.dflt:(r[t]||(r[t]={}),px(a,r[t]))}}px(hx,dx);mx.exports={configAttributes:hx,dfltConfig:dx}});var up=K((hle,yx)=>{\"use strict\";var sp=zr(),$I=Hr(),tf=[];yx.exports=function(e,r,t){var o;if(((o=t==null?void 0:t._context)==null?void 0:o.displayNotifier)===!1||tf.indexOf(e)!==-1)return;tf.push(e);var a=1e3;$I(r)?a=r:r===\"long\"&&(a=3e3);var n=sp.select(\"body\").selectAll(\".plotly-notifier\").data([0]);n.enter().append(\"div\").classed(\"plotly-notifier\",!0);var i=n.selectAll(\".notifier-note\").data(tf);function l(s){s.duration(700).style(\"opacity\",0).each(\"end\",function(u){var f=tf.indexOf(u);f!==-1&&tf.splice(f,1),sp.select(this).remove()})}i.enter().append(\"div\").classed(\"notifier-note\",!0).style(\"opacity\",0).each(function(s){var u=sp.select(this);u.append(\"button\").classed(\"notifier-close\",!0).html(\"&times;\").on(\"click\",function(){u.transition().call(l)});for(var f=u.append(\"p\"),v=s.split(\/<br\\s*\\\/?>\/g),h=0;h<v.length;h++)h&#038;&#038;f.append(\"br\"),f.append(\"span\").text(v[h]);r===\"stick\"?u.transition().duration(350).style(\"opacity\",1):u.transition().duration(700).style(\"opacity\",1).transition().delay(a).call(l)})}});var fo=K((dle,gx)=>{\"use strict\";var ks=uo().dfltConfig,fp=up(),cp=gx.exports={};cp.log=function(){var e;if(ks.logging>1){var r=[\"LOG:\"];for(e=0;e<arguments.length;e++)r.push(arguments[e]);console.trace.apply(console,r)}if(ks.notifyOnLogging>1){var t=[];for(e=0;e<arguments.length;e++)t.push(arguments[e]);fp(t.join(\"<br>\"),\"long\")}};cp.warn=function(){var e;if(ks.logging>0){var r=[\"WARN:\"];for(e=0;e<arguments.length;e++)r.push(arguments[e]);console.trace.apply(console,r)}if(ks.notifyOnLogging>0){var t=[];for(e=0;e<arguments.length;e++)t.push(arguments[e]);fp(t.join(\"<br>\"),\"stick\")}};cp.error=function(){var e;if(ks.logging>0){var r=[\"ERROR:\"];for(e=0;e<arguments.length;e++)r.push(arguments[e]);console.error.apply(console,r)}if(ks.notifyOnLogging>0){var t=[];for(e=0;e<arguments.length;e++)t.push(arguments[e]);fp(t.join(\"<br>\"),\"stick\")}}});var zv=K((ple,bx)=>{\"use strict\";bx.exports=function(){}});var vp=K((mle,xx)=>{\"use strict\";xx.exports=function(r,t){if(t instanceof RegExp){for(var a=t.toString(),n=0;n<r.length;n++)if(r[n]instanceof RegExp&#038;&#038;r[n].toString()===a)return r;r.push(t)}else(t||t===0)&#038;&#038;r.indexOf(t)===-1&#038;&#038;r.push(t);return r}});var wx=K((yle,_x)=>{_x.exports=jI;function jI(){var e=new Float32Array(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var Mx=K((gle,Tx)=>{Tx.exports=eH;function eH(e){var r=new Float32Array(16);return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r[6]=e[6],r[7]=e[7],r[8]=e[8],r[9]=e[9],r[10]=e[10],r[11]=e[11],r[12]=e[12],r[13]=e[13],r[14]=e[14],r[15]=e[15],r}});var kx=K((ble,Ax)=>{Ax.exports=rH;function rH(e,r){return e[0]=r[0],e[1]=r[1],e[2]=r[2],e[3]=r[3],e[4]=r[4],e[5]=r[5],e[6]=r[6],e[7]=r[7],e[8]=r[8],e[9]=r[9],e[10]=r[10],e[11]=r[11],e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15],e}});var hp=K((xle,Cx)=>{Cx.exports=tH;function tH(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var Lx=K((_le,Sx)=>{Sx.exports=aH;function aH(e,r){if(e===r){var t=r[1],a=r[2],n=r[3],i=r[6],l=r[7],o=r[11];e[1]=r[4],e[2]=r[8],e[3]=r[12],e[4]=t,e[6]=r[9],e[7]=r[13],e[8]=a,e[9]=i,e[11]=r[14],e[12]=n,e[13]=l,e[14]=o}else e[0]=r[0],e[1]=r[4],e[2]=r[8],e[3]=r[12],e[4]=r[1],e[5]=r[5],e[6]=r[9],e[7]=r[13],e[8]=r[2],e[9]=r[6],e[10]=r[10],e[11]=r[14],e[12]=r[3],e[13]=r[7],e[14]=r[11],e[15]=r[15];return e}});var Dx=K((wle,qx)=>{qx.exports=nH;function nH(e,r){var t=r[0],a=r[1],n=r[2],i=r[3],l=r[4],o=r[5],s=r[6],u=r[7],f=r[8],v=r[9],h=r[10],d=r[11],m=r[12],y=r[13],g=r[14],_=r[15],T=t*o-a*l,w=t*s-n*l,b=t*u-i*l,M=a*s-n*o,S=a*u-i*o,k=n*u-i*s,q=f*y-v*m,D=f*g-h*m,P=f*_-d*m,z=v*g-h*y,F=v*_-d*y,O=h*_-d*g,I=T*O-w*F+b*z+M*P-S*D+k*q;return I?(I=1\/I,e[0]=(o*O-s*F+u*z)*I,e[1]=(n*F-a*O-i*z)*I,e[2]=(y*k-g*S+_*M)*I,e[3]=(h*S-v*k-d*M)*I,e[4]=(s*P-l*O-u*D)*I,e[5]=(t*O-n*P+i*D)*I,e[6]=(g*b-m*k-_*w)*I,e[7]=(f*k-h*b+d*w)*I,e[8]=(l*F-o*P+u*q)*I,e[9]=(a*P-t*F-i*q)*I,e[10]=(m*S-y*b+_*T)*I,e[11]=(v*b-f*S-d*T)*I,e[12]=(o*D-l*z-s*q)*I,e[13]=(t*z-a*D+n*q)*I,e[14]=(y*w-m*M-g*T)*I,e[15]=(f*M-v*w+h*T)*I,e):null}});var Px=K((Tle,Ex)=>{Ex.exports=iH;function iH(e,r){var t=r[0],a=r[1],n=r[2],i=r[3],l=r[4],o=r[5],s=r[6],u=r[7],f=r[8],v=r[9],h=r[10],d=r[11],m=r[12],y=r[13],g=r[14],_=r[15];return e[0]=o*(h*_-d*g)-v*(s*_-u*g)+y*(s*d-u*h),e[1]=-(a*(h*_-d*g)-v*(n*_-i*g)+y*(n*d-i*h)),e[2]=a*(s*_-u*g)-o*(n*_-i*g)+y*(n*u-i*s),e[3]=-(a*(s*d-u*h)-o*(n*d-i*h)+v*(n*u-i*s)),e[4]=-(l*(h*_-d*g)-f*(s*_-u*g)+m*(s*d-u*h)),e[5]=t*(h*_-d*g)-f*(n*_-i*g)+m*(n*d-i*h),e[6]=-(t*(s*_-u*g)-l*(n*_-i*g)+m*(n*u-i*s)),e[7]=t*(s*d-u*h)-l*(n*d-i*h)+f*(n*u-i*s),e[8]=l*(v*_-d*y)-f*(o*_-u*y)+m*(o*d-u*v),e[9]=-(t*(v*_-d*y)-f*(a*_-i*y)+m*(a*d-i*v)),e[10]=t*(o*_-u*y)-l*(a*_-i*y)+m*(a*u-i*o),e[11]=-(t*(o*d-u*v)-l*(a*d-i*v)+f*(a*u-i*o)),e[12]=-(l*(v*g-h*y)-f*(o*g-s*y)+m*(o*h-s*v)),e[13]=t*(v*g-h*y)-f*(a*g-n*y)+m*(a*h-n*v),e[14]=-(t*(o*g-s*y)-l*(a*g-n*y)+m*(a*s-n*o)),e[15]=t*(o*h-s*v)-l*(a*h-n*v)+f*(a*s-n*o),e}});var zx=K((Mle,Rx)=>{Rx.exports=lH;function lH(e){var r=e[0],t=e[1],a=e[2],n=e[3],i=e[4],l=e[5],o=e[6],s=e[7],u=e[8],f=e[9],v=e[10],h=e[11],d=e[12],m=e[13],y=e[14],g=e[15],_=r*l-t*i,T=r*o-a*i,w=r*s-n*i,b=t*o-a*l,M=t*s-n*l,S=a*s-n*o,k=u*m-f*d,q=u*y-v*d,D=u*g-h*d,P=f*y-v*m,z=f*g-h*m,F=v*g-h*y;return _*F-T*z+w*P+b*D-M*q+S*k}});var Fx=K((Ale,Nx)=>{Nx.exports=oH;function oH(e,r,t){var a=r[0],n=r[1],i=r[2],l=r[3],o=r[4],s=r[5],u=r[6],f=r[7],v=r[8],h=r[9],d=r[10],m=r[11],y=r[12],g=r[13],_=r[14],T=r[15],w=t[0],b=t[1],M=t[2],S=t[3];return e[0]=w*a+b*o+M*v+S*y,e[1]=w*n+b*s+M*h+S*g,e[2]=w*i+b*u+M*d+S*_,e[3]=w*l+b*f+M*m+S*T,w=t[4],b=t[5],M=t[6],S=t[7],e[4]=w*a+b*o+M*v+S*y,e[5]=w*n+b*s+M*h+S*g,e[6]=w*i+b*u+M*d+S*_,e[7]=w*l+b*f+M*m+S*T,w=t[8],b=t[9],M=t[10],S=t[11],e[8]=w*a+b*o+M*v+S*y,e[9]=w*n+b*s+M*h+S*g,e[10]=w*i+b*u+M*d+S*_,e[11]=w*l+b*f+M*m+S*T,w=t[12],b=t[13],M=t[14],S=t[15],e[12]=w*a+b*o+M*v+S*y,e[13]=w*n+b*s+M*h+S*g,e[14]=w*i+b*u+M*d+S*_,e[15]=w*l+b*f+M*m+S*T,e}});var Hx=K((kle,Ix)=>{Ix.exports=sH;function sH(e,r,t){var a=t[0],n=t[1],i=t[2],l,o,s,u,f,v,h,d,m,y,g,_;return r===e?(e[12]=r[0]*a+r[4]*n+r[8]*i+r[12],e[13]=r[1]*a+r[5]*n+r[9]*i+r[13],e[14]=r[2]*a+r[6]*n+r[10]*i+r[14],e[15]=r[3]*a+r[7]*n+r[11]*i+r[15]):(l=r[0],o=r[1],s=r[2],u=r[3],f=r[4],v=r[5],h=r[6],d=r[7],m=r[8],y=r[9],g=r[10],_=r[11],e[0]=l,e[1]=o,e[2]=s,e[3]=u,e[4]=f,e[5]=v,e[6]=h,e[7]=d,e[8]=m,e[9]=y,e[10]=g,e[11]=_,e[12]=l*a+f*n+m*i+r[12],e[13]=o*a+v*n+y*i+r[13],e[14]=s*a+h*n+g*i+r[14],e[15]=u*a+d*n+_*i+r[15]),e}});var Bx=K((Cle,Ox)=>{Ox.exports=uH;function uH(e,r,t){var a=t[0],n=t[1],i=t[2];return e[0]=r[0]*a,e[1]=r[1]*a,e[2]=r[2]*a,e[3]=r[3]*a,e[4]=r[4]*n,e[5]=r[5]*n,e[6]=r[6]*n,e[7]=r[7]*n,e[8]=r[8]*i,e[9]=r[9]*i,e[10]=r[10]*i,e[11]=r[11]*i,e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15],e}});var Ux=K((Sle,Yx)=>{Yx.exports=fH;function fH(e,r,t,a){var n=a[0],i=a[1],l=a[2],o=Math.sqrt(n*n+i*i+l*l),s,u,f,v,h,d,m,y,g,_,T,w,b,M,S,k,q,D,P,z,F,O,I,V;return Math.abs(o)<1e-6?null:(o=1\/o,n*=o,i*=o,l*=o,s=Math.sin(t),u=Math.cos(t),f=1-u,v=r[0],h=r[1],d=r[2],m=r[3],y=r[4],g=r[5],_=r[6],T=r[7],w=r[8],b=r[9],M=r[10],S=r[11],k=n*n*f+u,q=i*n*f+l*s,D=l*n*f-i*s,P=n*i*f-l*s,z=i*i*f+u,F=l*i*f+n*s,O=n*l*f+i*s,I=i*l*f-n*s,V=l*l*f+u,e[0]=v*k+y*q+w*D,e[1]=h*k+g*q+b*D,e[2]=d*k+_*q+M*D,e[3]=m*k+T*q+S*D,e[4]=v*P+y*z+w*F,e[5]=h*P+g*z+b*F,e[6]=d*P+_*z+M*F,e[7]=m*P+T*z+S*F,e[8]=v*O+y*I+w*V,e[9]=h*O+g*I+b*V,e[10]=d*O+_*I+M*V,e[11]=m*O+T*I+S*V,r!==e&#038;&#038;(e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15]),e)}});var Gx=K((Lle,Vx)=>{Vx.exports=cH;function cH(e,r,t){var a=Math.sin(t),n=Math.cos(t),i=r[4],l=r[5],o=r[6],s=r[7],u=r[8],f=r[9],v=r[10],h=r[11];return r!==e&&(e[0]=r[0],e[1]=r[1],e[2]=r[2],e[3]=r[3],e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15]),e[4]=i*n+u*a,e[5]=l*n+f*a,e[6]=o*n+v*a,e[7]=s*n+h*a,e[8]=u*n-i*a,e[9]=f*n-l*a,e[10]=v*n-o*a,e[11]=h*n-s*a,e}});var Xx=K((qle,Wx)=>{Wx.exports=vH;function vH(e,r,t){var a=Math.sin(t),n=Math.cos(t),i=r[0],l=r[1],o=r[2],s=r[3],u=r[8],f=r[9],v=r[10],h=r[11];return r!==e&&(e[4]=r[4],e[5]=r[5],e[6]=r[6],e[7]=r[7],e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15]),e[0]=i*n-u*a,e[1]=l*n-f*a,e[2]=o*n-v*a,e[3]=s*n-h*a,e[8]=i*a+u*n,e[9]=l*a+f*n,e[10]=o*a+v*n,e[11]=s*a+h*n,e}});var Jx=K((Dle,Zx)=>{Zx.exports=hH;function hH(e,r,t){var a=Math.sin(t),n=Math.cos(t),i=r[0],l=r[1],o=r[2],s=r[3],u=r[4],f=r[5],v=r[6],h=r[7];return r!==e&&(e[8]=r[8],e[9]=r[9],e[10]=r[10],e[11]=r[11],e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15]),e[0]=i*n+u*a,e[1]=l*n+f*a,e[2]=o*n+v*a,e[3]=s*n+h*a,e[4]=u*n-i*a,e[5]=f*n-l*a,e[6]=v*n-o*a,e[7]=h*n-s*a,e}});var Qx=K((Ele,Kx)=>{Kx.exports=dH;function dH(e,r,t){var a,n,i,l=t[0],o=t[1],s=t[2],u=Math.sqrt(l*l+o*o+s*s);return Math.abs(u)<1e-6?null:(u=1\/u,l*=u,o*=u,s*=u,a=Math.sin(r),n=Math.cos(r),i=1-n,e[0]=l*l*i+n,e[1]=o*l*i+s*a,e[2]=s*l*i-o*a,e[3]=0,e[4]=l*o*i-s*a,e[5]=o*o*i+n,e[6]=s*o*i+l*a,e[7]=0,e[8]=l*s*i+o*a,e[9]=o*s*i-l*a,e[10]=s*s*i+n,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}});var jx=K((Ple,$x)=>{$x.exports=pH;function pH(e,r,t){var a=r[0],n=r[1],i=r[2],l=r[3],o=a+a,s=n+n,u=i+i,f=a*o,v=a*s,h=a*u,d=n*s,m=n*u,y=i*u,g=l*o,_=l*s,T=l*u;return e[0]=1-(d+y),e[1]=v+T,e[2]=h-_,e[3]=0,e[4]=v-T,e[5]=1-(f+y),e[6]=m+g,e[7]=0,e[8]=h+_,e[9]=m-g,e[10]=1-(f+d),e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}});var r_=K((Rle,e_)=>{e_.exports=mH;function mH(e,r){return e[0]=r[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=r[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=r[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var a_=K((zle,t_)=>{t_.exports=yH;function yH(e,r){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=r[0],e[13]=r[1],e[14]=r[2],e[15]=1,e}});var i_=K((Nle,n_)=>{n_.exports=gH;function gH(e,r){var t=Math.sin(r),a=Math.cos(r);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=t,e[7]=0,e[8]=0,e[9]=-t,e[10]=a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var o_=K((Fle,l_)=>{l_.exports=bH;function bH(e,r){var t=Math.sin(r),a=Math.cos(r);return e[0]=a,e[1]=0,e[2]=-t,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=t,e[9]=0,e[10]=a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var u_=K((Ile,s_)=>{s_.exports=xH;function xH(e,r){var t=Math.sin(r),a=Math.cos(r);return e[0]=a,e[1]=t,e[2]=0,e[3]=0,e[4]=-t,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var c_=K((Hle,f_)=>{f_.exports=_H;function _H(e,r){var t=r[0],a=r[1],n=r[2],i=r[3],l=t+t,o=a+a,s=n+n,u=t*l,f=a*l,v=a*o,h=n*l,d=n*o,m=n*s,y=i*l,g=i*o,_=i*s;return e[0]=1-v-m,e[1]=f+_,e[2]=h-g,e[3]=0,e[4]=f-_,e[5]=1-u-m,e[6]=d+y,e[7]=0,e[8]=h+g,e[9]=d-y,e[10]=1-u-v,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var h_=K((Ole,v_)=>{v_.exports=wH;function wH(e,r,t,a,n,i,l){var o=1\/(t-r),s=1\/(n-a),u=1\/(i-l);return e[0]=i*2*o,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=i*2*s,e[6]=0,e[7]=0,e[8]=(t+r)*o,e[9]=(n+a)*s,e[10]=(l+i)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=l*i*2*u,e[15]=0,e}});var p_=K((Ble,d_)=>{d_.exports=TH;function TH(e,r,t,a,n){var i=1\/Math.tan(r\/2),l=1\/(a-n);return e[0]=i\/t,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=i,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(n+a)*l,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*n*a*l,e[15]=0,e}});var y_=K((Yle,m_)=>{m_.exports=MH;function MH(e,r,t,a){var n=Math.tan(r.upDegrees*Math.PI\/180),i=Math.tan(r.downDegrees*Math.PI\/180),l=Math.tan(r.leftDegrees*Math.PI\/180),o=Math.tan(r.rightDegrees*Math.PI\/180),s=2\/(l+o),u=2\/(n+i);return e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=-((l-o)*s*.5),e[9]=(n-i)*u*.5,e[10]=a\/(t-a),e[11]=-1,e[12]=0,e[13]=0,e[14]=a*t\/(t-a),e[15]=0,e}});var b_=K((Ule,g_)=>{g_.exports=AH;function AH(e,r,t,a,n,i,l){var o=1\/(r-t),s=1\/(a-n),u=1\/(i-l);return e[0]=-2*o,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(r+t)*o,e[13]=(n+a)*s,e[14]=(l+i)*u,e[15]=1,e}});var __=K((Vle,x_)=>{var kH=hp();x_.exports=CH;function CH(e,r,t,a){var n,i,l,o,s,u,f,v,h,d,m=r[0],y=r[1],g=r[2],_=a[0],T=a[1],w=a[2],b=t[0],M=t[1],S=t[2];return Math.abs(m-b)<1e-6&#038;&#038;Math.abs(y-M)<1e-6&#038;&#038;Math.abs(g-S)<1e-6?kH(e):(f=m-b,v=y-M,h=g-S,d=1\/Math.sqrt(f*f+v*v+h*h),f*=d,v*=d,h*=d,n=T*h-w*v,i=w*f-_*h,l=_*v-T*f,d=Math.sqrt(n*n+i*i+l*l),d?(d=1\/d,n*=d,i*=d,l*=d):(n=0,i=0,l=0),o=v*l-h*i,s=h*n-f*l,u=f*i-v*n,d=Math.sqrt(o*o+s*s+u*u),d?(d=1\/d,o*=d,s*=d,u*=d):(o=0,s=0,u=0),e[0]=n,e[1]=o,e[2]=f,e[3]=0,e[4]=i,e[5]=s,e[6]=v,e[7]=0,e[8]=l,e[9]=u,e[10]=h,e[11]=0,e[12]=-(n*m+i*y+l*g),e[13]=-(o*m+s*y+u*g),e[14]=-(f*m+v*y+h*g),e[15]=1,e)}});var T_=K((Gle,w_)=>{w_.exports=SH;function SH(e){return\"mat4(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\", \"+e[4]+\", \"+e[5]+\", \"+e[6]+\", \"+e[7]+\", \"+e[8]+\", \"+e[9]+\", \"+e[10]+\", \"+e[11]+\", \"+e[12]+\", \"+e[13]+\", \"+e[14]+\", \"+e[15]+\")\"}});var dp=K((Wle,M_)=>{M_.exports={create:wx(),clone:Mx(),copy:kx(),identity:hp(),transpose:Lx(),invert:Dx(),adjoint:Px(),determinant:zx(),multiply:Fx(),translate:Hx(),scale:Bx(),rotate:Ux(),rotateX:Gx(),rotateY:Xx(),rotateZ:Jx(),fromRotation:Qx(),fromRotationTranslation:jx(),fromScaling:r_(),fromTranslation:a_(),fromXRotation:i_(),fromYRotation:o_(),fromZRotation:u_(),fromQuat:c_(),frustum:h_(),perspective:p_(),perspectiveFromFieldOfView:y_(),ortho:b_(),lookAt:__(),str:T_()}});var Nv=K(Lt=>{\"use strict\";var LH=dp();Lt.init2dArray=function(e,r){for(var t=new Array(e),a=0;a<e;a++)t[a]=new Array(r);return t};Lt.transposeRagged=function(e){var r=0,t=e.length,a,n;for(a=0;a<t;a++)r=Math.max(r,e[a].length);var i=new Array(r);for(a=0;a<r;a++)for(i[a]=new Array(t),n=0;n<t;n++)i[a][n]=e[n][a];return i};Lt.dot=function(e,r){if(!(e.length&#038;&#038;r.length)||e.length!==r.length)return null;var t=e.length,a,n;if(e[0].length)for(a=new Array(t),n=0;n<t;n++)a[n]=Lt.dot(e[n],r);else if(r[0].length){var i=Lt.transposeRagged(r);for(a=new Array(i.length),n=0;n<i.length;n++)a[n]=Lt.dot(e,i[n])}else for(a=0,n=0;n<t;n++)a+=e[n]*r[n];return a};Lt.translationMatrix=function(e,r){return[[1,0,e],[0,1,r],[0,0,1]]};Lt.rotationMatrix=function(e){var r=e*Math.PI\/180;return[[Math.cos(r),-Math.sin(r),0],[Math.sin(r),Math.cos(r),0],[0,0,1]]};Lt.rotationXYMatrix=function(e,r,t){return Lt.dot(Lt.dot(Lt.translationMatrix(r,t),Lt.rotationMatrix(e)),Lt.translationMatrix(-r,-t))};Lt.apply3DTransform=function(e){return function(){var r=arguments,t=arguments.length===1?r[0]:[r[0],r[1],r[2]||0];return Lt.dot(e,[t[0],t[1],t[2],1]).slice(0,3)}};Lt.apply2DTransform=function(e){return function(){var r=arguments;r.length===3&#038;&#038;(r=r[0]);var t=arguments.length===1?r[0]:[r[0],r[1]];return Lt.dot(e,[t[0],t[1],1]).slice(0,2)}};Lt.apply2DTransform2=function(e){var r=Lt.apply2DTransform(e);return function(t){return r(t.slice(0,2)).concat(r(t.slice(2,4)))}};Lt.convertCssMatrix=function(e){if(e){var r=e.length;if(r===16)return e;if(r===6)return[e[0],e[1],0,0,e[2],e[3],0,0,0,0,1,0,e[4],e[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]};Lt.inverseTransformMatrix=function(e){var r=[];return LH.invert(r,e),[[r[0],r[1],r[2],r[3]],[r[4],r[5],r[6],r[7]],[r[8],r[9],r[10],r[11]],[r[12],r[13],r[14],r[15]]]}});var af=K((Zle,q_)=>{\"use strict\";var qH=zr(),A_=fo(),DH=Nv(),EH=dp();function PH(e){var r;if(typeof e==\"string\"){if(r=document.getElementById(e),r===null)throw new Error(\"No DOM element with id '\"+e+\"' exists on the page.\");return r}else if(e==null)throw new Error(\"DOM element provided is null or undefined\");return e}function RH(e){var r=qH.select(e);return r.node()instanceof HTMLElement&&r.size()&&r.classed(\"js-plotly-plot\")}function k_(e){var r=e&&e.parentNode;r&&r.removeChild(e)}function zH(e,r){C_(\"global\",e,r)}function C_(e,r,t){var a=\"plotly.js-style-\"+e,n=document.getElementById(a);if(!(n&&n.matches(\".no-inline-styles\"))){n||(n=document.createElement(\"style\"),n.setAttribute(\"id\",a),n.appendChild(document.createTextNode(\"\")),document.head.appendChild(n));var i=n.sheet;i?i.insertRule?i.insertRule(r+\"{\"+t+\"}\",0):i.addRule?i.addRule(r,t,0):A_.warn(\"addStyleRule failed\"):A_.warn(\"Cannot addRelatedStyleRule, probably due to strict CSP...\")}}function NH(e){var r=\"plotly.js-style-\"+e,t=document.getElementById(r);t&&k_(t)}function FH(e,r,t,a,n,i){var l=a.split(\":\"),o=n.split(\":\"),s=\"data-btn-style-event-added\";i||(i=document),i.querySelectorAll(e).forEach(function(u){u.getAttribute(s)||(u.addEventListener(\"mouseenter\",function(){var f=this.querySelector(t);f&&(f.style[l[0]]=l[1])}),u.addEventListener(\"mouseleave\",function(){var f=this.querySelector(t);f&&(r&&this.matches(r)?f.style[l[0]]=l[1]:f.style[o[0]]=o[1])}),u.setAttribute(s,!0))})}function IH(e){var r=L_(e),t=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return r.forEach(function(a){var n=S_(a);if(n){var i=DH.convertCssMatrix(n);t=EH.multiply(t,t,i)}}),t}function S_(e){var r=window.getComputedStyle(e,null),t=r.getPropertyValue(\"-webkit-transform\")||r.getPropertyValue(\"-moz-transform\")||r.getPropertyValue(\"-ms-transform\")||r.getPropertyValue(\"-o-transform\")||r.getPropertyValue(\"transform\");return t===\"none\"?null:t.replace(\"matrix\",\"\").replace(\"3d\",\"\").slice(1,-1).split(\",\").map(function(a){return+a})}function L_(e){for(var r=[];HH(e);)r.push(e),e=e.parentNode,typeof ShadowRoot==\"function\"&&e instanceof ShadowRoot&&(e=e.host);return r}function HH(e){return e&&(e instanceof Element||e instanceof HTMLElement)}function OH(e,r){return e&&r&&e.top===r.top&&e.left===r.left&&e.right===r.right&&e.bottom===r.bottom}q_.exports={getGraphDiv:PH,isPlotDiv:RH,removeElement:k_,addStyleRule:zH,addRelatedStyleRule:C_,deleteRelatedStyleRule:NH,setStyleOnHover:FH,getFullTransformMatrix:IH,getElementTransformMatrix:S_,getElementAndAncestors:L_,equalDomRects:OH}});var nf=K((Jle,D_)=>{\"use strict\";D_.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\"}}}});var bi=K((Kle,I_)=>{\"use strict\";var P_=Wt().extendFlat,BH=cl(),R_={valType:\"flaglist\",extras:[\"none\"],flags:[\"calc\",\"clearAxisTypes\",\"plot\",\"style\",\"markerSize\",\"colorbars\"]},z_={valType:\"flaglist\",extras:[\"none\"],flags:[\"calc\",\"plot\",\"legend\",\"ticks\",\"axrange\",\"layoutstyle\",\"modebar\",\"camera\",\"arraydraw\",\"colorbars\"]},YH=R_.flags.slice().concat([\"fullReplot\"]),UH=z_.flags.slice().concat(\"layoutReplot\");I_.exports={traces:R_,layout:z_,traceFlags:function(){return E_(YH)},layoutFlags:function(){return E_(UH)},update:function(e,r){var t=r.editType;if(t&&t!==\"none\")for(var a=t.split(\"+\"),n=0;n<a.length;n++)e[a[n]]=!0},overrideAll:N_};function E_(e){for(var r={},t=0;t<e.length;t++)r[e[t]]=!1;return r}function N_(e,r,t){var a=P_({},e);for(var n in a){var i=a[n];BH(i)&#038;&#038;(a[n]=F_(i,r,t,n))}return t===\"from-root\"&#038;&#038;(a.editType=r),a}function F_(e,r,t,a){if(e.valType){var n=P_({},e);if(n.editType=r,Array.isArray(e.items)){n.items=new Array(e.items.length);for(var i=0;i<e.items.length;i++)n.items[i]=F_(e.items[i],r,\"from-root\")}return n}else return N_(e,r,a.charAt(0)===\"_\"?\"nested\":\"from-root\")}});var xi=K(pp=>{\"use strict\";pp.dash={valType:\"string\",values:[\"solid\",\"dot\",\"dash\",\"longdash\",\"dashdot\",\"longdashdot\"],dflt:\"solid\",editType:\"style\"};pp.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\"}});var mp=K(($le,H_)=>{\"use strict\";H_.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\"}});var co=K(Cs=>{\"use strict\";var{DATE_FORMAT_LINK:VH,FORMAT_LINK:GH}=mp(),WH=[\"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 XH({supportOther:e}={}){return[\"Variables are inserted using %{variable},\",'for example \"y: %{y}\"'+(e?\" 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}\".`,GH,\"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}\".`,VH,\"for details on the date formatting syntax.\",WH].join(\" \")}Cs.templateFormatStringDescription=XH;Cs.hovertemplateAttrs=({editType:e=\"none\",arrayOk:r}={},t={})=>io({valType:\"string\",dflt:\"\",editType:e},r!==!1?{arrayOk:!0}:{});Cs.texttemplateAttrs=({editType:e=\"calc\",arrayOk:r}={},t={})=>io({valType:\"string\",dflt:\"\",editType:e},r!==!1?{arrayOk:!0}:{});Cs.shapeTexttemplateAttrs=({editType:e=\"arraydraw\",newshape:r}={},t={})=>({valType:\"string\",dflt:\"\",editType:e});Cs.templatefallbackAttrs=({editType:e=\"none\"}={})=>({valType:\"any\",dflt:\"-\",editType:e})});var Hv=K((roe,G_)=>{\"use strict\";function dl(e,r){return r?r.d2l(e):e}function O_(e,r){return r?r.l2d(e):e}function ZH(e){return e.x0}function JH(e){return e.x1}function KH(e){return e.y0}function QH(e){return e.y1}function B_(e){return e.x0shift||0}function Y_(e){return e.x1shift||0}function U_(e){return e.y0shift||0}function V_(e){return e.y1shift||0}function Fv(e,r){return dl(e.x1,r)+Y_(e)-dl(e.x0,r)-B_(e)}function Iv(e,r,t){return dl(e.y1,t)+V_(e)-dl(e.y0,t)-U_(e)}function $H(e,r){return Math.abs(Fv(e,r))}function jH(e,r,t){return Math.abs(Iv(e,r,t))}function eO(e,r,t){return e.type!==\"line\"?void 0:Math.sqrt(Math.pow(Fv(e,r),2)+Math.pow(Iv(e,r,t),2))}function rO(e,r){return O_((dl(e.x1,r)+Y_(e)+dl(e.x0,r)+B_(e))\/2,r)}function tO(e,r,t){return O_((dl(e.y1,t)+V_(e)+dl(e.y0,t)+U_(e))\/2,t)}function aO(e,r,t){return e.type!==\"line\"?void 0:Iv(e,r,t)\/Fv(e,r)}var nO=[\"x0\",\"x1\",\"y0\",\"y1\",\"dy\",\"height\",\"ycenter\"],iO=[\"x0\",\"x1\",\"y0\",\"y1\",\"dx\",\"width\",\"xcenter\"];G_.exports={x0:ZH,x1:JH,y0:KH,y1:QH,slope:aO,dx:Fv,dy:Iv,width:$H,height:jH,length:eO,xcenter:rO,ycenter:tO,simpleXVariables:nO,simpleYVariables:iO}});var Z_=K((toe,X_)=>{\"use strict\";var lO=bi().overrideAll,vo=Zn(),W_=ga(),oO=xi().dash,pl=Wt().extendFlat,{shapeTexttemplateAttrs:sO,templatefallbackAttrs:uO}=co(),fO=Hv();X_.exports=lO({newshape:{visible:pl({},vo.visible,{}),showlegend:{valType:\"boolean\",dflt:!1},legend:pl({},vo.legend,{}),legendgroup:pl({},vo.legendgroup,{}),legendgrouptitle:{text:pl({},vo.legendgrouptitle.text,{}),font:W_({})},legendrank:pl({},vo.legendrank,{}),legendwidth:pl({},vo.legendwidth,{}),line:{color:{valType:\"color\"},width:{valType:\"number\",min:0,dflt:4},dash:pl({},oO,{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:pl({},vo.name,{}),label:{text:{valType:\"string\",dflt:\"\"},texttemplate:sO({newshape:!0},{keys:Object.keys(fO)}),texttemplatefallback:uO({editType:\"arraydraw\"}),font:W_({}),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\")});var K_=K((aoe,J_)=>{\"use strict\";var cO=xi().dash,vO=Wt().extendFlat;J_.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:vO({},cO,{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\"}}});var Ov=K((noe,Q_)=>{\"use strict\";Q_.exports=function(e){var r=e.editType;return{t:{valType:\"number\",dflt:0,editType:r},r:{valType:\"number\",dflt:0,editType:r},b:{valType:\"number\",dflt:0,editType:r},l:{valType:\"number\",dflt:0,editType:r},editType:r}}});var Ss=K((ioe,r4)=>{\"use strict\";var yp=ga(),hO=nf(),Bv=gi(),$_=Z_(),j_=K_(),dO=Ov(),e4=Wt().extendFlat,Yv=yp({editType:\"calc\"});Yv.family.dflt='\"Open Sans\", verdana, arial, sans-serif';Yv.size.dflt=12;Yv.color.dflt=Bv.defaultLine;r4.exports={font:Yv,title:{text:{valType:\"string\",editType:\"layoutstyle\"},font:yp({editType:\"layoutstyle\"}),subtitle:{text:{valType:\"string\",editType:\"layoutstyle\"},font:yp({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:e4(dO({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:Bv.background,editType:\"plot\"},plot_bgcolor:{valType:\"color\",dflt:Bv.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:Bv.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:$_.newshape,activeshape:$_.activeshape,newselection:j_.newselection,activeselection:j_.activeselection,meta:{valType:\"any\",arrayOk:!0,editType:\"plot\"},transition:e4({},hO.transition,{editType:\"none\"})}});var t4=K(()=>{(function(){if(!document.getElementById(\"ce8d464691048653ffe3a57c6c18ab566e8366f186677868cf724621a857b4fe\")){var e=document.createElement(\"style\");e.id=\"ce8d464691048653ffe3a57c6c18ab566e8366f186677868cf724621a857b4fe\",e.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(e)}})()});var br=K(Nr=>{\"use strict\";var Ls=fo(),a4=zv(),n4=vp(),pO=cl(),mO=af().addStyleRule,i4=Wt(),yO=Zn(),gO=Ss(),bO=i4.extendFlat,gp=i4.extendDeepAll;Nr.modules={};Nr.allCategories={};Nr.allTypes=[];Nr.subplotsRegistry={};Nr.componentsRegistry={};Nr.layoutArrayContainers=[];Nr.layoutArrayRegexes=[];Nr.traceLayoutAttributes={};Nr.localeRegistry={};Nr.apiMethodRegistry={};Nr.collectableSubplotTypes=null;Nr.register=function(r){if(Nr.collectableSubplotTypes=null,r)r&&!Array.isArray(r)&&(r=[r]);else throw new Error(\"No argument passed to Plotly.register.\");for(var t=0;t<r.length;t++){var a=r[t];if(!a)throw new Error(\"Invalid module was attempted to be registered!\");switch(a.moduleType){case\"trace\":xO(a);break;case\"transform\":TO(a);break;case\"component\":wO(a);break;case\"locale\":MO(a);break;case\"apiMethod\":var n=a.name;Nr.apiMethodRegistry[n]=a.fn;break;default:throw new Error(\"Invalid module was attempted to be registered!\")}}};Nr.getModule=function(e){var r=Nr.modules[u4(e)];return r?r._module:!1};Nr.traceIs=function(e,r){if(e=u4(e),e===\"various\")return!1;var t=Nr.modules[e];return t||(e&#038;&#038;Ls.log(\"Unrecognized trace type \"+e+\".\"),t=Nr.modules[yO.type.dflt]),!!t.categories[r]};Nr.getComponentMethod=function(e,r){var t=Nr.componentsRegistry[e];return t&#038;&#038;t[r]||a4};Nr.call=function(){var e=arguments[0],r=[].slice.call(arguments,1);return Nr.apiMethodRegistry[e].apply(null,r)};function xO(e){var r=e.name,t=e.categories,a=e.meta;if(Nr.modules[r]){Ls.log(\"Type \"+r+\" already registered\");return}Nr.subplotsRegistry[e.basePlotModule.name]||_O(e.basePlotModule);for(var n={},i=0;i<t.length;i++)n[t[i]]=!0,Nr.allCategories[t[i]]=!0;Nr.modules[r]={_module:e,categories:n},a&#038;&#038;Object.keys(a).length&#038;&#038;(Nr.modules[r].meta=a),Nr.allTypes.push(r);for(var l in Nr.componentsRegistry)o4(l,r);e.layoutAttributes&#038;&#038;bO(Nr.traceLayoutAttributes,e.layoutAttributes);var o=e.basePlotModule,s=o.name;if(s===\"mapbox\"){var u=o.constants.styleRules;for(var f in u)mO(\".js-plotly-plot .plotly .mapboxgl-\"+f,u[f])}s===\"map\"&#038;&#038;t4(),(s===\"geo\"||s===\"mapbox\"||s===\"map\")&#038;&#038;window.PlotlyGeoAssets===void 0&#038;&#038;(window.PlotlyGeoAssets={topojson:{}})}function _O(e){var r=e.name;if(Nr.subplotsRegistry[r]){Ls.log(\"Plot type \"+r+\" already registered.\");return}l4(e),Nr.subplotsRegistry[r]=e;for(var t in Nr.componentsRegistry)s4(t,e.name)}function wO(e){if(typeof e.name!=\"string\")throw new Error(\"Component module *name* must be a string.\");var r=e.name;Nr.componentsRegistry[r]=e,e.layoutAttributes&#038;&#038;(e.layoutAttributes._isLinkedToArray&#038;&#038;n4(Nr.layoutArrayContainers,r),l4(e));for(var t in Nr.modules)o4(r,t);for(var a in Nr.subplotsRegistry)s4(r,a);e.schema&#038;&#038;e.schema.layout&#038;&#038;gp(gO,e.schema.layout)}function TO(e){if(typeof e.name!=\"string\")throw new Error(\"Transform module *name* must be a string.\");var r=\"Transform module \"+e.name,t=typeof e.transform==\"function\",a=typeof e.calcTransform==\"function\";if(!t&#038;&#038;!a)throw new Error(r+\" is missing a *transform* or *calcTransform* method.\");t&#038;&#038;a&#038;&#038;Ls.log([r+\" has both a *transform* and *calcTransform* methods.\",\"Please note that all *transform* methods are executed\",\"before all *calcTransform* methods.\"].join(\" \")),pO(e.attributes)||Ls.log(r+\" registered without an *attributes* object.\"),typeof e.supplyDefaults!=\"function\"&#038;&#038;Ls.log(r+\" registered without a *supplyDefaults* method.\")}function MO(e){var r=e.name,t=r.split(\"-\")[0],a=e.dictionary,n=e.format,i=a&#038;&#038;Object.keys(a).length,l=n&#038;&#038;Object.keys(n).length,o=Nr.localeRegistry,s=o[r];if(s||(o[r]=s={}),t!==r){var u=o[t];u||(o[t]=u={}),i&#038;&#038;u.dictionary===s.dictionary&#038;&#038;(u.dictionary=a),l&#038;&#038;u.format===s.format&#038;&#038;(u.format=n)}i&#038;&#038;(s.dictionary=a),l&#038;&#038;(s.format=n)}function l4(e){if(e.layoutAttributes){var r=e.layoutAttributes._arrayAttrRegexps;if(r)for(var t=0;t<r.length;t++)n4(Nr.layoutArrayRegexes,r[t])}}function o4(e,r){var t=Nr.componentsRegistry[e].schema;if(!(!t||!t.traces)){var a=t.traces[r];a&#038;&#038;gp(Nr.modules[r]._module.attributes,a)}}function s4(e,r){var t=Nr.componentsRegistry[e].schema;if(!(!t||!t.subplots)){var a=Nr.subplotsRegistry[r],n=a.layoutAttributes,i=a.attr===\"subplot\"?a.name:a.attr;Array.isArray(i)&#038;&#038;(i=i[0]);var l=t.subplots[i];n&#038;&#038;l&#038;&#038;gp(n,l)}}function u4(e){return typeof e==\"object\"&#038;&#038;(e=e.type),e}});var g4=K(qt=>{\"use strict\";var AO=xs().timeFormat,m4=Hr(),bp=fo(),yl=ws().mod,Es=Gt(),Tn=Es.BADNUM,ja=Es.ONEDAY,lf=Es.ONEHOUR,ml=Es.ONEMIN,Ds=Es.ONESEC,of=Es.EPOCHJD,Ui=br(),f4=xs().utcFormat,kO=\/^\\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,CO=\/^\\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,c4=new Date().getFullYear()-70;function Vi(e){return e&&Ui.componentsRegistry.calendars&&typeof e==\"string\"&&e!==\"gregorian\"}qt.dateTick0=function(e,r){var t=SO(e,!!r);if(r<2)return t;var a=qt.dateTime2ms(t,e);return a+=ja*(r-1),qt.ms2DateTime(a,0,e)};function SO(e,r){return Vi(e)?r?Ui.getComponentMethod(\"calendars\",\"CANONICAL_SUNDAY\")[e]:Ui.getComponentMethod(\"calendars\",\"CANONICAL_TICK\")[e]:r?\"2000-01-02\":\"2000-01-01\"}qt.dfltRange=function(e){return Vi(e)?Ui.getComponentMethod(\"calendars\",\"DFLTRANGE\")[e]:[\"2000-01-01\",\"2001-01-01\"]};qt.isJSDate=function(e){return typeof e==\"object\"&#038;&#038;e!==null&#038;&#038;typeof e.getTime==\"function\"};var Vv,Gv;qt.dateTime2ms=function(e,r){if(qt.isJSDate(e)){var t=e.getTimezoneOffset()*ml,a=(e.getUTCMinutes()-e.getMinutes())*ml+(e.getUTCSeconds()-e.getSeconds())*Ds+(e.getUTCMilliseconds()-e.getMilliseconds());if(a){var n=3*ml;t=t-n\/2+yl(a-t+n\/2,n)}return e=Number(e)-t,e>=Vv&&e<=Gv?e:Tn}if(typeof e!=\"string\"&#038;&#038;typeof e!=\"number\")return Tn;e=String(e);var i=Vi(r),l=e.charAt(0);i&#038;&#038;(l===\"G\"||l===\"g\")&#038;&#038;(e=e.slice(1),r=\"\");var o=i&#038;&#038;r.slice(0,7)===\"chinese\",s=e.match(o?CO:kO);if(!s)return Tn;var u=s[1],f=s[3]||\"1\",v=Number(s[5]||1),h=Number(s[7]||0),d=Number(s[9]||0),m=Number(s[11]||0);if(i){if(u.length===2)return Tn;u=Number(u);var y;try{var g=Ui.getComponentMethod(\"calendars\",\"getCal\")(r);if(o){var _=f.charAt(f.length-1)===\"i\";f=parseInt(f,10),y=g.newDate(u,g.toMonthIndex(u,f,_),v)}else y=g.newDate(u,Number(f),v)}catch(w){return Tn}return y?(y.toJD()-of)*ja+h*lf+d*ml+m*Ds:Tn}u.length===2?u=(Number(u)+2e3-c4)%100+c4:u=Number(u),f-=1;var T=new Date(Date.UTC(2e3,f,v,h,d));return T.setUTCFullYear(u),T.getUTCMonth()!==f||T.getUTCDate()!==v?Tn:T.getTime()+m*Ds};Vv=qt.MIN_MS=qt.dateTime2ms(\"-9999\");Gv=qt.MAX_MS=qt.dateTime2ms(\"9999-12-31 23:59:59.9999\");qt.isDateTime=function(e,r){return qt.dateTime2ms(e,r)!==Tn};function qs(e,r){return String(e+Math.pow(10,r)).slice(1)}var Uv=90*ja,v4=3*lf,h4=5*ml;qt.ms2DateTime=function(e,r,t){if(typeof e!=\"number\"||!(e>=Vv&&e<=Gv))return Tn;r||(r=0);var a=Math.floor(yl(e+.05,1)*10),n=Math.round(e-a\/10),i,l,o,s,u,f;if(Vi(t)){var v=Math.floor(n\/ja)+of,h=Math.floor(yl(e,ja));try{i=Ui.getComponentMethod(\"calendars\",\"getCal\")(t).fromJD(v).formatDate(\"yyyy-mm-dd\")}catch(d){i=f4(\"G%Y-%m-%d\")(new Date(n))}if(i.charAt(0)===\"-\")for(;i.length<11;)i=\"-0\"+i.slice(1);else for(;i.length<10;)i=\"0\"+i;l=r<Uv?Math.floor(h\/lf):0,o=r<Uv?Math.floor(h%lf\/ml):0,s=r<v4?Math.floor(h%ml\/Ds):0,u=r<h4?h%Ds*10+a:0}else f=new Date(n),i=f4(\"%Y-%m-%d\")(f),l=r<Uv?f.getUTCHours():0,o=r<Uv?f.getUTCMinutes():0,s=r<v4?f.getUTCSeconds():0,u=r<h4?f.getUTCMilliseconds()*10+a:0;return y4(i,l,o,s,u)};qt.ms2DateTimeLocal=function(e){if(!(e>=Vv+ja&&e<=Gv-ja))return Tn;var r=Math.floor(yl(e+.05,1)*10),t=new Date(Math.round(e-r\/10)),a=AO(\"%Y-%m-%d\")(t),n=t.getHours(),i=t.getMinutes(),l=t.getSeconds(),o=t.getUTCMilliseconds()*10+r;return y4(a,n,i,l,o)};function y4(e,r,t,a,n){if((r||t||a||n)&#038;&#038;(e+=\" \"+qs(r,2)+\":\"+qs(t,2),(a||n)&#038;&#038;(e+=\":\"+qs(a,2),n))){for(var i=4;n%10===0;)i-=1,n\/=10;e+=\".\"+qs(n,i)}return e}qt.cleanDate=function(e,r,t){if(e===Tn)return r;if(qt.isJSDate(e)||typeof e==\"number\"&#038;&#038;isFinite(e)){if(Vi(t))return bp.error(\"JS Dates and milliseconds are incompatible with world calendars\",e),r;if(e=qt.ms2DateTimeLocal(+e),!e&#038;&#038;r!==void 0)return r}else if(!qt.isDateTime(e,t))return bp.error(\"unrecognized date\",e),r;return e};var LO=\/%\\d?f\/g,qO=\/%h\/g,DO={1:\"1\",2:\"1\",3:\"2\",4:\"2\"};function d4(e,r,t,a){e=e.replace(LO,function(i){var l=Math.min(+i.charAt(1)||6,6),o=(r\/1e3%1+2).toFixed(l).slice(2).replace(\/0+$\/,\"\")||\"0\";return o});var n=new Date(Math.floor(r+.05));if(e=e.replace(qO,function(){return DO[t(\"%q\")(n)]}),Vi(a))try{e=Ui.getComponentMethod(\"calendars\",\"worldCalFmt\")(e,r,a)}catch(i){return\"Invalid\"}return t(e)(n)}var EO=[59,59.9,59.99,59.999,59.9999];function PO(e,r){var t=yl(e+.05,ja),a=qs(Math.floor(t\/lf),2)+\":\"+qs(yl(Math.floor(t\/ml),60),2);if(r!==\"M\"){m4(r)||(r=0);var n=Math.min(yl(e\/Ds,60),EO[r]),i=(100+n).toFixed(r).slice(1);r>0&&(i=i.replace(\/0+$\/,\"\").replace(\/[\\.]$\/,\"\")),a+=\":\"+i}return a}qt.formatDate=function(e,r,t,a,n,i){if(n=Vi(n)&&n,!r)if(t===\"y\")r=i.year;else if(t===\"m\")r=i.month;else if(t===\"d\")r=i.dayMonth+`\n`+i.year;else return PO(e,t)+`\n`+d4(i.dayMonthYear,e,a,n);return d4(r,e,a,n)};var p4=3*ja;qt.incrementMonth=function(e,r,t){t=Vi(t)&&t;var a=yl(e,ja);if(e=Math.round(e-a),t)try{var n=Math.round(e\/ja)+of,i=Ui.getComponentMethod(\"calendars\",\"getCal\")(t),l=i.fromJD(n);return r%12?i.add(l,r,\"m\"):i.add(l,r\/12,\"y\"),(l.toJD()-of)*ja+a}catch(s){bp.error(\"invalid ms \"+e+\" in calendar \"+t)}var o=new Date(e+p4);return o.setUTCMonth(o.getUTCMonth()+r)+a-p4};qt.findExactDates=function(e,r){for(var t=0,a=0,n=0,i=0,l,o,s=Vi(r)&&Ui.getComponentMethod(\"calendars\",\"getCal\")(r),u=0;u<e.length;u++){if(o=e[u],!m4(o)){i++;continue}if(!(o%ja))if(s)try{l=s.fromJD(o\/ja+of),l.day()===1?l.month()===1?t++:a++:n++}catch(v){}else l=new Date(o),l.getUTCDate()===1?l.getUTCMonth()===0?t++:a++:n++}a+=t,n+=a;var f=e.length-i;return{exactYears:t\/f,exactMonths:a\/f,exactDays:n\/f}}});var xp=K((foe,b4)=>{\"use strict\";b4.exports=function(r){return r}});var wp=K(Gi=>{\"use strict\";var RO=Hr(),zO=fo(),NO=xp(),FO=Gt().BADNUM,_p=1e-9;Gi.findBin=function(e,r,t){if(RO(r.start))return t?Math.ceil((e-r.start)\/r.size-_p)-1:Math.floor((e-r.start)\/r.size+_p);var a=0,n=r.length,i=0,l=n>1?(r[n-1]-r[0])\/(n-1):1,o,s;for(l>=0?s=t?IO:HO:s=t?BO:OO,e+=l*_p*(t?-1:1)*(l>=0?1:-1);a<n&#038;&#038;i++<100;)o=Math.floor((a+n)\/2),s(r[o],e)?a=o+1:n=o;return i>90&&zO.log(\"Long binary search...\"),a-1};function IO(e,r){return e<r}function HO(e,r){return e<=r}function OO(e,r){return e>r}function BO(e,r){return e>=r}Gi.sorterAsc=function(e,r){return e-r};Gi.sorterDes=function(e,r){return r-e};Gi.distinctVals=function(e){var r=e.slice();r.sort(Gi.sorterAsc);var t;for(t=r.length-1;t>-1&&r[t]===FO;t--);for(var a=r[t]-r[0]||1,n=a\/(t||1)\/1e4,i=[],l,o=0;o<=t;o++){var s=r[o],u=s-l;l===void 0?(i.push(s),l=s):u>n&&(a=Math.min(a,u),i.push(s),l=s)}return{vals:i,minDiff:a}};Gi.roundUp=function(e,r,t){for(var a=0,n=r.length-1,i,l=0,o=t?0:1,s=t?1:0,u=t?Math.ceil:Math.floor;a<n&#038;&#038;l++<100;)i=u((a+n)\/2),r[i]<=e?a=i+o:n=i-s;return r[a]};Gi.sort=function(e,r){for(var t=0,a=0,n=1;n<e.length;n++){var i=r(e[n],e[n-1]);if(i<0?t=1:i>0&&(a=1),t&&a)return e.sort(r)}return a?e:e.reverse()};Gi.findIndexOfMin=function(e,r){r=r||NO;for(var t=1\/0,a,n=0;n<e.length;n++){var i=r(e[n]);i<t&#038;&#038;(t=i,a=n)}return a}});var Tp=K((voe,x4)=>{\"use strict\";x4.exports=function(r){return Object.keys(r).sort()}});var _4=K(Dt=>{\"use strict\";var sf=Hr(),YO=Ka().isArrayOrTypedArray;Dt.aggNums=function(e,r,t,a){var n,i;if((!a||a>t.length)&&(a=t.length),sf(r)||(r=!1),YO(t[0])){for(i=new Array(a),n=0;n<a;n++)i[n]=Dt.aggNums(e,r,t[n]);t=i}for(n=0;n<a;n++)sf(r)?sf(t[n])&#038;&#038;(r=e(+r,+t[n])):r=t[n];return r};Dt.len=function(e){return Dt.aggNums(function(r){return r+1},0,e)};Dt.mean=function(e,r){return r||(r=Dt.len(e)),Dt.aggNums(function(t,a){return t+a},0,e)\/r};Dt.geometricMean=function(e,r){return r||(r=Dt.len(e)),Math.pow(Dt.aggNums(function(t,a){return t*a},1,e),1\/r)};Dt.midRange=function(e){if(!(e===void 0||e.length===0))return(Dt.aggNums(Math.max,null,e)+Dt.aggNums(Math.min,null,e))\/2};Dt.variance=function(e,r,t){return r||(r=Dt.len(e)),sf(t)||(t=Dt.mean(e,r)),Dt.aggNums(function(a,n){return a+Math.pow(n-t,2)},0,e)\/r};Dt.stdev=function(e,r,t){return Math.sqrt(Dt.variance(e,r,t))};Dt.median=function(e){var r=e.slice().sort();return Dt.interp(r,.5)};Dt.interp=function(e,r){if(!sf(r))throw\"n should be a finite number\";if(r=r*e.length-.5,r<0)return e[0];if(r>e.length-1)return e[e.length-1];var t=r%1;return t*e[Math.ceil(r)]+(1-t)*e[Math.floor(r)]}});var k4=K((doe,A4)=>{\"use strict\";var w4=ws(),Mp=w4.mod,UO=w4.modHalf,uf=Math.PI,gl=2*uf;function VO(e){return e\/180*uf}function GO(e){return e\/uf*180}function Ap(e){return Math.abs(e[1]-e[0])>gl-1e-14}function T4(e,r){return UO(r-e,gl)}function WO(e,r){return Math.abs(T4(e,r))}function M4(e,r){if(Ap(r))return!0;var t,a;r[0]<r[1]?(t=r[0],a=r[1]):(t=r[1],a=r[0]),t=Mp(t,gl),a=Mp(a,gl),t>a&&(a+=gl);var n=Mp(e,gl),i=n+gl;return n>=t&&n<=a||i>=t&&i<=a}function XO(e,r,t,a){if(!M4(r,a))return!1;var n,i;return t[0]<t[1]?(n=t[0],i=t[1]):(n=t[1],i=t[0]),e>=n&&e<=i}function kp(e,r,t,a,n,i,l){n=n||0,i=i||0;var o=Ap([t,a]),s,u,f,v,h;o?(s=0,u=uf,f=gl):t<a?(s=t,f=a):(s=a,f=t),e<r?(v=e,h=r):(v=r,h=e);function d(_,T){return[_*Math.cos(T)+n,i-_*Math.sin(T)]}var m=Math.abs(f-s)<=uf?0:1;function y(_,T,w){return\"A\"+[_,_]+\" \"+[0,m,w]+\" \"+d(_,T)}var g;return o?v===null?g=\"M\"+d(h,s)+y(h,u,0)+y(h,f,0)+\"Z\":g=\"M\"+d(v,s)+y(v,u,0)+y(v,f,0)+\"ZM\"+d(h,s)+y(h,u,1)+y(h,f,1)+\"Z\":v===null?(g=\"M\"+d(h,s)+y(h,f,0),l&#038;&#038;(g+=\"L0,0Z\")):g=\"M\"+d(v,s)+\"L\"+d(h,s)+y(h,f,0)+\"L\"+d(v,f)+y(v,s,1)+\"Z\",g}function ZO(e,r,t,a,n){return kp(null,e,r,t,a,n,0)}function JO(e,r,t,a,n){return kp(null,e,r,t,a,n,1)}function KO(e,r,t,a,n,i){return kp(e,r,t,a,n,i,1)}A4.exports={deg2rad:VO,rad2deg:GO,angleDelta:T4,angleDist:WO,isFullCircle:Ap,isAngleInsideSector:M4,isPtInsideSector:XO,pathArc:ZO,pathSector:JO,pathAnnulus:KO}});var C4=K(ho=>{\"use strict\";ho.isLeftAnchor=function(r){return r.xanchor===\"left\"||r.xanchor===\"auto\"&&r.x<=1\/3};ho.isCenterAnchor=function(r){return r.xanchor===\"center\"||r.xanchor===\"auto\"&#038;&#038;r.x>1\/3&&r.x<2\/3};ho.isRightAnchor=function(r){return r.xanchor===\"right\"||r.xanchor===\"auto\"&#038;&#038;r.x>=2\/3};ho.isTopAnchor=function(r){return r.yanchor===\"top\"||r.yanchor===\"auto\"&&r.y>=2\/3};ho.isMiddleAnchor=function(r){return r.yanchor===\"middle\"||r.yanchor===\"auto\"&&r.y>1\/3&&r.y<2\/3};ho.isBottomAnchor=function(r){return r.yanchor===\"bottom\"||r.yanchor===\"auto\"&#038;&#038;r.y<=1\/3}});var q4=K(po=>{\"use strict\";var Cp=ws().mod;po.segmentsIntersect=L4;function L4(e,r,t,a,n,i,l,o){var s=t-e,u=n-e,f=l-n,v=a-r,h=i-r,d=o-i,m=s*d-f*v;if(m===0)return null;var y=(u*d-f*h)\/m,g=(u*v-s*h)\/m;return g<0||g>1||y<0||y>1?null:{x:e+s*y,y:r+v*y}}po.segmentDistance=function(r,t,a,n,i,l,o,s){if(L4(r,t,a,n,i,l,o,s))return 0;var u=a-r,f=n-t,v=o-i,h=s-l,d=u*u+f*f,m=v*v+h*h,y=Math.min(Wv(u,f,d,i-r,l-t),Wv(u,f,d,o-r,s-t),Wv(v,h,m,r-i,t-l),Wv(v,h,m,a-i,n-l));return Math.sqrt(y)};function Wv(e,r,t,a,n){var i=a*e+n*r;if(i<0)return a*a+n*n;if(i>t){var l=a-e,o=n-r;return l*l+o*o}else{var s=a*r-n*e;return s*s\/t}}var Xv,Sp,S4;po.getTextLocation=function(r,t,a,n){if((r!==Sp||n!==S4)&&(Xv={},Sp=r,S4=n),Xv[a])return Xv[a];var i=r.getPointAtLength(Cp(a-n\/2,t)),l=r.getPointAtLength(Cp(a+n\/2,t)),o=Math.atan((l.y-i.y)\/(l.x-i.x)),s=r.getPointAtLength(Cp(a,t)),u=(s.x*4+i.x+l.x)\/6,f=(s.y*4+i.y+l.y)\/6,v={x:u,y:f,theta:o};return Xv[a]=v,v};po.clearLocationCache=function(){Sp=null};po.getVisibleSegment=function(r,t,a){var n=t.left,i=t.right,l=t.top,o=t.bottom,s=0,u=r.getTotalLength(),f=u,v,h;function d(y){var g=r.getPointAtLength(y);y===0?v=g:y===u&&(h=g);var _=g.x<n?n-g.x:g.x>i?g.x-i:0,T=g.y<l?l-g.y:g.y>o?g.y-o:0;return Math.sqrt(_*_+T*T)}for(var m=d(s);m;){if(s+=m+a,s>f)return;m=d(s)}for(m=d(f);m;){if(f-=m+a,s>f)return;m=d(f)}return{min:s,max:f,len:f-s,total:u,isClosed:s===0&&f===u&&Math.abs(v.x-h.x)<.1&#038;&#038;Math.abs(v.y-h.y)<.1}};po.findPointOnPath=function(r,t,a,n){n=n||{};for(var i=n.pathLength||r.getTotalLength(),l=n.tolerance||.001,o=n.iterationLimit||30,s=r.getPointAtLength(0)[a]>r.getPointAtLength(i)[a]?-1:1,u=0,f=0,v=i,h,d,m;u<o;){if(h=(f+v)\/2,d=r.getPointAtLength(h),m=d[a]-t,Math.abs(m)<l)return d;s*m>0?v=h:f=h,u++}return d}});var Zv=K(ff=>{\"use strict\";var Wi={};ff.throttle=function(r,t,a){var n=Wi[r],i=Date.now();if(!n){for(var l in Wi)Wi[l].ts<i-6e4&#038;&#038;delete Wi[l];n=Wi[r]={ts:0,timer:null}}D4(n);function o(){a(),n.ts=Date.now(),n.onDone&#038;&#038;(n.onDone(),n.onDone=null)}if(i>n.ts+t){o();return}n.timer=setTimeout(function(){o(),n.timer=null},t)};ff.done=function(e){var r=Wi[e];return!r||!r.timer?Promise.resolve():new Promise(function(t){var a=r.onDone;r.onDone=function(){a&&a(),t(),r.onDone=null}})};ff.clear=function(e){if(e)D4(Wi[e]),delete Wi[e];else for(var r in Wi)ff.clear(r)};function D4(e){e&&e.timer!==null&&(clearTimeout(e.timer),e.timer=null)}});var P4=K((goe,E4)=>{\"use strict\";E4.exports=function(r){r._responsiveChartHandler&&(window.removeEventListener(\"resize\",r._responsiveChartHandler),delete r._responsiveChartHandler)}});var R4=K((boe,Jv)=>{\"use strict\";Jv.exports=Lp;Jv.exports.isMobile=Lp;Jv.exports.default=Lp;var QO=\/(android|bb\\d+|meego).+mobile|armv7l|avantgo|bada\\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino\/i,$O=\/CrOS\/,jO=\/android|ipad|playbook|silk\/i;function Lp(e){e||(e={});let r=e.ua;if(!r&&typeof navigator!=\"undefined\"&&(r=navigator.userAgent),r&&r.headers&&typeof r.headers[\"user-agent\"]==\"string\"&&(r=r.headers[\"user-agent\"]),typeof r!=\"string\")return!1;let t=QO.test(r)&&!$O.test(r)||!!e.tablet&&jO.test(r);return!t&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&r.indexOf(\"Macintosh\")!==-1&&r.indexOf(\"Safari\")!==-1&&(t=!0),t}});var N4=K((xoe,z4)=>{\"use strict\";var eB=Hr(),rB=R4();z4.exports=function(r){var t;if(r&&r.hasOwnProperty(\"userAgent\")?t=r.userAgent:t=tB(),typeof t!=\"string\")return!0;var a=rB({ua:{headers:{\"user-agent\":t}},tablet:!0,featureDetect:!1});if(!a)for(var n=t.split(\" \"),i=1;i<n.length;i++){var l=n[i];if(l.indexOf(\"Safari\")!==-1)for(var o=i-1;o>-1;o--){var s=n[o];if(s.slice(0,8)===\"Version\/\"){var u=s.slice(8).split(\".\")[0];if(eB(u)&&(u=+u),u>=13)return!0}}}return a};function tB(){var e;return typeof navigator!=\"undefined\"&&(e=navigator.userAgent),e&&e.headers&&typeof e.headers[\"user-agent\"]==\"string\"&&(e=e.headers[\"user-agent\"]),e}});var I4=K((_oe,F4)=>{\"use strict\";var aB=zr();F4.exports=function(r,t,a){var n=r.selectAll(\"g.\"+a.replace(\/\\s\/g,\".\")).data(t,function(l){return l[0].trace.uid});n.exit().remove(),n.enter().append(\"g\").attr(\"class\",a),n.order();var i=r.classed(\"rangeplot\")?\"nodeRangePlot3\":\"node3\";return n.each(function(l){l[0][i]=aB.select(this)}),n}});var O4=K((woe,H4)=>{\"use strict\";var nB=br();H4.exports=function(r,t){for(var a=r._context.locale,n=0;n<2;n++){for(var i=r._context.locales,l=0;l<2;l++){var o=(i[a]||{}).dictionary;if(o){var s=o[t];if(s)return s}i=nB.localeRegistry}var u=a.split(\"-\")[0];if(u===a)break;a=u}return t}});var Y4=K((Toe,B4)=>{\"use strict\";B4.exports=function(r){for(var t={},a=[],n=0,i=0;i<r.length;i++){var l=r[i];t[l]!==1&#038;&#038;(t[l]=1,a[n++]=l)}return a}});var V4=K((Moe,U4)=>{\"use strict\";U4.exports=function(r){for(var t=oB(r)?lB:iB,a=[],n=0;n<r.length;n++){var i=r[n];t(i)&#038;&#038;a.push(i)}return a};function iB(e){return e.visible===!0}function lB(e){var r=e[0].trace;return r.visible===!0&#038;&#038;r._length!==0}function oB(e){return Array.isArray(e)&#038;&#038;Array.isArray(e[0])&#038;&#038;e[0][0]&#038;&#038;e[0][0].trace}});var W4=K((Aoe,G4)=>{\"use strict\";G4.exports=function(r,t){if(!t)return r;var a=1\/Math.abs(t),n=a>1?(a*r+a*t)\/a:r+t,i=String(n).length;if(i>16){var l=String(t).length,o=String(r).length;if(i>=o+l){var s=parseFloat(n).toPrecision(12);s.indexOf(\"e+\")===-1&&(n=+s)}}return n}});var Z4=K((koe,X4)=>{\"use strict\";var sB=Hr(),uB=Gt().BADNUM,fB=\/^['\"%,$#\\s']+|[, ]|['\"%,$#\\s']+$\/g;X4.exports=function(r){return typeof r==\"string\"&&(r=r.replace(fB,\"\")),sB(r)?Number(r):uB}});var Fe=K((Coe,o6)=>{\"use strict\";var cf=zr(),cB=xs().utcFormat,vB=$1().format,e6=Hr(),r6=Gt(),t6=r6.FP_SAFE,hB=-t6,J4=r6.BADNUM,fe=o6.exports={};fe.adjustFormat=function(r){return!r||\/^\\d[.]\\df\/.test(r)||\/[.]\\d%\/.test(r)?r:r===\"0.f\"?\"~f\":\/^\\d%\/.test(r)?\"~%\":\/^\\ds\/.test(r)?\"~s\":!\/^[~,.0$]\/.test(r)&&\/[&fps]\/.test(r)?\"~\"+r:r};var K4={};fe.warnBadFormat=function(e){var r=String(e);K4[r]||(K4[r]=1,fe.warn('encountered bad format: \"'+r+'\"'))};fe.noFormat=function(e){return String(e)};fe.numberFormat=function(e){var r;try{r=vB(fe.adjustFormat(e))}catch(t){return fe.warnBadFormat(e),fe.noFormat}return r};fe.nestedProperty=kv();fe.keyedContainer=Bb();fe.relativeAttr=Ub();fe.isPlainObject=cl();fe.toLogRange=Sv();fe.relinkPrivateKeys=Xb();var bl=Ka();fe.isArrayBuffer=bl.isArrayBuffer;fe.isTypedArray=bl.isTypedArray;fe.isArrayOrTypedArray=bl.isArrayOrTypedArray;fe.isArray1D=bl.isArray1D;fe.ensureArray=bl.ensureArray;fe.concat=bl.concat;fe.maxRowLength=bl.maxRowLength;fe.minRowLength=bl.minRowLength;var a6=ws();fe.mod=a6.mod;fe.modHalf=a6.modHalf;var xl=vx();fe.valObjectMeta=xl.valObjectMeta;fe.coerce=xl.coerce;fe.coerce2=xl.coerce2;fe.coerceFont=xl.coerceFont;fe.coercePattern=xl.coercePattern;fe.coerceHoverinfo=xl.coerceHoverinfo;fe.coerceSelectionMarkerOpacity=xl.coerceSelectionMarkerOpacity;fe.validate=xl.validate;var sn=g4();fe.dateTime2ms=sn.dateTime2ms;fe.isDateTime=sn.isDateTime;fe.ms2DateTime=sn.ms2DateTime;fe.ms2DateTimeLocal=sn.ms2DateTimeLocal;fe.cleanDate=sn.cleanDate;fe.isJSDate=sn.isJSDate;fe.formatDate=sn.formatDate;fe.incrementMonth=sn.incrementMonth;fe.dateTick0=sn.dateTick0;fe.dfltRange=sn.dfltRange;fe.findExactDates=sn.findExactDates;fe.MIN_MS=sn.MIN_MS;fe.MAX_MS=sn.MAX_MS;var mo=wp();fe.findBin=mo.findBin;fe.sorterAsc=mo.sorterAsc;fe.sorterDes=mo.sorterDes;fe.distinctVals=mo.distinctVals;fe.roundUp=mo.roundUp;fe.sort=mo.sort;fe.findIndexOfMin=mo.findIndexOfMin;fe.sortObjectKeys=Tp();var Xi=_4();fe.aggNums=Xi.aggNums;fe.len=Xi.len;fe.mean=Xi.mean;fe.geometricMean=Xi.geometricMean;fe.median=Xi.median;fe.midRange=Xi.midRange;fe.variance=Xi.variance;fe.stdev=Xi.stdev;fe.interp=Xi.interp;var Kn=Nv();fe.init2dArray=Kn.init2dArray;fe.transposeRagged=Kn.transposeRagged;fe.dot=Kn.dot;fe.translationMatrix=Kn.translationMatrix;fe.rotationMatrix=Kn.rotationMatrix;fe.rotationXYMatrix=Kn.rotationXYMatrix;fe.apply3DTransform=Kn.apply3DTransform;fe.apply2DTransform=Kn.apply2DTransform;fe.apply2DTransform2=Kn.apply2DTransform2;fe.convertCssMatrix=Kn.convertCssMatrix;fe.inverseTransformMatrix=Kn.inverseTransformMatrix;var _i=k4();fe.deg2rad=_i.deg2rad;fe.rad2deg=_i.rad2deg;fe.angleDelta=_i.angleDelta;fe.angleDist=_i.angleDist;fe.isFullCircle=_i.isFullCircle;fe.isAngleInsideSector=_i.isAngleInsideSector;fe.isPtInsideSector=_i.isPtInsideSector;fe.pathArc=_i.pathArc;fe.pathSector=_i.pathSector;fe.pathAnnulus=_i.pathAnnulus;var Rs=C4();fe.isLeftAnchor=Rs.isLeftAnchor;fe.isCenterAnchor=Rs.isCenterAnchor;fe.isRightAnchor=Rs.isRightAnchor;fe.isTopAnchor=Rs.isTopAnchor;fe.isMiddleAnchor=Rs.isMiddleAnchor;fe.isBottomAnchor=Rs.isBottomAnchor;var zs=q4();fe.segmentsIntersect=zs.segmentsIntersect;fe.segmentDistance=zs.segmentDistance;fe.getTextLocation=zs.getTextLocation;fe.clearLocationCache=zs.clearLocationCache;fe.getVisibleSegment=zs.getVisibleSegment;fe.findPointOnPath=zs.findPointOnPath;var $v=Wt();fe.extendFlat=$v.extendFlat;fe.extendDeep=$v.extendDeep;fe.extendDeepAll=$v.extendDeepAll;fe.extendDeepNoArrays=$v.extendDeepNoArrays;var qp=fo();fe.log=qp.log;fe.warn=qp.warn;fe.error=qp.error;var dB=Ms();fe.counterRegex=dB.counter;var Dp=Zv();fe.throttle=Dp.throttle;fe.throttleDone=Dp.done;fe.clearThrottle=Dp.clear;var Qn=af();fe.getGraphDiv=Qn.getGraphDiv;fe.isPlotDiv=Qn.isPlotDiv;fe.removeElement=Qn.removeElement;fe.addStyleRule=Qn.addStyleRule;fe.addRelatedStyleRule=Qn.addRelatedStyleRule;fe.deleteRelatedStyleRule=Qn.deleteRelatedStyleRule;fe.setStyleOnHover=Qn.setStyleOnHover;fe.getFullTransformMatrix=Qn.getFullTransformMatrix;fe.getElementTransformMatrix=Qn.getElementTransformMatrix;fe.getElementAndAncestors=Qn.getElementAndAncestors;fe.equalDomRects=Qn.equalDomRects;fe.clearResponsive=P4();fe.preserveDrawingBuffer=N4();fe.makeTraceGroups=I4();fe._=O4();fe.notifier=up();fe.filterUnique=Y4();fe.filterVisible=V4();fe.pushUnique=vp();fe.increment=W4();fe.cleanNumber=Z4();fe.ensureNumber=function(r){return e6(r)?(r=Number(r),r>t6||r<hB?J4:r):J4};fe.isIndex=function(e,r){return r!==void 0&#038;&#038;e>=r?!1:e6(e)&&e>=0&&e%1===0};fe.noop=zv();fe.identity=xp();fe.repeat=function(e,r){for(var t=new Array(r),a=0;a<r;a++)t[a]=e;return t};fe.swapAttrs=function(e,r,t,a){t||(t=\"x\"),a||(a=\"y\");for(var n=0;n<r.length;n++){var i=r[n],l=fe.nestedProperty(e,i.replace(\"?\",t)),o=fe.nestedProperty(e,i.replace(\"?\",a)),s=l.get();l.set(o.get()),o.set(s)}};fe.raiseToTop=function(r){r.parentNode.appendChild(r)};fe.cancelTransition=function(e){return e.transition().duration(0)};fe.constrain=function(e,r,t){return r>t?Math.max(t,Math.min(r,e)):Math.max(r,Math.min(t,e))};fe.bBoxIntersect=function(e,r,t){return t=t||0,e.left<=r.right+t&#038;&#038;r.left<=e.right+t&#038;&#038;e.top<=r.bottom+t&#038;&#038;r.top<=e.bottom+t};fe.simpleMap=function(e,r,t,a,n){for(var i=e.length,l=new Array(i),o=0;o<i;o++)l[o]=r(e[o],t,a,n);return l};fe.randstr=function e(r,t,a,n){if(a||(a=16),t===void 0&#038;&#038;(t=24),t<=0)return\"0\";var i=Math.log(Math.pow(2,t))\/Math.log(a),l=\"\",o,s,u;for(o=2;i===1\/0;o*=2)i=Math.log(Math.pow(2,t\/o))\/Math.log(a)*o;var f=i-Math.floor(i);for(o=0;o<Math.floor(i);o++)u=Math.floor(Math.random()*a).toString(a),l=u+l;f&#038;&#038;(s=Math.pow(a,f),u=Math.floor(Math.random()*s).toString(a),l=u+l);var v=parseInt(l,a);return r&#038;&#038;r[l]||v!==1\/0&#038;&#038;v>=Math.pow(2,t)?n>10?(fe.warn(\"randstr failed uniqueness\"),l):e(r,t,a,(n||0)+1):l};fe.OptionControl=function(e,r){e||(e={}),r||(r=\"opt\");var t={};return t.optionList=[],t._newoption=function(a){a[r]=e,t[a.name]=a,t.optionList.push(a)},t[\"_\"+r]=e,t};fe.smooth=function(e,r){if(r=Math.round(r)||0,r<2)return e;var t=e.length,a=2*t,n=2*r-1,i=new Array(n),l=new Array(t),o,s,u,f;for(o=0;o<n;o++)i[o]=(1-Math.cos(Math.PI*(o+1)\/r))\/(2*r);for(o=0;o<t;o++){for(f=0,s=0;s<n;s++)u=o+s+1-r,u<-t?u-=a*Math.round(u\/a):u>=a&&(u-=a*Math.floor(u\/a)),u<0?u=-1-u:u>=t&&(u=a-1-u),f+=e[u]*i[s];l[o]=f}return l};fe.syncOrAsync=function(e,r,t){var a,n;function i(){return fe.syncOrAsync(e,r,t)}for(;e.length;)if(n=e.splice(0,1)[0],a=n(r),a&&a.then)return a.then(i);return t&&t(r)};fe.stripTrailingSlash=function(e){return e.slice(-1)===\"\/\"?e.slice(0,-1):e};fe.noneOrAll=function(e,r,t){if(e){var a=!1,n=!0,i,l;for(i=0;i<t.length;i++)l=e[t[i]],l!=null?a=!0:n=!1;if(a&#038;&#038;!n)for(i=0;i<t.length;i++)e[t[i]]=r[t[i]]}};fe.mergeArray=function(e,r,t,a){var n=typeof a==\"function\";if(fe.isArrayOrTypedArray(e))for(var i=Math.min(e.length,r.length),l=0;l<i;l++){var o=e[l];r[l][t]=n?a(o):o}};fe.mergeArrayCastPositive=function(e,r,t){return fe.mergeArray(e,r,t,function(a){var n=+a;return isFinite(n)&#038;&#038;n>0?n:0})};fe.fillArray=function(e,r,t,a){if(a=a||fe.identity,fe.isArrayOrTypedArray(e))for(var n=0;n<r.length;n++)r[n][t]=a(e[n])};fe.castOption=function(e,r,t,a){a=a||fe.identity;var n=fe.nestedProperty(e,t).get();return fe.isArrayOrTypedArray(n)?Array.isArray(r)&#038;&#038;fe.isArrayOrTypedArray(n[r[0]])?a(n[r[0]][r[1]]):a(n[r]):n};fe.extractOption=function(e,r,t,a){if(t in e)return e[t];var n=fe.nestedProperty(r,a).get();if(!Array.isArray(n))return n};function n6(e){var r={};for(var t in e)for(var a=e[t],n=0;n<a.length;n++)r[a[n]]=+t;return r}fe.tagSelected=function(e,r,t){var a=r.selectedpoints,n=r._indexToPoints,i;n&#038;&#038;(i=n6(n));function l(v){return v!==void 0&#038;&#038;v<e.length}for(var o=0;o<a.length;o++){var s=a[o];if(fe.isIndex(s)||fe.isArrayOrTypedArray(s)&#038;&#038;fe.isIndex(s[0])&#038;&#038;fe.isIndex(s[1])){var u=i?i[s]:s,f=t?t[u]:u;l(f)&#038;&#038;(e[f].selected=1)}}};fe.selIndices2selPoints=function(e){var r=e.selectedpoints,t=e._indexToPoints;if(t){for(var a=n6(t),n=[],i=0;i<r.length;i++){var l=r[i];if(fe.isIndex(l)){var o=a[l];fe.isIndex(o)&#038;&#038;n.push(o)}}return n}else return r};fe.getTargetArray=function(e,r){var t=r.target;if(typeof t==\"string\"&#038;&#038;t){var a=fe.nestedProperty(e,t).get();return fe.isArrayOrTypedArray(a)?a:!1}else if(fe.isArrayOrTypedArray(t))return t;return!1};function i6(e,r,t){var a={};typeof r!=\"object\"&#038;&#038;(r={});var n=t===\"pieLike\"?-1:3,i=Object.keys(e),l,o,s;for(l=0;l<i.length;l++)o=i[l],s=e[o],!(o.charAt(0)===\"_\"||typeof s==\"function\")&#038;&#038;(o===\"module\"?a[o]=s:Array.isArray(s)?o===\"colorscale\"||n===-1?a[o]=s.slice():a[o]=s.slice(0,n):fe.isTypedArray(s)?n===-1?a[o]=s.subarray():a[o]=s.subarray(0,n):s&#038;&#038;typeof s==\"object\"?a[o]=i6(e[o],r[o],t):a[o]=s);for(i=Object.keys(r),l=0;l<i.length;l++)o=i[l],s=r[o],(typeof s!=\"object\"||!(o in a)||typeof a[o]!=\"object\")&#038;&#038;(a[o]=s);return a}fe.minExtend=i6;fe.titleCase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)};fe.containsAny=function(e,r){for(var t=0;t<r.length;t++)if(e.indexOf(r[t])!==-1)return!0;return!1};var pB=\/Version\\\/[\\d\\.]+.*Safari\/;fe.isSafari=function(){return pB.test(window.navigator.userAgent)};var mB=\/iPad|iPhone|iPod\/;fe.isIOS=function(){return mB.test(window.navigator.userAgent)};var yB=\/Macintosh.+AppleWebKit.+Gecko\\)$\/;fe.isMacWKWebView=()=>yB.test(window.navigator.userAgent);var gB=\/Firefox\\\/(\\d+)\\.\\d+\/;fe.getFirefoxVersion=function(){var e=gB.exec(window.navigator.userAgent);if(e&&e.length===2){var r=parseInt(e[1]);if(!isNaN(r))return r}return null};fe.isD3Selection=function(e){return e instanceof cf.selection};fe.ensureSingle=function(e,r,t,a){var n=e.select(r+(t?\".\"+t:\"\"));if(n.size())return n;var i=e.append(r);return t&&i.classed(t,!0),a&&i.call(a),i};fe.ensureSingleById=function(e,r,t,a){var n=e.select(r+\"#\"+t);if(n.size())return n;var i=e.append(r).attr(\"id\",t);return a&&i.call(a),i};fe.objectFromPath=function(e,r){for(var t=e.split(\".\"),a,n=a={},i=0;i<t.length;i++){var l=t[i],o=null,s=t[i].match(\/(.*)\\[([0-9]+)\\]\/);s?(l=s[1],o=s[2],a=a[l]=[],i===t.length-1?a[o]=r:a[o]={},a=a[o]):(i===t.length-1?a[l]=r:a[l]={},a=a[l])}return n};var bB=\/^([^\\[\\.]+)\\.(.+)?\/,xB=\/^([^\\.]+)\\[([0-9]+)\\](\\.)?(.+)?\/;function Kv(e){return e.slice(0,2)===\"__\"}fe.expandObjectPaths=function(e){var r,t,a,n,i,l,o;if(typeof e==\"object\"&#038;&#038;!Array.isArray(e)){for(t in e)if(e.hasOwnProperty(t))if(r=t.match(bB)){if(n=e[t],a=r[1],Kv(a))continue;delete e[t],e[a]=fe.extendDeepNoArrays(e[a]||{},fe.objectFromPath(t,fe.expandObjectPaths(n))[a])}else if(r=t.match(xB)){if(n=e[t],a=r[1],Kv(a))continue;if(i=parseInt(r[2]),delete e[t],e[a]=e[a]||[],r[3]===\".\")o=r[4],l=e[a][i]=e[a][i]||{},fe.extendDeepNoArrays(l,fe.objectFromPath(o,fe.expandObjectPaths(n)));else{if(Kv(a))continue;e[a][i]=fe.expandObjectPaths(n)}}else{if(Kv(t))continue;e[t]=fe.expandObjectPaths(e[t])}}return e};fe.numSeparate=function(e,r,t){if(t||(t=!1),typeof r!=\"string\"||r.length===0)throw new Error(\"Separator string required for formatting!\");typeof e==\"number\"&#038;&#038;(e=String(e));var a=\/(\\d+)(\\d{3})\/,n=r.charAt(0),i=r.charAt(1),l=e.split(\".\"),o=l[0],s=l.length>1?n+l[1]:\"\";if(i&&(l.length>1||o.length>4||t))for(;a.test(o);)o=o.replace(a,\"$1\"+i+\"$2\");return o+s};fe.TEMPLATE_STRING_REGEX=\/%{([^\\s%{}:]*)([:|\\|][^}]*)?}\/g;var l6=\/^\\w*$\/;fe.templateString=function(e,r){var t={};return e.replace(fe.TEMPLATE_STRING_REGEX,function(a,n){var i;return l6.test(n)?i=r[n]:(t[n]=t[n]||fe.nestedProperty(r,n).get,i=t[n](!0)),i!==void 0?i:\"\"})};var _B={max:10,count:0,name:\"hovertemplate\"};fe.hovertemplateString=e=>Ep(gv(io({},e),{opts:_B}));var wB={max:10,count:0,name:\"texttemplate\"};fe.texttemplateString=e=>Ep(gv(io({},e),{opts:wB}));var TB=\/^(\\S+)([\\*\\\/])(-?\\d+(\\.\\d+)?)$\/;function MB(e){var r=e.match(TB);return r?{key:r[1],op:r[2],number:Number(r[3])}:{key:e,op:null,number:null}}var AB={max:10,count:0,name:\"texttemplate\",parseMultDiv:!0};fe.texttemplateStringForShapes=e=>Ep(gv(io({},e),{opts:AB}));var Q4=\/^[:|\\|]\/;function Ep({data:e=[],locale:r,fallback:t,labels:a={},opts:n,template:i}){return i.replace(fe.TEMPLATE_STRING_REGEX,(l,o,s)=>{let u=[\"xother\",\"yother\"].includes(o),f=[\"_xother\",\"_yother\"].includes(o),v=[\"_xother_\",\"_yother_\"].includes(o),h=[\"xother_\",\"yother_\"].includes(o),d=u||f||h||v;(f||v)&&(o=o.substring(1)),(h||v)&&(o=o.substring(0,o.length-1));let m=null,y=null;if(n.parseMultDiv){var g=MB(o);o=g.key,m=g.op,y=g.number}let _;if(d){if(a[o]===void 0)return\"\";_=a[o]}else for(let M of e)if(M){if(M.hasOwnProperty(o)){_=M[o];break}if(l6.test(o)||(_=fe.nestedProperty(M,o).get(!0)),_!==void 0)break}if(_===void 0){let{count:M,max:S,name:k}=n,q=t===!1?l:t;return M<S&#038;&#038;fe.warn([`Variable '${o}' in ${k} could not be found!`,\"Please verify that the template is correct.\",`Using value: '${q}'.`].join(\" \")),M===S&#038;&#038;fe.warn(`Too many '${k}' warnings - additional warnings will be suppressed.`),n.count++,q}if(m===\"*\"&#038;&#038;(_*=y),m===\"\/\"&#038;&#038;(_\/=y),s){var T;if(s[0]===\":\"&#038;&#038;(T=r?r.numberFormat:fe.numberFormat,_!==\"\"&#038;&#038;(_=T(s.replace(Q4,\"\"))(_))),s[0]===\"|\"){T=r?r.timeFormat:cB;var w=fe.dateTime2ms(_);_=fe.formatDate(w,s.replace(Q4,\"\"),!1,T)}}else{var b=o+\"Label\";a.hasOwnProperty(b)&#038;&#038;(_=a[b])}return d&#038;&#038;(_=\"(\"+_+\")\",(f||v)&#038;&#038;(_=\" \"+_),(h||v)&#038;&#038;(_=_+\" \")),_})}var Qv=48,$4=57;fe.subplotSort=function(e,r){for(var t=Math.min(e.length,r.length)+1,a=0,n=0,i=0;i<t;i++){var l=e.charCodeAt(i)||0,o=r.charCodeAt(i)||0,s=l>=Qv&&l<=$4,u=o>=Qv&&o<=$4;if(s&#038;&#038;(a=10*a+l-Qv),u&#038;&#038;(n=10*n+o-Qv),!s||!u){if(a!==n)return a-n;if(l!==o)return l-o}}return n-a};var Ps=2e9;fe.seedPseudoRandom=function(){Ps=2e9};fe.pseudoRandom=function(){var e=Ps;return Ps=(69069*Ps+1)%4294967296,Math.abs(Ps-e)<429496729?fe.pseudoRandom():Ps\/4294967296};fe.fillText=function(e,r,t){var a=Array.isArray(t)?function(l){t.push(l)}:function(l){t.text=l},n=fe.extractOption(e,r,\"htx\",\"hovertext\");if(fe.isValidTextValue(n))return a(n);var i=fe.extractOption(e,r,\"tx\",\"text\");if(fe.isValidTextValue(i))return a(i)};fe.isValidTextValue=function(e){return e||e===0};fe.formatPercent=function(e,r){r=r||0;for(var t=(Math.round(100*e*Math.pow(10,r))*Math.pow(.1,r)).toFixed(r)+\"%\",a=0;a<r;a++)t.indexOf(\".\")!==-1&#038;&#038;(t=t.replace(\"0%\",\"%\"),t=t.replace(\".%\",\"%\"));return t};fe.isHidden=function(e){var r=window.getComputedStyle(e).display;return!r||r===\"none\"};fe.strTranslate=function(e,r){return e||r?\"translate(\"+e+\",\"+r+\")\":\"\"};fe.strRotate=function(e){return e?\"rotate(\"+e+\")\":\"\"};fe.strScale=function(e){return e!==1?\"scale(\"+e+\")\":\"\"};fe.getTextTransform=function(e){var r=e.noCenter,t=e.textX,a=e.textY,n=e.targetX,i=e.targetY,l=e.anchorX||0,o=e.anchorY||0,s=e.rotate,u=e.scale;return u?u>1&&(u=1):u=0,fe.strTranslate(n-u*(t+l),i-u*(a+o))+fe.strScale(u)+(s?\"rotate(\"+s+(r?\"\":\" \"+t+\" \"+a)+\")\":\"\")};fe.setTransormAndDisplay=function(e,r){e.attr(\"transform\",fe.getTextTransform(r)),e.style(\"display\",r.scale?null:\"none\")};fe.ensureUniformFontSize=function(e,r){var t=fe.extendFlat({},r);return t.size=Math.max(r.size,e._fullLayout.uniformtext.minsize||0),t};fe.join2=function(e,r,t){var a=e.length;return a>1?e.slice(0,-1).join(r)+t+e[a-1]:e.join(r)};fe.bigFont=function(e){return Math.round(1.2*e)};var j4=fe.getFirefoxVersion(),kB=j4!==null&&j4<86;fe.getPositionFromD3Event=function(){return kB?[cf.event.layerX,cf.event.layerY]:[cf.event.offsetX,cf.event.offsetY]}});var f6=K(()=>{\"use strict\";var CB=Fe(),s6={\"X,X div\":'direction:ltr;font-family:\"Open Sans\",verdana,arial,sans-serif;margin:0;padding:0;border:0;',\"X input,X button\":'font-family:\"Open Sans\",verdana,arial,sans-serif;',\"X input:focus,X button:focus\":\"outline:none;\",\"X a\":\"text-decoration:none;\",\"X a:hover\":\"text-decoration:none;\",\"X .crisp\":\"shape-rendering:crispEdges;\",\"X .user-select-none\":\"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;\",\"X svg a\":\"fill:#447adb;\",\"X svg a:hover\":\"fill:#3c6dc5;\",\"X .main-svg\":\"position:absolute;top:0;left:0;pointer-events:none;\",\"X .main-svg .draglayer\":\"pointer-events:all;\",\"X .cursor-default\":\"cursor:default;\",\"X .cursor-pointer\":\"cursor:pointer;\",\"X .cursor-crosshair\":\"cursor:crosshair;\",\"X .cursor-move\":\"cursor:move;\",\"X .cursor-col-resize\":\"cursor:col-resize;\",\"X .cursor-row-resize\":\"cursor:row-resize;\",\"X .cursor-ns-resize\":\"cursor:ns-resize;\",\"X .cursor-ew-resize\":\"cursor:ew-resize;\",\"X .cursor-sw-resize\":\"cursor:sw-resize;\",\"X .cursor-s-resize\":\"cursor:s-resize;\",\"X .cursor-se-resize\":\"cursor:se-resize;\",\"X .cursor-w-resize\":\"cursor:w-resize;\",\"X .cursor-e-resize\":\"cursor:e-resize;\",\"X .cursor-nw-resize\":\"cursor:nw-resize;\",\"X .cursor-n-resize\":\"cursor:n-resize;\",\"X .cursor-ne-resize\":\"cursor:ne-resize;\",\"X .cursor-grab\":\"cursor:-webkit-grab;cursor:grab;\",\"X .modebar\":\"position:absolute;top:2px;right:2px;\",\"X .ease-bg\":\"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;\",\"X .modebar--hover>:not(.watermark)\":\"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;\",\"X:hover .modebar--hover .modebar-group\":\"opacity:1;\",\"X:focus-within .modebar--hover .modebar-group\":\"opacity:1;\",\"X .modebar-group\":\"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;\",\"X .modebar-group a\":\"display:grid;place-content:center;\",\"X .modebar-btn\":\"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;border:none;background:rgba(0,0,0,0);\",\"X .modebar-btn svg\":\"position:relative;\",\"X .modebar-btn:focus-visible\":\"outline:1px solid #000;outline-offset:1px;border-radius:3px;\",\"X .modebar.vertical\":\"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;\",\"X .modebar.vertical svg\":\"top:-1px;\",\"X .modebar.vertical .modebar-group\":\"display:block;float:none;padding-left:0px;padding-bottom:8px;\",\"X .modebar.vertical .modebar-group .modebar-btn\":\"display:block;text-align:center;\",\"X [data-title]:before,X [data-title]:after\":\"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;\",\"X [data-title]:hover:before,X [data-title]:hover:after\":\"display:block;opacity:1;\",\"X [data-title]:before\":'content:\"\";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',\"X [data-title]:after\":\"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;\",\"X .vertical [data-title]:before,X .vertical [data-title]:after\":\"top:0%;right:200%;\",\"X .vertical [data-title]:before\":\"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;\",\"X .plotly-cloud-dialog\":'font-family:\"Open Sans\",verdana,arial,sans-serif;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1001;display:flex;align-items:center;justify-content:center;background-color:rgba(0,0,0,.4);',\"X .plotly-cloud-dialog .plotly-cloud-dialog-box\":\"box-sizing:border-box;min-width:300px;max-width:420px;padding:20px 24px;background-color:#fff;border:1px solid #e0e2e5;border-radius:4px;box-shadow:0 4px 16px rgba(0,0,0,.25);font-size:13px;color:#2a3f5f;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-title\":\"font-size:16px;font-weight:bold;margin-bottom:12px;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-message\":\"line-height:1.5;overflow-wrap:break-word;word-wrap:break-word;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-buttons\":\"display:flex;justify-content:flex-end;margin-top:20px;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-btn\":\"font-family:inherit;font-size:13px;padding:7px 16px;margin-left:8px;border-radius:3px;border:1px solid rgba(0,0,0,0);cursor:pointer;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-btn:focus-visible\":\"outline:2px solid #447adb;outline-offset:1px;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--cancel\":\"background-color:#fff;border-color:#e0e2e5;color:#777;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--cancel:hover\":\"background-color:#f3f3f3;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--confirm\":\"background-color:#447adb;color:#fff;\",\"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--confirm:hover\":\"background-color:#1d3b84;\",Y:'font-family:\"Open Sans\",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',\"Y p\":\"margin:0;\",\"Y .notifier-note\":\"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;\",\"Y .notifier-close\":\"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;\",\"Y .notifier-close:hover\":\"color:#444;text-decoration:none;cursor:pointer;\"};for(Pp in s6)u6=Pp.replace(\/^,\/,\" ,\").replace(\/X\/g,\".js-plotly-plot .plotly\").replace(\/Y\/g,\".plotly-notifier\"),CB.addStyleRule(u6,s6[Pp]);var u6,Pp});var Rp=K((Doe,c6)=>{c6.exports=!0});var Np=K((Eoe,v6)=>{\"use strict\";var SB=Rp(),zp;typeof window.matchMedia==\"function\"?zp=!window.matchMedia(\"(hover: none)\").matches:zp=SB;v6.exports=zp});var r0=K((Poe,Fp)=>{\"use strict\";var Ns=typeof Reflect==\"object\"?Reflect:null,h6=Ns&&typeof Ns.apply==\"function\"?Ns.apply:function(r,t,a){return Function.prototype.apply.call(r,t,a)},jv;Ns&&typeof Ns.ownKeys==\"function\"?jv=Ns.ownKeys:Object.getOwnPropertySymbols?jv=function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:jv=function(r){return Object.getOwnPropertyNames(r)};function LB(e){console&&console.warn&&console.warn(e)}var p6=Number.isNaN||function(r){return r!==r};function ht(){ht.init.call(this)}Fp.exports=ht;Fp.exports.once=PB;ht.EventEmitter=ht;ht.prototype._events=void 0;ht.prototype._eventsCount=0;ht.prototype._maxListeners=void 0;var d6=10;function e0(e){if(typeof e!=\"function\")throw new TypeError('The \"listener\" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(ht,\"defaultMaxListeners\",{enumerable:!0,get:function(){return d6},set:function(e){if(typeof e!=\"number\"||e<0||p6(e))throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received '+e+\".\");d6=e}});ht.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&#038;&#038;(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};ht.prototype.setMaxListeners=function(r){if(typeof r!=\"number\"||r<0||p6(r))throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received '+r+\".\");return this._maxListeners=r,this};function m6(e){return e._maxListeners===void 0?ht.defaultMaxListeners:e._maxListeners}ht.prototype.getMaxListeners=function(){return m6(this)};ht.prototype.emit=function(r){for(var t=[],a=1;a<arguments.length;a++)t.push(arguments[a]);var n=r===\"error\",i=this._events;if(i!==void 0)n=n&#038;&#038;i.error===void 0;else if(!n)return!1;if(n){var l;if(t.length>0&&(l=t[0]),l instanceof Error)throw l;var o=new Error(\"Unhandled error.\"+(l?\" (\"+l.message+\")\":\"\"));throw o.context=l,o}var s=i[r];if(s===void 0)return!1;if(typeof s==\"function\")h6(s,this,t);else for(var u=s.length,f=_6(s,u),a=0;a<u;++a)h6(f[a],this,t);return!0};function y6(e,r,t,a){var n,i,l;if(e0(t),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&#038;&#038;(e.emit(\"newListener\",r,t.listener?t.listener:t),i=e._events),l=i[r]),l===void 0)l=i[r]=t,++e._eventsCount;else if(typeof l==\"function\"?l=i[r]=a?[t,l]:[l,t]:a?l.unshift(t):l.push(t),n=m6(e),n>0&&l.length>n&&!l.warned){l.warned=!0;var o=new Error(\"Possible EventEmitter memory leak detected. \"+l.length+\" \"+String(r)+\" listeners added. Use emitter.setMaxListeners() to increase limit\");o.name=\"MaxListenersExceededWarning\",o.emitter=e,o.type=r,o.count=l.length,LB(o)}return e}ht.prototype.addListener=function(r,t){return y6(this,r,t,!1)};ht.prototype.on=ht.prototype.addListener;ht.prototype.prependListener=function(r,t){return y6(this,r,t,!0)};function qB(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g6(e,r,t){var a={fired:!1,wrapFn:void 0,target:e,type:r,listener:t},n=qB.bind(a);return n.listener=t,a.wrapFn=n,n}ht.prototype.once=function(r,t){return e0(t),this.on(r,g6(this,r,t)),this};ht.prototype.prependOnceListener=function(r,t){return e0(t),this.prependListener(r,g6(this,r,t)),this};ht.prototype.removeListener=function(r,t){var a,n,i,l,o;if(e0(t),n=this._events,n===void 0)return this;if(a=n[r],a===void 0)return this;if(a===t||a.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete n[r],n.removeListener&&this.emit(\"removeListener\",r,a.listener||t));else if(typeof a!=\"function\"){for(i=-1,l=a.length-1;l>=0;l--)if(a[l]===t||a[l].listener===t){o=a[l].listener,i=l;break}if(i<0)return this;i===0?a.shift():DB(a,i),a.length===1&#038;&#038;(n[r]=a[0]),n.removeListener!==void 0&#038;&#038;this.emit(\"removeListener\",r,o||t)}return this};ht.prototype.off=ht.prototype.removeListener;ht.prototype.removeAllListeners=function(r){var t,a,n;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[r]!==void 0&#038;&#038;(--this._eventsCount===0?this._events=Object.create(null):delete a[r]),this;if(arguments.length===0){var i=Object.keys(a),l;for(n=0;n<i.length;++n)l=i[n],l!==\"removeListener\"&#038;&#038;this.removeAllListeners(l);return this.removeAllListeners(\"removeListener\"),this._events=Object.create(null),this._eventsCount=0,this}if(t=a[r],typeof t==\"function\")this.removeListener(r,t);else if(t!==void 0)for(n=t.length-1;n>=0;n--)this.removeListener(r,t[n]);return this};function b6(e,r,t){var a=e._events;if(a===void 0)return[];var n=a[r];return n===void 0?[]:typeof n==\"function\"?t?[n.listener||n]:[n]:t?EB(n):_6(n,n.length)}ht.prototype.listeners=function(r){return b6(this,r,!0)};ht.prototype.rawListeners=function(r){return b6(this,r,!1)};ht.listenerCount=function(e,r){return typeof e.listenerCount==\"function\"?e.listenerCount(r):x6.call(e,r)};ht.prototype.listenerCount=x6;function x6(e){var r=this._events;if(r!==void 0){var t=r[e];if(typeof t==\"function\")return 1;if(t!==void 0)return t.length}return 0}ht.prototype.eventNames=function(){return this._eventsCount>0?jv(this._events):[]};function _6(e,r){for(var t=new Array(r),a=0;a<r;++a)t[a]=e[a];return t}function DB(e,r){for(;r+1<e.length;r++)e[r]=e[r+1];e.pop()}function EB(e){for(var r=new Array(e.length),t=0;t<r.length;++t)r[t]=e[t].listener||e[t];return r}function PB(e,r){return new Promise(function(t,a){function n(l){e.removeListener(r,i),a(l)}function i(){typeof e.removeListener==\"function\"&#038;&#038;e.removeListener(\"error\",n),t([].slice.call(arguments))}w6(e,r,i,{once:!0}),r!==\"error\"&#038;&#038;RB(e,n,{once:!0})})}function RB(e,r,t){typeof e.on==\"function\"&#038;&#038;w6(e,\"error\",r,t)}function w6(e,r,t,a){if(typeof e.on==\"function\")a.once?e.once(r,t):e.on(r,t);else if(typeof e.addEventListener==\"function\")e.addEventListener(r,function n(i){a.once&#038;&#038;e.removeEventListener(r,n),t(i)});else throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type '+typeof e)}});var vf=K((Roe,T6)=>{\"use strict\";var Ip=r0().EventEmitter,zB={init:function(e){if(e._ev instanceof Ip)return e;var r=new Ip,t=new Ip;return e._ev=r,e._internalEv=t,e.on=r.on.bind(r),e.once=r.once.bind(r),e.removeListener=r.removeListener.bind(r),e.removeAllListeners=r.removeAllListeners.bind(r),e._internalOn=t.on.bind(t),e._internalOnce=t.once.bind(t),e._removeInternalListener=t.removeListener.bind(t),e._removeAllInternalListeners=t.removeAllListeners.bind(t),e.emit=function(a,n){r.emit(a,n),t.emit(a,n)},typeof e.addEventListener==\"function\"&&e.addEventListener(\"wheel\",()=>{},{passive:!0}),e},triggerHandler:function(e,r,t){var a,n=e._ev;if(!n)return;var i=n._events[r];if(!i)return;function l(s){if(s.listener){if(n.removeListener(r,s.listener),!s.fired)return s.fired=!0,s.listener.apply(n,[t])}else return s.apply(n,[t])}i=Array.isArray(i)?i:[i];var o;for(o=0;o<i.length-1;o++)l(i[o]);return a=l(i[o]),a},purge:function(e){return delete e._ev,delete e.on,delete e.once,delete e.removeListener,delete e.removeAllListeners,delete e.emit,delete e._ev,delete e._internalEv,delete e._internalOn,delete e._internalOnce,delete e._removeInternalListener,delete e._removeAllInternalListeners,e}};T6.exports=zB});var k6=K((zoe,A6)=>{\"use strict\";var M6=Fe(),NB=uo().dfltConfig;function FB(e,r){for(var t=[],a,n=0;n<r.length;n++)a=r[n],a===e?t[n]=a:typeof a==\"object\"?t[n]=Array.isArray(a)?M6.extendDeep([],a):M6.extendDeepAll({},a):t[n]=a;return t}var Zi={};Zi.add=function(e,r,t,a,n){var i,l;if(e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},l=e.undoQueue.index,e.autoplay){e.undoQueue.inSequence||(e.autoplay=!1);return}!e.undoQueue.sequence||e.undoQueue.beginSequence?(i={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(l,e.undoQueue.queue.length-l,i),e.undoQueue.index+=1):i=e.undoQueue.queue[l-1],e.undoQueue.beginSequence=!1,i&#038;&#038;(i.undo.calls.unshift(r),i.undo.args.unshift(t),i.redo.calls.push(a),i.redo.args.push(n)),e.undoQueue.queue.length>NB.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--)};Zi.startSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0};Zi.stopSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1};Zi.undo=function(r){var t,a;if(!(r.undoQueue===void 0||isNaN(r.undoQueue.index)||r.undoQueue.index<=0)){for(r.undoQueue.index--,t=r.undoQueue.queue[r.undoQueue.index],r.undoQueue.inSequence=!0,a=0;a<t.undo.calls.length;a++)Zi.plotDo(r,t.undo.calls[a],t.undo.args[a]);r.undoQueue.inSequence=!1,r.autoplay=!1}};Zi.redo=function(r){var t,a;if(!(r.undoQueue===void 0||isNaN(r.undoQueue.index)||r.undoQueue.index>=r.undoQueue.queue.length)){for(t=r.undoQueue.queue[r.undoQueue.index],r.undoQueue.inSequence=!0,a=0;a<t.redo.calls.length;a++)Zi.plotDo(r,t.redo.calls[a],t.redo.args[a]);r.undoQueue.inSequence=!1,r.autoplay=!1,r.undoQueue.index++}};Zi.plotDo=function(e,r,t){e.autoplay=!0,t=FB(e,t),r.apply(null,t)};A6.exports=Zi});var Hp=K((Noe,C6)=>{\"use strict\";C6.exports={_isLinkedToArray:\"frames_entry\",group:{valType:\"string\"},name:{valType:\"string\"},traces:{valType:\"any\"},baseframe:{valType:\"string\"},data:{valType:\"any\"},layout:{valType:\"any\"}}});var Hs=K(Xt=>{\"use strict\";var Mn=br(),hf=Fe(),a0=Zn(),Op=Ss(),IB=Hp(),HB=nf(),OB=uo().configAttributes,S6=bi(),$n=hf.extendDeepAll,Fs=hf.isPlainObject,BB=hf.isArrayOrTypedArray,n0=hf.nestedProperty,YB=hf.valObjectMeta,Bp=\"_isSubplotObj\",i0=\"_isLinkedToArray\",UB=\"_arrayAttrRegexps\",q6=\"_deprecated\",Yp=[Bp,i0,UB,q6];Xt.IS_SUBPLOT_OBJ=Bp;Xt.IS_LINKED_TO_ARRAY=i0;Xt.DEPRECATED=q6;Xt.UNDERSCORE_ATTRS=Yp;Xt.get=function(){var e={};return Mn.allTypes.forEach(function(r){e[r]=GB(r)}),{defs:{valObjects:YB,metaKeys:Yp.concat([\"description\",\"role\",\"editType\",\"impliedEdits\"]),editType:{traces:S6.traces,layout:S6.layout},impliedEdits:{}},traces:e,layout:WB(),frames:XB(),animation:Is(HB),config:Is(OB)}};Xt.crawl=function(e,r,t,a){var n=t||0;a=a||\"\",Object.keys(e).forEach(function(i){var l=e[i];if(Yp.indexOf(i)===-1){var o=(a?a+\".\":\"\")+i;r(l,i,e,n,o),!Xt.isValObject(l)&&Fs(l)&&i!==\"impliedEdits\"&&Xt.crawl(l,r,n+1,o)}})};Xt.isValObject=function(e){return e&&e.valType!==void 0};Xt.findArrayAttributes=function(e){var r=[],t=[],a=[],n,i;function l(s,u,f,v){t=t.slice(0,v).concat([u]),a=a.slice(0,v).concat([s&&s._isLinkedToArray]);var h=s&&(s.valType===\"data_array\"||s.arrayOk===!0)&&!(t[v-1]===\"colorbar\"&&(u===\"ticktext\"||u===\"tickvals\"));h&&o(n,0,\"\")}function o(s,u,f){var v=s[t[u]],h=f+t[u];if(u===t.length-1)BB(v)&&r.push(i+h);else if(a[u]){if(Array.isArray(v))for(var d=0;d<v.length;d++)Fs(v[d])&#038;&#038;o(v[d],u+1,h+\"[\"+d+\"].\")}else Fs(v)&#038;&#038;o(v,u+1,h+\".\")}return n=e,i=\"\",Xt.crawl(a0,l),e._module&#038;&#038;e._module.attributes&#038;&#038;Xt.crawl(e._module.attributes,l),r};Xt.getTraceValObject=function(e,r){var t=r[0],a=1,n,i,l=e._module;if(l||(l=(Mn.modules[e.type||a0.type.dflt]||{})._module),!l)return!1;if(n=l.attributes,i=n&#038;&#038;n[t],!i){var o=l.basePlotModule;o&#038;&#038;o.attributes&#038;&#038;(i=o.attributes[t])}return i||(i=a0[t]),D6(i,r,a)};Xt.getLayoutValObject=function(e,r){var t=VB(e,r[0]);return D6(t,r,1)};function VB(e,r){var t,a,n,i,l=e._basePlotModules;if(l){var o;for(t=0;t<l.length;t++){if(n=l[t],n.attrRegex&#038;&#038;n.attrRegex.test(r)){if(n.layoutAttrOverrides)return n.layoutAttrOverrides;!o&#038;&#038;n.layoutAttributes&#038;&#038;(o=n.layoutAttributes)}var s=n.baseLayoutAttrOverrides;if(s&#038;&#038;r in s)return s[r]}if(o)return o}var u=e._modules;if(u){for(t=0;t<u.length;t++)if(i=u[t].layoutAttributes,i&#038;&#038;r in i)return i[r]}for(a in Mn.componentsRegistry){if(n=Mn.componentsRegistry[a],n.name===\"colorscale\"&#038;&#038;r.indexOf(\"coloraxis\")===0)return n.layoutAttributes[r];if(!n.schema&#038;&#038;r===n.name)return n.layoutAttributes}return r in Op?Op[r]:!1}function D6(e,r,t){if(!e)return!1;if(e._isLinkedToArray){if(t0(r[t]))t++;else if(t<r.length)return!1}for(;t<r.length;t++){var a=e[r[t]];if(Fs(a))e=a;else break;if(t===r.length-1)break;if(e._isLinkedToArray){if(t++,!t0(r[t]))return!1}else if(e.valType===\"info_array\"){t++;var n=r[t];if(!t0(n))return!1;var i=e.items;if(Array.isArray(i)){if(n>=i.length)return!1;if(e.dimensions===2){if(t++,r.length===t)return e;var l=r[t];if(!t0(l))return!1;e=i[n][l]}else e=i[n]}else e=i}}return e}function t0(e){return e===Math.round(e)&&e>=0}function GB(e){var r,t;r=Mn.modules[e]._module,t=r.basePlotModule;var a={};a.type=null;var n=$n({},a0),i=$n({},r.attributes);Xt.crawl(i,function(s,u,f,v,h){n0(n,h).set(void 0),s===void 0&&n0(i,h).set(void 0)}),$n(a,n),Mn.traceIs(e,\"noOpacity\")&&delete a.opacity,Mn.traceIs(e,\"showLegend\")||(delete a.showlegend,delete a.legendgroup),Mn.traceIs(e,\"noHover\")&&(delete a.hoverinfo,delete a.hoverlabel),r.selectPoints||delete a.selectedpoints,$n(a,i),t.attributes&&$n(a,t.attributes),a.type=e;var l={meta:r.meta||{},categories:r.categories||{},animatable:!!r.animatable,type:e,attributes:Is(a)};if(r.layoutAttributes){var o={};$n(o,r.layoutAttributes),l.layoutAttributes=Is(o)}return r.animatable||Xt.crawl(l,function(s){Xt.isValObject(s)&&\"anim\"in s&&delete s.anim}),l}function WB(){var e={},r,t;$n(e,Op);for(r in Mn.subplotsRegistry)if(t=Mn.subplotsRegistry[r],!!t.layoutAttributes)if(Array.isArray(t.attr))for(var a=0;a<t.attr.length;a++)L6(e,t,t.attr[a]);else{var n=t.attr===\"subplot\"?t.name:t.attr;L6(e,t,n)}for(r in Mn.componentsRegistry){t=Mn.componentsRegistry[r];var i=t.schema;if(i&#038;&#038;(i.subplots||i.layout)){var l=i.subplots;if(l&#038;&#038;l.xaxis&#038;&#038;!l.yaxis)for(var o in l.xaxis)delete e.yaxis[o];delete e.xaxis.shift,delete e.xaxis.autoshift}else t.name===\"colorscale\"?$n(e,t.layoutAttributes):t.layoutAttributes&#038;&#038;QB(e,t.layoutAttributes,t.name)}return{layoutAttributes:Is(e)}}function XB(){var e={frames:$n({},IB)};return Is(e),e.frames}function Is(e){return ZB(e),JB(e),KB(e),e}function ZB(e){function r(a){return{valType:\"string\",editType:\"none\"}}function t(a,n,i){Xt.isValObject(a)?(a.arrayOk===!0||a.valType===\"data_array\")&#038;&#038;(i[n+\"src\"]=r(n)):Fs(a)&#038;&#038;(a.role=\"object\")}Xt.crawl(e,t)}function JB(e){function r(t,a,n){if(t){var i=t[i0];i&#038;&#038;(delete t[i0],n[a]={items:{}},n[a].items[i]=t,n[a].role=\"object\")}}Xt.crawl(e,r)}function KB(e){function r(t){for(var a in t)if(Fs(t[a]))r(t[a]);else if(Array.isArray(t[a]))for(var n=0;n<t[a].length;n++)r(t[a][n]);else t[a]instanceof RegExp&#038;&#038;(t[a]=t[a].toString())}r(e)}function L6(e,r,t){var a=n0(e,t),n=$n({},r.layoutAttributes);n[Bp]=!0,a.set(n)}function QB(e,r,t){var a=n0(e,t);a.set($n(a.get()||{},r))}});var ct=K(yo=>{\"use strict\";var Os=Fe(),$B=Zn(),_l=\"templateitemname\",Up={name:{valType:\"string\",editType:\"none\"}};Up[_l]={valType:\"string\",editType:\"calc\"};yo.templatedArray=function(e,r){return r._isLinkedToArray=e,r.name=Up.name,r[_l]=Up[_l],r};yo.traceTemplater=function(e){var r={},t,a;for(t in e)a=e[t],Array.isArray(a)&&a.length&&(r[t]=0);function n(i){t=Os.coerce(i,{},$B,\"type\");var l={type:t,_template:null};if(t in r){a=e[t];var o=r[t]%a.length;r[t]++,l._template=a[o]}return l}return{newTrace:n}};yo.newContainer=function(e,r,t){var a=e._template,n=a&&(a[r]||t&&a[t]);Os.isPlainObject(n)||(n=null);var i=e[r]={_template:n};return i};yo.arrayTemplater=function(e,r,t){var a=e._template,n=a&&a[P6(r)],i=a&&a[r];(!Array.isArray(i)||!i.length)&&(i=[]);var l={};function o(u){var f={name:u.name,_input:u},v=f[_l]=u[_l];if(!E6(v))return f._template=n,f;for(var h=0;h<i.length;h++){var d=i[h];if(d.name===v)return l[v]=1,f._template=d,f}return f[t]=u[t]||!1,f._template=!1,f}function s(){for(var u=[],f=0;f<i.length;f++){var v=i[f],h=v.name;if(E6(h)&#038;&#038;!l[h]){var d={_template:v,name:h,_input:{_templateitemname:h}};d[_l]=v[_l],u.push(d),l[h]=1}}return u}return{newItem:o,defaultItems:s}};function E6(e){return e&#038;&#038;typeof e==\"string\"}function P6(e){var r=e.length-1;return e.charAt(r)!==\"s\"&#038;&#038;Os.warn(\"bad argument to arrayDefaultKey: \"+e),e.slice(0,-1)+\"defaults\"}yo.arrayDefaultKey=P6;yo.arrayEditor=function(e,r,t){var a=(Os.nestedProperty(e,r).get()||[]).length,n=t._index,i=n>=a&&(t._input||{})._templateitemname;i&&(n=a);var l=r+\"[\"+n+\"]\",o;function s(){o={},i&&(o[l]={},o[l][_l]=i)}s();function u(d,m){o[d]=m}function f(d,m){i?Os.nestedProperty(o[l],d).set(m):o[l+\".\"+d]=m}function v(){var d=o;return s(),d}function h(d,m){d&&f(d,m);var y=v();for(var g in y)Os.nestedProperty(e,g).set(y[g])}return{modifyBase:u,modifyItem:f,getUpdateObj:v,applyUpdate:h}}});var $t=K((Hoe,R6)=>{\"use strict\";var df=Ms().counter;R6.exports={idRegex:{x:df(\"x\",\"( domain)?\"),y:df(\"y\",\"( domain)?\")},attrRegex:df(\"[xy]axis\"),xAxisMatch:df(\"xaxis\"),yAxisMatch:df(\"yaxis\"),AX_ID_PATTERN:\/^[xyz][0-9]*( domain)?$\/,AX_NAME_PATTERN:\/^[xyz]axis[0-9]*$\/,SUBPLOT_PATTERN:\/^x([0-9]*)y([0-9]*)$\/,HOUR_PATTERN:\"hour\",WEEKDAY_PATTERN:\"day of week\",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:[\"imagelayer\",\"heatmaplayer\",\"contourcarpetlayer\",\"contourlayer\",\"funnellayer\",\"waterfalllayer\",\"barlayer\",\"carpetlayer\",\"violinlayer\",\"boxlayer\",\"ohlclayer\",\"scattercarpetlayer\",\"scatterlayer\"],clipOnAxisFalseQuery:[\".scatterlayer\",\".barlayer\",\".funnellayer\",\".waterfalllayer\"],layerValue2layerClass:{\"above traces\":\"above\",\"below traces\":\"below\"},zindexSeparator:\"z\"}});var Zt=K(en=>{\"use strict\";var jB=br(),Vp=$t();en.id2name=function(r){if(!(typeof r!=\"string\"||!r.match(Vp.AX_ID_PATTERN))){var t=r.split(\" \")[0].slice(1);return t===\"1\"&&(t=\"\"),r.charAt(0)+\"axis\"+t}};en.name2id=function(r){if(r.match(Vp.AX_NAME_PATTERN)){var t=r.slice(5);return t===\"1\"&&(t=\"\"),r.charAt(0)+t}};en.cleanId=function(r,t,a){var n=\/( domain)$\/.test(r);if(!(typeof r!=\"string\"||!r.match(Vp.AX_ID_PATTERN))&&!(t&&r.charAt(0)!==t)&&!(n&&!a)){var i=r.split(\" \")[0].slice(1).replace(\/^0+\/,\"\");return i===\"1\"&&(i=\"\"),r.charAt(0)+i+(n&&a?\" domain\":\"\")}};en.list=function(e,r,t){var a=e._fullLayout;if(!a)return[];var n=en.listIds(e,r),i=new Array(n.length),l;for(l=0;l<n.length;l++){var o=n[l];i[l]=a[o.charAt(0)+\"axis\"+o.slice(1)]}if(!t){var s=a._subplots.gl3d||[];for(l=0;l<s.length;l++){var u=a[s[l]];r?i.push(u[r+\"axis\"]):i.push(u.xaxis,u.yaxis,u.zaxis)}}return i};en.listIds=function(e,r){var t=e._fullLayout;if(!t)return[];var a=t._subplots;return r?a[r+\"axis\"]:a.xaxis.concat(a.yaxis)};en.getFromId=function(e,r,t){var a=e._fullLayout;return r=r===void 0||typeof r!=\"string\"?r:r.replace(\" domain\",\"\"),t===\"x\"?r=r.replace(\/y[0-9]*\/,\"\"):t===\"y\"&#038;&#038;(r=r.replace(\/x[0-9]*\/,\"\")),a[en.id2name(r)]};en.getFromTrace=function(e,r,t){var a=e._fullLayout,n=null;if(jB.traceIs(r,\"gl3d\")){var i=r.scene;i.slice(0,5)===\"scene\"&#038;&#038;(n=a[i][t+\"axis\"])}else n=en.getFromId(e,r[t+\"axis\"]||t);return n};en.idSort=function(e,r){var t=e.charAt(0),a=r.charAt(0);return t!==a?t>a?1:-1:+(e.slice(1)||1)-+(r.slice(1)||1)};en.ref2id=function(e){return\/^[xyz]\/.test(e)?e.split(\" \")[0]:!1};function z6(e,r){if(r&&r.length){for(var t=0;t<r.length;t++)if(r[t][e])return!0}return!1}en.isLinked=function(e,r){return z6(r,e._axisMatchGroups)||z6(r,e._axisConstraintGroups)}});var wl=K((Boe,N6)=>{\"use strict\";function eY(e){var r=e._fullLayout._zoomlayer;r&&r.selectAll(\".outline-controllers\").remove()}function rY(e){var r=e._fullLayout._zoomlayer;r&&r.selectAll(\".select-outline\").remove(),e._fullLayout._outlining=!1}N6.exports={clearOutlineControllers:eY,clearOutline:rY}});var l0=K((Yoe,F6)=>{\"use strict\";F6.exports={scattermode:{valType:\"enumerated\",values:[\"group\",\"overlay\"],dflt:\"overlay\",editType:\"calc\"},scattergap:{valType:\"number\",min:0,max:1,editType:\"calc\"}}});var Gp=K(s0=>{\"use strict\";var o0=br(),Uoe=$t().SUBPLOT_PATTERN;s0.getSubplotCalcData=function(e,r,t){var a=o0.subplotsRegistry[r];if(!a)return[];for(var n=a.attr,i=[],l=0;l<e.length;l++){var o=e[l],s=o[0].trace;s[n]===t&#038;&#038;i.push(o)}return i};s0.getModuleCalcData=function(e,r,t){var a=[],n=[],i;if(typeof r==\"string\"?i=o0.getModule(r).plot:typeof r==\"function\"?i=r:i=r.plot,!i)return[a,e];for(var l=t,o=0;o<e.length;o++){var s=e[o],u=s[0].trace,f=u.zorder!==void 0;u.visible!==!0||u._length===0||(u._module&#038;&#038;u._module.plot===i&#038;&#038;(!f||u.zorder===l)?a.push(s):n.push(s))}return[a,n]};s0.getSubplotData=function(r,t,a){if(!o0.subplotsRegistry[t])return[];for(var n=o0.subplotsRegistry[t].attr,i=[],l,o,s,u=0;u<r.length;u++)l=r[u],l[n]===a&#038;&#038;i.push(l);return i}});var B6=K(go=>{\"use strict\";var tY=br(),Bs=Fe();go.manageCommandObserver=function(e,r,t,a){var n={},i=!0;r&&r._commandObserver&&(n=r._commandObserver),n.cache||(n.cache={}),n.lookupTable={};var l=go.hasSimpleAPICommandBindings(e,t,n.lookupTable);if(r&&r._commandObserver){if(l)return n;if(r._commandObserver.remove)return r._commandObserver.remove(),r._commandObserver=null,n}if(l){I6(e,l,n.cache),n.check=function(){if(i){var f=I6(e,l,n.cache);return f.changed&&a&&n.lookupTable[f.value]!==void 0&&(n.disable(),Promise.resolve(a({value:f.value,type:l.type,prop:l.prop,traces:l.traces,index:n.lookupTable[f.value]})).then(n.enable,n.enable)),f.changed}};for(var o=[\"plotly_relayout\",\"plotly_redraw\",\"plotly_restyle\",\"plotly_update\",\"plotly_animatingframe\",\"plotly_afterplot\"],s=0;s<o.length;s++)e._internalOn(o[s],n.check);n.remove=function(){for(var u=0;u<o.length;u++)e._removeInternalListener(o[u],n.check)}}else Bs.log(\"Unable to automatically bind plot updates to API command\"),n.lookupTable={},n.remove=function(){};return n.disable=function(){i=!1},n.enable=function(){i=!0},r&#038;&#038;(r._commandObserver=n),n};go.hasSimpleAPICommandBindings=function(e,r,t){var a,n=r.length,i;for(a=0;a<n;a++){var l,o=r[a],s=o.method,u=o.args;if(Array.isArray(u)||(u=[]),!s)return!1;var f=go.computeAPICommandBindings(e,s,u);if(f.length!==1)return!1;if(!i)i=f[0],Array.isArray(i.traces)&#038;&#038;i.traces.sort();else{if(l=f[0],l.type!==i.type||l.prop!==i.prop)return!1;if(Array.isArray(i.traces))if(Array.isArray(l.traces)){l.traces.sort();for(var v=0;v<i.traces.length;v++)if(i.traces[v]!==l.traces[v])return!1}else return!1;else if(l.prop!==i.prop)return!1}l=f[0];var h=l.value;if(Array.isArray(h))if(h.length===1)h=h[0];else return!1;t&#038;&#038;(t[h]=a)}return i};function I6(e,r,t){var a,n,i,l=!1;if(r.type===\"data\")a=e._fullData[r.traces!==null?r.traces[0]:0];else if(r.type===\"layout\")a=e._fullLayout;else return!1;return n=Bs.nestedProperty(a,r.prop).get(),i=t[r.type]=t[r.type]||{},i.hasOwnProperty(r.prop)&#038;&#038;i[r.prop]!==n&#038;&#038;(l=!0),i[r.prop]=n,{changed:l,value:n}}go.executeAPICommand=function(e,r,t){if(r===\"skip\")return Promise.resolve();var a=tY.apiMethodRegistry[r],n=[e];Array.isArray(t)||(t=[]);for(var i=0;i<t.length;i++)n.push(t[i]);return a.apply(null,n).catch(function(l){return Bs.warn(\"API call to Plotly.\"+r+\" rejected.\",l),Promise.reject(l)})};go.computeAPICommandBindings=function(e,r,t){var a;switch(Array.isArray(t)||(t=[]),r){case\"restyle\":a=O6(e,t);break;case\"relayout\":a=H6(e,t);break;case\"update\":a=O6(e,[t[0],t[2]]).concat(H6(e,[t[1]]));break;case\"animate\":a=aY(e,t);break;default:a=[]}return a};function aY(e,r){return Array.isArray(r[0])&#038;&#038;r[0].length===1&#038;&#038;[\"string\",\"number\"].indexOf(typeof r[0][0])!==-1?[{type:\"layout\",prop:\"_currentFrame\",value:r[0][0].toString()}]:[]}function H6(e,r){var t=[],a=r[0],n={};if(typeof a==\"string\")n[a]=r[1];else if(Bs.isPlainObject(a))n=a;else return t;return Wp(n,function(i,l,o){t.push({type:\"layout\",prop:i,value:o})},\"\",0),t}function O6(e,r){var t,a,n,i,l=[];if(a=r[0],n=r[1],t=r[2],i={},typeof a==\"string\")i[a]=n;else if(Bs.isPlainObject(a))i=a,t===void 0&#038;&#038;(t=n);else return l;return t===void 0&#038;&#038;(t=null),Wp(i,function(o,s,u){var f,v;if(Array.isArray(u)){v=u.slice();var h=Math.min(v.length,e.data.length);t&#038;&#038;(h=Math.min(h,t.length)),f=[];for(var d=0;d<h;d++)f[d]=t?t[d]:d}else v=u,f=t?t.slice():null;if(f===null)Array.isArray(v)&#038;&#038;(v=v[0]);else if(Array.isArray(f)){if(!Array.isArray(v)){var m=v;v=[];for(var y=0;y<f.length;y++)v[y]=m}v.length=Math.min(f.length,v.length)}l.push({type:\"data\",prop:o,traces:f,value:v})},\"\",0),l}function Wp(e,r,t,a){Object.keys(e).forEach(function(n){var i=e[n];if(n[0]!==\"_\"){var l=t+(a>0?\".\":\"\")+n;Bs.isPlainObject(i)?Wp(i,r,l,a+1):r(l,n,i)}})}});var It=K((Woe,e7)=>{\"use strict\";var nY=zr(),iY=xs().timeFormatLocale,lY=$1().formatLocale,pf=Hr(),oY=j1(),sY=Zu().version,Wr=br(),Z6=Hs(),uY=ct(),ur=Fe(),J6=Er(),Y6=Gt().BADNUM,rn=Zt(),fY=wl().clearOutline,cY=l0(),Xp=nf(),vY=Hp(),hY=Gp().getModuleCalcData,U6=ur.relinkPrivateKeys,bo=ur._,Qe=e7.exports={};ur.extendFlat(Qe,Wr);Qe.attributes=Zn();Qe.attributes.type.values=Qe.allTypes;Qe.fontAttrs=ga();Qe.layoutAttributes=Ss();var f0=B6();Qe.executeAPICommand=f0.executeAPICommand;Qe.computeAPICommandBindings=f0.computeAPICommandBindings;Qe.manageCommandObserver=f0.manageCommandObserver;Qe.hasSimpleAPICommandBindings=f0.hasSimpleAPICommandBindings;Qe.redrawText=function(e){return e=ur.getGraphDiv(e),new Promise(function(r){setTimeout(function(){e._fullLayout&&(Wr.getComponentMethod(\"annotations\",\"draw\")(e),Wr.getComponentMethod(\"legend\",\"draw\")(e),Wr.getComponentMethod(\"colorbar\",\"draw\")(e),r(Qe.previousPromises(e)))},300)})};Qe.resize=function(e){e=ur.getGraphDiv(e);var r,t=new Promise(function(a,n){(!e||ur.isHidden(e))&&n(new Error(\"Resize must be passed a displayed plot div element.\")),e._redrawTimer&&clearTimeout(e._redrawTimer),e._resolveResize&&(r=e._resolveResize),e._resolveResize=a,e._redrawTimer=setTimeout(function(){if(!e.layout||e.layout.width&&e.layout.height||ur.isHidden(e)){a(e);return}delete e.layout.width,delete e.layout.height;var i=e.changed;e.autoplay=!0,Wr.call(\"relayout\",e,{autosize:!0}).then(function(){e.changed=i,e._resolveResize===a&&(delete e._resolveResize,a(e))})},100)});return r&&r(t),t};Qe.previousPromises=function(e){if((e._promises||[]).length)return Promise.all(e._promises).then(function(){e._promises=[]})};Qe.addLinks=function(e){if(!(!e._context.showLink&&!e._context.showSources)){var r=e._fullLayout,t=ur.ensureSingle(r._paper,\"text\",\"js-plot-link-container\",function(s){s.style({\"font-family\":'\"Open Sans\", Arial, sans-serif',\"font-size\":\"12px\",fill:J6.defaultLine,\"pointer-events\":\"all\"}).each(function(){var u=nY.select(this);u.append(\"tspan\").classed(\"js-link-to-tool\",!0),u.append(\"tspan\").classed(\"js-link-spacer\",!0),u.append(\"tspan\").classed(\"js-sourcelinks\",!0)})}),a=t.node(),n={y:r._paper.attr(\"height\")-9};document.body.contains(a)&&a.getComputedTextLength()>=r.width-20?(n[\"text-anchor\"]=\"start\",n.x=5):(n[\"text-anchor\"]=\"end\",n.x=r._paper.attr(\"width\")-7),t.attr(n);var i=t.select(\".js-link-to-tool\"),l=t.select(\".js-link-spacer\"),o=t.select(\".js-sourcelinks\");e._context.showSources&&e._context.showSources(e),e._context.showLink&&dY(e,i),l.text(i.text()&&o.text()?\" - \":\"\")}};function dY(e,r){r.text(\"\");var t=r.append(\"a\").attr({\"xlink:xlink:href\":\"#\",class:\"link--impt link--embedview\",\"font-weight\":\"bold\"}).text(e._context.linkText+\" \\xBB\");if(e._context.sendData)t.on(\"click\",function(){Qe.sendDataToCloud(e)});else{var a=window.location.pathname.split(\"\/\"),n=window.location.search;t.attr({\"xlink:xlink:show\":\"new\",\"xlink:xlink:href\":\"\/\"+a[2].split(\".\")[0]+\"\/\"+a[1]+n})}}Qe.sendDataToCloud=function(e,r){e.emit(\"plotly_beforeexport\");let t=new URL(r).origin;var a=Qe.graphJson(e,!1,\"keepdata\",\"object\");a.version=sY;var n=new URL(r);n.searchParams.set(\"origin\",window.location.origin);var i=window.open(n.href,\"_blank\");if(!i){console.error(\"Unable to open Plotly Cloud (the popup may have been blocked)\"),e.emit(\"plotly_exportfail\");return}var l=function(o){o.origin===t&&o.data&&o.data.type===\"CHART_AUTH_SUCCESS\"&&(i.postMessage({type:\"chart\",chart:a},t),window.removeEventListener(\"message\",l),e.emit(\"plotly_afterexport\"))};return window.addEventListener(\"message\",l),!1};var pY=[\"days\",\"shortDays\",\"months\",\"shortMonths\",\"periods\",\"dateTime\",\"date\",\"time\",\"decimal\",\"thousands\",\"grouping\",\"currency\"],mY=[\"year\",\"month\",\"dayMonth\",\"dayMonthYear\"];Qe.supplyDefaults=function(e,r){var t=r&&r.skipUpdateCalc,a=e._fullLayout||{};if(a._skipDefaults){delete a._skipDefaults;return}var n=e._fullLayout={},i=e.layout||{},l=e._fullData||[],o=e._fullData=[],s=e.data||[],u=e.calcdata||[],f=e._context||{},v;e._transitionData||Qe.createTransitionData(e),n._dfltTitle={plot:bo(e,\"Click to enter Plot title\"),subtitle:bo(e,\"Click to enter Plot subtitle\"),x:bo(e,\"Click to enter X axis title\"),y:bo(e,\"Click to enter Y axis title\"),colorbar:bo(e,\"Click to enter Colorscale title\"),annotation:bo(e,\"new text\")},n._traceWord=bo(e,\"trace\");var h=V6(e,pY);if(n._mapboxAccessToken=f.mapboxAccessToken,a._initialAutoSizeIsDone){var d=a.width,m=a.height;Qe.supplyLayoutGlobalDefaults(i,n,h),i.width||(n.width=d),i.height||(n.height=m),Qe.sanitizeMargins(n)}else{Qe.supplyLayoutGlobalDefaults(i,n,h);var y=!i.width||!i.height,g=n.autosize,_=f.autosizable,T=y&&(g||_);T?Qe.plotAutoSize(e,i,n):y&&Qe.sanitizeMargins(n),!g&&y&&(i.width=n.width,i.height=n.height)}n._d3locale=bY(h,n.separators),n._extraFormat=V6(e,mY),n._initialAutoSizeIsDone=!0,n._dataLength=s.length,n._modules=[],n._visibleModules=[],n._basePlotModules=[];var w=n._subplots=gY(),b=n._splomAxes={x:{},y:{}},M=n._splomSubplots={};n._splomGridDflt={},n._scatterStackOpts={},n._firstScatter={},n._alignmentOpts={},n._colorAxes={},n._requestRangeslider={},n._traceUids=yY(l,s),Qe.supplyDataDefaults(s,o,i,n);var S=Object.keys(b.x),k=Object.keys(b.y);if(S.length>1&&k.length>1){for(Wr.getComponentMethod(\"grid\",\"sizeDefaults\")(i,n),v=0;v<S.length;v++)ur.pushUnique(w.xaxis,S[v]);for(v=0;v<k.length;v++)ur.pushUnique(w.yaxis,k[v]);for(var q in M)ur.pushUnique(w.cartesian,q)}if(n._has=Qe._hasPlotType.bind(n),l.length===o.length)for(v=0;v<o.length;v++)U6(o[v],l[v]);Qe.supplyLayoutModuleDefaults(i,n,o,e._transitionData);var D=n._visibleModules,P=[];for(v=0;v<D.length;v++){var z=D[v].crossTraceDefaults;z&#038;&#038;ur.pushUnique(P,z)}for(v=0;v<P.length;v++)P[v](o,n);n._hasOnlyLargeSploms=n._basePlotModules.length===1&#038;&#038;n._basePlotModules[0].name===\"splom\"&#038;&#038;S.length>15&&k.length>15&&n.shapes.length===0&&n.images.length===0,Qe.linkSubplots(o,n,l,a),Qe.cleanPlot(o,n,l,a);var F=!!(a._has&&a._has(\"cartesian\")),O=!!(n._has&&n._has(\"cartesian\")),I=F,V=O;I&&!V?a._bgLayer.remove():V&&!I&&(n._shouldCreateBgLayer=!0),a._zoomlayer&&!e._dragging&&fY({_fullLayout:a}),xY(o,n),U6(n,a),Wr.getComponentMethod(\"colorscale\",\"crossTraceDefaults\")(o,n),n._preGUI||(n._preGUI={}),n._tracePreGUI||(n._tracePreGUI={});var J=n._tracePreGUI,G={},U;for(U in J)G[U]=\"old\";for(v=0;v<o.length;v++)U=o[v]._fullInput.uid,G[U]||(J[U]={}),G[U]=\"new\";for(U in G)G[U]===\"old\"&#038;&#038;delete J[U];K6(n),Wr.getComponentMethod(\"rangeslider\",\"makeData\")(n),!t&#038;&#038;u.length===o.length&#038;&#038;Qe.supplyDefaultsUpdateCalc(u,o)};Qe.supplyDefaultsUpdateCalc=function(e,r){for(var t=0;t<r.length;t++){var a=r[t],n=(e[t]||[])[0];if(n&#038;&#038;n.trace){var i=n.trace;if(i._hasCalcTransform){var l=i._arrayAttrs,o,s,u;for(o=0;o<l.length;o++)s=l[o],u=ur.nestedProperty(i,s).get().slice(),ur.nestedProperty(a,s).set(u)}n.trace=a}}};function yY(e,r){var t=r.length,a=[],n,i;for(n=0;n<e.length;n++){var l=e[n]._fullInput;l!==i&#038;&#038;a.push(l),i=l}var o=a.length,s=new Array(t),u={};function f(d,m){s[m]=d,u[d]=1}function v(d,m){if(d&#038;&#038;typeof d==\"string\"&#038;&#038;!u[d])return f(d,m),!0}for(n=0;n<t;n++){var h=r[n].uid;typeof h==\"number\"&#038;&#038;(h=String(h)),!v(h,n)&#038;&#038;(n<o&#038;&#038;v(a[n].uid,n)||f(ur.randstr(u),n))}return s}function gY(){var e=Wr.collectableSubplotTypes,r={},t,a;if(!e){e=[];var n=Wr.subplotsRegistry;for(var i in n){var l=n[i],o=l.attr;if(o&#038;&#038;(e.push(i),Array.isArray(o)))for(a=0;a<o.length;a++)ur.pushUnique(e,o[a])}}for(t=0;t<e.length;t++)r[e[t]]=[];return r}function V6(e,r){var t=e._context.locale;t||(t=\"en-US\");var a=!1,n={};function i(v){for(var h=!0,d=0;d<r.length;d++){var m=r[d];n[m]||(v[m]?n[m]=v[m]:h=!1)}h&#038;&#038;(a=!0)}for(var l=0;l<2;l++){for(var o=e._context.locales,s=0;s<2;s++){var u=(o[t]||{}).format;if(u&#038;&#038;(i(u),a))break;o=Wr.localeRegistry}var f=t.split(\"-\")[0];if(a||f===t)break;t=f}return a||i(Wr.localeRegistry.en.format),n}function bY(e,r){return e.decimal=r.charAt(0),e.thousands=r.charAt(1),{numberFormat:function(t){try{t=lY(e).format(ur.adjustFormat(t))}catch(a){return ur.warnBadFormat(t),ur.noFormat}return t},timeFormat:iY(e).utcFormat}}function xY(e,r){var t,a=[];r.meta&#038;&#038;(t=r._meta={meta:r.meta,layout:{meta:r.meta}});for(var n=0;n<e.length;n++){var i=e[n];i.meta?a[i.index]=i._meta={meta:i.meta}:r.meta&#038;&#038;(i._meta={meta:r.meta}),r.meta&#038;&#038;(i._meta.layout={meta:r.meta})}a.length&#038;&#038;(t||(t=r._meta={}),t.data=a)}Qe.createTransitionData=function(e){e._transitionData||(e._transitionData={}),e._transitionData._frames||(e._transitionData._frames=[]),e._transitionData._frameHash||(e._transitionData._frameHash={}),e._transitionData._counter||(e._transitionData._counter=0),e._transitionData._interruptCallbacks||(e._transitionData._interruptCallbacks=[])};Qe._hasPlotType=function(e){var r,t=this._basePlotModules||[];for(r=0;r<t.length;r++)if(t[r].name===e)return!0;var a=this._modules||[];for(r=0;r<a.length;r++){var n=a[r].name;if(n===e)return!0;var i=Wr.modules[n];if(i&#038;&#038;i.categories[e])return!0}return!1};Qe.cleanPlot=function(e,r,t,a){var n,i,l=a._basePlotModules||[];for(n=0;n<l.length;n++){var o=l[n];o.clean&#038;&#038;o.clean(e,r,t,a)}var s=a._has&#038;&#038;a._has(\"gl\"),u=r._has&#038;&#038;r._has(\"gl\");s&#038;&#038;!u&#038;&#038;a._glcontainer!==void 0&#038;&#038;(a._glcontainer.selectAll(\".gl-canvas\").remove(),a._glcontainer.selectAll(\".no-webgl\").remove(),a._glcanvas=null);var f=!!a._infolayer;e:for(n=0;n<t.length;n++){var v=t[n],h=v.uid;for(i=0;i<e.length;i++){var d=e[i];if(h===d.uid)continue e}f&#038;&#038;a._infolayer.select(\".cb\"+h).remove()}};Qe.linkSubplots=function(e,r,t,a){var n,i,l=a._plots||{},o=r._plots={},s=r._subplots,u={_fullData:e,_fullLayout:r},f=s.cartesian||[];for(n=0;n<f.length;n++){var v=f[n],h=l[v],d=rn.getFromId(u,v,\"x\"),m=rn.getFromId(u,v,\"y\"),y;for(h?y=o[v]=h:(y=o[v]={},y.id=v),d._counterAxes.push(m._id),m._counterAxes.push(d._id),d._subplotsWith.push(v),m._subplotsWith.push(v),y.xaxis=d,y.yaxis=m,y._hasClipOnAxisFalse=!1,i=0;i<e.length;i++){var g=e[i];if(g.xaxis===y.xaxis._id&#038;&#038;g.yaxis===y.yaxis._id&#038;&#038;g.cliponaxis===!1){y._hasClipOnAxisFalse=!0;break}}}var _=rn.list(u,null,!0),T;for(n=0;n<_.length;n++){T=_[n];var w=null;T.overlaying&#038;&#038;(w=rn.getFromId(u,T.overlaying),w&#038;&#038;w.overlaying&#038;&#038;(T.overlaying=!1,w=null)),T._mainAxis=w||T,w&#038;&#038;(T.domain=w.domain.slice()),T._anchorAxis=T.anchor===\"free\"?null:rn.getFromId(u,T.anchor)}for(n=0;n<_.length;n++)if(T=_[n],T._counterAxes.sort(rn.idSort),T._subplotsWith.sort(ur.subplotSort),T._mainSubplot=_Y(T,r),T._counterAxes.length&#038;&#038;(T.spikemode&#038;&#038;T.spikemode.indexOf(\"across\")!==-1||T.automargin&#038;&#038;T.mirror&#038;&#038;T.anchor!==\"free\"||Wr.getComponentMethod(\"rangeslider\",\"isVisible\")(T))){var b=1,M=0;for(i=0;i<T._counterAxes.length;i++){var S=rn.getFromId(u,T._counterAxes[i]);b=Math.min(b,S.domain[0]),M=Math.max(M,S.domain[1])}b<M&#038;&#038;(T._counterDomainMin=b,T._counterDomainMax=M)}};function _Y(e,r){var t={_fullLayout:r},a=e._id.charAt(0)===\"x\",n=e._mainAxis._anchorAxis,i=\"\",l=\"\",o=\"\";if(n&#038;&#038;(o=n._mainAxis._id,i=a?e._id+o:o+e._id),!i||!r._plots[i]){i=\"\";for(var s=e._counterAxes,u=0;u<s.length;u++){var f=s[u],v=a?e._id+f:f+e._id;l||(l=v);var h=rn.getFromId(t,f);if(o&#038;&#038;h.overlaying===o){i=v;break}}}return i||l}Qe.clearExpandedTraceDefaultColors=function(e){var r,t,a;function n(l,o,s,u){t[u]=o,t.length=u+1,l.valType===\"color\"&#038;&#038;l.dflt===void 0&#038;&#038;r.push(t.join(\".\"))}for(t=[],r=e._module._colorAttrs,r||(e._module._colorAttrs=r=[],Z6.crawl(e._module.attributes,n)),a=0;a<r.length;a++){var i=ur.nestedProperty(e,\"_input.\"+r[a]);i.get()||ur.nestedProperty(e,r[a]).set(null)}};Qe.supplyDataDefaults=function(e,r,t,a){var n=a._modules,i=a._visibleModules,l=a._basePlotModules,o=0,s=0,u,f,v;a._transformModules=[];function h(T){r.push(T);var w=T._module;w&#038;&#038;(ur.pushUnique(n,w),T.visible===!0&#038;&#038;ur.pushUnique(i,w),ur.pushUnique(l,T._module.basePlotModule),o++,T._input.visible!==!1&#038;&#038;s++)}var d={},m=[],y=(t.template||{}).data||{},g=uY.traceTemplater(y);for(u=0;u<e.length;u++)v=e[u],f=g.newTrace(v),f.uid=a._traceUids[u],Qe.supplyTraceDefaults(v,f,s,a,u),f.index=u,f._input=v,f._fullInput=f,h(f),Wr.traceIs(f,\"carpetAxis\")&#038;&#038;(d[f.carpet]=f),Wr.traceIs(f,\"carpetDependent\")&#038;&#038;m.push(u);for(u=0;u<m.length;u++)if(f=r[m[u]],!!f.visible){var _=d[f.carpet];if(f._carpet=_,!_||!_.visible){f.visible=!1;continue}f.xaxis=_.xaxis,f.yaxis=_.yaxis}};Qe.supplyAnimationDefaults=function(e){e=e||{};var r,t={};function a(n,i){return ur.coerce(e||{},t,Xp,n,i)}if(a(\"mode\"),a(\"direction\"),a(\"fromcurrent\"),Array.isArray(e.frame))for(t.frame=[],r=0;r<e.frame.length;r++)t.frame[r]=Qe.supplyAnimationFrameDefaults(e.frame[r]||{});else t.frame=Qe.supplyAnimationFrameDefaults(e.frame||{});if(Array.isArray(e.transition))for(t.transition=[],r=0;r<e.transition.length;r++)t.transition[r]=Qe.supplyAnimationTransitionDefaults(e.transition[r]||{});else t.transition=Qe.supplyAnimationTransitionDefaults(e.transition||{});return t};Qe.supplyAnimationFrameDefaults=function(e){var r={};function t(a,n){return ur.coerce(e||{},r,Xp.frame,a,n)}return t(\"duration\"),t(\"redraw\"),r};Qe.supplyAnimationTransitionDefaults=function(e){var r={};function t(a,n){return ur.coerce(e||{},r,Xp.transition,a,n)}return t(\"duration\"),t(\"easing\"),r};Qe.supplyFrameDefaults=function(e){var r={};function t(a,n){return ur.coerce(e,r,vY,a,n)}return t(\"group\"),t(\"name\"),t(\"traces\"),t(\"baseframe\"),t(\"data\"),t(\"layout\"),r};Qe.supplyTraceDefaults=function(e,r,t,a,n){var i=a.colorway||J6.defaults,l=i[t%i.length],o;function s(w,b){return ur.coerce(e,r,Qe.attributes,w,b)}var u=s(\"visible\");s(\"type\"),s(\"name\",a._traceWord+\" \"+n),s(\"uirevision\",a.uirevision);var f=Qe.getModule(r);if(r._module=f,f){var v=f.basePlotModule,h=v.attr,d=v.attributes;if(h&#038;&#038;d){var m=a._subplots,y=\"\";if(Array.isArray(h))for(o=0;o<h.length;o++){var g=h[o],_=ur.coerce(e,r,d,g);m[g]&#038;&#038;ur.pushUnique(m[g],_),y+=_}else y=ur.coerce(e,r,d,h);m[v.name]&#038;&#038;ur.pushUnique(m[v.name],y)}}if(u&#038;&#038;(s(\"customdata\"),s(\"ids\"),s(\"meta\"),Wr.traceIs(r,\"showLegend\")?(ur.coerce(e,r,f.attributes.showlegend?f.attributes:Qe.attributes,\"showlegend\"),ur.coerce(e,r,f.attributes.legend?f.attributes:Qe.attributes,\"legend\"),s(\"legendwidth\"),s(\"legendgroup\"),s(\"legendgrouptitle.text\"),ur.coerce(e,r,f.attributes.legend?f.attributes:Qe.attributes,\"legendrank\"),r._dfltShowLegend=!0):r._dfltShowLegend=!1,f&#038;&#038;f.supplyDefaults(e,r,l,a),Wr.traceIs(r,\"noOpacity\")||s(\"opacity\"),Wr.traceIs(r,\"notLegendIsolatable\")&#038;&#038;(r.visible=!!r.visible),Wr.traceIs(r,\"noHover\")||(r.hovertemplate||ur.coerceHoverinfo(e,r,a),r.type!==\"parcats\"&#038;&#038;Wr.getComponentMethod(\"fx\",\"supplyDefaults\")(e,r,l,a)),f&#038;&#038;f.selectPoints)){var T=s(\"selectedpoints\");ur.isTypedArray(T)&#038;&#038;(r.selectedpoints=Array.from(T))}return r};Qe.supplyLayoutGlobalDefaults=function(e,r,t){function a(v,h){return ur.coerce(e,r,Qe.layoutAttributes,v,h)}var n=e.template;ur.isPlainObject(n)&#038;&#038;(r.template=n,r._template=n.layout,r._dataTemplate=n.data),a(\"autotypenumbers\");var i=ur.coerceFont(a,\"font\"),l=i.size;ur.coerceFont(a,\"title.font\",i,{overrideDflt:{size:Math.round(l*1.4)}}),a(\"title.text\",r._dfltTitle.plot),a(\"title.xref\");var o=a(\"title.yref\");a(\"title.pad.t\"),a(\"title.pad.r\"),a(\"title.pad.b\"),a(\"title.pad.l\");var s=a(\"title.automargin\");a(\"title.x\"),a(\"title.xanchor\"),a(\"title.y\"),a(\"title.yanchor\"),a(\"title.subtitle.text\",r._dfltTitle.subtitle),ur.coerceFont(a,\"title.subtitle.font\",i,{overrideDflt:{size:Math.round(r.title.font.size*.7)}}),s&#038;&#038;(o===\"paper\"&#038;&#038;(r.title.y!==0&#038;&#038;(r.title.y=1),r.title.yanchor===\"auto\"&#038;&#038;(r.title.yanchor=r.title.y===0?\"top\":\"bottom\")),o===\"container\"&#038;&#038;(r.title.y===\"auto\"&#038;&#038;(r.title.y=1),r.title.yanchor===\"auto\"&#038;&#038;(r.title.yanchor=r.title.y<.5?\"bottom\":\"top\")));var u=a(\"uniformtext.mode\");u&#038;&#038;a(\"uniformtext.minsize\"),a(\"autosize\",!(e.width&#038;&#038;e.height)),a(\"width\"),a(\"height\"),a(\"minreducedwidth\"),a(\"minreducedheight\"),a(\"margin.l\"),a(\"margin.r\"),a(\"margin.t\"),a(\"margin.b\"),a(\"margin.pad\"),a(\"margin.autoexpand\"),e.width&#038;&#038;e.height&#038;&#038;Qe.sanitizeMargins(r),Wr.getComponentMethod(\"grid\",\"sizeDefaults\")(e,r),a(\"paper_bgcolor\"),a(\"separators\",t.decimal+t.thousands),a(\"hidesources\"),a(\"colorway\"),a(\"datarevision\");var f=a(\"uirevision\");a(\"editrevision\",f),a(\"selectionrevision\",f),Wr.getComponentMethod(\"modebar\",\"supplyLayoutDefaults\")(e,r),Wr.getComponentMethod(\"shapes\",\"supplyDrawNewShapeDefaults\")(e,r,a),Wr.getComponentMethod(\"selections\",\"supplyDrawNewSelectionDefaults\")(e,r,a),a(\"meta\"),ur.isPlainObject(e.transition)&#038;&#038;(a(\"transition.duration\"),a(\"transition.easing\"),a(\"transition.ordering\")),Wr.getComponentMethod(\"calendars\",\"handleDefaults\")(e,r,\"calendar\"),Wr.getComponentMethod(\"fx\",\"supplyLayoutGlobalDefaults\")(e,r,a),ur.coerce(e,r,cY,\"scattermode\")};function u0(e){return typeof e==\"string\"&#038;&#038;e.slice(-2)===\"px\"&#038;&#038;parseFloat(e)}Qe.plotAutoSize=function(r,t,a){var n=r._context||{},i=n.frameMargins,l,o,s=ur.isPlotDiv(r);if(s&#038;&#038;r.emit(\"plotly_autosize\"),n.fillFrame)l=window.innerWidth,o=window.innerHeight,document.body.style.overflow=\"hidden\";else{var u=s?window.getComputedStyle(r):{};if(l=u0(u.width)||u0(u.maxWidth)||a.width,o=u0(u.height)||u0(u.maxHeight)||a.height,pf(i)&#038;&#038;i>0){var f=1-2*i;l=Math.round(f*l),o=Math.round(f*o)}}var v=Qe.layoutAttributes.width.min,h=Qe.layoutAttributes.height.min;l<v&#038;&#038;(l=v),o<h&#038;&#038;(o=h);var d=!t.width&#038;&#038;Math.abs(a.width-l)>1,m=!t.height&&Math.abs(a.height-o)>1;(m||d)&&(d&&(a.width=l),m&&(a.height=o)),r._initialAutoSize||(r._initialAutoSize={width:l,height:o}),Qe.sanitizeMargins(a)};Qe.supplyLayoutModuleDefaults=function(e,r,t,a){var n=Wr.componentsRegistry,i=r._basePlotModules,l,o,s,u=Wr.subplotsRegistry.cartesian;for(l in n)s=n[l],s.includeBasePlot&&s.includeBasePlot(e,r);i.length||i.push(u),r._has(\"cartesian\")&&(Wr.getComponentMethod(\"grid\",\"contentDefaults\")(e,r),u.finalizeSubplots(e,r));for(var f in r._subplots)r._subplots[f].sort(ur.subplotSort);for(o=0;o<i.length;o++)s=i[o],s.supplyLayoutDefaults&#038;&#038;s.supplyLayoutDefaults(e,r,t);var v=r._modules;for(o=0;o<v.length;o++)s=v[o],s.supplyLayoutDefaults&#038;&#038;s.supplyLayoutDefaults(e,r,t);var h=r._transformModules;for(o=0;o<h.length;o++)s=h[o],s.supplyLayoutDefaults&#038;&#038;s.supplyLayoutDefaults(e,r,t,a);for(l in n)s=n[l],s.supplyLayoutDefaults&#038;&#038;s.supplyLayoutDefaults(e,r,t)};Qe.purge=function(e){var r=e._fullLayout||{};r._glcontainer!==void 0&#038;&#038;(r._glcontainer.selectAll(\".gl-canvas\").remove(),r._glcontainer.remove(),r._glcanvas=null),r._modeBar&#038;&#038;r._modeBar.destroy(),e._transitionData&#038;&#038;(e._transitionData._interruptCallbacks&#038;&#038;(e._transitionData._interruptCallbacks.length=0),e._transitionData._animationRaf&#038;&#038;window.cancelAnimationFrame(e._transitionData._animationRaf)),ur.clearThrottle(),ur.clearResponsive(e),delete e.data,delete e.layout,delete e._fullData,delete e._fullLayout,delete e.calcdata,delete e.empty,delete e.fid,delete e.undoqueue,delete e.undonum,delete e.autoplay,delete e.changed,delete e._promises,delete e._redrawTimer,delete e._hmlumcount,delete e._hmpixcount,delete e._transitionData,delete e._transitioning,delete e._initialAutoSize,delete e._transitioningWithDuration,delete e._dragging,delete e._dragged,delete e._dragdata,delete e._hoverdata,delete e._snapshotInProgress,delete e._editing,delete e._mouseDownTime,delete e._legendMouseDownTime,e.removeAllListeners&#038;&#038;e.removeAllListeners()};Qe.style=function(e){var r=e._fullLayout._visibleModules,t=[],a;for(a=0;a<r.length;a++){var n=r[a];n.style&#038;&#038;ur.pushUnique(t,n.style)}for(a=0;a<t.length;a++)t[a](e)};Qe.sanitizeMargins=function(e){if(!(!e||!e.margin)){var r=e.width,t=e.height,a=e.margin,n=r-(a.l+a.r),i=t-(a.t+a.b),l;n<0&#038;&#038;(l=(r-1)\/(a.l+a.r),a.l=Math.floor(l*a.l),a.r=Math.floor(l*a.r)),i<0&#038;&#038;(l=(t-1)\/(a.t+a.b),a.t=Math.floor(l*a.t),a.b=Math.floor(l*a.b))}};Qe.clearAutoMarginIds=function(e){e._fullLayout._pushmarginIds={}};Qe.allowAutoMargin=function(e,r){e._fullLayout._pushmarginIds[r]=1};function K6(e){var r=e.margin;if(!e._size){var t=e._size={l:Math.round(r.l),r:Math.round(r.r),t:Math.round(r.t),b:Math.round(r.b),p:Math.round(r.pad)};t.w=Math.round(e.width)-t.l-t.r,t.h=Math.round(e.height)-t.t-t.b}e._pushmargin||(e._pushmargin={}),e._pushmarginIds||(e._pushmarginIds={}),e._reservedMargin||(e._reservedMargin={})}var Q6=2,$6=2;Qe.autoMargin=function(e,r,t){var a=e._fullLayout,n=a.width,i=a.height,l=a.margin,o=a.minreducedwidth,s=a.minreducedheight,u=ur.constrain(n-l.l-l.r,Q6,o),f=ur.constrain(i-l.t-l.b,$6,s),v=Math.max(0,n-u),h=Math.max(0,i-f),d=a._pushmargin,m=a._pushmarginIds;if(l.autoexpand!==!1){if(!t)delete d[r],delete m[r];else{var y=t.pad;if(y===void 0&#038;&#038;(y=Math.min(12,l.l,l.r,l.t,l.b)),v){var g=(t.l+t.r)\/v;g>1&&(t.l\/=g,t.r\/=g)}if(h){var _=(t.t+t.b)\/h;_>1&&(t.t\/=_,t.b\/=_)}var T=t.xl!==void 0?t.xl:t.x,w=t.xr!==void 0?t.xr:t.x,b=t.yt!==void 0?t.yt:t.y,M=t.yb!==void 0?t.yb:t.y;d[r]={l:{val:T,size:t.l+y},r:{val:w,size:t.r+y},b:{val:M,size:t.b+y},t:{val:b,size:t.t+y}},m[r]=1}if(!a._replotting)return Qe.doAutoMargin(e)}};function wY(e){if(\"_redrawFromAutoMarginCount\"in e._fullLayout)return!1;var r=rn.list(e,\"\",!0);for(var t in r)if(r[t].autoshift||r[t].shift)return!0;return!1}Qe.doAutoMargin=function(e){var r=e._fullLayout,t=r.width,a=r.height;r._size||(r._size={}),K6(r);var n=r._size,i=r.margin,l={t:0,b:0,l:0,r:0},o=ur.extendFlat({},n),s=i.l,u=i.r,f=i.t,v=i.b,h=r._pushmargin,d=r._pushmarginIds,m=r.minreducedwidth,y=r.minreducedheight;if(i.autoexpand!==!1){for(var g in h)d[g]||delete h[g];var _=e._fullLayout._reservedMargin;for(var T in _)for(var w in _[T]){var b=_[T][w];l[w]=Math.max(l[w],b)}h.base={l:{val:0,size:s},r:{val:1,size:u},t:{val:1,size:f},b:{val:0,size:v}};for(var M in l){var S=0;for(var k in h)k!==\"base\"&&pf(h[k][M].size)&&(S=h[k][M].size>S?h[k][M].size:S);var q=Math.max(0,i[M]-S);l[M]=Math.max(0,l[M]-q)}for(var D in h){var P=h[D].l||{},z=h[D].b||{},F=P.val,O=P.size,I=z.val,V=z.size,J=t-l.r-l.l,G=a-l.t-l.b;for(var U in h){if(pf(O)&&h[U].r){var H=h[U].r.val,Q=h[U].r.size;if(H>F){var Z=(O*H+(Q-J)*F)\/(H-F),ne=(Q*(1-F)+(O-J)*(1-H))\/(H-F);Z+ne>s+u&&(s=Z,u=ne)}}if(pf(V)&&h[U].t){var ce=h[U].t.val,ye=h[U].t.size;if(ce>I){var Ce=(V*ce+(ye-G)*I)\/(ce-I),re=(ye*(1-I)+(V-G)*(1-ce))\/(ce-I);Ce+re>v+f&&(v=Ce,f=re)}}}}}var Se=ur.constrain(t-i.l-i.r,Q6,m),pe=ur.constrain(a-i.t-i.b,$6,y),be=Math.max(0,t-Se),Ae=Math.max(0,a-pe);if(be){var ge=(s+u)\/be;ge>1&&(s\/=ge,u\/=ge)}if(Ae){var B=(v+f)\/Ae;B>1&&(v\/=B,f\/=B)}if(n.l=Math.round(s)+l.l,n.r=Math.round(u)+l.r,n.t=Math.round(f)+l.t,n.b=Math.round(v)+l.b,n.p=Math.round(i.pad),n.w=Math.round(t)-n.l-n.r,n.h=Math.round(a)-n.t-n.b,!r._replotting&&(Qe.didMarginChange(o,n)||wY(e))){\"_redrawFromAutoMarginCount\"in r?r._redrawFromAutoMarginCount++:r._redrawFromAutoMarginCount=1;var $=3*(1+Object.keys(d).length);if(r._redrawFromAutoMarginCount<$)return Wr.call(\"_doPlot\",e);r._size=o,ur.warn(\"Too many auto-margin redraws.\")}TY(e)};function TY(e){var r=rn.list(e,\"\",!0);[\"_adjustTickLabelsOverflow\",\"_hideCounterAxisInsideTickLabels\"].forEach(function(t){for(var a=0;a<r.length;a++){var n=r[a][t];n&#038;&#038;n()}})}var G6=[\"l\",\"r\",\"t\",\"b\",\"p\",\"w\",\"h\"];Qe.didMarginChange=function(e,r){for(var t=0;t<G6.length;t++){var a=G6[t],n=e[a],i=r[a];if(!pf(n)||Math.abs(i-n)>1)return!0}return!1};Qe.graphJson=function(e,r,t,a,n,i){(n&&r&&!e._fullData||n&&!r&&!e._fullLayout)&&Qe.supplyDefaults(e);var l=n?e._fullData:e.data,o=n?e._fullLayout:e.layout,s=(e._transitionData||{})._frames;function u(h,d){if(typeof h==\"function\")return d?\"_function_\":null;if(ur.isPlainObject(h)){var m={},y;return Object.keys(h).sort().forEach(function(w){if([\"_\",\"[\"].indexOf(w.charAt(0))===-1){if(typeof h[w]==\"function\"){d&&(m[w]=\"_function\");return}if(t===\"keepdata\"){if(w.slice(-3)===\"src\")return}else if(t===\"keepstream\"){if(y=h[w+\"src\"],typeof y==\"string\"&&y.indexOf(\":\")>0&&!ur.isPlainObject(h.stream))return}else if(t!==\"keepall\"&&(y=h[w+\"src\"],typeof y==\"string\"&&y.indexOf(\":\")>0))return;m[w]=u(h[w],d)}}),m}var g=Array.isArray(h),_=ur.isTypedArray(h);if((g||_)&&h.dtype&&h.shape){var T=h.bdata;return u({dtype:h.dtype,shape:h.shape,bdata:ur.isArrayBuffer(T)?oY.encode(T):T},d)}return g?h.map(function(w){return u(w,d)}):_?ur.simpleMap(h,ur.identity):ur.isJSDate(h)?ur.ms2DateTimeLocal(+h):h}var f={data:(l||[]).map(function(h){var d=u(h);return r&&delete d.fit,d})};if(!r&&(f.layout=u(o),n)){var v=o._size;f.layout.computed={margin:{b:v.b,l:v.l,r:v.r,t:v.t}}}return s&&(f.frames=u(s)),i&&(f.config=u(e._context,!0)),a===\"object\"?f:JSON.stringify(f)};Qe.modifyFrames=function(e,r){var t,a,n,i=e._transitionData._frames,l=e._transitionData._frameHash;for(t=0;t<r.length;t++)switch(a=r[t],a.type){case\"replace\":n=a.value;var o=(i[a.index]||{}).name,s=n.name;i[a.index]=l[s]=n,s!==o&#038;&#038;(delete l[o],l[s]=n);break;case\"insert\":n=a.value,l[n.name]=n,i.splice(a.index,0,n);break;case\"delete\":n=i[a.index],delete l[n.name],i.splice(a.index,1);break}return Promise.resolve()};Qe.computeFrame=function(e,r){var t=e._transitionData._frameHash,a,n,i,l;if(!r)throw new Error(\"computeFrame must be given a string frame name\");var o=t[r.toString()];if(!o)return!1;for(var s=[o],u=[o.name];o.baseframe&#038;&#038;(o=t[o.baseframe.toString()])&#038;&#038;u.indexOf(o.name)===-1;)s.push(o),u.push(o.name);for(var f={};o=s.pop();)if(o.layout&#038;&#038;(f.layout=Qe.extendLayout(f.layout,o.layout)),o.data){if(f.data||(f.data=[]),n=o.traces,!n)for(n=[],a=0;a<o.data.length;a++)n[a]=a;for(f.traces||(f.traces=[]),a=0;a<o.data.length;a++)i=n[a],i!=null&#038;&#038;(l=f.traces.indexOf(i),l===-1&#038;&#038;(l=f.data.length,f.traces[l]=i),f.data[l]=Qe.extendTrace(f.data[l],o.data[a]))}return f};Qe.recomputeFrameHash=function(e){for(var r=e._transitionData._frameHash={},t=e._transitionData._frames,a=0;a<t.length;a++){var n=t[a];n&#038;&#038;n.name&#038;&#038;(r[n.name]=n)}};Qe.extendObjectWithContainers=function(e,r,t){var a,n,i,l,o,s,u,f,v=ur.extendDeepNoArrays({},r||{}),h=ur.expandObjectPaths(v),d={};if(t&#038;&#038;t.length)for(i=0;i<t.length;i++)a=ur.nestedProperty(h,t[i]),n=a.get(),n===void 0?ur.nestedProperty(d,t[i]).set(null):(a.set(null),ur.nestedProperty(d,t[i]).set(n));if(e=ur.extendDeepNoArrays(e||{},h),t&#038;&#038;t.length){for(i=0;i<t.length;i++)if(o=ur.nestedProperty(d,t[i]),u=o.get(),!!u){for(s=ur.nestedProperty(e,t[i]),f=s.get(),Array.isArray(f)||(f=[],s.set(f)),l=0;l<u.length;l++){var m=u[l];m===null?f[l]=null:f[l]=Qe.extendObjectWithContainers(f[l],m)}s.set(f)}}return e};Qe.dataArrayContainers=[\"transforms\",\"dimensions\"];Qe.layoutArrayContainers=Wr.layoutArrayContainers;Qe.extendTrace=function(e,r){return Qe.extendObjectWithContainers(e,r,Qe.dataArrayContainers)};Qe.extendLayout=function(e,r){return Qe.extendObjectWithContainers(e,r,Qe.layoutArrayContainers)};Qe.transition=function(e,r,t,a,n,i){var l={redraw:n.redraw},o={},s=[];return l.prepareFn=function(){for(var u=Array.isArray(r)?r.length:0,f=a.slice(0,u),v=0;v<f.length;v++){var h=f[v],d=e._fullData[h],m=d._module;if(m){if(m.animatable){var y=m.basePlotModule.name;o[y]||(o[y]=[]),o[y].push(h)}e.data[f[v]]=Qe.extendTrace(e.data[f[v]],r[v])}}var g=ur.expandObjectPaths(ur.extendDeepNoArrays({},t)),_=\/^[xy]axis[0-9]*$\/;for(var T in g)_.test(T)&#038;&#038;delete g[T].range;Qe.extendLayout(e.layout,g),delete e.calcdata,Qe.supplyDefaults(e),Qe.doCalcdata(e);var w=ur.expandObjectPaths(t);if(w){var b=e._fullLayout._plots;for(var M in b){var S=b[M],k=S.xaxis,q=S.yaxis,D=k.range.slice(),P=q.range.slice(),z=null,F=null,O=null,I=null;Array.isArray(w[k._name+\".range\"])?z=w[k._name+\".range\"].slice():Array.isArray((w[k._name]||{}).range)&#038;&#038;(z=w[k._name].range.slice()),Array.isArray(w[q._name+\".range\"])?F=w[q._name+\".range\"].slice():Array.isArray((w[q._name]||{}).range)&#038;&#038;(F=w[q._name].range.slice()),D&#038;&#038;z&#038;&#038;(k.r2l(D[0])!==k.r2l(z[0])||k.r2l(D[1])!==k.r2l(z[1]))&#038;&#038;(O={xr0:D,xr1:z}),P&#038;&#038;F&#038;&#038;(q.r2l(P[0])!==q.r2l(F[0])||q.r2l(P[1])!==q.r2l(F[1]))&#038;&#038;(I={yr0:P,yr1:F}),(O||I)&#038;&#038;s.push(ur.extendFlat({plotinfo:S},O,I))}}return Promise.resolve()},l.runFn=function(u){var f,v=e._fullLayout._basePlotModules,h=s.length,d;if(t)for(d=0;d<v.length;d++)v[d].transitionAxes&#038;&#038;v[d].transitionAxes(e,s,i,u);h?(f=ur.extendFlat({},i),f.duration=0,delete o.cartesian):f=i;for(var m in o){var y=o[m],g=e._fullData[y[0]]._module;g.basePlotModule.plot(e,y,f,u)}},j6(e,i,l)};Qe.transitionFromReact=function(e,r,t,a){var n=e._fullLayout,i=n.transition,l={},o=[];return l.prepareFn=function(){var s=n._plots;l.redraw=!1,r.anim===\"some\"&#038;&#038;(l.redraw=!0),t.anim===\"some\"&#038;&#038;(l.redraw=!0);for(var u in s){var f=s[u],v=f.xaxis,h=f.yaxis,d=a[v._name].range.slice(),m=a[h._name].range.slice(),y=v.range.slice(),g=h.range.slice();v.setScale(),h.setScale();var _=null,T=null;(v.r2l(d[0])!==v.r2l(y[0])||v.r2l(d[1])!==v.r2l(y[1]))&#038;&#038;(_={xr0:d,xr1:y}),(h.r2l(m[0])!==h.r2l(g[0])||h.r2l(m[1])!==h.r2l(g[1]))&#038;&#038;(T={yr0:m,yr1:g}),(_||T)&#038;&#038;o.push(ur.extendFlat({plotinfo:f},_,T))}return Promise.resolve()},l.runFn=function(s){for(var u=e._fullData,f=e._fullLayout,v=f._basePlotModules,h,d,m,y=[],g=0;g<u.length;g++)y.push(g);function _(){if(e._fullLayout)for(var w=0;w<v.length;w++)v[w].transitionAxes&#038;&#038;v[w].transitionAxes(e,o,h,s)}function T(){if(e._fullLayout)for(var w=0;w<v.length;w++)v[w].plot(e,m,d,s)}o.length&#038;&#038;r.anim?i.ordering===\"traces first\"?(h=ur.extendFlat({},i,{duration:0}),m=y,d=i,setTimeout(_,i.duration),T()):(h=i,m=null,d=ur.extendFlat({},i,{duration:0}),setTimeout(T,h.duration),_()):o.length?(h=i,_()):r.anim&#038;&#038;(m=y,d=i,T())},j6(e,i,l)};function j6(e,r,t){var a=!1;function n(v){var h=Promise.resolve();if(!v)return h;for(;v.length;)h=h.then(v.shift());return h}function i(v){if(v)for(;v.length;)v.shift()}function l(){return e.emit(\"plotly_transitioning\",[]),new Promise(function(v){e._transitioning=!0,r.duration>0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push(function(){a=!0}),t.redraw&&e._transitionData._interruptCallbacks.push(function(){return Wr.call(\"redraw\",e)}),e._transitionData._interruptCallbacks.push(function(){e.emit(\"plotly_transitioninterrupted\",[])});var h=0,d=0;function m(){return h++,function(){d++,!a&&d===h&&o(v)}}t.runFn(m),setTimeout(m())})}function o(v){if(e._transitionData)return i(e._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(t.redraw)return Wr.call(\"redraw\",e)}).then(function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit(\"plotly_transitioned\",[])}).then(v)}function s(){if(e._transitionData)return e._transitioning=!1,n(e._transitionData._interruptCallbacks)}var u=[Qe.previousPromises,s,t.prepareFn,Qe.rehover,Qe.reselect,l],f=ur.syncOrAsync(u,e);return(!f||!f.then)&&(f=Promise.resolve()),f.then(function(){return e})}Qe.doCalcdata=function(e,r){var t=rn.list(e),a=e._fullData,n=e._fullLayout,i,l,o,s,u=new Array(a.length),f=(e.calcdata||[]).slice();for(e.calcdata=u,n._numBoxes=0,n._numViolins=0,n._violinScaleGroupStats={},e._hmpixcount=0,e._hmlumcount=0,n._piecolormap={},n._sunburstcolormap={},n._treemapcolormap={},n._iciclecolormap={},n._funnelareacolormap={},o=0;o<a.length;o++)if(Array.isArray(r)&#038;&#038;r.indexOf(o)===-1){u[o]=f[o];continue}for(o=0;o<a.length;o++)i=a[o],i._arrayAttrs=Z6.findArrayAttributes(i),i._extremes={};var v=n._subplots.polar||[];for(o=0;o<v.length;o++)t.push(n[v[o]].radialaxis,n[v[o]].angularaxis);for(var h in n._colorAxes){var d=n[h];d.cauto!==!1&#038;&#038;(delete d.cmin,delete d.cmax)}var m=!1;function y(T){if(i=a[T],l=i._module,i.visible===!0&#038;&#038;i.transforms){if(l&#038;&#038;l.calc){var w=l.calc(e,i);w[0]&#038;&#038;w[0].t&#038;&#038;w[0].t._scene&#038;&#038;delete w[0].t._scene.dirty}for(s=0;s<i.transforms.length;s++){var b=i.transforms[s];l=transformsRegistry[b.type],l&#038;&#038;l.calcTransform&#038;&#038;(i._hasCalcTransform=!0,m=!0,l.calcTransform(e,i,b))}}}function g(T,w){if(i=a[T],l=i._module,!!l.isContainer===w){var b=[];if(i.visible===!0&#038;&#038;i._length!==0){delete i._indexToPoints;var M=i.transforms||[];for(s=M.length-1;s>=0;s--)if(M[s].enabled){i._indexToPoints=M[s]._indexToPoints;break}l&&l.calc&&(b=l.calc(e,i))}(!Array.isArray(b)||!b[0])&&(b=[{x:Y6,y:Y6}]),b[0].t||(b[0].t={}),b[0].trace=i,u[T]=b}}for(W6(t,a,n),o=0;o<a.length;o++)g(o,!0);for(o=0;o<a.length;o++)y(o);for(m&#038;&#038;W6(t,a,n),o=0;o<a.length;o++)g(o,!0);for(o=0;o<a.length;o++)g(o,!1);X6(e);var _=AY(t,e);if(_.length){for(n._numBoxes=0,n._numViolins=0,o=0;o<_.length;o++)g(_[o],!0);for(o=0;o<_.length;o++)g(_[o],!1);X6(e)}Wr.getComponentMethod(\"fx\",\"calc\")(e),Wr.getComponentMethod(\"errorbars\",\"calc\")(e)};var MY=\/(total|sum|min|max|mean|geometric mean|median) (ascending|descending)\/;function AY(e,r){var t=[],a,n,i,l,o;function s(U,H,Q){var Z=H._id.charAt(0);if(U===\"histogram2dcontour\"){var ne=H._counterAxes[0],ce=rn.getFromId(r,ne),ye=Z===\"x\"||ne===\"x\"&#038;&#038;ce.type===\"category\",Ce=Z===\"y\"||ne===\"y\"&#038;&#038;ce.type===\"category\";return function(re,Se){return re===0||Se===0||ye&#038;&#038;re===Q[Se].length-1||Ce&#038;&#038;Se===Q.length-1?-1:(Z===\"y\"?Se:re)-1}}else return function(re,Se){return Z===\"y\"?Se:re}}var u={min:function(U){return ur.aggNums(Math.min,null,U)},max:function(U){return ur.aggNums(Math.max,null,U)},sum:function(U){return ur.aggNums(function(H,Q){return H+Q},null,U)},total:function(U){return ur.aggNums(function(H,Q){return H+Q},null,U)},mean:function(U){return ur.mean(U)},\"geometric mean\":function(U){return ur.geometricMean(U)},median:function(U){return ur.median(U)}};function f(U,H){return U[1]-H[1]}function v(U,H){return H[1]-U[1]}for(a=0;a<e.length;a++){var h=e[a];if(h.type===\"category\"){var d=h.categoryorder.match(MY);if(d){var m=d[1],y=d[2],g=h._id.charAt(0),_=g===\"x\",T=[];for(n=0;n<h._categories.length;n++)T.push([h._categories[n],[]]);for(n=0;n<h._traceIndices.length;n++){var w=h._traceIndices[n],b=r._fullData[w];if(b.visible===!0){var M=b.type;Wr.traceIs(b,\"histogram\")&#038;&#038;(delete b._xautoBinFinished,delete b._yautoBinFinished);var S=M===\"splom\",k=M===\"scattergl\",q=r.calcdata[w];for(i=0;i<q.length;i++){var D=q[i],P,z;if(S){var F=b._axesDim[h._id];if(!_){var O=b._diag[F][0];O&#038;&#038;(h=r._fullLayout[rn.id2name(O)])}var I=D.trace.dimensions[F].values;for(l=0;l<I.length;l++)for(P=h._categoriesMap[I[l]],o=0;o<D.trace.dimensions.length;o++)if(o!==F){var V=D.trace.dimensions[o];T[P][1].push(V.values[l])}}else if(k){for(l=0;l<D.t.x.length;l++)_?(P=D.t.x[l],z=D.t.y[l]):(P=D.t.y[l],z=D.t.x[l]),T[P][1].push(z);D.t&#038;&#038;D.t._scene&#038;&#038;delete D.t._scene.dirty}else if(D.hasOwnProperty(\"z\")){z=D.z;var J=s(b.type,h,z);for(l=0;l<z.length;l++)for(o=0;o<z[l].length;o++)P=J(o,l),P+1&#038;&#038;T[P][1].push(z[l][o])}else for(P=D.p,P===void 0&#038;&#038;(P=D[g]),z=D.s,z===void 0&#038;&#038;(z=D.v),z===void 0&#038;&#038;(z=_?D.y:D.x),Array.isArray(z)||(z===void 0?z=[]:z=[z]),l=0;l<z.length;l++)T[P][1].push(z[l])}}}h._categoriesValue=T;var G=[];for(n=0;n<T.length;n++)G.push([T[n][0],u[m](T[n][1])]);G.sort(y===\"descending\"?v:f),h._categoriesAggregatedValue=G,h._initialCategories=G.map(function(U){return U[0]}),t=t.concat(h.sortByInitialCategories())}}}return t}function W6(e,r,t){var a={};function n(s){s.clearCalc(),s.type===\"multicategory\"&#038;&#038;s.setupMultiCategory(r),a[s._id]=1}ur.simpleMap(e,n);for(var i=t._axisMatchGroups||[],l=0;l<i.length;l++)for(var o in i[l])a[o]||n(t[rn.id2name(o)])}function X6(e){var r=e._fullLayout,t=r._visibleModules,a={},n,i,l;for(i=0;i<t.length;i++){var o=t[i],s=o.crossTraceCalc;if(s){var u=o.basePlotModule.name;a[u]?ur.pushUnique(a[u],s):a[u]=[s]}}for(l in a){var f=a[l],v=r._subplots[l];if(Array.isArray(v))for(n=0;n<v.length;n++){var h=v[n],d=l===\"cartesian\"?r._plots[h]:r[h];for(i=0;i<f.length;i++)f[i](e,d,h)}else for(i=0;i<f.length;i++)f[i](e)}}Qe.rehover=function(e){e._fullLayout._rehover&#038;&#038;e._fullLayout._rehover()};Qe.redrag=function(e){e._fullLayout._redrag&#038;&#038;e._fullLayout._redrag()};Qe.reselect=function(e){var r=e._fullLayout,t=(e.layout||{}).selections,a=r._previousSelections;r._previousSelections=t;var n=r._reselect||JSON.stringify(t)!==JSON.stringify(a);Wr.getComponentMethod(\"selections\",\"reselect\")(e,n)};Qe.generalUpdatePerTraceModule=function(e,r,t,a){var n=r.traceHash,i={},l;for(l=0;l<t.length;l++){var o=t[l],s=o[0].trace;s.visible&#038;&#038;(i[s.type]=i[s.type]||[],i[s.type].push(o))}for(var u in n)if(!i[u]){var f=n[u][0],v=f[0].trace;v.visible=!1,i[u]=[f]}for(var h in i){var d=i[h],m=d[0][0].trace._module;m.plot(e,r,ur.filterVisible(d),a)}r.traceHash=i};Qe.plotBasePlot=function(e,r,t,a,n){var i=Wr.getModule(e),l=hY(r.calcdata,i)[0];i.plot(r,l,a,n)};Qe.cleanBasePlot=function(e,r,t,a,n){var i=n._has&#038;&#038;n._has(e),l=t._has&#038;&#038;t._has(e);i&#038;&#038;!l&#038;&#038;n[\"_\"+e+\"layer\"].selectAll(\"g.trace\").remove()}});var _o=K(xo=>{\"use strict\";xo.xmlns=\"http:\/\/www.w3.org\/2000\/xmlns\/\";xo.svg=\"http:\/\/www.w3.org\/2000\/svg\";xo.xlink=\"http:\/\/www.w3.org\/1999\/xlink\";xo.svgAttrs={xmlns:xo.svg,\"xmlns:xlink\":xo.xlink}});var Aa=K((Zoe,r7)=>{\"use strict\";r7.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:\"right\",right:\"left\",top:\"bottom\",bottom:\"top\"}}});var ba=K(An=>{\"use strict\";var Ht=zr(),Ji=Fe(),kY=Ji.strTranslate,Zp=_o(),CY=Aa().LINE_SPACING,SY=\/([^$]*)([$]+[^$]*[$]+)([^$]*)\/;An.convertToTspans=function(e,r,t){var a=e.text(),n=!e.attr(\"data-notex\")&&r&&r._context.typesetMath&&typeof MathJax!=\"undefined\"&&a.match(SY),i=Ht.select(e.node().parentNode);if(i.empty())return;var l=e.attr(\"class\")?e.attr(\"class\").split(\" \")[0]:\"text\";l+=\"-math\",i.selectAll(\"svg.\"+l).remove(),i.selectAll(\"g.\"+l+\"-group\").remove(),e.style(\"display\",null).attr({\"data-unformatted\":a,\"data-math\":\"N\"});function o(){i.empty()||(l=e.attr(\"class\")+\"-math\",i.select(\"svg.\"+l).remove()),e.text(\"\").style(\"white-space\",\"pre\");var s=BY(e.node(),a);s&&e.style(\"pointer-events\",\"all\"),An.positionText(e),t&&t.call(e)}return n?(r&&r._promises||[]).push(new Promise(function(s){e.style(\"display\",\"none\");var u=parseInt(e.node().style.fontSize,10),f={fontSize:u};EY(n[2],f,function(v,h,d){i.selectAll(\"svg.\"+l).remove(),i.selectAll(\"g.\"+l+\"-group\").remove();var m=v&&v.select(\"svg\");if(!m||!m.node()){o(),s();return}var y=i.append(\"g\").classed(l+\"-group\",!0).attr({\"pointer-events\":\"none\",\"data-unformatted\":a,\"data-math\":\"Y\"});y.node().appendChild(m.node()),h&&h.node()&&m.node().insertBefore(h.node().cloneNode(!0),m.node().firstChild);var g=d.width,_=d.height;m.attr({class:l,height:_,preserveAspectRatio:\"xMinYMin meet\"}).style({overflow:\"visible\",\"pointer-events\":\"none\"});var T=e.node().style.fill||\"black\",w=m.select(\"g\");w.attr({fill:T,stroke:T});var b=w.node().getBoundingClientRect(),M=b.width,S=b.height;(M>g||S>_)&&(m.style(\"overflow\",\"hidden\"),b=m.node().getBoundingClientRect(),M=b.width,S=b.height);var k=+e.attr(\"x\"),q=+e.attr(\"y\"),D=u||e.node().getBoundingClientRect().height,P=-D\/4;if(l[0]===\"y\")y.attr({transform:\"rotate(\"+[-90,k,q]+\")\"+kY(-M\/2,P-S\/2)});else if(l[0]===\"l\")q=P-S\/2;else if(l[0]===\"a\"&&l.indexOf(\"atitle\")!==0)k=0,q=P;else{var z=e.attr(\"text-anchor\");k=k-M*(z===\"middle\"?.5:z===\"end\"?1:0),q=q+P-S\/2}m.attr({x:k,y:q}),t&&t.call(e,y),s(y)})})):o(),e};var LY=\/(<|&lt;|&#60;)\/g,qY=\/(>|&gt;|&#62;)\/g;function DY(e){return e.replace(LY,\"\\\\lt \").replace(qY,\"\\\\gt \")}var t7=[[\"$\",\"$\"],[\"\\\\(\",\"\\\\)\"]];function EY(e,r,t){var a=parseInt((MathJax.version||\"\").split(\".\")[0]);if(a!==2&&a!==3){Ji.warn(\"No MathJax version:\",MathJax.version);return}var n,i,l,o,s=function(){return i=Ji.extendDeepAll({},MathJax.Hub.config),l=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:\"none\",tex2jax:{inlineMath:t7},displayAlign:\"left\"})},u=function(){i=Ji.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=t7},f=function(){if(n=MathJax.Hub.config.menuSettings.renderer,n!==\"SVG\")return MathJax.Hub.setRenderer(\"SVG\")},v=function(){n=MathJax.config.startup.output,n!==\"svg\"&&(MathJax.config.startup.output=\"svg\")},h=function(){var T=\"math-output-\"+Ji.randstr({},64);o=Ht.select(\"body\").append(\"div\").attr({id:T}).style({visibility:\"hidden\",position:\"absolute\",\"font-size\":r.fontSize+\"px\"}).text(DY(e));var w=o.node();return a===2?MathJax.Hub.Typeset(w):MathJax.typeset([w])},d=function(){var T=o.select(a===2?\".MathJax_SVG\":\".MathJax\"),w=!T.empty()&&o.select(\"svg\").node();if(!w)Ji.log(\"There was an error in the tex syntax.\",e),t();else{var b=w.getBoundingClientRect(),M;a===2?M=Ht.select(\"body\").select(\"#MathJax_SVG_glyphs\"):M=T.select(\"defs\"),t(T,M,b)}o.remove()},m=function(){if(n!==\"SVG\")return MathJax.Hub.setRenderer(n)},y=function(){n!==\"svg\"&&(MathJax.config.startup.output=n)},g=function(){return l!==void 0&&(MathJax.Hub.processSectionDelay=l),MathJax.Hub.Config(i)},_=function(){MathJax.config=i};a===2?MathJax.Hub.Queue(s,f,h,d,m,g):a===3&&(u(),v(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){h(),d(),y(),_()}))}var l7={sup:\"font-size:70%\",sub:\"font-size:70%\",s:\"text-decoration:line-through\",u:\"text-decoration:underline\",b:\"font-weight:bold\",i:\"font-style:italic\",a:\"cursor:pointer\",span:\"\",em:\"font-style:italic;font-weight:bold\"},PY={sub:\"0.3em\",sup:\"-0.6em\"},RY={sub:\"-0.21em\",sup:\"0.42em\"},a7=\"\\u200B\",n7=[\"http:\",\"https:\",\"mailto:\",\"\",void 0,\":\"],o7=An.NEWLINES=\/(\\r\\n?|\\n)\/g,Kp=\/(<[^<>]*>)\/,Qp=\/<(\\\/?)([^ >]*)(\\s+(.*))?>\/i,zY=\/<br(\\s+.*)?>\/i;An.BR_TAG_ALL=\/<br(\\s+.*)?>\/gi;var s7=\/(^|[\\s\"'])style\\s*=\\s*(\"([^\"]*);?\"|'([^']*);?')\/i,u7=\/(^|[\\s\"'])href\\s*=\\s*(\"([^\"]*)\"|'([^']*)')\/i,f7=\/(^|[\\s\"'])target\\s*=\\s*(\"([^\"\\s]*)\"|'([^'\\s]*)')\/i,NY=\/(^|[\\s\"'])popup\\s*=\\s*(\"([\\w=,]*)\"|'([\\w=,]*)')\/i;function wo(e,r){if(!e)return null;var t=e.match(r),a=t&&(t[3]||t[4]);return a&&c0(a)}var FY=\/(^|;)\\s*color:\/;An.plainText=function(e,r){r=r||{};for(var t=r.len!==void 0&&r.len!==-1?r.len:1\/0,a=r.allowedTags!==void 0?r.allowedTags:[\"br\"],n=\"...\",i=n.length,l=e.split(Kp),o=[],s=\"\",u=0,f=0;f<l.length;f++){var v=l[f],h=v.match(Qp),d=h&#038;&#038;h[2].toLowerCase();if(d)a.indexOf(d)!==-1&#038;&#038;(o.push(v),s=d);else{var m=v.length;if(u+m<t)o.push(v),u+=m;else if(u<t){var y=t-u;s&#038;&#038;(s!==\"br\"||y<=i||m<=i)&#038;&#038;o.pop(),t>i?o.push(v.slice(0,Math.max(0,y-i))+n):o.push(v.slice(0,y));break}s=\"\"}}return o.join(\"\")};var IY={mu:\"\\u03BC\",amp:\"&\",lt:\"<\",gt:\">\",nbsp:\"\\xA0\",times:\"\\xD7\",plusmn:\"\\xB1\",deg:\"\\xB0\"},HY=\/&(#\\d+|#x[\\da-fA-F]+|[a-z]+);\/g;function c0(e){return e.replace(HY,function(r,t){var a;return t.charAt(0)===\"#\"?a=OY(t.charAt(1)===\"x\"?parseInt(t.slice(2),16):parseInt(t.slice(1),10)):a=IY[t],a||r})}An.convertEntities=c0;function OY(e){if(!(e>1114111)){var r=String.fromCodePoint;if(r)return r(e);var t=String.fromCharCode;return e<=65535?t(e):t((e>>10)+55232,e%1024+56320)}}function BY(e,r){r=r.replace(o7,\" \");var t=!1,a=[],n,i=-1;function l(){i++;var S=document.createElementNS(Zp.svg,\"tspan\");Ht.select(S).attr({class:\"line\",dy:i*CY+\"em\"}),e.appendChild(S),n=S;var k=a;if(a=[{node:S}],k.length>1)for(var q=1;q<k.length;q++)o(k[q])}function o(S){var k=S.type,q={},D;if(k===\"a\"){D=\"a\";var P=S.target,z=S.href,F=S.popup;z&#038;&#038;(q={\"xlink:xlink:show\":P===\"_blank\"||P.charAt(0)!==\"_\"?\"new\":\"replace\",target:P,\"xlink:xlink:href\":z},F&#038;&#038;(q.onclick='window.open(this.href.baseVal,this.target.baseVal,\"'+F+'\");return false;'))}else D=\"tspan\";S.style&#038;&#038;(q.style=S.style);var O=document.createElementNS(Zp.svg,D);if(k===\"sup\"||k===\"sub\"){s(n,a7),n.appendChild(O);var I=document.createElementNS(Zp.svg,\"tspan\");s(I,a7),Ht.select(I).attr(\"dy\",RY[k]),q.dy=PY[k],n.appendChild(O),n.appendChild(I)}else n.appendChild(O);Ht.select(O).attr(q),n=S.node=O,a.push(S)}function s(S,k){S.appendChild(document.createTextNode(k))}function u(S){if(a.length===1){Ji.log(\"Ignoring unexpected end tag <\/\"+S+\">.\",r);return}var k=a.pop();S!==k.type&&Ji.log(\"Start tag <\"+k.type+\"> doesnt match end tag <\"+S+\">. Pretending it did match.\",r),n=a[a.length-1].node}var f=zY.test(r);f?l():(n=e,a=[{node:e}]);for(var v=r.split(Kp),h=0;h<v.length;h++){var d=v[h],m=d.match(Qp),y=m&#038;&#038;m[2].toLowerCase(),g=l7[y];if(y===\"br\")l();else if(g===void 0)s(n,c0(d));else if(m[1])u(y);else{var _=m[4],T={type:y},w=wo(_,s7);if(w?(w=w.replace(FY,\"$1 fill:\"),g&#038;&#038;(w+=\";\"+g)):g&#038;&#038;(w=g),w&#038;&#038;(T.style=w),y===\"a\"){t=!0;var b=wo(_,u7);if(b){var M=c7(b);M&#038;&#038;(T.href=M,T.target=wo(_,f7)||\"_blank\",T.popup=wo(_,NY))}}o(T)}}return t}function c7(e){var r=encodeURI(decodeURI(e)),t=document.createElement(\"a\"),a=document.createElement(\"a\");t.href=e,a.href=r;var n=t.protocol,i=a.protocol;return n7.indexOf(n)!==-1&#038;&#038;n7.indexOf(i)!==-1?r:\"\"}An.sanitizeHTML=function(r){r=r.replace(o7,\" \");for(var t=document.createElement(\"p\"),a=t,n=[],i=r.split(Kp),l=0;l<i.length;l++){var o=i[l],s=o.match(Qp),u=s&#038;&#038;s[2].toLowerCase();if(u in l7)if(s[1])n.length&#038;&#038;(a=n.pop());else{var f=s[4],v=wo(f,s7),h=v?{style:v}:{};if(u===\"a\"){var d=wo(f,u7);if(d){var m=c7(d);if(m){h.href=m;var y=wo(f,f7);y&#038;&#038;(h.target=y)}}}var g=document.createElement(u);a.appendChild(g),Ht.select(g).attr(h),a=g,n.push(g)}else a.appendChild(document.createTextNode(c0(o)))}var _=\"innerHTML\";return t[_]};An.lineCount=function(r){return r.selectAll(\"tspan.line\").size()||1};An.positionText=function(r,t,a){return r.each(function(){var n=Ht.select(this);function i(s,u){return u===void 0?(u=n.attr(s),u===null&#038;&#038;(n.attr(s,0),u=0)):n.attr(s,u),u}var l=i(\"x\",t),o=i(\"y\",a);this.nodeName===\"text\"&#038;&#038;n.selectAll(\"tspan.line\").attr({x:l,y:o})})};function i7(e,r,t){var a=t.horizontalAlign,n=t.verticalAlign||\"top\",i=e.node().getBoundingClientRect(),l=r.node().getBoundingClientRect(),o,s,u;return n===\"bottom\"?s=function(){return i.bottom-o.height}:n===\"middle\"?s=function(){return i.top+(i.height-o.height)\/2}:s=function(){return i.top},a===\"right\"?u=function(){return i.right-o.width}:a===\"center\"?u=function(){return i.left+(i.width-o.width)\/2}:u=function(){return i.left},function(){o=this.node().getBoundingClientRect();var f=u()-l.left,v=s()-l.top,h=t.gd||{};if(t.gd){h._fullLayout._calcInverseTransform(h);var d=Ji.apply3DTransform(h._fullLayout._invTransform)(f,v);f=d[0],v=d[1]}return this.style({top:v+\"px\",left:f+\"px\",\"z-index\":1e3}),this}}var Jp=\"1px \";An.makeTextShadow=function(e){var r=Jp,t=Jp,a=Jp;return r+t+a+e+\", -\"+r+\"-\"+t+a+e+\", \"+r+\"-\"+t+a+e+\", -\"+r+t+a+e};An.makeEditable=function(e,r){var t=r.gd,a=r.delegate,n=Ht.dispatch(\"edit\",\"input\",\"cancel\"),i=a||e;if(e.style({\"pointer-events\":a?\"none\":\"all\"}),e.size()!==1)throw new Error(\"boo\");function l(){s(),e.style({opacity:0});var u=i.attr(\"class\"),f;u?f=\".\"+u.split(\" \")[0]+\"-math-group\":f=\"[class*=-math-group]\",f&#038;&#038;Ht.select(e.node().parentNode).select(f).style({opacity:0})}function o(u){var f=u.node(),v=document.createRange();v.selectNodeContents(f);var h=window.getSelection();h.removeAllRanges(),h.addRange(v),f.focus()}function s(){var u=Ht.select(t),f=u.select(\".svg-container\"),v=f.append(\"div\"),h=e.node().style,d=parseFloat(h.fontSize||12),m=r.text;m===void 0&#038;&#038;(m=e.attr(\"data-unformatted\")),v.classed(\"plugin-editable editable\",!0).style({position:\"absolute\",\"font-family\":h.fontFamily||\"Arial\",\"font-size\":d,color:r.fill||h.fill||\"black\",opacity:1,\"background-color\":r.background||\"transparent\",outline:\"#ffffff33 1px solid\",margin:[-d\/8+1,0,0,-1].join(\"px \")+\"px\",padding:\"0\",\"box-sizing\":\"border-box\"}).attr({contenteditable:!0}).text(m).call(i7(e,f,r)).on(\"blur\",function(){t._editing=!1,e.text(this.textContent).style({opacity:1});var y=Ht.select(this).attr(\"class\"),g;y?g=\".\"+y.split(\" \")[0]+\"-math-group\":g=\"[class*=-math-group]\",g&#038;&#038;Ht.select(e.node().parentNode).select(g).style({opacity:0});var _=this.textContent;Ht.select(this).transition().duration(0).remove(),Ht.select(document).on(\"mouseup\",null),n.edit.call(e,_)}).on(\"focus\",function(){var y=this;t._editing=!0,Ht.select(document).on(\"mouseup\",function(){if(Ht.event.target===y)return!1;document.activeElement===v.node()&#038;&#038;v.node().blur()})}).on(\"keyup\",function(){Ht.event.which===27?(t._editing=!1,e.style({opacity:1}),Ht.select(this).style({opacity:0}).on(\"blur\",function(){return!1}).transition().remove(),n.cancel.call(e,this.textContent)):(n.input.call(e,this.textContent),Ht.select(this).call(i7(e,f,r)))}).on(\"keydown\",function(){Ht.event.which===13&#038;&#038;this.blur()}).call(o)}return r.immediate?l():i.on(\"click\",l),Ht.rebind(e,n,\"on\")}});var kn=K((Koe,b7)=>{\"use strict\";var YY=zr(),h0=wn(),yf=Hr(),v0=Fe(),v7=Er(),UY=oo().isValid;function VY(e,r,t){var a=r?v0.nestedProperty(e,r).get()||{}:e,n=a[t||\"color\"];n&&n._inputArray&&(n=n._inputArray);var i=!1;if(v0.isArrayOrTypedArray(n)){for(var l=0;l<n.length;l++)if(yf(n[l])){i=!0;break}}return v0.isPlainObject(a)&#038;&#038;(i||a.showscale===!0||yf(a.cmin)&#038;&#038;yf(a.cmax)||UY(a.colorscale)||v0.isPlainObject(a.colorbar))}var h7=[\"showscale\",\"autocolorscale\",\"colorscale\",\"reversescale\",\"colorbar\"],mf=[\"min\",\"max\",\"mid\",\"auto\"];function p7(e){var r=e._colorAx,t=r||e,a={},n,i,l;for(i=0;i<h7.length;i++)l=h7[i],a[l]=t[l];if(r)for(n=\"c\",i=0;i<mf.length;i++)l=mf[i],a[l]=t[\"c\"+l];else{var o;for(i=0;i<mf.length;i++){if(l=mf[i],o=\"c\"+l,o in t){a[l]=t[o];continue}o=\"z\"+l,o in t&#038;&#038;(a[l]=t[o])}n=o.charAt(0)}return a._sync=function(s,u){var f=mf.indexOf(s)!==-1?n+s:s;t[f]=t[\"_\"+f]=u},a}function m7(e){for(var r=p7(e),t=r.min,a=r.max,n=r.reversescale?y7(r.colorscale):r.colorscale,i=n.length,l=new Array(i),o=new Array(i),s=0;s<i;s++){var u=n[s];l[s]=t+u[0]*(a-t),o[s]=u[1]}return{domain:l,range:o}}function y7(e){for(var r=e.length,t=new Array(r),a=r-1,n=0;a>=0;a--,n++){var i=e[a];t[n]=[1-i[0],i[1]]}return t}function g7(e,r){r=r||{};for(var t=e.domain,a=e.range,n=a.length,i=new Array(n),l=0;l<n;l++){var o=h0(a[l]).toRgb();i[l]=[o.r,o.g,o.b,o.a]}var s=YY.scale.linear().domain(t).range(i).clamp(!0),u=r.noNumericCheck,f=r.returnArray,v;return u&#038;&#038;f?v=s:u?v=function(h){return d7(s(h))}:f?v=function(h){return yf(h)?s(h):h0(h).isValid()?h:v7.defaultLine}:v=function(h){return yf(h)?d7(s(h)):h0(h).isValid()?h:v7.defaultLine},v.domain=s.domain,v.range=function(){return a},v}function GY(e,r){return g7(m7(e),r)}function d7(e){var r={r:e[0],g:e[1],b:e[2],a:e[3]};return h0(r).toRgbString()}b7.exports={hasColorscale:VY,extractOpts:p7,extractScale:m7,flipScale:y7,makeColorScaleFunc:g7,makeColorScaleFuncFromTrace:GY}});var d0=K((Qoe,w7)=>{\"use strict\";var x7=mp(),WY=x7.FORMAT_LINK,XY=x7.DATE_FORMAT_LINK;function ZY(e,r){return{valType:\"string\",dflt:\"\",editType:\"none\",description:(r?$p:_7)(\"hover text\",e)+[\"By default the values are formatted using \"+(r?\"generic number format\":\"`\"+e+\"axis.hoverformat`\")+\".\"].join(\" \")}}function $p(e,r){return[\"Sets the \"+e+\" formatting rule\"+(r?\"for `\"+r+\"` \":\"\"),\"using d3 formatting mini-languages\",\"which are very similar to those in Python. For numbers, see: \"+WY+\".\"].join(\" \")}function _7(e,r){return $p(e,r)+[\" And for dates see: \"+XY+\".\",\"We add two items to d3's date formatter:\",\"*%h* for half of the year as a decimal number as well as\",\"*%{n}f* for fractional seconds\",\"with n digits. For example, *2016-10-13 09:15:23.456* with tickformat\",\"*%H~%M~%S.%2f* would display *09~15~23.46*\"].join(\" \")}w7.exports={axisHoverFormat:ZY,descriptionOnlyNumbers:$p,descriptionWithDates:_7}});var jn=K((joe,H7)=>{\"use strict\";var T7=ga(),Ys=gi(),I7=xi().dash,em=Wt().extendFlat,M7=ct().templatedArray,$oe=co().templateFormatStringDescription,A7=d0().descriptionWithDates,JY=Gt().ONEDAY,wi=$t(),KY=wi.HOUR_PATTERN,QY=wi.WEEKDAY_PATTERN,jp={valType:\"enumerated\",values:[\"auto\",\"linear\",\"array\"],editType:\"ticks\",impliedEdits:{tick0:void 0,dtick:void 0}},$Y=em({},jp,{values:jp.values.slice().concat([\"sync\"])});function k7(e){return{valType:\"integer\",min:0,dflt:e?5:0,editType:\"ticks\"}}var C7={valType:\"any\",editType:\"ticks\",impliedEdits:{tickmode:\"linear\"}},S7={valType:\"any\",editType:\"ticks\",impliedEdits:{tickmode:\"linear\"}},L7={valType:\"data_array\",editType:\"ticks\"},q7={valType:\"enumerated\",values:[\"outside\",\"inside\",\"\"],editType:\"ticks\"};function D7(e){var r={valType:\"number\",min:0,editType:\"ticks\"};return e||(r.dflt=5),r}function E7(e){var r={valType:\"number\",min:0,editType:\"ticks\"};return e||(r.dflt=1),r}var P7={valType:\"color\",dflt:Ys.defaultLine,editType:\"ticks\"},R7={valType:\"color\",dflt:Ys.lightLine,editType:\"ticks\"};function z7(e){var r={valType:\"number\",min:0,editType:\"ticks\"};return e||(r.dflt=1),r}var N7=em({},I7,{editType:\"ticks\"}),F7={valType:\"boolean\",editType:\"ticks\"};H7.exports={visible:{valType:\"boolean\",editType:\"plot\"},color:{valType:\"color\",dflt:Ys.defaultLine,editType:\"ticks\"},title:{text:{valType:\"string\",editType:\"ticks\"},font:T7({editType:\"ticks\"}),standoff:{valType:\"number\",min:0,editType:\"ticks\"},editType:\"ticks\"},type:{valType:\"enumerated\",values:[\"-\",\"linear\",\"log\",\"date\",\"category\",\"multicategory\"],dflt:\"-\",editType:\"calc\",_noTemplating:!0},autotypenumbers:{valType:\"enumerated\",values:[\"convert types\",\"strict\"],dflt:\"convert types\",editType:\"calc\"},autorange:{valType:\"enumerated\",values:[!0,!1,\"reversed\",\"min reversed\",\"max reversed\",\"min\",\"max\"],dflt:!0,editType:\"axrange\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},autorangeoptions:{minallowed:{valType:\"any\",editType:\"plot\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},maxallowed:{valType:\"any\",editType:\"plot\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},clipmin:{valType:\"any\",editType:\"plot\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},clipmax:{valType:\"any\",editType:\"plot\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},include:{valType:\"any\",arrayOk:!0,editType:\"plot\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},editType:\"plot\"},rangemode:{valType:\"enumerated\",values:[\"normal\",\"tozero\",\"nonnegative\"],dflt:\"normal\",editType:\"plot\"},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"axrange\",impliedEdits:{\"^autorange\":!1},anim:!0},{valType:\"any\",editType:\"axrange\",impliedEdits:{\"^autorange\":!1},anim:!0}],editType:\"axrange\",impliedEdits:{autorange:!1},anim:!0},minallowed:{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}},maxallowed:{valType:\"any\",editType:\"plot\",impliedEdits:{\"^autorange\":!1}},fixedrange:{valType:\"boolean\",dflt:!1,editType:\"calc\"},modebardisable:{valType:\"flaglist\",flags:[\"autoscale\",\"zoominout\"],extras:[\"none\"],dflt:\"none\",editType:\"modebar\"},insiderange:{valType:\"info_array\",items:[{valType:\"any\",editType:\"plot\"},{valType:\"any\",editType:\"plot\"}],editType:\"plot\"},scaleanchor:{valType:\"enumerated\",values:[wi.idRegex.x.toString(),wi.idRegex.y.toString(),!1],editType:\"plot\"},scaleratio:{valType:\"number\",min:0,dflt:1,editType:\"plot\"},constrain:{valType:\"enumerated\",values:[\"range\",\"domain\"],editType:\"plot\"},constraintoward:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\",\"top\",\"middle\",\"bottom\"],editType:\"plot\"},matches:{valType:\"enumerated\",values:[wi.idRegex.x.toString(),wi.idRegex.y.toString()],editType:\"calc\"},rangebreaks:M7(\"rangebreak\",{enabled:{valType:\"boolean\",dflt:!0,editType:\"calc\"},bounds:{valType:\"info_array\",items:[{valType:\"any\",editType:\"calc\"},{valType:\"any\",editType:\"calc\"}],editType:\"calc\"},pattern:{valType:\"enumerated\",values:[QY,KY,\"\"],editType:\"calc\"},values:{valType:\"info_array\",freeLength:!0,editType:\"calc\",items:{valType:\"any\",editType:\"calc\"}},dvalue:{valType:\"number\",editType:\"calc\",min:0,dflt:JY},editType:\"calc\"}),tickmode:$Y,nticks:k7(),tick0:C7,dtick:S7,ticklabelstep:{valType:\"integer\",min:1,dflt:1,editType:\"ticks\"},tickvals:L7,ticktext:{valType:\"data_array\",editType:\"ticks\"},ticks:q7,tickson:{valType:\"enumerated\",values:[\"labels\",\"boundaries\"],dflt:\"labels\",editType:\"ticks\"},ticklabelmode:{valType:\"enumerated\",values:[\"instant\",\"period\"],dflt:\"instant\",editType:\"ticks\"},ticklabelposition:{valType:\"enumerated\",values:[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside left\",\"inside left\",\"outside right\",\"inside right\",\"outside bottom\",\"inside bottom\"],dflt:\"outside\",editType:\"calc\"},ticklabeloverflow:{valType:\"enumerated\",values:[\"allow\",\"hide past div\",\"hide past domain\"],editType:\"calc\"},ticklabelshift:{valType:\"integer\",dflt:0,editType:\"ticks\"},ticklabelstandoff:{valType:\"integer\",dflt:0,editType:\"ticks\"},ticklabelindex:{valType:\"integer\",arrayOk:!0,editType:\"calc\"},mirror:{valType:\"enumerated\",values:[!0,\"ticks\",!1,\"all\",\"allticks\"],dflt:!1,editType:\"ticks+layoutstyle\"},ticklen:D7(),tickwidth:E7(),tickcolor:P7,showticklabels:{valType:\"boolean\",dflt:!0,editType:\"ticks\"},labelalias:{valType:\"any\",dflt:!1,editType:\"ticks\"},automargin:{valType:\"flaglist\",flags:[\"height\",\"width\",\"left\",\"right\",\"top\",\"bottom\"],extras:[!0,!1],dflt:!1,editType:\"ticks\"},showspikes:{valType:\"boolean\",dflt:!1,editType:\"modebar\"},spikecolor:{valType:\"color\",dflt:null,editType:\"none\"},spikethickness:{valType:\"number\",dflt:3,editType:\"none\"},spikedash:em({},I7,{dflt:\"dash\",editType:\"none\"}),spikemode:{valType:\"flaglist\",flags:[\"toaxis\",\"across\",\"marker\"],dflt:\"toaxis\",editType:\"none\"},spikesnap:{valType:\"enumerated\",values:[\"data\",\"cursor\",\"hovered data\"],dflt:\"hovered data\",editType:\"none\"},tickfont:T7({editType:\"ticks\"}),tickangle:{valType:\"angle\",dflt:\"auto\",editType:\"ticks\"},autotickangles:{valType:\"info_array\",freeLength:!0,items:{valType:\"angle\"},dflt:[0,30,90],editType:\"ticks\"},tickprefix:{valType:\"string\",dflt:\"\",editType:\"ticks\"},showtickprefix:{valType:\"enumerated\",values:[\"all\",\"first\",\"last\",\"none\"],dflt:\"all\",editType:\"ticks\"},ticksuffix:{valType:\"string\",dflt:\"\",editType:\"ticks\"},showticksuffix:{valType:\"enumerated\",values:[\"all\",\"first\",\"last\",\"none\"],dflt:\"all\",editType:\"ticks\"},showexponent:{valType:\"enumerated\",values:[\"all\",\"first\",\"last\",\"none\"],dflt:\"all\",editType:\"ticks\"},exponentformat:{valType:\"enumerated\",values:[\"none\",\"e\",\"E\",\"power\",\"SI\",\"B\",\"SI extended\"],dflt:\"B\",editType:\"ticks\"},minexponent:{valType:\"number\",dflt:3,min:0,editType:\"ticks\"},separatethousands:{valType:\"boolean\",dflt:!1,editType:\"ticks\"},tickformat:{valType:\"string\",dflt:\"\",editType:\"ticks\",description:A7(\"tick label\")},tickformatstops:M7(\"tickformatstop\",{enabled:{valType:\"boolean\",dflt:!0,editType:\"ticks\"},dtickrange:{valType:\"info_array\",items:[{valType:\"any\",editType:\"ticks\"},{valType:\"any\",editType:\"ticks\"}],editType:\"ticks\"},value:{valType:\"string\",dflt:\"\",editType:\"ticks\"},editType:\"ticks\"}),hoverformat:{valType:\"string\",dflt:\"\",editType:\"none\",description:A7(\"hover text\")},unifiedhovertitle:{text:{valType:\"string\",dflt:\"\",editType:\"none\"},editType:\"none\"},showline:{valType:\"boolean\",dflt:!1,editType:\"ticks+layoutstyle\"},linecolor:{valType:\"color\",dflt:Ys.defaultLine,editType:\"layoutstyle\"},linewidth:{valType:\"number\",min:0,dflt:1,editType:\"ticks+layoutstyle\"},showgrid:F7,gridcolor:R7,gridwidth:z7(),griddash:N7,zeroline:{valType:\"boolean\",editType:\"ticks\"},zerolinecolor:{valType:\"color\",dflt:Ys.defaultLine,editType:\"ticks\"},zerolinelayer:{valType:\"enumerated\",values:[\"above traces\",\"below traces\"],dflt:\"below traces\",editType:\"plot\"},zerolinewidth:{valType:\"number\",dflt:1,editType:\"ticks\"},showdividers:{valType:\"boolean\",dflt:!0,editType:\"ticks\"},dividercolor:{valType:\"color\",dflt:Ys.defaultLine,editType:\"ticks\"},dividerwidth:{valType:\"number\",dflt:1,editType:\"ticks\"},anchor:{valType:\"enumerated\",values:[\"free\",wi.idRegex.x.toString(),wi.idRegex.y.toString()],editType:\"plot\"},side:{valType:\"enumerated\",values:[\"top\",\"bottom\",\"left\",\"right\"],editType:\"plot\"},overlaying:{valType:\"enumerated\",values:[\"free\",wi.idRegex.x.toString(),wi.idRegex.y.toString()],editType:\"plot\"},minor:{tickmode:jp,nticks:k7(\"minor\"),tick0:C7,dtick:S7,tickvals:L7,ticks:q7,ticklen:D7(\"minor\"),tickwidth:E7(\"minor\"),tickcolor:P7,gridcolor:R7,gridwidth:z7(\"minor\"),griddash:N7,showgrid:F7,editType:\"ticks\"},minorloglabels:{valType:\"enumerated\",values:[\"small digits\",\"complete\",\"none\"],dflt:\"small digits\",editType:\"calc\"},layer:{valType:\"enumerated\",values:[\"above traces\",\"below traces\"],dflt:\"above traces\",editType:\"plot\"},domain:{valType:\"info_array\",items:[{valType:\"number\",min:0,max:1,editType:\"plot\"},{valType:\"number\",min:0,max:1,editType:\"plot\"}],dflt:[0,1],editType:\"plot\"},position:{valType:\"number\",min:0,max:1,dflt:0,editType:\"plot\"},autoshift:{valType:\"boolean\",dflt:!1,editType:\"plot\"},shift:{valType:\"number\",editType:\"plot\"},categoryorder:{valType:\"enumerated\",values:[\"trace\",\"category ascending\",\"category descending\",\"array\",\"total ascending\",\"total descending\",\"min ascending\",\"min descending\",\"max ascending\",\"max descending\",\"sum ascending\",\"sum descending\",\"mean ascending\",\"mean descending\",\"geometric mean ascending\",\"geometric mean descending\",\"median ascending\",\"median descending\"],dflt:\"trace\",editType:\"calc\"},categoryarray:{valType:\"data_array\",editType:\"calc\"},uirevision:{valType:\"any\",editType:\"none\"},editType:\"calc\"}});var p0=K((ese,Y7)=>{\"use strict\";var dt=jn(),O7=ga(),B7=Wt().extendFlat,jY=bi().overrideAll;Y7.exports=jY({orientation:{valType:\"enumerated\",values:[\"h\",\"v\"],dflt:\"v\"},thicknessmode:{valType:\"enumerated\",values:[\"fraction\",\"pixels\"],dflt:\"pixels\"},thickness:{valType:\"number\",min:0,dflt:30},lenmode:{valType:\"enumerated\",values:[\"fraction\",\"pixels\"],dflt:\"fraction\"},len:{valType:\"number\",min:0,dflt:1},x:{valType:\"number\"},xref:{valType:\"enumerated\",dflt:\"paper\",values:[\"container\",\"paper\"],editType:\"layoutstyle\"},xanchor:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"]},xpad:{valType:\"number\",min:0,dflt:10},y:{valType:\"number\"},yref:{valType:\"enumerated\",dflt:\"paper\",values:[\"container\",\"paper\"],editType:\"layoutstyle\"},yanchor:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"]},ypad:{valType:\"number\",min:0,dflt:10},outlinecolor:dt.linecolor,outlinewidth:dt.linewidth,bordercolor:dt.linecolor,borderwidth:{valType:\"number\",min:0,dflt:0},bgcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\"},tickmode:dt.minor.tickmode,nticks:dt.nticks,tick0:dt.tick0,dtick:dt.dtick,tickvals:dt.tickvals,ticktext:dt.ticktext,ticks:B7({},dt.ticks,{dflt:\"\"}),ticklabeloverflow:B7({},dt.ticklabeloverflow,{}),ticklabelposition:{valType:\"enumerated\",values:[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside left\",\"inside left\",\"outside right\",\"inside right\",\"outside bottom\",\"inside bottom\"],dflt:\"outside\"},ticklen:dt.ticklen,tickwidth:dt.tickwidth,tickcolor:dt.tickcolor,ticklabelstep:dt.ticklabelstep,showticklabels:dt.showticklabels,labelalias:dt.labelalias,tickfont:O7({}),tickangle:dt.tickangle,tickformat:dt.tickformat,tickformatstops:dt.tickformatstops,tickprefix:dt.tickprefix,showtickprefix:dt.showtickprefix,ticksuffix:dt.ticksuffix,showticksuffix:dt.showticksuffix,separatethousands:dt.separatethousands,exponentformat:dt.exponentformat,minexponent:dt.minexponent,showexponent:dt.showexponent,title:{text:{valType:\"string\"},font:O7({}),side:{valType:\"enumerated\",values:[\"right\",\"top\",\"bottom\"]}}},\"colorbars\",\"from-root\")});var gf=K((tse,V7)=>{\"use strict\";var eU=p0(),rU=Ms().counter,tU=Tp(),U7=oo().scales,rse=tU(U7);function m0(e){return\"`\"+e+\"`\"}V7.exports=function(r,t){r=r||\"\",t=t||{};var a=t.cLetter||\"c\",n=\"onlyIfNumerical\"in t?t.onlyIfNumerical:!!r,i=\"noScale\"in t?t.noScale:r===\"marker.line\",l=\"showScaleDflt\"in t?t.showScaleDflt:a===\"z\",o=typeof t.colorscaleDflt==\"string\"?U7[t.colorscaleDflt]:null,s=t.editTypeOverride||\"\",u=r?r+\".\":\"\",f,v;\"colorAttr\"in t?(f=t.colorAttr,v=t.colorAttr):(f={z:\"z\",c:\"color\"}[a],v=\"in \"+m0(u+f));var h=n?\" Has an effect only if \"+v+\" is set to a numerical array.\":\"\",d=a+\"auto\",m=a+\"min\",y=a+\"max\",g=a+\"mid\",_=m0(u+d),T=m0(u+m),w=m0(u+y),b=T+\" and \"+w,M={};M[m]=M[y]=void 0;var S={};S[d]=!1;var k={};return f===\"color\"&&(k.color={valType:\"color\",arrayOk:!0,editType:s||\"style\"},t.anim&&(k.color.anim=!0)),k[d]={valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:M},k[m]={valType:\"number\",dflt:null,editType:s||\"plot\",impliedEdits:S},k[y]={valType:\"number\",dflt:null,editType:s||\"plot\",impliedEdits:S},k[g]={valType:\"number\",dflt:null,editType:\"calc\",impliedEdits:M},k.colorscale={valType:\"colorscale\",editType:\"calc\",dflt:o,impliedEdits:{autocolorscale:!1}},k.autocolorscale={valType:\"boolean\",dflt:t.autoColorDflt!==!1,editType:\"calc\",impliedEdits:{colorscale:void 0}},k.reversescale={valType:\"boolean\",dflt:!1,editType:\"plot\"},i||(k.showscale={valType:\"boolean\",dflt:l,editType:\"calc\"},k.colorbar=eU),t.noColorAxis||(k.coloraxis={valType:\"subplotid\",regex:rU(\"coloraxis\"),dflt:null,editType:\"calc\"}),k}});var tm=K((ase,G7)=>{\"use strict\";var aU=Wt().extendFlat,nU=gf(),rm=oo().scales;G7.exports={editType:\"calc\",colorscale:{editType:\"calc\",sequential:{valType:\"colorscale\",dflt:rm.Reds,editType:\"calc\"},sequentialminus:{valType:\"colorscale\",dflt:rm.Blues,editType:\"calc\"},diverging:{valType:\"colorscale\",dflt:rm.RdBu,editType:\"calc\"}},coloraxis:aU({_isSubplotObj:!0,editType:\"calc\"},nU(\"\",{colorAttr:\"corresponding trace color array(s)\",noColorAxis:!0,showScaleDflt:!0}))}});var am=K((nse,W7)=>{\"use strict\";var iU=Fe();W7.exports=function(r){return iU.isPlainObject(r.colorbar)}});var lm=K(im=>{\"use strict\";var nm=Hr(),X7=Fe(),Z7=Gt(),lU=Z7.ONEDAY,oU=Z7.ONEWEEK;im.dtick=function(e,r){var t=r===\"log\",a=r===\"date\",n=r===\"category\",i=a?lU:1;if(!e)return i;if(nm(e))return e=Number(e),e<=0?i:n?Math.max(1,Math.round(e)):a?Math.max(.1,e):e;if(typeof e!=\"string\"||!(a||t))return i;var l=e.charAt(0),o=e.slice(1);return o=nm(o)?Number(o):0,o<=0||!(a&#038;&#038;l===\"M\"&#038;&#038;o===Math.round(o)||t&#038;&#038;l===\"L\"||t&#038;&#038;l===\"D\"&#038;&#038;(o===1||o===2))?i:e};im.tick0=function(e,r,t,a){if(r===\"date\")return X7.cleanDate(e,X7.dateTick0(t,a%oU===0?1:0));if(!(a===\"D1\"||a===\"D2\"))return nm(e)?Number(e):0}});var om=K((lse,K7)=>{\"use strict\";var J7=lm(),sU=Fe().isArrayOrTypedArray,uU=Ka().isTypedArraySpec,fU=Ka().decodeTypedArraySpec;K7.exports=function(r,t,a,n,i){i||(i={});var l=i.isMinor,o=l?r.minor||{}:r,s=l?t.minor:t,u=l?\"minor.\":\"\";function f(T){var w=o[T];return uU(w)&&(w=fU(w)),w!==void 0?w:(s._template||{})[T]}var v=f(\"tick0\"),h=f(\"dtick\"),d=f(\"tickvals\"),m=sU(d)?\"array\":h?\"linear\":\"auto\",y=a(u+\"tickmode\",m);if(y===\"auto\"||y===\"sync\")a(u+\"nticks\");else if(y===\"linear\"){var g=s.dtick=J7.dtick(h,n);s.tick0=J7.tick0(v,n,t.calendar,g)}else if(n!==\"multicategory\"){var _=a(u+\"tickvals\");_===void 0?s.tickmode=\"auto\":l||a(\"ticktext\")}}});var um=K((ose,$7)=>{\"use strict\";var sm=Fe(),Q7=jn();$7.exports=function(r,t,a,n){var i=n.isMinor,l=i?r.minor||{}:r,o=i?t.minor:t,s=i?Q7.minor:Q7,u=i?\"minor.\":\"\",f=sm.coerce2(l,o,s,\"ticklen\",i?(t.ticklen||5)*.6:void 0),v=sm.coerce2(l,o,s,\"tickwidth\",i?t.tickwidth||1:void 0),h=sm.coerce2(l,o,s,\"tickcolor\",(i?t.tickcolor:void 0)||o.color),d=a(u+\"ticks\",!i&&n.outerTicks||f||v||h?\"outside\":\"\");d||(delete o.ticklen,delete o.tickwidth,delete o.tickcolor)}});var fm=K((sse,j7)=>{\"use strict\";j7.exports=function(r){var t=[\"showexponent\",\"showtickprefix\",\"showticksuffix\"],a=t.filter(function(i){return r[i]!==void 0}),n=function(i){return r[i]===r[a[0]]};if(a.every(n)||a.length===1)return r[a[0]]}});var ei=K((use,e9)=>{\"use strict\";var y0=Fe(),cU=ct();e9.exports=function(r,t,a){var n=a.name,i=a.inclusionAttr||\"visible\",l=t[n],o=y0.isArrayOrTypedArray(r[n])?r[n]:[],s=t[n]=[],u=cU.arrayTemplater(t,n,i),f,v;for(f=0;f<o.length;f++){var h=o[f];y0.isPlainObject(h)?v=u.newItem(h):(v=u.newItem({}),v[i]=!1),v._index=f,v[i]!==!1&#038;&#038;a.handleItemDefaults(h,v,t,a),s.push(v)}var d=u.defaultItems();for(f=0;f<d.length;f++)v=d[f],v._index=s.length,a.handleItemDefaults({},v,t,a,{}),s.push(v);if(y0.isArrayOrTypedArray(l)){var m=Math.min(l.length,s.length);for(f=0;f<m;f++)y0.relinkPrivateKeys(s[f],l[f])}return s}});var vm=K((fse,t9)=>{\"use strict\";var cm=Fe(),vU=Er().contrast,r9=jn(),hU=fm(),dU=ei();t9.exports=function(r,t,a,n,i){i||(i={});var l=a(\"labelalias\");cm.isPlainObject(l)||delete t.labelalias;var o=hU(r),s=a(\"showticklabels\");if(s){i.noTicklabelshift||a(\"ticklabelshift\"),i.noTicklabelstandoff||a(\"ticklabelstandoff\");var u=i.font||{},f=t.color,v=t.ticklabelposition||\"\",h=v.indexOf(\"inside\")!==-1?vU(i.bgColor):f&&f!==r9.color.dflt?f:u.color;if(cm.coerceFont(a,\"tickfont\",u,{overrideDflt:{color:h}}),!i.noTicklabelstep&&n!==\"multicategory\"&&n!==\"log\"&&a(\"ticklabelstep\"),!i.noAng){var d=a(\"tickangle\");!i.noAutotickangles&&d===\"auto\"&&a(\"autotickangles\")}if(n!==\"category\"){var m=a(\"tickformat\");dU(r,t,{name:\"tickformatstops\",inclusionAttr:\"enabled\",handleItemDefaults:pU}),t.tickformatstops.length||delete t.tickformatstops,!i.noExp&&!m&&n!==\"date\"&&(a(\"showexponent\",o),a(\"exponentformat\"),a(\"minexponent\"),a(\"separatethousands\"))}!i.noMinorloglabels&&n===\"log\"&&a(\"minorloglabels\")}};function pU(e,r){function t(n,i){return cm.coerce(e,r,r9.tickformatstops,n,i)}var a=t(\"enabled\");a&&(t(\"dtickrange\"),t(\"value\"))}});var hm=K((cse,a9)=>{\"use strict\";var mU=fm();a9.exports=function(r,t,a,n,i){i||(i={});var l=i.tickSuffixDflt,o=mU(r),s=a(\"tickprefix\");s&&a(\"showtickprefix\",o);var u=a(\"ticksuffix\",l);u&&a(\"showticksuffix\",o)}});var dm=K((vse,n9)=>{\"use strict\";var Tl=Fe(),yU=ct(),gU=om(),bU=um(),xU=vm(),_U=hm(),wU=p0();n9.exports=function(r,t,a){var n=yU.newContainer(t,\"colorbar\"),i=r.colorbar||{};function l(z,F){return Tl.coerce(i,n,wU,z,F)}var o=a.margin||{t:0,b:0,l:0,r:0},s=a.width-o.l-o.r,u=a.height-o.t-o.b,f=l(\"orientation\"),v=f===\"v\",h=l(\"thicknessmode\");l(\"thickness\",h===\"fraction\"?30\/(v?s:u):30);var d=l(\"lenmode\");l(\"len\",d===\"fraction\"?1:v?u:s);var m=l(\"yref\"),y=l(\"xref\"),g=m===\"paper\",_=y===\"paper\",T,w,b,M=\"left\";v?(b=\"middle\",M=_?\"left\":\"right\",T=_?1.02:1,w=.5):(b=g?\"bottom\":\"top\",M=\"center\",T=.5,w=g?1.02:1),Tl.coerce(i,n,{x:{valType:\"number\",min:_?-2:0,max:_?3:1,dflt:T}},\"x\"),Tl.coerce(i,n,{y:{valType:\"number\",min:g?-2:0,max:g?3:1,dflt:w}},\"y\"),l(\"xanchor\",M),l(\"xpad\"),l(\"yanchor\",b),l(\"ypad\"),Tl.noneOrAll(i,n,[\"x\",\"y\"]),l(\"outlinecolor\"),l(\"outlinewidth\"),l(\"bordercolor\"),l(\"borderwidth\"),l(\"bgcolor\");var S=Tl.coerce(i,n,{ticklabelposition:{valType:\"enumerated\",dflt:\"outside\",values:v?[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside bottom\",\"inside bottom\"]:[\"outside\",\"inside\",\"outside left\",\"inside left\",\"outside right\",\"inside right\"]}},\"ticklabelposition\");l(\"ticklabeloverflow\",S.indexOf(\"inside\")!==-1?\"hide past domain\":\"hide past div\"),gU(i,n,l,\"linear\");var k=a.font,q={noAutotickangles:!0,noTicklabelshift:!0,noTicklabelstandoff:!0,outerTicks:!1,font:k};S.indexOf(\"inside\")!==-1&&(q.bgColor=\"black\"),_U(i,n,l,\"linear\",q),xU(i,n,l,\"linear\",q),bU(i,n,l,\"linear\",q),l(\"title.text\",a._dfltTitle.colorbar);var D=n.showticklabels?n.tickfont:k,P=Tl.extendFlat({},k,{family:D.family,size:Tl.bigFont(D.size)});Tl.coerceFont(l,\"title.font\",P),l(\"title.side\",v?\"top\":\"right\")}});var Us=K((hse,o9)=>{\"use strict\";var i9=Hr(),mm=Fe(),TU=am(),MU=dm(),l9=oo().isValid,AU=br().traceIs;function pm(e,r){var t=r.slice(0,r.length-1);return r?mm.nestedProperty(e,t).get()||{}:e}o9.exports=function e(r,t,a,n,i){var l=i.prefix,o=i.cLetter,s=\"_module\"in t,u=pm(r,l),f=pm(t,l),v=pm(t._template||{},l)||{},h=function(){return delete r.coloraxis,delete t.coloraxis,e(r,t,a,n,i)};if(s){var d=a._colorAxes||{},m=n(l+\"coloraxis\");if(m){var y=AU(t,\"contour\")&&mm.nestedProperty(t,\"contours.coloring\").get()||\"heatmap\",g=d[m];g?(g[2].push(h),g[0]!==y&&(g[0]=!1,mm.warn([\"Ignoring coloraxis:\",m,\"setting\",\"as it is linked to incompatible colorscales.\"].join(\" \")))):d[m]=[y,t,[h]];return}}var _=u[o+\"min\"],T=u[o+\"max\"],w=i9(_)&&i9(T)&&_<T,b=n(l+o+\"auto\",!w);b?n(l+o+\"mid\"):(n(l+o+\"min\"),n(l+o+\"max\"));var M=u.colorscale,S=v.colorscale,k;if(M!==void 0&#038;&#038;(k=!l9(M)),S!==void 0&#038;&#038;(k=!l9(S)),n(l+\"autocolorscale\",k),n(l+\"colorscale\"),n(l+\"reversescale\"),l!==\"marker.line.\"){var q;l&#038;&#038;s&#038;&#038;(q=TU(u));var D=n(l+\"showscale\",q);D&#038;&#038;(l&#038;&#038;v&#038;&#038;(f._template=v),MU(u,f,a))}}});var c9=K((dse,f9)=>{\"use strict\";var s9=Fe(),kU=ct(),u9=tm(),CU=Us();f9.exports=function(r,t){function a(v,h){return s9.coerce(r,t,u9,v,h)}a(\"colorscale.sequential\"),a(\"colorscale.sequentialminus\"),a(\"colorscale.diverging\");var n=t._colorAxes,i,l;function o(v,h){return s9.coerce(i,l,u9.coloraxis,v,h)}for(var s in n){var u=n[s];if(u[0])i=r[s]||{},l=kU.newContainer(t,s,\"coloraxis\"),l._name=s,CU(i,l,t,o,{prefix:\"\",cLetter:\"c\"});else{for(var f=0;f<u[2].length;f++)u[2][f]();delete t._colorAxes[s]}}}});var h9=K((pse,v9)=>{\"use strict\";var SU=Fe(),LU=kn().hasColorscale,qU=kn().extractOpts;v9.exports=function(r,t){function a(f,v){var h=f[\"_\"+v];h!==void 0&&(f[v]=h)}function n(f,v){var h=v.container?SU.nestedProperty(f,v.container).get():f;if(h)if(h.coloraxis)h._colorAx=t[h.coloraxis];else{var d=qU(h),m=d.auto;(m||d.min===void 0)&&a(h,v.min),(m||d.max===void 0)&&a(h,v.max),d.autocolorscale&&a(h,\"colorscale\")}}for(var i=0;i<r.length;i++){var l=r[i],o=l._module.colorbar;if(o)if(Array.isArray(o))for(var s=0;s<o.length;s++)n(l,o[s]);else n(l,o);LU(l,\"marker.line\")&#038;&#038;n(l,{container:\"marker.line\",min:\"cmin\",max:\"cmax\"})}for(var u in t._colorAxes)n(t[u],{min:\"cmin\",max:\"cmax\"})}});var g0=K((mse,p9)=>{\"use strict\";var d9=Hr(),ym=Fe(),DU=kn().extractOpts;p9.exports=function(r,t,a){var n=r._fullLayout,i=a.vals,l=a.containerStr,o=l?ym.nestedProperty(t,l).get():t,s=DU(o),u=s.auto!==!1,f=s.min,v=s.max,h=s.mid,d=function(){return ym.aggNums(Math.min,null,i)},m=function(){return ym.aggNums(Math.max,null,i)};if(f===void 0?f=d():u&&(o._colorAx&&d9(f)?f=Math.min(f,d()):f=d()),v===void 0?v=m():u&&(o._colorAx&&d9(v)?v=Math.max(v,m()):v=m()),u&&h!==void 0&&(v-h>h-f?f=h-(v-h):v-h<h-f&#038;&#038;(v=h+(h-f))),f===v&#038;&#038;(f-=.5,v+=.5),s._sync(\"min\",f),s._sync(\"max\",v),s.autocolorscale){var y;f*v<0?y=n.colorscale.diverging:f>=0?y=n.colorscale.sequential:y=n.colorscale.sequentialminus,s._sync(\"colorscale\",y)}}});var gm=K((yse,m9)=>{\"use strict\";var b0=oo(),Vs=kn();m9.exports={moduleType:\"component\",name:\"colorscale\",attributes:gf(),layoutAttributes:tm(),supplyLayoutDefaults:c9(),handleDefaults:Us(),crossTraceDefaults:h9(),calc:g0(),scales:b0.scales,defaultScale:b0.defaultScale,getScale:b0.get,isValidScale:b0.isValid,hasColorscale:Vs.hasColorscale,extractOpts:Vs.extractOpts,extractScale:Vs.extractScale,flipScale:Vs.flipScale,makeColorScaleFunc:Vs.makeColorScaleFunc,makeColorScaleFuncFromTrace:Vs.makeColorScaleFuncFromTrace}});var un=K((gse,g9)=>{\"use strict\";var y9=Fe(),EU=Ka().isTypedArraySpec;g9.exports={hasLines:function(e){return e.visible&&e.mode&&e.mode.indexOf(\"lines\")!==-1},hasMarkers:function(e){return e.visible&&(e.mode&&e.mode.indexOf(\"markers\")!==-1||e.type===\"splom\")},hasText:function(e){return e.visible&&e.mode&&e.mode.indexOf(\"text\")!==-1},isBubble:function(e){var r=e.marker;return y9.isPlainObject(r)&&(y9.isArrayOrTypedArray(r.size)||EU(r.size))}}});var x9=K((bse,b9)=>{\"use strict\";var PU=Hr();b9.exports=function(r,t){t||(t=2);var a=r.marker,n=a.sizeref||1,i=a.sizemin||0,l=a.sizemode===\"area\"?function(o){return Math.sqrt(o\/n)}:function(o){return o\/n};return function(o){var s=l(o\/t);return PU(s)&&s>0?Math.max(s,i):0}}});var Ti=K(ka=>{\"use strict\";var x0=Fe();ka.getSubplot=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo};ka.isTraceInSubplots=function(e,r){if(e.type===\"splom\"){for(var t=e.xaxes||[],a=e.yaxes||[],n=0;n<t.length;n++)for(var i=0;i<a.length;i++)if(r.indexOf(t[n]+a[i])!==-1)return!0;return!1}return r.indexOf(ka.getSubplot(e))!==-1};ka.flat=function(e,r){for(var t=new Array(e.length),a=0;a<e.length;a++)t[a]=r;return t};ka.p2c=function(e,r){for(var t=new Array(e.length),a=0;a<e.length;a++)t[a]=e[a].p2c(r);return t};ka.getDistanceFunction=function(e,r,t,a){return e===\"closest\"?a||ka.quadrature(r,t):e.charAt(0)===\"x\"?r:t};ka.getClosest=function(e,r,t){if(t.index!==!1)t.index>=0&&t.index<e.length?t.distance=0:t.index=!1;else for(var a=1\/0,n=e.length,i=0;i<n;i++)a=r(e[i]),a<=t.distance&#038;&#038;(t.index=i,t.distance=a);return t};ka.inbox=function(e,r,t){return e*r<0||e===0?t:1\/0};ka.quadrature=function(e,r){return function(t){var a=e(t),n=r(t);return Math.sqrt(a*a+n*n)}};ka.makeEventData=function(e,r,t){var a=\"index\"in e?e.index:e.pointNumber,n={data:r._input,fullData:r,curveNumber:r.index,pointNumber:a};if(r._indexToPoints){var i=r._indexToPoints[a];i.length===1?n.pointIndex=i[0]:n.pointIndices=i}else n.pointIndex=a;return r._module.eventData?n=r._module.eventData(n,e,r,t,a):(\"xVal\"in e?n.x=e.xVal:\"x\"in e&#038;&#038;(n.x=e.x),\"yVal\"in e?n.y=e.yVal:\"y\"in e&#038;&#038;(n.y=e.y),e.xa&#038;&#038;(n.xaxis=e.xa),e.ya&#038;&#038;(n.yaxis=e.ya),e.zLabelVal!==void 0&#038;&#038;(n.z=e.zLabelVal)),ka.appendArrayPointValue(n,r,a),n};ka.appendArrayPointValue=function(e,r,t){var a=r._arrayAttrs;if(a)for(var n=0;n<a.length;n++){var i=a[n],l=_9(i);if(e[l]===void 0){var o=x0.nestedProperty(r,i).get(),s=w9(o,t);s!==void 0&#038;&#038;(e[l]=s)}}};ka.appendArrayMultiPointValues=function(e,r,t){var a=r._arrayAttrs;if(a)for(var n=0;n<a.length;n++){var i=a[n],l=_9(i);if(e[l]===void 0){for(var o=x0.nestedProperty(r,i).get(),s=new Array(t.length),u=0;u<t.length;u++)s[u]=w9(o,t[u]);e[l]=s}}};var RU={ids:\"id\",locations:\"location\",labels:\"label\",values:\"value\",\"marker.colors\":\"color\",parents:\"parent\"};function _9(e){return RU[e]||e}function w9(e,r){if(Array.isArray(r)){if(x0.isArrayOrTypedArray(e)&#038;&#038;x0.isArrayOrTypedArray(e[r[0]]))return e[r[0]][r[1]]}else return e[r]}var zU={x:!0,y:!0},NU={\"x unified\":!0,\"y unified\":!0};ka.isUnifiedHover=function(e){return typeof e!=\"string\"?!1:!!NU[e]};ka.isXYhover=function(e){return typeof e!=\"string\"?!1:!!zU[e]}});var xm=K((_se,T9)=>{T9.exports=IU;var bm={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},FU=\/([astvzqmhlc])([^astvzqmhlc]*)\/ig;function IU(e){var r=[];return e.replace(FU,function(t,a,n){var i=a.toLowerCase();for(n=OU(n),i==\"m\"&&n.length>2&&(r.push([a].concat(n.splice(0,2))),i=\"l\",a=a==\"m\"?\"l\":\"L\");;){if(n.length==bm[i])return n.unshift(a),r.push(n);if(n.length<bm[i])throw new Error(\"malformed path data\");r.push([a].concat(n.splice(0,bm[i])))}}),r}var HU=\/-?[0-9]*\\.?[0-9]+(?:e[-+]?\\d+)?\/ig;function OU(e){var r=e.match(HU);return r?r.map(Number):[]}});var q9=K((wse,L9)=>{\"use strict\";var BU=xm(),Je=function(e,r){return r?Math.round(e*(r=Math.pow(10,r)))\/r:Math.round(e)},Ar=\"M0,0Z\",M9=Math.sqrt(2),Ml=Math.sqrt(3),_m=Math.PI,wm=Math.cos,Tm=Math.sin;L9.exports={circle:{n:0,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=\"M\"+a+\",0A\"+a+\",\"+a+\" 0 1,1 0,-\"+a+\"A\"+a+\",\"+a+\" 0 0,1 \"+a+\",0Z\";return t?Cr(r,t,n):n}},square:{n:1,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M\"+a+\",\"+a+\"H-\"+a+\"V-\"+a+\"H\"+a+\"Z\")}},diamond:{n:2,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.3,2);return Cr(r,t,\"M\"+a+\",0L0,\"+a+\"L-\"+a+\",0L0,-\"+a+\"Z\")}},cross:{n:3,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.4,2),n=Je(e*1.2,2);return Cr(r,t,\"M\"+n+\",\"+a+\"H\"+a+\"V\"+n+\"H-\"+a+\"V\"+a+\"H-\"+n+\"V-\"+a+\"H-\"+a+\"V-\"+n+\"H\"+a+\"V-\"+a+\"H\"+n+\"Z\")}},x:{n:4,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.8\/M9,2),n=\"l\"+a+\",\"+a,i=\"l\"+a+\",-\"+a,l=\"l-\"+a+\",-\"+a,o=\"l-\"+a+\",\"+a;return Cr(r,t,\"M0,\"+a+n+i+l+i+l+o+l+o+n+o+n+\"Z\")}},\"triangle-up\":{n:5,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2\/Ml,2),n=Je(e\/2,2),i=Je(e,2);return Cr(r,t,\"M-\"+a+\",\"+n+\"H\"+a+\"L0,-\"+i+\"Z\")}},\"triangle-down\":{n:6,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2\/Ml,2),n=Je(e\/2,2),i=Je(e,2);return Cr(r,t,\"M-\"+a+\",-\"+n+\"H\"+a+\"L0,\"+i+\"Z\")}},\"triangle-left\":{n:7,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2\/Ml,2),n=Je(e\/2,2),i=Je(e,2);return Cr(r,t,\"M\"+n+\",-\"+a+\"V\"+a+\"L-\"+i+\",0Z\")}},\"triangle-right\":{n:8,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2\/Ml,2),n=Je(e\/2,2),i=Je(e,2);return Cr(r,t,\"M-\"+n+\",-\"+a+\"V\"+a+\"L\"+i+\",0Z\")}},\"triangle-ne\":{n:9,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.6,2),n=Je(e*1.2,2);return Cr(r,t,\"M-\"+n+\",-\"+a+\"H\"+a+\"V\"+n+\"Z\")}},\"triangle-se\":{n:10,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.6,2),n=Je(e*1.2,2);return Cr(r,t,\"M\"+a+\",-\"+n+\"V\"+a+\"H-\"+n+\"Z\")}},\"triangle-sw\":{n:11,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.6,2),n=Je(e*1.2,2);return Cr(r,t,\"M\"+n+\",\"+a+\"H-\"+a+\"V-\"+n+\"Z\")}},\"triangle-nw\":{n:12,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.6,2),n=Je(e*1.2,2);return Cr(r,t,\"M-\"+a+\",\"+n+\"V-\"+a+\"H\"+n+\"Z\")}},pentagon:{n:13,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.951,2),n=Je(e*.588,2),i=Je(-e,2),l=Je(e*-.309,2),o=Je(e*.809,2);return Cr(r,t,\"M\"+a+\",\"+l+\"L\"+n+\",\"+o+\"H-\"+n+\"L-\"+a+\",\"+l+\"L0,\"+i+\"Z\")}},hexagon:{n:14,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e\/2,2),i=Je(e*Ml\/2,2);return Cr(r,t,\"M\"+i+\",-\"+n+\"V\"+n+\"L0,\"+a+\"L-\"+i+\",\"+n+\"V-\"+n+\"L0,-\"+a+\"Z\")}},hexagon2:{n:15,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e\/2,2),i=Je(e*Ml\/2,2);return Cr(r,t,\"M-\"+n+\",\"+i+\"H\"+n+\"L\"+a+\",0L\"+n+\",-\"+i+\"H-\"+n+\"L-\"+a+\",0Z\")}},octagon:{n:16,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.924,2),n=Je(e*.383,2);return Cr(r,t,\"M-\"+n+\",-\"+a+\"H\"+n+\"L\"+a+\",-\"+n+\"V\"+n+\"L\"+n+\",\"+a+\"H-\"+n+\"L-\"+a+\",\"+n+\"V-\"+n+\"Z\")}},star:{n:17,f:function(e,r,t){if(kr(r))return Ar;var a=e*1.4,n=Je(a*.225,2),i=Je(a*.951,2),l=Je(a*.363,2),o=Je(a*.588,2),s=Je(-a,2),u=Je(a*-.309,2),f=Je(a*.118,2),v=Je(a*.809,2),h=Je(a*.382,2);return Cr(r,t,\"M\"+n+\",\"+u+\"H\"+i+\"L\"+l+\",\"+f+\"L\"+o+\",\"+v+\"L0,\"+h+\"L-\"+o+\",\"+v+\"L-\"+l+\",\"+f+\"L-\"+i+\",\"+u+\"H-\"+n+\"L0,\"+s+\"Z\")}},hexagram:{n:18,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.66,2),n=Je(e*.38,2),i=Je(e*.76,2);return Cr(r,t,\"M-\"+i+\",0l-\"+n+\",-\"+a+\"h\"+i+\"l\"+n+\",-\"+a+\"l\"+n+\",\"+a+\"h\"+i+\"l-\"+n+\",\"+a+\"l\"+n+\",\"+a+\"h-\"+i+\"l-\"+n+\",\"+a+\"l-\"+n+\",-\"+a+\"h-\"+i+\"Z\")}},\"star-triangle-up\":{n:19,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*Ml*.8,2),n=Je(e*.8,2),i=Je(e*1.6,2),l=Je(e*4,2),o=\"A \"+l+\",\"+l+\" 0 0 1 \";return Cr(r,t,\"M-\"+a+\",\"+n+o+a+\",\"+n+o+\"0,-\"+i+o+\"-\"+a+\",\"+n+\"Z\")}},\"star-triangle-down\":{n:20,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*Ml*.8,2),n=Je(e*.8,2),i=Je(e*1.6,2),l=Je(e*4,2),o=\"A \"+l+\",\"+l+\" 0 0 1 \";return Cr(r,t,\"M\"+a+\",-\"+n+o+\"-\"+a+\",-\"+n+o+\"0,\"+i+o+a+\",-\"+n+\"Z\")}},\"star-square\":{n:21,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.1,2),n=Je(e*2,2),i=\"A \"+n+\",\"+n+\" 0 0 1 \";return Cr(r,t,\"M-\"+a+\",-\"+a+i+\"-\"+a+\",\"+a+i+a+\",\"+a+i+a+\",-\"+a+i+\"-\"+a+\",-\"+a+\"Z\")}},\"star-diamond\":{n:22,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2),n=Je(e*1.9,2),i=\"A \"+n+\",\"+n+\" 0 0 1 \";return Cr(r,t,\"M-\"+a+\",0\"+i+\"0,\"+a+i+a+\",0\"+i+\"0,-\"+a+i+\"-\"+a+\",0Z\")}},\"diamond-tall\":{n:23,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.7,2),n=Je(e*1.4,2);return Cr(r,t,\"M0,\"+n+\"L\"+a+\",0L0,-\"+n+\"L-\"+a+\",0Z\")}},\"diamond-wide\":{n:24,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2),n=Je(e*.7,2);return Cr(r,t,\"M0,\"+n+\"L\"+a+\",0L0,-\"+n+\"L-\"+a+\",0Z\")}},hourglass:{n:25,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M\"+a+\",\"+a+\"H-\"+a+\"L\"+a+\",-\"+a+\"H-\"+a+\"Z\")},noDot:!0},bowtie:{n:26,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M\"+a+\",\"+a+\"V-\"+a+\"L-\"+a+\",\"+a+\"V-\"+a+\"Z\")},noDot:!0},\"circle-cross\":{n:27,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M0,\"+a+\"V-\"+a+\"M\"+a+\",0H-\"+a+\"M\"+a+\",0A\"+a+\",\"+a+\" 0 1,1 0,-\"+a+\"A\"+a+\",\"+a+\" 0 0,1 \"+a+\",0Z\")},needLine:!0,noDot:!0},\"circle-x\":{n:28,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e\/M9,2);return Cr(r,t,\"M\"+n+\",\"+n+\"L-\"+n+\",-\"+n+\"M\"+n+\",-\"+n+\"L-\"+n+\",\"+n+\"M\"+a+\",0A\"+a+\",\"+a+\" 0 1,1 0,-\"+a+\"A\"+a+\",\"+a+\" 0 0,1 \"+a+\",0Z\")},needLine:!0,noDot:!0},\"square-cross\":{n:29,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M0,\"+a+\"V-\"+a+\"M\"+a+\",0H-\"+a+\"M\"+a+\",\"+a+\"H-\"+a+\"V-\"+a+\"H\"+a+\"Z\")},needLine:!0,noDot:!0},\"square-x\":{n:30,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M\"+a+\",\"+a+\"L-\"+a+\",-\"+a+\"M\"+a+\",-\"+a+\"L-\"+a+\",\"+a+\"M\"+a+\",\"+a+\"H-\"+a+\"V-\"+a+\"H\"+a+\"Z\")},needLine:!0,noDot:!0},\"diamond-cross\":{n:31,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.3,2);return Cr(r,t,\"M\"+a+\",0L0,\"+a+\"L-\"+a+\",0L0,-\"+a+\"ZM0,-\"+a+\"V\"+a+\"M-\"+a+\",0H\"+a)},needLine:!0,noDot:!0},\"diamond-x\":{n:32,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.3,2),n=Je(e*.65,2);return Cr(r,t,\"M\"+a+\",0L0,\"+a+\"L-\"+a+\",0L0,-\"+a+\"ZM-\"+n+\",-\"+n+\"L\"+n+\",\"+n+\"M-\"+n+\",\"+n+\"L\"+n+\",-\"+n)},needLine:!0,noDot:!0},\"cross-thin\":{n:33,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2);return Cr(r,t,\"M0,\"+a+\"V-\"+a+\"M\"+a+\",0H-\"+a)},needLine:!0,noDot:!0,noFill:!0},\"x-thin\":{n:34,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M\"+a+\",\"+a+\"L-\"+a+\",-\"+a+\"M\"+a+\",-\"+a+\"L-\"+a+\",\"+a)},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*.85,2);return Cr(r,t,\"M0,\"+a+\"V-\"+a+\"M\"+a+\",0H-\"+a+\"M\"+n+\",\"+n+\"L-\"+n+\",-\"+n+\"M\"+n+\",-\"+n+\"L-\"+n+\",\"+n)},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e\/2,2),n=Je(e,2);return Cr(r,t,\"M\"+a+\",\"+n+\"V-\"+n+\"M\"+(a-n)+\",-\"+n+\"V\"+n+\"M\"+n+\",\"+a+\"H-\"+n+\"M-\"+n+\",\"+(a-n)+\"H\"+n)},needLine:!0,noFill:!0},\"y-up\":{n:37,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*1.6,2),i=Je(e*.8,2);return Cr(r,t,\"M-\"+a+\",\"+i+\"L0,0M\"+a+\",\"+i+\"L0,0M0,-\"+n+\"L0,0\")},needLine:!0,noDot:!0,noFill:!0},\"y-down\":{n:38,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*1.6,2),i=Je(e*.8,2);return Cr(r,t,\"M-\"+a+\",-\"+i+\"L0,0M\"+a+\",-\"+i+\"L0,0M0,\"+n+\"L0,0\")},needLine:!0,noDot:!0,noFill:!0},\"y-left\":{n:39,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*1.6,2),i=Je(e*.8,2);return Cr(r,t,\"M\"+i+\",\"+a+\"L0,0M\"+i+\",-\"+a+\"L0,0M-\"+n+\",0L0,0\")},needLine:!0,noDot:!0,noFill:!0},\"y-right\":{n:40,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*1.6,2),i=Je(e*.8,2);return Cr(r,t,\"M-\"+i+\",\"+a+\"L0,0M-\"+i+\",-\"+a+\"L0,0M\"+n+\",0L0,0\")},needLine:!0,noDot:!0,noFill:!0},\"line-ew\":{n:41,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2);return Cr(r,t,\"M\"+a+\",0H-\"+a)},needLine:!0,noDot:!0,noFill:!0},\"line-ns\":{n:42,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2);return Cr(r,t,\"M0,\"+a+\"V-\"+a)},needLine:!0,noDot:!0,noFill:!0},\"line-ne\":{n:43,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M\"+a+\",-\"+a+\"L-\"+a+\",\"+a)},needLine:!0,noDot:!0,noFill:!0},\"line-nw\":{n:44,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Cr(r,t,\"M\"+a+\",\"+a+\"L-\"+a+\",-\"+a)},needLine:!0,noDot:!0,noFill:!0},\"arrow-up\":{n:45,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e*2,2);return Cr(r,t,\"M0,0L-\"+a+\",\"+n+\"H\"+a+\"Z\")},backoff:1,noDot:!0},\"arrow-down\":{n:46,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e*2,2);return Cr(r,t,\"M0,0L-\"+a+\",-\"+n+\"H\"+a+\"Z\")},noDot:!0},\"arrow-left\":{n:47,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2,2),n=Je(e,2);return Cr(r,t,\"M0,0L\"+a+\",-\"+n+\"V\"+n+\"Z\")},noDot:!0},\"arrow-right\":{n:48,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2,2),n=Je(e,2);return Cr(r,t,\"M0,0L-\"+a+\",-\"+n+\"V\"+n+\"Z\")},noDot:!0},\"arrow-bar-up\":{n:49,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e*2,2);return Cr(r,t,\"M-\"+a+\",0H\"+a+\"M0,0L-\"+a+\",\"+n+\"H\"+a+\"Z\")},backoff:1,needLine:!0,noDot:!0},\"arrow-bar-down\":{n:50,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e*2,2);return Cr(r,t,\"M-\"+a+\",0H\"+a+\"M0,0L-\"+a+\",-\"+n+\"H\"+a+\"Z\")},needLine:!0,noDot:!0},\"arrow-bar-left\":{n:51,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2,2),n=Je(e,2);return Cr(r,t,\"M0,-\"+n+\"V\"+n+\"M0,0L\"+a+\",-\"+n+\"V\"+n+\"Z\")},needLine:!0,noDot:!0},\"arrow-bar-right\":{n:52,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2,2),n=Je(e,2);return Cr(r,t,\"M0,-\"+n+\"V\"+n+\"M0,0L-\"+a+\",-\"+n+\"V\"+n+\"Z\")},needLine:!0,noDot:!0},arrow:{n:53,f:function(e,r,t){if(kr(r))return Ar;var a=_m\/2.5,n=2*e*wm(a),i=2*e*Tm(a);return Cr(r,t,\"M0,0L\"+-n+\",\"+i+\"L\"+n+\",\"+i+\"Z\")},backoff:.9,noDot:!0},\"arrow-wide\":{n:54,f:function(e,r,t){if(kr(r))return Ar;var a=_m\/4,n=2*e*wm(a),i=2*e*Tm(a);return Cr(r,t,\"M0,0L\"+-n+\",\"+i+\"A \"+2*e+\",\"+2*e+\" 0 0 1 \"+n+\",\"+i+\"Z\")},backoff:.4,noDot:!0}};function kr(e){return e===null}var A9,k9,C9,S9;function Cr(e,r,t){if((!e||e%360===0)&&!r)return t;if(C9===e&&S9===r&&A9===t)return k9;C9=e,S9=r,A9=t;function a(g,_){var T=wm(g),w=Tm(g),b=_[0],M=_[1]+(r||0);return[b*T-M*w,b*w+M*T]}for(var n=e\/180*_m,i=0,l=0,o=BU(t),s=\"\",u=0;u<o.length;u++){var f=o[u],v=f[0],h=i,d=l;if(v===\"M\"||v===\"L\")i=+f[1],l=+f[2];else if(v===\"m\"||v===\"l\")i+=+f[1],l+=+f[2];else if(v===\"H\")i=+f[1];else if(v===\"h\")i+=+f[1];else if(v===\"V\")l=+f[1];else if(v===\"v\")l+=+f[1];else if(v===\"A\"){i=+f[1],l=+f[2];var m=a(n,[+f[6],+f[7]]);f[6]=m[0],f[7]=m[1],f[3]=+f[3]+e}(v===\"H\"||v===\"V\")&#038;&#038;(v=\"L\"),(v===\"h\"||v===\"v\")&#038;&#038;(v=\"l\"),(v===\"m\"||v===\"l\")&#038;&#038;(i-=h,l-=d);var y=a(n,[i,l]);(v===\"H\"||v===\"V\")&#038;&#038;(v=\"L\"),(v===\"M\"||v===\"L\"||v===\"m\"||v===\"l\")&#038;&#038;(f[1]=y[0],f[2]=y[1]),f[0]=v,s+=f[0]+f.slice(1).join(\",\")}return k9=s,s}});var tt=K((Tse,K9)=>{\"use strict\";var jt=zr(),rt=Fe(),YU=rt.numberFormat,ko=Hr(),Lm=wn(),w0=br(),xa=Er(),UU=gm(),xf=rt.strTranslate,T0=ba(),VU=_o(),GU=Aa(),WU=GU.LINE_SPACING,O9=Pv().DESELECTDIM,XU=un(),ZU=x9(),JU=Ti().appendArrayPointValue,je=K9.exports={};je.font=function(e,r){var t=r.variant,a=r.style,n=r.weight,i=r.color,l=r.size,o=r.family,s=r.shadow,u=r.lineposition,f=r.textcase;o&&e.style(\"font-family\",o),l+1&&e.style(\"font-size\",l+\"px\"),i&&e.call(xa.fill,i),n&&e.style(\"font-weight\",n),a&&e.style(\"font-style\",a),t&&e.style(\"font-variant\",t),f&&e.style(\"text-transform\",Mm(QU(f))),s&&e.style(\"text-shadow\",s===\"auto\"?T0.makeTextShadow(xa.contrast(i)):Mm(s)),u&&e.style(\"text-decoration-line\",Mm($U(u)))};function Mm(e){return e===\"none\"?void 0:e}var KU={normal:\"none\",lower:\"lowercase\",upper:\"uppercase\",\"word caps\":\"capitalize\"};function QU(e){return KU[e]}function $U(e){return e.replace(\"under\",\"underline\").replace(\"over\",\"overline\").replace(\"through\",\"line-through\").split(\"+\").join(\" \")}je.setPosition=function(e,r,t){e.attr(\"x\",r).attr(\"y\",t)};je.setSize=function(e,r,t){e.attr(\"width\",r).attr(\"height\",t)};je.setRect=function(e,r,t,a,n){e.call(je.setPosition,r,t).call(je.setSize,a,n)};je.translatePoint=function(e,r,t,a){var n=t.c2p(e.x),i=a.c2p(e.y);if(ko(n)&&ko(i)&&r.node())r.node().nodeName===\"text\"?r.attr(\"x\",n).attr(\"y\",i):r.attr(\"transform\",xf(n,i));else return!1;return!0};je.translatePoints=function(e,r,t){e.each(function(a){var n=jt.select(this);je.translatePoint(a,n,r,t)})};je.hideOutsideRangePoint=function(e,r,t,a,n,i){r.attr(\"display\",t.isPtWithinRange(e,n)&&a.isPtWithinRange(e,i)?null:\"none\")};je.hideOutsideRangePoints=function(e,r){if(r._hasClipOnAxisFalse){var t=r.xaxis,a=r.yaxis;e.each(function(n){var i=n[0].trace,l=i.xcalendar,o=i.ycalendar,s=w0.traceIs(i,\"bar-like\")?\".bartext\":\".point,.textpoint\";e.selectAll(s).each(function(u){je.hideOutsideRangePoint(u,jt.select(this),t,a,l,o)})})}};je.crispRound=function(e,r,t){return!r||!ko(r)?t||0:e._context.staticPlot?r:r<1?1:Math.round(r)};je.singleLineStyle=function(e,r,t,a,n){r.style(\"fill\",\"none\");var i=(((e||[])[0]||{}).trace||{}).line||{},l=t||i.width||0,o=n||i.dash||\"\";xa.stroke(r,a||i.color),je.dashLine(r,o,l)};je.lineGroupStyle=function(e,r,t,a){e.style(\"fill\",\"none\").each(function(n){var i=(((n||[])[0]||{}).trace||{}).line||{},l=r||i.width||0,o=a||i.dash||\"\";jt.select(this).call(xa.stroke,t||i.color).call(je.dashLine,o,l)})};je.dashLine=function(e,r,t){t=+t||0,r=je.dashStyle(r,t),e.style({\"stroke-dasharray\":r,\"stroke-width\":t+\"px\"})};je.dashStyle=function(e,r){r=+r||1;var t=Math.max(r,3);return e===\"solid\"?e=\"\":e===\"dot\"?e=t+\"px,\"+t+\"px\":e===\"dash\"?e=3*t+\"px,\"+3*t+\"px\":e===\"longdash\"?e=5*t+\"px,\"+5*t+\"px\":e===\"dashdot\"?e=3*t+\"px,\"+t+\"px,\"+t+\"px,\"+t+\"px\":e===\"longdashdot\"&#038;&#038;(e=5*t+\"px,\"+2*t+\"px,\"+t+\"px,\"+2*t+\"px\"),e};function B9(e,r,t,a){var n=r.fillpattern,i=r.fillgradient,l=je.getPatternAttr,o=n&#038;&#038;(l(n.shape,0,\"\")||l(n.path,0,\"\"));if(o){var s=l(n.bgcolor,0,null),u=l(n.fgcolor,0,null),f=n.fgopacity,v=l(n.size,0,8),h=l(n.solidity,0,.3),d=r.uid;je.pattern(e,\"point\",t,d,o,v,h,void 0,n.fillmode,s,u,f)}else if(i&#038;&#038;i.type!==\"none\"){var m=i.type,y=\"scatterfill-\"+r.uid;if(a&#038;&#038;(y=\"legendfill-\"+r.uid),!a&#038;&#038;(i.start!==void 0||i.stop!==void 0)){var g,_;m===\"horizontal\"?(g={x:i.start,y:0},_={x:i.stop,y:0}):m===\"vertical\"&#038;&#038;(g={x:0,y:i.start},_={x:0,y:i.stop}),g.x=r._xA.c2p(g.x===void 0?r._extremes.x.min[0].val:g.x,!0),g.y=r._yA.c2p(g.y===void 0?r._extremes.y.min[0].val:g.y,!0),_.x=r._xA.c2p(_.x===void 0?r._extremes.x.max[0].val:_.x,!0),_.y=r._yA.c2p(_.y===void 0?r._extremes.y.max[0].val:_.y,!0),e.call(V9,t,y,\"linear\",i.colorscale,\"fill\",g,_,!0,!1)}else m===\"horizontal\"&#038;&#038;(m=m+\"reversed\"),e.call(je.gradient,t,y,m,i.colorscale,\"fill\")}else r.fillcolor&#038;&#038;e.call(xa.fill,r.fillcolor)}je.singleFillStyle=function(e,r){var t=jt.select(e.node()),a=t.data(),n=((a[0]||[])[0]||{}).trace||{};B9(e,n,r,!1)};je.fillGroupStyle=function(e,r,t){e.style(\"stroke-width\",0).each(function(a){var n=jt.select(this);a[0].trace&#038;&#038;B9(n,a[0].trace,r,t)})};var D9=q9();je.symbolNames=[];je.symbolFuncs=[];je.symbolBackOffs=[];je.symbolNeedLines={};je.symbolNoDot={};je.symbolNoFill={};je.symbolList=[];Object.keys(D9).forEach(function(e){var r=D9[e],t=r.n;je.symbolList.push(t,String(t),e,t+100,String(t+100),e+\"-open\"),je.symbolNames[t]=e,je.symbolFuncs[t]=r.f,je.symbolBackOffs[t]=r.backoff||0,r.needLine&#038;&#038;(je.symbolNeedLines[t]=!0),r.noDot?je.symbolNoDot[t]=!0:je.symbolList.push(t+200,String(t+200),e+\"-dot\",t+300,String(t+300),e+\"-open-dot\"),r.noFill&#038;&#038;(je.symbolNoFill[t]=!0)});var jU=je.symbolNames.length,eV=\"M0,0.5L0.5,0L0,-0.5L-0.5,0Z\";je.symbolNumber=function(e){if(ko(e))e=+e;else if(typeof e==\"string\"){var r=0;e.indexOf(\"-open\")>0&&(r=100,e=e.replace(\"-open\",\"\")),e.indexOf(\"-dot\")>0&&(r+=200,e=e.replace(\"-dot\",\"\")),e=je.symbolNames.indexOf(e),e>=0&&(e+=r)}return e%100>=jU||e>=400?0:Math.floor(Math.max(e,0))};function Y9(e,r,t,a){var n=e%100;return je.symbolFuncs[n](r,t,a)+(e>=200?eV:\"\")}var E9=YU(\"~f\"),U9={radial:{type:\"radial\"},radialreversed:{type:\"radial\",reversed:!0},horizontal:{type:\"linear\",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:\"linear\",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:\"linear\",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:\"linear\",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};je.gradient=function(e,r,t,a,n,i){var l=U9[a];return V9(e,r,t,l.type,n,i,l.start,l.stop,!1,l.reversed)};function V9(e,r,t,a,n,i,l,o,s,u){var f=n.length,v;a===\"linear\"?v={node:\"linearGradient\",attrs:{x1:l.x,y1:l.y,x2:o.x,y2:o.y,gradientUnits:s?\"userSpaceOnUse\":\"objectBoundingBox\"},reversed:u}:a===\"radial\"&&(v={node:\"radialGradient\",reversed:u});for(var h=new Array(f),d=0;d<f;d++)v.reversed?h[f-1-d]=[E9((1-n[d][0])*100),n[d][1]]:h[d]=[E9(n[d][0]*100),n[d][1]];var m=r._fullLayout,y=\"g\"+m._uid+\"-\"+t,g=m._defs.select(\".gradients\").selectAll(\"#\"+y).data([a+h.join(\";\")],rt.identity);g.exit().remove(),g.enter().append(v.node).each(function(){var _=jt.select(this);v.attrs&#038;&#038;_.attr(v.attrs),_.attr(\"id\",y);var T=_.selectAll(\"stop\").data(h);T.exit().remove(),T.enter().append(\"stop\"),T.each(function(w){var b=Lm(w[1]);jt.select(this).attr({offset:w[0]+\"%\",\"stop-color\":xa.tinyRGB(b),\"stop-opacity\":b.getAlpha()})})}),e.style(i,qm(y,r)).style(i+\"-opacity\",null),e.classed(\"gradient_filled\",!0)}je.pattern=function(e,r,t,a,n,i,l,o,s,u,f,v){var h=r===\"legend\";o&#038;&#038;(s===\"overlay\"?(u=o,f=xa.contrast(u)):(u=void 0,f=o));var d=t._fullLayout,m=\"p\"+d._uid+\"-\"+a,y,g,_=function(O,I,V,J,G){return J+(G-J)*(O-I)\/(V-I)},T,w,b,M,S={},k=Lm(f),q=xa.tinyRGB(k),D=k.getAlpha(),P=v*D;switch(n){case\"\/\":y=i*Math.sqrt(2),g=i*Math.sqrt(2),T=\"M-\"+y\/4+\",\"+g\/4+\"l\"+y\/2+\",-\"+g\/2+\"M0,\"+g+\"L\"+y+\",0M\"+y\/4*3+\",\"+g\/4*5+\"l\"+y\/2+\",-\"+g\/2,w=l*i,M=\"path\",S={d:T,opacity:P,stroke:q,\"stroke-width\":w+\"px\"};break;case\"\\\\\":y=i*Math.sqrt(2),g=i*Math.sqrt(2),T=\"M\"+y\/4*3+\",-\"+g\/4+\"l\"+y\/2+\",\"+g\/2+\"M0,0L\"+y+\",\"+g+\"M-\"+y\/4+\",\"+g\/4*3+\"l\"+y\/2+\",\"+g\/2,w=l*i,M=\"path\",S={d:T,opacity:P,stroke:q,\"stroke-width\":w+\"px\"};break;case\"x\":y=i*Math.sqrt(2),g=i*Math.sqrt(2),T=\"M-\"+y\/4+\",\"+g\/4+\"l\"+y\/2+\",-\"+g\/2+\"M0,\"+g+\"L\"+y+\",0M\"+y\/4*3+\",\"+g\/4*5+\"l\"+y\/2+\",-\"+g\/2+\"M\"+y\/4*3+\",-\"+g\/4+\"l\"+y\/2+\",\"+g\/2+\"M0,0L\"+y+\",\"+g+\"M-\"+y\/4+\",\"+g\/4*3+\"l\"+y\/2+\",\"+g\/2,w=i-i*Math.sqrt(1-l),M=\"path\",S={d:T,opacity:P,stroke:q,\"stroke-width\":w+\"px\"};break;case\"|\":y=i,g=i,M=\"path\",T=\"M\"+y\/2+\",0L\"+y\/2+\",\"+g,w=l*i,M=\"path\",S={d:T,opacity:P,stroke:q,\"stroke-width\":w+\"px\"};break;case\"-\":y=i,g=i,M=\"path\",T=\"M0,\"+g\/2+\"L\"+y+\",\"+g\/2,w=l*i,M=\"path\",S={d:T,opacity:P,stroke:q,\"stroke-width\":w+\"px\"};break;case\"+\":y=i,g=i,M=\"path\",T=\"M\"+y\/2+\",0L\"+y\/2+\",\"+g+\"M0,\"+g\/2+\"L\"+y+\",\"+g\/2,w=i-i*Math.sqrt(1-l),M=\"path\",S={d:T,opacity:P,stroke:q,\"stroke-width\":w+\"px\"};break;case\".\":y=i,g=i,l<Math.PI\/4?b=Math.sqrt(l*i*i\/Math.PI):b=_(l,Math.PI\/4,1,i\/2,i\/Math.sqrt(2)),M=\"circle\",S={cx:y\/2,cy:g\/2,r:b,opacity:P,fill:q};break;default:y=i,g=i,M=\"path\",S={d:n,opacity:P,fill:q};break}var z=[n||\"noSh\",u||\"noBg\",f||\"noFg\",i,l].join(\";\"),F=d._defs.select(\".patterns\").selectAll(\"#\"+m).data([z],rt.identity);F.exit().remove(),F.enter().append(\"pattern\").each(function(){var O=jt.select(this);if(O.attr({id:m,width:y+\"px\",height:g+\"px\",patternUnits:\"userSpaceOnUse\",patternTransform:h?\"scale(0.8)\":\"\"}),u){var I=Lm(u),V=xa.tinyRGB(I),J=I.getAlpha(),G=O.selectAll(\"rect\").data([0]);G.exit().remove(),G.enter().append(\"rect\").attr({width:y+\"px\",height:g+\"px\",fill:V,\"fill-opacity\":J})}var U=O.selectAll(M).data([0]);U.exit().remove(),U.enter().append(M).attr(S)}),e.style(\"fill\",qm(m,t)).style(\"fill-opacity\",null),e.classed(\"pattern_filled\",!0)};je.initGradients=function(e){var r=e._fullLayout,t=rt.ensureSingle(r._defs,\"g\",\"gradients\");t.selectAll(\"linearGradient,radialGradient\").remove(),jt.select(e).selectAll(\".gradient_filled\").classed(\"gradient_filled\",!1)};je.initPatterns=function(e){var r=e._fullLayout,t=rt.ensureSingle(r._defs,\"g\",\"patterns\");t.selectAll(\"pattern\").remove(),jt.select(e).selectAll(\".pattern_filled\").classed(\"pattern_filled\",!1)};je.getPatternAttr=function(e,r,t){return e&#038;&#038;rt.isArrayOrTypedArray(e)?r<e.length?e[r]:t:e};je.pointStyle=function(e,r,t,a){if(e.size()){var n=je.makePointStyleFns(r);e.each(function(i){je.singlePointStyle(i,jt.select(this),r,n,t,a)})}};je.singlePointStyle=function(e,r,t,a,n,i){var l=t.marker,o=l.line;if(i&#038;&#038;i.i>=0&&e.i===void 0&&(e.i=i.i),r.style(\"opacity\",a.selectedOpacityFn?a.selectedOpacityFn(e):e.mo===void 0?l.opacity:e.mo),a.ms2mrc){var s;e.ms===\"various\"||l.size===\"various\"?s=3:s=a.ms2mrc(e.ms),e.mrc=s,a.selectedSizeFn&&(s=e.mrc=a.selectedSizeFn(e));var u=je.symbolNumber(e.mx||l.symbol)||0;e.om=u%200>=100;var f=Em(e,t),v=Dm(e,t);r.attr(\"d\",Y9(u,s,f,v))}var h=!1,d,m,y;if(e.so)y=o.outlierwidth,m=o.outliercolor,d=l.outliercolor;else{var g=(o||{}).width;y=(e.mlw+1||g+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,\"mlc\"in e?m=e.mlcc=a.lineScale(e.mlc):rt.isArrayOrTypedArray(o.color)?m=xa.defaultLine:m=o.color,rt.isArrayOrTypedArray(l.color)&&(d=xa.defaultLine,h=!0),\"mc\"in e?d=e.mcc=a.markerScale(e.mc):d=l.color||l.colors||\"rgba(0,0,0,0)\",a.selectedColorFn&&(d=a.selectedColorFn(e))}let _=e.mld||(o||{}).dash;if(_&&je.dashLine(r,_,y),e.om)r.call(xa.stroke,d).style({\"stroke-width\":(y||1)+\"px\",fill:\"none\"});else{r.style(\"stroke-width\",(e.isBlank?0:y)+\"px\");var T=l.gradient,w=e.mgt;w?h=!0:w=T&&T.type,rt.isArrayOrTypedArray(w)&&(w=w[0],U9[w]||(w=0));var b=l.pattern,M=je.getPatternAttr,S=b&&(M(b.shape,e.i,\"\")||M(b.path,e.i,\"\"));if(w&&w!==\"none\"){var k=e.mgc;k?h=!0:k=T.color;var q=t.uid;h&&(q+=\"-\"+e.i),je.gradient(r,n,q,w,[[0,k],[1,d]],\"fill\")}else if(S){var D=!1,P=b.fgcolor;!P&&i&&i.color&&(P=i.color,D=!0);var z=M(P,e.i,i&&i.color||null),F=M(b.bgcolor,e.i,null),O=b.fgopacity,I=M(b.size,e.i,8),V=M(b.solidity,e.i,.3);D=D||e.mcc||rt.isArrayOrTypedArray(b.shape)||rt.isArrayOrTypedArray(b.path)||rt.isArrayOrTypedArray(b.bgcolor)||rt.isArrayOrTypedArray(b.fgcolor)||rt.isArrayOrTypedArray(b.size)||rt.isArrayOrTypedArray(b.solidity);var J=t.uid;D&&(J+=\"-\"+e.i),je.pattern(r,\"point\",n,J,S,I,V,e.mcc,b.fillmode,F,z,O)}else rt.isArrayOrTypedArray(d)?xa.fill(r,d[e.i]):xa.fill(r,d);y&&xa.stroke(r,m)}};je.makePointStyleFns=function(e){var r={},t=e.marker;return r.markerScale=je.tryColorscale(t,\"\"),r.lineScale=je.tryColorscale(t,\"line\"),w0.traceIs(e,\"symbols\")&&(r.ms2mrc=XU.isBubble(e)?ZU(e):function(){return(t.size||6)\/2}),e.selectedpoints&&rt.extendFlat(r,je.makeSelectedPointStyleFns(e)),r};je.makeSelectedPointStyleFns=function(e){var r={},t=e.selected||{},a=e.unselected||{},n=e.marker||{},i=t.marker||{},l=a.marker||{},o=n.opacity,s=i.opacity,u=l.opacity,f=s!==void 0,v=u!==void 0;(rt.isArrayOrTypedArray(o)||f||v)&&(r.selectedOpacityFn=function(b){var M=b.mo===void 0?n.opacity:b.mo;return b.selected?f?s:M:v?u:O9*M});var h=n.color,d=i.color,m=l.color;(d||m)&&(r.selectedColorFn=function(b){var M=b.mcc||h;return b.selected?d||M:m||M});var y=n.size,g=i.size,_=l.size,T=g!==void 0,w=_!==void 0;return w0.traceIs(e,\"symbols\")&&(T||w)&&(r.selectedSizeFn=function(b){var M=b.mrc||y\/2;return b.selected?T?g\/2:M:w?_\/2:M}),r};je.makeSelectedTextStyleFns=function(e){var r={},t=e.selected||{},a=e.unselected||{},n=e.textfont||{},i=t.textfont||{},l=a.textfont||{},o=n.color,s=i.color,u=l.color;return r.selectedTextColorFn=function(f){var v=f.tc||o;return f.selected?s||v:u||(s?v:xa.addOpacity(v,O9))},r};je.selectedPointStyle=function(e,r){if(!(!e.size()||!r.selectedpoints)){var t=je.makeSelectedPointStyleFns(r),a=r.marker||{},n=[];t.selectedOpacityFn&&n.push(function(i,l){i.style(\"opacity\",t.selectedOpacityFn(l))}),t.selectedColorFn&&n.push(function(i,l){xa.fill(i,t.selectedColorFn(l))}),t.selectedSizeFn&&n.push(function(i,l){var o=l.mx||a.symbol||0,s=t.selectedSizeFn(l);i.attr(\"d\",Y9(je.symbolNumber(o),s,Em(l,r),Dm(l,r))),l.mrc2=s}),n.length&&e.each(function(i){for(var l=jt.select(this),o=0;o<n.length;o++)n[o](l,i)})}};je.tryColorscale=function(e,r){var t=r?rt.nestedProperty(e,r).get():e;if(t){var a=t.color;if((t.colorscale||t._colorAx)&#038;&#038;rt.isArrayOrTypedArray(a))return UU.makeColorScaleFuncFromTrace(t)}return rt.identity};var Am={start:1,end:-1,middle:0,bottom:1,top:-1};function G9(e,r,t,a,n){var i=jt.select(e.node().parentNode),l=r.indexOf(\"top\")!==-1?\"top\":r.indexOf(\"bottom\")!==-1?\"bottom\":\"middle\",o=r.indexOf(\"left\")!==-1?\"end\":r.indexOf(\"right\")!==-1?\"start\":\"middle\",s=a?a\/.8+1:0,u=(T0.lineCount(e)-1)*WU+1,f=Am[o]*s,v=t*.75+Am[l]*s+(Am[l]-1)*u*t\/2;e.attr(\"text-anchor\",o),n||i.attr(\"transform\",xf(f,v))}function W9(e,r){var t=e.ts||r.textfont.size;return ko(t)&#038;&#038;t>0?t:0}je.textPointStyle=function(e,r,t){if(e.size()){var a;if(r.selectedpoints){var n=je.makeSelectedTextStyleFns(r);a=n.selectedTextColorFn}var i=r.texttemplate,l=t._fullLayout;e.each(function(o){var s=jt.select(this),u=i?rt.extractOption(o,r,\"txt\",\"texttemplate\"):rt.extractOption(o,r,\"tx\",\"text\");if(!u&&u!==0){s.remove();return}if(i){var f=r._module.formatLabels,v=f?f(o,r,l):{},h={};JU(h,r,o.i),u=rt.texttemplateString({data:[h,o,r._meta],fallback:r.texttemplatefallback,labels:v,locale:l._d3locale,template:u})}var d=o.tp||r.textposition,m=W9(o,r),y=a?a(o):o.tc||r.textfont.color;s.call(je.font,{family:o.tf||r.textfont.family,weight:o.tw||r.textfont.weight,style:o.ty||r.textfont.style,variant:o.tv||r.textfont.variant,textcase:o.tC||r.textfont.textcase,lineposition:o.tE||r.textfont.lineposition,shadow:o.tS||r.textfont.shadow,size:m,color:y}).text(u).call(T0.convertToTspans,t).call(G9,d,m,o.mrc)})}};je.selectedTextStyle=function(e,r){if(!(!e.size()||!r.selectedpoints)){var t=je.makeSelectedTextStyleFns(r);e.each(function(a){var n=jt.select(this),i=t.selectedTextColorFn(a),l=a.tp||r.textposition,o=W9(a,r);xa.fill(n,i);var s=w0.traceIs(r,\"bar-like\");G9(n,l,o,a.mrc2||a.mrc,s)})}};var P9=.5;je.smoothopen=function(e,r){if(e.length<3)return\"M\"+e.join(\"L\");var t=\"M\"+e[0],a=[],n;for(n=1;n<e.length-1;n++)a.push(_0(e[n-1],e[n],e[n+1],r));for(t+=\"Q\"+a[0][0]+\" \"+e[1],n=2;n<e.length-1;n++)t+=\"C\"+a[n-2][1]+\" \"+a[n-1][0]+\" \"+e[n];return t+=\"Q\"+a[e.length-3][1]+\" \"+e[e.length-1],t};je.smoothclosed=function(e,r){if(e.length<3)return\"M\"+e.join(\"L\")+\"Z\";var t=\"M\"+e[0],a=e.length-1,n=[_0(e[a],e[0],e[1],r)],i;for(i=1;i<a;i++)n.push(_0(e[i-1],e[i],e[i+1],r));for(n.push(_0(e[a-1],e[a],e[0],r)),i=1;i<=a;i++)t+=\"C\"+n[i-1][1]+\" \"+n[i][0]+\" \"+e[i];return t+=\"C\"+n[a][1]+\" \"+n[0][0]+\" \"+e[0]+\"Z\",t};var X9,Z9;function Gs(e,r,t){return t&#038;&#038;(e=J9(e)),r?Ao(e[1]):Mo(e[0])}function Mo(e){var r=jt.round(e,2);return X9=r,r}function Ao(e){var r=jt.round(e,2);return Z9=r,r}function _0(e,r,t,a){var n=e[0]-r[0],i=e[1]-r[1],l=t[0]-r[0],o=t[1]-r[1],s=Math.pow(n*n+i*i,P9\/2),u=Math.pow(l*l+o*o,P9\/2),f=(u*u*n-s*s*l)*a,v=(u*u*i-s*s*o)*a,h=3*u*(s+u),d=3*s*(s+u);return[[Mo(r[0]+(h&#038;&#038;f\/h)),Ao(r[1]+(h&#038;&#038;v\/h))],[Mo(r[0]-(d&#038;&#038;f\/d)),Ao(r[1]-(d&#038;&#038;v\/d))]]}var rV={hv:function(e,r,t){return\"H\"+Mo(r[0])+\"V\"+Gs(r,1,t)},vh:function(e,r,t){return\"V\"+Ao(r[1])+\"H\"+Gs(r,0,t)},hvh:function(e,r,t){return\"H\"+Mo((e[0]+r[0])\/2)+\"V\"+Ao(r[1])+\"H\"+Gs(r,0,t)},vhv:function(e,r,t){return\"V\"+Ao((e[1]+r[1])\/2)+\"H\"+Mo(r[0])+\"V\"+Gs(r,1,t)}},tV=function(e,r,t){return\"L\"+Gs(r,0,t)+\",\"+Gs(r,1,t)};je.steps=function(e){var r=rV[e]||tV;return function(t){for(var a=\"M\"+Mo(t[0][0])+\",\"+Ao(t[0][1]),n=t.length,i=1;i<n;i++)a+=r(t[i-1],t[i],i===n-1);return a}};function J9(e,r){var t=e.backoff,a=e.trace,n=e.d,i=e.i;if(t&#038;&#038;a&#038;&#038;a.marker&#038;&#038;a.marker.angle%360===0&#038;&#038;a.line&#038;&#038;a.line.shape!==\"spline\"){var l=rt.isArrayOrTypedArray(t),o=e,s=r?r[0]:X9||0,u=r?r[1]:Z9||0,f=o[0],v=o[1],h=f-s,d=v-u,m=Math.atan2(d,h),y=l?t[i]:t;if(y===\"auto\"){var g=o.i;a.type===\"scatter\"&#038;&#038;g--;var _=o.marker,T=_.symbol;rt.isArrayOrTypedArray(T)&#038;&#038;(T=T[g]);var w=_.size;rt.isArrayOrTypedArray(w)&#038;&#038;(w=w[g]),y=_?je.symbolBackOffs[je.symbolNumber(T)]*w:0,y+=je.getMarkerStandoff(n[g],a)||0}var b=f-y*Math.cos(m),M=v-y*Math.sin(m);(b<=f&#038;&#038;b>=s||b>=f&&b<=s)&#038;&#038;(M<=v&#038;&#038;M>=u||M>=v&&M<=u)&#038;&#038;(e=[b,M])}return e}je.applyBackoff=J9;je.makeTester=function(){var e=rt.ensureSingleById(jt.select(\"body\"),\"svg\",\"js-plotly-tester\",function(t){t.attr(VU.svgAttrs).style({position:\"absolute\",left:\"-10000px\",top:\"-10000px\",width:\"9000px\",height:\"9000px\",\"z-index\":\"1\"})}),r=rt.ensureSingle(e,\"path\",\"js-reference-point\",function(t){t.attr(\"d\",\"M0,0H1V1H0Z\").style({\"stroke-width\":0,fill:\"black\"})});je.tester=e,je.testref=r};je.savedBBoxes={};var km=0,aV=1e4;je.bBox=function(e,r,t){t||(t=R9(e));var a;if(t){if(a=je.savedBBoxes[t],a)return rt.extendFlat({},a)}else if(e.childNodes.length===1){var n=e.childNodes[0];if(t=R9(n),t){var i=+n.getAttribute(\"x\")||0,l=+n.getAttribute(\"y\")||0,o=n.getAttribute(\"transform\");if(!o){var s=je.bBox(n,!1,t);return i&#038;&#038;(s.left+=i,s.right+=i),l&#038;&#038;(s.top+=l,s.bottom+=l),s}if(t+=\"~\"+i+\"~\"+l+\"~\"+o,a=je.savedBBoxes[t],a)return rt.extendFlat({},a)}}var u,f;r?u=e:(f=je.tester.node(),u=e.cloneNode(!0),f.appendChild(u)),jt.select(u).attr(\"transform\",null).call(T0.positionText,0,0);var v=u.getBoundingClientRect(),h=je.testref.node().getBoundingClientRect();r||f.removeChild(u);var d={height:v.height,width:v.width,left:v.left-h.left,top:v.top-h.top,right:v.right-h.left,bottom:v.bottom-h.top};return km>=aV&&(je.savedBBoxes={},km=0),t&&(je.savedBBoxes[t]=d),km++,rt.extendFlat({},d)};function R9(e){var r=e.getAttribute(\"data-unformatted\");if(r!==null)return r+e.getAttribute(\"data-math\")+e.getAttribute(\"text-anchor\")+e.getAttribute(\"style\")}je.setClipUrl=function(e,r,t){e.attr(\"clip-path\",qm(r,t))};function qm(e,r){if(!e)return null;var t=r._context,a=t._exportedPlot?\"\":t._baseUrl||\"\";return a?\"url('\"+a+\"#\"+e+\"')\":\"url(#\"+e+\")\"}je.getTranslate=function(e){var r=\/.*\\btranslate\\((-?\\d*\\.?\\d*)[^-\\d]*(-?\\d*\\.?\\d*)[^\\d].*\/,t=e.attr?\"attr\":\"getAttribute\",a=e[t](\"transform\")||\"\",n=a.replace(r,function(i,l,o){return[l,o].join(\" \")}).split(\" \");return{x:+n[0]||0,y:+n[1]||0}};je.setTranslate=function(e,r,t){var a=\/(\\btranslate\\(.*?\\);?)\/,n=e.attr?\"attr\":\"getAttribute\",i=e.attr?\"attr\":\"setAttribute\",l=e[n](\"transform\")||\"\";return r=r||0,t=t||0,l=l.replace(a,\"\").trim(),l+=xf(r,t),l=l.trim(),e[i](\"transform\",l),l};je.getScale=function(e){var r=\/.*\\bscale\\((\\d*\\.?\\d*)[^\\d]*(\\d*\\.?\\d*)[^\\d].*\/,t=e.attr?\"attr\":\"getAttribute\",a=e[t](\"transform\")||\"\",n=a.replace(r,function(i,l,o){return[l,o].join(\" \")}).split(\" \");return{x:+n[0]||1,y:+n[1]||1}};je.setScale=function(e,r,t){var a=\/(\\bscale\\(.*?\\);?)\/,n=e.attr?\"attr\":\"getAttribute\",i=e.attr?\"attr\":\"setAttribute\",l=e[n](\"transform\")||\"\";return r=r||1,t=t||1,l=l.replace(a,\"\").trim(),l+=\"scale(\"+r+\",\"+t+\")\",l=l.trim(),e[i](\"transform\",l),l};var nV=\/\\s*sc.*\/;je.setPointGroupScale=function(e,r,t){if(r=r||1,t=t||1,!!e){var a=r===1&&t===1?\"\":\"scale(\"+r+\",\"+t+\")\";e.each(function(){var n=(this.getAttribute(\"transform\")||\"\").replace(nV,\"\");n+=a,n=n.trim(),this.setAttribute(\"transform\",n)})}};var iV=\/translate\\([^)]*\\)\\s*$\/;je.setTextPointsScale=function(e,r,t){e&&e.each(function(){var a,n=jt.select(this),i=n.select(\"text\");if(i.node()){var l=parseFloat(i.attr(\"x\")||0),o=parseFloat(i.attr(\"y\")||0),s=(n.attr(\"transform\")||\"\").match(iV);r===1&&t===1?a=[]:a=[xf(l,o),\"scale(\"+r+\",\"+t+\")\",xf(-l,-o)],s&&a.push(s),n.attr(\"transform\",a.join(\"\"))}})};function Dm(e,r){var t;return e&&(t=e.mf),t===void 0&&(t=r.marker&&r.marker.standoff||0),!r._geo&&!r._xA?-t:t}je.getMarkerStandoff=Dm;var bf=Math.atan2,To=Math.cos,Ws=Math.sin;function z9(e,r){var t=r[0],a=r[1];return[t*To(e)-a*Ws(e),t*Ws(e)+a*To(e)]}var N9,F9,I9,H9,Cm,Sm;function Em(e,r){var t=e.ma;t===void 0&&(t=r.marker.angle,(!t||rt.isArrayOrTypedArray(t))&&(t=0));var a,n,i=r.marker.angleref;if(i===\"previous\"||i===\"north\"){if(r._geo){var l=r._geo.project(e.lonlat);a=l[0],n=l[1]}else{var o=r._xA,s=r._yA;if(o&&s)a=o.c2p(e.x),n=s.c2p(e.y);else return 90}if(r._geo){var u=e.lonlat[0],f=e.lonlat[1],v=r._geo.project([u,f+1e-5]),h=r._geo.project([u+1e-5,f]),d=bf(h[1]-n,h[0]-a),m=bf(v[1]-n,v[0]-a),y;if(i===\"north\")y=t\/180*Math.PI;else if(i===\"previous\"){var g=u\/180*Math.PI,_=f\/180*Math.PI,T=N9\/180*Math.PI,w=F9\/180*Math.PI,b=T-g,M=To(w)*Ws(b),S=Ws(w)*To(_)-To(w)*Ws(_)*To(b);y=-bf(M,S)-Math.PI,N9=u,F9=f}var k=z9(d,[To(y),0]),q=z9(m,[Ws(y),0]);t=bf(k[1]+q[1],k[0]+q[0])\/Math.PI*180,i===\"previous\"&&!(Sm===r.uid&&e.i===Cm+1)&&(t=null)}if(i===\"previous\"&&!r._geo)if(Sm===r.uid&&e.i===Cm+1&&ko(a)&&ko(n)){var D=a-I9,P=n-H9,z=r.line&&r.line.shape||\"\",F=z.slice(z.length-1);F===\"h\"&&(P=0),F===\"v\"&&(D=0),t+=bf(P,D)\/Math.PI*180+90}else t=null}return I9=a,H9=n,Cm=e.i,Sm=r.uid,t}je.getMarkerAngle=Em});var _f=K((Mse,e8)=>{\"use strict\";var Xs=zr(),lV=Hr(),oV=It(),Pm=br(),Co=Fe(),Q9=Co.strTranslate,M0=tt(),A0=Er(),Zs=ba(),$9=Pv(),sV=Aa().OPPOSITE_SIDE,j9=\/ [XY][0-9]* \/,Rm=1.6,zm=1.6;function uV(e,r,t){var a=e._fullLayout,n=t.propContainer,i=t.propName,l=t.placeholder,o=t.traceIndex,s=t.avoid||{},u=t.attributes,f=t.transform,v=t.containerGroup,h=1,d=n.title,m=(d&&d.text?d.text:\"\").trim(),y=!1,g=d&&d.font?d.font:{},_=g.family,T=g.size,w=g.color,b=g.weight,M=g.style,S=g.variant,k=g.textcase,q=g.lineposition,D=g.shadow,P=t.subtitlePropName,z=!!P,F=t.subtitlePlaceholder,O=(n.title||{}).subtitle||{text:\"\",font:{}},I=(O.text||\"\").trim(),V=!1,J=1,G=O.font,U=G.family,H=G.size,Q=G.color,Z=G.weight,ne=G.style,ce=G.variant,ye=G.textcase,Ce=G.lineposition,re=G.shadow,Se;i===\"title.text\"?Se=\"titleText\":i.indexOf(\"axis\")!==-1?Se=\"axisTitleText\":i.indexOf(\"colorbar\")!==-1&&(Se=\"colorbarTitleText\");var pe=e._context.edits[Se];function be(Ie,Xe){return Ie===void 0||Xe===void 0?!1:Ie.replace(j9,\" % \")===Xe.replace(j9,\" % \")}m===\"\"?h=0:be(m,l)&&(pe||(m=\"\"),h=.2,y=!0),z&&(I===\"\"?J=0:be(I,F)&&(pe||(I=\"\"),J=.2,V=!0)),t._meta?m=Co.templateString(m,t._meta):a._meta&&(m=Co.templateString(m,a._meta));var Ae=m||I||pe,ge;v||(v=Co.ensureSingle(a._infolayer,\"g\",\"g-\"+r),ge=a._hColorbarMoveTitle);var B=v.selectAll(\"text.\"+r).data(Ae?[0]:[]);B.enter().append(\"text\"),B.text(m).attr(\"class\",r),B.exit().remove();var $=null,Y=r+\"-subtitle\",le=I||pe;if(z&&($=v.selectAll(\"text.\"+Y).data(le?[0]:[]),$.enter().append(\"text\"),$.text(I).attr(\"class\",Y),$.exit().remove()),!Ae)return v;function he(Ie,Xe){Co.syncOrAsync([me,Re],{title:Ie,subtitle:Xe})}function me(Ie){var Xe=Ie.title,De=Ie.subtitle,He;!f&&ge&&(f={}),f?(He=\"\",f.rotate&&(He+=\"rotate(\"+[f.rotate,u.x,u.y]+\")\"),(f.offset||ge)&&(He+=Q9(0,(f.offset||0)-(ge||0)))):He=null,Xe.attr(\"transform\",He);function We(Me){if(Me){var ke=Xs.select(Me.node().parentNode).select(\".\"+Y);if(!ke.empty()){var Oe=Me.node().getBBox();if(Oe.height){var Ze=Oe.y+Oe.height+Rm*H;ke.attr(\"y\",Ze)}}}}if(Xe.style(\"opacity\",h*A0.opacity(w)).call(M0.font,{color:A0.rgb(w),size:Xs.round(T,2),family:_,weight:b,style:M,variant:S,textcase:k,shadow:D,lineposition:q}).attr(u).call(Zs.convertToTspans,e,We),De&&!De.empty()){var ie=v.select(\".\"+r+\"-math-group\"),xe=Xe.node().getBBox(),Ke=ie.node()?ie.node().getBBox():void 0,hr=Ke?Ke.y+Ke.height+Rm*H:xe.y+xe.height+zm*H,ze=Co.extendFlat({},u,{y:hr});De.attr(\"transform\",He),De.style(\"opacity\",J*A0.opacity(Q)).call(M0.font,{color:A0.rgb(Q),size:Xs.round(H,2),family:U,weight:Z,style:ne,variant:ce,textcase:ye,shadow:re,lineposition:Ce}).attr(ze).call(Zs.convertToTspans,e)}return oV.previousPromises(e)}function Re(Ie){var Xe=Ie.title,De=Xs.select(Xe.node().parentNode);if(s&&s.selection&&s.side&&m){De.attr(\"transform\",null);var He=sV[s.side],We=s.side===\"left\"||s.side===\"top\"?-1:1,ie=lV(s.pad)?s.pad:2,xe=M0.bBox(De.node()),Ke={t:0,b:0,l:0,r:0},hr=e._fullLayout._reservedMargin;for(var ze in hr)for(var Me in hr[ze]){var ke=hr[ze][Me];Ke[Me]=Math.max(Ke[Me],ke)}var Oe={left:Ke.l,top:Ke.t,right:a.width-Ke.r,bottom:a.height-Ke.b},Ze=s.maxShift||We*(Oe[s.side]-xe[s.side]),Ue=0;if(Ze<0)Ue=Ze;else{var Ge=s.offsetLeft||0,ir=s.offsetTop||0;xe.left-=Ge,xe.right-=Ge,xe.top-=ir,xe.bottom-=ir,s.selection.each(function(){var er=M0.bBox(this);Co.bBoxIntersect(xe,er,ie)&#038;&#038;(Ue=Math.max(Ue,We*(er[s.side]-xe[He])+ie))}),Ue=Math.min(Ze,Ue),n._titleScoot=Math.abs(Ue)}if(Ue>0||Ze<0){var ar={left:[-Ue,0],right:[Ue,0],top:[0,-Ue],bottom:[0,Ue]}[s.side];De.attr(\"transform\",Q9(ar[0],ar[1]))}}}B.call(he,$);function Ee(Ie,Xe){Ie.text(Xe).on(\"mouseover.opacity\",function(){Xs.select(this).transition().duration($9.SHOW_PLACEHOLDER).style(\"opacity\",1)}).on(\"mouseout.opacity\",function(){Xs.select(this).transition().duration($9.HIDE_PLACEHOLDER).style(\"opacity\",0)})}if(pe&#038;&#038;(m?B.on(\".opacity\",null):(Ee(B,l),y=!0),B.call(Zs.makeEditable,{gd:e}).on(\"edit\",function(Ie){o!==void 0?Pm.call(\"_guiRestyle\",e,i,Ie,o):Pm.call(\"_guiRelayout\",e,i,Ie)}).on(\"cancel\",function(){this.text(this.attr(\"data-unformatted\")).call(he)}).on(\"input\",function(Ie){this.text(Ie||\" \").call(Zs.positionText,u.x,u.y)}),z)){if(z&#038;&#038;!m){var Le=B.node().getBBox(),Ve=Le.y+Le.height+zm*H;$.attr(\"y\",Ve)}I?$.on(\".opacity\",null):(Ee($,F),V=!0),$.call(Zs.makeEditable,{gd:e}).on(\"edit\",function(Ie){Pm.call(\"_guiRelayout\",e,\"title.subtitle.text\",Ie)}).on(\"cancel\",function(){this.text(this.attr(\"data-unformatted\")).call(he)}).on(\"input\",function(Ie){this.text(Ie||\" \").call(Zs.positionText,$.attr(\"x\"),$.attr(\"y\"))})}return B.classed(\"js-placeholder\",y),$&#038;&#038;!$.empty()&#038;&#038;$.classed(\"js-placeholder\",V),v}e8.exports={draw:uV,SUBTITLE_PADDING_EM:zm,SUBTITLE_PADDING_MATHJAX_EM:Rm}});var P0=K((Ase,i8)=>{\"use strict\";var fV=zr(),cV=xs().utcFormat,it=Fe(),vV=it.numberFormat,Mi=Hr(),Al=it.cleanNumber,hV=it.ms2DateTime,r8=it.dateTime2ms,Ai=it.ensureNumber,t8=it.isArrayOrTypedArray,kl=Gt(),k0=kl.FP_SAFE,ri=kl.BADNUM,dV=kl.LOG_CLIP,pV=kl.ONEWEEK,C0=kl.ONEDAY,S0=kl.ONEHOUR,a8=kl.ONEMIN,n8=kl.ONESEC,L0=Zt(),E0=$t(),q0=E0.HOUR_PATTERN,D0=E0.WEEKDAY_PATTERN;function wf(e){return Math.pow(10,e)}function Nm(e){return e!=null}i8.exports=function(r,t){t=t||{};var a=r._id||\"x\",n=a.charAt(0);function i(b,M){if(b>0)return Math.log(b)\/Math.LN10;if(b<=0&#038;&#038;M&#038;&#038;r.range&#038;&#038;r.range.length===2){var S=r.range[0],k=r.range[1];return .5*(S+k-2*dV*Math.abs(S-k))}else return ri}function l(b,M,S,k){if((k||{}).msUTC&#038;&#038;Mi(b))return+b;var q=r8(b,S||r.calendar);if(q===ri)if(Mi(b)){b=+b;var D=Math.floor(it.mod(b+.05,1)*10),P=Math.round(b-D\/10);q=r8(new Date(P))+D\/10}else return ri;return q}function o(b,M,S){return hV(b,M,S||r.calendar)}function s(b){return r._categories[Math.round(b)]}function u(b){if(Nm(b)){if(r._categoriesMap===void 0&#038;&#038;(r._categoriesMap={}),r._categoriesMap[b]!==void 0)return r._categoriesMap[b];r._categories.push(typeof b==\"number\"?String(b):b);var M=r._categories.length-1;return r._categoriesMap[b]=M,M}return ri}function f(b,M){for(var S=new Array(M),k=0;k<M;k++){var q=(b[0]||[])[k],D=(b[1]||[])[k];S[k]=v([q,D])}return S}function v(b){if(r._categoriesMap)return r._categoriesMap[b]}function h(b){var M=v(b);if(M!==void 0)return M;if(Mi(b))return+b}function d(b){return Mi(b)?+b:v(b)}function m(b,M,S){return fV.round(S+M*b,2)}function y(b,M,S){return(b-S)\/M}var g=function(M){return Mi(M)?m(M,r._m,r._b):ri},_=function(b){return y(b,r._m,r._b)};if(r.rangebreaks){var T=n===\"y\";g=function(b){if(!Mi(b))return ri;var M=r._rangebreaks.length;if(!M)return m(b,r._m,r._b);var S=T;r.range[0]>r.range[1]&&(S=!S);for(var k=S?-1:1,q=k*b,D=0,P=0;P<M;P++){var z=k*r._rangebreaks[P].min,F=k*r._rangebreaks[P].max;if(q<z)break;if(q>F)D=P+1;else{D=q<(z+F)\/2?P:P+1;break}}var O=r._B[D]||0;return isFinite(O)?m(b,r._m2,O):0},_=function(b){var M=r._rangebreaks.length;if(!M)return y(b,r._m,r._b);for(var S=0,k=0;k<M&#038;&#038;!(b<r._rangebreaks[k].pmin);k++)b>r._rangebreaks[k].pmax&&(S=k+1);return y(b,r._m2,r._B[S])}}r.c2l=r.type===\"log\"?i:Ai,r.l2c=r.type===\"log\"?wf:Ai,r.l2p=g,r.p2l=_,r.c2p=r.type===\"log\"?function(b,M){return g(i(b,M))}:g,r.p2c=r.type===\"log\"?function(b){return wf(_(b))}:_,[\"linear\",\"-\"].indexOf(r.type)!==-1?(r.d2r=r.r2d=r.d2c=r.r2c=r.d2l=r.r2l=Al,r.c2d=r.c2r=r.l2d=r.l2r=Ai,r.d2p=r.r2p=function(b){return r.l2p(Al(b))},r.p2d=r.p2r=_,r.cleanPos=Ai):r.type===\"log\"?(r.d2r=r.d2l=function(b,M){return i(Al(b),M)},r.r2d=r.r2c=function(b){return wf(Al(b))},r.d2c=r.r2l=Al,r.c2d=r.l2r=Ai,r.c2r=i,r.l2d=wf,r.d2p=function(b,M){return r.l2p(r.d2r(b,M))},r.p2d=function(b){return wf(_(b))},r.r2p=function(b){return r.l2p(Al(b))},r.p2r=_,r.cleanPos=Ai):r.type===\"date\"?(r.d2r=r.r2d=it.identity,r.d2c=r.r2c=r.d2l=r.r2l=l,r.c2d=r.c2r=r.l2d=r.l2r=o,r.d2p=r.r2p=function(b,M,S){return r.l2p(l(b,0,S))},r.p2d=r.p2r=function(b,M,S){return o(_(b),M,S)},r.cleanPos=function(b){return it.cleanDate(b,ri,r.calendar)}):r.type===\"category\"?(r.d2c=r.d2l=u,r.r2d=r.c2d=r.l2d=s,r.d2r=r.d2l_noadd=h,r.r2c=function(b){var M=d(b);return M!==void 0?M:r.fraction2r(.5)},r.l2r=r.c2r=Ai,r.r2l=d,r.d2p=function(b){return r.l2p(r.r2c(b))},r.p2d=function(b){return s(_(b))},r.r2p=r.d2p,r.p2r=_,r.cleanPos=function(b){return typeof b==\"string\"&&b!==\"\"?b:Ai(b)}):r.type===\"multicategory\"&&(r.r2d=r.c2d=r.l2d=s,r.d2r=r.d2l_noadd=h,r.r2c=function(b){var M=h(b);return M!==void 0?M:r.fraction2r(.5)},r.r2c_just_indices=v,r.l2r=r.c2r=Ai,r.r2l=h,r.d2p=function(b){return r.l2p(r.r2c(b))},r.p2d=function(b){return s(_(b))},r.r2p=r.d2p,r.p2r=_,r.cleanPos=function(b){return Array.isArray(b)||typeof b==\"string\"&&b!==\"\"?b:Ai(b)},r.setupMultiCategory=function(b){var M=r._traceIndices,S,k,q=r._matchGroup;if(q&&r._categories.length===0){for(var D in q)if(D!==a){var P=t[L0.id2name(D)];M=M.concat(P._traceIndices)}}var z=[[0,{}],[0,{}]],F=[];for(S=0;S<M.length;S++){var O=b[M[S]];if(n in O){var I=O[n],V=O._length||it.minRowLength(I);if(t8(I[0])&#038;&#038;t8(I[1]))for(k=0;k<V;k++){var J=I[0][k],G=I[1][k];Nm(J)&#038;&#038;Nm(G)&#038;&#038;(F.push([J,G]),J in z[0][1]||(z[0][1][J]=z[0][0]++),G in z[1][1]||(z[1][1][G]=z[1][0]++))}}}for(F.sort(function(U,H){var Q=z[0][1],Z=Q[U[0]]-Q[H[0]];if(Z)return Z;var ne=z[1][1];return ne[U[1]]-ne[H[1]]}),S=0;S<F.length;S++)u(F[S])}),r.fraction2r=function(b){var M=r.r2l(r.range[0]),S=r.r2l(r.range[1]);return r.l2r(M+b*(S-M))},r.r2fraction=function(b){var M=r.r2l(r.range[0]),S=r.r2l(r.range[1]);return(r.r2l(b)-M)\/(S-M)},r.limitRange=function(b){var M=r.minallowed,S=r.maxallowed;if(!(M===void 0&#038;&#038;S===void 0)){b||(b=\"range\");var k=it.nestedProperty(r,b).get(),q=it.simpleMap(k,r.r2l),D=q[1]<q[0];D&#038;&#038;q.reverse();var P=it.simpleMap([M,S],r.r2l);if(M!==void 0&#038;&#038;q[0]<P[0]&#038;&#038;(k[D?1:0]=M,q[0]=P[0]),S!==void 0&#038;&#038;q[1]>P[1]&&(k[D?0:1]=S,q[1]=P[1]),q[0]>=q[1])if(M!==void 0){var z=P[0]+1;S!==void 0&&(z=Math.min(z,P[1])),k[D?0:1]=r.l2r(z)}else S!==void 0&&(k[D?1:0]=r.l2r(P[1]-1))}},r.cleanRange=function(b,M){r._cleanRange(b,M),r.limitRange(b)},r._cleanRange=function(b,M){M||(M={}),b||(b=\"range\");var S=it.nestedProperty(r,b).get(),k,q;if(r.type===\"date\"?q=it.dfltRange(r.calendar):n===\"y\"?q=E0.DFLTRANGEY:r._name===\"realaxis\"?q=[0,1]:q=M.dfltRange||E0.DFLTRANGEX,q=q.slice(),(r.rangemode===\"tozero\"||r.rangemode===\"nonnegative\")&&(q[0]=0),!S||S.length!==2){it.nestedProperty(r,b).set(q);return}var D=S[0]===null,P=S[1]===null;for(r.type===\"date\"&&!r.autorange&&(S[0]=it.cleanDate(S[0],ri,r.calendar),S[1]=it.cleanDate(S[1],ri,r.calendar)),k=0;k<2;k++)if(r.type===\"date\"){if(!it.isDateTime(S[k],r.calendar)){r[b]=q;break}if(r.r2l(S[0])===r.r2l(S[1])){var z=it.constrain(r.r2l(S[0]),it.MIN_MS+1e3,it.MAX_MS-1e3);S[0]=r.l2r(z-1e3),S[1]=r.l2r(z+1e3);break}}else{if(!Mi(S[k]))if(!(D||P)&#038;&#038;Mi(S[1-k]))S[k]=S[1-k]*(k?10:.1);else{r[b]=q;break}if(S[k]<-k0?S[k]=-k0:S[k]>k0&&(S[k]=k0),S[0]===S[1]){var F=Math.max(1,Math.abs(S[0]*1e-6));S[0]-=F,S[1]+=F}}},r.setScale=function(b){var M=t._size;if(r.overlaying){var S=L0.getFromId({_fullLayout:t},r.overlaying);r.domain=S.domain}var k=b&&r._r?\"_r\":\"range\",q=r.calendar;r.cleanRange(k);var D=r.r2l(r[k][0],q),P=r.r2l(r[k][1],q),z=n===\"y\";if(z?(r._offset=M.t+(1-r.domain[1])*M.h,r._length=M.h*(r.domain[1]-r.domain[0]),r._m=r._length\/(D-P),r._b=-r._m*P):(r._offset=M.l+r.domain[0]*M.w,r._length=M.w*(r.domain[1]-r.domain[0]),r._m=r._length\/(P-D),r._b=-r._m*D),r._rangebreaks=[],r._lBreaks=0,r._m2=0,r._B=[],r.rangebreaks){var F,O;if(r._rangebreaks=r.locateBreaks(Math.min(D,P),Math.max(D,P)),r._rangebreaks.length){for(F=0;F<r._rangebreaks.length;F++)O=r._rangebreaks[F],r._lBreaks+=Math.abs(O.max-O.min);var I=z;D>P&&(I=!I),I&&r._rangebreaks.reverse();var V=I?-1:1;for(r._m2=V*r._length\/(Math.abs(P-D)-r._lBreaks),r._B.push(-r._m2*(z?P:D)),F=0;F<r._rangebreaks.length;F++)O=r._rangebreaks[F],r._B.push(r._B[r._B.length-1]-V*r._m2*(O.max-O.min));for(F=0;F<r._rangebreaks.length;F++)O=r._rangebreaks[F],O.pmin=g(O.min),O.pmax=g(O.max)}}if(!isFinite(r._m)||!isFinite(r._b)||r._length<0)throw t._replotting=!1,new Error(\"Something went wrong with axis scaling\")},r.maskBreaks=function(b){var M=r.rangebreaks||[],S,k,q,D,P;M._cachedPatterns||(M._cachedPatterns=M.map(function(Q){return Q.enabled&#038;&#038;Q.bounds?it.simpleMap(Q.bounds,Q.pattern?Al:r.d2c):null})),M._cachedValues||(M._cachedValues=M.map(function(Q){return Q.enabled&#038;&#038;Q.values?it.simpleMap(Q.values,r.d2c).sort(it.sorterAsc):null}));for(var z=0;z<M.length;z++){var F=M[z];if(F.enabled){if(F.bounds){var O=F.pattern;switch(S=M._cachedPatterns[z],k=S[0],q=S[1],O){case D0:P=new Date(b),D=P.getUTCDay(),k>q&&(q+=7,D<k&#038;&#038;(D+=7));break;case q0:P=new Date(b);var I=P.getUTCHours(),V=P.getUTCMinutes(),J=P.getUTCSeconds(),G=P.getUTCMilliseconds();D=I+(V\/60+J\/3600+G\/36e5),k>q&&(q+=24,D<k&#038;&#038;(D+=24));break;case\"\":D=b;break}if(D>=k&&D<q)return ri}else for(var U=M._cachedValues[z],H=0;H<U.length;H++)if(k=U[H],q=k+F.dvalue,b>=k&&b<q)return ri}}return b},r.locateBreaks=function(b,M){var S,k,q,D,P=[];if(!r.rangebreaks)return P;var z=r.rangebreaks.slice().sort(function(ne,ce){return ne.pattern===D0&#038;&#038;ce.pattern===q0?-1:ce.pattern===D0&#038;&#038;ne.pattern===q0?1:0}),F=function(ne,ce){if(ne=it.constrain(ne,b,M),ce=it.constrain(ce,b,M),ne!==ce){for(var ye=!0,Ce=0;Ce<P.length;Ce++){var re=P[Ce];ne<re.max&#038;&#038;ce>=re.min&&(ne<re.min&#038;&#038;(re.min=ne),ce>re.max&&(re.max=ce),ye=!1)}ye&&P.push({min:ne,max:ce})}};for(S=0;S<z.length;S++){var O=z[S];if(O.enabled)if(O.bounds){var I=b,V=M;O.pattern&#038;&#038;(I=Math.floor(I)),k=it.simpleMap(O.bounds,O.pattern?Al:r.r2l),q=k[0],D=k[1];var J=new Date(I),G,U;switch(O.pattern){case D0:U=pV,G=((D<q?7:0)+(D-q))*C0,I+=q*C0-(J.getUTCDay()*C0+J.getUTCHours()*S0+J.getUTCMinutes()*a8+J.getUTCSeconds()*n8+J.getUTCMilliseconds());break;case q0:U=C0,G=((D<q?24:0)+(D-q))*S0,I+=q*S0-(J.getUTCHours()*S0+J.getUTCMinutes()*a8+J.getUTCSeconds()*n8+J.getUTCMilliseconds());break;default:I=Math.min(k[0],k[1]),V=Math.max(k[0],k[1]),U=V-I,G=U}for(var H=I;H<V;H+=U)F(H,H+G)}else for(var Q=it.simpleMap(O.values,r.d2c),Z=0;Z<Q.length;Z++)q=Q[Z],D=q+O.dvalue,F(q,D)}return P.sort(function(ne,ce){return ne.min-ce.min}),P},r.makeCalcdata=function(b,M,S){var k,q,D,P,z=r.type,F=z===\"date\"&#038;&#038;b[M+\"calendar\"];if(M in b){if(k=b[M],P=b._length||it.minRowLength(k),it.isTypedArray(k)&#038;&#038;(z===\"linear\"||z===\"log\")){if(P===k.length)return k;if(k.subarray)return k.subarray(0,P)}if(z===\"multicategory\")return f(k,P);for(q=new Array(P),D=0;D<P;D++)q[D]=r.d2c(k[D],0,F,S)}else{var O=M+\"0\"in b?r.d2c(b[M+\"0\"],0,F):0,I=b[\"d\"+M]?Number(b[\"d\"+M]):1;for(k=b[{x:\"y\",y:\"x\"}[M]],P=b._length||k.length,q=new Array(P),D=0;D<P;D++)q[D]=O+D*I}if(r.rangebreaks)for(D=0;D<P;D++)q[D]=r.maskBreaks(q[D]);return q},r.isValidRange=function(b,M){return Array.isArray(b)&#038;&#038;b.length===2&#038;&#038;(M&#038;&#038;b[0]===null||Mi(r.r2l(b[0])))&#038;&#038;(M&#038;&#038;b[1]===null||Mi(r.r2l(b[1])))},r.getAutorangeDflt=function(b,M){var S=!r.isValidRange(b,\"nullOk\");return S&#038;&#038;M&#038;&#038;M.reverseDflt?S=\"reversed\":b&#038;&#038;(b[0]===null&#038;&#038;b[1]===null?S=!0:b[0]===null&#038;&#038;b[1]!==null?S=\"min\":b[0]!==null&#038;&#038;b[1]===null&#038;&#038;(S=\"max\")),S},r.isReversed=function(){var b=r.autorange;return b===\"reversed\"||b===\"min reversed\"||b===\"max reversed\"},r.isPtWithinRange=function(b,M){var S=r.c2l(b[n],null,M),k=r.r2l(r.range[0]),q=r.r2l(r.range[1]);return k<q?k<=S&#038;&#038;S<=q:q<=S&#038;&#038;S<=k},r._emptyCategories=function(){r._categories=[],r._categoriesMap={}},r.clearCalc=function(){var b=r._matchGroup;if(b){var M=null,S=null;for(var k in b){var q=t[L0.id2name(k)];if(q._categories){M=q._categories,S=q._categoriesMap;break}}M&#038;&#038;S?(r._categories=M,r._categoriesMap=S):r._emptyCategories()}else r._emptyCategories();if(r._initialCategories)for(var D=0;D<r._initialCategories.length;D++)u(r._initialCategories[D])},r.sortByInitialCategories=function(){var b=[];if(r._emptyCategories(),r._initialCategories)for(var M=0;M<r._initialCategories.length;M++)u(r._initialCategories[M]);b=b.concat(r._traceIndices);var S=r._matchGroup;for(var k in S)if(a!==k){var q=t[L0.id2name(k)];q._categories=r._categories,q._categoriesMap=r._categoriesMap,b=b.concat(q._traceIndices)}return b};var w=t._d3locale;r.type===\"date\"&#038;&#038;(r._dateFormat=w?w.timeFormat:cV,r._extraFormat=t._extraFormat),r._separators=t.separators,r._numFormat=w?w.numberFormat:vV,delete r._minDtick,delete r._forceTick0}});var Im=K((kse,u8)=>{\"use strict\";var l8=Hr(),Fm=Fe(),mV=Gt().BADNUM,R0=Fm.isArrayOrTypedArray,yV=Fm.isDateTime,gV=Fm.cleanNumber,o8=Math.round;u8.exports=function(r,t,a){var n=r,i=a.noMultiCategory;if(R0(n)&&!n.length)return\"-\";if(!i&&TV(n))return\"multicategory\";if(i&&Array.isArray(n[0])){for(var l=[],o=0;o<n.length;o++)if(R0(n[o]))for(var s=0;s<n[o].length;s++)l.push(n[o][s]);n=l}if(_V(n,t))return\"date\";var u=a.autotypenumbers!==\"strict\";return wV(n,u)?\"category\":xV(n,u)?\"linear\":\"-\"};function bV(e,r){return r?l8(e):typeof e==\"number\"}function xV(e,r){for(var t=e.length,a=0;a<t;a++)if(bV(e[a],r))return!0;return!1}function _V(e,r){for(var t=e.length,a=s8(t),n=0,i=0,l={},o=0;o<t;o+=a){var s=o8(o),u=e[s],f=String(u);l[f]||(l[f]=1,yV(u,r)&#038;&#038;n++,l8(u)&#038;&#038;i++)}return n>i*2}function s8(e){return Math.max(1,(e-1)\/1e3)}function wV(e,r){for(var t=e.length,a=s8(t),n=0,i=0,l={},o=0;o<t;o+=a){var s=o8(o),u=e[s],f=String(u);if(!l[f]){l[f]=1;var v=typeof u;v===\"boolean\"?i++:(r?gV(u)!==mV:v===\"number\")?n++:v===\"string\"&#038;&#038;i++}}return i>n*2}function TV(e){return R0(e[0])&&R0(e[1])}});var Tf=K((Cse,y8)=>{\"use strict\";var MV=zr(),h8=Hr(),Cl=Fe(),z0=Gt().FP_SAFE,AV=br(),kV=tt(),d8=Zt(),CV=d8.getFromId,SV=d8.isLinked;y8.exports={applyAutorangeOptions:m8,getAutoRange:Hm,makePadFn:Om,doAutoRange:qV,findExtremes:DV,concatExtremes:Um};function Hm(e,r){var t,a,n=[],i=e._fullLayout,l=Om(i,r,0),o=Om(i,r,1),s=Um(e,r),u=s.min,f=s.max;if(u.length===0||f.length===0)return Cl.simpleMap(r.range,r.r2l);var v=u[0].val,h=f[0].val;for(t=1;t<u.length&#038;&#038;v===h;t++)v=Math.min(v,u[t].val);for(t=1;t<f.length&#038;&#038;v===h;t++)h=Math.max(h,f[t].val);var d=r.autorange,m=d===\"reversed\"||d===\"min reversed\"||d===\"max reversed\";if(!m&#038;&#038;r.range){var y=Cl.simpleMap(r.range,r.r2l);m=y[1]<y[0]}r.autorange===\"reversed\"&#038;&#038;(r.autorange=!0);var g=r.rangemode,_=g===\"tozero\",T=g===\"nonnegative\",w=r._length,b=w\/10,M=0,S,k,q,D,P,z;for(t=0;t<u.length;t++)for(S=u[t],a=0;a<f.length;a++)k=f[a],z=k.val-S.val-f8(r,S.val,k.val),z>0&&(P=w-l(S)-o(k),P>b?z\/P>M&&(q=S,D=k,M=z\/P):z\/w>M&&(q={val:S.val,nopad:1},D={val:k.val,nopad:1},M=z\/w));function F(G,U){return Math.max(G,o(U))}if(v===h){var O=v-1,I=v+1;if(_)if(v===0)n=[0,1];else{var V=(v>0?f:u).reduce(F,0),J=v\/(1-Math.min(.5,V\/w));n=v>0?[0,J]:[J,0]}else T?n=[Math.max(0,O),Math.max(1,I)]:n=[O,I]}else _?(q.val>=0&&(q={val:0,nopad:1}),D.val<=0&#038;&#038;(D={val:0,nopad:1})):T&#038;&#038;(q.val-M*l(q)<0&#038;&#038;(q={val:0,nopad:1}),D.val<=0&#038;&#038;(D={val:1,nopad:1})),M=(D.val-q.val-f8(r,S.val,k.val))\/(w-l(q)-o(D)),n=[q.val-M*l(q),D.val+M*o(D)];return n=m8(n,r),r.limitRange&#038;&#038;r.limitRange(),m&#038;&#038;n.reverse(),Cl.simpleMap(n,r.l2r||Number)}function f8(e,r,t){var a=0;if(e.rangebreaks)for(var n=e.locateBreaks(r,t),i=0;i<n.length;i++){var l=n[i];a+=l.max-l.min}return a}function Om(e,r,t){var a=.05*r._length,n=r._anchorAxis||{};if((r.ticklabelposition||\"\").indexOf(\"inside\")!==-1||(n.ticklabelposition||\"\").indexOf(\"inside\")!==-1){var i=r.isReversed();if(!i){var l=Cl.simpleMap(r.range,r.r2l);i=l[1]<l[0]}i&#038;&#038;(t=!t)}var o=0;return SV(e,r._id)||(o=LV(e,r,t)),a=Math.max(o,a),r.constrain===\"domain\"&#038;&#038;r._inputDomain&#038;&#038;(a*=(r._inputDomain[1]-r._inputDomain[0])\/(r.domain[1]-r.domain[0])),function(u){return u.nopad?0:u.pad+(u.extrapad?a:o)}}var c8=3;function LV(e,r,t){var a=0,n=r._id.charAt(0)===\"x\";for(var i in e._plots){var l=e._plots[i];if(!(r._id!==l.xaxis._id&#038;&#038;r._id!==l.yaxis._id)){var o=(n?l.yaxis:l.xaxis)||{};if((o.ticklabelposition||\"\").indexOf(\"inside\")!==-1&#038;&#038;(!t&#038;&#038;(o.side===\"left\"||o.side===\"bottom\")||t&#038;&#038;(o.side===\"top\"||o.side===\"right\"))){if(o._vals){var s=Cl.deg2rad(o._tickAngles[o._id+\"tick\"]||0),u=Math.abs(Math.cos(s)),f=Math.abs(Math.sin(s));if(!o._vals[0].bb){var v=o._id+\"tick\",h=o._selections[v];h.each(function(T){var w=MV.select(this),b=w.select(\".text-math-group\");b.empty()&#038;&#038;(T.bb=kV.bBox(w.node()))})}for(var d=0;d<o._vals.length;d++){var m=o._vals[d],y=m.bb;if(y){var g=2*c8+y.width,_=2*c8+y.height;a=Math.max(a,n?Math.max(g*u,_*f):Math.max(_*u,g*f))}}}o.ticks===\"inside\"&#038;&#038;o.ticklabelposition===\"inside\"&#038;&#038;(a+=o.ticklen||0)}}}return a}function Um(e,r,t){var a=r._id,n=e._fullData,i=e._fullLayout,l=[],o=[],s,u,f;function v(g,_){for(s=0;s<_.length;s++){var T=g[_[s]],w=(T._extremes||{})[a];if(T.visible===!0&#038;&#038;w){for(u=0;u<w.min.length;u++)f=w.min[u],Bm(l,f.val,f.pad,{extrapad:f.extrapad});for(u=0;u<w.max.length;u++)f=w.max[u],Ym(o,f.val,f.pad,{extrapad:f.extrapad})}}}if(v(n,r._traceIndices),v(i.annotations||[],r._annIndices||[]),v(i.shapes||[],r._shapeIndices||[]),r._matchGroup&#038;&#038;!t){for(var h in r._matchGroup)if(h!==r._id){var d=CV(e,h),m=Um(e,d,!0),y=r._length\/d._length;for(u=0;u<m.min.length;u++)f=m.min[u],Bm(l,f.val,f.pad*y,{extrapad:f.extrapad});for(u=0;u<m.max.length;u++)f=m.max[u],Ym(o,f.val,f.pad*y,{extrapad:f.extrapad})}}return{min:l,max:o}}function qV(e,r,t){if(r.setScale(),r.autorange){r.range=t?t.slice():Hm(e,r),r._r=r.range.slice(),r._rl=Cl.simpleMap(r._r,r.r2l);var a=r._input,n={};n[r._attr+\".range\"]=r.range,n[r._attr+\".autorange\"]=r.autorange,AV.call(\"_storeDirectGUIEdit\",e.layout,e._fullLayout._preGUI,n),a.range=r.range.slice(),a.autorange=r.autorange}var i=r._anchorAxis;if(i&#038;&#038;i.rangeslider){var l=i.rangeslider[r._name];l&#038;&#038;l.rangemode===\"auto\"&#038;&#038;(l.range=Hm(e,r)),i._input.rangeslider[r._name]=Cl.extendFlat({},l)}}function DV(e,r,t){t||(t={}),e._m||e.setScale();var a=[],n=[],i=r.length,l=t.padded||!1,o=t.tozero&#038;&#038;(e.type===\"linear\"||e.type===\"-\"),s=e.type===\"log\",u=!1,f=t.vpadLinearized||!1,v,h,d,m,y,g,_,T,w;function b(F){if(Array.isArray(F))return u=!0,function(I){return Math.max(Number(F[I]||0),0)};var O=Math.max(Number(F||0),0);return function(){return O}}var M=b((e._m>0?t.ppadplus:t.ppadminus)||t.ppad||0),S=b((e._m>0?t.ppadminus:t.ppadplus)||t.ppad||0),k=b(t.vpadplus||t.vpad),q=b(t.vpadminus||t.vpad);if(!u){if(T=1\/0,w=-1\/0,s)for(v=0;v<i;v++)h=r[v],h<T&#038;&#038;h>0&&(T=h),h>w&&h<z0&#038;&#038;(w=h);else for(v=0;v<i;v++)h=r[v],h<T&#038;&#038;h>-z0&&(T=h),h>w&&h<z0&#038;&#038;(w=h);r=[T,w],i=2}var D={tozero:o,extrapad:l};function P(F){d=r[F],h8(d)&#038;&#038;(g=M(F),_=S(F),f?(m=e.c2l(d)-q(F),y=e.c2l(d)+k(F)):(T=d-q(F),w=d+k(F),s&#038;&#038;T<w\/10&#038;&#038;(T=w\/10),m=e.c2l(T),y=e.c2l(w)),o&#038;&#038;(m=Math.min(0,m),y=Math.max(0,y)),v8(m)&#038;&#038;Bm(a,m,_,D),v8(y)&#038;&#038;Ym(n,y,g,D))}var z=Math.min(6,i);for(v=0;v<z;v++)P(v);for(v=i-1;v>=z;v--)P(v);return{min:a,max:n,opts:t}}function Bm(e,r,t,a){p8(e,r,t,a,EV)}function Ym(e,r,t,a){p8(e,r,t,a,PV)}function p8(e,r,t,a,n){for(var i=a.tozero,l=a.extrapad,o=!0,s=0;s<e.length&#038;&o;s++){var u=e[s];if(n(u.val,r)&#038;&#038;u.pad>=t&&(u.extrapad||!l)){o=!1;break}else n(r,u.val)&&u.pad<=t&#038;&#038;(l||!u.extrapad)&#038;&#038;(e.splice(s,1),s--)}if(o){var f=i&#038;&#038;r===0;e.push({val:r,pad:f?0:t,extrapad:f?!1:l})}}function v8(e){return h8(e)&#038;&#038;Math.abs(e)<z0}function EV(e,r){return e<=r}function PV(e,r){return e>=r}function RV(e,r){var t=r.autorangeoptions;return t&&t.minallowed!==void 0&&N0(r,t.minallowed,t.maxallowed)?t.minallowed:t&&t.clipmin!==void 0&&N0(r,t.clipmin,t.clipmax)?Math.max(e,r.d2l(t.clipmin)):e}function zV(e,r){var t=r.autorangeoptions;return t&&t.maxallowed!==void 0&&N0(r,t.minallowed,t.maxallowed)?t.maxallowed:t&&t.clipmax!==void 0&&N0(r,t.clipmin,t.clipmax)?Math.min(e,r.d2l(t.clipmax)):e}function N0(e,r,t){return r!==void 0&&t!==void 0?(r=e.d2l(r),t=e.d2l(t),r<t):!0}function m8(e,r){if(!r||!r.autorangeoptions)return e;var t=e[0],a=e[1],n=r.autorangeoptions.include;if(n!==void 0){var i=r.d2l(t),l=r.d2l(a);Cl.isArrayOrTypedArray(n)||(n=[n]);for(var o=0;o<n.length;o++){var s=r.d2l(n[o]);i>=s&&(i=s,t=s),l<=s&#038;&#038;(l=s,a=s)}}return t=RV(t,r),a=zV(a,r),[t,a]}});var pt=K((Lse,O8)=>{\"use strict\";var Cn=zr(),Ot=Hr(),Js=It(),Af=br(),gr=Fe(),Ks=gr.strTranslate,So=ba(),NV=_f(),kf=Er(),fn=tt(),FV=jn(),g8=lm(),Sse=$t(),_a=Gt(),IV=_a.ONEMAXYEAR,H0=_a.ONEAVGYEAR,O0=_a.ONEMINYEAR,HV=_a.ONEMAXQUARTER,Xm=_a.ONEAVGQUARTER,B0=_a.ONEMINQUARTER,OV=_a.ONEMAXMONTH,Qs=_a.ONEAVGMONTH,Y0=_a.ONEMINMONTH,cn=_a.ONEWEEK,Ra=_a.ONEDAY,Sl=Ra\/2,Ci=_a.ONEHOUR,Cf=_a.ONEMIN,U0=_a.ONESEC,BV=_a.ONEMILLI,YV=_a.ONEMICROSEC,Lo=_a.MINUS_SIGN,G0=_a.BADNUM,Zm={K:\"zeroline\"},Jm={K:\"gridline\",L:\"path\"},Km={K:\"minor-gridline\",L:\"path\"},L8={K:\"tick\",L:\"path\"},b8={K:\"tick\",L:\"text\"},x8={width:[\"x\",\"r\",\"l\",\"xl\",\"xr\"],height:[\"y\",\"t\",\"b\",\"yt\",\"yb\"],right:[\"r\",\"xr\"],left:[\"l\",\"xl\"],top:[\"t\",\"yt\"],bottom:[\"b\",\"yb\"]},W0=Aa(),Mf=W0.MID_SHIFT,qo=W0.CAP_SHIFT,Sf=W0.LINE_SPACING,UV=W0.OPPOSITE_SIDE,V0=3,Be=O8.exports={};Be.setConvert=P0();var VV=Im(),Si=Zt(),GV=Si.idSort,WV=Si.isLinked;Be.id2name=Si.id2name;Be.name2id=Si.name2id;Be.cleanId=Si.cleanId;Be.list=Si.list;Be.listIds=Si.listIds;Be.getFromId=Si.getFromId;Be.getFromTrace=Si.getFromTrace;var q8=Tf();Be.getAutoRange=q8.getAutoRange;Be.findExtremes=q8.findExtremes;var XV=1e-4;function ey(e){var r=(e[1]-e[0])*XV;return[e[0]-r,e[1]+r]}Be.coerceRef=function(e,r,t,a,n,i){var l=a.charAt(a.length-1),o=t._fullLayout._subplots[l+\"axis\"],s=a+\"ref\",u={};return n||(n=o[0]||(typeof i==\"string\"?i:i[0])),i||(i=n),o=o.concat(o.map(function(f){return f+\" domain\"})),u[s]={valType:\"enumerated\",values:o.concat(i?typeof i==\"string\"?[i]:i:[]),dflt:n},gr.coerce(e,r,u,s)};Be.coerceRefArray=function(e,r,t,a,n,i,l){let o=a.charAt(a.length-1);var s=t._fullLayout._subplots[o+\"axis\"];let u=a+\"ref\";var f=e[u];n||(n=s[0]||(typeof i==\"string\"?i:i[0])),s=s.concat(s.map(h=>h+\" domain\")),s=s.concat(i||[]),f.length>l?(gr.warn(\"Array attribute \"+u+\" has more entries than expected, truncating to \"+l),f=f.slice(0,l)):f.length<l&#038;&#038;(gr.warn(\"Array attribute \"+u+\" has fewer entries than expected, extending with default value\"),f=f.concat(Array(l-f.length).fill(n)));for(var v=0;v<f.length;v++)f[v]=Si.cleanId(f[v],o,!0)||f[v],s.includes(f[v])||(f[v]=n);return r[u]=f,f};Be.getRefType=function(e){return e===void 0?e:Array.isArray(e)?\"array\":e===\"paper\"?\"paper\":e===\"pixel\"?\"pixel\":\/( domain)$\/.test(e)?\"domain\":\"range\"};Be.coercePosition=function(e,r,t,a,n,i){var l,o,s=Be.getRefType(a);if(s!==\"range\")l=gr.ensureNumber,o=t(n,i);else{var u=Be.getFromId(r,a);i=u.fraction2r(i),o=t(n,i),l=u.cleanPos}e[n]=l(o)};Be.cleanPosition=function(e,r,t){var a=t===\"paper\"||t===\"pixel\"?gr.ensureNumber:Be.getFromId(r,t).cleanPos;return a(e)};Be.redrawComponents=function(e,r){r=r||Be.listIds(e);var t=e._fullLayout;function a(n,i,l,o){for(var s=Af.getComponentMethod(n,i),u={},f=0;f<r.length;f++)for(var v=t[Be.id2name(r[f])],h=v[l],d=0;d<h.length;d++){var m=h[d];if(!u[m]&#038;&#038;(s(e,m),u[m]=1,o))return}}a(\"annotations\",\"drawOne\",\"_annIndices\"),a(\"shapes\",\"drawOne\",\"_shapeIndices\"),a(\"images\",\"draw\",\"_imgIndices\",!0),a(\"selections\",\"drawOne\",\"_selectionIndices\")};var ZV=Be.getDataConversions=function(e,r,t,a){var n,i=t===\"x\"||t===\"y\"||t===\"z\"?t:a;if(gr.isArrayOrTypedArray(i)){if(n={type:VV(a,void 0,{autotypenumbers:e._fullLayout.autotypenumbers}),_categories:[]},Be.setConvert(n),n.type===\"category\")for(var l=0;l<a.length;l++)n.d2c(a[l])}else n=Be.getFromTrace(e,r,i);return n?{d2c:n.d2c,c2d:n.c2d}:i===\"ids\"?{d2c:w8,c2d:w8}:{d2c:_8,c2d:_8}};function _8(e){return+e}function w8(e){return String(e)}Be.getDataToCoordFunc=function(e,r,t,a){return ZV(e,r,t,a).d2c};Be.counterLetter=function(e){var r=e.charAt(0);if(r===\"x\")return\"y\";if(r===\"y\")return\"x\"};Be.minDtick=function(e,r,t,a){[\"log\",\"category\",\"multicategory\"].indexOf(e.type)!==-1||!a?e._minDtick=0:e._minDtick===void 0?(e._minDtick=r,e._forceTick0=t):e._minDtick&#038;&#038;((e._minDtick\/r+1e-6)%1<2e-6&#038;&#038;((t-e._forceTick0)\/r%1+1.000001)%1<2e-6?(e._minDtick=r,e._forceTick0=t):((r\/e._minDtick+1e-6)%1>2e-6||((t-e._forceTick0)\/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0))};Be.saveRangeInitial=function(e,r){for(var t=Be.list(e,\"\",!0),a=!1,n=0;n<t.length;n++){var i=t[n],l=i._rangeInitial0===void 0&#038;&#038;i._rangeInitial1===void 0,o=l||i.range[0]!==i._rangeInitial0||i.range[1]!==i._rangeInitial1,s=i.autorange;(l&#038;&#038;s!==!0||r&#038;&#038;o)&#038;&#038;(i._rangeInitial0=s===\"min\"||s===\"max reversed\"?void 0:i.range[0],i._rangeInitial1=s===\"max\"||s===\"min reversed\"?void 0:i.range[1],i._autorangeInitial=s,a=!0)}return a};Be.saveShowSpikeInitial=function(e,r){for(var t=Be.list(e,\"\",!0),a=!1,n=\"on\",i=0;i<t.length;i++){var l=t[i],o=l._showSpikeInitial===void 0,s=o||l.showspikes!==l._showspikes;(o||r&#038;&#038;s)&#038;&#038;(l._showSpikeInitial=l.showspikes,a=!0),n===\"on\"&#038;&#038;!l.showspikes&#038;&#038;(n=\"off\")}return e._fullLayout._cartesianSpikesEnabled=n,a};Be.autoBin=function(e,r,t,a,n,i){var l=gr.aggNums(Math.min,null,e),o=gr.aggNums(Math.max,null,e);if(r.type===\"category\"||r.type===\"multicategory\")return{start:l-.5,end:o+.5,size:Math.max(1,Math.round(i)||1),_dataSpan:o-l};n||(n=r.calendar);var s;if(r.type===\"log\"?s={type:\"linear\",range:[l,o]}:s={type:r.type,range:gr.simpleMap([l,o],r.c2r,0,n),calendar:n},Be.setConvert(s),i=i&#038;&#038;g8.dtick(i,s.type),i)s.dtick=i,s.tick0=g8.tick0(void 0,s.type,n);else{var u;if(t)u=(o-l)\/t;else{var f=gr.distinctVals(e),v=Math.pow(10,Math.floor(Math.log(f.minDiff)\/Math.LN10)),h=v*gr.roundUp(f.minDiff\/v,[.9,1.9,4.9,9.9],!0);u=Math.max(h,2*gr.stdev(e)\/Math.pow(e.length,a?.25:.4)),Ot(u)||(u=1)}Be.autoTicks(s,u)}var d=s.dtick,m=Be.tickIncrement(Be.tickFirst(s),d,\"reverse\",n),y,g;if(typeof d==\"number\")m=JV(m,e,s,l,o),g=1+Math.floor((o-m)\/d),y=m+g*d;else for(s.dtick.charAt(0)===\"M\"&#038;&#038;(m=KV(m,e,d,l,n)),y=m,g=0;y<=o;)y=Be.tickIncrement(y,d,!1,n),g++;return{start:r.c2r(m,0,n),end:r.c2r(y,0,n),size:d,_dataSpan:o-l}};function JV(e,r,t,a,n){var i=0,l=0,o=0,s=0;function u(d){return(1+(d-e)*100\/t.dtick)%100<2}for(var f=0;f<r.length;f++)r[f]%1===0?o++:Ot(r[f])||s++,u(r[f])&#038;&#038;i++,u(r[f]+t.dtick\/2)&#038;&#038;l++;var v=r.length-s;if(o===v&#038;&#038;t.type!==\"date\")t.dtick<1?e=a-.5*t.dtick:(e-=.5,e+t.dtick<a&#038;&#038;(e+=t.dtick));else if(l<v*.1&#038;&#038;(i>v*.3||u(a)||u(n))){var h=t.dtick\/2;e+=e+h<a?h:-h}return e}function KV(e,r,t,a,n){var i=gr.findExactDates(r,n),l=.8;if(i.exactDays>l){var o=Number(t.slice(1));i.exactYears>l&&o%12===0?e=Be.tickIncrement(e,\"M6\",\"reverse\")+Ra*1.5:i.exactMonths>l?e=Be.tickIncrement(e,\"M1\",\"reverse\")+Ra*15.5:e-=Sl;var s=Be.tickIncrement(e,t);if(s<=a)return s}return e}Be.prepMinorTicks=function(e,r,t){var v,h;if(!((v=r.minor)!=null&#038;&#038;v.dtick)){delete e.dtick;var a=r.dtick&#038;&#038;Ot(r._tmin),n;if(a){var i=Be.tickIncrement(r._tmin,r.dtick,!0);n=[r._tmin,i*.99+r._tmin*.01]}else{var l=gr.simpleMap(r.range,r.r2l);n=[l[0],.8*l[0]+.2*l[1]]}if(e.range=gr.simpleMap(n,r.l2r),e._isMinor=!0,Be.prepTicks(e,t),a){var o=Ot(r.dtick),s=Ot(e.dtick),u=o?r.dtick:+r.dtick.substring(1),f=s?e.dtick:+e.dtick.substring(1);o&#038;&#038;s?Vm(u,f)?u===2*cn&#038;&#038;f===2*Ra&#038;&#038;(e.dtick=cn):u===2*cn&#038;&#038;f===3*Ra?e.dtick=cn:u===cn&#038;&#038;!(r._input.minor||{}).nticks?e.dtick=Ra:T8(u\/f,2.5)?e.dtick=u\/2:e.dtick=u:String(r.dtick).charAt(0)===\"M\"?s?e.dtick=\"M1\":Vm(u,f)?u>=12&&f===2&&(e.dtick=\"M3\"):e.dtick=r.dtick:String(e.dtick).charAt(0)===\"L\"?String(r.dtick).charAt(0)===\"L\"?Vm(u,f)||(e.dtick=T8(u\/f,2.5)?r.dtick\/2:r.dtick):e.dtick=\"D1\":e.dtick===\"D2\"&&+r.dtick>1&&(e.dtick=1)}e.range=r.range}((h=r.minor)==null?void 0:h._tick0Init)===void 0&&(e.tick0=r.tick0)};function Vm(e,r){return Math.abs((e\/r+.5)%1-.5)<.001}function T8(e,r){return Math.abs(e\/r-1)<.001}Be.prepTicks=function(e,r){var t=gr.simpleMap(e.range,e.r2l,void 0,void 0,r);if(e.tickmode===\"auto\"||!e.dtick){var a=e.nticks,n;a||(e.type===\"category\"||e.type===\"multicategory\"?(n=e.tickfont?gr.bigFont(e.tickfont.size||12):15,a=e._length\/n):(n=e._id.charAt(0)===\"y\"?40:80,a=gr.constrain(e._length\/n,4,9)+1),e._name===\"radialaxis\"&#038;&#038;(a*=2)),e.minor&#038;&#038;e.minor.tickmode!==\"array\"||e.tickmode===\"array\"&#038;&#038;(a*=100),e._roughDTick=Math.abs(t[1]-t[0])\/a,Be.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<e._minDtick*2&#038;&#038;(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}e.ticklabelmode===\"period\"&#038;&#038;QV(e),e.tick0||(e.tick0=e.type===\"date\"?\"2000-01-01\":0),e.type===\"date\"&#038;&#038;e.dtick<.1&#038;&#038;(e.dtick=.1),R8(e)};function Gm(e){return+e.substring(1)}function QV(e){var r;function t(){return!(Ot(e.dtick)||e.dtick.charAt(0)!==\"M\")}var a=t(),n=Be.getTickFormat(e);if(n){var i=e._dtickInit!==e.dtick;\/%[fLQsSMX]\/.test(n)||(\/%[HI]\/.test(n)?(r=Ci,i&#038;&#038;!a&#038;&#038;e.dtick<Ci&#038;&#038;(e.dtick=Ci)):\/%p\/.test(n)?(r=Sl,i&#038;&#038;!a&#038;&#038;e.dtick<Sl&#038;&#038;(e.dtick=Sl)):\/%[Aadejuwx]\/.test(n)?(r=Ra,i&#038;&#038;!a&#038;&#038;e.dtick<Ra&#038;&#038;(e.dtick=Ra)):\/%[UVW]\/.test(n)?(r=cn,i&#038;&#038;!a&#038;&#038;e.dtick<cn&#038;&#038;(e.dtick=cn)):\/%[Bbm]\/.test(n)?(r=Qs,i&#038;&#038;(a?Gm(e.dtick)<1:e.dtick<Y0)&#038;&#038;(e.dtick=\"M1\")):\/%[q]\/.test(n)?(r=Xm,i&#038;&#038;(a?Gm(e.dtick)<3:e.dtick<B0)&#038;&#038;(e.dtick=\"M3\")):\/%[Yy]\/.test(n)&#038;&#038;(r=H0,i&#038;&#038;(a?Gm(e.dtick)<12:e.dtick<O0)&#038;&#038;(e.dtick=\"M12\")))}a=t(),a&#038;&#038;e.tick0===e._dowTick0&#038;&#038;(e.tick0=e._rawTick0),e._definedDelta=r}function $V(e,r,t){for(var a=0;a<e.length;a++){var n=e[a].value,i=a,l=a+1;a<e.length-1?(i=a,l=a+1):a>0?(i=a-1,l=a):(i=a,l=a);var o=e[i].value,s=e[l].value,u=Math.abs(s-o),f=t||u,v=0;f>=O0?u>=O0&&u<=IV?v=u:v=H0:t===Xm&#038;&#038;f>=B0?u>=B0&&u<=HV?v=u:v=Xm:f>=Y0?u>=Y0&&u<=OV?v=u:v=Qs:t===cn&#038;&#038;f>=cn?v=cn:f>=Ra?v=Ra:t===Sl&&f>=Sl?v=Sl:t===Ci&&f>=Ci&&(v=Ci);var h;v>=u&&(v=u,h=!0);var d=n+v;if(r.rangebreaks&&v>0){for(var m=84,y=0,g=0;g<m;g++){var _=(g+.5)\/m;r.maskBreaks(n*(1-_)+_*d)!==G0&#038;&#038;y++}v*=y\/m,v||(e[a].drop=!0),h&#038;&#038;u>cn&&(v=u)}(v>0||a===0)&&(e[a].periodX=n+v\/2)}}Be.calcTicks=function(r,t){for(var a=r.type,n=r.calendar,i=r.ticklabelstep,l=r.ticklabelmode===\"period\",o=r.range[0]>r.range[1],s=!r.ticklabelindex||gr.isArrayOrTypedArray(r.ticklabelindex)?r.ticklabelindex:[r.ticklabelindex],u=gr.simpleMap(r.range,r.r2l,void 0,void 0,t),f=u[1]<u[0],v=Math.min(u[0],u[1]),h=Math.max(u[0],u[1]),d=Math.max(1e3,r._length||0),m=[],y=[],g=[],_=[],T=[],w=r.minor&#038;&#038;(r.minor.ticks||r.minor.showgrid),b=w||s,M=1;M>=(b?0:1);M--){var S=!M;M?(r._dtickInit=r.dtick,r._tick0Init=r.tick0):b&&(r.minor._dtickInit=r.minor.dtick,r.minor._tick0Init=r.minor.tick0);var k=M?r:gr.extendFlat({},r,b?r.minor:{minor:{}});if(S?Be.prepMinorTicks(k,r,t):Be.prepTicks(k,t),k.tickmode===\"array\"){M?(g=[],m=M8(r,!S)):(_=[],y=M8(r,!S));continue}if(k.tickmode===\"sync\"){g=[],m=jV(r);continue}var q=ey(u),D=q[0],P=q[1],z=Ot(k.dtick),F=a===\"log\"&&!(z||k.dtick.charAt(0)===\"L\"),O=Be.tickFirst(k,t);if(M){if(r._tmin=O,O<D!==f)break;(a===\"category\"||a===\"multicategory\")&#038;&#038;(P=f?Math.max(-.5,P):Math.min(r._categories.length-.5,P))}var I=null,V=O,J;if(M){var G;z?G=r.dtick:a===\"date\"?typeof r.dtick==\"string\"&#038;&#038;r.dtick.charAt(0)===\"M\"&#038;&#038;(G=Qs*r.dtick.substring(1)):G=r._roughDTick,J=Math.round((r.r2l(V)-r.r2l(r.tick0))\/G)-1}var U=k.dtick;for(k.rangebreaks&#038;&#038;k._tick0Init!==k.tick0&#038;&#038;(V=Wm(V,r),f||(V=Be.tickIncrement(V,U,!f,n))),(M||s)&#038;&#038;l&#038;&#038;(V=Be.tickIncrement(V,U,!f,n),M&#038;&#038;J--);f?V>=P:V<=P;V=Be.tickIncrement(V,U,f,n)){if(M&#038;&#038;J++,k.rangebreaks&#038;&#038;!f){if(V<D)continue;if(k.maskBreaks(V)===G0&#038;&#038;Wm(V,k)>=h)break}if(g.length>d||V===I)break;I=V;var H={value:V};M?(F&&V!==(V|0)&&(H.simpleLabel=!0),i>1&&J%i&&(H.skipLabel=!0),g.push(H)):(H.minor=!0,_.push(H))}}if(!_||_.length<3)s=!1;else{var Q=(_[2].value-_[1].value)*(o?-1:1);MG(Q,r.tickformat)||(s=!1,_=_.slice(1))}if(!s)T=g;else{var Z=g.concat(_);l&#038;&#038;g.length&#038;&#038;(Z=Z.slice(1)),Z=Z.sort(function(Ie,Xe){return Ie.value-Xe.value}).filter(function(Ie,Xe,De){return Xe===0||Ie.value!==De[Xe-1].value});var ne=Z.map(function(Ie,Xe){return Ie.minor===void 0&#038;&#038;!Ie.skipLabel?Xe:null}).filter(function(Ie){return Ie!==null});ne.forEach(function(Ie){s.map(function(Xe){var De=Ie+Xe;De>=0&&De<Z.length&#038;&#038;gr.pushUnique(T,Z[De])})}),g.forEach(function(Ie){Ie.skipLabel=T.indexOf(Ie)===-1})}if(w){var ce=r.minor.ticks===\"inside\"&#038;&#038;r.ticks===\"outside\"||r.minor.ticks===\"outside\"&#038;&#038;r.ticks===\"inside\";if(!ce){for(var ye=g.map(function(Ie){return Ie.value}),Ce=[],re=0;re<_.length;re++){var Se=_[re],pe=Se.value;if(ye.indexOf(pe)===-1){for(var be=!1,Ae=0;!be&#038;&#038;Ae<g.length;Ae++)1e7+g[Ae].value===1e7+pe&#038;&#038;(be=!0);be||Ce.push(Se)}}_=Ce}}l&#038;&#038;$V(T,r,r._definedDelta);var ge;if(r.rangebreaks){var B=r._id.charAt(0)===\"y\",$=1;r.tickmode===\"auto\"&#038;&#038;($=r.tickfont?r.tickfont.size:12);var Y=NaN;for(ge=g.length-1;ge>-1;ge--){if(g[ge].drop){g.splice(ge,1);continue}g[ge].value=Wm(g[ge].value,r);var le=r.c2p(g[ge].value);(B?Y>le-$:Y<le+$)?g.splice(f?ge+1:ge,1):Y=le}}ny(r)&#038;&#038;Math.abs(u[1]-u[0])===360&#038;&#038;g.pop(),r._tmax=(g[g.length-1]||{}).value,r._prevDateHead=\"\",r._inCalcTicks=!0;var he,me=function(Ie){Ie.text=\"\",r._prevDateHead=he};g=g.concat(_);function Re(Ie,Xe){var De=Be.tickText(Ie,Xe.value,!1,Xe.simpleLabel),He=Xe.periodX;return He!==void 0&#038;&#038;(De.periodX=He,(He>h||He<v)&#038;&#038;(He>h&&(De.periodX=h),He<v&#038;&#038;(De.periodX=v),me(De))),De}var Ee;for(ge=0;ge<g.length;ge++){var Le=g[ge].minor,Ve=g[ge].value;Le?(s&#038;&#038;T.indexOf(g[ge])!==-1?Ee=Re(r,g[ge]):Ee={x:Ve},Ee.minor=!0,y.push(Ee)):(he=r._prevDateHead,Ee=Re(r,g[ge]),g[ge].skipLabel&#038;&#038;me(Ee),m.push(Ee))}return l&#038;&#038;s&#038;&#038;y.length&#038;&#038;(y[0].noTick=!0),m=m.concat(y),r._inCalcTicks=!1,l&#038;&#038;m.length&#038;&#038;(m[0].noTick=!0),m};function D8(e,r){return e.rangebreaks&#038;&#038;(r=r.filter(function(t){return e.maskBreaks(t.x)!==G0})),r}function jV(e){var r=e._mainAxis,t=[];if(r._vals){for(var a=0;a<r._vals.length;a++)if(!r._vals[a].noTick){var n=r.l2p(r._vals[a].x),i=e.p2l(n),l=Be.tickText(e,i);r._vals[a].minor&#038;&#038;(l.minor=!0,l.text=\"\"),t.push(l)}}return t=D8(e,t),t}function M8(e,r){var t=gr.simpleMap(e.range,e.r2l),a=ey(t),n=Math.min(a[0],a[1]),i=Math.max(a[0],a[1]),l=e.type===\"category\"?e.d2l_noadd:e.d2l;e.type===\"log\"&#038;&#038;String(e.dtick).charAt(0)!==\"L\"&#038;&#038;(e.dtick=\"L\"+Math.pow(10,Math.floor(Math.min(e.range[0],e.range[1]))-1));for(var o=[],s=0;s<=1;s++)if(!(r!==void 0&#038;&#038;(r&#038;&#038;s||r===!1&#038;&#038;!s))&#038;&#038;!(s&#038;&#038;!e.minor)){var u=s?e.minor.tickvals:e.tickvals,f=s?[]:e.ticktext;if(u){gr.isArrayOrTypedArray(f)||(f=[]);for(var v=0;v<u.length;v++){var h=l(u[v]);if(h>n&&h<i){var d=Be.tickText(e,h,!1,String(f[v]));s&#038;&#038;(d.minor=!0,d.text=\"\"),o.push(d)}}}}return o=D8(e,o),o}var F0=[2,5,10],A8=[1,2,3,6,12],k8=[1,2,5,10,15,30],eG=[1,2,3,7,14],E8=[-.046,0,.301,.477,.602,.699,.778,.845,.903,.954,1],P8=[-.301,0,.301,.699,1],rG=[15,30,45,90,180];function ki(e,r,t){return r*gr.roundUp(e\/r,t)}Be.autoTicks=function(e,r,t){var a;function n(v){return Math.pow(v,Math.floor(Math.log(r)\/Math.LN10))}if(e.type===\"date\"){e.tick0=gr.dateTick0(e.calendar,0);var i=2*r;if(i>H0)r\/=H0,a=n(10),e.dtick=\"M\"+12*ki(r,a,F0);else if(i>Qs)r\/=Qs,e.dtick=\"M\"+ki(r,1,A8);else if(i>Ra){if(e.dtick=ki(r,Ra,e._hasDayOfWeekBreaks?[1,2,7,14]:eG),!t){var l=Be.getTickFormat(e),o=e.ticklabelmode===\"period\";o&&(e._rawTick0=e.tick0),\/%[uVW]\/.test(l)?e.tick0=gr.dateTick0(e.calendar,2):e.tick0=gr.dateTick0(e.calendar,1),o&&(e._dowTick0=e.tick0)}}else i>Ci?e.dtick=ki(r,Ci,A8):i>Cf?e.dtick=ki(r,Cf,k8):i>U0?e.dtick=ki(r,U0,k8):(a=n(10),e.dtick=ki(r,a,F0))}else if(e.type===\"log\"){e.tick0=0;var s=gr.simpleMap(e.range,e.r2l);if(e._isMinor&&(r*=1.5),r>.7)e.dtick=Math.ceil(r);else if(Math.abs(s[1]-s[0])<1){var u=1.5*Math.abs((s[1]-s[0])\/r);r=Math.abs(Math.pow(10,s[1])-Math.pow(10,s[0]))\/u,a=n(10),e.dtick=\"L\"+ki(r,a,F0)}else e.dtick=r>.3?\"D2\":\"D1\"}else e.type===\"category\"||e.type===\"multicategory\"?(e.tick0=0,e.dtick=Math.ceil(Math.max(r,1))):ny(e)?(e.tick0=0,a=1,e.dtick=ki(r,a,rG)):(e.tick0=0,a=n(10),e.dtick=ki(r,a,F0));if(e.dtick===0&&(e.dtick=1),!Ot(e.dtick)&&typeof e.dtick!=\"string\"){var f=e.dtick;throw e.dtick=1,\"ax.dtick error: \"+String(f)}};function R8(e){var r=e.dtick;if(e._tickexponent=0,!Ot(r)&&typeof r!=\"string\"&&(r=1),(e.type===\"category\"||e.type===\"multicategory\")&&(e._tickround=null),e.type===\"date\"){var t=e.r2l(e.tick0),a=e.l2r(t).replace(\/(^-|i)\/g,\"\"),n=a.length;if(String(r).charAt(0)===\"M\")n>10||a.slice(5)!==\"01-01\"?e._tickround=\"d\":e._tickround=+r.slice(1)%12===0?\"y\":\"m\";else if(r>=Ra&&n<=10||r>=Ra*15)e._tickround=\"d\";else if(r>=Cf&&n<=16||r>=Ci)e._tickround=\"M\";else if(r>=U0&&n<=19||r>=Cf)e._tickround=\"S\";else{var i=e.l2r(t+r).replace(\/^-\/,\"\").length;e._tickround=Math.max(n,i)-20,e._tickround<0&#038;&#038;(e._tickround=4)}}else if(Ot(r)||r.charAt(0)===\"L\"){var l=e.range.map(e.r2d||Number);Ot(r)||(r=Number(r.slice(1))),e._tickround=2-Math.floor(Math.log(r)\/Math.LN10+.01);var o=Math.max(Math.abs(l[0]),Math.abs(l[1])),s=Math.floor(Math.log(o)\/Math.LN10+.01),u=e.minexponent===void 0?3:e.minexponent;Math.abs(s)>u&&($s(e.exponentformat)&&e.exponentformat!==\"SI extended\"&&!ry(s)||$s(e.exponentformat)&&e.exponentformat===\"SI extended\"&&!ty(s)?e._tickexponent=3*Math.round((s-1)\/3):e._tickexponent=s)}else e._tickround=null}Be.tickIncrement=function(e,r,t,a){var n=t?-1:1;if(Ot(r))return gr.increment(e,n*r);var i=r.charAt(0),l=n*Number(r.slice(1));if(i===\"M\")return gr.incrementMonth(e,l,a);if(i===\"L\")return Math.log(Math.pow(10,e)+l)\/Math.LN10;if(i===\"D\"){var o=r===\"D2\"?P8:E8,s=e+n*.01,u=gr.roundUp(gr.mod(s,1),o,t);return Math.floor(s)+Math.log(Cn.round(Math.pow(10,u),1))\/Math.LN10}throw\"unrecognized dtick \"+String(r)};Be.tickFirst=function(e,r){var t=e.r2l||Number,a=gr.simpleMap(e.range,t,void 0,void 0,r),n=a[1]<a[0],i=n?Math.floor:Math.ceil,l=ey(a)[0],o=e.dtick,s=t(e.tick0);if(Ot(o)){var u=i((l-s)\/o)*o+s;return(e.type===\"category\"||e.type===\"multicategory\")&#038;&#038;(u=gr.constrain(u,0,e._categories.length-1)),u}var f=o.charAt(0),v=Number(o.slice(1));if(f===\"M\"){for(var h=0,d=s,m,y,g;h<10;){if(m=Be.tickIncrement(d,o,n,e.calendar),(m-l)*(d-l)<=0)return n?Math.min(d,m):Math.max(d,m);y=(l-(d+m)\/2)\/(m-d),g=f+(Math.abs(Math.round(y))||1)*v,d=Be.tickIncrement(d,g,y<0?!n:n,e.calendar),h++}return gr.error(\"tickFirst did not converge\",e),d}else{if(f===\"L\")return Math.log(i((Math.pow(10,l)-s)\/v)*v+s)\/Math.LN10;if(f===\"D\"){var _=o===\"D2\"?P8:E8,T=gr.roundUp(gr.mod(l,1),_,n);return Math.floor(l)+Math.log(Cn.round(Math.pow(10,T),1))\/Math.LN10}else throw\"unrecognized dtick \"+String(o)}};Be.tickText=function(e,r,t,a){var n=z8(e,r),i=e.tickmode===\"array\",l=t||i,o=e.type,s=o===\"category\"?e.d2l_noadd:e.d2l,u,f=function(g){var _=e.l2p(g);return _>=0&&_<=e._length?g:null};if(i&#038;&#038;gr.isArrayOrTypedArray(e.ticktext)){var v=gr.simpleMap(e.range,e.r2l),h=(Math.abs(v[1]-v[0])-(e._lBreaks||0))\/1e4;for(u=0;u<e.ticktext.length&#038;&#038;!(Math.abs(r-s(e.tickvals[u]))<h);u++);if(u<e.ticktext.length)return n.text=String(e.ticktext[u]),n.xbnd=[f(n.x-.5),f(n.x+e.dtick-.5)],n}function d(g){if(g===void 0)return!0;if(t)return g===\"none\";var _={first:e._tmin,last:e._tmax}[g];return g!==\"all\"&#038;&#038;r!==_}var m=t?\"never\":e.exponentformat!==\"none\"&#038;&#038;d(e.showexponent)?\"hide\":\"\";if(o===\"date\"?tG(e,n,t,l):o===\"log\"?aG(e,n,t,l,m):o===\"category\"?nG(e,n):o===\"multicategory\"?iG(e,n,t):ny(e)?oG(e,n,t,l,m):lG(e,n,t,l,m),a||(e.tickprefix&#038;&#038;!d(e.showtickprefix)&#038;&#038;(n.text=e.tickprefix+n.text),e.ticksuffix&#038;&#038;!d(e.showticksuffix)&#038;&#038;(n.text+=e.ticksuffix)),e.labelalias&#038;&#038;e.labelalias.hasOwnProperty(n.text)){var y=e.labelalias[n.text];typeof y==\"string\"&#038;&#038;(n.text=y)}return(e.tickson===\"boundaries\"||e.showdividers)&#038;&#038;(n.xbnd=[f(n.x-.5),f(n.x+e.dtick-.5)]),n};Be.hoverLabelText=function(e,r,t){t&#038;&#038;(e=gr.extendFlat({},e,{hoverformat:t}));var a=gr.isArrayOrTypedArray(r)?r[0]:r,n=gr.isArrayOrTypedArray(r)?r[1]:void 0;if(n!==void 0&#038;&#038;n!==a)return Be.hoverLabelText(e,a,t)+\" - \"+Be.hoverLabelText(e,n,t);var i=e.type===\"log\"&#038;&#038;a<=0,l=Be.tickText(e,e.c2l(i?-a:a),\"hover\").text;return i?a===0?\"0\":Lo+l:l};function z8(e,r,t){var a=e.tickfont||{};return{x:r,dx:0,dy:0,text:t||\"\",fontSize:a.size,font:a.family,fontWeight:a.weight,fontStyle:a.style,fontVariant:a.variant,fontTextcase:a.textcase,fontLineposition:a.lineposition,fontShadow:a.shadow,fontColor:a.color}}function tG(e,r,t,a){var n=e._tickround,i=t&#038;&#038;e.hoverformat||Be.getTickFormat(e);a=!i&#038;&#038;a,a&#038;&#038;(Ot(n)?n=4:n={y:\"m\",m:\"d\",d:\"M\",M:\"S\",S:4}[n]);var l=gr.formatDate(r.x,i,n,e._dateFormat,e.calendar,e._extraFormat),o,s=l.indexOf(`\n`);if(s!==-1&#038;&#038;(o=l.slice(s+1),l=l.slice(0,s)),a&#038;&#038;(o!==void 0&#038;&#038;(l===\"00:00:00\"||l===\"00:00\")?(l=o,o=\"\"):l.length===8&#038;&#038;(l=l.replace(\/:00$\/,\"\"))),o)if(t)n===\"d\"?l+=\", \"+o:l=o+(l?\", \"+l:\"\");else if(!e._inCalcTicks||e._prevDateHead!==o)e._prevDateHead=o,l+=\"<br>\"+o;else{var u=qf(e),f=e._trueSide||e.side;(!u&&f===\"top\"||u&&f===\"bottom\")&&(l+=\"<br> \")}r.text=l}function aG(e,r,t,a,n){var i=e.dtick,l=r.x,o=e.tickformat,s=typeof i==\"string\"&&i.charAt(0);if(n===\"never\"&&(n=\"\"),a&&s!==\"L\"&&(i=\"L3\",s=\"L\"),o||s===\"L\")r.text=Lf(Math.pow(10,l),e,n,a);else if(Ot(i)||s===\"D\"&&(e.minorloglabels===\"complete\"||gr.mod(l+.01,1)<.1)){var u;e.minorloglabels===\"complete\"&#038;&#038;!(gr.mod(l+.01,1)<.1)&#038;&#038;(u=!0,r.fontSize*=.75);var f=Math.pow(10,l).toExponential(0),v=f.split(\"e\"),h=+v[1],d=Math.abs(h),m=e.exponentformat;m===\"power\"||$s(m)&#038;&#038;m!==\"SI extended\"&#038;&#038;ry(h)||$s(m)&#038;&#038;m===\"SI extended\"&#038;&#038;ty(h)?(r.text=v[0],d>0&&(r.text+=\"x10\"),r.text===\"1x10\"&&(r.text=\"10\"),h!==0&&h!==1&&(r.text+=\"<sup>\"+(h>0?\"\":Lo)+d+\"<\/sup>\"),r.fontSize*=1.25):(m===\"e\"||m===\"E\")&&d>2?r.text=v[0]+m+(h>0?\"+\":Lo)+d:(r.text=Lf(Math.pow(10,l),e,\"\",\"fakehover\"),i===\"D1\"&&e._id.charAt(0)===\"y\"&&(r.dy-=r.fontSize\/6))}else if(s===\"D\")r.text=e.minorloglabels===\"none\"?\"\":String(Math.round(Math.pow(10,gr.mod(l,1)))),r.fontSize*=.75;else throw\"unrecognized dtick \"+String(i);if(e.dtick===\"D1\"){var y=String(r.text).charAt(0);(y===\"0\"||y===\"1\")&&(e._id.charAt(0)===\"y\"?r.dx-=r.fontSize\/4:(r.dy+=r.fontSize\/2,r.dx+=(e.range[1]>e.range[0]?1:-1)*r.fontSize*(l<0?.5:.25)))}}function nG(e,r){var t=e._categories[Math.round(r.x)];t===void 0&#038;&#038;(t=\"\"),r.text=String(t)}function iG(e,r,t){var a=Math.round(r.x),n=e._categories[a]||[],i=n[1]===void 0?\"\":String(n[1]),l=n[0]===void 0?\"\":String(n[0]);t?r.text=l+\" - \"+i:(r.text=i,r.text2=l)}function lG(e,r,t,a,n){n===\"never\"?n=\"\":e.showexponent===\"all\"&#038;&#038;Math.abs(r.x\/e.dtick)<1e-6&#038;&#038;(n=\"hide\"),r.text=Lf(r.x,e,n,a)}function oG(e,r,t,a,n){if(e.thetaunit===\"radians\"&#038;&#038;!t){var i=r.x\/180;if(i===0)r.text=\"0\";else{var l=sG(i);if(l[1]>=100)r.text=Lf(gr.deg2rad(r.x),e,n,a);else{var o=r.x<0;l[1]===1?l[0]===1?r.text=\"\\u03C0\":r.text=l[0]+\"\\u03C0\":r.text=[\"<sup>\",l[0],\"<\/sup>\",\"\\u2044\",\"<sub>\",l[1],\"<\/sub>\",\"\\u03C0\"].join(\"\"),o&&(r.text=Lo+r.text)}}}else r.text=Lf(r.x,e,n,a)}function sG(e){function r(o,s){return Math.abs(o-s)<=1e-6}function t(o,s){return r(s,0)?o:t(s,o%s)}function a(o){for(var s=1;!r(Math.round(o*s)\/s,o);)s*=10;return s}var n=a(e),i=e*n,l=Math.abs(t(i,n));return[Math.round(i\/l),Math.round(n\/l)]}var N8=[\"f\",\"p\",\"n\",\"\\u03BC\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\"],uG=[\"q\",\"r\",\"y\",\"z\",\"a\",...N8,\"P\",\"E\",\"Z\",\"Y\",\"R\",\"Q\"],$s=e=>[\"SI\",\"SI extended\",\"B\"].includes(e);function ry(e){return e>14||e<-15}function ty(e){return e>32||e<-30}function fG(e,r){return $s(r)?!!(r===\"SI extended\"&#038;&#038;ty(e)||r!==\"SI extended\"&#038;&#038;ry(e)):!1}function Lf(e,r,t,a){var n=e<0,i=r._tickround,l=t||r.exponentformat||\"B\",o=r._tickexponent,s=Be.getTickFormat(r),u=r.separatethousands;if(a){var f={exponentformat:l,minexponent:r.minexponent,dtick:r.showexponent===\"none\"?r.dtick:Ot(e)&#038;&#038;Math.abs(e)||1,range:r.showexponent===\"none\"?r.range.map(r.r2d):[0,e||1]};R8(f),i=(Number(f._tickround)||0)+4,o=f._tickexponent,r.hoverformat&#038;&#038;(s=r.hoverformat)}if(s)return r._numFormat(s)(e).replace(\/-\/g,Lo);var v=Math.pow(10,-i)\/2;if(l===\"none\"&#038;&#038;(o=0),e=Math.abs(e),e<v)e=\"0\",n=!1;else{if(e+=v,o&#038;&#038;(e*=Math.pow(10,-o),i+=o),i===0)e=String(Math.floor(e));else if(i<0){e=String(Math.round(e)),e=e.slice(0,Math.max(0,e.length+i));for(var h=i;h<0;h++)e+=\"0\"}else{e=String(e);var d=e.indexOf(\".\")+1;d&#038;&#038;(e=e.slice(0,d+i).replace(\/\\.?0+$\/,\"\"))}e=gr.numSeparate(e,r._separators,u)}if(o&#038;&#038;l!==\"hide\"){fG(o,l)&#038;&#038;(l=\"power\");var m;o<0?m=Lo+-o:l!==\"power\"?m=\"+\"+o:m=String(o),l===\"e\"||l===\"E\"?e+=l+m:l===\"power\"?e+=\"\\xD710<sup>\"+m+\"<\/sup>\":l===\"B\"&&o===9?e+=\"B\":$s(l)&&(e+=l===\"SI extended\"?uG[o\/3+10]:N8[o\/3+5])}return n?Lo+e:e}Be.getTickFormat=function(e){var r;function t(s){return typeof s!=\"string\"?s:Number(s.replace(\"M\",\"\"))*Qs}function a(s,u){var f=[\"L\",\"D\"];if(typeof s==typeof u){if(typeof s==\"number\")return s-u;var v=f.indexOf(s.charAt(0)),h=f.indexOf(u.charAt(0));return v===h?Number(s.replace(\/(L|D)\/g,\"\"))-Number(u.replace(\/(L|D)\/g,\"\")):v-h}else return typeof s==\"number\"?1:-1}function n(s,u,f){var v=f||function(m){return m},h=u[0],d=u[1];return(!h&&typeof h!=\"number\"||v(h)<=v(s))&#038;&#038;(!d&#038;&#038;typeof d!=\"number\"||v(d)>=v(s))}function i(s,u){var f=u[0]===null,v=u[1]===null,h=a(s,u[0])>=0,d=a(s,u[1])<=0;return(f||h)&#038;&#038;(v||d)}var l,o;if(e.tickformatstops&#038;&#038;e.tickformatstops.length>0)switch(e.type){case\"date\":case\"linear\":{for(r=0;r<e.tickformatstops.length;r++)if(o=e.tickformatstops[r],o.enabled&#038;&#038;n(e.dtick,o.dtickrange,t)){l=o;break}break}case\"log\":{for(r=0;r<e.tickformatstops.length;r++)if(o=e.tickformatstops[r],o.enabled&#038;&#038;i(e.dtick,o.dtickrange)){l=o;break}break}default:}return l?l.value:e.tickformat};Be.getSubplots=function(e,r){var t=e._fullLayout._subplots,a=t.cartesian.concat(t.gl2d||[]),n=r?Be.findSubplotsWithAxis(a,r):a;return n.sort(function(i,l){var o=i.slice(1).split(\"y\"),s=l.slice(1).split(\"y\");return o[0]===s[0]?+o[1]-+s[1]:+o[0]-+s[0]}),n};Be.findSubplotsWithAxis=function(e,r){for(var t=new RegExp(r._id.charAt(0)===\"x\"?\"^\"+r._id+\"y\":r._id+\"$\"),a=[],n=0;n<e.length;n++){var i=e[n];t.test(i)&#038;&#038;a.push(i)}return a};Be.makeClipPaths=function(e){var r=e._fullLayout;if(!r._hasOnlyLargeSploms){var t={_offset:0,_length:r.width,_id:\"\"},a={_offset:0,_length:r.height,_id:\"\"},n=Be.list(e,\"x\",!0),i=Be.list(e,\"y\",!0),l=[],o,s;for(o=0;o<n.length;o++)for(l.push({x:n[o],y:a}),s=0;s<i.length;s++)o===0&#038;&#038;l.push({x:t,y:i[s]}),l.push({x:n[o],y:i[s]});var u=r._clips.selectAll(\".axesclip\").data(l,function(f){return f.x._id+f.y._id});u.enter().append(\"clipPath\").classed(\"axesclip\",!0).attr(\"id\",function(f){return\"clip\"+r._uid+f.x._id+f.y._id}).append(\"rect\"),u.exit().remove(),u.each(function(f){Cn.select(this).select(\"rect\").attr({x:f.x._offset||0,y:f.y._offset||0,width:f.x._length||1,height:f.y._length||1})})}};Be.draw=function(e,r,t){var a=e._fullLayout;r===\"redraw\"&#038;&#038;a._paper.selectAll(\"g.subplot\").each(function(s){var u=s[0],f=a._plots[u];if(f){var v=f.xaxis,h=f.yaxis;f.xaxislayer.selectAll(\".\"+v._id+\"tick\").remove(),f.yaxislayer.selectAll(\".\"+h._id+\"tick\").remove(),f.xaxislayer.selectAll(\".\"+v._id+\"tick2\").remove(),f.yaxislayer.selectAll(\".\"+h._id+\"tick2\").remove(),f.xaxislayer.selectAll(\".\"+v._id+\"divider\").remove(),f.yaxislayer.selectAll(\".\"+h._id+\"divider\").remove(),f.minorGridlayer&#038;&#038;f.minorGridlayer.selectAll(\"path\").remove(),f.gridlayer&#038;&#038;f.gridlayer.selectAll(\"path\").remove(),f.zerolinelayer&#038;&#038;f.zerolinelayer.selectAll(\"path\").remove(),f.zerolinelayerAbove&#038;&#038;f.zerolinelayerAbove.selectAll(\"path\").remove(),a._infolayer.select(\".g-\"+v._id+\"title\").remove(),a._infolayer.select(\".g-\"+h._id+\"title\").remove()}});var n=!r||r===\"redraw\"?Be.listIds(e):r,i=Be.list(e),l=i.filter(function(s){return s.autoshift}).map(function(s){return s.overlaying});n.map(function(s){var u=Be.getFromId(e,s);if(u.tickmode===\"sync\"&#038;&#038;u.overlaying){var f=n.findIndex(function(v){return v===u.overlaying});f>=0&&n.unshift(n.splice(f,1).shift())}});var o={false:{left:0,right:0}};return gr.syncOrAsync(n.map(function(s){return function(){if(s){var u=Be.getFromId(e,s);t||(t={}),t.axShifts=o,t.overlayingShiftedAx=l;var f=Be.drawOne(e,u,t);return u._shiftPusher&&jm(u,u._fullDepth||0,o,!0),u._r=u.range.slice(),u._rl=gr.simpleMap(u._r,u.r2l),f}}}))};Be.drawOne=function(e,r,t){t=t||{};var a=t.axShifts||{},n=t.overlayingShiftedAx||[],i,l,o;r.setScale();var s=e._fullLayout,u=r._id,f=u.charAt(0),v=Be.counterLetter(u),h=s._plots[r._mainSubplot],d=r.zerolinelayer===\"above traces\";if(!h)return;if(r._shiftPusher=r.autoshift||n.indexOf(r._id)!==-1||n.indexOf(r.overlaying)!==-1,r._shiftPusher&r.anchor===\"free\"){var m=r.linewidth\/2||0;r.ticks===\"inside\"&&(m+=r.ticklen),jm(r,m,a,!0),jm(r,r.shift||0,a,!1)}(t.skipTitle!==!0||r._shift===void 0)&&(r._shift=TG(r,a));var y=h[f+\"axislayer\"],g=r._mainLinePosition,_=g+=r._shift,T=r._mainMirrorPosition,w=r._vals=Be.calcTicks(r),b=[r.mirror,_,T].join(\"_\");for(i=0;i<w.length;i++)w[i].axInfo=b;r._selections={},r._tickAngles&#038;&#038;(r._prevTickAngles=r._tickAngles),r._tickAngles={},r._depth=null;var M={};function S(Le){var Ve=u+(Le||\"tick\");return M[Ve]||(M[Ve]=dG(r,Ve,_)),M[Ve]}if(r.visible){var k=Be.makeTransTickFn(r),q=Be.makeTransTickLabelFn(r),D,P,z=r.ticks===\"inside\",F=r.ticks===\"outside\";if(r.tickson===\"boundaries\"){var O=cG(r,w);P=Be.clipEnds(r,O),D=z?P:O}else P=Be.clipEnds(r,w),D=z&#038;&#038;r.ticklabelmode!==\"period\"?P:w;var I=r._gridVals=P,V=hG(r,w);if(!s._hasOnlyLargeSploms){var J=r._subplotsWith,G={};for(i=0;i<J.length;i++){l=J[i],o=s._plots[l];var U=o[v+\"axis\"],H=U._mainAxis._id;if(!G[H]){G[H]=1;var Q=f===\"x\"?\"M0,\"+U._offset+\"v\"+U._length:\"M\"+U._offset+\",0h\"+U._length;Be.drawGrid(e,r,{vals:I,counterAxis:U,layer:o.gridlayer.select(\".\"+u),minorLayer:o.minorGridlayer.select(\".\"+u),path:Q,transFn:k}),Be.drawZeroLine(e,r,{counterAxis:U,layer:d?o.zerolinelayerAbove:o.zerolinelayer,path:Q,transFn:k})}}}var Z,ne=Be.getTickSigns(r),ce=Be.getTickSigns(r,\"minor\");if(r.ticks||r.minor&#038;&#038;r.minor.ticks){var ye=Be.makeTickPath(r,_,ne[2]),Ce=Be.makeTickPath(r,_,ce[2],{minor:!0}),re,Se,pe,be;if(r._anchorAxis&#038;&#038;r.mirror&#038;&#038;r.mirror!==!0?(re=Be.makeTickPath(r,T,ne[3]),Se=Be.makeTickPath(r,T,ce[3],{minor:!0}),pe=ye+re,be=Ce+Se):(re=\"\",Se=\"\",pe=ye,be=Ce),r.showdividers&#038;&#038;F&#038;&#038;r.tickson===\"boundaries\"){var Ae={};for(i=0;i<V.length;i++)Ae[V[i].x]=1;Z=function(Le){return Ae[Le.x]?re:pe}}else Z=function(Le){return Le.minor?be:pe}}if(Be.drawTicks(e,r,{vals:D,layer:y,path:Z,transFn:k}),r.mirror===\"allticks\"){var ge=Object.keys(r._linepositions||{});for(i=0;i<ge.length;i++){l=ge[i],o=s._plots[l];var B=r._linepositions[l]||[],$=B[0],Y=B[1],le=B[2],he=Be.makeTickPath(r,$,le?ne[0]:ce[0],{minor:le})+Be.makeTickPath(r,Y,le?ne[1]:ce[1],{minor:le});Be.drawTicks(e,r,{vals:D,layer:o[f+\"axislayer\"],path:he,transFn:k})}}var me=[];if(me.push(function(){return Be.drawLabels(e,r,{vals:w,layer:y,plotinfo:o,transFn:q,labelFns:Be.makeLabelFns(r,_)})}),r.type===\"multicategory\"){var Re={x:2,y:10}[f];me.push(function(){var Le={x:\"height\",y:\"width\"}[f],Ve=S()[Le]+Re+(r._tickAngles[u+\"tick\"]?r.tickfont.size*Sf:0);return Be.drawLabels(e,r,{vals:vG(r,w),layer:y,cls:u+\"tick2\",repositionOnUpdate:!0,secondary:!0,transFn:k,labelFns:Be.makeLabelFns(r,_+Ve*ne[4])})}),me.push(function(){return r._depth=ne[4]*(S(\"tick2\")[r.side]-_),mG(e,r,{vals:V,layer:y,path:Be.makeTickPath(r,_,ne[4],{len:r._depth}),transFn:k})})}else r.title.hasOwnProperty(\"standoff\")&#038;&#038;me.push(function(){r._depth=ne[4]*(S()[r.side]-_)});var Ee=Af.getComponentMethod(\"rangeslider\",\"isVisible\")(r);return!t.skipTitle&#038;&#038;!(Ee&#038;&#038;r.side===\"bottom\")&#038;&#038;me.push(function(){return yG(e,r)}),me.push(function(){var Le=r.side.charAt(0),Ve=UV[r.side].charAt(0),Ie=Be.getPxPosition(e,r),Xe=F?r.ticklen:0,De,He,We,ie;(r.automargin||Ee||r._shiftPusher)&#038;&#038;(r.type===\"multicategory\"?De=S(\"tick2\"):(De=S(),f===\"x\"&#038;&#038;Le===\"b\"&#038;&#038;(r._depth=Math.max(De.width>0?De.bottom-Ie:0,Xe))));var xe=0,Ke=0;if(r._shiftPusher&&(xe=Math.max(Xe,De.height>0?Le===\"l\"?Ie-De.left:De.right-Ie:0),r.title.text!==s._dfltTitle[f]&&(Ke=(r._titleStandoff||0)+(r._titleScoot||0),Le===\"l\"&&(Ke+=S8(r))),r._fullDepth=Math.max(xe,Ke)),r.automargin){He={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],ze=typeof r._shift==\"number\"?r._shift:0;if(f===\"x\"){if(Le===\"b\"?He[Le]=r._depth:(He[Le]=r._depth=Math.max(De.width>0?Ie-De.top:0,Xe),hr.reverse()),De.width>0){var Me=De.right-(r._offset+r._length);Me>0&&(He.xr=1,He.r=Me);var ke=r._offset-De.left;ke>0&&(He.xl=0,He.l=ke)}}else if(Le===\"l\"?(r._depth=Math.max(De.height>0?Ie-De.left:0,Xe),He[Le]=r._depth-ze):(r._depth=Math.max(De.height>0?De.right-Ie:0,Xe),He[Le]=r._depth+ze,hr.reverse()),De.height>0){var Oe=De.bottom-(r._offset+r._length);Oe>0&&(He.yb=0,He.b=Oe);var Ze=r._offset-De.top;Ze>0&&(He.yt=1,He.t=Ze)}He[v]=r.anchor===\"free\"?r.position:r._anchorAxis.domain[hr[0]],r.title.text!==s._dfltTitle[f]&&(He[Le]+=S8(r)+(r.title.standoff||0)),r.mirror&&r.anchor!==\"free\"&&(We={x:0,y:0,r:0,l:0,t:0,b:0},We[Ve]=r.linewidth,r.mirror&&r.mirror!==!0&&(We[Ve]+=Xe),r.mirror===!0||r.mirror===\"ticks\"?We[v]=r._anchorAxis.domain[hr[1]]:(r.mirror===\"all\"||r.mirror===\"allticks\")&&(We[v]=[r._counterDomainMin,r._counterDomainMax][hr[1]]))}Ee&&(ie=Af.getComponentMethod(\"rangeslider\",\"autoMarginOpts\")(e,r)),typeof r.automargin==\"string\"&&(C8(He,r.automargin),C8(We,r.automargin)),Js.autoMargin(e,ay(r),He),Js.autoMargin(e,I8(r),We),Js.autoMargin(e,H8(r),ie)}),gr.syncOrAsync(me)}};function C8(e,r){if(e){var t=Object.keys(x8).reduce(function(a,n){return r.indexOf(n)!==-1&&x8[n].forEach(function(i){a[i]=1}),a},{});Object.keys(e).forEach(function(a){t[a]||(a.length===1?e[a]=0:delete e[a])})}}function cG(e,r){var t=[],a,n=function(i,l){var o=i.xbnd[l];o!==null&&t.push(gr.extendFlat({},i,{x:o}))};if(r.length){for(a=0;a<r.length;a++)n(r[a],0);n(r[a-1],1)}return t}function vG(e,r){for(var t=[],a={},n=0;n<r.length;n++){var i=r[n];a[i.text2]?a[i.text2].push(i.x):a[i.text2]=[i.x]}for(var l in a)t.push(z8(e,gr.interp(a[l],.5),l));return t}function hG(e,r){var t=[],a,n,i=r.length&#038;&#038;r[r.length-1].x<r[0].x,l=function(s,u){var f=s.xbnd[u];f!==null&#038;&#038;t.push(gr.extendFlat({},s,{x:f}))};if(e.showdividers&#038;&#038;r.length){for(a=0;a<r.length;a++){var o=r[a];o.text2!==n&#038;&#038;l(o,i?1:0),n=o.text2}l(r[a-1],i?0:1)}return t}function dG(e,r,t){var a,n,i,l;if(e._selections[r].size())a=1\/0,n=-1\/0,i=1\/0,l=-1\/0,e._selections[r].each(function(){var s=$m(this);if(s.node().style.display!==\"none\"){var u=fn.bBox(s.node().parentNode);a=Math.min(a,u.top),n=Math.max(n,u.bottom),i=Math.min(i,u.left),l=Math.max(l,u.right)}});else{var o=Be.makeLabelFns(e,t);a=n=o.yFn({dx:0,dy:0,fontSize:0}),i=l=o.xFn({dx:0,dy:0,fontSize:0})}return{top:a,bottom:n,left:i,right:l,height:n-a,width:l-i}}Be.getTickSigns=function(e,r){var t=e._id.charAt(0),a={x:\"top\",y:\"right\"}[t],n=e.side===a?1:-1,i=[-1,1,n,-n],l=r?(e.minor||{}).ticks:e.ticks;return l!==\"inside\"==(t===\"x\")&#038;&#038;(i=i.map(function(o){return-o})),e.side&#038;&#038;i.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),i};Be.makeTransTickFn=function(e){return e._id.charAt(0)===\"x\"?function(r){return Ks(e._offset+e.l2p(r.x),0)}:function(r){return Ks(0,e._offset+e.l2p(r.x))}};Be.makeTransTickLabelFn=function(e){var r=pG(e),t=e.ticklabelshift||0,a=e.ticklabelstandoff||0,n=r[0],i=r[1],l=e.range[0]>e.range[1],o=e.ticklabelposition&&e.ticklabelposition.indexOf(\"inside\")!==-1,s=!o;if(t){var u=l?-1:1;t=t*u}if(a){var f=e.side,v=o&&(f===\"top\"||f===\"left\")||s&&(f===\"bottom\"||f===\"right\")?1:-1;a=a*v}return e._id.charAt(0)===\"x\"?function(h){return Ks(n+e._offset+e.l2p(Qm(h))+t,i+a)}:function(h){return Ks(i+a,n+e._offset+e.l2p(Qm(h))+t)}};function Qm(e){return e.periodX!==void 0?e.periodX:e.x}function pG(e){var r=e.ticklabelposition||\"\",t=e.tickson||\"\",a=function(m){return r.indexOf(m)!==-1},n=a(\"top\"),i=a(\"left\"),l=a(\"right\"),o=a(\"bottom\"),s=a(\"inside\"),u=t!==\"boundaries\"&&(o||i||n||l);if(!u&&!s)return[0,0];var f=e.side,v=u?(e.tickwidth||0)\/2:0,h=V0,d=e.tickfont?e.tickfont.size:12;return(o||n)&&(v+=d*qo,h+=(e.linewidth||0)\/2),(i||l)&&(v+=(e.linewidth||0)\/2,h+=V0),s&&f===\"top\"&&(h-=d*(1-qo)),(i||n)&&(v=-v),(f===\"bottom\"||f===\"right\")&&(h=-h),[u?v:0,s?h:0]}Be.makeTickPath=function(e,r,t,a){a||(a={});var n=a.minor;if(n&&!e.minor)return\"\";var i=a.len!==void 0?a.len:n?e.minor.ticklen:e.ticklen,l=e._id.charAt(0),o=(e.linewidth||1)\/2;return l===\"x\"?\"M0,\"+(r+o*t)+\"v\"+i*t:\"M\"+(r+o*t)+\",0h\"+i*t};Be.makeLabelFns=function(e,r,t){var a=e.ticklabelposition||\"\",n=e.tickson||\"\",i=function(O){return a.indexOf(O)!==-1},l=i(\"top\"),o=i(\"left\"),s=i(\"right\"),u=i(\"bottom\"),f=n!==\"boundaries\"&&(u||o||l||s),v=i(\"inside\"),h=a===\"inside\"&&e.ticks===\"inside\"||!v&&e.ticks===\"outside\"&&n!==\"boundaries\",d=0,m=0,y=h?e.ticklen:0;if(v?y*=-1:f&&(y=0),h&&(d+=y,t)){var g=gr.deg2rad(t);d=y*Math.cos(g)+1,m=y*Math.sin(g)}e.showticklabels&&(h||e.showline)&&(d+=.2*e.tickfont.size),d+=(e.linewidth||1)\/2*(v?-1:1);var _={labelStandoff:d,labelShift:m},T,w,b,M,S=0,k=e.side,q=e._id.charAt(0),D=e.tickangle,P;if(q===\"x\")P=!v&&k===\"bottom\"||v&&k===\"top\",M=P?1:-1,v&&(M*=-1),T=m*M,w=r+d*M,b=P?1:-.2,Math.abs(D)===90&&(v?b+=Mf:D===-90&&k===\"bottom\"?b=qo:D===90&&k===\"top\"?b=Mf:b=.5,S=Mf\/2*(D\/90)),_.xFn=function(O){return O.dx+T+S*O.fontSize},_.yFn=function(O){return O.dy+w+O.fontSize*b},_.anchorFn=function(O,I){if(f){if(o)return\"end\";if(s)return\"start\"}return!Ot(I)||I===0||I===180?\"middle\":I*M<0!==v?\"end\":\"start\"},_.heightFn=function(O,I,V){return I<-60||I>60?-.5*V:e.side===\"top\"!==v?-V:0};else if(q===\"y\"){if(P=!v&&k===\"left\"||v&&k===\"right\",M=P?1:-1,v&&(M*=-1),T=d,w=m*M,b=0,!v&&Math.abs(D)===90&&(D===-90&&k===\"left\"||D===90&&k===\"right\"?b=qo:b=.5),v){var z=Ot(D)?+D:0;if(z!==0){var F=gr.deg2rad(z);S=Math.abs(Math.sin(F))*qo*M,b=0}}_.xFn=function(O){return O.dx+r-(T+O.fontSize*b)*M+S*O.fontSize},_.yFn=function(O){return O.dy+w+O.fontSize*Mf},_.anchorFn=function(O,I){return Ot(I)&&Math.abs(I)===90?\"middle\":P?\"end\":\"start\"},_.heightFn=function(O,I,V){return e.side===\"right\"&&(I*=-1),I<-30?-V:I<30?-.5*V:0}}return _};function X0(e){return[e.text,e.x,e.axInfo,e.font,e.fontSize,e.fontColor].join(\"_\")}Be.drawTicks=function(e,r,t){t=t||{};var a=r._id+\"tick\",n=[].concat(r.minor&#038;&#038;r.minor.ticks?t.vals.filter(function(l){return l.minor&#038;&#038;!l.noTick}):[]).concat(r.ticks?t.vals.filter(function(l){return!l.minor&#038;&#038;!l.noTick}):[]),i=t.layer.selectAll(\"path.\"+a).data(n,X0);i.exit().remove(),i.enter().append(\"path\").classed(a,1).classed(\"ticks\",1).classed(\"crisp\",t.crisp!==!1).each(function(l){return kf.stroke(Cn.select(this),l.minor?r.minor.tickcolor:r.tickcolor)}).style(\"stroke-width\",function(l){return fn.crispRound(e,l.minor?r.minor.tickwidth:r.tickwidth,1)+\"px\"}).attr(\"d\",t.path).style(\"display\",null),Z0(r,[L8]),i.attr(\"transform\",t.transFn)};Be.drawGrid=function(e,r,t){if(t=t||{},r.tickmode!==\"sync\"){var a=r._id+\"grid\",n=r.minor&#038;&#038;r.minor.showgrid,i=n?t.vals.filter(function(_){return _.minor}):[],l=r.showgrid?t.vals.filter(function(_){return!_.minor}):[],o=t.counterAxis;if(o&#038;&#038;Be.shouldShowZeroLine(e,r,o))for(var s=r.tickmode===\"array\",u=0;u<l.length;u++){var f=l[u].x;if(s?!f:Math.abs(f)<r.dtick\/100)if(l=l.slice(0,u).concat(l.slice(u+1)),s)u--;else break}r._gw=fn.crispRound(e,r.gridwidth,1);for(var v=n?fn.crispRound(e,r.minor.gridwidth,1):0,h=t.layer,d=t.minorLayer,m=1;m>=0;m--){var y=m?h:d;if(y){var g=y.selectAll(\"path.\"+a).data(m?l:i,X0);g.exit().remove(),g.enter().append(\"path\").classed(a,1).classed(\"crisp\",t.crisp!==!1),g.attr(\"transform\",t.transFn).attr(\"d\",t.path).each(function(_){return kf.stroke(Cn.select(this),_.minor?r.minor.gridcolor:r.gridcolor||\"#ddd\")}).style(\"stroke-dasharray\",function(_){return fn.dashStyle(_.minor?r.minor.griddash:r.griddash,_.minor?r.minor.gridwidth:r.gridwidth)}).style(\"stroke-width\",function(_){return(_.minor?v:r._gw)+\"px\"}).style(\"display\",null),typeof t.path==\"function\"&&g.attr(\"d\",t.path)}}Z0(r,[Jm,Km])}};Be.drawZeroLine=function(e,r,t){t=t||t;var a=r._id+\"zl\",n=Be.shouldShowZeroLine(e,r,t.counterAxis),i=t.layer.selectAll(\"path.\"+a).data(n?[{x:0,id:r._id}]:[]);i.exit().remove(),i.enter().append(\"path\").classed(a,1).classed(\"zl\",1).classed(\"crisp\",t.crisp!==!1).each(function(){t.layer.selectAll(\"path\").sort(function(l,o){return GV(l.id,o.id)})}),i.attr(\"transform\",t.transFn).attr(\"d\",t.path).call(kf.stroke,r.zerolinecolor||kf.defaultLine).style(\"stroke-width\",fn.crispRound(e,r.zerolinewidth,r._gw||1)+\"px\").style(\"display\",null),Z0(r,[Zm])};Be.drawLabels=function(e,r,t){t=t||{};var a=e._fullLayout,n=r._id,i=r.zerolinelayer===\"above traces\",l=t.cls||n+\"tick\",o=t.vals.filter(function(H){return H.text}),s=t.labelFns,u=t.secondary?0:r.tickangle,f=(r._prevTickAngles||{})[l],v=t.layer.selectAll(\"g.\"+l).data(r.showticklabels?o:[],X0),h=[];v.enter().append(\"g\").classed(l,1).append(\"text\").attr(\"text-anchor\",\"middle\").each(function(H){var Q=Cn.select(this),Z=e._promises.length;Q.call(So.positionText,s.xFn(H),s.yFn(H)).call(fn.font,{family:H.font,size:H.fontSize,color:H.fontColor,weight:H.fontWeight,style:H.fontStyle,variant:H.fontVariant,textcase:H.fontTextcase,lineposition:H.fontLineposition,shadow:H.fontShadow}).text(H.text).call(So.convertToTspans,e),e._promises[Z]?h.push(e._promises.pop().then(function(){d(Q,u)})):d(Q,u)}),Z0(r,[b8]),v.exit().remove(),t.repositionOnUpdate&&v.each(function(H){Cn.select(this).select(\"text\").call(So.positionText,s.xFn(H),s.yFn(H))});function d(H,Q){H.each(function(Z){var ne=Cn.select(this),ce=ne.select(\".text-math-group\"),ye=s.anchorFn(Z,Q),Ce=t.transFn.call(ne.node(),Z)+(Ot(Q)&&+Q!=0?\" rotate(\"+Q+\",\"+s.xFn(Z)+\",\"+(s.yFn(Z)-Z.fontSize\/2)+\")\":\"\"),re=So.lineCount(ne),Se=Sf*Z.fontSize,pe=s.heightFn(Z,Ot(Q)?+Q:0,(re-1)*Se);if(pe&&(Ce+=Ks(0,pe)),ce.empty()){var be=ne.select(\"text\");be.attr({transform:Ce,\"text-anchor\":ye}),be.style(\"display\",null),r._adjustTickLabelsOverflow&&r._adjustTickLabelsOverflow()}else{var Ae=fn.bBox(ce.node()).width,ge=Ae*{end:-.5,start:.5}[ye];ce.attr(\"transform\",Ce+Ks(ge,0))}})}r._adjustTickLabelsOverflow=function(){var H=r.ticklabeloverflow;if(!(!H||H===\"allow\")){var Q=H.indexOf(\"hide\")!==-1,Z=r._id.charAt(0)===\"x\",ne=0,ce=Z?e._fullLayout.width:e._fullLayout.height;if(H.indexOf(\"domain\")!==-1){var ye=gr.simpleMap(r.range,r.r2l);ne=r.l2p(ye[0])+r._offset,ce=r.l2p(ye[1])+r._offset}var Ce=Math.min(ne,ce),re=Math.max(ne,ce),Se=r.side,pe=1\/0,be=-1\/0;v.each(function($){var Y=Cn.select(this),le=Y.select(\".text-math-group\");if(le.empty()){var he=fn.bBox(Y.node()),me=0;Z?(he.right>re||he.left<Ce)&#038;&#038;(me=1):(he.bottom>re||he.top+(r.tickangle?0:$.fontSize\/4)<Ce)&#038;&#038;(me=1);var Re=Y.select(\"text\");me?Q&#038;&#038;Re.style(\"display\",\"none\"):Re.node().style.display!==\"none\"&#038;&#038;(Re.style(\"display\",null),Se===\"bottom\"||Se===\"right\"?pe=Math.min(pe,Z?he.top:he.left):pe=-1\/0,Se===\"top\"||Se===\"left\"?be=Math.max(be,Z?he.bottom:he.right):be=1\/0)}});for(var Ae in a._plots){var ge=a._plots[Ae];if(!(r._id!==ge.xaxis._id&#038;&#038;r._id!==ge.yaxis._id)){var B=Z?ge.yaxis:ge.xaxis;B&#038;&#038;(B[\"_visibleLabelMin_\"+r._id]=pe,B[\"_visibleLabelMax_\"+r._id]=be)}}}},r._hideCounterAxisInsideTickLabels=function(H){var Q=r._id.charAt(0)===\"x\",Z=[];for(var ne in a._plots){var ce=a._plots[ne];r._id!==ce.xaxis._id&#038;&#038;r._id!==ce.yaxis._id||Z.push(Q?ce.yaxis:ce.xaxis)}Z.forEach(function(ye,Ce){ye&#038;&#038;qf(ye)&#038;&#038;(H||[Zm,Km,Jm,L8,b8]).forEach(function(re){var Se=re.K===\"tick\"&#038;&#038;re.L===\"text\"&#038;&#038;r.ticklabelmode===\"period\",pe=a._plots[r._mainSubplot],be;if(re.K===Zm.K){var Ae=i?pe.zerolinelayerAbove:pe.zerolinelayer;be=Ae.selectAll(\".\"+r._id+\"zl\")}else re.K===Km.K?be=pe.minorGridlayer.selectAll(\".\"+r._id):re.K===Jm.K?be=pe.gridlayer.selectAll(\".\"+r._id):be=pe[r._id.charAt(0)+\"axislayer\"];be.each(function(){var ge=Cn.select(this);re.L&#038;&#038;(ge=ge.selectAll(re.L)),ge.each(function(B){var $=r.l2p(Se?Qm(B):B.x)+r._offset,Y=Cn.select(this);$<r[\"_visibleLabelMax_\"+ye._id]&#038;&#038;$>r[\"_visibleLabelMin_\"+ye._id]?Y.style(\"display\",\"none\"):re.K===\"tick\"&&!Ce&&Y.node().style.display!==\"none\"&&Y.style(\"display\",null)})})})})},d(v,f+1?f:u);function m(){return h.length&&Promise.all(h)}var y=null;function g(){if(d(v,u),o.length&&r.autotickangles&&(r.type!==\"log\"||String(r.dtick).charAt(0)!==\"D\")){y=r.autotickangles[0];var H=0,Q=[],Z,ne=1;v.each(function(He){H=Math.max(H,He.fontSize);var We=r.l2p(He.x),ie=$m(this),xe=fn.bBox(ie.node());ne=Math.max(ne,So.lineCount(ie)),Q.push({top:0,bottom:10,height:10,left:We-xe.width\/2,right:We+xe.width\/2+2,width:xe.width+2})});var ce=(r.tickson===\"boundaries\"||r.showdividers)&&!t.secondary,ye=o.length,Ce=Math.abs((o[ye-1].x-o[0].x)*r._m)\/(ye-1),re=ce?Ce\/2:Ce,Se=ce?r.ticklen:H*1.25*ne,pe=Math.sqrt(Math.pow(re,2)+Math.pow(Se,2)),be=re\/pe,Ae=r.autotickangles.map(function(He){return He*Math.PI\/180}),ge=Ae.find(function(He){return Math.abs(Math.cos(He))<=be});ge===void 0&#038;&#038;(ge=Ae.reduce(function(He,We){return Math.abs(Math.cos(He))<Math.abs(Math.cos(We))?He:We},Ae[0]));var B=ge*(180\/Math.PI);if(ce){var $=2;for(r.ticks&#038;&#038;($+=r.tickwidth\/2),Z=0;Z<Q.length;Z++){var Y=o[Z].xbnd,le=Q[Z];if(Y[0]!==null&#038;&#038;le.left-r.l2p(Y[0])<$||Y[1]!==null&#038;&#038;r.l2p(Y[1])-le.right<$){y=B;break}}}else{var he=r.ticklabelposition||\"\",me=r.tickson||\"\",Re=function(He){return he.indexOf(He)!==-1},Ee=Re(\"top\"),Le=Re(\"left\"),Ve=Re(\"right\"),Ie=Re(\"bottom\"),Xe=me!==\"boundaries\"&#038;&#038;(Ie||Le||Ee||Ve),De=Xe?(r.tickwidth||0)+2*V0:0;for(Z=0;Z<Q.length-1;Z++)if(gr.bBoxIntersect(Q[Z],Q[Z+1],De)){y=B;break}}y&#038;&#038;d(v,y)}}r._selections&#038;&#038;(r._selections[l]=v);var _=[m];r.automargin&#038;&#038;a._redrawFromAutoMarginCount&#038;&#038;f===90?(y=f,_.push(function(){d(v,f)})):_.push(g),r._tickAngles&#038;&#038;_.push(function(){r._tickAngles[l]=y===null?Ot(u)?u:0:y});var T=function(){var H=0,Q=0;return v.each(function(Z,ne){var ce=$m(this),ye=ce.select(\".text-math-group\");if(ye.empty()){var Ce;r._vals[ne]&#038;&#038;(Ce=r._vals[ne].bb||fn.bBox(ce.node()),r._vals[ne].bb=Ce),H=Math.max(H,Ce.width),Q=Math.max(Q,Ce.height)}}),{labelsMaxW:H,labelsMaxH:Q}},w=r._anchorAxis;if(w&#038;&#038;(w.autorange||w.insiderange)&#038;&#038;qf(r)&#038;&#038;!WV(a,r._id)&#038;&#038;(a._insideTickLabelsUpdaterange||(a._insideTickLabelsUpdaterange={}),w.autorange&#038;&#038;(a._insideTickLabelsUpdaterange[w._name+\".autorange\"]=w.autorange,_.push(T)),w.insiderange)){var b=T(),M=r._id.charAt(0)===\"y\"?b.labelsMaxW:b.labelsMaxH;M+=2*V0,r.ticklabelposition===\"inside\"&#038;&#038;(M+=r.ticklen||0);var S=r.side===\"right\"||r.side===\"top\"?1:-1,k=S===1?1:0,q=S===1?0:1,D=[];D[q]=w.range[q];var P=w.range,z=w.r2p(P[k]),F=w.r2p(P[q]),O=a._insideTickLabelsUpdaterange[w._name+\".range\"];if(O){var I=w.r2p(O[k]),V=w.r2p(O[q]),J=S*(r._id.charAt(0)===\"y\"?1:-1);J*z<J*I&#038;&#038;(z=I,D[k]=P[k]=O[k]),J*F>J*V&&(F=V,D[q]=P[q]=O[q])}var G=Math.abs(F-z);G-M>0?(G-=M,M*=1+M\/G):M=0,r._id.charAt(0)!==\"y\"&&(M=-M),D[k]=w.p2r(w.r2p(P[k])+S*M),w.autorange===\"min\"||w.autorange===\"max reversed\"?(D[0]=null,w._rangeInitial0=void 0,w._rangeInitial1=void 0):(w.autorange===\"max\"||w.autorange===\"min reversed\")&&(D[1]=null,w._rangeInitial0=void 0,w._rangeInitial1=void 0),a._insideTickLabelsUpdaterange[w._name+\".range\"]=D}var U=gr.syncOrAsync(_);return U&&U.then&&e._promises.push(U),U};function mG(e,r,t){var a=r._id+\"divider\",n=t.vals,i=t.layer.selectAll(\"path.\"+a).data(n,X0);i.exit().remove(),i.enter().insert(\"path\",\":first-child\").classed(a,1).classed(\"crisp\",1).call(kf.stroke,r.dividercolor).style(\"stroke-width\",fn.crispRound(e,r.dividerwidth,1)+\"px\"),i.attr(\"transform\",t.transFn).attr(\"d\",t.path)}Be.getPxPosition=function(e,r){var t=e._fullLayout._size,a=r._id.charAt(0),n=r.side,i;if(r.anchor!==\"free\"?i=r._anchorAxis:a===\"x\"?i={_offset:t.t+(1-(r.position||0))*t.h,_length:0}:a===\"y\"&&(i={_offset:t.l+(r.position||0)*t.w+r._shift,_length:0}),n===\"top\"||n===\"left\")return i._offset;if(n===\"bottom\"||n===\"right\")return i._offset+i._length};function S8(e){var r=e.title.font.size,t=(e.title.text.match(So.BR_TAG_ALL)||[]).length;return e.title.hasOwnProperty(\"standoff\")?r*(qo+t*Sf):t?r*(t+1)*Sf:r}function yG(e,r){var t=e._fullLayout,a=r._id,n=a.charAt(0),i=r.title.font.size,l,o=(r.title.text.match(So.BR_TAG_ALL)||[]).length;if(r.title.hasOwnProperty(\"standoff\"))r.side===\"bottom\"||r.side===\"right\"?l=r._depth+r.title.standoff+i*qo:(r.side===\"top\"||r.side===\"left\")&&(l=r._depth+r.title.standoff+i*(Mf+o*Sf));else{var s=qf(r);if(r.type===\"multicategory\")l=r._depth;else{var u=1.5*i;s&&(u=.5*i,r.ticks===\"outside\"&&(u+=r.ticklen)),l=10+u+(r.linewidth?r.linewidth-1:0)}s||(n===\"x\"?l+=r.side===\"top\"?i*(r.showticklabels?1:0):i*(r.showticklabels?1.5:.5):l+=r.side===\"right\"?i*(r.showticklabels?1:.5):i*(r.showticklabels?.5:0))}var f=Be.getPxPosition(e,r),v,h,d;n===\"x\"?(h=r._offset+r._length\/2,d=r.side===\"top\"?f-l:f+l):(d=r._offset+r._length\/2,h=r.side===\"right\"?f+l:f-l,v={rotate:\"-90\",offset:0});var m;if(r.type!==\"multicategory\"){var y=r._selections[r._id+\"tick\"];if(m={selection:y,side:r.side},y&&y.node()&&y.node().parentNode){var g=fn.getTranslate(y.node().parentNode);m.offsetLeft=g.x,m.offsetTop=g.y}r.title.hasOwnProperty(\"standoff\")&&(m.pad=0)}return r._titleStandoff=l,NV.draw(e,a+\"title\",{propContainer:r,propName:r._name+\".title.text\",placeholder:t._dfltTitle[n],avoid:m,transform:v,attributes:{x:h,y:d,\"text-anchor\":\"middle\"}})}Be.shouldShowZeroLine=function(e,r,t){var a=gr.simpleMap(r.range,r.r2l);return a[0]*a[1]<=0&#038;&#038;r.zeroline&#038;&#038;(r.type===\"linear\"||r.type===\"-\")&#038;&#038;!(r.rangebreaks&#038;&#038;r.maskBreaks(0)===G0)&#038;&#038;(F8(r,0)||!gG(e,r,t,a)||bG(e,r))};Be.clipEnds=function(e,r){return r.filter(function(t){return F8(e,t.x)})};function F8(e,r){var t=e.l2p(r);return t>1&&t<e._length-1}function gG(e,r,t,a){var n=t._mainAxis;if(!n)return;var i=e._fullLayout,l=r._id.charAt(0),o=Be.counterLetter(r._id),s=r._offset+(Math.abs(a[0])<Math.abs(a[1])==(l===\"x\")?0:r._length);function u(m){if(!m.showline||!m.linewidth)return!1;var y=Math.max((m.linewidth+r.zerolinewidth)\/2,1);function g(w){return typeof w==\"number\"&#038;&#038;Math.abs(w-s)<y}if(g(m._mainLinePosition)||g(m._mainMirrorPosition))return!0;var _=m._linepositions||{};for(var T in _)if(g(_[T][0])||g(_[T][1]))return!0}var f=i._plots[t._mainSubplot];if(!(f.mainplotinfo||f).overlays.length)return u(t,s);for(var v=Be.list(e,o),h=0;h<v.length;h++){var d=v[h];if(d._mainAxis===n&#038;&#038;u(d,s))return!0}}function bG(e,r){for(var t=e._fullData,a=r._mainSubplot,n=r._id.charAt(0),i=0;i<t.length;i++){var l=t[i];if(l.visible===!0&#038;&#038;l.xaxis+l.yaxis===a&#038;&#038;(Af.traceIs(l,\"bar-like\")&#038;&#038;l.orientation==={x:\"h\",y:\"v\"}[n]||l.fill&#038;&#038;l.fill.charAt(l.fill.length-1)===n))return!0}return!1}function $m(e){var r=Cn.select(e),t=r.select(\".text-math-group\");return t.empty()?r.select(\"text\"):t}Be.allowAutoMargin=function(e){for(var r=Be.list(e,\"\",!0),t=0;t<r.length;t++){var a=r[t];a.automargin&#038;&#038;(Js.allowAutoMargin(e,ay(a)),a.mirror&#038;&#038;Js.allowAutoMargin(e,I8(a))),Af.getComponentMethod(\"rangeslider\",\"isVisible\")(a)&#038;&#038;Js.allowAutoMargin(e,H8(a))}};function ay(e){return e._id+\".automargin\"}function I8(e){return ay(e)+\".mirror\"}function H8(e){return e._id+\".rangeslider\"}Be.swap=function(e,r){for(var t=xG(e,r),a=0;a<t.length;a++)_G(e,t[a].x,t[a].y)};function xG(e,r){var t=[],a,n;for(a=0;a<r.length;a++){var i=[],l=e._fullData[r[a]].xaxis,o=e._fullData[r[a]].yaxis;if(!(!l||!o)){for(n=0;n<t.length;n++)(t[n].x.indexOf(l)!==-1||t[n].y.indexOf(o)!==-1)&#038;&#038;i.push(n);if(!i.length){t.push({x:[l],y:[o]});continue}var s=t[i[0]],u;if(i.length>1)for(n=1;n<i.length;n++)u=t[i[n]],I0(s.x,u.x),I0(s.y,u.y);I0(s.x,[l]),I0(s.y,[o])}}return t}function I0(e,r){for(var t=0;t<r.length;t++)e.indexOf(r[t])===-1&#038;&#038;e.push(r[t])}function _G(e,r,t){var a=[],n=[],i=e.layout,l,o;for(l=0;l<r.length;l++)a.push(Be.getFromId(e,r[l]));for(l=0;l<t.length;l++)n.push(Be.getFromId(e,t[l]));var s=Object.keys(FV),u=[\"anchor\",\"domain\",\"overlaying\",\"position\",\"side\",\"tickangle\",\"editType\"],f=[\"linear\",\"log\"];for(l=0;l<s.length;l++){var v=s[l],h=a[0][v],d=n[0][v],m=!0,y=!1,g=!1;if(!(v.charAt(0)===\"_\"||typeof h==\"function\"||u.indexOf(v)!==-1)){for(o=1;o<a.length&#038;&m;o++){var _=a[o][v];v===\"type\"&#038;&#038;f.indexOf(h)!==-1&#038;&#038;f.indexOf(_)!==-1&#038;&#038;h!==_?y=!0:_!==h&#038;&#038;(m=!1)}for(o=1;o<n.length&#038;&m;o++){var T=n[o][v];v===\"type\"&#038;&#038;f.indexOf(d)!==-1&#038;&#038;f.indexOf(T)!==-1&#038;&#038;d!==T?g=!0:n[o][v]!==d&#038;&#038;(m=!1)}m&#038;&#038;(y&#038;&#038;(i[a[0]._name].type=\"linear\"),g&#038;&#038;(i[n[0]._name].type=\"linear\"),wG(i,v,a,n,e._fullLayout._dfltTitle))}}for(l=0;l<e._fullLayout.annotations.length;l++){var w=e._fullLayout.annotations[l];r.indexOf(w.xref)!==-1&#038;&#038;t.indexOf(w.yref)!==-1&#038;&#038;gr.swapAttrs(i.annotations[l],[\"?\"])}}function wG(e,r,t,a,n){var i=gr.nestedProperty,l=i(e[t[0]._name],r).get(),o=i(e[a[0]._name],r).get(),s;for(r===\"title\"&#038;&#038;(l&#038;&#038;l.text===n.x&#038;&#038;(l.text=n.y),o&#038;&#038;o.text===n.y&#038;&#038;(o.text=n.x)),s=0;s<t.length;s++)i(e,t[s]._name+\".\"+r).set(o);for(s=0;s<a.length;s++)i(e,a[s]._name+\".\"+r).set(l)}function ny(e){return e._id===\"angularaxis\"}function Wm(e,r){for(var t=r._rangebreaks.length,a=0;a<t;a++){var n=r._rangebreaks[a];if(e>=n.min&&e<n.max)return n.max}return e}function qf(e){return(e.ticklabelposition||\"\").indexOf(\"inside\")!==-1}function Z0(e,r){qf(e._anchorAxis||{})&#038;&#038;e._hideCounterAxisInsideTickLabels&#038;&#038;e._hideCounterAxisInsideTickLabels(r)}function jm(e,r,t,a){var n=e.anchor!==\"free\"&#038;&#038;(e.overlaying===void 0||e.overlaying===!1)?e._id:e.overlaying,i;a?i=e.side===\"right\"?r:-r:i=r,n in t||(t[n]={}),e.side in t[n]||(t[n][e.side]=0),t[n][e.side]+=i}function TG(e,r){return e.autoshift?r[e.overlaying][e.side]:e.shift||0}function MG(e,r){return\/%f\/.test(r)?e>=YV:\/%L\/.test(r)?e>=BV:\/%[SX]\/.test(r)?e>=U0:\/%M\/.test(r)?e>=Cf:\/%[HI]\/.test(r)?e>=Ci:\/%p\/.test(r)?e>=Sl:\/%[Aadejuwx]\/.test(r)?e>=Ra:\/%[UVW]\/.test(r)?e>=cn:\/%[Bbm]\/.test(r)?e>=Y0:\/%[q]\/.test(r)?e>=B0:\/%[Yy]\/.test(r)?e>=O0:!0}});var Y8=K((qse,B8)=>{\"use strict\";B8.exports=function(r,t,a){var n,i;if(a){var l=t===\"reversed\"||t===\"min reversed\"||t===\"max reversed\";n=a[l?1:0],i=a[l?0:1]}var o=r(\"autorangeoptions.minallowed\",i===null?n:void 0),s=r(\"autorangeoptions.maxallowed\",n===null?i:void 0);o===void 0&&r(\"autorangeoptions.clipmin\"),s===void 0&&r(\"autorangeoptions.clipmax\"),r(\"autorangeoptions.include\")}});var iy=K((Dse,U8)=>{\"use strict\";var AG=Y8();U8.exports=function(r,t,a,n){var i=t._template||{},l=t.type||i.type||\"-\";a(\"minallowed\"),a(\"maxallowed\");var o=a(\"range\");if(!o){var s;!n.noInsiderange&&l!==\"log\"&&(s=a(\"insiderange\"),s&&(s[0]===null||s[1]===null)&&(t.insiderange=!1,s=void 0),s&&(o=a(\"range\",s)))}var u=t.getAutorangeDflt(o,n),f=a(\"autorange\",u),v;o&&(o[0]===null&&o[1]===null||(o[0]===null||o[1]===null)&&(f===\"reversed\"||f===!0)||o[0]!==null&&(f===\"min\"||f===\"max reversed\")||o[1]!==null&&(f===\"max\"||f===\"min reversed\"))&&(o=void 0,delete t.range,t.autorange=!0,v=!0),v||(u=t.getAutorangeDflt(o,n),f=a(\"autorange\",u)),f&&(AG(a,f,o),(l===\"linear\"||l===\"-\")&&a(\"rangemode\")),t.cleanRange()}});var G8=K((Ese,V8)=>{var kG={left:0,top:0};V8.exports=CG;function CG(e,r,t){r=r||e.currentTarget||e.srcElement,Array.isArray(t)||(t=[0,0]);var a=e.clientX||0,n=e.clientY||0,i=SG(r);return t[0]=a-i.left,t[1]=n-i.top,t}function SG(e){return e===window||e===document||e===document.body?kG:e.getBoundingClientRect()}});var ly=K((Pse,W8)=>{\"use strict\";var LG=Rp();function qG(){var e=!1;try{var r=Object.defineProperty({},\"passive\",{get:function(){e=!0}});window.addEventListener(\"test\",null,r),window.removeEventListener(\"test\",null,r)}catch(t){e=!1}return e}W8.exports=LG&&qG()});var Z8=K((Rse,X8)=>{\"use strict\";X8.exports=function(r,t,a,n,i){var l=(r-a)\/(n-a),o=l+t\/(n-a),s=(l+o)\/2;return i===\"left\"||i===\"bottom\"?l:i===\"center\"||i===\"middle\"?s:i===\"right\"||i===\"top\"?o:l<2\/3-s?l:o>4\/3-s?o:s}});var Q8=K((zse,K8)=>{\"use strict\";var J8=Fe(),DG=[[\"sw-resize\",\"s-resize\",\"se-resize\"],[\"w-resize\",\"move\",\"e-resize\"],[\"nw-resize\",\"n-resize\",\"ne-resize\"]];K8.exports=function(r,t,a,n){return a===\"left\"?r=0:a===\"center\"?r=1:a===\"right\"?r=2:r=J8.constrain(Math.floor(r*3),0,2),n===\"bottom\"?t=0:n===\"middle\"?t=1:n===\"top\"?t=2:t=J8.constrain(Math.floor(t*3),0,2),DG[t][r]}});var j8=K((Nse,$8)=>{\"use strict\";var EG=vf(),PG=Zv(),RG=af().getGraphDiv,zG=ju(),oy=$8.exports={};oy.wrapped=function(e,r,t){e=RG(e),e._fullLayout&&PG.clear(e._fullLayout._uid+zG.HOVERID),oy.raw(e,r,t)};oy.raw=function(r,t){var a=r._fullLayout,n=r._hoverdata;t||(t={}),!(t.target&&!r._dragged&&EG.triggerHandler(r,\"plotly_beforehover\",t)===!1)&&(a._hoverlayer.selectAll(\"g\").remove(),a._hoverlayer.selectAll(\"line\").remove(),a._hoverlayer.selectAll(\"circle\").remove(),r._hoverdata=void 0,t.target&&n&&r.emit(\"plotly_unhover\",{event:t,points:n}))}});var ti=K((Fse,aw)=>{\"use strict\";var NG=G8(),sy=Np(),FG=ly(),IG=Fe().removeElement,HG=$t(),Do=aw.exports={};Do.align=Z8();Do.getCursor=Q8();var rw=j8();Do.unhover=rw.wrapped;Do.unhoverRaw=rw.raw;Do.init=function(r){var t=r.gd,a=1,n=t._context.doubleClickDelay,i=r.element,l,o,s,u,f,v,h,d;t._mouseDownTime||(t._mouseDownTime=0),i.style.pointerEvents=\"all\",i.onmousedown=g,FG?(i._ontouchstart&&i.removeEventListener(\"touchstart\",i._ontouchstart),i._ontouchstart=g,i.addEventListener(\"touchstart\",g,{passive:!1})):i.ontouchstart=g;function m(w,b,M){return Math.abs(w)<M&#038;&#038;(w=0),Math.abs(b)<M&#038;&#038;(b=0),[w,b]}var y=r.clampFn||m;function g(w){t._dragged=!1,t._dragging=!0;var b=ew(w);l=b[0],o=b[1],h=w.target,v=w,d=w.buttons===2||w.ctrlKey,typeof w.clientX==\"undefined\"&#038;&#038;typeof w.clientY==\"undefined\"&#038;&#038;(w.clientX=l,w.clientY=o),s=new Date().getTime(),s-t._mouseDownTime<n?a+=1:(a=1,t._mouseDownTime=s),r.prepFn&#038;&#038;r.prepFn(w,l,o),sy&#038;&#038;!d?(f=tw(),f.style.cursor=window.getComputedStyle(i).cursor):sy||(f=document,u=window.getComputedStyle(document.documentElement).cursor,document.documentElement.style.cursor=window.getComputedStyle(i).cursor),document.addEventListener(\"mouseup\",T),document.addEventListener(\"touchend\",T),r.dragmode!==!1&#038;&#038;(w.preventDefault(),document.addEventListener(\"mousemove\",_),document.addEventListener(\"touchmove\",_,{passive:!1}))}function _(w){w.preventDefault();var b=ew(w),M=r.minDrag||HG.MINDRAG,S=y(b[0]-l,b[1]-o,M),k=S[0],q=S[1];(k||q)&#038;&#038;(t._dragged=!0,Do.unhover(t,w)),t._dragged&#038;&#038;r.moveFn&#038;&#038;!d&#038;&#038;(t._dragdata={element:i,dx:k,dy:q},r.moveFn(k,q))}function T(w){if(delete t._dragdata,r.dragmode!==!1&#038;&#038;(w.preventDefault(),document.removeEventListener(\"mousemove\",_),document.removeEventListener(\"touchmove\",_)),document.removeEventListener(\"mouseup\",T),document.removeEventListener(\"touchend\",T),sy?IG(f):u&#038;&#038;(f.documentElement.style.cursor=u,u=null),!t._dragging){t._dragged=!1;return}if(t._dragging=!1,new Date().getTime()-t._mouseDownTime>n&&(a=Math.max(a-1,1)),t._dragged)r.doneFn&&r.doneFn();else{var b;v.target===h?b=v:(b={target:h,srcElement:h,toElement:h},Object.keys(v).concat(Object.keys(v.__proto__)).forEach(M=>{var S=v[M];!b[M]&&typeof S!=\"function\"&&(b[M]=S)})),r.clickFn&&r.clickFn(a,b),d||h.dispatchEvent(new MouseEvent(\"click\",w))}t._dragging=!1,t._dragged=!1}};function tw(){var e=document.createElement(\"div\");e.className=\"dragcover\";var r=e.style;return r.position=\"fixed\",r.left=0,r.right=0,r.top=0,r.bottom=0,r.zIndex=999999999,r.background=\"none\",document.body.appendChild(e),e}Do.coverSlip=tw;function ew(e){return NG(e.changedTouches?e.changedTouches[0]:e,document.body)}});var Ll=K((Ise,nw)=>{\"use strict\";nw.exports=function(r,t){(r.attr(\"class\")||\"\").split(\" \").forEach(function(a){a.indexOf(\"cursor-\")===0&&r.classed(a,!1)}),t&&r.classed(\"cursor-\"+t,!0)}});var ow=K((Hse,lw)=>{\"use strict\";var uy=Ll(),Df=\"data-savedcursor\",iw=\"!!\";lw.exports=function(r,t){var a=r.attr(Df);if(t){if(!a){for(var n=(r.attr(\"class\")||\"\").split(\" \"),i=0;i<n.length;i++){var l=n[i];l.indexOf(\"cursor-\")===0&#038;&#038;r.attr(Df,l.slice(7)).classed(l,!1)}r.attr(Df)||r.attr(Df,iw)}uy(r,t)}else a&#038;&#038;(r.attr(Df,null),a===iw?uy(r):uy(r,a))}});var cy=K((Ose,sw)=>{\"use strict\";var fy=ga(),OG=gi();sw.exports={_isSubplotObj:!0,visible:{valType:\"boolean\",dflt:!0,editType:\"legend\"},bgcolor:{valType:\"color\",editType:\"legend\"},bordercolor:{valType:\"color\",dflt:OG.defaultLine,editType:\"legend\"},maxheight:{valType:\"number\",min:0,editType:\"legend\"},borderwidth:{valType:\"number\",min:0,dflt:0,editType:\"legend\"},font:fy({editType:\"legend\"}),grouptitlefont:fy({editType:\"legend\"}),orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],dflt:\"v\",editType:\"legend\"},traceorder:{valType:\"flaglist\",flags:[\"reversed\",\"grouped\"],extras:[\"normal\"],editType:\"legend\"},tracegroupgap:{valType:\"number\",min:0,dflt:10,editType:\"legend\"},entrywidth:{valType:\"number\",min:0,editType:\"legend\"},entrywidthmode:{valType:\"enumerated\",values:[\"fraction\",\"pixels\"],dflt:\"pixels\",editType:\"legend\"},indentation:{valType:\"number\",min:-15,dflt:0,editType:\"legend\"},itemsizing:{valType:\"enumerated\",values:[\"trace\",\"constant\"],dflt:\"trace\",editType:\"legend\"},itemwidth:{valType:\"number\",min:30,dflt:30,editType:\"legend\"},itemclick:{valType:\"enumerated\",values:[\"toggle\",\"toggleothers\",!1],dflt:\"toggle\",editType:\"legend\"},itemdoubleclick:{valType:\"enumerated\",values:[\"toggle\",\"toggleothers\",!1],dflt:\"toggleothers\",editType:\"legend\"},groupclick:{valType:\"enumerated\",values:[\"toggleitem\",\"togglegroup\"],dflt:\"togglegroup\",editType:\"legend\"},titleclick:{valType:\"enumerated\",values:[\"toggle\",\"toggleothers\",!1],editType:\"legend\"},titledoubleclick:{valType:\"enumerated\",values:[\"toggle\",\"toggleothers\",!1],editType:\"legend\"},x:{valType:\"number\",editType:\"legend\"},xref:{valType:\"enumerated\",dflt:\"paper\",values:[\"container\",\"paper\"],editType:\"layoutstyle\"},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"left\",editType:\"legend\"},y:{valType:\"number\",editType:\"legend\"},yref:{valType:\"enumerated\",dflt:\"paper\",values:[\"container\",\"paper\"],editType:\"layoutstyle\"},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],editType:\"legend\"},uirevision:{valType:\"any\",editType:\"none\"},valign:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],dflt:\"middle\",editType:\"legend\"},title:{text:{valType:\"string\",dflt:\"\",editType:\"legend\"},font:fy({editType:\"legend\"}),side:{valType:\"enumerated\",values:[\"top\",\"left\",\"top left\",\"top center\",\"top right\"],editType:\"legend\"},editType:\"legend\"},editType:\"legend\"}});var Pf=K(Ef=>{\"use strict\";Ef.isGrouped=function(r){return(r.traceorder||\"\").indexOf(\"grouped\")!==-1};Ef.isVertical=function(r){return r.orientation!==\"h\"};Ef.isReversed=function(r){return(r.traceorder||\"\").indexOf(\"reversed\")!==-1};Ef.getId=function(r){return r._id||\"legend\"}});var hy=K((Yse,uw)=>{\"use strict\";var J0=br(),vn=Fe(),BG=ct(),YG=Zn(),UG=cy(),VG=Ss(),vy=Pf();function GG(e,r,t,a,n){var i=r[e]||{},l=BG.newContainer(t,e);function o(H,Q){return vn.coerce(i,l,UG,H,Q)}var s=vn.coerceFont(o,\"font\",t.font);o(\"bgcolor\",t.paper_bgcolor),o(\"bordercolor\");var u=o(\"visible\");if(!u)return;var f,v=function(H,Q){var Z=f._input,ne=f;return vn.coerce(Z,ne,YG,H,Q)},h=t.font||{},d=vn.coerceFont(o,\"grouptitlefont\",h,{overrideDflt:{size:Math.round(h.size*1.1)}}),m=0,y=!1,g=\"normal\",_=(t.shapes||[]).filter(function(H){return H.showlegend});function T(H){return J0.traceIs(H,\"pie-like\")&&H._length!=null&&(Array.isArray(H.legend)||Array.isArray(H.showlegend))}a.filter(T).forEach(function(H){H.visible&&m++;for(var Q=0;Q<H._length;Q++){var Z=(Array.isArray(H.legend)?H.legend[Q]:H.legend)||\"legend\";Z===e&#038;&#038;((Array.isArray(H.showlegend)?H.showlegend[Q]:H.showlegend)||H._dfltShowLegend)&#038;&#038;(y=!0,m++)}if(e===\"legend\"&#038;&#038;H._length>H.legend.length)for(var ne=H.legend.length;ne<H._length;ne++)y=!0,m++});for(var w=a.concat(_).filter(function(H){return!T(f)&#038;&#038;e===(H.legend||\"legend\")}),b=0;b<w.length;b++)if(f=w[b],!!f.visible){var M=f._isShape;(f.showlegend||f._dfltShowLegend&#038;&#038;!(f._module&#038;&#038;f._module.attributes&#038;&#038;f._module.attributes.showlegend&#038;&#038;f._module.attributes.showlegend.dflt===!1))&#038;&#038;(m++,f.showlegend&#038;&#038;(y=!0,(!M&#038;&#038;J0.traceIs(f,\"pie-like\")||f._input.showlegend===!0)&#038;&#038;m++),vn.coerceFont(v,\"legendgrouptitle.font\",d)),(!M&#038;&#038;J0.traceIs(f,\"bar\")&#038;&#038;t.barmode===\"stack\"||[\"tonextx\",\"tonexty\"].indexOf(f.fill)!==-1)&#038;&#038;(g=vy.isGrouped({traceorder:g})?\"grouped+reversed\":\"reversed\"),f.legendgroup!==void 0&#038;&#038;f.legendgroup!==\"\"&#038;&#038;(g=vy.isReversed({traceorder:g})?\"reversed+grouped\":\"grouped\")}var S=vn.coerce(r,t,VG,\"showlegend\",t.showlegend||y&#038;&#038;m>(e===\"legend\"?1:0));if(S===!1&&(t[e]=void 0),!(S===!1&&!i.uirevision)&&(o(\"uirevision\",t.uirevision),S!==!1)){o(\"borderwidth\");var k=o(\"orientation\"),q=o(\"yref\"),D=o(\"xref\"),P=k===\"h\",z=q===\"paper\",F=D===\"paper\",O,I,V,J=\"left\";P?(O=0,J0.getComponentMethod(\"rangeslider\",\"isVisible\")(r.xaxis)?z?(I=1.1,V=\"bottom\"):(I=1,V=\"top\"):z?(I=-.1,V=\"top\"):(I=0,V=\"bottom\")):(I=1,V=\"auto\",F?O=1.02:(O=1,J=\"right\")),vn.coerce(i,l,{x:{valType:\"number\",editType:\"legend\",min:F?-2:0,max:F?3:1,dflt:O}},\"x\"),vn.coerce(i,l,{y:{valType:\"number\",editType:\"legend\",min:z?-2:0,max:z?3:1,dflt:I}},\"y\"),o(\"traceorder\",g),vy.isGrouped(t[e])&&o(\"tracegroupgap\"),o(\"entrywidth\"),o(\"entrywidthmode\"),o(\"indentation\"),o(\"itemsizing\"),o(\"itemwidth\"),o(\"itemclick\"),o(\"itemdoubleclick\"),o(\"groupclick\"),o(\"xanchor\",J),o(\"yanchor\",V),o(\"maxheight\"),o(\"valign\"),vn.noneOrAll(i,l,[\"x\",\"y\"]);var G=o(\"title.text\");if(G){o(\"title.side\",P?\"left\":\"top\");var U=vn.extendFlat({},s,{size:vn.bigFont(s.size)});vn.coerceFont(o,\"title.font\",U);let H=n>1;o(\"titleclick\",H?\"toggle\":!1),o(\"titledoubleclick\",H?\"toggleothers\":!1)}}}uw.exports=function(r,t,a){var n,i=a.slice(),l=t.shapes;if(l)for(n=0;n<l.length;n++){var o=l[n];if(o.showlegend){var s={_input:o._input,visible:o.visible,showlegend:o.showlegend,legend:o.legend};i.push(s)}}var u=[\"legend\"];for(n=0;n<i.length;n++)Array.isArray(i[n].legend)?u=u.concat(i[n].legend):vn.pushUnique(u,i[n].legend);for(t._legends=[],n=0;n<u.length;n++){var f=u[n];GG(f,r,t,i,u.length),t[f]&#038;&#038;(t[f]._id=f),t._legends.push(f)}}});var my=K(py=>{\"use strict\";var ql=br(),dy=Fe(),WG=dy.pushUnique,XG=Pf(),fw=!0;py.handleItemClick=function(r,t,a,n){var i=t._fullLayout;if(t._dragged||t._editing)return;var l=r.data()[0][0];if(l.groupTitle&&l.noClick)return;var o=a.groupclick;n===\"toggle\"&&a.itemdoubleclick===\"toggleothers\"&&fw&&t.data&&t._context.showTips&&(dy.notifier(dy._(t,\"Double-click on legend to isolate one trace\"),\"long\",t),fw=!1);var s=o===\"togglegroup\",u=i.hiddenlabels?i.hiddenlabels.slice():[],f=t._fullData;let v=(i.shapes||[]).filter(Ee=>Ee.showlegend||Ee.legendgroup);var h=f.concat(v),d=l.trace;d._isShape&&(d=d._fullInput);var m=d.legendgroup,y,g,_,T,w,b,M={},S=[],k=[],q=[];function D(Ee,Le){var Ve=S.indexOf(Ee),Ie=M.visible;return Ie||(Ie=M.visible=[]),S.indexOf(Ee)===-1&&(S.push(Ee),Ve=S.length-1),Ie[Ve]=Le,Ve}var P=(i.shapes||[]).map(function(Ee){return Ee._input}),z=!1;function F(Ee,Le){P[Ee].visible=Le,z=!0}function O(Ee,Le){if(!(l.groupTitle&&!s)){var Ve=Ee._fullInput||Ee,Ie=Ve._isShape,Xe=Ve.index;Xe===void 0&&(Xe=Ve._index);var De=Ve.visible===!1?!1:Le;Ie?F(Xe,De):D(Xe,De)}}var I=d.legend,V=d._fullInput,J=V&&V._isShape;if(!J&&ql.traceIs(d,\"pie-like\")){var G=l.label,U=u.indexOf(G);if(n===\"toggle\")U===-1?u.push(G):u.splice(U,1);else if(n===\"toggleothers\"){var H=U!==-1,Q=[];for(y=0;y<t.calcdata.length;y++){var Z=t.calcdata[y];for(g=0;g<Z.length;g++){var ne=Z[g],ce=ne.label;I===Z[0].trace.legend&#038;&#038;G!==ce&#038;&#038;(u.indexOf(ce)===-1&#038;&#038;(H=!0),WG(u,ce),Q.push(ce))}}if(!H)for(var ye=0;ye<Q.length;ye++){var Ce=u.indexOf(Q[ye]);Ce!==-1&#038;&#038;u.splice(Ce,1)}}ql.call(\"_guiRelayout\",t,\"hiddenlabels\",u)}else{var re=m&#038;&#038;m.length,Se=[],pe;if(re)for(y=0;y<h.length;y++)pe=h[y],pe.visible&#038;&#038;pe.legendgroup===m&#038;&#038;Se.push(y);if(n===\"toggle\"){var be;switch(d.visible){case!0:be=\"legendonly\";break;case!1:be=!1;break;case\"legendonly\":be=!0;break}if(re)if(s)for(y=0;y<h.length;y++){var Ae=h[y];Ae.visible!==!1&#038;&#038;Ae.legendgroup===m&#038;&#038;O(Ae,be)}else O(d,be);else O(d,be)}else if(n===\"toggleothers\"){var ge,B,$,Y,le,he=!0;for(y=0;y<h.length;y++)if(le=h[y],ge=le===d,$=le.showlegend!==!0,!(ge||$)&#038;&#038;(B=re&#038;&#038;le.legendgroup===m,!B&#038;&#038;le.legend===I&#038;&#038;le.visible===!0&#038;&#038;!ql.traceIs(le,\"notLegendIsolatable\"))){he=!1;break}for(y=0;y<h.length;y++)if(le=h[y],!(le.visible===!1||le.legend!==I)&#038;&#038;!ql.traceIs(le,\"notLegendIsolatable\"))switch(d.visible){case\"legendonly\":O(le,!0);break;case!0:Y=he?!0:\"legendonly\",ge=le===d,$=le.showlegend!==!0&#038;&#038;!le.legendgroup,B=ge||re&#038;&#038;le.legendgroup===m,O(le,B||$?!0:Y);break}}for(y=0;y<k.length;y++)if(_=k[y],!!_){var me=_.constructUpdate(),Re=Object.keys(me);for(g=0;g<Re.length;g++)T=Re[g],b=M[T]=M[T]||[],b[q[y]]=me[T]}for(w=Object.keys(M),y=0;y<w.length;y++)for(T=w[y],g=0;g<S.length;g++)M[T].hasOwnProperty(g)||(M[T][g]=void 0);z?ql.call(\"_guiUpdate\",t,M,{shapes:P},S):ql.call(\"_guiRestyle\",t,M,S)}};py.handleTitleClick=function(r,t,a){let n=r._fullLayout,i=r._fullData,l=XG.getId(t),o=(n.shapes||[]).filter(_=>_.showlegend||_.legendgroup),s=i.concat(o);function u(_){return(_.legend||\"legend\")===l}var f,v;if(a===\"toggle\")f=!s.some(function(T){return u(T)&&T.visible===!0}),v=!1;else{let _=s.some(function(T){return!u(T)&&T.visible===!0&&T.showlegend!==!1});f=!0,v=!_}let h={visible:[]},d=[],m=(n.shapes||[]).map(function(_){return _._input});for(var y=!1,g=0;g<s.length;g++){let _=s[g],T=u(_);if(!T){let M=_.showlegend!==!0&#038;&#038;!_.legendgroup;if(a===\"toggle\"||M)continue}let b=(T?f:v)?!0:\"legendonly\";_.visible!==!1&#038;&#038;_.visible!==b&#038;&#038;(_._isShape?(m[_._index].visible=b,y=!0):(d.push(_.index),h.visible.push(b)))}y?ql.call(\"_guiUpdate\",r,h,{shapes:m},d):d.length&#038;&#038;ql.call(\"_guiRestyle\",r,h,d)}});var yy=K((Vse,cw)=>{\"use strict\";cw.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:\"#808BA4\",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,itemGap:5}});var dw=K((Gse,hw)=>{\"use strict\";var{isArrayOrTypedArray:gy}=Ka(),vw=br(),by=Pf();hw.exports=function(r,t,a){var n=t._inHover,i=by.isGrouped(t),l=by.isReversed(t),o={},s=[],u=!1,f={},v=0,h=0,d,m;function y(Q,Z,ne){if(t.visible!==!1&&!(a&&Q!==t._id))if(Z===\"\"||!by.isGrouped(t)){var ce=\"~~i\"+v;s.push(ce),o[ce]=[ne],v++}else s.indexOf(Z)===-1?(s.push(Z),u=!0,o[Z]=[ne]):o[Z].push(ne)}for(d=0;d<r.length;d++){var g=r[d],_=g[0],T=_.trace,w=T.legend,b=T.legendgroup;if(!(!n&#038;&#038;(!T.visible||!T.showlegend)))if(vw.traceIs(T,\"pie-like\")){var M=Array.isArray(T.legend),S=Array.isArray(T.showlegend);for(f[b]||(f[b]={}),m=0;m<g.length;m++)if(!(S&#038;&#038;T.showlegend[g[m].i]===!1)){M&#038;&#038;(w=T.legend[g[m].i]||\"legend\");var k=g[m].label;f[b][k]||(y(w,b,{label:k,color:g[m].color,i:g[m].i,trace:T,pts:g[m].pts}),f[b][k]=!0,h=Math.max(h,(k||\"\").length))}}else y(w,b,_),h=Math.max(h,(T.name||\"\").length)}if(!s.length)return[];var q=!u||!i,D=[];for(d=0;d<s.length;d++){var P=o[s[d]];q?D.push(P[0]):D.push(P)}for(q&#038;&#038;(D=[D]),d=0;d<D.length;d++){var z=1\/0;for(m=0;m<D[d].length;m++){var F=D[d][m].trace.legendrank,O=gy(F)?Math.min(F):F;z>O&&(z=O)}D[d][0]._groupMinRank=z,D[d][0]._preGroupSort=d}var I=function(Q,Z){return Q[0]._groupMinRank-Z[0]._groupMinRank||Q[0]._preGroupSort-Z[0]._preGroupSort},V=function(Q,Z){var ne=gy(Q.trace.legendrank)?Q.trace.legendrank[Q.i]:Q.trace.legendrank,ce=gy(Z.trace.legendrank)?Z.trace.legendrank[Z.i]:Z.trace.legendrank;return ne-ce||Q._preSort-Z._preSort};for(D.forEach(function(Q,Z){Q[0]._preGroupSort=Z}),D.sort(I),d=0;d<D.length;d++){D[d].forEach(function(Q,Z){Q._preSort=Z}),D[d].sort(V);var J=D[d][0].trace,G=null;for(m=0;m<D[d].length;m++){var U=D[d][m].trace.legendgrouptitle;if(U&#038;&#038;U.text){G=U,n&#038;&#038;(U.font=t._groupTitleFont);break}}if(l&#038;&#038;D[d].reverse(),G){var H=!1;for(m=0;m<D[d].length;m++)if(vw.traceIs(D[d][m].trace,\"pie-like\")){H=!0;break}D[d].unshift({i:-1,groupTitle:G,noClick:H,trace:{showlegend:J.showlegend,legendgroup:J.legendgroup,legend:J.legend,visible:t.groupclick===\"toggleitem\"?!0:J.visible}})}for(m=0;m<D[d].length;m++)D[d][m]=[D[d][m]]}return t._lgroupsLength=D.length,t._maxNameLength=h,D}});var Q0=K(Eo=>{\"use strict\";var K0=Fe();function pw(e){return e.indexOf(\"e\")!==-1?e.replace(\/[.]?0+e\/,\"e\"):e.indexOf(\".\")!==-1?e.replace(\/[.]?0+$\/,\"\"):e}Eo.formatPiePercent=function(r,t){var a=pw((r*100).toPrecision(3));return K0.numSeparate(a,t)+\"%\"};Eo.formatPieValue=function(r,t){var a=pw(r.toPrecision(10));return K0.numSeparate(a,t)};Eo.getFirstFilled=function(r,t){if(K0.isArrayOrTypedArray(r))for(var a=0;a<t.length;a++){var n=r[t[a]];if(n||n===0||n===\"\")return n}};Eo.castOption=function(r,t){if(K0.isArrayOrTypedArray(r))return Eo.getFirstFilled(r,t);if(r)return r};Eo.getRotationAngle=function(e){return(e===\"auto\"?0:e)*Math.PI\/180}});var yw=K((Xse,mw)=>{\"use strict\";var ZG=tt(),JG=Er();mw.exports=function(r,t,a,n){var i=a.marker.pattern;i&&i.shape?ZG.pointStyle(r,a,n,t):JG.fill(r,t.color)}});var $0=K((Zse,xw)=>{\"use strict\";var gw=Er(),bw=Q0().castOption,KG=yw();xw.exports=function(r,t,a,n){var i=a.marker.line,l=bw(i.color,t.pts)||gw.defaultLine,o=bw(i.width,t.pts)||0;r.call(KG,t,a,n).style(\"stroke-width\",o).call(gw.stroke,l)}});var Ty=K((Jse,kw)=>{\"use strict\";var za=zr(),xy=br(),Ca=Fe(),_w=Ca.strTranslate,hn=tt(),Sn=Er(),_y=kn().extractOpts,j0=un(),QG=$0(),$G=Q0().castOption,jG=yy(),ww=12,Tw=5,Po=2,eW=10,js=5;kw.exports=function(r,t,a){var n=t._fullLayout;a||(a=n.legend);var i=a.itemsizing===\"constant\",l=a.itemwidth,o=(l+jG.itemGap*2)\/2,s=_w(o,0),u=function(k,q,D,P){var z;if(k+1)z=k;else if(q&&q.width>0)z=q.width;else return 0;return i?P:Math.min(z,D)};r.each(function(k){var q=za.select(this),D=Ca.ensureSingle(q,\"g\",\"layers\");D.style(\"opacity\",k[0].trace.opacity);var P=a.indentation,z=a.valign,F=k[0].lineHeight,O=k[0].height;if(z===\"middle\"&&P===0||!F||!O)D.attr(\"transform\",null);else{var I={top:1,bottom:-1}[z],V=I*(.5*(F-O+3))||0,J=a.indentation;D.attr(\"transform\",_w(J,V))}var G=D.selectAll(\"g.legendfill\").data([k]);G.enter().append(\"g\").classed(\"legendfill\",!0);var U=D.selectAll(\"g.legendlines\").data([k]);U.enter().append(\"g\").classed(\"legendlines\",!0);var H=D.selectAll(\"g.legendsymbols\").data([k]);H.enter().append(\"g\").classed(\"legendsymbols\",!0),H.selectAll(\"g.legendpoints\").data([k]).enter().append(\"g\").classed(\"legendpoints\",!0)}).each(S).each(h).each(m).each(d).each(g).each(b).each(w).each(f).each(v).each(_).each(T);function f(k){var q=Mw(k),D=q.showFill,P=q.showLine,z=q.showGradientLine,F=q.showGradientFill,O=q.anyFill,I=q.anyLine,V=k[0],J=V.trace,G,U,H=_y(J),Q=H.colorscale,Z=H.reversescale,ne=function(be){if(be.size())if(D)hn.fillGroupStyle(be,t,!0);else{var Ae=\"legendfill-\"+J.uid;hn.gradient(be,t,Ae,wy(Z),Q,\"fill\")}},ce=function(be){if(be.size()){var Ae=\"legendline-\"+J.uid;hn.lineGroupStyle(be),hn.gradient(be,t,Ae,wy(Z),Q,\"stroke\")}},ye=j0.hasMarkers(J)||!O?\"M5,0\":I?\"M5,-2\":\"M5,-3\",Ce=za.select(this),re=Ce.select(\".legendfill\").selectAll(\"path\").data(D||F?[k]:[]);if(re.enter().append(\"path\").classed(\"js-fill\",!0),re.exit().remove(),re.attr(\"d\",ye+\"h\"+l+\"v6h-\"+l+\"z\").call(ne),P||z){var Se=u(void 0,J.line,eW,Tw);U=Ca.minExtend(J,{line:{width:Se}}),G=[Ca.minExtend(V,{trace:U})]}var pe=Ce.select(\".legendlines\").selectAll(\"path\").data(P||z?[G]:[]);pe.enter().append(\"path\").classed(\"js-line\",!0),pe.exit().remove(),pe.attr(\"d\",ye+(z?\"l\"+l+\",0.0001\":\"h\"+l)).call(P?hn.lineGroupStyle:ce)}function v(k){var q=Mw(k),D=q.anyFill,P=q.anyLine,z=q.showLine,F=q.showMarker,O=k[0],I=O.trace,V=!F&&!P&&!D&&j0.hasText(I),J,G;function U(re,Se,pe,be){var Ae=Ca.nestedProperty(I,re).get(),ge=Ca.isArrayOrTypedArray(Ae)&&Se?Se(Ae):Ae;if(i&&ge&&be!==void 0&&(ge=be),pe){if(ge<pe[0])return pe[0];if(ge>pe[1])return pe[1]}return ge}function H(re){return O._distinct&&O.index&&re[O.index]?re[O.index]:re[0]}if(F||V||z){var Q={},Z={};if(F){Q.mc=U(\"marker.color\",H),Q.mx=U(\"marker.symbol\",H),Q.mo=U(\"marker.opacity\",Ca.mean,[.2,1]),Q.mlc=U(\"marker.line.color\",H),Q.mlw=U(\"marker.line.width\",Ca.mean,[0,5],Po),Q.mld=I._isShape?\"solid\":U(\"marker.line.dash\",H),Z.marker={sizeref:1,sizemin:1,sizemode:\"diameter\"};var ne=U(\"marker.size\",Ca.mean,[2,16],ww);Q.ms=ne,Z.marker.size=ne}z&&(Z.line={width:U(\"line.width\",H,[0,10],Tw)}),V&&(Q.tx=\"Aa\",Q.tp=U(\"textposition\",H),Q.ts=10,Q.tc=U(\"textfont.color\",H),Q.tf=U(\"textfont.family\",H),Q.tw=U(\"textfont.weight\",H),Q.ty=U(\"textfont.style\",H),Q.tv=U(\"textfont.variant\",H),Q.tC=U(\"textfont.textcase\",H),Q.tE=U(\"textfont.lineposition\",H),Q.tS=U(\"textfont.shadow\",H)),J=[Ca.minExtend(O,Q)],G=Ca.minExtend(I,Z),G.selectedpoints=null,G.texttemplate=null}var ce=za.select(this).select(\"g.legendpoints\"),ye=ce.selectAll(\"path.scatterpts\").data(F?J:[]);ye.enter().insert(\"path\",\":first-child\").classed(\"scatterpts\",!0).attr(\"transform\",s),ye.exit().remove(),ye.call(hn.pointStyle,G,t),F&&(J[0].mrc=3);var Ce=ce.selectAll(\"g.pointtext\").data(V?J:[]);Ce.enter().append(\"g\").classed(\"pointtext\",!0).append(\"text\").attr(\"transform\",s),Ce.exit().remove(),Ce.selectAll(\"text\").call(hn.textPointStyle,G,t)}function h(k){var q=k[0].trace,D=q.type===\"waterfall\";if(k[0]._distinct&&D){var P=k[0].trace[k[0].dir].marker;return k[0].mc=P.color,k[0].mlw=P.line.width,k[0].mlc=P.line.color,y(k,this,\"waterfall\")}var z=[];q.visible&&D&&(z=k[0].hasTotals?[[\"increasing\",\"M-6,-6V6H0Z\"],[\"totals\",\"M6,6H0L-6,-6H-0Z\"],[\"decreasing\",\"M6,6V-6H0Z\"]]:[[\"increasing\",\"M-6,-6V6H6Z\"],[\"decreasing\",\"M6,6V-6H-6Z\"]]);var F=za.select(this).select(\"g.legendpoints\").selectAll(\"path.legendwaterfall\").data(z);F.enter().append(\"path\").classed(\"legendwaterfall\",!0).attr(\"transform\",s).style(\"stroke-miterlimit\",1),F.exit().remove(),F.each(function(O){var I=za.select(this),V=q[O[0]].marker,J=u(void 0,V.line,js,Po);I.attr(\"d\",O[1]).style(\"stroke-width\",J+\"px\").call(Sn.fill,V.color),J&&I.call(Sn.stroke,V.line.color)})}function d(k){y(k,this)}function m(k){y(k,this,\"funnel\")}function y(k,q,D){var P=k[0].trace,z=P.marker||{},F=z.line||{},O=z.cornerradius?\"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z\":\"M6,6H-6V-6H6Z\",I=D?P.visible&&P.type===D:xy.traceIs(P,\"bar\"),V=za.select(q).select(\"g.legendpoints\").selectAll(\"path.legend\"+D).data(I?[k]:[]);V.enter().append(\"path\").classed(\"legend\"+D,!0).attr(\"d\",O).attr(\"transform\",s),V.exit().remove(),V.each(function(J){var G=za.select(this),U=J[0],H=u(U.mlw,z.line,js,Po);G.style(\"stroke-width\",H+\"px\");var Q=U.mcc;if(!a._inHover&&\"mc\"in U){var Z=_y(z),ne=Z.mid;ne===void 0&&(ne=(Z.max+Z.min)\/2),Q=hn.tryColorscale(z,\"\")(ne)}var ce=Q||U.mc||z.color,ye=z.pattern,Ce=hn.getPatternAttr,re=ye&&(Ce(ye.shape,0,\"\")||Ce(ye.path,0,\"\"));if(re){var Se=Ce(ye.bgcolor,0,null),pe=Ce(ye.fgcolor,0,null),be=ye.fgopacity,Ae=Aw(ye.size,8,10),ge=Aw(ye.solidity,.5,1),B=\"legend-\"+P.uid;G.call(hn.pattern,\"legend\",t,B,re,Ae,ge,Q,ye.fillmode,Se,pe,be)}else G.call(Sn.fill,ce);H&&Sn.stroke(G,U.mlc||F.color)})}function g(k){var q=k[0].trace,D=za.select(this).select(\"g.legendpoints\").selectAll(\"path.legendbox\").data(q.visible&&xy.traceIs(q,\"box-violin\")?[k]:[]);D.enter().append(\"path\").classed(\"legendbox\",!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",s),D.exit().remove(),D.each(function(){var P=za.select(this);if((q.boxpoints===\"all\"||q.points===\"all\")&&Sn.opacity(q.fillcolor)===0&&Sn.opacity((q.line||{}).color)===0){var z=Ca.minExtend(q,{marker:{size:i?ww:Ca.constrain(q.marker.size,2,16),sizeref:1,sizemin:1,sizemode:\"diameter\"}});D.call(hn.pointStyle,z,t)}else{var F=u(void 0,q.line,js,Po);P.style(\"stroke-width\",F+\"px\").call(Sn.fill,q.fillcolor),F&&Sn.stroke(P,q.line.color)}})}function _(k){var q=k[0].trace,D=za.select(this).select(\"g.legendpoints\").selectAll(\"path.legendcandle\").data(q.visible&&q.type===\"candlestick\"?[k,k]:[]);D.enter().append(\"path\").classed(\"legendcandle\",!0).attr(\"d\",function(P,z){return z?\"M-15,0H-8M-8,6V-6H8Z\":\"M15,0H8M8,-6V6H-8Z\"}).attr(\"transform\",s).style(\"stroke-miterlimit\",1),D.exit().remove(),D.each(function(P,z){var F=za.select(this),O=q[z?\"increasing\":\"decreasing\"],I=u(void 0,O.line,js,Po);F.style(\"stroke-width\",I+\"px\").call(Sn.fill,O.fillcolor),I&&Sn.stroke(F,O.line.color)})}function T(k){var q=k[0].trace,D=za.select(this).select(\"g.legendpoints\").selectAll(\"path.legendohlc\").data(q.visible&&q.type===\"ohlc\"?[k,k]:[]);D.enter().append(\"path\").classed(\"legendohlc\",!0).attr(\"d\",function(P,z){return z?\"M-15,0H0M-8,-6V0\":\"M15,0H0M8,6V0\"}).attr(\"transform\",s).style(\"stroke-miterlimit\",1),D.exit().remove(),D.each(function(P,z){var F=za.select(this),O=q[z?\"increasing\":\"decreasing\"],I=u(void 0,O.line,js,Po);F.style(\"fill\",\"none\").call(hn.dashLine,O.line.dash,I),I&&Sn.stroke(F,O.line.color)})}function w(k){M(k,this,\"pie\")}function b(k){M(k,this,\"funnelarea\")}function M(k,q,D){var P=k[0],z=P.trace,F=D?z.visible&&z.type===D:xy.traceIs(z,D),O=za.select(q).select(\"g.legendpoints\").selectAll(\"path.legend\"+D).data(F?[k]:[]);if(O.enter().append(\"path\").classed(\"legend\"+D,!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",s),O.exit().remove(),O.size()){var I=z.marker||{},V=u($G(I.line.width,P.pts),I.line,js,Po),J=\"pieLike\",G=Ca.minExtend(z,{marker:{line:{width:V}}},J),U=Ca.minExtend(P,{trace:G},J);QG(O,U,G,t)}}function S(k){var q=k[0].trace,D,P=[];if(q.visible)switch(q.type){case\"histogram2d\":case\"heatmap\":P=[[\"M-15,-2V4H15V-2Z\"]],D=!0;break;case\"choropleth\":case\"choroplethmapbox\":case\"choroplethmap\":P=[[\"M-6,-6V6H6V-6Z\"]],D=!0;break;case\"densitymapbox\":case\"densitymap\":P=[[\"M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0\"]],D=\"radial\";break;case\"cone\":P=[[\"M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z\"],[\"M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z\"],[\"M-6,-2 A2,2 0 0,0 -6,2 L6,0Z\"]],D=!1;break;case\"streamtube\":P=[[\"M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z\"],[\"M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z\"],[\"M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z\"]],D=!1;break;case\"surface\":P=[[\"M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z\"],[\"M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z\"]],D=!0;break;case\"mesh3d\":P=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6H6L0,6Z\"]],D=!1;break;case\"volume\":P=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6H6L0,6Z\"]],D=!0;break;case\"isosurface\":P=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6 A12,24 0 0,0 6,-6 L0,6Z\"]],D=!1;break}var z=za.select(this).select(\"g.legendpoints\").selectAll(\"path.legend3dandfriends\").data(P);z.enter().append(\"path\").classed(\"legend3dandfriends\",!0).attr(\"transform\",s).style(\"stroke-miterlimit\",1),z.exit().remove(),z.each(function(F,O){var I=za.select(this),V=_y(q),J=V.colorscale,G=V.reversescale,U=function(ne){if(ne.size()){var ce=\"legendfill-\"+q.uid;hn.gradient(ne,t,ce,wy(G,D===\"radial\"),J,\"fill\")}},H;if(J){if(!D){var Z=J.length;H=O===0?J[G?Z-1:0][1]:O===1?J[G?0:Z-1][1]:J[Math.floor((Z-1)\/2)][1]}}else{var Q=q.vertexcolor||q.facecolor||q.color;H=Ca.isArrayOrTypedArray(Q)?Q[O]||Q[0]:Q}I.attr(\"d\",F[0]),H?I.call(Sn.fill,H):I.call(U)})}};function wy(e,r){var t=r?\"radial\":\"horizontal\";return t+(e?\"\":\"reversed\")}function Mw(e){var r=e[0].trace,t=r.contours,a=j0.hasLines(r),n=j0.hasMarkers(r),i=r.visible&&r.fill&&r.fill!==\"none\",l=!1,o=!1;if(t){var s=t.coloring;s===\"lines\"?l=!0:a=s===\"none\"||s===\"heatmap\"||t.showlines,t.type===\"constraint\"?i=t._operation!==\"=\":(s===\"fill\"||s===\"heatmap\")&&(o=!0)}return{showMarker:n,showLine:a,showFill:i,showGradientLine:l,showGradientFill:o,anyLine:a||l,anyFill:i||o}}function Aw(e,r,t){return e&&Ca.isArrayOrTypedArray(e)?r:e>t?t:e}});var Cy=K((Kse,zw)=>{\"use strict\";var Va=zr(),Et=Fe(),Ay=It(),Ro=br(),th=vf(),My=ti(),Pt=tt(),Rf=Er(),zo=ba(),Cw=my().handleItemClick,Sw=my().handleTitleClick,Bt=yy(),ky=Aa(),Pw=ky.LINE_SPACING,ru=ky.FROM_TL,Lw=ky.FROM_BR,qw=dw(),rW=Ty(),tu=Pf(),eu=1,tW=\/^legend[0-9]*$\/;zw.exports=function(r,t){if(t)Dw(r,t);else{var a=r._fullLayout,n=a._legends,i=a._infolayer.selectAll('[class^=\"legend\"]');i.each(function(){var u=Va.select(this),f=u.attr(\"class\"),v=f.split(\" \")[0];v.match(tW)&&n.indexOf(v)===-1&&u.remove()});for(var l=0;l<n.length;l++){var o=n[l],s=r._fullLayout[o];Dw(r,s)}}};function aW(e,r,t){if(!(r.title.side!==\"top center\"&#038;&#038;r.title.side!==\"top right\")){var a=r.title.font,n=a.size*Pw,i=0,l=e.node(),o=Pt.bBox(l).width;r.title.side===\"top center\"?i=.5*(r._width-2*t-2*Bt.titlePad-o):r.title.side===\"top right\"&#038;&#038;(i=r._width-2*t-2*Bt.titlePad-o),zo.positionText(e,t+Bt.titlePad+i,t+n)}}function Dw(e,r){var t=r||{},a=e._fullLayout,n=tu.getId(t),i,l,o=t._inHover;if(o?(l=t.layer,i=\"hover\"):(l=a._infolayer,i=n),!!l){i+=a._uid,e._legendMouseDownTime||(e._legendMouseDownTime=0);var s;if(o){if(!t.entries)return;s=qw(t.entries,t)}else{for(var u=(e.calcdata||[]).slice(),f=a.shapes,v=0;v<f.length;v++){var h=f[v];if(h.showlegend){var d={_isShape:!0,_fullInput:h,index:h._index,name:h.name||h.label.text||\"shape \"+h._index,legend:h.legend,legendgroup:h.legendgroup,legendgrouptitle:h.legendgrouptitle,legendrank:h.legendrank,legendwidth:h.legendwidth,showlegend:h.showlegend,visible:h.visible,opacity:h.opacity,mode:h.type===\"line\"?\"lines\":\"markers\",line:h.line,marker:{line:h.line,color:h.fillcolor,size:12,symbol:h.type===\"rect\"?\"square\":h.type===\"circle\"?\"circle\":\"hexagon2\"}};u.push([{trace:d}])}}s=a.showlegend&#038;&#038;qw(u,t,a._legends.length>1)}var m=a.hiddenlabels||[];if(!o&&(!a.showlegend||!s.length))return l.selectAll(\".\"+n).remove(),a._topdefs.select(\"#\"+i).remove(),Ay.autoMargin(e,n);var y=Et.ensureSingle(l,\"g\",n,function(q){o||q.attr(\"pointer-events\",\"all\")}),g=Et.ensureSingleById(a._topdefs,\"clipPath\",i,function(q){q.append(\"rect\")}),_=Et.ensureSingle(y,\"rect\",\"bg\",function(q){q.attr(\"shape-rendering\",\"crispEdges\")});_.call(Rf.stroke,t.bordercolor).call(Rf.fill,t.bgcolor).style(\"stroke-width\",t.borderwidth+\"px\");var T=Et.ensureSingle(y,\"g\",\"scrollbox\"),w=t.title;t._titleWidth=0,t._titleHeight=0;var b;w.text?(b=Et.ensureSingle(T,\"text\",n+\"titletext\"),b.attr(\"text-anchor\",\"start\").call(Pt.font,w.font).text(w.text),rh(b,T,e,t,eu),!o&&(t.titleclick||t.titledoubleclick)&&lW(T,e,t,n)):(T.selectAll(\".\"+n+\"titletext\").remove(),T.selectAll(\".\"+n+\"titletoggle\").remove());var M=Et.ensureSingle(y,\"rect\",\"scrollbar\",function(q){q.attr(Bt.scrollBarEnterAttrs).call(Rf.fill,Bt.scrollBarColor)}),S=T.selectAll(\"g.groups\").data(s);S.enter().append(\"g\").attr(\"class\",\"groups\"),S.exit().remove();var k=S.selectAll(\"g.traces\").data(Et.identity);k.enter().append(\"g\").attr(\"class\",\"traces\"),k.exit().remove(),k.style(\"opacity\",function(q){let D=q[0],P=D.trace;if(D.groupTitle){let z=P.legendgroup,F=(a.shapes||[]).filter(function(I){return I.showlegend});return e._fullData.concat(F).some(function(I){return I.legendgroup===z&&(I.legend||\"legend\")===n&&I.visible===!0})?1:.5}return Ro.traceIs(P,\"pie-like\")?m.indexOf(q[0].label)!==-1?.5:1:P.visible===\"legendonly\"?.5:1}).each(function(){Va.select(this).call(nW,e,t)}).call(rW,e,t).each(function(q){o||q[0].groupTitle&&t.groupclick===\"toggleitem\"||Va.select(this).call(iW,e,n)}),Et.syncOrAsync([Ay.previousPromises,function(){return uW(e,S,k,t,T)},function(){var q=a._size,D=t.borderwidth,P=t.xref===\"paper\",z=t.yref===\"paper\";if(w.text){let le=(a.shapes||[]).filter(function(me){return me.showlegend}),he=e._fullData.concat(le).some(function(me){let Re=me.legend||\"legend\";var Ee=Array.isArray(Re)?Re.includes(n):Re===n;return Ee&&me.visible===!0});b.style(\"opacity\",he?1:.5)}if(!o){var F,O;P?F=q.l+q.w*t.x-ru[ah(t)]*t._width:F=a.width*t.x-ru[ah(t)]*t._width,z?O=q.t+q.h*(1-t.y)-ru[nh(t)]*t._effHeight:O=a.height*(1-t.y)-ru[nh(t)]*t._effHeight;var I=fW(e,n,F,O);if(I)return;if(a.margin.autoexpand){var V=F,J=O;F=P?Et.constrain(F,0,a.width-t._width):V,O=z?Et.constrain(O,0,a.height-t._effHeight):J,F!==V&&Et.log(\"Constrain \"+n+\".x to make legend fit inside graph\"),O!==J&&Et.log(\"Constrain \"+n+\".y to make legend fit inside graph\")}Pt.setTranslate(y,F,O)}if(M.on(\".drag\",null),y.on(\"wheel\",null),o||t._height<=t._maxHeight||e._context.staticPlot){var G=t._effHeight;o&#038;&#038;(G=t._height),_.attr({width:t._width-D,height:G-D,x:D\/2,y:D\/2}),Pt.setTranslate(T,0,0),g.select(\"rect\").attr({width:t._width-2*D,height:G-2*D,x:D,y:D}),Pt.setClipUrl(T,i,e),Pt.setRect(M,0,0,0,0),delete t._scrollY}else{var U=Math.max(Bt.scrollBarMinHeight,t._effHeight*t._effHeight\/t._height),H=t._effHeight-U-2*Bt.scrollBarMargin,Q=t._height-t._effHeight,Z=H\/Q,ne=Math.min(t._scrollY||0,Q);_.attr({width:t._width-2*D+Bt.scrollBarWidth+Bt.scrollBarMargin,height:t._effHeight-D,x:D\/2,y:D\/2}),g.select(\"rect\").attr({width:t._width-2*D+Bt.scrollBarWidth+Bt.scrollBarMargin,height:t._effHeight-2*D,x:D,y:D+ne}),Pt.setClipUrl(T,i,e),Ae(ne,U,Z),y.on(\"wheel\",function(){ne=Et.constrain(t._scrollY+Va.event.deltaY\/Q*H,0,Q),Ae(ne,U,Z),ne!==0&#038;&#038;ne!==Q&#038;&#038;Va.event.preventDefault()});var ce,ye,Ce,re=function(le,he,me){var Re=(me-he)\/Z+le;return Et.constrain(Re,0,Q)},Se=function(le,he,me){var Re=(he-me)\/Z+le;return Et.constrain(Re,0,Q)},pe=Va.behavior.drag().on(\"dragstart\",function(){var le=Va.event.sourceEvent;le.type===\"touchstart\"?ce=le.changedTouches[0].clientY:ce=le.clientY,Ce=ne}).on(\"drag\",function(){var le=Va.event.sourceEvent;le.buttons===2||le.ctrlKey||(le.type===\"touchmove\"?ye=le.changedTouches[0].clientY:ye=le.clientY,ne=re(Ce,ce,ye),Ae(ne,U,Z))});M.call(pe);var be=Va.behavior.drag().on(\"dragstart\",function(){var le=Va.event.sourceEvent;le.type===\"touchstart\"&#038;&#038;(ce=le.changedTouches[0].clientY,Ce=ne)}).on(\"drag\",function(){var le=Va.event.sourceEvent;le.type===\"touchmove\"&#038;&#038;(ye=le.changedTouches[0].clientY,ne=Se(Ce,ce,ye),Ae(ne,U,Z))});T.call(be)}function Ae(le,he,me){t._scrollY=e._fullLayout[n]._scrollY=le,Pt.setTranslate(T,0,-le),Pt.setRect(M,t._width,Bt.scrollBarMargin+le*me,Bt.scrollBarWidth,he),g.select(\"rect\").attr(\"y\",D+le)}if(e._context.edits.legendPosition){var ge,B,$,Y;y.classed(\"cursor-move\",!0),My.init({element:y.node(),gd:e,prepFn:function(le){if(le.target!==M.node()){var he=Pt.getTranslate(y);$=he.x,Y=he.y}},moveFn:function(le,he){if($!==void 0&#038;&#038;Y!==void 0){var me=$+le,Re=Y+he;Pt.setTranslate(y,me,Re),ge=My.align(me,t._width,q.l,q.l+q.w,t.xanchor),B=My.align(Re+t._height,-t._height,q.t+q.h,q.t,t.yanchor)}},doneFn:function(){if(ge!==void 0&#038;&#038;B!==void 0){var le={};le[n+\".x\"]=ge,le[n+\".y\"]=B,Ro.call(\"_guiRelayout\",e,le)}},clickFn:function(le,he){var me=l.selectAll(\"g.traces\").filter(function(){var Re=this.getBoundingClientRect();return he.clientX>=Re.left&&he.clientX<=Re.right&#038;&#038;he.clientY>=Re.top&&he.clientY<=Re.bottom});me.size()>0&&Rw(e,t,me,le,he)}})}}],e)}}function eh(e,r,t){var a=e[0],n=a.width,i=r.entrywidthmode,l=a.trace.legendwidth||r.entrywidth;return i===\"fraction\"?r._maxWidth*l:t+(l||n)}function Rw(e,r,t,a,n){var i=e._fullLayout,l=t.data()[0][0].trace,o=r.itemclick,s=r.itemdoubleclick,u={event:n,node:t.node(),curveNumber:l.index,expandedIndex:l.index,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:i};l._group&&(u.group=l._group),Ro.traceIs(l,\"pie-like\")&&(u.label=t.datum()[0].label);var f=th.triggerHandler(e,\"plotly_legendclick\",u);if(a===1){if(f===!1)return;r._clickTimeout=setTimeout(function(){e._fullLayout&&o&&Cw(t,e,r,o)},e._context.doubleClickDelay)}else if(a===2){r._clickTimeout&&clearTimeout(r._clickTimeout),e._legendMouseDownTime=0;var v=th.triggerHandler(e,\"plotly_legenddoubleclick\",u);v!==!1&&f!==!1&&s&&Cw(t,e,r,s)}}function nW(e,r,t){var a=tu.getId(t),n=e.data()[0][0],i=n.trace,l=Ro.traceIs(i,\"pie-like\"),o=!t._inHover&&r._context.edits.legendText&&!l,s=t._maxNameLength,u,f;n.groupTitle?(u=n.groupTitle.text,f=n.groupTitle.font):(f=t.font,t.entries?u=n.text:(u=l?n.label:i.name,i._meta&&(u=Et.templateString(u,i._meta))));var v=Et.ensureSingle(e,\"text\",a+\"text\");v.attr(\"text-anchor\",\"start\").call(Pt.font,f).text(o?Ew(u,s):u);var h=t.indentation+t.itemwidth+Bt.itemGap*2;zo.positionText(v,h,0),o?v.call(zo.makeEditable,{gd:r,text:u}).call(rh,e,r,t).on(\"edit\",function(d){this.text(Ew(d,s)).call(rh,e,r,t);var m=n.trace._fullInput||{},y={};return y.name=d,m._isShape?Ro.call(\"_guiRelayout\",r,\"shapes[\"+i.index+\"].name\",y.name):Ro.call(\"_guiRestyle\",r,y,i.index)}):rh(v,e,r,t)}function Ew(e,r){var t=Math.max(4,r);if(e&&e.trim().length>=t\/2)return e;e=e||\"\";for(var a=t-e.length;a>0;a--)e+=\" \";return e}function iW(e,r,t){var a=r._context.doubleClickDelay,n,i=1,l=Et.ensureSingle(e,\"rect\",t+\"toggle\",function(o){r._context.staticPlot||o.style(\"cursor\",\"pointer\").attr(\"pointer-events\",\"all\"),o.call(Rf.fill,\"rgba(0,0,0,0)\")});r._context.staticPlot||(l.on(\"mousedown\",function(){n=new Date().getTime(),n-r._legendMouseDownTime<a?i+=1:(i=1,r._legendMouseDownTime=n)}),l.on(\"mouseup\",function(){if(!(r._dragged||r._editing)){var o=r._fullLayout[t];new Date().getTime()-r._legendMouseDownTime>a&&(i=Math.max(i-1,1)),Rw(r,o,e,i,Va.event)}}))}function lW(e,r,t,a){if(r._fullData.some(function(u){let f=u.legend||\"legend\";return(Array.isArray(f)?f.includes(a):f===a)&&Ro.traceIs(u,\"pie-like\")}))return;let i=r._context.doubleClickDelay;var l,o=1;let s=Et.ensureSingle(e,\"rect\",a+\"titletoggle\",function(u){r._context.staticPlot||u.style(\"cursor\",\"pointer\").attr(\"pointer-events\",\"all\"),u.call(Rf.fill,\"rgba(0,0,0,0)\")});r._context.staticPlot||(s.on(\"mousedown\",function(){l=new Date().getTime(),l-r._legendMouseDownTime<i?o+=1:(o=1,r._legendMouseDownTime=l)}),s.on(\"mouseup\",function(){if(r._dragged||r._editing)return;new Date().getTime()-r._legendMouseDownTime>i&&(o=Math.max(o-1,1));let u={event:Va.event,legendId:a,data:r.data,layout:r.layout,fullData:r._fullData,fullLayout:r._fullLayout};if(o===1&&t.titleclick){if(th.triggerHandler(r,\"plotly_legendtitleclick\",u)===!1)return;t._titleClickTimeout=setTimeout(function(){r._fullLayout&&Sw(r,t,t.titleclick)},i)}else o===2&&(t._titleClickTimeout&&clearTimeout(t._titleClickTimeout),r._legendMouseDownTime=0,th.triggerHandler(r,\"plotly_legendtitledoubleclick\",u)!==!1&&t.titledoubleclick&&Sw(r,t,t.titledoubleclick))}))}function rh(e,r,t,a,n){a._inHover&&e.attr(\"data-notex\",!0),zo.convertToTspans(e,t,function(){oW(r,t,a,n)})}function oW(e,r,t,a){var n=e.data()[0][0],i=n&&n.trace.showlegend;if(Array.isArray(i)&&(i=i[n.i]!==!1),!t._inHover&&n&&!i){e.remove();return}var l=e.select(\"g[class*=math-group]\"),o=l.node(),s=tu.getId(t);t||(t=r._fullLayout[s]);var u=t.borderwidth,f;a===eu?f=t.title.font:n.groupTitle?f=n.groupTitle.font:f=t.font;var v=f.size*Pw,h,d;if(o){var m=Pt.bBox(o);h=m.height,d=m.width,a===eu?Pt.setTranslate(l,u,u+h*.75):Pt.setTranslate(l,0,h*.25)}else{var y=\".\"+s+(a===eu?\"title\":\"\")+\"text\",g=e.select(y),_=zo.lineCount(g),T=g.node();if(h=v*_,d=T?Pt.bBox(T).width:0,a===eu)t.title.side===\"left\"&&(d+=Bt.itemGap*2),zo.positionText(g,u+Bt.titlePad,u+v);else{var w=Bt.itemGap*2+t.indentation+t.itemwidth;n.groupTitle&&(w=Bt.itemGap,d-=t.indentation+t.itemwidth),zo.positionText(g,w,-v*((_-1)\/2-.3))}}a===eu?(t._titleWidth=d,t._titleHeight=h):(n.lineHeight=v,n.height=Math.max(h,16)+3,n.width=d)}function sW(e){var r=0,t=0,a=e.title.side;return a&&(a.indexOf(\"left\")!==-1&&(r=e._titleWidth),a.indexOf(\"top\")!==-1&&(t=e._titleHeight)),[r,t]}function uW(e,r,t,a,n){var i=e._fullLayout,l=tu.getId(a);a||(a=i[l]);var o=i._size,s=tu.isVertical(a),u=tu.isGrouped(a),f=a.entrywidthmode===\"fraction\",v=a.borderwidth,h=2*v,d=Bt.itemGap,m=a.indentation+a.itemwidth+d*2,y=2*(v+d),g=nh(a),_=a.y<0||a.y===0&#038;&#038;g===\"top\",T=a.y>1||a.y===1&&g===\"bottom\",w=a.tracegroupgap,b={};let{orientation:M,yref:S}=a,{maxheight:k}=a,q=_||T||M!==\"v\"||S!==\"paper\";k||(k=q?.5:1);let D=q?i.height:o.h;a._maxHeight=Math.max(k>1?k:k*D,30);var P=0;a._width=0,a._height=0;var z=sW(a);if(s)t.each(function(le){var he=le[0].height;Pt.setTranslate(this,v+z[0],v+z[1]+a._height+he\/2+d),a._height+=he,a._width=Math.max(a._width,le[0].width)}),P=m+a._width,a._width+=d+m+h,a._height+=y,u&&(r.each(function(le,he){Pt.setTranslate(this,0,he*a.tracegroupgap)}),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var F=ah(a),O=a.x<0||a.x===0&#038;&#038;F===\"right\",I=a.x>1||a.x===1&&F===\"left\",V=T||_,J=i.width\/2;a._maxWidth=Math.max(O?V&&F===\"left\"?o.l+o.w:J:I?V&&F===\"right\"?o.r+o.w:J:o.w,2*m);var G=0,U=0;t.each(function(le){var he=eh(le,a,m);G=Math.max(G,he),U+=he}),P=null;var H=0;if(u){var Q=0,Z=0,ne=0;r.each(function(){var le=0,he=0;Va.select(this).selectAll(\"g.traces\").each(function(Re){var Ee=eh(Re,a,m),Le=Re[0].height;Pt.setTranslate(this,z[0],z[1]+v+d+Le\/2+he),he+=Le,le=Math.max(le,Ee),b[Re[0].trace.legendgroup]=le});var me=le+d;Z>0&&me+v+Z>a._maxWidth?(H=Math.max(H,Z),Z=0,ne+=Q+w,Q=he):Q=Math.max(Q,he),Pt.setTranslate(this,Z,ne),Z+=me}),a._width=Math.max(H,Z)+v,a._height=ne+Q+y}else{var ce=t.size(),ye=U+h+(ce-1)*d<a._maxWidth,Ce=0,re=0,Se=0,pe=0;t.each(function(le){var he=le[0].height,me=eh(le,a,m,u),Re=ye?me:G;f||(Re+=d),Re+v+re-d>=a._maxWidth&&(H=Math.max(H,pe),re=0,Se+=Ce,a._height+=Ce,Ce=0),Pt.setTranslate(this,z[0]+v+re,z[1]+v+Se+he\/2+d),pe=re+me+d,re+=Re,Ce=Math.max(Ce,he)}),ye?(a._width=re+h,a._height=Ce+y):(a._width=Math.max(H,pe)+h,a._height+=Ce+y)}}a._width=Math.ceil(Math.max(a._width+z[0],a._titleWidth+2*(v+Bt.titlePad))),a._height=Math.ceil(Math.max(a._height+z[1],a._titleHeight+2*(v+Bt.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var be=e._context.edits,Ae=be.legendText||be.legendPosition;t.each(function(le){var he=Va.select(this).select(\".\"+l+\"toggle\"),me=le[0].height,Re=le[0].trace.legendgroup,Ee=eh(le,a,m);u&&Re!==\"\"&&(Ee=b[Re]);var Le=Ae?m:P||Ee;!s&&!f&&(Le+=d\/2),Pt.setRect(he,0,-me\/2,Le,me)});var ge=n.select(\".\"+l+\"titletext\");ge.node()&&aW(ge,a,v);var B=n.select(\".\"+l+\"titletoggle\");if(B.size()&&ge.node()){var $=ge.attr(\"x\")||0,Y=Bt.titlePad;Pt.setRect(B,$-Y,v,a._titleWidth+2*Y,a._titleHeight+2*Y)}}function fW(e,r,t,a){var n=e._fullLayout,i=n[r],l=ah(i),o=nh(i),s=i.xref===\"paper\",u=i.yref===\"paper\";e._fullLayout._reservedMargin[r]={};var f=i.y<.5?\"b\":\"t\",v=i.x<.5?\"l\":\"r\",h={r:n.width-t,l:t+i._width,b:n.height-a,t:a+i._effHeight};if(s&#038;&#038;u)return Ay.autoMargin(e,r,{x:i.x,y:i.y,l:i._width*ru[l],r:i._width*Lw[l],b:i._effHeight*Lw[o],t:i._effHeight*ru[o]});s?e._fullLayout._reservedMargin[r][f]=h[f]:u||i.orientation===\"v\"?e._fullLayout._reservedMargin[r][v]=h[v]:e._fullLayout._reservedMargin[r][f]=h[f]}function ah(e){return Et.isRightAnchor(e)?\"right\":Et.isCenterAnchor(e)?\"center\":\"left\"}function nh(e){return Et.isBottomAnchor(e)?\"bottom\":Et.isMiddleAnchor(e)?\"middle\":\"top\"}});var Dy=K(qy=>{\"use strict\";var No=zr(),Ki=Hr(),Nw=wn(),Tt=Fe(),cW=Tt.pushUnique,Sy=Tt.strTranslate,vW=Tt.strRotate,hW=vf(),Ln=ba(),dW=ow(),Li=tt(),ea=Er(),ih=ti(),qi=pt(),pW=$t().zindexSeparator,nu=br(),ai=Ti(),Fo=ju(),mW=hy(),yW=Cy(),Vw=Fo.YANGLE,Ly=Math.PI*Vw\/180,gW=1\/Math.sin(Ly),bW=Math.cos(Ly),xW=Math.sin(Ly),mt=Fo.HOVERARROWSIZE,Or=Fo.HOVERTEXTPAD,Fw={box:!0,ohlc:!0,violin:!0,candlestick:!0},_W={scatter:!0,scattergl:!0,splom:!0};function Iw(e,r){return e.distance-r.distance}qy.hover=function(r,t,a,n){r=Tt.getGraphDiv(r);var i=t.target;Tt.throttle(r._fullLayout._uid+Fo.HOVERID,Fo.HOVERMINTIME,function(){wW(r,t,a,n,i)})};qy.loneHover=function(r,t){var a=!0;Array.isArray(r)||(a=!1,r=[r]);var n=t.gd,i=Jw(n),l=Kw(n),o=r.map(function(g){var _=g._x0||g.x0||g.x||0,T=g._x1||g.x1||g.x||0,w=g._y0||g.y0||g.y||0,b=g._y1||g.y1||g.y||0,M=g.eventData;if(M){var S=Math.min(_,T),k=Math.max(_,T),q=Math.min(w,b),D=Math.max(w,b),P=g.trace;if(nu.traceIs(P,\"gl3d\")){var z=n._fullLayout[P.scene]._scene.container,F=z.offsetLeft,O=z.offsetTop;S+=F,k+=F,q+=O,D+=O}M.bbox={x0:S+l,x1:k+l,y0:q+i,y1:D+i},M.xPixel=(_+T)\/2,M.yPixel=(w+b)\/2,t.inOut_bbox&&t.inOut_bbox.push(M.bbox)}else M=!1;return{color:g.color||ea.defaultLine,x0:g.x0||g.x||0,x1:g.x1||g.x||0,y0:g.y0||g.y||0,y1:g.y1||g.y||0,xLabel:g.xLabel,yLabel:g.yLabel,zLabel:g.zLabel,text:g.text,name:g.name,idealAlign:g.idealAlign,borderColor:g.borderColor,fontFamily:g.fontFamily,fontSize:g.fontSize,fontColor:g.fontColor,fontWeight:g.fontWeight,fontStyle:g.fontStyle,fontVariant:g.fontVariant,nameLength:g.nameLength,textAlign:g.textAlign,trace:g.trace||{index:0,hoverinfo:\"\"},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:g.hovertemplate||!1,hovertemplateLabels:g.hovertemplateLabels||!1,eventData:M}}),s=!1,u=Ww(o,{gd:n,hovermode:\"closest\",rotateLabels:s,bgColor:t.bgColor||ea.background,container:No.select(t.container),outerContainer:t.outerContainer||t.container}),f=u.hoverLabels,v=5,h=0,d=0;f.sort(function(g,_){return g.y0-_.y0}).each(function(g,_){var T=g.y0-g.by\/2;T-v<h?g.offset=h-T+v:g.offset=0,h=T+g.by+g.offset,_===t.anchorIndex&#038;&#038;(d=g.offset)}).each(function(g){g.offset-=d});var m=n._fullLayout._invScaleX,y=n._fullLayout._invScaleY;return Zw(f,s,m,y),a?f:f.node()};function wW(e,r,t,a,n){t||(t=\"xy\"),typeof t==\"string\"&#038;&#038;(t=t.split(pW)[0]);var i=Array.isArray(t)?t:[t],l,o=e._fullLayout,s=o.hoversubplots,u=o._plots||[],f=u[t],v=o._has(\"cartesian\"),h=r.hovermode||o.hovermode,d=(h||\"\").charAt(0)===\"x\",m=(h||\"\").charAt(0)===\"y\",y,g;if(v&#038;&#038;(d||m)&#038;&#038;s===\"axis\"){for(var _=i.length,T=0;T<_;T++)if(l=i[T],u[l]){y=qi.getFromId(e,l,\"x\"),g=qi.getFromId(e,l,\"y\");var w=(d?y:g)._subplotsWith;if(w&#038;&#038;w.length)for(var b=0;b<w.length;b++)cW(i,w[b])}}if(f&#038;&#038;s!==\"single\"){var M=f.overlays.map(function(vr){return vr.id});i=i.concat(M)}for(var S=i.length,k=new Array(S),q=new Array(S),D=!1,P=0;P<S;P++)if(l=i[P],u[l])D=!0,k[P]=u[l].xaxis,q[P]=u[l].yaxis;else if(o[l]&#038;&#038;o[l]._subplot){var z=o[l]._subplot;k[P]=z.xaxis,q[P]=z.yaxis}else{Tt.warn(\"Unrecognized subplot: \"+l);return}if(h&#038;&#038;!D&#038;&#038;(h=\"closest\"),[\"x\",\"y\",\"closest\",\"x unified\",\"y unified\"].indexOf(h)===-1||!e.calcdata||e.querySelector(\".zoombox\")||e._dragging)return ih.unhoverRaw(e,r);var F=o.hoverdistance;F===-1&#038;&#038;(F=1\/0);var O=o.spikedistance;O===-1&#038;&#038;(O=1\/0);var I=[],V=[],J,G,U,H,Q,Z,ne,ce,ye,Ce,re,Se,pe,be={hLinePoint:null,vLinePoint:null},Ae=!1;if(Array.isArray(r))for(h=\"array\",U=0;U<r.length;U++)Q=e.calcdata[r[U].curveNumber||0],Q&#038;&#038;(Z=Q[0].trace,Q[0].trace.hoverinfo!==\"skip\"&#038;&#038;(V.push(Q),Z.orientation===\"h\"&#038;&#038;(Ae=!0)));else{var ge=e.calcdata.slice();for(ge.sort(function(vr,ot){var Xr=vr[0].trace.zorder||0,nt=ot[0].trace.zorder||0;return Xr-nt}),H=0;H<ge.length;H++)Q=ge[H],Z=Q[0].trace,Z.hoverinfo!==\"skip\"&#038;&#038;ai.isTraceInSubplots(Z,i)&#038;&#038;(V.push(Q),Z.orientation===\"h\"&#038;&#038;(Ae=!0));var B=!n,$,Y;if(B)\"xpx\"in r?$=r.xpx:$=k[0]._length\/2,\"ypx\"in r?Y=r.ypx:Y=q[0]._length\/2;else{if(hW.triggerHandler(e,\"plotly_beforehover\",r)===!1)return;var le=n.getBoundingClientRect();$=r.clientX-le.left,Y=r.clientY-le.top,o._calcInverseTransform(e);var he=Tt.apply3DTransform(o._invTransform)($,Y);if($=he[0],Y=he[1],$<0||$>k[0]._length||Y<0||Y>q[0]._length)return ih.unhoverRaw(e,r)}if(r.pointerX=$+k[0]._offset,r.pointerY=Y+q[0]._offset,\"xval\"in r?J=ai.flat(i,r.xval):J=ai.p2c(k,$),\"yval\"in r?G=ai.flat(i,r.yval):G=ai.p2c(q,Y),!Ki(J[0])||!Ki(G[0]))return Tt.warn(\"Fx.hover failed\",r,e),ih.unhoverRaw(e,r)}o.clickanywhere&&(e._hoverXVals=J,e._hoverYVals=G,e._hoverXAxes=k,e._hoverYAxes=q);var me=1\/0;function Re(vr,ot){for(H=0;H<V.length;H++)if(Q=V[H],!(!Q||!Q[0]||!Q[0].trace)&#038;&#038;(Z=Q[0].trace,!(Z.visible!==!0||Z._length===0)&#038;&#038;[\"carpet\",\"contourcarpet\"].indexOf(Z._module.name)===-1)){if(ye=h,ai.isUnifiedHover(ye)&#038;&#038;(ye=ye.charAt(0)),Z.type===\"splom\"?(ce=0,ne=i[ce]):(ne=ai.getSubplot(Z),ce=i.indexOf(ne)),Se={cd:Q,trace:Z,xa:k[ce],ya:q[ce],maxHoverDistance:F,maxSpikeDistance:O,index:!1,distance:Math.min(me,F),spikeDistance:1\/0,xSpike:void 0,ySpike:void 0,color:ea.defaultLine,name:Z.name,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},o[ne]&#038;&#038;(Se.subplot=o[ne]._subplot),o._splomScenes&#038;&#038;o._splomScenes[Z.uid]&#038;&#038;(Se.scene=o._splomScenes[Z.uid]),ye===\"array\"){var Xr=r[H];if(\"pointNumber\"in Xr){let Ft=Q[Xr.pointNumber];Ft&#038;&#038;(Se.index=Xr.pointNumber,Ft.lonlat?(Ce=Ft.lonlat[0],re=Ft.lonlat[1]):(Ce=Ft.x,re=Ft.y)),ye=\"closest\"}else ye=\"\",\"xval\"in Xr&#038;&#038;(Ce=Xr.xval,ye=\"x\"),\"yval\"in Xr&#038;&#038;(re=Xr.yval,ye=ye?\"closest\":\"y\")}else vr!==void 0&#038;&#038;ot!==void 0?(Ce=vr,re=ot):(Ce=J[ce],re=G[ce]);if(pe=I.length,F!==0)if(Z._module&#038;&#038;Z._module.hoverPoints){var nt=Z._module.hoverPoints(Se,Ce,re,ye,{finiteRange:!0,hoverLayer:o._hoverlayer,hoversubplots:s,gd:e});if(nt)for(var oa,sa=0;sa<nt.length;sa++)oa=nt[sa],Ki(oa.x0)&#038;&#038;Ki(oa.y0)&#038;&#038;I.push(kW(oa,h))}else Tt.log(\"Unrecognized trace type in hover:\",Z);if(h===\"closest\"&#038;&#038;I.length>pe&&(I.splice(0,pe),me=I[0].distance),v&&O!==0&&I.length===0){Se.distance=O,Se.index=!1;var at=Z._module.hoverPoints(Se,Ce,re,\"closest\",{hoverLayer:o._hoverlayer});if(at&&(at=at.filter(function(Ft){return Ft.spikeDistance<=O})),at&#038;&#038;at.length){var Xa,Un=at.filter(function(Ft){return Ft.xa.showspikes&#038;&#038;Ft.xa.spikesnap!==\"hovered data\"});if(Un.length){var Kt=Un[0];Ki(Kt.x0)&#038;&#038;Ki(Kt.y0)&#038;&#038;(Xa=Le(Kt),(!be.vLinePoint||be.vLinePoint.spikeDistance>Xa.spikeDistance)&&(be.vLinePoint=Xa))}var vt=at.filter(function(Ft){return Ft.ya.showspikes&&Ft.ya.spikesnap!==\"hovered data\"});if(vt.length){var Nt=vt[0];Ki(Nt.x0)&&Ki(Nt.y0)&&(Xa=Le(Nt),(!be.hLinePoint||be.hLinePoint.spikeDistance>Xa.spikeDistance)&&(be.hLinePoint=Xa))}}}}}Re();function Ee(vr,ot,Xr){for(var nt=null,oa=1\/0,sa,at=0;at<vr.length;at++)y&#038;&#038;y._id!==vr[at].xa._id||g&#038;&#038;g._id!==vr[at].ya._id||(sa=vr[at].spikeDistance,Xr&#038;&#038;at===0&#038;&#038;(sa=-1\/0),sa<=oa&#038;&#038;sa<=ot&#038;&#038;(nt=vr[at],oa=sa));return nt}function Le(vr){return vr?{xa:vr.xa,ya:vr.ya,x:vr.xSpike!==void 0?vr.xSpike:(vr.x0+vr.x1)\/2,y:vr.ySpike!==void 0?vr.ySpike:(vr.y0+vr.y1)\/2,distance:vr.distance,spikeDistance:vr.spikeDistance,curveNumber:vr.trace.index,color:vr.color,pointNumber:vr.index}:null}var Ve={fullLayout:o,container:o._hoverlayer,event:r},Ie=e._spikepoints,Xe={vLinePoint:be.vLinePoint,hLinePoint:be.hLinePoint};e._spikepoints=Xe;var De=function(){var vr=I.filter(function(Xr){return y&#038;&#038;y._id===Xr.xa._id&#038;&#038;g&#038;&#038;g._id===Xr.ya._id}),ot=I.filter(function(Xr){return!(y&#038;&#038;y._id===Xr.xa._id&#038;&#038;g&#038;&#038;g._id===Xr.ya._id)});vr.sort(Iw),ot.sort(Iw),I=vr.concat(ot),I=SW(I,h)};De();var He=h.charAt(0),We=(He===\"x\"||He===\"y\")&#038;&#038;I[0]&#038;&#038;_W[I[0].trace.type];if(v&#038;&#038;O!==0&#038;&#038;I.length!==0){var ie=I.filter(function(vr){return vr.ya.showspikes}),xe=Ee(ie,O,We);be.hLinePoint=Le(xe);var Ke=I.filter(function(vr){return vr.xa.showspikes}),hr=Ee(Ke,O,We);be.vLinePoint=Le(hr)}if(I.length===0){var ze=ih.unhoverRaw(e,r);if(v&#038;&#038;(be.hLinePoint!==null||be.vLinePoint!==null)&#038;&#038;Bw(Ie)&#038;&#038;Ow(e,be,Ve),o.hoveranywhere&#038;&#038;!a&#038;&#038;n){var Me=e._hoverdata;Me&#038;&#038;Me.length&#038;&#038;(e.emit(\"plotly_unhover\",{event:r,points:Me}),e._hoverdata=[]),la([])}return ze}if(v&#038;&#038;Bw(Ie)&#038;&#038;Ow(e,be,Ve),ai.isXYhover(ye)&#038;&#038;I[0].length!==0&#038;&#038;I[0].trace.type!==\"splom\"){var ke=I[0];Fw[ke.trace.type]?I=I.filter(vr=>vr.trace.index===ke.trace.index):I=[ke];var Oe=I.length,Ze=Uw(\"x\",ke,o),Ue=Uw(\"y\",ke,o);Re(Ze,Ue);var Ge=[],ir={},ar=0,er=function(vr){var ot=Fw[vr.trace.type]?Gw(vr):vr.trace.index;if(!ir[ot])ar++,ir[ot]=ar,Ge.push(vr);else{var Xr=ir[ot]-1,nt=Ge[Xr];Xr>0&&Math.abs(vr.distance)<Math.abs(nt.distance)&#038;&#038;(Ge[Xr]=vr)}},Ne;for(Ne=0;Ne<Oe;Ne++)er(I[Ne]);for(Ne=I.length-1;Ne>Oe-1;Ne--)er(I[Ne]);I=Ge,De()}var ae=e._hoverdata,oe=[],qe=Jw(e),Pe=Kw(e);for(let vr of I){var $e=ai.makeEventData(vr,vr.trace,vr.cd);if(vr.hovertemplate!==!1){var cr=!1;vr.cd[vr.index]&&vr.cd[vr.index].ht&&(cr=vr.cd[vr.index].ht),vr.hovertemplate=cr||vr.trace.hovertemplate||!1}if(vr.xa&&vr.ya){var sr=vr.x0+vr.xa._offset,Mr=vr.x1+vr.xa._offset,Ir=vr.y0+vr.ya._offset,Jr=vr.y1+vr.ya._offset,lt=Math.min(sr,Mr),_t=Math.max(sr,Mr),gt=Math.min(Ir,Jr),Yt=Math.max(Ir,Jr);$e.bbox={x0:lt+Pe,x1:_t+Pe,y0:gt+qe,y1:Yt+qe},$e.xPixel=(sr+Mr)\/2,$e.yPixel=(Ir+Jr)\/2}vr.eventData=[$e],oe.push($e)}e._hoverdata=oe;var zt=h===\"y\"&&(V.length>1||I.length>1)||h===\"closest\"&&Ae&&I.length>1,Ba=ea.combine(o.plot_bgcolor||ea.background,o.paper_bgcolor),ha=Ww(I,{gd:e,hovermode:h,rotateLabels:zt,bgColor:Ba,container:o._hoverlayer,outerContainer:o._paper.node(),commonLabelOpts:o.hoverlabel,hoverdistance:o.hoverdistance}),na=ha.hoverLabels;if(ai.isUnifiedHover(h)||(MW(na,zt,o,ha.commonLabelBoundingBox),Zw(na,zt,o._invScaleX,o._invScaleY)),n&&n.tagName){var Ya=nu.getComponentMethod(\"annotations\",\"hasClickToShow\")(e,oe);dW(No.select(n),Ya?\"pointer\":\"\")}var ia=CW(e,r,ae);if(!n||a||!ia&&!o.hoveranywhere)return;ae&&ia&&e.emit(\"plotly_unhover\",{event:r,points:ae}),la(e._hoverdata);function la(vr){e.emit(\"plotly_hover\",{event:r,points:vr,xaxes:k,yaxes:q,xvals:J,yvals:G})}}function Gw(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa?e.xa._id:\"\",e.ya?e.ya._id:\"\"].join(\",\")}var TW=\/<extra>([\\s\\S]*)<\\\/extra>\/;function Ww(e,r){var t=r.gd,a=t._fullLayout,n=r.hovermode,i=r.rotateLabels,l=r.bgColor,o=r.container,s=r.outerContainer,u=r.commonLabelOpts||{};if(e.length===0)return[[]];var f=r.fontFamily||Fo.HOVERFONT,v=r.fontSize||Fo.HOVERFONTSIZE,h=r.fontWeight||a.font.weight,d=r.fontStyle||a.font.style,m=r.fontVariant||a.font.variant,y=r.fontTextcase||a.font.textcase,g=r.fontLineposition||a.font.lineposition,_=r.fontShadow||a.font.shadow,T=e[0],w=T.xa,b=T.ya,M=n.charAt(0),S=M+\"Label\",k=T[S];if(k===void 0&&w.type===\"multicategory\")for(var q=0;q<e.length&#038;&#038;(k=e[q][S],k===void 0);q++);var D=au(t,s),P=D.top,z=D.width,F=D.height,O=k!==void 0&#038;&#038;T.distance<=r.hoverdistance&#038;&#038;(n===\"x\"||n===\"y\");if(O){var I=!0,V,J;for(V=0;V<e.length;V++)if(I&#038;&#038;e[V].zLabel===void 0&#038;&#038;(I=!1),J=e[V].hoverinfo||e[V].trace.hoverinfo,J){var G=Array.isArray(J)?J:J.split(\"+\");if(G.indexOf(\"all\")===-1&#038;&#038;G.indexOf(n)===-1){O=!1;break}}I&#038;&#038;(O=!1)}var U=o.selectAll(\"g.axistext\").data(O?[0]:[]);U.enter().append(\"g\").classed(\"axistext\",!0),U.exit().remove();var H={minX:0,maxX:0,minY:0,maxY:0};if(U.each(function(){var ze=No.select(this),Me=Tt.ensureSingle(ze,\"path\",\"\",function(gt){gt.style({\"stroke-width\":\"1px\"})}),ke=Tt.ensureSingle(ze,\"text\",\"\",function(gt){gt.attr(\"data-notex\",1)}),Oe=u.bgcolor||ea.defaultLine,Ze=u.bordercolor||ea.contrast(Oe),Ue=ea.contrast(Oe),Ge=u.font,ir={weight:Ge.weight||h,style:Ge.style||d,variant:Ge.variant||m,textcase:Ge.textcase||y,lineposition:Ge.lineposition||g,shadow:Ge.shadow||_,family:Ge.family||f,size:Ge.size||v,color:Ge.color||Ue};Me.style({fill:Oe,stroke:Ze}),ke.text(k).call(Li.font,ir).call(Ln.positionText,0,0).call(Ln.convertToTspans,t),ze.attr(\"transform\",\"\");var ar=au(t,ke.node()),er,Ne;if(n===\"x\"){var ae=w.side===\"top\"?\"-\":\"\";ke.attr(\"text-anchor\",\"middle\").call(Ln.positionText,0,w.side===\"top\"?P-ar.bottom-mt-Or:P-ar.top+mt+Or),er=w._offset+(T.x0+T.x1)\/2,Ne=b._offset+(w.side===\"top\"?0:b._length);var oe=ar.width\/2+Or,qe=er;er<oe?qe=oe:er>a.width-oe&&(qe=a.width-oe),Me.attr(\"d\",\"M\"+(er-qe)+\",0L\"+(er-qe+mt)+\",\"+ae+mt+\"H\"+oe+\"v\"+ae+(Or*2+ar.height)+\"H\"+-oe+\"V\"+ae+mt+\"H\"+(er-qe-mt)+\"Z\"),er=qe,H.minX=er-oe,H.maxX=er+oe,w.side===\"top\"?(H.minY=Ne-(Or*2+ar.height),H.maxY=Ne-Or):(H.minY=Ne+Or,H.maxY=Ne+(Or*2+ar.height))}else{var Pe,$e,cr;b.side===\"right\"?(Pe=\"start\",$e=1,cr=\"\",er=w._offset+w._length):(Pe=\"end\",$e=-1,cr=\"-\",er=w._offset),Ne=b._offset+(T.y0+T.y1)\/2,ke.attr(\"text-anchor\",Pe),Me.attr(\"d\",\"M0,0L\"+cr+mt+\",\"+mt+\"V\"+(Or+ar.height\/2)+\"h\"+cr+(Or*2+ar.width)+\"V-\"+(Or+ar.height\/2)+\"H\"+cr+mt+\"V-\"+mt+\"Z\"),H.minY=Ne-(Or+ar.height\/2),H.maxY=Ne+(Or+ar.height\/2),b.side===\"right\"?(H.minX=er+mt,H.maxX=er+mt+(Or*2+ar.width)):(H.minX=er-mt-(Or*2+ar.width),H.maxX=er-mt);var sr=ar.height\/2,Mr=P-ar.top-sr,Ir=\"clip\"+a._uid+\"commonlabel\"+b._id,Jr;if(er<ar.width+2*Or+mt){Jr=\"M-\"+(mt+Or)+\"-\"+sr+\"h-\"+(ar.width-Or)+\"V\"+sr+\"h\"+(ar.width-Or)+\"Z\";var lt=ar.width-er+Or;Ln.positionText(ke,lt,Mr),Pe===\"end\"&#038;&#038;ke.selectAll(\"tspan\").each(function(){var gt=No.select(this),Yt=Li.tester.append(\"text\").text(gt.text()).call(Li.font,ir),zt=au(t,Yt.node());Math.round(zt.width)<Math.round(ar.width)&#038;&#038;gt.attr(\"x\",lt-zt.width),Yt.remove()})}else Ln.positionText(ke,$e*(Or+mt),Mr),Jr=null;var _t=a._topclips.selectAll(\"#\"+Ir).data(Jr?[0]:[]);_t.enter().append(\"clipPath\").attr(\"id\",Ir).append(\"path\"),_t.exit().remove(),_t.select(\"path\").attr(\"d\",Jr),Li.setClipUrl(ke,Jr?Ir:null,t)}ze.attr(\"transform\",Sy(er,Ne))}),ai.isUnifiedHover(n)){o.selectAll(\"g.hovertext\").remove();let ze=e.filter(Me=>Me.hoverinfo!==\"none\");if(ze.length===0)return[];var Q=a.hoverlabel,Z=Q.font,ne=ze[0],ce=((n===\"x unified\"?ne.xa:ne.ya).unifiedhovertitle||{}).text,ye=ce?Tt.hovertemplateString({data:n===\"x unified\"?[{xa:ne.xa,x:ne.xVal}]:[{ya:ne.ya,y:ne.yVal}],fallback:ne.trace.hovertemplatefallback,locale:a._d3locale,template:ce}):k,Ce={showlegend:!0,legend:{title:{text:ye,font:Z},font:Z,bgcolor:Q.bgcolor,bordercolor:Q.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:a.legend?a.legend.traceorder:void 0,orientation:\"v\"}},re={font:Z};mW(Ce,re,t._fullData);var Se=re.legend;Se.entries=[];for(var pe=0;pe<ze.length;pe++){var be=ze[pe];if(be.hoverinfo!==\"none\"){var Ae=Hw(be,!0,n,a,k),ge=Ae[0],B=Ae[1];be.name=B,B!==\"\"?be.text=B+\" : \"+ge:be.text=ge;var $=be.cd[be.index];$&#038;&#038;($.mc&#038;&#038;(be.mc=$.mc),$.mcc&#038;&#038;(be.mc=$.mcc),$.mlc&#038;&#038;(be.mlc=$.mlc),$.mlcc&#038;&#038;(be.mlc=$.mlcc),$.mlw&#038;&#038;(be.mlw=$.mlw),$.mrc&#038;&#038;(be.mrc=$.mrc),$.dir&#038;&#038;(be.dir=$.dir)),be._distinct=!0,Se.entries.push([be])}}Se.entries.sort(function(Me,ke){var Oe=a.hoversort;if(Oe===\"value descending\"||Oe===\"value ascending\"){var Ze=n.charAt(0)===\"x\"?\"y\":\"x\",Ue=Me[0][Ze+\"LabelVal\"],Ge=ke[0][Ze+\"LabelVal\"];if(Ue!==Ge)return Oe===\"value descending\"?Ge-Ue:Ue-Ge}return Me[0].trace.index-ke[0].trace.index}),Se.layer=o,Se._inHover=!0,Se._groupTitleFont=Q.grouptitlefont,yW(t,Se);var Y=o.select(\"g.legend\"),le=au(t,Y.node()),he=le.width+2*Or,me=le.height+2*Or,Re=ze[0],Ee=(Re.x0+Re.x1)\/2,Le=(Re.y0+Re.y1)\/2,Ve=!(nu.traceIs(Re.trace,\"bar-like\")||nu.traceIs(Re.trace,\"box-violin\")),Ie,Xe;M===\"y\"?Ve?(Xe=Le-Or,Ie=Le+Or):(Xe=Math.min.apply(null,ze.map(function(Me){return Math.min(Me.y0,Me.y1)})),Ie=Math.max.apply(null,ze.map(function(Me){return Math.max(Me.y0,Me.y1)}))):Xe=Ie=Tt.mean(ze.map(function(Me){return(Me.y0+Me.y1)\/2}))-me\/2;var De,He;M===\"x\"?Ve?(De=Ee+Or,He=Ee-Or):(De=Math.max.apply(null,ze.map(function(Me){return Math.max(Me.x0,Me.x1)})),He=Math.min.apply(null,ze.map(function(Me){return Math.min(Me.x0,Me.x1)}))):De=He=Tt.mean(ze.map(function(Me){return(Me.x0+Me.x1)\/2}))-he\/2;var We=w._offset,ie=b._offset;Ie+=ie,De+=We,He+=We-he,Xe+=ie-me;var xe,Ke;return De+he<z&#038;&#038;De>=0?xe=De:He+he<z&#038;&#038;He>=0?xe=He:We+he<z?xe=We:De-Ee<Ee-He+he?xe=z-he:xe=0,xe+=Or,Ie+me<F&#038;&#038;Ie>=0?Ke=Ie:Xe+me<F&#038;&#038;Xe>=0?Ke=Xe:ie+me<F?Ke=ie:Ie-Le<Le-Xe+me?Ke=F-me:Ke=0,Ke+=Or,Y.attr(\"transform\",Sy(xe-1,Ke-1)),Y}var hr=o.selectAll(\"g.hovertext\").data(e,function(ze){return Gw(ze)});return hr.enter().append(\"g\").classed(\"hovertext\",!0).each(function(){var ze=No.select(this);ze.append(\"rect\").call(ea.fill,ea.addOpacity(l,.8)),ze.append(\"text\").classed(\"name\",!0),ze.append(\"path\").style(\"stroke-width\",\"1px\"),ze.append(\"text\").classed(\"nums\",!0).call(Li.font,{weight:h,style:d,variant:m,textcase:y,lineposition:g,shadow:_,family:f,size:v})}),hr.exit().remove(),hr.each(function(ze){var Me=No.select(this).attr(\"transform\",\"\"),ke=ze.color;Array.isArray(ke)&#038;&#038;(ke=ke[ze.eventData[0].pointNumber]);var Oe=ze.bgcolor||ke,Ze=ea.combine(ea.opacity(Oe)?Oe:ea.defaultLine,l),Ue=ea.combine(ea.opacity(ke)?ke:ea.defaultLine,l),Ge=ze.borderColor||ea.contrast(Ze),ir=Hw(ze,O,n,a,k,Me),ar=ir[0],er=ir[1],Ne=Me.select(\"text.nums\").call(Li.font,{family:ze.fontFamily||f,size:ze.fontSize||v,color:ze.fontColor||Ge,weight:ze.fontWeight||h,style:ze.fontStyle||d,variant:ze.fontVariant||m,textcase:ze.fontTextcase||y,lineposition:ze.fontLineposition||g,shadow:ze.fontShadow||_}).text(ar).attr(\"data-notex\",1).call(Ln.positionText,0,0).call(Ln.convertToTspans,t),ae=Me.select(\"text.name\"),oe=0,qe=0;if(er&#038;&#038;er!==ar){ae.call(Li.font,{family:ze.fontFamily||f,size:ze.fontSize||v,color:Ue,weight:ze.fontWeight||h,style:ze.fontStyle||d,variant:ze.fontVariant||m,textcase:ze.fontTextcase||y,lineposition:ze.fontLineposition||g,shadow:ze.fontShadow||_}).text(er).attr(\"data-notex\",1).call(Ln.positionText,0,0).call(Ln.convertToTspans,t);var Pe=au(t,ae.node());oe=Pe.width+2*Or,qe=Pe.height+2*Or}else ae.remove(),Me.select(\"rect\").remove();Me.select(\"path\").style({fill:Ze,stroke:Ge});var $e=ze.xa._offset+(ze.x0+ze.x1)\/2,cr=ze.ya._offset+(ze.y0+ze.y1)\/2,sr=Math.abs(ze.x1-ze.x0),Mr=Math.abs(ze.y1-ze.y0),Ir=au(t,Ne.node()),Jr=Ir.width\/a._invScaleX,lt=Ir.height\/a._invScaleY;ze.ty0=(P-Ir.top)\/a._invScaleY,ze.bx=Jr+2*Or,ze.by=Math.max(lt+2*Or,qe),ze.anchor=\"start\",ze.txwidth=Jr,ze.tx2width=oe,ze.offset=0;var _t=(Jr+mt+Or+oe)*a._invScaleX,gt,Yt;if(i)ze.pos=$e,gt=cr+Mr\/2+_t<=F,Yt=cr-Mr\/2-_t>=0,(ze.idealAlign===\"top\"||!gt)&&Yt?(cr-=Mr\/2,ze.anchor=\"end\"):gt?(cr+=Mr\/2,ze.anchor=\"start\"):ze.anchor=\"middle\",ze.crossPos=cr;else{if(ze.pos=cr,gt=$e+sr\/2+_t<=z,Yt=$e-sr\/2-_t>=0,(ze.idealAlign===\"left\"||!gt)&&Yt)$e-=sr\/2,ze.anchor=\"end\";else if(gt)$e+=sr\/2,ze.anchor=\"start\";else{ze.anchor=\"middle\";var zt=_t\/2,Ba=$e+zt-z,ha=$e-zt;Ba>0&&($e-=Ba),ha<0&#038;&#038;($e+=-ha)}ze.crossPos=$e}Ne.attr(\"text-anchor\",ze.anchor),oe&#038;&#038;ae.attr(\"text-anchor\",ze.anchor),Me.attr(\"transform\",Sy($e,cr)+(i?vW(Vw):\"\"))}),{hoverLabels:hr,commonLabelBoundingBox:H}}function Hw(e,r,t,a,n,i){var v,h;var l=\"\",o=\"\";e.nameOverride!==void 0&#038;&#038;(e.name=e.nameOverride),e.name&#038;&#038;(e.trace._meta&#038;&#038;(e.name=Tt.templateString(e.name,e.trace._meta)),l=Yw(e.name,e.nameLength));var s=t.charAt(0),u=s===\"x\"?\"y\":\"x\";e.zLabel!==void 0?(e.xLabel!==void 0&#038;&#038;(o+=\"x: \"+e.xLabel+\"<br>\"),e.yLabel!==void 0&&(o+=\"y: \"+e.yLabel+\"<br>\"),e.trace.type!==\"choropleth\"&&e.trace.type!==\"choroplethmapbox\"&&e.trace.type!==\"choroplethmap\"&&(o+=(o?\"z: \":\"\")+e.zLabel)):r&&e[s+\"Label\"]===n?o=e[u+\"Label\"]||\"\":e.xLabel===void 0?e.yLabel!==void 0&&e.trace.type!==\"scattercarpet\"&&(o=e.yLabel):e.yLabel===void 0?o=e.xLabel:o=\"(\"+e.xLabel+\", \"+e.yLabel+\")\",(e.text||e.text===0)&&!Array.isArray(e.text)&&(o+=(o?\"<br>\":\"\")+e.text),e.extraText!==void 0&&(o+=(o?\"<br>\":\"\")+e.extraText),i&&o===\"\"&&!e.hovertemplate&&(l===\"\"&&i.remove(),o=l),(h=(v=e.trace)==null?void 0:v.hoverlabel)!=null&&h.split&&(e.hovertemplate=\"\");let{hovertemplate:f=!1}=e;if(f){let d=e.hovertemplateLabels||e;e[s+\"Label\"]!==n&&(d[s+\"other\"]=d[s+\"Val\"],d[s+\"otherLabel\"]=d[s+\"Label\"]),o=Tt.hovertemplateString({data:[e.eventData[0]||{},e.trace._meta],fallback:e.trace.hovertemplatefallback,labels:d,locale:a._d3locale,template:f}),o=o.replace(TW,(m,y)=>(l=Yw(y,e.nameLength),\"\"))}return[o,l]}function MW(e,r,t,a){var n=r?\"xa\":\"ya\",i=r?\"ya\":\"xa\",l=0,o=1,s=e.size(),u=new Array(s),f=0,v=a.minX,h=a.maxX,d=a.minY,m=a.maxY,y=function(J){return J*t._invScaleX},g=function(J){return J*t._invScaleY};e.each(function(J){var G=J[n],U=J[i],H=G._id.charAt(0)===\"x\",Q=G.range;f===0&&Q&&Q[0]>Q[1]!==H&&(o=-1);var Z=0,ne=H?t.width:t.height;if(t.hovermode===\"x\"||t.hovermode===\"y\"){var ce=Xw(J,r),ye=J.anchor,Ce=ye===\"end\"?-1:1,re,Se;if(ye===\"middle\")re=J.crossPos+(H?g(ce.y-J.by\/2):y(J.bx\/2+J.tx2width\/2)),Se=re+(H?g(J.by):y(J.bx));else if(H)re=J.crossPos+g(mt+ce.y)-g(J.by\/2-mt),Se=re+g(J.by);else{var pe=y(Ce*mt+ce.x),be=pe+y(Ce*J.bx);re=J.crossPos+Math.min(pe,be),Se=J.crossPos+Math.max(pe,be)}H?d!==void 0&&m!==void 0&&Math.min(Se,m)-Math.max(re,d)>1&&(U.side===\"left\"?(Z=U._mainLinePosition,ne=t.width):ne=U._mainLinePosition):v!==void 0&&h!==void 0&&Math.min(Se,h)-Math.max(re,v)>1&&(U.side===\"top\"?(Z=U._mainLinePosition,ne=t.height):ne=U._mainLinePosition)}u[f++]=[{datum:J,traceIndex:J.trace.index,dp:0,pos:J.pos,posref:J.posref,size:J.by*(H?gW:1)\/2,pmin:Z,pmax:ne}]}),u.sort(function(J,G){return J[0].posref-G[0].posref||o*(G[0].traceIndex-J[0].traceIndex)});var _,T,w,b,M,S,k;function q(J){var G=J[0],U=J[J.length-1];if(T=G.pmin-G.pos-G.dp+G.size,w=U.pos+U.dp+U.size-G.pmax,T>.01){for(M=J.length-1;M>=0;M--)J[M].dp+=T;_=!1}if(!(w<.01)){if(T<-.01){for(M=J.length-1;M>=0;M--)J[M].dp-=w;_=!1}if(_){var H=0;for(b=0;b<J.length;b++)S=J[b],S.pos+S.dp+S.size>G.pmax&&H++;for(b=J.length-1;b>=0&&!(H<=0);b--)S=J[b],S.pos>G.pmax-1&&(S.del=!0,H--);for(b=0;b<J.length&#038;&#038;!(H<=0);b++)if(S=J[b],S.pos<G.pmin+1)for(S.del=!0,H--,w=S.size*2,M=J.length-1;M>=0;M--)J[M].dp-=w;for(b=J.length-1;b>=0&&!(H<=0);b--)S=J[b],S.pos+S.dp+S.size>G.pmax&&(S.del=!0,H--)}}}for(;!_&&l<=s;){for(l++,_=!0,b=0;b<u.length-1;){var D=u[b],P=u[b+1],z=D[D.length-1],F=P[0];if(T=z.pos+z.dp+z.size-F.pos-F.dp+F.size,T>.01){for(M=P.length-1;M>=0;M--)P[M].dp+=T;for(D.push.apply(D,P),u.splice(b+1,1),k=0,M=D.length-1;M>=0;M--)k+=D[M].dp;for(w=k\/D.length,M=D.length-1;M>=0;M--)D[M].dp-=w;_=!1}else b++}u.forEach(q)}for(b=u.length-1;b>=0;b--){var O=u[b];for(M=O.length-1;M>=0;M--){var I=O[M],V=I.datum;V.offset=I.dp,V.del=I.del}}}function Xw(e,r){var t=0,a=e.offset;return r&&(a*=-xW,t=e.offset*bW),{x:t,y:a}}function AW(e){var r={start:1,end:-1,middle:0}[e.anchor],t=r*(mt+Or),a=t+r*(e.txwidth+Or),n=e.anchor===\"middle\";return n&&(t-=e.tx2width\/2,a+=e.txwidth\/2+Or),{alignShift:r,textShiftX:t,text2ShiftX:a}}function Zw(e,r,t,a){var n=function(l){return l*t},i=function(l){return l*a};e.each(function(l){var o=No.select(this);if(l.del)return o.remove();var s=o.select(\"text.nums\"),u=l.anchor,f=u===\"end\"?-1:1,v=AW(l),h=Xw(l,r),d=h.x,m=h.y,y=u===\"middle\",g=\"hoverlabel\"in l.trace?l.trace.hoverlabel.showarrow:!0,_;y?_=\"M-\"+n(l.bx\/2+l.tx2width\/2)+\",\"+i(m-l.by\/2)+\"h\"+n(l.bx)+\"v\"+i(l.by)+\"h-\"+n(l.bx)+\"Z\":g?_=\"M0,0L\"+n(f*mt+d)+\",\"+i(mt+m)+\"v\"+i(l.by\/2-mt)+\"h\"+n(f*l.bx)+\"v-\"+i(l.by)+\"H\"+n(f*mt+d)+\"V\"+i(m-mt)+\"Z\":_=\"M\"+n(f*mt+d)+\",\"+i(m-l.by\/2)+\"h\"+n(f*l.bx)+\"v\"+i(l.by)+\"h\"+n(-f*l.bx)+\"Z\",o.select(\"path\").attr(\"d\",_);var T=d+v.textShiftX,w=m+l.ty0-l.by\/2+Or,b=l.textAlign||\"auto\";b!==\"auto\"&&(b===\"left\"&&u!==\"start\"?(s.attr(\"text-anchor\",\"start\"),T=y?-l.bx\/2-l.tx2width\/2+Or:-l.bx-Or):b===\"right\"&&u!==\"end\"&&(s.attr(\"text-anchor\",\"end\"),T=y?l.bx\/2-l.tx2width\/2-Or:l.bx+Or)),s.call(Ln.positionText,n(T),i(w)),l.tx2width&&(o.select(\"text.name\").call(Ln.positionText,n(v.text2ShiftX+v.alignShift*Or+d),i(m+l.ty0-l.by\/2+Or)),o.select(\"rect\").call(Li.setRect,n(v.text2ShiftX+(v.alignShift-1)*l.tx2width\/2+d),i(m-l.by\/2-1),n(l.tx2width),i(l.by+2)))})}function kW(e,r){var t=e.index,a=e.trace||{},n=e.cd[0],i=e.cd[t]||{};function l(h){return h||Ki(h)&&h===0}var o=Array.isArray(t)?function(h,d){var m=Tt.castOption(n,t,h);return l(m)?m:Tt.extractOption({},a,\"\",d)}:function(h,d){return Tt.extractOption(i,a,h,d)};function s(h,d,m){var y=o(d,m);l(y)&&(e[h]=y)}if(s(\"hoverinfo\",\"hi\",\"hoverinfo\"),s(\"bgcolor\",\"hbg\",\"hoverlabel.bgcolor\"),s(\"borderColor\",\"hbc\",\"hoverlabel.bordercolor\"),s(\"fontFamily\",\"htf\",\"hoverlabel.font.family\"),s(\"fontSize\",\"hts\",\"hoverlabel.font.size\"),s(\"fontColor\",\"htc\",\"hoverlabel.font.color\"),s(\"fontWeight\",\"htw\",\"hoverlabel.font.weight\"),s(\"fontStyle\",\"hty\",\"hoverlabel.font.style\"),s(\"fontVariant\",\"htv\",\"hoverlabel.font.variant\"),s(\"nameLength\",\"hnl\",\"hoverlabel.namelength\"),s(\"textAlign\",\"hta\",\"hoverlabel.align\"),e.posref=r===\"y\"||r===\"closest\"&&a.orientation===\"h\"?e.xa._offset+(e.x0+e.x1)\/2:e.ya._offset+(e.y0+e.y1)\/2,e.x0=Tt.constrain(e.x0,0,e.xa._length),e.x1=Tt.constrain(e.x1,0,e.xa._length),e.y0=Tt.constrain(e.y0,0,e.ya._length),e.y1=Tt.constrain(e.y1,0,e.ya._length),e.xLabelVal!==void 0&&(e.xLabel=\"xLabel\"in e?e.xLabel:qi.hoverLabelText(e.xa,e.xLabelVal,a.xhoverformat),e.xVal=e.xa.c2d(e.xLabelVal)),e.yLabelVal!==void 0&&(e.yLabel=\"yLabel\"in e?e.yLabel:qi.hoverLabelText(e.ya,e.yLabelVal,a.yhoverformat),e.yVal=e.ya.c2d(e.yLabelVal)),e.zLabelVal!==void 0&&e.zLabel===void 0&&(e.zLabel=String(e.zLabelVal)),!isNaN(e.xerr)&&!(e.xa.type===\"log\"&&e.xerr<=0)){var u=qi.tickText(e.xa,e.xa.c2l(e.xerr),\"hover\").text;e.xerrneg!==void 0?e.xLabel+=\" +\"+u+\" \/ -\"+qi.tickText(e.xa,e.xa.c2l(e.xerrneg),\"hover\").text:e.xLabel+=\" \\xB1 \"+u,r===\"x\"&#038;&#038;(e.distance+=1)}if(!isNaN(e.yerr)&#038;&#038;!(e.ya.type===\"log\"&#038;&#038;e.yerr<=0)){var f=qi.tickText(e.ya,e.ya.c2l(e.yerr),\"hover\").text;e.yerrneg!==void 0?e.yLabel+=\" +\"+f+\" \/ -\"+qi.tickText(e.ya,e.ya.c2l(e.yerrneg),\"hover\").text:e.yLabel+=\" \\xB1 \"+f,r===\"y\"&#038;&#038;(e.distance+=1)}var v=e.hoverinfo||e.trace.hoverinfo;return v&#038;&#038;v!==\"all\"&#038;&#038;(v=Array.isArray(v)?v:v.split(\"+\"),v.indexOf(\"x\")===-1&#038;&#038;(e.xLabel=void 0),v.indexOf(\"y\")===-1&#038;&#038;(e.yLabel=void 0),v.indexOf(\"z\")===-1&#038;&#038;(e.zLabel=void 0),v.indexOf(\"text\")===-1&#038;&#038;(e.text=void 0),v.indexOf(\"name\")===-1&#038;&#038;(e.name=void 0)),e}function Ow(e,r,t){var a=t.container,n=t.fullLayout,i=n._size,l=t.event,o=!!r.hLinePoint,s=!!r.vLinePoint,u,f;if(a.selectAll(\".spikeline\").remove(),!!(s||o)){var v=ea.combine(n.plot_bgcolor,n.paper_bgcolor);if(o){var h=r.hLinePoint,d,m;u=h&#038;&#038;h.xa,f=h&#038;&#038;h.ya;var y=f.spikesnap;y===\"cursor\"?(d=l.pointerX,m=l.pointerY):(d=u._offset+h.x,m=f._offset+h.y);var g=Nw.readability(h.color,v)<1.5?ea.contrast(v):h.color,_=f.spikemode,T=f.spikethickness,w=f.spikecolor||g,b=qi.getPxPosition(e,f),M,S;if(_.indexOf(\"toaxis\")!==-1||_.indexOf(\"across\")!==-1){if(_.indexOf(\"toaxis\")!==-1&#038;&#038;(M=b,S=d),_.indexOf(\"across\")!==-1){var k=f._counterDomainMin,q=f._counterDomainMax;f.anchor===\"free\"&#038;&#038;(k=Math.min(k,f.position),q=Math.max(q,f.position)),M=i.l+k*i.w,S=i.l+q*i.w}a.insert(\"line\",\":first-child\").attr({x1:M,x2:S,y1:m,y2:m,\"stroke-width\":T,stroke:w,\"stroke-dasharray\":Li.dashStyle(f.spikedash,T)}).classed(\"spikeline\",!0).classed(\"crisp\",!0),a.insert(\"line\",\":first-child\").attr({x1:M,x2:S,y1:m,y2:m,\"stroke-width\":T+2,stroke:v}).classed(\"spikeline\",!0).classed(\"crisp\",!0)}_.indexOf(\"marker\")!==-1&#038;&#038;a.insert(\"circle\",\":first-child\").attr({cx:b+(f.side!==\"right\"?T:-T),cy:m,r:T,fill:w}).classed(\"spikeline\",!0)}if(s){var D=r.vLinePoint,P,z;u=D&#038;&#038;D.xa,f=D&#038;&#038;D.ya;var F=u.spikesnap;F===\"cursor\"?(P=l.pointerX,z=l.pointerY):(P=u._offset+D.x,z=f._offset+D.y);var O=Nw.readability(D.color,v)<1.5?ea.contrast(v):D.color,I=u.spikemode,V=u.spikethickness,J=u.spikecolor||O,G=qi.getPxPosition(e,u),U,H;if(I.indexOf(\"toaxis\")!==-1||I.indexOf(\"across\")!==-1){if(I.indexOf(\"toaxis\")!==-1&#038;&#038;(U=G,H=z),I.indexOf(\"across\")!==-1){var Q=u._counterDomainMin,Z=u._counterDomainMax;u.anchor===\"free\"&#038;&#038;(Q=Math.min(Q,u.position),Z=Math.max(Z,u.position)),U=i.t+(1-Z)*i.h,H=i.t+(1-Q)*i.h}a.insert(\"line\",\":first-child\").attr({x1:P,x2:P,y1:U,y2:H,\"stroke-width\":V,stroke:J,\"stroke-dasharray\":Li.dashStyle(u.spikedash,V)}).classed(\"spikeline\",!0).classed(\"crisp\",!0),a.insert(\"line\",\":first-child\").attr({x1:P,x2:P,y1:U,y2:H,\"stroke-width\":V+2,stroke:v}).classed(\"spikeline\",!0).classed(\"crisp\",!0)}I.indexOf(\"marker\")!==-1&#038;&#038;a.insert(\"circle\",\":first-child\").attr({cx:P,cy:G-(u.side!==\"top\"?V:-V),r:V,fill:J}).classed(\"spikeline\",!0)}}}function CW(e,r,t){if(!t||t.length!==e._hoverdata.length)return!0;for(var a=t.length-1;a>=0;a--){var n=t[a],i=e._hoverdata[a];if(n.curveNumber!==i.curveNumber||String(n.pointNumber)!==String(i.pointNumber)||String(n.pointNumbers)!==String(i.pointNumbers)||n.binNumber!==i.binNumber)return!0}return!1}function Bw(e,r){return!r||r.vLinePoint!==e._spikepoints.vLinePoint||r.hLinePoint!==e._spikepoints.hLinePoint}function Yw(e,r){return Ln.plainText(e||\"\",{len:r,allowedTags:[\"br\",\"sub\",\"sup\",\"b\",\"i\",\"em\",\"s\",\"u\"]})}function SW(e,r){for(var t=r.charAt(0),a=[],n=[],i=[],l=0;l<e.length;l++){var o=e[l];nu.traceIs(o.trace,\"bar-like\")||nu.traceIs(o.trace,\"box-violin\")?i.push(o):o.trace[t+\"period\"]?n.push(o):a.push(o)}return a.concat(n).concat(i)}function Uw(e,r,t){var a=r[e+\"a\"],n=r[e+\"Val\"],i=r.cd[0];if(a.type===\"category\"||a.type===\"multicategory\")n=a._categoriesMap[n];else if(a.type===\"date\"){var l=r.trace[e+\"periodalignment\"];if(l){var o=r.cd[r.index],s=o[e+\"Start\"];s===void 0&#038;&#038;(s=o[e]);var u=o[e+\"End\"];u===void 0&#038;&#038;(u=o[e]);var f=u-s;l===\"end\"?n+=f:l===\"middle\"&#038;&#038;(n+=f\/2)}n=a.d2c(n)}return i&#038;&#038;i.t&#038;&#038;i.t.posLetter===a._id&#038;&#038;(t.boxmode===\"group\"||t.violinmode===\"group\")&#038;&#038;(n+=i.t.dPos),n}var Jw=e=>e.offsetTop+e.clientTop,Kw=e=>e.offsetLeft+e.clientLeft;function au(e,r){var t=e._fullLayout,a=r.getBoundingClientRect(),n=a.left,i=a.top,l=n+a.width,o=i+a.height,s=Tt.apply3DTransform(t._invTransform)(n,i),u=Tt.apply3DTransform(t._invTransform)(l,o),f=s[0],v=s[1],h=u[0],d=u[1];return{x:f,y:v,width:h-f,height:d-v,top:Math.min(v,d),left:Math.min(f,h),right:Math.max(f,h),bottom:Math.max(v,d)}}});var lh=K(($se,Qw)=>{\"use strict\";var LW=Fe(),qW=Er(),DW=Ti().isUnifiedHover;Qw.exports=function(r,t,a,n){n=n||{};var i=t.legend;function l(o){n.font[o]||(n.font[o]=i?t.legend.font[o]:t.font[o])}t&&DW(t.hovermode)&&(n.font||(n.font={}),l(\"size\"),l(\"family\"),l(\"color\"),l(\"weight\"),l(\"style\"),l(\"variant\"),i?(n.bgcolor||(n.bgcolor=qW.combine(t.legend.bgcolor,t.paper_bgcolor)),n.bordercolor||(n.bordercolor=t.legend.bordercolor)):n.bgcolor||(n.bgcolor=t.paper_bgcolor)),a(\"hoverlabel.bgcolor\",n.bgcolor),a(\"hoverlabel.bordercolor\",n.bordercolor),a(\"hoverlabel.namelength\",n.namelength),a(\"hoverlabel.showarrow\",n.showarrow),LW.coerceFont(a,\"hoverlabel.font\",n.font),a(\"hoverlabel.align\",n.align)}});var jw=K((jse,$w)=>{\"use strict\";var EW=Fe(),PW=lh(),RW=Ts();$w.exports=function(r,t){function a(n,i){return EW.coerce(r,t,RW,n,i)}PW(r,t,a)}});var tT=K((eue,rT)=>{\"use strict\";var eT=Fe(),zW=qv(),NW=lh();rT.exports=function(r,t,a,n){function i(o,s){return eT.coerce(r,t,zW,o,s)}var l=eT.extendFlat({},n.hoverlabel);t.hovertemplate&&(l.namelength=-1),NW(r,t,i,l)}});var Ey=K((rue,aT)=>{\"use strict\";var FW=Fe(),IW=Ts();aT.exports=function(r,t){function a(n,i){return t[n]!==void 0?t[n]:FW.coerce(r,t,IW,n,i)}return a(\"clickmode\"),a(\"hoversubplots\"),a(\"hoveranywhere\"),a(\"clickanywhere\"),a(\"hovermode\")}});var lT=K((tue,iT)=>{\"use strict\";var nT=Fe(),HW=Ts(),OW=Ey(),BW=lh();iT.exports=function(r,t){function a(f,v){return nT.coerce(r,t,HW,f,v)}var n=OW(r,t);n&&(a(\"hoverdistance\"),a(\"spikedistance\"),n.indexOf(\"unified\")!==-1&&a(\"hoversort\"));var i=a(\"dragmode\");i===\"select\"&&a(\"selectdirection\");var l=t._has(\"mapbox\"),o=t._has(\"map\"),s=t._has(\"geo\"),u=t._basePlotModules.length;t.dragmode===\"zoom\"&&((l||o||s)&&u===1||(l||o)&&s&&u===2)&&(t.dragmode=\"pan\"),BW(r,t,a),nT.coerceFont(a,\"hoverlabel.grouptitlefont\",t.hoverlabel.font)}});var uT=K((aue,sT)=>{\"use strict\";var Py=Fe(),oT=br();sT.exports=function(r){var t=r.calcdata,a=r._fullLayout;function n(u){return function(f){return Py.coerceHoverinfo({hoverinfo:f},{_module:u._module},a)}}for(var i=0;i<t.length;i++){var l=t[i],o=l[0].trace;if(!oT.traceIs(o,\"pie-like\")){var s=oT.traceIs(o,\"2dMap\")?YW:Py.fillArray;s(o.hoverinfo,l,\"hi\",n(o)),o.hovertemplate&#038;&#038;s(o.hovertemplate,l,\"ht\"),o.hoverlabel&#038;&#038;(s(o.hoverlabel.bgcolor,l,\"hbg\"),s(o.hoverlabel.bordercolor,l,\"hbc\"),s(o.hoverlabel.font.size,l,\"hts\"),s(o.hoverlabel.font.color,l,\"htc\"),s(o.hoverlabel.font.family,l,\"htf\"),s(o.hoverlabel.font.weight,l,\"htw\"),s(o.hoverlabel.font.style,l,\"hty\"),s(o.hoverlabel.font.variant,l,\"htv\"),s(o.hoverlabel.namelength,l,\"hnl\"),s(o.hoverlabel.align,l,\"hta\"),s(o.hoverlabel.showarrow,l,\"htsa\"))}}};function YW(e,r,t,a){a=a||Py.identity,Array.isArray(e)&#038;&#038;(r[0][t]=a(e))}});var cT=K((nue,fT)=>{\"use strict\";var UW=br(),VW=Dy().hover;fT.exports=function(r,t,a){var n=UW.getComponentMethod(\"annotations\",\"onClick\")(r,r._hoverdata),i=r._fullLayout;a!==void 0&&VW(r,t,a,!0);function l(){var s,u,f,v;var o={points:r._hoverdata,event:t};(s=o.xaxes)!=null||(o.xaxes=r._hoverXAxes),(u=o.yaxes)!=null||(o.yaxes=r._hoverYAxes),(f=o.xvals)!=null||(o.xvals=r._hoverXVals),(v=o.yvals)!=null||(o.yvals=r._hoverYVals),r.emit(\"plotly_click\",o)}(r._hoverdata||i.clickanywhere)&&t&&t.target&&(r._hoverdata||(r._hoverdata=[]),n&&n.then?n.then(l):l(),t.stopImmediatePropagation&&t.stopImmediatePropagation())}});var ni=K((iue,dT)=>{\"use strict\";var GW=zr(),oh=Fe(),WW=ti(),zf=Ti(),vT=Ts(),hT=Dy();dT.exports={moduleType:\"component\",name:\"fx\",constants:ju(),schema:{layout:vT},attributes:qv(),layoutAttributes:vT,supplyLayoutGlobalDefaults:jw(),supplyDefaults:tT(),supplyLayoutDefaults:lT(),calc:uT(),getDistanceFunction:zf.getDistanceFunction,getClosest:zf.getClosest,inbox:zf.inbox,quadrature:zf.quadrature,appendArrayPointValue:zf.appendArrayPointValue,castHoverOption:ZW,castHoverinfo:JW,hover:hT.hover,unhover:WW.unhover,loneHover:hT.loneHover,loneUnhover:XW,click:cT()};function XW(e){var r=oh.isD3Selection(e)?e:GW.select(e);r.selectAll(\"g.hovertext\").remove(),r.selectAll(\".spikeline\").remove()}function ZW(e,r,t){return oh.castOption(e,r,\"hoverlabel.\"+t)}function JW(e,r,t){function a(n){return oh.coerceHoverinfo({hoverinfo:n},{_module:e._module},r)}return oh.castOption(e,t,\"hoverinfo\",a)}});var iu=K(Qi=>{\"use strict\";Qi.selectMode=function(e){return e===\"lasso\"||e===\"select\"};Qi.drawMode=function(e){return e===\"drawclosedpath\"||e===\"drawopenpath\"||e===\"drawline\"||e===\"drawrect\"||e===\"drawcircle\"};Qi.openMode=function(e){return e===\"drawline\"||e===\"drawopenpath\"};Qi.rectMode=function(e){return e===\"select\"||e===\"drawline\"||e===\"drawrect\"||e===\"drawcircle\"};Qi.freeMode=function(e){return e===\"lasso\"||e===\"drawclosedpath\"||e===\"drawopenpath\"};Qi.selectingOrDrawing=function(e){return Qi.freeMode(e)||Qi.rectMode(e)}});var sh=K((oue,pT)=>{\"use strict\";pT.exports=function(r){var t=r._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each(function(a){a.regl&&a.regl.clear({color:!0,depth:!0})})}});var uh=K((sue,mT)=>{\"use strict\";mT.exports={undo:{width:857.1,height:1e3,path:\"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z\",transform:\"matrix(1 0 0 -1 0 850)\"},home:{width:928.6,height:1e3,path:\"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z\",transform:\"matrix(1 0 0 -1 0 850)\"},\"camera-retro\":{width:1e3,height:1e3,path:\"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z\",transform:\"matrix(1 0 0 -1 0 850)\"},zoombox:{width:1e3,height:1e3,path:\"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z\",transform:\"matrix(1 0 0 -1 0 850)\"},pan:{width:1e3,height:1e3,path:\"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z\",transform:\"matrix(1 0 0 -1 0 850)\"},zoom_plus:{width:875,height:1e3,path:\"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z\",transform:\"matrix(1 0 0 -1 0 850)\"},zoom_minus:{width:875,height:1e3,path:\"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z\",transform:\"matrix(1 0 0 -1 0 850)\"},autoscale:{width:1e3,height:1e3,path:\"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z\",transform:\"matrix(1 0 0 -1 0 850)\"},tooltip_basic:{width:1500,height:1e3,path:\"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z\",transform:\"matrix(1 0 0 -1 0 850)\"},tooltip_compare:{width:1125,height:1e3,path:\"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z\",transform:\"matrix(1 0 0 -1 0 850)\"},plotlylogo:{width:1542,height:1e3,path:\"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z\",transform:\"matrix(1 0 0 -1 0 850)\"},\"z-axis\":{width:1e3,height:1e3,path:\"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z\",transform:\"matrix(1 0 0 -1 0 850)\"},\"3d_rotate\":{width:1e3,height:1e3,path:\"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z\",transform:\"matrix(1 0 0 -1 0 850)\"},camera:{width:1e3,height:1e3,path:\"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z\",transform:\"matrix(1 0 0 -1 0 850)\"},movie:{width:1e3,height:1e3,path:\"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z\",transform:\"matrix(1 0 0 -1 0 850)\"},question:{width:857.1,height:1e3,path:\"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z\",transform:\"matrix(1 0 0 -1 0 850)\"},disk:{width:857.1,height:1e3,path:\"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z\",transform:\"matrix(1 0 0 -1 0 850)\"},cloudupload:{width:640,height:640,path:\"M176 544C96.5 544 32 479.5 32 400C32 336.6 73 282.8 129.9 263.5C128.6 255.8 128 248 128 240C128 160.5 192.5 96 272 96C327.4 96 375.5 127.3 399.6 173.1C413.8 164.8 430.4 160 448 160C501 160 544 203 544 256C544 271.7 540.2 286.6 533.5 299.7C577.5 320 608 364.4 608 416C608 486.7 550.7 544 480 544L176 544zM337 255C327.6 245.6 312.4 245.6 303.1 255L231.1 327C221.7 336.4 221.7 351.6 231.1 360.9C240.5 370.2 255.7 370.3 265 360.9L296 329.9L296 432C296 445.3 306.7 456 320 456C333.3 456 344 445.3 344 432L344 329.9L375 360.9C384.4 370.3 399.6 370.3 408.9 360.9C418.2 351.5 418.3 336.3 408.9 327L336.9 255z\",transform:\"matrix(1 0 0 1 -15 -15)\"},drawopenpath:{width:70,height:70,path:\"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z\",transform:\"matrix(1 0 0 1 -15 -15)\"},drawclosedpath:{width:90,height:90,path:\"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z\",transform:\"matrix(1 0 0 1 -5 -5)\"},lasso:{width:1031,height:1e3,path:\"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z\",transform:\"matrix(1 0 0 -1 0 850)\"},selectbox:{width:1e3,height:1e3,path:\"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z\",transform:\"matrix(1 0 0 -1 0 850)\"},drawline:{width:70,height:70,path:\"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z\",transform:\"matrix(1 0 0 1 -15 -15)\"},drawrect:{width:80,height:80,path:\"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z\",transform:\"matrix(1 0 0 1 -10 -10)\"},drawcircle:{width:80,height:80,path:\"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z\",transform:\"matrix(1 0 0 1 -10 -10)\"},eraseshape:{width:80,height:80,path:\"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z\",transform:\"matrix(1 0 0 1 -10 -10)\"},spikeline:{width:1e3,height:1e3,path:\"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z\",transform:\"matrix(1.5 0 0 -1.5 0 850)\"},pencil:{width:1792,height:1792,path:\"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z\",transform:\"matrix(1 0 0 1 0 1)\"},newplotlylogo:{name:\"newplotlylogo\",svg:[\"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' viewBox='0 0 132 132'>\",\" <title>plotly-logomark<\/title>\",\" <g id='symbol'>\",\"  <rect fill='#000' x='0' y='0' width='132' height='132' rx='18' ry='18'\/>\",\"  <circle fill='#9EF' cx='102' cy='30' r='6'\/>\",\"  <circle fill='#BAC' cx='78' cy='30' r='6'\/>\",\"  <circle fill='#BAC' cx='78' cy='54' r='6'\/>\",\"  <circle fill='#D69' cx='54' cy='30' r='6'\/>\",\"  <circle fill='#F26' cx='30' cy='30' r='6'\/>\",\"  <circle fill='#F26' cx='30' cy='54' r='6'\/>\",\"  <path fill='#FFF' d='M30,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,30,72Z'\/>\",\"  <path fill='#FFF' d='M78,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,78,72Z'\/>\",\"  <path fill='#FFF' d='M54,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,54,48Z'\/>\",\"  <path fill='#FFF' d='M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z'\/>\",\" <\/g>\",\"<\/svg>\"].join(\"\")}}});var ch=K((uue,yT)=>{\"use strict\";var fh=32;yT.exports={CIRCLE_SIDES:fh,i000:0,i090:fh\/4,i180:fh\/2,i270:fh\/4*3,cos45:Math.cos(Math.PI\/4),sin45:Math.sin(Math.PI\/4),SQRT2:Math.sqrt(2)}});var vh=K((fue,bT)=>{\"use strict\";var KW=Fe().strTranslate;function gT(e,r){switch(e.type){case\"log\":return e.p2d(r);case\"date\":return e.p2r(r,0,e.calendar);default:return e.p2r(r)}}function QW(e,r){switch(e.type){case\"log\":return e.d2p(r);case\"date\":return e.r2p(r,0,e.calendar);default:return e.r2p(r)}}function $W(e){var r=e._id.charAt(0)===\"y\"?1:0;return function(t){return gT(e,t[r])}}function jW(e){return KW(e.xaxis._offset,e.yaxis._offset)}bT.exports={p2r:gT,r2p:QW,axValue:$W,getTransform:jW}});var Dl=K($i=>{\"use strict\";var eX=xm(),wT=ch(),lu=wT.CIRCLE_SIDES,Ry=wT.SQRT2,TT=vh(),xT=TT.p2r,_T=TT.r2p,rX=[0,3,4,5,6,1,2],tX=[0,3,4,1,2];$i.writePaths=function(e){var r=e.length;if(!r)return\"M0,0Z\";for(var t=\"\",a=0;a<r;a++)for(var n=e[a].length,i=0;i<n;i++){var l=e[a][i][0];if(l===\"Z\")t+=\"Z\";else for(var o=e[a][i].length,s=0;s<o;s++){var u=s;l===\"Q\"||l===\"S\"?u=tX[s]:l===\"C\"&#038;&#038;(u=rX[s]),t+=e[a][i][u],s>0&&s<o-1&#038;&#038;(t+=\",\")}}return t};$i.readPaths=function(e,r,t,a){var n=eX(e),i=[],l=-1,o=function(){l++,i[l]=[]},s,u=0,f=0,v,h,d=function(){v=u,h=f};d();for(var m=0;m<n.length;m++){var y=[],g,_,T,w,b=n[m][0],M=b;switch(b){case\"M\":o(),u=+n[m][1],f=+n[m][2],y.push([M,u,f]),d();break;case\"Q\":case\"S\":g=+n[m][1],T=+n[m][2],u=+n[m][3],f=+n[m][4],y.push([M,u,f,g,T]);break;case\"C\":g=+n[m][1],T=+n[m][2],_=+n[m][3],w=+n[m][4],u=+n[m][5],f=+n[m][6],y.push([M,u,f,g,T,_,w]);break;case\"T\":case\"L\":u=+n[m][1],f=+n[m][2],y.push([M,u,f]);break;case\"H\":M=\"L\",u=+n[m][1],y.push([M,u,f]);break;case\"V\":M=\"L\",f=+n[m][1],y.push([M,u,f]);break;case\"A\":M=\"L\";var S=+n[m][1],k=+n[m][2];+n[m][4]||(S=-S,k=-k);var q=u-S,D=f;for(s=1;s<=lu\/2;s++){var P=2*Math.PI*s\/lu;y.push([M,q+S*Math.cos(P),D+k*Math.sin(P)])}break;case\"Z\":(u!==v||f!==h)&#038;&#038;(u=v,f=h,y.push([M,u,f]));break}for(var z=(t||{}).domain,F=r._fullLayout._size,O=t&#038;&#038;t.xsizemode===\"pixel\",I=t&#038;&#038;t.ysizemode===\"pixel\",V=a===!1,J=0;J<y.length;J++){for(s=0;s+2<7;s+=2){var G=y[J][s+1],U=y[J][s+2];G===void 0||U===void 0||(u=G,f=U,t&#038;&#038;(t.xaxis&#038;&#038;t.xaxis.p2r?(V&#038;&#038;(G-=t.xaxis._offset),O?G=_T(t.xaxis,t.xanchor)+G:G=xT(t.xaxis,G)):(V&#038;&#038;(G-=F.l),z?G=z.x[0]+G\/F.w:G=G\/F.w),t.yaxis&#038;&#038;t.yaxis.p2r?(V&#038;&#038;(U-=t.yaxis._offset),I?U=_T(t.yaxis,t.yanchor)-U:U=xT(t.yaxis,U)):(V&#038;&#038;(U-=F.t),z?U=z.y[1]-U\/F.h:U=1-U\/F.h)),y[J][s+1]=G,y[J][s+2]=U)}i[l].push(y[J].slice())}}return i};function Nf(e,r){return Math.abs(e-r)<=1e-6}function hh(e,r){var t=r[1]-e[1],a=r[2]-e[2];return Math.sqrt(t*t+a*a)}$i.pointsOnRectangle=function(e){var r=e.length;if(r!==5)return!1;for(var t=1;t<3;t++){var a=e[0][t]-e[1][t],n=e[3][t]-e[2][t];if(!Nf(a,n))return!1;var i=e[0][t]-e[3][t],l=e[1][t]-e[2][t];if(!Nf(i,l))return!1}return!Nf(e[0][1],e[1][1])&#038;&#038;!Nf(e[0][1],e[3][1])?!1:!!(hh(e[0],e[1])*hh(e[0],e[3]))};$i.pointsOnEllipse=function(e){var r=e.length;if(r!==lu+1)return!1;r=lu;for(var t=0;t<r;t++){var a=(r*2-t)%r,n=(r\/2+a)%r,i=(r\/2+t)%r;if(!Nf(hh(e[t],e[i]),hh(e[a],e[n])))return!1}return!0};$i.handleEllipse=function(e,r,t){if(!e)return[r,t];var a=$i.ellipseOver({x0:r[0],y0:r[1],x1:t[0],y1:t[1]}),n=(a.x1+a.x0)\/2,i=(a.y1+a.y0)\/2,l=(a.x1-a.x0)\/2,o=(a.y1-a.y0)\/2;l||(l=o=o\/Ry),o||(o=l=l\/Ry);for(var s=[],u=0;u<lu;u++){var f=u*2*Math.PI\/lu;s.push([n+l*Math.cos(f),i+o*Math.sin(f)])}return s};$i.ellipseOver=function(e){var r=e.x0,t=e.y0,a=e.x1,n=e.y1,i=a-r,l=n-t;r-=i,t-=l;var o=(r+a)\/2,s=(t+n)\/2,u=Ry;return i*=u,l*=u,{x0:o-i,y0:s-l,x1:o+i,y1:s+l}};$i.fixDatesForPaths=function(e,r,t){var a=r.type===\"date\",n=t.type===\"date\";if(!a&#038;&#038;!n)return e;for(var i=0;i<e.length;i++)for(var l=0;l<e[i].length;l++)for(var o=0;o+2<e[i][l].length;o+=2)a&#038;&#038;(e[i][l][o+1]=e[i][l][o+1].replace(\" \",\"_\")),n&#038;&#038;(e[i][l][o+2]=e[i][l][o+2].replace(\" \",\"_\"));return e}});var mh=K((vue,ET)=>{\"use strict\";var MT=Zt(),LT=iu(),aX=LT.drawMode,nX=LT.openMode,ou=ch(),AT=ou.i000,kT=ou.i090,CT=ou.i180,ST=ou.i270,iX=ou.cos45,lX=ou.sin45,qT=vh(),dh=qT.p2r,El=qT.r2p,oX=wl(),sX=oX.clearOutline,ph=Dl(),uX=ph.readPaths,fX=ph.writePaths,cX=ph.ellipseOver,vX=ph.fixDatesForPaths;function hX(e,r){if(e.length){var t=e[0][0];if(t){var a=r.gd,n=r.isActiveShape,i=r.dragmode,l=(a.layout||{}).shapes||[];if(!aX(i)&&n!==void 0){var o=a._fullLayout._activeShapeIndex;if(o<l.length)switch(a._fullLayout.shapes[o].type){case\"rect\":i=\"drawrect\";break;case\"circle\":i=\"drawcircle\";break;case\"line\":i=\"drawline\";break;case\"path\":var s=l[o].path||\"\";s[s.length-1]===\"Z\"?i=\"drawclosedpath\":i=\"drawopenpath\";break}}var u=DT(e,r,i);sX(a);for(var f=r.editHelpers,v=(f||{}).modifyItem,h=[],d=0;d<l.length;d++){var m=a._fullLayout.shapes[d];if(h[d]=m._input,n!==void 0&#038;&#038;d===a._fullLayout._activeShapeIndex){var y=u;switch(m.type){case\"line\":case\"rect\":case\"circle\":var g=MT.getFromId(a,m.xref);m.xref.charAt(0)===\"x\"&#038;&#038;g.type.includes(\"category\")?(v(\"x0\",y.x0-(m.x0shift||0)),v(\"x1\",y.x1-(m.x1shift||0))):(v(\"x0\",y.x0),v(\"x1\",y.x1));var _=MT.getFromId(a,m.yref);m.yref.charAt(0)===\"y\"&#038;&#038;_.type.includes(\"category\")?(v(\"y0\",y.y0-(m.y0shift||0)),v(\"y1\",y.y1-(m.y1shift||0))):(v(\"y0\",y.y0),v(\"y1\",y.y1));break;case\"path\":v(\"path\",y.path);break}}}return n===void 0?(h.push(u),h):f?f.getUpdateObj():{}}}}function DT(e,r,t){var a=e[0][0],n=r.gd,i=a.getAttribute(\"d\"),l=n._fullLayout.newshape,o=r.plotinfo,s=r.isActiveShape,u=o.xaxis,f=o.yaxis,v=!!o.domain||!o.xaxis,h=!!o.domain||!o.yaxis,d=nX(t),m=uX(i,n,o,s),y={editable:!0,visible:l.visible,name:l.name,showlegend:l.showlegend,legend:l.legend,legendwidth:l.legendwidth,legendgroup:l.legendgroup,legendgrouptitle:{text:l.legendgrouptitle.text,font:l.legendgrouptitle.font},legendrank:l.legendrank,label:l.label,xref:v?\"paper\":u._id,yref:h?\"paper\":f._id,layer:l.layer,opacity:l.opacity,line:{color:l.line.color,width:l.line.width,dash:l.line.dash}};d||(y.fillcolor=l.fillcolor,y.fillrule=l.fillrule);var g;if(m.length===1&#038;&#038;(g=m[0]),g&#038;&#038;g.length===5&#038;&#038;t===\"drawrect\")y.type=\"rect\",y.x0=g[0][1],y.y0=g[0][2],y.x1=g[2][1],y.y1=g[2][2];else if(g&#038;&#038;t===\"drawline\")y.type=\"line\",y.x0=g[0][1],y.y0=g[0][2],y.x1=g[1][1],y.y1=g[1][2];else if(g&#038;&#038;t===\"drawcircle\"){y.type=\"circle\";var _=g[AT][1],T=g[kT][1],w=g[CT][1],b=g[ST][1],M=g[AT][2],S=g[kT][2],k=g[CT][2],q=g[ST][2],D=o.xaxis&#038;&#038;(o.xaxis.type===\"date\"||o.xaxis.type===\"log\"),P=o.yaxis&#038;&#038;(o.yaxis.type===\"date\"||o.yaxis.type===\"log\");D&#038;&#038;(_=El(o.xaxis,_),T=El(o.xaxis,T),w=El(o.xaxis,w),b=El(o.xaxis,b)),P&#038;&#038;(M=El(o.yaxis,M),S=El(o.yaxis,S),k=El(o.yaxis,k),q=El(o.yaxis,q));var z=(T+b)\/2,F=(M+k)\/2,O=(b-T+w-_)\/2,I=(q-S+k-M)\/2,V=cX({x0:z,y0:F,x1:z+O*iX,y1:F+I*lX});D&#038;&#038;(V.x0=dh(o.xaxis,V.x0),V.x1=dh(o.xaxis,V.x1)),P&#038;&#038;(V.y0=dh(o.yaxis,V.y0),V.y1=dh(o.yaxis,V.y1)),y.x0=V.x0,y.y0=V.y0,y.x1=V.x1,y.y1=V.y1}else y.type=\"path\",u&#038;&#038;f&#038;&#038;vX(m,u,f),y.path=fX(m),g=null;return y}ET.exports={newShapes:hX,createShapeObj:DT}});var Ny=K((hue,PT)=>{\"use strict\";var dX=iu(),pX=dX.selectMode,mX=wl(),yX=mX.clearOutline,zy=Dl(),gX=zy.readPaths,bX=zy.writePaths,xX=zy.fixDatesForPaths;PT.exports=function(r,t){if(r.length){var a=r[0][0];if(a){var n=a.getAttribute(\"d\"),i=t.gd,l=i._fullLayout.newselection,o=t.plotinfo,s=o.xaxis,u=o.yaxis,f=t.isActiveSelection,v=t.dragmode,h=(i.layout||{}).selections||[];if(!pX(v)&&f!==void 0){var d=i._fullLayout._activeSelectionIndex;if(d<h.length)switch(i._fullLayout.selections[d].type){case\"rect\":v=\"select\";break;case\"path\":v=\"lasso\";break}}var m=gX(n,i,o,f),y={xref:s._id,yref:u._id,opacity:l.opacity,line:{color:l.line.color,width:l.line.width,dash:l.line.dash}},g;m.length===1&#038;&#038;(g=m[0]),g&#038;&#038;g.length===5&#038;&#038;v===\"select\"?(y.type=\"rect\",y.x0=g[0][1],y.y0=g[0][2],y.x1=g[2][1],y.y1=g[2][2]):(y.type=\"path\",s&#038;&#038;u&#038;&#038;xX(m,s,u),y.path=bX(m),g=null),yX(i);for(var _=t.editHelpers,T=(_||{}).modifyItem,w=[],b=0;b<h.length;b++){var M=i._fullLayout.selections[b];if(!M){w[b]=M;continue}if(w[b]=M._input,f!==void 0&#038;&#038;b===i._fullLayout._activeSelectionIndex){var S=y;switch(M.type){case\"rect\":T(\"x0\",S.x0),T(\"x1\",S.x1),T(\"y0\",S.y0),T(\"y1\",S.y1);break;case\"path\":T(\"path\",S.path);break}}}return f===void 0?(w.push(y),w):_?_.getUpdateObj():{}}}}});var Ff=K((due,RT)=>{\"use strict\";RT.exports={segmentRE:\/[MLHVQCTSZ][^MLHVQCTSZ]*\/g,paramRE:\/[^\\s,]+\/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:3},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}});var Rl=K(fa=>{\"use strict\";var Ei=Ff(),zT=Fe(),Pl=pt();fa.rangeToShapePosition=function(e){return e.type===\"log\"?e.r2d:function(r){return r}};fa.shapePositionToRange=function(e){return e.type===\"log\"?e.d2r:function(r){return r}};fa.decodeDate=function(e){return function(r){return r.replace&&(r=r.replace(\"_\",\" \")),e(r)}};fa.encodeDate=function(e){return function(r){return e(r).replace(\" \",\"_\")}};fa.extractPathCoords=function(e,r,t){var a=[],n=e.match(Ei.segmentRE);return n.forEach(function(i){var l=r[i.charAt(0)].drawn;if(l!==void 0){var o=i.slice(1).match(Ei.paramRE);if(!(!o||o.length<l)){var s=o[l],u=t?s:zT.cleanNumber(s);a.push(u)}}}),a};fa.countDefiningCoords=function(e,r,t){if(e!==\"path\")return 2;if(!r)return 0;let a=r.match(Ei.segmentRE);if(!a)return 0;let n=t===\"x\"?Ei.paramIsX:Ei.paramIsY;return a.reduce((i,l)=>{let o=l.charAt(0),s=n[o].drawn!==void 0;return i+(s?1:0)},0)};fa.getDataToPixel=function(e,r,t,a,n){var i=e._fullLayout._size,l;if(r)if(n===\"domain\")l=function(s){return r._length*(a?1-s:s)+r._offset};else{var o=fa.shapePositionToRange(r);l=function(s){var u=Di(r,t);return r._offset+r.r2p(o(s,!0))+u},r.type===\"date\"&&(l=fa.decodeDate(l))}else a?l=function(s){return i.t+i.h*(1-s)}:l=function(s){return i.l+i.w*s};return l};fa.getPixelToData=function(e,r,t,a){var n=e._fullLayout._size,i;if(r)if(a===\"domain\")i=function(o){var s=(o-r._offset)\/r._length;return t?1-s:s};else{var l=fa.rangeToShapePosition(r);i=function(o){return l(r.p2r(o-r._offset))}}else t?i=function(o){return 1-(o-n.t)\/n.h}:i=function(o){return(o-n.l)\/n.w};return i};fa.roundPositionForSharpStrokeRendering=function(e,r){var t=Math.round(r%2)===1,a=Math.round(e);return t?a+.5:a};fa.makeShapesOptionsAndPlotinfo=function(e,r){var t=e._fullLayout.shapes[r]||{},a=e._fullLayout._plots[t.xref+t.yref],n=!!a;return n?a._hadPlotinfo=!0:(a={},t.xref&&t.xref!==\"paper\"&&(a.xaxis=e._fullLayout[t.xref+\"axis\"]),t.yref&&t.yref!==\"paper\"&&(a.yaxis=e._fullLayout[t.yref+\"axis\"])),a.xsizemode=t.xsizemode,a.ysizemode=t.ysizemode,a.xanchor=t.xanchor,a.yanchor=t.yanchor,{options:t,plotinfo:a}};fa.makeSelectionsOptionsAndPlotinfo=function(e,r){var t=e._fullLayout.selections[r]||{},a=e._fullLayout._plots[t.xref+t.yref],n=!!a;return n?a._hadPlotinfo=!0:(a={},t.xref&&(a.xaxis=e._fullLayout[t.xref+\"axis\"]),t.yref&&(a.yaxis=e._fullLayout[t.yref+\"axis\"])),{options:t,plotinfo:a}};fa.getPathString=function(e,r){let t=r.type,a=Pl.getRefType(r.xref),n=Pl.getRefType(r.yref),i=e._fullLayout._size;var l,o,s,u,f,v,h,d,m,y,g,_;function T(P,z,F,O){var I;if(P)if(z===\"domain\")O?I=function(V){return P._offset+P._length*(1-V)}:I=function(V){return P._offset+P._length*V};else{let V=fa.shapePositionToRange(P);I=function(J){return P._offset+P.r2p(V(J,!0))},F===\"path\"&&P.type===\"date\"&&(I=fa.decodeDate(I))}else O?I=function(V){return i.t+i.h*(1-V)}:I=function(V){return i.l+i.w*V};return I}if(a===\"array\"?(h=[],l=r.xref.map(function(P){return Pl.getFromId(e,P)}),h=r.xref.map(function(P,z){return T(l[z],Pl.getRefType(P),t,!1)})):(l=Pl.getFromId(e,r.xref),h=T(l,a,t,!1)),n===\"array\"?(d=[],o=r.yref.map(function(P){return Pl.getFromId(e,P)}),d=r.yref.map(function(P,z){return T(o[z],Pl.getRefType(P),t,!0)})):(o=Pl.getFromId(e,r.yref),d=T(o,n,t,!0)),t===\"path\")return _X(r,h,d);if(a===\"array\")s=Di(l[0],r.x0shift),u=Di(l[1],r.x1shift),m=h[0](r.x0)+s,y=h[1](r.x1)+u;else if(s=Di(l,r.x0shift),u=Di(l,r.x1shift),r.xsizemode===\"pixel\"){let P=h(r.xanchor);m=P+r.x0+s,y=P+r.x1+u}else m=h(r.x0)+s,y=h(r.x1)+u;if(n===\"array\")f=Di(o[0],r.y0shift),v=Di(o[1],r.y1shift),g=d[0](r.y0)+f,_=d[1](r.y1)+v;else if(f=Di(o,r.y0shift),v=Di(o,r.y1shift),r.ysizemode===\"pixel\"){let P=d(r.yanchor);g=P-r.y0+f,_=P-r.y1+v}else g=d(r.y0)+f,_=d(r.y1)+v;if(t===\"line\")return\"M\"+m+\",\"+g+\"L\"+y+\",\"+_;if(t===\"rect\")return\"M\"+m+\",\"+g+\"H\"+y+\"V\"+_+\"H\"+m+\"Z\";var w=(m+y)\/2,b=(g+_)\/2,M=Math.abs(w-m),S=Math.abs(b-g),k=\"A\"+M+\",\"+S,q=w+M+\",\"+b,D=w+\",\"+(b-S);return\"M\"+q+k+\" 0 1,1 \"+D+k+\" 0 0,1 \"+q+\"Z\"};function _X(e,r,t){let a=e.path,n=e.xsizemode,i=e.ysizemode,l=e.xanchor,o=e.yanchor,s=Array.isArray(e.xref),u=Array.isArray(e.yref);var f=0,v=0;return a.replace(Ei.segmentRE,function(h){var d=0,m=h.charAt(0),y=Ei.paramIsX[m],g=Ei.paramIsY[m],_=Ei.numParams[m];let T=y.drawn!==void 0,w=g.drawn!==void 0,b=s?r[f]:r,M=u?t[v]:t;var S=h.slice(1).replace(Ei.paramRE,function(k){return y[d]?n===\"pixel\"?k=b(l)+Number(k):k=b(k):g[d]&&(i===\"pixel\"?k=M(o)-Number(k):k=M(k)),d++,d>_&&(k=\"X\"),k});return d>_&&(S=S.replace(\/[\\s,]*X.*\/,\"\"),zT.log(\"Ignoring extra params in segment \"+h)),T&&f++,w&&v++,m+S})}fa.getPixelShift=Di;function Di(e,r){r=r||0;var t=0;return r&&e&&(e.type===\"category\"||e.type===\"multicategory\")&&(t=(e.r2p(1)-e.r2p(0))*r),t}});var Fy=K((mue,IT)=>{\"use strict\";var wX=Fe(),Pi=pt(),NT=ba(),FT=tt(),TX=Dl().readPaths,Io=Rl(),MX=Io.getPathString,If=Hv(),AX=Aa().FROM_TL;IT.exports=function(r,t,a,n){if(n.selectAll(\".shape-label\").remove(),!!(a.label.text||a.label.texttemplate)){var i;if(a.label.texttemplate){var l={};if(a.type!==\"path\"){var o=Pi.getFromId(r,a.xref),s=Pi.getFromId(r,a.yref);let Z=Array.isArray(a.xref),ne=Array.isArray(a.yref);for(var u in If){var f=typeof If[u]==\"function\",v=!Z||If.simpleXVariables.includes(u),h=!ne||If.simpleYVariables.includes(u);if(f&&v&&h){var d=If[u](a,o,s);d!==void 0&&(l[u]=d)}}}i=wX.texttemplateStringForShapes({data:[l],fallback:a.label.texttemplatefallback,locale:r._fullLayout._d3locale,template:a.label.texttemplate})}else i=a.label.text;var m={\"data-index\":t},y=a.label.font,g={\"data-notex\":1},_=n.append(\"g\").attr(m).classed(\"shape-label\",!0),T=_.append(\"text\").attr(g).classed(\"shape-label-text\",!0).text(i),w,b,M,S;if(a.path){var k=MX(r,a),q=TX(k,r);w=1\/0,M=1\/0,b=-1\/0,S=-1\/0;for(var D=0;D<q.length;D++)for(var P=0;P<q[D].length;P++)for(var z=q[D][P],F=1;F<z.length;F+=2){var O=z[F],I=z[F+1];w=Math.min(w,O),b=Math.max(b,O),M=Math.min(M,I),S=Math.max(S,I)}}else{let Z=Array.isArray(a.xref),ne=Array.isArray(a.yref),ce=Pi.getFromId(r,Z?a.xref[0]:a.xref),ye=Pi.getFromId(r,Z?a.xref[1]:a.xref),Ce=Pi.getFromId(r,ne?a.yref[0]:a.yref),re=Pi.getFromId(r,ne?a.yref[1]:a.yref),Se=Pi.getRefType(Z?a.xref[0]:a.xref),pe=Pi.getRefType(Z?a.xref[1]:a.xref),be=Pi.getRefType(ne?a.yref[0]:a.yref),Ae=Pi.getRefType(ne?a.yref[1]:a.yref),ge=($,Y,le,he)=>Io.getDataToPixel(r,le,Y,!1,he)($),B=($,Y,le,he)=>Io.getDataToPixel(r,le,Y,!0,he)($);if(a.xsizemode===\"pixel\"){let $=ge(a.xanchor,void 0,ce,Se),Y=Io.getPixelShift(ce,a.x0shift),le=Io.getPixelShift(ce,a.x1shift);w=$+a.x0+Y,b=$+a.x1+le}else w=ge(a.x0,a.x0shift,ce,Se),b=ge(a.x1,a.x1shift,ye,pe);if(a.ysizemode===\"pixel\"){let $=B(a.yanchor,void 0,Ce,be),Y=Io.getPixelShift(Ce,a.y0shift),le=Io.getPixelShift(Ce,a.y1shift);M=$-a.y0+Y,S=$-a.y1+le}else M=B(a.y0,a.y0shift,Ce,be),S=B(a.y1,a.y1shift,re,Ae)}var V=a.label.textangle;V===\"auto\"&&(a.type===\"line\"?V=kX(w,M,b,S):V=0),T.call(function(Z){return Z.call(FT.font,y).attr({}),NT.convertToTspans(Z,r),Z});var J=FT.bBox(T.node()),G=CX(w,M,b,S,a,V,J),U=G.textx,H=G.texty,Q=G.xanchor;T.attr({\"text-anchor\":{left:\"start\",center:\"middle\",right:\"end\"}[Q],y:H,x:U,transform:\"rotate(\"+V+\",\"+U+\",\"+H+\")\"}).call(NT.positionText,U,H)}};function kX(e,r,t,a){var n,i;return i=Math.abs(t-e),t>=e?n=r-a:n=a-r,-180\/Math.PI*Math.atan2(n,i)}function CX(e,r,t,a,n,i,l){var o=n.label.textposition,s=n.label.textangle,u=n.label.padding,f=n.type,v=Math.PI\/180*i,h=Math.sin(v),d=Math.cos(v),m=n.label.xanchor,y=n.label.yanchor,g,_,T,w;if(f===\"line\"){o===\"start\"?(g=e,_=r):o===\"end\"?(g=t,_=a):(g=(e+t)\/2,_=(r+a)\/2),m===\"auto\"&&(o===\"start\"?s===\"auto\"?t>e?m=\"left\":t<e?m=\"right\":m=\"center\":t>e?m=\"right\":t<e?m=\"left\":m=\"center\":o===\"end\"?s===\"auto\"?t>e?m=\"right\":t<e?m=\"left\":m=\"center\":t>e?m=\"left\":t<e?m=\"right\":m=\"center\":m=\"center\");var b={left:1,center:0,right:-1},M={bottom:-1,middle:0,top:1};if(s===\"auto\"){var S=M[y];T=-u*h*S,w=u*d*S}else{var k=b[m],q=M[y];T=u*k,w=u*q}g=g+T,_=_+w}else T=u+3,o.indexOf(\"right\")!==-1?(g=Math.max(e,t)-T,m===\"auto\"&#038;&#038;(m=\"right\")):o.indexOf(\"left\")!==-1?(g=Math.min(e,t)+T,m===\"auto\"&#038;&#038;(m=\"left\")):(g=(e+t)\/2,m===\"auto\"&#038;&#038;(m=\"center\")),o.indexOf(\"top\")!==-1?_=Math.min(r,a):o.indexOf(\"bottom\")!==-1?_=Math.max(r,a):_=(r+a)\/2,w=u,y===\"bottom\"?_=_-w:y===\"top\"&#038;&#038;(_=_+w);var D=AX[y],P=n.label.font.size,z=l.height,F=(z*D-P)*h,O=-(z*D-P)*d;return{textx:g+F,texty:_+O,xanchor:m}}});var bh=K((yue,WT)=>{\"use strict\";var SX=Fe(),LX=SX.strTranslate,HT=ti(),YT=iu(),qX=YT.drawMode,UT=YT.selectMode,VT=br(),OT=Er(),gh=ch(),DX=gh.i000,EX=gh.i090,PX=gh.i180,RX=gh.i270,zX=wl(),GT=zX.clearOutlineControllers,Hy=Dl(),yh=Hy.pointsOnRectangle,Iy=Hy.pointsOnEllipse,NX=Hy.writePaths,FX=mh().newShapes,IX=mh().createShapeObj,HX=Ny(),OX=Fy();WT.exports=function e(r,t,a,n){n||(n=0);var i=a.gd;function l(){e(r,t,a,n++),(Iy(r[0])||a.hasText)&&o({redrawing:!0})}function o(G){var U={};a.isActiveShape!==void 0&&(a.isActiveShape=!1,U=FX(t,a)),a.isActiveSelection!==void 0&&(a.isActiveSelection=!1,U=HX(t,a),i._fullLayout._reselect=!0),Object.keys(U).length&&VT.call((G||{}).redrawing?\"relayout\":\"_guiRelayout\",i,U)}var s=i._fullLayout,u=s._zoomlayer,f=a.dragmode,v=qX(f),h=UT(f);(v||h)&&(i._fullLayout._outlining=!0),GT(i),t.attr(\"d\",NX(r));var d,m,y,g,_;if(!n&&(a.isActiveShape||a.isActiveSelection)){_=BX([],r);var T=u.append(\"g\").attr(\"class\",\"outline-controllers\");P(T),J()}if(v&&a.hasText){var w=u.select(\".label-temp\"),b=IX(t,a,a.dragmode);OX(i,\"label-temp\",b,w)}function M(G){y=+G.srcElement.getAttribute(\"data-i\"),g=+G.srcElement.getAttribute(\"data-j\"),d[y][g].moveFn=S}function S(G,U){if(r.length){var H=_[y][g][1],Q=_[y][g][2],Z=r[y],ne=Z.length;if(yh(Z)){var ce=G,ye=U;if(a.isActiveSelection){var Ce=BT(Z,g);Ce[1]===Z[g][1]?ye=0:ce=0}for(var re=0;re<ne;re++)if(re!==g){var Se=Z[re];Se[1]===Z[g][1]&#038;&#038;(Se[1]=H+ce),Se[2]===Z[g][2]&#038;&#038;(Se[2]=Q+ye)}if(Z[g][1]=H+ce,Z[g][2]=Q+ye,!yh(Z))for(var pe=0;pe<ne;pe++)for(var be=0;be<Z[pe].length;be++)Z[pe][be]=_[y][pe][be]}else Z[g][1]=H+G,Z[g][2]=Q+U;l()}}function k(){o()}function q(){if(r.length&#038;&#038;r[y]&#038;&#038;r[y].length){for(var G=[],U=0;U<r[y].length;U++)U!==g&#038;&#038;G.push(r[y][U]);G.length>1&&!(G.length===2&&G[1][0]===\"Z\")&&(g===0&&(G[0][0]=\"M\"),r[y]=G,l(),o())}}function D(G,U){if(G===2){y=+U.srcElement.getAttribute(\"data-i\"),g=+U.srcElement.getAttribute(\"data-j\");var H=r[y];!yh(H)&&!Iy(H)&&q()}}function P(G){d=[];for(var U=0;U<r.length;U++){var H=r[U],Q=yh(H),Z=!Q&#038;&#038;Iy(H);d[U]=[];for(var ne=H.length,ce=0;ce<ne;ce++)if(H[ce][0]!==\"Z\"&#038;&#038;!(Z&#038;&#038;ce!==DX&#038;&#038;ce!==EX&#038;&#038;ce!==PX&#038;&#038;ce!==RX)){var ye=Q&#038;&#038;a.isActiveSelection,Ce;ye&#038;&#038;(Ce=BT(H,ce));var re=H[ce][1],Se=H[ce][2],pe=G.append(ye?\"rect\":\"circle\").attr(\"data-i\",U).attr(\"data-j\",ce).style({fill:OT.background,stroke:OT.defaultLine,\"stroke-width\":1,\"shape-rendering\":\"crispEdges\"});if(ye){var be=Ce[1]-re,Ae=Ce[2]-Se,ge=Ae?5:Math.max(Math.min(25,Math.abs(be)-5),5),B=be?5:Math.max(Math.min(25,Math.abs(Ae)-5),5);pe.classed(Ae?\"cursor-ew-resize\":\"cursor-ns-resize\",!0).attr(\"width\",ge).attr(\"height\",B).attr(\"x\",re-ge\/2).attr(\"y\",Se-B\/2).attr(\"transform\",LX(be\/2,Ae\/2))}else pe.classed(\"cursor-grab\",!0).attr(\"r\",5).attr(\"cx\",re).attr(\"cy\",Se);d[U][ce]={element:pe.node(),gd:i,prepFn:M,doneFn:k,clickFn:D},HT.init(d[U][ce])}}}function z(G,U){if(r.length)for(var H=0;H<r.length;H++)for(var Q=0;Q<r[H].length;Q++)for(var Z=0;Z+2<r[H][Q].length;Z+=2)r[H][Q][Z+1]=_[H][Q][Z+1]+G,r[H][Q][Z+2]=_[H][Q][Z+2]+U}function F(G,U){z(G,U),l()}function O(G){y=+G.srcElement.getAttribute(\"data-i\"),y||(y=0),m[y].moveFn=F}function I(){o()}function V(G){G===2&#038;&#038;YX(i)}function J(){if(m=[],!!r.length){var G=0;m[G]={element:t[0][0],gd:i,prepFn:O,doneFn:I,clickFn:V},HT.init(m[G])}}};function BX(e,r){for(var t=0;t<r.length;t++){var a=r[t];e[t]=[];for(var n=0;n<a.length;n++){e[t][n]=[];for(var i=0;i<a[n].length;i++)e[t][n][i]=a[n][i]}}return e}function BT(e,r){var t=e[r][1],a=e[r][2],n=e.length,i,l,o;return i=(r+1)%n,l=e[i][1],o=e[i][2],l===t&#038;&#038;o===a&#038;&#038;(i=(r+2)%n,l=e[i][1],o=e[i][2]),[i,l,o]}function YX(e){if(UT(e._fullLayout.dragmode)){GT(e);var r=e._fullLayout._activeSelectionIndex,t=(e.layout||{}).selections||[];if(r<t.length){for(var a=[],n=0;n<t.length;n++)n!==r&#038;&#038;a.push(t[n]);delete e._fullLayout._activeSelectionIndex;var i=e._fullLayout.selections[r];e._fullLayout._deselect={xref:i.xref,yref:i.yref},VT.call(\"_guiRelayout\",e,{selections:a})}}}});var Mh=K((gue,tM)=>{\"use strict\";var UX=zr(),$T=br(),By=Fe(),Ho=pt(),VX=Dl().readPaths,GX=bh(),_h=Fy(),jT=wl().clearOutlineControllers,Oy=Er(),wh=tt(),WX=ct().arrayEditor,XT=ti(),ZT=ni(),JT=Ll(),Oo=Ff(),tn=Rl(),Yy=tn.getPathString;tM.exports={draw:Uy,drawOne:eM,eraseActiveShape:QX,drawLabel:_h};function Uy(e){var r=e._fullLayout;r._shapeUpperLayer.selectAll(\"path\").remove(),r._shapeLowerLayer.selectAll(\"path\").remove(),r._shapeUpperLayer.selectAll(\"text\").remove(),r._shapeLowerLayer.selectAll(\"text\").remove();for(var t in r._plots){var a=r._plots[t].shapelayer;a&&(a.selectAll(\"path\").remove(),a.selectAll(\"text\").remove())}for(var n=0;n<r.shapes.length;n++)r.shapes[n].visible===!0&#038;&#038;eM(e,n)}function xh(e){return!!e._fullLayout._outlining}function Th(e){return!e._context.edits.shapePosition}function eM(e,r){e._fullLayout._paperdiv.selectAll('.shapelayer [data-index=\"'+r+'\"]').remove();var t=tn.makeShapesOptionsAndPlotinfo(e,r),a=t.options,n=t.plotinfo;if(!a._input||a.visible!==!0)return;let i=Array.isArray(a.xref)||Array.isArray(a.yref);if(a.layer===\"above\")o(e._fullLayout._shapeUpperLayer);else if(a.xref.includes(\"paper\")||a.yref.includes(\"paper\"))o(e._fullLayout._shapeLowerLayer);else if(a.layer===\"between\"&#038;&#038;!i)o(n.shapelayerBetween);else if(n._hadPlotinfo){var l=n.mainplotinfo||n;o(l.shapelayer)}else o(e._fullLayout._shapeLowerLayer);function o(s){var u=Yy(e,a),f={\"data-index\":r,\"fill-rule\":a.fillrule,d:u},v=a.opacity,h=a.fillcolor,d=a.line.width?a.line.color:\"rgba(0,0,0,0)\",m=a.line.width,y=a.line.dash;!m&#038;&#038;a.editable===!0&#038;&#038;(m=5,y=\"solid\");var g=u[u.length-1]!==\"Z\",_=Th(e)&#038;&#038;a.editable&#038;&#038;e._fullLayout._activeShapeIndex===r;_&#038;&#038;(h=g?\"rgba(0,0,0,0)\":e._fullLayout.activeshape.fillcolor,v=e._fullLayout.activeshape.opacity);var T=s.append(\"g\").classed(\"shape-group\",!0).attr({\"data-index\":r}),w=T.append(\"path\").attr(f).style(\"opacity\",v).call(Oy.stroke,d).call(Oy.fill,h).call(wh.dashLine,y,m);rM(T,e,a),_h(e,r,a,T);var b;if((_||e._context.edits.shapePosition)&#038;&#038;(b=WX(e.layout,\"shapes\",a)),_){w.style({cursor:\"move\"});var M={element:w.node(),plotinfo:n,gd:e,editHelpers:b,hasText:a.label.text||a.label.texttemplate,isActiveShape:!0},S=VX(u,e);GX(S,w,M)}else e._context.edits.shapePosition?JX(e,w,a,r,s,b):a.editable===!0&#038;&#038;w.style(\"pointer-events\",g||Oy.opacity(h)*v<=.5?\"stroke\":\"all\");w.node().addEventListener(\"click\",function(){return KX(e,w)}),XX(e,w,n)}}function XX(e,r,t){if(!(t!=null&#038;&#038;t.id))return;let a=r.node();function n(i){var s;let l=t.mainplotinfo||t,o=(s=l==null?void 0:l.draglayer)==null?void 0:s.select(\".nsewdrag\").node();return o?{clientX:i.clientX,clientY:i.clientY,target:o}:null}a.addEventListener(\"mousemove\",i=>{if(!e._dragging&&e._fullLayout.hoveranywhere){let l=n(i);l&&ZT.hover(e,l,t.id)}}),a.addEventListener(\"click\",i=>{if(!e._dragged&&e._fullLayout.clickanywhere){let l=n(i);l&&ZT.click(e,l,t.id)}})}function rM(e,r,t){let a=t.xref,n=t.yref;if(Array.isArray(a)||Array.isArray(n)){let i=\"clip\"+r._fullLayout._uid+\"shape\"+t._index,l=ZX(r,a,n);By.ensureSingleById(r._fullLayout._clips,\"clipPath\",i,function(o){o.append(\"rect\")}).select(\"rect\").attr(l),wh.setClipUrl(e,i,r)}else{let i=(a+n).replace(\/paper\/g,\"\").replace(\/[xyz][0-9]* *domain\/g,\"\");wh.setClipUrl(e,i?\"clip\"+r._fullLayout._uid+i:null,r)}}function ZX(e,r,t){let a=e._fullLayout._size;function n(o,s){let u=(Array.isArray(o)?o:[o]).map(h=>Ho.getFromId(e,h)).filter(Boolean);if(!u.length)return s?[a.t,a.t+a.h]:[a.l,a.l+a.w];let f=u.map(function(h){return h._offset}),v=u.map(function(h){return h._offset+h._length});return[Math.min(...f),Math.max(...v)]}let i=n(r,!1),l=n(t,!0);return{x:i[0],y:l[0],width:i[1]-i[0],height:l[1]-l[0]}}function JX(e,r,t,a,n,i){var l=10,o=10,s=t.xsizemode===\"pixel\",u=t.ysizemode===\"pixel\",f=t.type===\"line\",v=t.type===\"path\",h=i.modifyItem,d,m,y,g,_,T,w,b,M,S,k,q,D,P,z,F=UX.select(r.node().parentNode),O=Ho.getFromId(e,t.xref),I=Ho.getRefType(t.xref),V=Ho.getFromId(e,t.yref),J=Ho.getRefType(t.yref),G=t.x0shift,U=t.x1shift,H=t.y0shift,Q=t.y1shift,Z=function(Ee,Le){var Ve=tn.getDataToPixel(e,O,Le,!1,I);return Ve(Ee)},ne=function(Ee,Le){var Ve=tn.getDataToPixel(e,V,Le,!0,J);return Ve(Ee)},ce=tn.getPixelToData(e,O,!1,I),ye=tn.getPixelToData(e,V,!0,J),Ce=pe(),re={element:Ce.node(),gd:e,prepFn:ge,doneFn:B,clickFn:$},Se;XT.init(re),Ce.node().onmousemove=Ae;function pe(){return f?be():r}function be(){var Ee=10,Le=Math.max(t.line.width,Ee),Ve=n.append(\"g\").attr(\"data-index\",a).attr(\"drag-helper\",!0);Ve.append(\"path\").attr(\"d\",r.attr(\"d\")).style({cursor:\"move\",\"stroke-width\":Le,\"stroke-opacity\":\"0\"});var Ie={\"fill-opacity\":\"0\"},Xe=Math.max(Le\/2,Ee);return Ve.append(\"circle\").attr({\"data-line-point\":\"start-point\",cx:s?Z(t.xanchor)+t.x0:Z(t.x0,G),cy:u?ne(t.yanchor)-t.y0:ne(t.y0,H),r:Xe}).style(Ie).classed(\"cursor-grab\",!0),Ve.append(\"circle\").attr({\"data-line-point\":\"end-point\",cx:s?Z(t.xanchor)+t.x1:Z(t.x1,U),cy:u?ne(t.yanchor)-t.y1:ne(t.y1,Q),r:Xe}).style(Ie).classed(\"cursor-grab\",!0),Ve}function Ae(Ee){if(xh(e)){Se=null;return}if(f)Ee.target.tagName===\"path\"?Se=\"move\":Se=Ee.target.attributes[\"data-line-point\"].value===\"start-point\"?\"resize-over-start-point\":\"resize-over-end-point\";else{var Le=re.element.getBoundingClientRect(),Ve=Le.right-Le.left,Ie=Le.bottom-Le.top,Xe=Ee.clientX-Le.left,De=Ee.clientY-Le.top,He=!v&&Ve>l&&Ie>o&&!Ee.shiftKey?XT.getCursor(Xe\/Ve,1-De\/Ie):\"move\";JT(r,He),Se=He.split(\"-\")[0]}}function ge(Ee){xh(e)||(s&&(_=Z(t.xanchor)),u&&(T=ne(t.yanchor)),t.type===\"path\"?z=t.path:(d=s?t.x0:Z(t.x0),m=u?t.y0:ne(t.y0),y=s?t.x1:Z(t.x1),g=u?t.y1:ne(t.y1)),d<y?(M=d,D=\"x0\",S=y,P=\"x1\"):(M=y,D=\"x1\",S=d,P=\"x0\"),!u&#038;&#038;m<g||u&#038;&#038;m>g?(w=m,k=\"y0\",b=g,q=\"y1\"):(w=g,k=\"y1\",b=m,q=\"y0\"),Ae(Ee),he(n,t),Re(r,t,e),re.moveFn=Se===\"move\"?Y:le,re.altKey=Ee.altKey)}function B(){xh(e)||(JT(r),me(n),rM(r,e,t),$T.call(\"_guiRelayout\",e,i.getUpdateObj()))}function $(){xh(e)||me(n)}function Y(Ee,Le){if(t.type===\"path\"){var Ve=function(De){return De},Ie=Ve,Xe=Ve;s?h(\"xanchor\",t.xanchor=ce(_+Ee)):(Ie=function(He){return ce(Z(He)+Ee)},O&&O.type===\"date\"&&(Ie=tn.encodeDate(Ie))),u?h(\"yanchor\",t.yanchor=ye(T+Le)):(Xe=function(He){return ye(ne(He)+Le)},V&&V.type===\"date\"&&(Xe=tn.encodeDate(Xe))),h(\"path\",t.path=KT(z,Ie,Xe))}else s?h(\"xanchor\",t.xanchor=ce(_+Ee)):(h(\"x0\",t.x0=ce(d+Ee)),h(\"x1\",t.x1=ce(y+Ee))),u?h(\"yanchor\",t.yanchor=ye(T+Le)):(h(\"y0\",t.y0=ye(m+Le)),h(\"y1\",t.y1=ye(g+Le)));r.attr(\"d\",Yy(e,t)),he(n,t),_h(e,a,t,F)}function le(Ee,Le){if(v){var Ve=function(Ge){return Ge},Ie=Ve,Xe=Ve;s?h(\"xanchor\",t.xanchor=ce(_+Ee)):(Ie=function(ir){return ce(Z(ir)+Ee)},O&&O.type===\"date\"&&(Ie=tn.encodeDate(Ie))),u?h(\"yanchor\",t.yanchor=ye(T+Le)):(Xe=function(ir){return ye(ne(ir)+Le)},V&&V.type===\"date\"&&(Xe=tn.encodeDate(Xe))),h(\"path\",t.path=KT(z,Ie,Xe))}else if(f){if(Se===\"resize-over-start-point\"){var De=d+Ee,He=u?m-Le:m+Le;h(\"x0\",t.x0=s?De:ce(De)),h(\"y0\",t.y0=u?He:ye(He))}else if(Se===\"resize-over-end-point\"){var We=y+Ee,ie=u?g-Le:g+Le;h(\"x1\",t.x1=s?We:ce(We)),h(\"y1\",t.y1=u?ie:ye(ie))}}else{var xe=function(Ge){return Se.indexOf(Ge)!==-1},Ke=xe(\"n\"),hr=xe(\"s\"),ze=xe(\"w\"),Me=xe(\"e\"),ke=Ke?w+Le:w,Oe=hr?b+Le:b,Ze=ze?M+Ee:M,Ue=Me?S+Ee:S;u&&(Ke&&(ke=w-Le),hr&&(Oe=b-Le)),(!u&&Oe-ke>o||u&&ke-Oe>o)&&(h(k,t[k]=u?ke:ye(ke)),h(q,t[q]=u?Oe:ye(Oe))),Ue-Ze>l&&(h(D,t[D]=s?Ze:ce(Ze)),h(P,t[P]=s?Ue:ce(Ue)))}r.attr(\"d\",Yy(e,t)),he(n,t),_h(e,a,t,F)}function he(Ee,Le){(s||u)&&Ve();function Ve(){var Ie=Le.type!==\"path\",Xe=Ee.selectAll(\".visual-cue\").data([0]),De=1;Xe.enter().append(\"path\").attr({fill:\"#fff\",\"fill-rule\":\"evenodd\",stroke:\"#000\",\"stroke-width\":De}).classed(\"visual-cue\",!0);var He=Z(s?Le.xanchor:By.midRange(Ie?[Le.x0,Le.x1]:tn.extractPathCoords(Le.path,Oo.paramIsX))),We=ne(u?Le.yanchor:By.midRange(Ie?[Le.y0,Le.y1]:tn.extractPathCoords(Le.path,Oo.paramIsY)));if(He=tn.roundPositionForSharpStrokeRendering(He,De),We=tn.roundPositionForSharpStrokeRendering(We,De),s&&u){var ie=\"M\"+(He-1-De)+\",\"+(We-1-De)+\"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z\";Xe.attr(\"d\",ie)}else if(s){var xe=\"M\"+(He-1-De)+\",\"+(We-9-De)+\"v18 h2 v-18 Z\";Xe.attr(\"d\",xe)}else{var Ke=\"M\"+(He-9-De)+\",\"+(We-1-De)+\"h18 v2 h-18 Z\";Xe.attr(\"d\",Ke)}}}function me(Ee){Ee.selectAll(\".visual-cue\").remove()}function Re(Ee,Le,Ve){var Ie=Le.xref,Xe=Le.yref,De=Ho.getFromId(Ve,Ie),He=Ho.getFromId(Ve,Xe),We=\"\";Ie!==\"paper\"&&!De.autorange&&(We+=Ie),Xe!==\"paper\"&&!He.autorange&&(We+=Xe),wh.setClipUrl(Ee,We?\"clip\"+Ve._fullLayout._uid+We:null,Ve)}}function KT(e,r,t){return e.replace(Oo.segmentRE,function(a){var n=0,i=a.charAt(0),l=Oo.paramIsX[i],o=Oo.paramIsY[i],s=Oo.numParams[i],u=a.slice(1).replace(Oo.paramRE,function(f){return n>=s||(l[n]?f=r(f):o[n]&&(f=t(f)),n++),f});return i+u})}function KX(e,r){if(Th(e)){var t=r.node(),a=+t.getAttribute(\"data-index\");if(a>=0){if(a===e._fullLayout._activeShapeIndex){QT(e);return}e._fullLayout._activeShapeIndex=a,e._fullLayout._deactivateShape=QT,Uy(e)}}}function QT(e){if(Th(e)){var r=e._fullLayout._activeShapeIndex;r>=0&&(jT(e),delete e._fullLayout._activeShapeIndex,Uy(e))}}function QX(e){if(Th(e)){jT(e);var r=e._fullLayout._activeShapeIndex,t=(e.layout||{}).shapes||[];if(r<t.length){for(var a=[],n=0;n<t.length;n++)n!==r&#038;&#038;a.push(t[n]);return delete e._fullLayout._activeShapeIndex,$T.call(\"_guiRelayout\",e,{shapes:a})}}}});var iM=K((bue,nM)=>{\"use strict\";var aM=zr(),Ah=Fe()._;nM.exports=function(r,t,a){var n=aM.select(r._fullLayout._paperdiv.node());n.selectAll(\".plotly-cloud-dialog\").remove();var i=n.append(\"div\").classed(\"plotly-cloud-dialog\",!0),l=i.append(\"div\").classed(\"plotly-cloud-dialog-box\",!0);l.append(\"div\").classed(\"plotly-cloud-dialog-title\",!0).text(Ah(r,\"Share with Plotly Cloud\")),l.append(\"div\").classed(\"plotly-cloud-dialog-message\",!0).text(Ah(r,\"This chart and its data will be sent to\")+\" \"+t+\".\");var o=l.append(\"div\").classed(\"plotly-cloud-dialog-buttons\",!0);function s(){i.remove(),document.removeEventListener(\"keydown\",u)}function u(f){(f.key===\"Escape\"||f.keyCode===27)&&s()}document.addEventListener(\"keydown\",u),i.on(\"click\",function(){aM.event.target===i.node()&&s()}),o.append(\"button\").classed(\"plotly-cloud-dialog-btn\",!0).classed(\"plotly-cloud-dialog-btn--cancel\",!0).text(Ah(r,\"Cancel\")).on(\"click\",s),o.append(\"button\").classed(\"plotly-cloud-dialog-btn\",!0).classed(\"plotly-cloud-dialog-btn--confirm\",!0).text(Ah(r,\"Share\")).on(\"click\",function(){s(),a()})}});var Wy=K((xue,hM)=>{\"use strict\";var qn=br(),$X=It(),lM=Zt(),Vr=uh(),jX=Mh().eraseActiveShape,eZ=iM(),kh=Fe(),Br=kh._,Yr=hM.exports={};Yr.toImage={name:\"toImage\",title:function(e){var r=e._context.toImageButtonOptions||{},t=r.format||\"png\";return t===\"png\"?Br(e,\"Download plot as a PNG\"):Br(e,\"Download plot\")},icon:Vr.camera,click:function(e){var r=e._context.toImageButtonOptions,t={format:r.format||\"png\"};kh.notifier(Br(e,\"Taking snapshot - this may take a few seconds\"),\"long\",e),[\"filename\",\"width\",\"height\",\"scale\"].forEach(function(a){a in r&&(t[a]=r[a])}),qn.call(\"downloadImage\",e,t).then(function(a){kh.notifier(Br(e,\"Snapshot succeeded\")+\" - \"+a,\"long\",e)}).catch(function(){kh.notifier(Br(e,\"Sorry, there was a problem downloading your snapshot!\"),\"long\",e)})}};Yr.sendChartToCloud={name:\"sendChartToCloud\",title:function(e){return Br(e,\"Share with Plotly Cloud\")},icon:Vr.cloudupload,click:function(e){var r=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(!r){console.error(\"No destination URL provided (plotlyServerURL is not set)\");return}try{new URL(r)}catch(t){console.error(\"Invalid plotlyServerURL: \"+r);return}eZ(e,r,function(){$X.sendDataToCloud(e,r)})}};Yr.sendDataToCloud=Yr.sendChartToCloud;Yr.zoom2d={name:\"zoom2d\",_cat:\"zoom\",title:function(e){return Br(e,\"Zoom\")},attr:\"dragmode\",val:\"zoom\",icon:Vr.zoombox,click:Na};Yr.pan2d={name:\"pan2d\",_cat:\"pan\",title:function(e){return Br(e,\"Pan\")},attr:\"dragmode\",val:\"pan\",icon:Vr.pan,click:Na};Yr.select2d={name:\"select2d\",_cat:\"select\",title:function(e){return Br(e,\"Box Select\")},attr:\"dragmode\",val:\"select\",icon:Vr.selectbox,click:Na};Yr.lasso2d={name:\"lasso2d\",_cat:\"lasso\",title:function(e){return Br(e,\"Lasso Select\")},attr:\"dragmode\",val:\"lasso\",icon:Vr.lasso,click:Na};Yr.drawclosedpath={name:\"drawclosedpath\",title:function(e){return Br(e,\"Draw closed freeform\")},attr:\"dragmode\",val:\"drawclosedpath\",icon:Vr.drawclosedpath,click:Na};Yr.drawopenpath={name:\"drawopenpath\",title:function(e){return Br(e,\"Draw open freeform\")},attr:\"dragmode\",val:\"drawopenpath\",icon:Vr.drawopenpath,click:Na};Yr.drawline={name:\"drawline\",title:function(e){return Br(e,\"Draw line\")},attr:\"dragmode\",val:\"drawline\",icon:Vr.drawline,click:Na};Yr.drawrect={name:\"drawrect\",title:function(e){return Br(e,\"Draw rectangle\")},attr:\"dragmode\",val:\"drawrect\",icon:Vr.drawrect,click:Na};Yr.drawcircle={name:\"drawcircle\",title:function(e){return Br(e,\"Draw circle\")},attr:\"dragmode\",val:\"drawcircle\",icon:Vr.drawcircle,click:Na};Yr.eraseshape={name:\"eraseshape\",title:function(e){return Br(e,\"Erase active shape\")},icon:Vr.eraseshape,click:jX};Yr.zoomIn2d={name:\"zoomIn2d\",_cat:\"zoomin\",title:function(e){return Br(e,\"Zoom in\")},attr:\"zoom\",val:\"in\",icon:Vr.zoom_plus,click:Na};Yr.zoomOut2d={name:\"zoomOut2d\",_cat:\"zoomout\",title:function(e){return Br(e,\"Zoom out\")},attr:\"zoom\",val:\"out\",icon:Vr.zoom_minus,click:Na};Yr.autoScale2d={name:\"autoScale2d\",_cat:\"autoscale\",title:function(e){return Br(e,\"Autoscale\")},attr:\"zoom\",val:\"auto\",icon:Vr.autoscale,click:Na};Yr.resetScale2d={name:\"resetScale2d\",_cat:\"resetscale\",title:function(e){return Br(e,\"Reset axes\")},attr:\"zoom\",val:\"reset\",icon:Vr.home,click:Na};Yr.hoverClosestCartesian={name:\"hoverClosestCartesian\",_cat:\"hoverclosest\",title:function(e){return Br(e,\"Show closest data on hover\")},attr:\"hovermode\",val:\"closest\",icon:Vr.tooltip_basic,gravity:\"ne\",click:Na};Yr.hoverCompareCartesian={name:\"hoverCompareCartesian\",_cat:\"hoverCompare\",title:function(e){return Br(e,\"Compare data on hover\")},attr:\"hovermode\",val:function(e){return e._fullLayout._isHoriz?\"y\":\"x\"},icon:Vr.tooltip_compare,gravity:\"ne\",click:Na};function Na(e,r){var t=r.currentTarget,a=t.getAttribute(\"data-attr\"),n=t.getAttribute(\"data-val\")||!0,i=e._fullLayout,l={},o=lM.list(e,null,!0),s=i._cartesianSpikesEnabled,u,f;if(a===\"zoom\"){var v=n===\"in\"?.5:2,h=(1+v)\/2,d=(1-v)\/2,m,y;for(f=0;f<o.length;f++)if(u=o[f],y=u.modebardisable===\"none\"||u.modebardisable.indexOf(n===\"auto\"||n===\"reset\"?\"autoscale\":\"zoominout\")===-1,y&#038;&#038;!u.fixedrange)if(m=u._name,n===\"auto\")l[m+\".autorange\"]=!0;else if(n===\"reset\")u._rangeInitial0===void 0&#038;&#038;u._rangeInitial1===void 0?l[m+\".autorange\"]=!0:u._rangeInitial0===void 0?(l[m+\".autorange\"]=u._autorangeInitial,l[m+\".range\"]=[null,u._rangeInitial1]):u._rangeInitial1===void 0?(l[m+\".range\"]=[u._rangeInitial0,null],l[m+\".autorange\"]=u._autorangeInitial):l[m+\".range\"]=[u._rangeInitial0,u._rangeInitial1],u._showSpikeInitial!==void 0&#038;&#038;(l[m+\".showspikes\"]=u._showSpikeInitial,s===\"on\"&#038;&#038;!u._showSpikeInitial&#038;&#038;(s=\"off\"));else{var g=[u.r2l(u.range[0]),u.r2l(u.range[1])],_=[h*g[0]+d*g[1],h*g[1]+d*g[0]];l[m+\".range[0]\"]=u.l2r(_[0]),l[m+\".range[1]\"]=u.l2r(_[1])}}else a===\"hovermode\"&#038;&#038;(n===\"x\"||n===\"y\")&#038;&#038;(n=i._isHoriz?\"y\":\"x\",t.setAttribute(\"data-val\",n)),l[a]=n;i._cartesianSpikesEnabled=s,qn.call(\"_guiRelayout\",e,l)}Yr.zoom3d={name:\"zoom3d\",_cat:\"zoom\",title:function(e){return Br(e,\"Zoom\")},attr:\"scene.dragmode\",val:\"zoom\",icon:Vr.zoombox,click:Ch};Yr.pan3d={name:\"pan3d\",_cat:\"pan\",title:function(e){return Br(e,\"Pan\")},attr:\"scene.dragmode\",val:\"pan\",icon:Vr.pan,click:Ch};Yr.orbitRotation={name:\"orbitRotation\",title:function(e){return Br(e,\"Orbital rotation\")},attr:\"scene.dragmode\",val:\"orbit\",icon:Vr[\"3d_rotate\"],click:Ch};Yr.tableRotation={name:\"tableRotation\",title:function(e){return Br(e,\"Turntable rotation\")},attr:\"scene.dragmode\",val:\"turntable\",icon:Vr[\"z-axis\"],click:Ch};function Ch(e,r){for(var t=r.currentTarget,a=t.getAttribute(\"data-attr\"),n=t.getAttribute(\"data-val\")||!0,i=e._fullLayout._subplots.gl3d||[],l={},o=a.split(\".\"),s=0;s<i.length;s++)l[i[s]+\".\"+o[1]]=n;var u=n===\"pan\"?n:\"zoom\";l.dragmode=u,qn.call(\"_guiRelayout\",e,l)}Yr.resetCameraDefault3d={name:\"resetCameraDefault3d\",_cat:\"resetCameraDefault\",title:function(e){return Br(e,\"Reset camera to default\")},attr:\"resetDefault\",icon:Vr.home,click:Vy};Yr.resetCameraLastSave3d={name:\"resetCameraLastSave3d\",_cat:\"resetCameraLastSave\",title:function(e){return Br(e,\"Reset camera to last save\")},attr:\"resetLastSave\",icon:Vr.movie,click:Vy};function Vy(e,r){for(var t=r.currentTarget,a=t.getAttribute(\"data-attr\"),n=a===\"resetLastSave\",i=a===\"resetDefault\",l=e._fullLayout,o=l._subplots.gl3d||[],s={},u=0;u<o.length;u++){var f=o[u],v=f+\".camera\",h=f+\".aspectratio\",d=f+\".aspectmode\",m=l[f]._scene,y;n?(s[v+\".up\"]=m.viewInitial.up,s[v+\".eye\"]=m.viewInitial.eye,s[v+\".center\"]=m.viewInitial.center,y=!0):i&#038;&#038;(s[v+\".up\"]=null,s[v+\".eye\"]=null,s[v+\".center\"]=null,y=!0),y&#038;&#038;(s[h+\".x\"]=m.viewInitial.aspectratio.x,s[h+\".y\"]=m.viewInitial.aspectratio.y,s[h+\".z\"]=m.viewInitial.aspectratio.z,s[d]=m.viewInitial.aspectmode)}qn.call(\"_guiRelayout\",e,s)}Yr.hoverClosest3d={name:\"hoverClosest3d\",_cat:\"hoverclosest\",title:function(e){return Br(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:null,toggle:!0,icon:Vr.tooltip_basic,gravity:\"ne\",click:rZ};function oM(e,r){var t=r.currentTarget,a=t._previousVal,n=e._fullLayout,i=n._subplots.gl3d||[],l=[\"xaxis\",\"yaxis\",\"zaxis\"],o={},s={};if(a)s=a,t._previousVal=null;else{for(var u=0;u<i.length;u++){var f=i[u],v=n[f],h=f+\".hovermode\";o[h]=v.hovermode,s[h]=!1;for(var d=0;d<3;d++){var m=l[d],y=f+\".\"+m+\".showspikes\";s[y]=!1,o[y]=v[m].showspikes}}t._previousVal=o}return s}function rZ(e,r){var t=oM(e,r);qn.call(\"_guiRelayout\",e,t)}Yr.zoomInGeo={name:\"zoomInGeo\",_cat:\"zoomin\",title:function(e){return Br(e,\"Zoom in\")},attr:\"zoom\",val:\"in\",icon:Vr.zoom_plus,click:Gy};Yr.zoomOutGeo={name:\"zoomOutGeo\",_cat:\"zoomout\",title:function(e){return Br(e,\"Zoom out\")},attr:\"zoom\",val:\"out\",icon:Vr.zoom_minus,click:Gy};Yr.resetGeo={name:\"resetGeo\",_cat:\"reset\",title:function(e){return Br(e,\"Reset\")},attr:\"reset\",val:null,icon:Vr.autoscale,click:Gy};Yr.hoverClosestGeo={name:\"hoverClosestGeo\",_cat:\"hoverclosest\",title:function(e){return Br(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:null,toggle:!0,icon:Vr.tooltip_basic,gravity:\"ne\",click:uM};function Gy(e,r){for(var t=r.currentTarget,a=t.getAttribute(\"data-attr\"),n=t.getAttribute(\"data-val\")||!0,i=e._fullLayout,l=i._subplots.geo||[],o=0;o<l.length;o++){var s=l[o],u=i[s];if(a===\"zoom\"){var f=u.projection.scale,v=n===\"in\"?2*f:.5*f;qn.call(\"_guiRelayout\",e,s+\".projection.scale\",v)}}a===\"reset\"&#038;&#038;su(e,\"geo\")}Yr.hoverClosestPie={name:\"hoverClosestPie\",_cat:\"hoverclosest\",title:function(e){return Br(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:\"closest\",icon:Vr.tooltip_basic,gravity:\"ne\",click:uM};function sM(e){var r=e._fullLayout;return r.hovermode?!1:r._has(\"cartesian\")?r._isHoriz?\"y\":\"x\":\"closest\"}function uM(e){var r=sM(e);qn.call(\"_guiRelayout\",e,\"hovermode\",r)}Yr.resetViewSankey={name:\"resetSankeyGroup\",title:function(e){return Br(e,\"Reset view\")},icon:Vr.home,click:function(e){for(var r={\"node.groups\":[],\"node.x\":[],\"node.y\":[]},t=0;t<e._fullData.length;t++){var a=e._fullData[t]._viewInitial;r[\"node.groups\"].push(a.node.groups.slice()),r[\"node.x\"].push(a.node.x.slice()),r[\"node.y\"].push(a.node.y.slice())}qn.call(\"restyle\",e,r)}};Yr.toggleHover={name:\"toggleHover\",title:function(e){return Br(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:null,toggle:!0,icon:Vr.tooltip_basic,gravity:\"ne\",click:function(e,r){var t=oM(e,r);t.hovermode=sM(e),qn.call(\"_guiRelayout\",e,t)}};Yr.resetViews={name:\"resetViews\",title:function(e){return Br(e,\"Reset views\")},icon:Vr.home,click:function(e,r){var t=r.currentTarget;t.setAttribute(\"data-attr\",\"zoom\"),t.setAttribute(\"data-val\",\"reset\"),Na(e,r),t.setAttribute(\"data-attr\",\"resetLastSave\"),Vy(e,r),su(e,\"geo\"),su(e,\"mapbox\"),su(e,\"map\")}};Yr.toggleSpikelines={name:\"toggleSpikelines\",title:function(e){return Br(e,\"Toggle Spike Lines\")},icon:Vr.spikeline,attr:\"_cartesianSpikesEnabled\",val:\"on\",click:function(e){var r=e._fullLayout,t=r._cartesianSpikesEnabled;r._cartesianSpikesEnabled=t===\"on\"?\"off\":\"on\",qn.call(\"_guiRelayout\",e,tZ(e))}};function tZ(e){for(var r=e._fullLayout,t=r._cartesianSpikesEnabled===\"on\",a=lM.list(e,null,!0),n={},i=0;i<a.length;i++){var l=a[i];n[l._name+\".showspikes\"]=t?!0:l._showSpikeInitial}return n}Yr.resetViewMapbox={name:\"resetViewMapbox\",_cat:\"resetView\",title:function(e){return Br(e,\"Reset view\")},attr:\"reset\",icon:Vr.home,click:function(e){su(e,\"mapbox\")}};Yr.resetViewMap={name:\"resetViewMap\",_cat:\"resetView\",title:function(e){return Br(e,\"Reset view\")},attr:\"reset\",icon:Vr.home,click:function(e){su(e,\"map\")}};Yr.zoomInMapbox={name:\"zoomInMapbox\",_cat:\"zoomin\",title:function(e){return Br(e,\"Zoom in\")},attr:\"zoom\",val:\"in\",icon:Vr.zoom_plus,click:fM};Yr.zoomInMap={name:\"zoomInMap\",_cat:\"zoomin\",title:function(e){return Br(e,\"Zoom in\")},attr:\"zoom\",val:\"in\",icon:Vr.zoom_plus,click:cM};Yr.zoomOutMapbox={name:\"zoomOutMapbox\",_cat:\"zoomout\",title:function(e){return Br(e,\"Zoom out\")},attr:\"zoom\",val:\"out\",icon:Vr.zoom_minus,click:fM};Yr.zoomOutMap={name:\"zoomOutMap\",_cat:\"zoomout\",title:function(e){return Br(e,\"Zoom out\")},attr:\"zoom\",val:\"out\",icon:Vr.zoom_minus,click:cM};function fM(e,r){vM(e,r,\"mapbox\")}function cM(e,r){vM(e,r,\"map\")}function vM(e,r,t){for(var a=r.currentTarget,n=a.getAttribute(\"data-val\"),i=e._fullLayout,l=i._subplots[t]||[],o=1.05,s={},u=0;u<l.length;u++){var f=l[u],v=i[f].zoom,h=n===\"in\"?o*v:v\/o;s[f+\".zoom\"]=h}qn.call(\"_guiRelayout\",e,s)}function su(e,r){for(var t=e._fullLayout,a=t._subplots[r]||[],n={},i=0;i<a.length;i++)for(var l=a[i],o=t[l]._subplot,s=o.viewInitial,u=Object.keys(s),f=0;f<u.length;f++){var v=u[f];n[l+\".\"+v]=s[v]}qn.call(\"_guiRelayout\",e,n)}});var Xy=K((_ue,yM)=>{\"use strict\";var dM=Wy(),aZ=Object.keys(dM),pM=[\"drawline\",\"drawopenpath\",\"drawclosedpath\",\"drawcircle\",\"drawrect\",\"eraseshape\"],mM=[\"v1hovermode\",\"hoverclosest\",\"hovercompare\",\"togglehover\",\"togglespikelines\"].concat(pM),uu=[],nZ=function(e){if(mM.indexOf(e._cat||e.name)===-1){var r=e.name,t=(e._cat||e.name).toLowerCase();uu.indexOf(r)===-1&&uu.push(r),uu.indexOf(t)===-1&&uu.push(t)}};aZ.forEach(function(e){nZ(dM[e])});uu.sort();yM.exports={DRAW_MODES:pM,backButtons:mM,foreButtons:uu}});var Zy=K((Tue,gM)=>{\"use strict\";var wue=Xy();gM.exports={editType:\"modebar\",orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],dflt:\"h\",editType:\"modebar\"},bgcolor:{valType:\"color\",editType:\"modebar\"},color:{valType:\"color\",editType:\"modebar\"},activecolor:{valType:\"color\",editType:\"modebar\"},uirevision:{valType:\"any\",editType:\"none\"},add:{valType:\"string\",arrayOk:!0,dflt:\"\",editType:\"modebar\"},remove:{valType:\"string\",arrayOk:!0,dflt:\"\",editType:\"modebar\"}}});var xM=K((Mue,bM)=>{\"use strict\";var iZ=Fe(),Hf=Er(),lZ=ct(),oZ=Zy();bM.exports=function(r,t){var a=r.modebar||{},n=lZ.newContainer(t,\"modebar\");function i(o,s){return iZ.coerce(a,n,oZ,o,s)}i(\"orientation\"),i(\"bgcolor\",Hf.addOpacity(t.paper_bgcolor,.5));var l=Hf.contrast(Hf.rgb(t.modebar.bgcolor));i(\"color\",Hf.addOpacity(l,.3)),i(\"activecolor\",Hf.addOpacity(l,.7)),i(\"uirevision\",t.uirevision),i(\"add\"),i(\"remove\")}});var MM=K((Aue,TM)=>{\"use strict\";var Jy=zr(),sZ=Hr(),Sh=Fe(),_M=uh(),uZ=Zu().version,fZ=new DOMParser;function wM(e){this.container=e.container,this.element=document.createElement(\"div\"),this.update(e.graphInfo,e.buttons),this.container.appendChild(this.element)}var Ri=wM.prototype;Ri.update=function(e,r){this.graphInfo=e;var t=this.graphInfo._context,a=this.graphInfo._fullLayout,n=\"modebar-\"+a._uid;this.element.setAttribute(\"id\",n),this.element.setAttribute(\"role\",\"toolbar\"),this._uid=n,this.element.className=\"modebar modebar--custom\",t.displayModeBar===\"hover\"&&(this.element.className+=\" modebar--hover ease-bg\"),a.modebar.orientation===\"v\"&&(this.element.className+=\" vertical\",r=r.reverse());var i=a.modebar,l=\"#\"+n+\" .modebar-group\";document.querySelectorAll(l).forEach(function(v){v.style.backgroundColor=i.bgcolor});var o=!this.hasButtons(r),s=this.hasLogo!==t.displaylogo,u=this.locale!==t.locale;if(this.locale=t.locale,(o||s||u)&&(this.removeAllButtons(),this.updateButtons(r),t.watermark||t.displaylogo)){var f=this.getLogo();t.watermark&&(f.className=f.className+\" watermark\"),a.modebar.orientation===\"v\"?this.element.insertBefore(f,this.element.childNodes[0]):this.element.appendChild(f),this.hasLogo=!0}this.updateActiveButton(),Sh.setStyleOnHover(\"#\"+n+\" .modebar-btn\",\".active\",\".icon path\",\"fill: \"+i.activecolor,\"fill: \"+i.color,this.element)};Ri.updateButtons=function(e){var r=this;this.buttons=e,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach(function(t){var a=r.createGroup();t.forEach(function(n){var i=n.name;if(!i)throw new Error(\"must provide button 'name' in button config\");if(r.buttonsNames.indexOf(i)!==-1)throw new Error(\"button name '\"+i+\"' is taken\");r.buttonsNames.push(i);var l=r.createButton(n);r.buttonElements.push(l),a.appendChild(l)}),r.element.appendChild(a)})};Ri.createGroup=function(){var e=document.createElement(\"div\");e.className=\"modebar-group\";var r=this.graphInfo._fullLayout.modebar;return e.style.backgroundColor=r.bgcolor,e};Ri.createButton=function(e){var r=this,t=document.createElement(\"button\");t.setAttribute(\"type\",\"button\"),t.setAttribute(\"rel\",\"tooltip\"),t.className=\"modebar-btn\";var a=e.title;a===void 0?a=e.name:typeof a==\"function\"&&(a=a(this.graphInfo)),(a||a===0)&&(t.setAttribute(\"data-title\",a),t.setAttribute(\"aria-label\",a)),e.attr!==void 0&&t.setAttribute(\"data-attr\",e.attr);var n=e.val;n!==void 0&&(typeof n==\"function\"&&(n=n(this.graphInfo)),t.setAttribute(\"data-val\",n));var i=e.click;if(typeof i!=\"function\")throw new Error(\"must provide button 'click' function in button config\");t.addEventListener(\"click\",function(o){e.click(r.graphInfo,o),r.updateActiveButton(o.currentTarget)}),t.setAttribute(\"data-toggle\",e.toggle||!1),e.toggle&&Jy.select(t).classed(\"active\",!0);var l=e.icon;return typeof l==\"function\"?t.appendChild(l()):t.appendChild(this.createIcon(l||_M.question)),t.setAttribute(\"data-gravity\",e.gravity||\"n\"),t};Ri.createIcon=function(e){var r=sZ(e.height)?Number(e.height):e.ascent-e.descent,t=\"http:\/\/www.w3.org\/2000\/svg\",a;if(e.path){a=document.createElementNS(t,\"svg\"),a.setAttribute(\"viewBox\",[0,0,e.width,r].join(\" \")),a.setAttribute(\"class\",\"icon\");var n=document.createElementNS(t,\"path\");n.setAttribute(\"d\",e.path),e.transform?n.setAttribute(\"transform\",e.transform):e.ascent!==void 0&&n.setAttribute(\"transform\",\"matrix(1 0 0 -1 0 \"+e.ascent+\")\"),a.appendChild(n)}if(e.svg){var i=fZ.parseFromString(e.svg,\"application\/xml\");a=i.childNodes[0]}return a.setAttribute(\"height\",\"1em\"),a.setAttribute(\"width\",\"1em\"),a};Ri.updateActiveButton=function(e){var r=this.graphInfo._fullLayout,t=e!==void 0?e.getAttribute(\"data-attr\"):null;this.buttonElements.forEach(function(a){var n=a.getAttribute(\"data-val\")||!0,i=a.getAttribute(\"data-attr\"),l=a.getAttribute(\"data-toggle\")===\"true\",o=Jy.select(a),s=function(v,h){var d=r.modebar,m=v.querySelector(\".icon path\");m&&(h||v.matches(\":hover\")?m.style.fill=d.activecolor:m.style.fill=d.color)};if(l){if(i===t){var u=!o.classed(\"active\");o.classed(\"active\",u),s(a,u)}}else{var f=i===null?i:Sh.nestedProperty(r,i).get();o.classed(\"active\",f===n),s(a,f===n)}})};Ri.hasButtons=function(e){var r=this.buttons;if(!r||e.length!==r.length)return!1;for(var t=0;t<e.length;++t){if(e[t].length!==r[t].length)return!1;for(var a=0;a<e[t].length;a++)if(e[t][a].name!==r[t][a].name)return!1}return!0};function cZ(e){return e+\" (v\"+uZ+\")\"}Ri.getLogo=function(){var e=this.createGroup(),r=document.createElement(\"a\");return r.href=\"https:\/\/plotly.com\/\",r.target=\"_blank\",r.setAttribute(\"data-title\",cZ(Sh._(this.graphInfo,\"Produced with Plotly.js\"))),r.className=\"modebar-btn plotlyjsicon modebar-btn--logo\",r.appendChild(this.createIcon(_M.newplotlylogo)),e.appendChild(r),e};Ri.removeAllButtons=function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.hasLogo=!1};Ri.destroy=function(){Sh.removeElement(this.container.querySelector(\".modebar\"))};function vZ(e,r){var t=e._fullLayout,a=new wM({graphInfo:e,container:t._modebardiv.node(),buttons:r});return t._privateplot&#038;&#038;Jy.select(a.element).append(\"span\").classed(\"badge-private float--left\",!0).text(\"PRIVATE\"),a}TM.exports=vZ});var CM=K((kue,kM)=>{\"use strict\";var hZ=Zt(),AM=un(),Ky=br(),dZ=Ti().isUnifiedHover,pZ=MM(),Lh=Wy(),mZ=Xy().DRAW_MODES,yZ=Fe().extendDeep;kM.exports=function(r){var t=r._fullLayout,a=r._context,n=t._modeBar;if(!a.displayModeBar&&!a.watermark){n&&(n.destroy(),delete t._modeBar);return}if(!Array.isArray(a.modeBarButtonsToRemove))throw new Error([\"*modeBarButtonsToRemove* configuration options\",\"must be an array.\"].join(\" \"));if(!Array.isArray(a.modeBarButtonsToAdd))throw new Error([\"*modeBarButtonsToAdd* configuration options\",\"must be an array.\"].join(\" \"));var i=a.modeBarButtons,l;Array.isArray(i)&&i.length?l=TZ(i):!a.displayModeBar&&a.watermark?l=[]:l=gZ(r),n?n.update(r,l):t._modeBar=pZ(r,l)};function gZ(e){var r=e._fullLayout,t=e._fullData,a=e._context;function n(U,H){if(typeof H==\"string\"){if(H.toLowerCase()===U.toLowerCase())return!0}else{var Q=H.name,Z=H._cat||H.name;if(Q===U||Z===U.toLowerCase())return!0}return!1}var i=r.modebar.add;typeof i==\"string\"&&(i=[i]);var l=r.modebar.remove;typeof l==\"string\"&&(l=[l]);var o=a.modeBarButtonsToAdd.concat(i.filter(function(U){for(var H=0;H<a.modeBarButtonsToRemove.length;H++)if(n(U,a.modeBarButtonsToRemove[H]))return!1;return!0})),s=a.modeBarButtonsToRemove.concat(l.filter(function(U){for(var H=0;H<a.modeBarButtonsToAdd.length;H++)if(n(U,a.modeBarButtonsToAdd[H]))return!1;return!0})),u=r._has(\"cartesian\"),f=r._has(\"gl3d\"),v=r._has(\"geo\"),h=r._has(\"pie\"),d=r._has(\"funnelarea\"),m=r._has(\"ternary\"),y=r._has(\"mapbox\"),g=r._has(\"map\"),_=r._has(\"polar\"),T=r._has(\"smith\"),w=r._has(\"sankey\"),b=bZ(r),M=dZ(r.hovermode),S=[];function k(U){if(U.length){for(var H=[],Q=0;Q<U.length;Q++){for(var Z=U[Q],ne=Lh[Z],ce=ne.name.toLowerCase(),ye=(ne._cat||ne.name).toLowerCase(),Ce=!1,re=0;re<s.length;re++){var Se=s[re].toLowerCase();if(Se===ce||Se===ye){Ce=!0;break}}Ce||H.push(Lh[Z])}S.push(H)}}var q=[\"toImage\"];a.showSendToCloud?q.push(\"sendChartToCloud\"):a.showEditInChartStudio&#038;&#038;(console.warn([\"*showEditInChartStudio* is deprecated.\",\"Use *showSendToCloud* instead.\"].join(\" \")),q.push(\"sendChartToCloud\")),k(q);var D=[],P=[],z=[],F=[];(u||h||d||m)+v+f+y+g+_+T>1?(P=[\"toggleHover\"],z=[\"resetViews\"]):v?(D=[\"zoomInGeo\",\"zoomOutGeo\"],P=[\"hoverClosestGeo\"],z=[\"resetGeo\"]):f?(P=[\"hoverClosest3d\"],z=[\"resetCameraDefault3d\",\"resetCameraLastSave3d\"]):y?(D=[\"zoomInMapbox\",\"zoomOutMapbox\"],P=[\"toggleHover\"],z=[\"resetViewMapbox\"]):g?(D=[\"zoomInMap\",\"zoomOutMap\"],P=[\"toggleHover\"],z=[\"resetViewMap\"]):h?P=[\"hoverClosestPie\"]:w?(P=[\"hoverClosestCartesian\",\"hoverCompareCartesian\"],z=[\"resetViewSankey\"]):P=[\"toggleHover\"],u&&P.push(\"toggleSpikelines\",\"hoverClosestCartesian\",\"hoverCompareCartesian\"),(_Z(t)||M)&&(P=[]),u&&!b&&(D=[\"zoomIn2d\",\"zoomOut2d\",\"autoScale2d\"],z[0]!==\"resetViews\"&&(z=[\"resetScale2d\"])),f?F=[\"zoom3d\",\"pan3d\",\"orbitRotation\",\"tableRotation\"]:u&&!b||m?F=[\"zoom2d\",\"pan2d\"]:y||g||v?F=[\"pan2d\"]:_&&(F=[\"zoom2d\"]),xZ(t)&&F.push(\"select2d\",\"lasso2d\");var O=[],I=function(U){O.indexOf(U)===-1&&P.indexOf(U)!==-1&&O.push(U)};if(Array.isArray(o)){for(var V=[],J=0;J<o.length;J++){var G=o[J];typeof G==\"string\"?(G=G.toLowerCase(),mZ.indexOf(G)!==-1?(r._has(\"mapbox\")||r._has(\"map\")||r._has(\"cartesian\"))&#038;&#038;F.push(G):G===\"togglespikelines\"?I(\"toggleSpikelines\"):G===\"togglehover\"?I(\"toggleHover\"):G===\"hovercompare\"?I(\"hoverCompareCartesian\"):G===\"hoverclosest\"?(I(\"hoverClosestCartesian\"),I(\"hoverClosestGeo\"),I(\"hoverClosest3d\"),I(\"hoverClosestPie\")):G===\"v1hovermode\"&#038;&#038;(I(\"hoverClosestCartesian\"),I(\"hoverCompareCartesian\"),I(\"hoverClosestGeo\"),I(\"hoverClosest3d\"),I(\"hoverClosestPie\"))):V.push(G)}o=V}return k(F),k(D.concat(z)),k(O),wZ(S,o)}function bZ(e){for(var r=hZ.list({_fullLayout:e},null,!0),t=0;t<r.length;t++){var a=r[t].modebardisable;if(!r[t].fixedrange&#038;&#038;a!==\"autoscale+zoominout\"&#038;&#038;a!==\"zoominout+autoscale\")return!1}return!0}function xZ(e){for(var r=!1,t=0;t<e.length&#038;&#038;!r;t++){var a=e[t];!a._module||!a._module.selectPoints||(Ky.traceIs(a,\"scatter-like\")?(AM.hasMarkers(a)||AM.hasText(a))&#038;&#038;(r=!0):Ky.traceIs(a,\"box-violin\")?(a.boxpoints===\"all\"||a.points===\"all\")&#038;&#038;(r=!0):r=!0)}return r}function _Z(e){for(var r=0;r<e.length;r++)if(!Ky.traceIs(e[r],\"noHover\"))return!1;return!0}function wZ(e,r){if(r.length)if(Array.isArray(r[0]))for(var t=0;t<r.length;t++)e.push(r[t]);else e.push(r);return e}function TZ(e){for(var r=yZ([],e),t=0;t<r.length;t++)for(var a=r[t],n=0;n<a.length;n++){var i=a[n];if(typeof i==\"string\")if(Lh[i]!==void 0)r[t][n]=Lh[i];else throw new Error([\"*modeBarButtons* configuration options\",\"invalid button name\"].join(\" \"))}return r}});var Qy=K((Cue,SM)=>{\"use strict\";SM.exports={moduleType:\"component\",name:\"modebar\",layoutAttributes:Zy(),supplyLayoutDefaults:xM(),manage:CM()}});var $y=K((Sue,LM)=>{\"use strict\";var MZ=Aa().FROM_BL;LM.exports=function(r,t,a){a===void 0&&(a=MZ[r.constraintoward||\"center\"]);var n=[r.r2l(r.range[0]),r.r2l(r.range[1])],i=n[0]+(n[1]-n[0])*a;r.range=r._input.range=[r.l2r(i+(n[0]-i)*t),r.l2r(i+(n[1]-i)*t)],r.setScale()}});var Bf=K(Of=>{\"use strict\";var Bo=Fe(),jy=Tf(),ii=Zt().id2name,AZ=jn(),qM=$y(),kZ=P0(),CZ=Gt().ALMOST_EQUAL,SZ=Aa().FROM_BL;Of.handleDefaults=function(e,r,t){var a=t.axIds,n=t.axHasImage,i=r._axisConstraintGroups=[],l=r._axisMatchGroups=[],o,s,u,f,v,h,d,m;for(o=0;o<a.length;o++)f=ii(a[o]),v=e[f],h=r[f],LZ(v,h,{axIds:a,layoutOut:r,hasImage:n[f]});function y(q,D){for(o=0;o<q.length;o++){s=q[o];for(u in s)r[ii(u)][D]=s}}for(y(l,\"_matchGroup\"),o=0;o<i.length;o++){s=i[o];for(u in s)if(h=r[ii(u)],h.fixedrange){for(var g in s){var _=ii(g);(e[_]||{}).fixedrange===!1&#038;&#038;Bo.warn(\"fixedrange was specified as false for axis \"+_+\" but was overridden because another axis in its constraint group has fixedrange true\"),r[_].fixedrange=!0}break}}for(o=0;o<i.length;){s=i[o];for(u in s){h=r[ii(u)],h._matchGroup&#038;&#038;Object.keys(h._matchGroup).length===Object.keys(s).length&#038;&#038;(i.splice(o,1),o--);break}o++}y(i,\"_constraintGroup\");var T=[\"constrain\",\"range\",\"autorange\",\"rangemode\",\"rangebreaks\",\"categoryorder\",\"categoryarray\"],w=!1,b=!1;function M(){m=h[d],d===\"rangebreaks\"&#038;&#038;(b=h._hasDayOfWeekBreaks)}for(o=0;o<l.length;o++){s=l[o];for(var S=0;S<T.length;S++){d=T[S],m=null;var k;for(u in s)if(f=ii(u),v=e[f],h=r[f],d in h){if(!h.matches&#038;&#038;(k=h,d in v)){M();break}m===null&#038;&#038;d in v&#038;&#038;M()}if(d===\"range\"&#038;&#038;m&#038;&#038;v.range&#038;&#038;v.range.length===2&#038;&#038;v.range[0]!==null&#038;&#038;v.range[1]!==null&#038;&#038;(w=!0),d===\"autorange\"&#038;&#038;m===null&#038;&#038;w&#038;&#038;(m=!1),m===null&#038;&#038;d in k&#038;&#038;(m=k[d]),m!==null)for(u in s)h=r[ii(u)],h[d]=d===\"range\"?m.slice():m,d===\"rangebreaks\"&#038;&#038;(h._hasDayOfWeekBreaks=b,kZ(h,r))}}};function LZ(e,r,t){var a=t.axIds,n=t.layoutOut,i=t.hasImage,l=n._axisConstraintGroups,o=n._axisMatchGroups,s=r._id,u=s.charAt(0),f=((n._splomAxes||{})[u]||{})[s]||{},v=r._id,h=v.charAt(0)===\"x\";r._matchGroup=null,r._constraintGroup=null;function d(F,O){return Bo.coerce(e,r,AZ,F,O)}d(\"constrain\",i?\"domain\":\"range\"),Bo.coerce(e,r,{constraintoward:{valType:\"enumerated\",values:h?[\"left\",\"center\",\"right\"]:[\"bottom\",\"middle\",\"top\"],dflt:h?\"center\":\"middle\"}},\"constraintoward\");var m=r.type,y,g,_=[];for(y=0;y<a.length;y++)if(g=a[y],g!==v){var T=n[ii(g)];T.type===m&#038;&#038;_.push(g)}var w=PM(l,v);if(w){var b=[];for(y=0;y<_.length;y++)g=_[y],w[g]||b.push(g);_=b}var M=_.length,S,k;M&#038;&#038;(e.matches||f.matches)&#038;&#038;(S=Bo.coerce(e,r,{matches:{valType:\"enumerated\",values:_,dflt:_.indexOf(f.matches)!==-1?f.matches:void 0}},\"matches\"));var q=i&#038;&#038;!h?r.anchor:void 0;if(M&#038;&#038;!S&#038;&#038;(e.scaleanchor||q)&#038;&#038;(k=Bo.coerce(e,r,{scaleanchor:{valType:\"enumerated\",values:_.concat([!1])}},\"scaleanchor\",q)),S){r._matchGroup=eg(o,v,S,1);var D=n[ii(S)],P=DM(n,r)\/DM(n,D);h!==(S.charAt(0)===\"x\")&#038;&#038;(P=(h?\"x\":\"y\")+P),eg(l,v,S,P)}else e.matches&#038;&#038;a.indexOf(e.matches)!==-1&#038;&#038;Bo.warn(\"ignored \"+r._name+'.matches: \"'+e.matches+'\" to avoid an infinite loop');if(k){var z=d(\"scaleratio\");z||(z=r.scaleratio=1),eg(l,v,k,z)}else e.scaleanchor&#038;&#038;a.indexOf(e.scaleanchor)!==-1&#038;&#038;Bo.warn(\"ignored \"+r._name+'.scaleanchor: \"'+e.scaleanchor+'\" to avoid either an infinite loop and possibly inconsistent scaleratios, or because this axis declares a *matches* constraint.')}function DM(e,r){var t=r.domain;return t||(t=e[ii(r.overlaying)].domain),t[1]-t[0]}function PM(e,r){for(var t=0;t<e.length;t++)if(e[t][r])return e[t];return null}function eg(e,r,t,a){var n,i,l,o,s,u=PM(e,r);u===null?(u={},u[r]=1,s=e.length,e.push(u)):s=e.indexOf(u);var f=Object.keys(u);for(n=0;n<e.length;n++)if(l=e[n],n!==s&#038;&#038;l[t]){var v=l[t];for(i=0;i<f.length;i++)o=f[i],l[o]=rg(v,rg(a,u[o]));e.splice(s,1);return}if(a!==1)for(i=0;i<f.length;i++){var h=f[i];u[h]=rg(a,u[h])}u[t]=1}function rg(e,r){var t=\"\",a=\"\",n,i;typeof e==\"string\"&#038;&#038;(t=e.match(\/^[xy]*\/)[0],n=t.length,e=+e.slice(n)),typeof r==\"string\"&#038;&#038;(a=r.match(\/^[xy]*\/)[0],i=a.length,r=+r.slice(i));var l=e*r;return!n&#038;&#038;!i?l:!n||!i||t.charAt(0)===a.charAt(0)?t+a+e*r:n===i?l:(n>i?t.slice(i):a.slice(n))+l}function qZ(e,r){for(var t=r._size,a=t.h\/t.w,n={},i=Object.keys(e),l=0;l<i.length;l++){var o=i[l],s=e[o];if(typeof s==\"string\"){var u=s.match(\/^[xy]*\/)[0],f=u.length;s=+s.slice(f);for(var v=u.charAt(0)===\"y\"?a:1\/a,h=0;h<f;h++)s*=v}n[o]=s}return n}Of.enforce=function(r){var t=r._fullLayout,a=t._axisConstraintGroups||[],n,i,l,o,s,u,f,v;for(n=0;n<a.length;n++){l=qZ(a[n],t);var h=Object.keys(l),d=1\/0,m=0,y=1\/0,g={},_={},T=!1;for(i=0;i<h.length;i++)o=h[i],_[o]=s=t[ii(o)],s._inputDomain?s.domain=s._inputDomain.slice():s._inputDomain=s.domain.slice(),s._inputRange||(s._inputRange=s.range.slice()),s.setScale(),g[o]=u=Math.abs(s._m)\/l[o],d=Math.min(d,u),(s.constrain===\"domain\"||!s._constraintShrinkable)&#038;&#038;(y=Math.min(y,u)),delete s._constraintShrinkable,m=Math.max(m,u),s.constrain===\"domain\"&#038;&#038;(T=!0);if(!(d>CZ*m&&!T)){for(i=0;i<h.length;i++)if(o=h[i],u=g[o],s=_[o],f=s.constrain,u!==y||f===\"domain\")if(v=u\/y,f===\"range\")qM(s,v);else{var w=s._inputDomain,b=(s.domain[1]-s.domain[0])\/(w[1]-w[0]),M=(s.r2l(s.range[1])-s.r2l(s.range[0]))\/(s.r2l(s._inputRange[1])-s.r2l(s._inputRange[0]));if(v\/=b,v*M<1){s.domain=s._input.domain=w.slice(),qM(s,v);continue}if(M<1&#038;&#038;(s.range=s._input.range=s._inputRange.slice(),v*=M),s.autorange){var S=s.r2l(s.range[0]),k=s.r2l(s.range[1]),q=(S+k)\/2,D=q,P=q,z=Math.abs(k-q),F=q-z*v*1.0001,O=q+z*v*1.0001,I=jy.makePadFn(t,s,0),V=jy.makePadFn(t,s,1);EM(s,v);var J=Math.abs(s._m),G=jy.concatExtremes(r,s),U=G.min,H=G.max,Q,Z;for(Z=0;Z<U.length;Z++)Q=U[Z].val-I(U[Z])\/J,Q>F&&Q<D&#038;&#038;(D=Q);for(Z=0;Z<H.length;Z++)Q=H[Z].val+V(H[Z])\/J,Q<O&#038;&#038;Q>P&&(P=Q);var ne=(P-D)\/(2*z);v\/=ne,D=s.l2r(D),P=s.l2r(P),s.range=s._input.range=S<k?[D,P]:[P,D]}EM(s,v)}}}};Of.getAxisGroup=function(r,t){for(var a=r._axisMatchGroups,n=0;n<a.length;n++){var i=a[n];if(i[t])return\"g\"+n}return t};Of.clean=function(r,t){if(t._inputDomain){for(var a=!1,n=t._id,i=r._fullLayout._axisConstraintGroups,l=0;l<i.length;l++)if(i[l][n]){a=!0;break}(!a||t.constrain!==\"domain\")&#038;&#038;(t._input.domain=t.domain=t._inputDomain,delete t._inputDomain)}};function EM(e,r){var t=e._inputDomain,a=SZ[e.constraintoward],n=t[0]+(t[1]-t[0])*a;e.domain=e._input.domain=[n+(t[0]-n)\/r,n+(t[1]-n)\/r],e.setScale()}});var Eh=K(ra=>{\"use strict\";var Dh=zr(),Fa=br(),dn=It(),Dn=Fe(),tg=ba(),ag=sh(),Yf=Er(),fu=tt(),RM=_f(),HM=Qy(),Uf=pt(),ji=Aa(),OM=Bf(),DZ=OM.enforce,EZ=OM.clean,zM=Tf().doAutoRange,BM=\"start\",PZ=\"middle\",YM=\"end\",RZ=$t().zindexSeparator;ra.layoutStyles=function(e){return Dn.syncOrAsync([dn.doAutoMargin,NZ],e)};function zZ(e,r,t){for(var a=0;a<t.length;a++){var n=t[a][0],i=t[a][1];if(!(n[0]>=e[1]||n[1]<=e[0])&#038;&#038;i[0]<r[1]&#038;&#038;i[1]>r[0])return!0}return!1}function NZ(e){var r=e._fullLayout,t=r._size,a=t.p,n=Uf.list(e,\"\",!0),i,l,o,s,u,f;if(r._paperdiv.style({width:e._context.responsive&&r.autosize&&!e._context._hasZeroWidth&&!e.layout.width?\"100%\":r.width+\"px\",height:e._context.responsive&&r.autosize&&!e._context._hasZeroHeight&&!e.layout.height?\"100%\":r.height+\"px\"}).selectAll(\".main-svg\").call(fu.setSize,r.width,r.height),e._context.setBackground(e,r.paper_bgcolor),ra.drawMainTitle(e),HM.manage(e),!r._has(\"cartesian\"))return dn.previousPromises(e);function v(ge,B,$){var Y=ge._lw\/2;if(ge._id.charAt(0)===\"x\"){if(B){if($===\"top\")return B._offset-a-Y}else return t.t+t.h*(1-(ge.position||0))+Y%1;return B._offset+B._length+a+Y}if(B){if($===\"right\")return B._offset+B._length+a+Y}else return t.l+t.w*(ge.position||0)+Y%1;return B._offset-a-Y}for(i=0;i<n.length;i++){s=n[i];var h=s._anchorAxis;s._linepositions={},s._lw=fu.crispRound(e,s.linewidth,1),s._mainLinePosition=v(s,h,s.side),s._mainMirrorPosition=s.mirror&#038;&#038;h?v(s,h,ji.OPPOSITE_SIDE[s.side]):null}var d=[],m=[],y=[],g=Yf.opacity(r.paper_bgcolor)===1&#038;&#038;Yf.opacity(r.plot_bgcolor)===1&#038;&#038;r.paper_bgcolor===r.plot_bgcolor;for(l in r._plots)if(o=r._plots[l],o.mainplot)o.bg&#038;&#038;o.bg.remove(),o.bg=void 0;else{var _=o.xaxis.domain,T=o.yaxis.domain,w=o.plotgroup;if(zZ(_,T,y)&#038;&#038;l.indexOf(RZ)===-1){var b=w.node(),M=o.bg=Dn.ensureSingle(w,\"rect\",\"bg\");b.insertBefore(M.node(),b.childNodes[0]),m.push(l)}else w.select(\"rect.bg\").remove(),y.push([_,T]),g||(d.push(l),m.push(l))}var S=r._bgLayer.selectAll(\".bg\").data(d);for(S.enter().append(\"rect\").classed(\"bg\",!0),S.exit().remove(),S.each(function(ge){r._plots[ge].bg=Dh.select(this)}),i=0;i<m.length;i++)o=r._plots[m[i]],u=o.xaxis,f=o.yaxis,o.bg&#038;&#038;u._offset!==void 0&#038;&#038;f._offset!==void 0&#038;&#038;o.bg.call(fu.setRect,u._offset-a,f._offset-a,u._length+2*a,f._length+2*a).call(Yf.fill,r.plot_bgcolor).style(\"stroke-width\",0);if(!r._hasOnlyLargeSploms)for(l in r._plots){o=r._plots[l],u=o.xaxis,f=o.yaxis;var k=o.clipId=\"clip\"+r._uid+l+\"plot\",q=Dn.ensureSingleById(r._clips,\"clipPath\",k,function(ge){ge.classed(\"plotclip\",!0).append(\"rect\")});o.clipRect=q.select(\"rect\").attr({width:u._length,height:f._length}),fu.setTranslate(o.plot,u._offset,f._offset);var D,P;o._hasClipOnAxisFalse?(D=null,P=k):(D=k,P=null),fu.setClipUrl(o.plot,D,e),o.layerClipId=P}var z,F,O,I,V,J,G,U,H,Q,Z,ne,ce;function ye(ge){return\"M\"+z+\",\"+ge+\"H\"+F}function Ce(ge){return\"M\"+u._offset+\",\"+ge+\"h\"+u._length}function re(ge){return\"M\"+ge+\",\"+U+\"V\"+G}function Se(ge){return f._shift!==void 0&#038;&#038;(ge+=f._shift),\"M\"+ge+\",\"+f._offset+\"v\"+f._length}function pe(ge,B,$){if(!ge.showline||l!==ge._mainSubplot)return\"\";if(!ge._anchorAxis)return $(ge._mainLinePosition);var Y=B(ge._mainLinePosition);return ge.mirror&#038;&#038;(Y+=B(ge._mainMirrorPosition)),Y}for(l in r._plots){o=r._plots[l],u=o.xaxis,f=o.yaxis;var be=\"M0,0\";NM(u,l)&#038;&#038;(V=qh(u,\"left\",f,n),z=u._offset-(V?a+V:0),J=qh(u,\"right\",f,n),F=u._offset+u._length+(J?a+J:0),O=v(u,f,\"bottom\"),I=v(u,f,\"top\"),ce=!u._anchorAxis||l!==u._mainSubplot,ce&#038;&#038;(u.mirror===\"allticks\"||u.mirror===\"all\")&#038;&#038;(u._linepositions[l]=[O,I]),be=pe(u,ye,Ce),ce&#038;&#038;u.showline&#038;&#038;(u.mirror===\"all\"||u.mirror===\"allticks\")&#038;&#038;(be+=ye(O)+ye(I)),o.xlines.style(\"stroke-width\",u._lw+\"px\").call(Yf.stroke,u.showline?u.linecolor:\"rgba(0,0,0,0)\")),o.xlines.attr(\"d\",be);var Ae=\"M0,0\";NM(f,l)&#038;&#038;(Z=qh(f,\"bottom\",u,n),G=f._offset+f._length+(Z?a:0),ne=qh(f,\"top\",u,n),U=f._offset-(ne?a:0),H=v(f,u,\"left\"),Q=v(f,u,\"right\"),ce=!f._anchorAxis||l!==f._mainSubplot,ce&#038;&#038;(f.mirror===\"allticks\"||f.mirror===\"all\")&#038;&#038;(f._linepositions[l]=[H,Q]),Ae=pe(f,re,Se),ce&#038;&#038;f.showline&#038;&#038;(f.mirror===\"all\"||f.mirror===\"allticks\")&#038;&#038;(Ae+=re(H)+re(Q)),o.ylines.style(\"stroke-width\",f._lw+\"px\").call(Yf.stroke,f.showline?f.linecolor:\"rgba(0,0,0,0)\")),o.ylines.attr(\"d\",Ae)}return Uf.makeClipPaths(e),dn.previousPromises(e)}function NM(e,r){return(e.ticks||e.showline)&#038;&#038;(r===e._mainSubplot||e.mirror===\"all\"||e.mirror===\"allticks\")}function FM(e,r,t){if(!t.showline||!t._lw)return!1;if(t.mirror===\"all\"||t.mirror===\"allticks\")return!0;var a=t._anchorAxis;if(!a)return!1;var n=ji.FROM_BL[r];return t.side===r?a.domain[n]===e.domain[n]:t.mirror&#038;&#038;a.domain[1-n]===e.domain[1-n]}function qh(e,r,t,a){if(FM(e,r,t))return t._lw;for(var n=0;n<a.length;n++){var i=a[n];if(i._mainAxis===t._mainAxis&#038;&#038;FM(e,r,i))return i._lw}return 0}ra.drawMainTitle=function(e){var r=e._fullLayout.title,t=e._fullLayout,a=UZ(t),n=VZ(t),i=YZ(t,n),l=BZ(t,a);if(RM.draw(e,\"gtitle\",{propContainer:t,propName:\"title.text\",subtitlePropName:\"title.subtitle.text\",placeholder:t._dfltTitle.plot,subtitlePlaceholder:t._dfltTitle.subtitle,attributes:{x:l,y:i,\"text-anchor\":a,dy:n}}),r.text&#038;&#038;r.automargin){var o=Dh.select(e).selectAll(\".gtitle\"),s=fu.bBox(Dh.select(e).selectAll(\".g-gtitle\").node()).height,u=HZ(e,r,s);if(u>0){OZ(e,i,u,s),o.attr({x:l,y:i,\"text-anchor\":a,dy:IM(r.yanchor)}).call(tg.positionText,l,i);var f=(r.text.match(tg.BR_TAG_ALL)||[]).length;if(f){var v=ji.LINE_SPACING*f+ji.MID_SHIFT;r.y===0&&(v=-v),o.selectAll(\".line\").each(function(){var g=+this.getAttribute(\"dy\").slice(0,-2)-v+\"em\";this.setAttribute(\"dy\",g)})}var h=Dh.select(e).selectAll(\".gtitle-subtitle\");if(h.node()){var d=o.node().getBBox(),m=d.y+d.height,y=m+RM.SUBTITLE_PADDING_EM*r.subtitle.font.size;h.attr({x:l,y,\"text-anchor\":a,dy:IM(r.yanchor)}).call(tg.positionText,l,y)}}}};function FZ(e,r,t,a,n){var i=r.yref===\"paper\"?e._fullLayout._size.h:e._fullLayout.height,l=Dn.isTopAnchor(r)?a:a-n,o=t===\"b\"?i-l:l;return Dn.isTopAnchor(r)&&t===\"t\"||Dn.isBottomAnchor(r)&&t===\"b\"?!1:o<n}function IZ(e,r,t,a,n){var i=0;return t===\"middle\"&#038;&#038;(i+=n\/2),e===\"t\"?(t===\"top\"&#038;&#038;(i+=n),i+=a-r*a):(t===\"bottom\"&#038;&#038;(i+=n),i+=r*a),i}function HZ(e,r,t){var a=r.y,n=r.yanchor,i=a>.5?\"t\":\"b\",l=e._fullLayout.margin[i],o=0;return r.yref===\"paper\"?o=t+r.pad.t+r.pad.b:r.yref===\"container\"&&(o=IZ(i,a,n,e._fullLayout.height,t)+r.pad.t+r.pad.b),o>l?o:0}function OZ(e,r,t,a){var n=\"title.automargin\",i=e._fullLayout.title,l=i.y>.5?\"t\":\"b\",o={x:i.x,y:i.y,t:0,b:0},s={};i.yref===\"paper\"&&FZ(e,i,l,r,a)?o[l]=t:i.yref===\"container\"&&(s[l]=t,e._fullLayout._reservedMargin[n]=s),dn.allowAutoMargin(e,n),dn.autoMargin(e,n,o)}function BZ(e,r){var t=e.title,a=e._size,n=0;return r===BM?n=t.pad.l:r===YM&&(n=-t.pad.r),t.xref===\"paper\"?a.l+a.w*t.x+n:e.width*t.x+n}function YZ(e,r){var t=e.title,a=e._size,n=0;return r===\"0em\"||!r?n=-t.pad.b:r===ji.CAP_SHIFT+\"em\"&&(n=t.pad.t),t.y===\"auto\"?a.t\/2:t.yref===\"paper\"?a.t+a.h-a.h*t.y+n:e.height-e.height*t.y+n}function IM(e){return e===\"top\"?ji.CAP_SHIFT+.3+\"em\":e===\"bottom\"?\"-0.3em\":ji.MID_SHIFT+\"em\"}function UZ(e){var r=e.title,t=PZ;return Dn.isRightAnchor(r)?t=YM:Dn.isLeftAnchor(r)&&(t=BM),t}function VZ(e){var r=e.title,t=\"0em\";return Dn.isTopAnchor(r)?t=ji.CAP_SHIFT+\"em\":Dn.isMiddleAnchor(r)&&(t=ji.MID_SHIFT+\"em\"),t}ra.doTraceStyle=function(e){var r=e.calcdata,t=[],a;for(a=0;a<r.length;a++){var n=r[a],i=n[0]||{},l=i.trace||{},o=l._module||{},s=o.arraysToCalcdata;s&#038;&#038;s(n,l);var u=o.editStyle;u&#038;&#038;t.push({fn:u,cd0:i})}if(t.length){for(a=0;a<t.length;a++){var f=t[a];f.fn(e,f.cd0)}ag(e),ra.redrawReglTraces(e)}return dn.style(e),Fa.getComponentMethod(\"legend\",\"draw\")(e),dn.previousPromises(e)};ra.doColorBars=function(e){return Fa.getComponentMethod(\"colorbar\",\"draw\")(e),dn.previousPromises(e)};ra.layoutReplot=function(e){var r=e.layout;return e.layout=void 0,Fa.call(\"_doPlot\",e,\"\",r)};ra.doLegend=function(e){return Fa.getComponentMethod(\"legend\",\"draw\")(e),dn.previousPromises(e)};ra.doTicksRelayout=function(e){return Uf.draw(e,\"redraw\"),e._fullLayout._hasOnlyLargeSploms&#038;&#038;(Fa.subplotsRegistry.splom.updateGrid(e),ag(e),ra.redrawReglTraces(e)),ra.drawMainTitle(e),dn.previousPromises(e)};ra.doModeBar=function(e){var r=e._fullLayout;HM.manage(e);for(var t=0;t<r._basePlotModules.length;t++){var a=r._basePlotModules[t].updateFx;a&#038;&#038;a(e)}return dn.previousPromises(e)};ra.doCamera=function(e){for(var r=e._fullLayout,t=r._subplots.gl3d,a=0;a<t.length;a++){var n=r[t[a]],i=n._scene;i.setViewport(n)}};ra.drawData=function(e){var r=e._fullLayout;ag(e);for(var t=r._basePlotModules,a=0;a<t.length;a++)t[a].plot(e);return ra.redrawReglTraces(e),dn.style(e),Fa.getComponentMethod(\"selections\",\"draw\")(e),Fa.getComponentMethod(\"shapes\",\"draw\")(e),Fa.getComponentMethod(\"annotations\",\"draw\")(e),Fa.getComponentMethod(\"images\",\"draw\")(e),r._replotting=!1,dn.previousPromises(e)};ra.redrawReglTraces=function(e){var r=e._fullLayout;if(r._has(\"regl\")){var t=e._fullData,a=[],n=[],i,l;for(r._hasOnlyLargeSploms&#038;&#038;r._splomGrid.draw(),i=0;i<t.length;i++){var o=t[i];o.visible===!0&#038;&#038;o._length!==0&#038;&#038;(o.type===\"splom\"?r._splomScenes[o.uid].draw():o.type===\"scattergl\"?Dn.pushUnique(a,o.xaxis+o.yaxis):o.type===\"scatterpolargl\"&#038;&#038;Dn.pushUnique(n,o.subplot))}for(i=0;i<a.length;i++)l=r._plots[a[i]],l._scene&#038;&#038;l._scene.draw();for(i=0;i<n.length;i++)l=r[n[i]]._subplot,l._scene&#038;&#038;l._scene.draw()}};ra.doAutoRangeAndConstraints=function(e){for(var r=Uf.list(e,\"\",!0),t,a={},n=0;n<r.length;n++)if(t=r[n],!a[t._id]){a[t._id]=1,EZ(e,t),zM(e,t);var i=t._matchGroup;if(i)for(var l in i){var o=Uf.getFromId(e,l);zM(e,o,t.range),a[l]=1}}DZ(e)};ra.finalDraw=function(e){Fa.getComponentMethod(\"rangeslider\",\"draw\")(e),Fa.getComponentMethod(\"rangeselector\",\"draw\")(e)};ra.drawMarginPushers=function(e){Fa.getComponentMethod(\"legend\",\"draw\")(e),Fa.getComponentMethod(\"rangeselector\",\"draw\")(e),Fa.getComponentMethod(\"sliders\",\"draw\")(e),Fa.getComponentMethod(\"updatemenus\",\"draw\")(e),Fa.getComponentMethod(\"colorbar\",\"draw\")(e)}});var lg=K((Due,XM)=>{\"use strict\";var GZ=Dl().readPaths,WZ=bh(),UM=wl().clearOutlineControllers,ng=Er(),VM=tt(),XZ=ct().arrayEditor,GM=Rl(),ZZ=GM.getPathString;XM.exports={draw:Ph,drawOne:WM,activateLastSelection:QZ};function Ph(e){var r=e._fullLayout;UM(e),r._selectionLayer.selectAll(\"path\").remove();for(var t in r._plots){var a=r._plots[t].selectionLayer;a&&a.selectAll(\"path\").remove()}for(var n=0;n<r.selections.length;n++)WM(e,n)}function Rh(e){return e._context.editSelection}function WM(e,r){e._fullLayout._paperdiv.selectAll('.selectionlayer [data-index=\"'+r+'\"]').remove();var t=GM.makeSelectionsOptionsAndPlotinfo(e,r),a=t.options,n=t.plotinfo;if(!a._input)return;i(e._fullLayout._selectionLayer);function i(l){var o=ZZ(e,a),s={\"data-index\":r,\"fill-rule\":\"evenodd\",d:o},u=a.opacity,f=\"rgba(0,0,0,0)\",v=a.line.color||ng.contrast(e._fullLayout.plot_bgcolor),h=a.line.width,d=a.line.dash;h||(h=5,d=\"solid\");var m=Rh(e)&#038;&#038;e._fullLayout._activeSelectionIndex===r;m&#038;&#038;(f=e._fullLayout.activeselection.fillcolor,u=e._fullLayout.activeselection.opacity);for(var y=[],g=1;g>=0;g--){var _=l.append(\"path\").attr(s).style(\"opacity\",g?.1:u).call(ng.stroke,v).call(ng.fill,f).call(VM.dashLine,g?\"solid\":d,g?4+h:h);if(JZ(_,e,a),m){var T=XZ(e.layout,\"selections\",a);_.style({cursor:\"move\"});var w={element:_.node(),plotinfo:n,gd:e,editHelpers:T,isActiveSelection:!0},b=GZ(o,e);WZ(b,_,w)}else _.style(\"pointer-events\",g?\"all\":\"none\");y[g]=_}var M=y[0],S=y[1];S.node().addEventListener(\"click\",function(){return KZ(e,M)})}}function JZ(e,r,t){var a=t.xref+t.yref;VM.setClipUrl(e,\"clip\"+r._fullLayout._uid+a,r)}function KZ(e,r){if(Rh(e)){var t=r.node(),a=+t.getAttribute(\"data-index\");if(a>=0){if(a===e._fullLayout._activeSelectionIndex){ig(e);return}e._fullLayout._activeSelectionIndex=a,e._fullLayout._deactivateSelection=ig,Ph(e)}}}function QZ(e){if(Rh(e)){var r=e._fullLayout.selections.length-1;e._fullLayout._activeSelectionIndex=r,e._fullLayout._deactivateSelection=ig,Ph(e)}}function ig(e){if(Rh(e)){var r=e._fullLayout._activeSelectionIndex;r>=0&&(UM(e),delete e._fullLayout._activeSelectionIndex,Ph(e))}}});var JM=K((Eue,ZM)=>{function $Z(){var e,r=0,t=!1;function a(n,i){return e.list.push({type:n,data:i?JSON.parse(JSON.stringify(i)):void 0}),e}return e={list:[],segmentId:function(){return r++},checkIntersection:function(n,i){return a(\"check\",{seg1:n,seg2:i})},segmentChop:function(n,i){return a(\"div_seg\",{seg:n,pt:i}),a(\"chop\",{seg:n,pt:i})},statusRemove:function(n){return a(\"pop_seg\",{seg:n})},segmentUpdate:function(n){return a(\"seg_update\",{seg:n})},segmentNew:function(n,i){return a(\"new_seg\",{seg:n,primary:i})},segmentRemove:function(n){return a(\"rem_seg\",{seg:n})},tempStatus:function(n,i,l){return a(\"temp_status\",{seg:n,above:i,below:l})},rewind:function(n){return a(\"rewind\",{seg:n})},status:function(n,i,l){return a(\"status\",{seg:n,above:i,below:l})},vert:function(n){return n===t?e:(t=n,a(\"vert\",{x:n}))},log:function(n){return typeof n!=\"string\"&&(n=JSON.stringify(n,!1,\"  \")),a(\"log\",{txt:n})},reset:function(){return a(\"reset\")},selected:function(n){return a(\"selected\",{segs:n})},chainStart:function(n){return a(\"chain_start\",{seg:n})},chainRemoveHead:function(n,i){return a(\"chain_rem_head\",{index:n,pt:i})},chainRemoveTail:function(n,i){return a(\"chain_rem_tail\",{index:n,pt:i})},chainNew:function(n,i){return a(\"chain_new\",{pt1:n,pt2:i})},chainMatch:function(n){return a(\"chain_match\",{index:n})},chainClose:function(n){return a(\"chain_close\",{index:n})},chainAddHead:function(n,i){return a(\"chain_add_head\",{index:n,pt:i})},chainAddTail:function(n,i){return a(\"chain_add_tail\",{index:n,pt:i})},chainConnect:function(n,i){return a(\"chain_con\",{index1:n,index2:i})},chainReverse:function(n){return a(\"chain_rev\",{index:n})},chainJoin:function(n,i){return a(\"chain_join\",{index1:n,index2:i})},done:function(){return a(\"done\")}},e}ZM.exports=$Z});var QM=K((Pue,KM)=>{function jZ(e){typeof e!=\"number\"&&(e=1e-10);var r={epsilon:function(t){return typeof t==\"number\"&&(e=t),e},pointAboveOrOnLine:function(t,a,n){var i=a[0],l=a[1],o=n[0],s=n[1],u=t[0],f=t[1];return(o-i)*(f-l)-(s-l)*(u-i)>=-e},pointBetween:function(t,a,n){var i=t[1]-a[1],l=n[0]-a[0],o=t[0]-a[0],s=n[1]-a[1],u=o*l+i*s;if(u<e)return!1;var f=l*l+s*s;return!(u-f>-e)},pointsSameX:function(t,a){return Math.abs(t[0]-a[0])<e},pointsSameY:function(t,a){return Math.abs(t[1]-a[1])<e},pointsSame:function(t,a){return r.pointsSameX(t,a)&#038;&#038;r.pointsSameY(t,a)},pointsCompare:function(t,a){return r.pointsSameX(t,a)?r.pointsSameY(t,a)?0:t[1]<a[1]?-1:1:t[0]<a[0]?-1:1},pointsCollinear:function(t,a,n){var i=t[0]-a[0],l=t[1]-a[1],o=a[0]-n[0],s=a[1]-n[1];return Math.abs(i*s-o*l)<e},linesIntersect:function(t,a,n,i){var l=a[0]-t[0],o=a[1]-t[1],s=i[0]-n[0],u=i[1]-n[1],f=l*u-o*s;if(Math.abs(f)<e)return!1;var v=t[0]-n[0],h=t[1]-n[1],d=(s*h-u*v)\/f,m=(l*h-o*v)\/f,y={alongA:0,alongB:0,pt:[t[0]+d*l,t[1]+d*o]};return d<=-e?y.alongA=-2:d<e?y.alongA=-1:d-1<=-e?y.alongA=0:d-1<e?y.alongA=1:y.alongA=2,m<=-e?y.alongB=-2:m<e?y.alongB=-1:m-1<=-e?y.alongB=0:m-1<e?y.alongB=1:y.alongB=2,y},pointInsideRegion:function(t,a){for(var n=t[0],i=t[1],l=a[a.length-1][0],o=a[a.length-1][1],s=!1,u=0;u<a.length;u++){var f=a[u][0],v=a[u][1];v-i>e!=o-i>e&&(l-f)*(i-v)\/(o-v)+f-n>e&&(s=!s),l=f,o=v}return s}};return r}KM.exports=jZ});var jM=K((Rue,$M)=>{var eJ={create:function(){var e={root:{root:!0,next:null},exists:function(r){return!(r===null||r===e.root)},isEmpty:function(){return e.root.next===null},getHead:function(){return e.root.next},insertBefore:function(r,t){for(var a=e.root,n=e.root.next;n!==null;){if(t(n)){r.prev=n.prev,r.next=n,n.prev.next=r,n.prev=r;return}a=n,n=n.next}a.next=r,r.prev=a,r.next=null},findTransition:function(r){for(var t=e.root,a=e.root.next;a!==null&&!r(a);)t=a,a=a.next;return{before:t===e.root?null:t,after:a,insert:function(n){return n.prev=t,n.next=a,t.next=n,a!==null&&(a.prev=n),n}}}};return e},node:function(e){return e.prev=null,e.next=null,e.remove=function(){e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.prev=null,e.next=null},e}};$M.exports=eJ});var rA=K((zue,eA)=>{var Vf=jM();function rJ(e,r,t){function a(m,y){return{id:t?t.segmentId():-1,start:m,end:y,myFill:{above:null,below:null},otherFill:null}}function n(m,y,g){return{id:t?t.segmentId():-1,start:m,end:y,myFill:{above:g.myFill.above,below:g.myFill.below},otherFill:null}}var i=Vf.create();function l(m,y,g,_,T,w){var b=r.pointsCompare(y,T);return b!==0?b:r.pointsSame(g,w)?0:m!==_?m?1:-1:r.pointAboveOrOnLine(g,_?T:w,_?w:T)?1:-1}function o(m,y){i.insertBefore(m,function(g){var _=l(m.isStart,m.pt,y,g.isStart,g.pt,g.other.pt);return _<0})}function s(m,y){var g=Vf.node({isStart:!0,pt:m.start,seg:m,primary:y,other:null,status:null});return o(g,m.end),g}function u(m,y,g){var _=Vf.node({isStart:!1,pt:y.end,seg:y,primary:g,other:m,status:null});m.other=_,o(_,m.pt)}function f(m,y){var g=s(m,y);return u(g,m,y),g}function v(m,y){t&#038;&#038;t.segmentChop(m.seg,y),m.other.remove(),m.seg.end=y,m.other.pt=y,o(m.other,m.pt)}function h(m,y){var g=n(y,m.seg.end,m.seg);return v(m,y),f(g,m.primary)}function d(m,y){var g=Vf.create();function _(V,J){var G=V.seg.start,U=V.seg.end,H=J.seg.start,Q=J.seg.end;return r.pointsCollinear(G,H,Q)?r.pointsCollinear(U,H,Q)||r.pointAboveOrOnLine(U,H,Q)?1:-1:r.pointAboveOrOnLine(G,H,Q)?1:-1}function T(V){return g.findTransition(function(J){var G=_(V,J.ev);return G>0})}function w(V,J){var G=V.seg,U=J.seg,H=G.start,Q=G.end,Z=U.start,ne=U.end;t&&t.checkIntersection(G,U);var ce=r.linesIntersect(H,Q,Z,ne);if(ce===!1){if(!r.pointsCollinear(H,Q,Z)||r.pointsSame(H,ne)||r.pointsSame(Q,Z))return!1;var ye=r.pointsSame(H,Z),Ce=r.pointsSame(Q,ne);if(ye&&Ce)return J;var re=!ye&&r.pointBetween(H,Z,ne),Se=!Ce&&r.pointBetween(Q,Z,ne);if(ye)return Se?h(J,Q):h(V,ne),J;re&&(Ce||(Se?h(J,Q):h(V,ne)),h(J,H))}else ce.alongA===0&&(ce.alongB===-1?h(V,Z):ce.alongB===0?h(V,ce.pt):ce.alongB===1&&h(V,ne)),ce.alongB===0&&(ce.alongA===-1?h(J,H):ce.alongA===0?h(J,ce.pt):ce.alongA===1&&h(J,Q));return!1}for(var b=[];!i.isEmpty();){var M=i.getHead();if(t&&t.vert(M.pt[0]),M.isStart){let V=function(){if(k){var J=w(M,k);if(J)return J}return q?w(M,q):!1};var I=V;t&&t.segmentNew(M.seg,M.primary);var S=T(M),k=S.before?S.before.ev:null,q=S.after?S.after.ev:null;t&&t.tempStatus(M.seg,k?k.seg:!1,q?q.seg:!1);var D=V();if(D){if(e){var P;M.seg.myFill.below===null?P=!0:P=M.seg.myFill.above!==M.seg.myFill.below,P&&(D.seg.myFill.above=!D.seg.myFill.above)}else D.seg.otherFill=M.seg.myFill;t&&t.segmentUpdate(D.seg),M.other.remove(),M.remove()}if(i.getHead()!==M){t&&t.rewind(M.seg);continue}if(e){var P;M.seg.myFill.below===null?P=!0:P=M.seg.myFill.above!==M.seg.myFill.below,q?M.seg.myFill.below=q.seg.myFill.above:M.seg.myFill.below=m,P?M.seg.myFill.above=!M.seg.myFill.below:M.seg.myFill.above=M.seg.myFill.below}else if(M.seg.otherFill===null){var z;q?M.primary===q.primary?z=q.seg.otherFill.above:z=q.seg.myFill.above:z=M.primary?y:m,M.seg.otherFill={above:z,below:z}}t&&t.status(M.seg,k?k.seg:!1,q?q.seg:!1),M.other.status=S.insert(Vf.node({ev:M}))}else{var F=M.status;if(F===null)throw new Error(\"PolyBool: Zero-length segment detected; your epsilon is probably too small or too large\");if(g.exists(F.prev)&&g.exists(F.next)&&w(F.prev.ev,F.next.ev),t&&t.statusRemove(F.ev.seg),F.remove(),!M.primary){var O=M.seg.myFill;M.seg.myFill=M.seg.otherFill,M.seg.otherFill=O}b.push(M.seg)}i.getHead().remove()}return t&&t.done(),b}return e?{addRegion:function(m){for(var y,g=m[m.length-1],_=0;_<m.length;_++){y=g,g=m[_];var T=r.pointsCompare(y,g);T!==0&#038;&#038;f(a(T<0?y:g,T<0?g:y),!0)}},calculate:function(m){return d(m,!1)}}:{calculate:function(m,y,g,_){return m.forEach(function(T){f(n(T.start,T.end,T),!0)}),g.forEach(function(T){f(n(T.start,T.end,T),!1)}),d(y,_)}}}eA.exports=rJ});var aA=K((Nue,tA)=>{function tJ(e,r,t){var a=[],n=[];return e.forEach(function(i){var l=i.start,o=i.end;if(r.pointsSame(l,o)){console.warn(\"PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large\");return}t&&t.chainStart(i);var s={index:0,matches_head:!1,matches_pt1:!1},u={index:0,matches_head:!1,matches_pt1:!1},f=s;function v(I,V,J){return f.index=I,f.matches_head=V,f.matches_pt1=J,f===s?(f=u,!1):(f=null,!0)}for(var h=0;h<a.length;h++){var d=a[h],m=d[0],y=d[1],g=d[d.length-1],_=d[d.length-2];if(r.pointsSame(m,l)){if(v(h,!0,!0))break}else if(r.pointsSame(m,o)){if(v(h,!0,!1))break}else if(r.pointsSame(g,l)){if(v(h,!1,!0))break}else if(r.pointsSame(g,o)&#038;&#038;v(h,!1,!1))break}if(f===s){a.push([l,o]),t&#038;&#038;t.chainNew(l,o);return}if(f===u){t&#038;&#038;t.chainMatch(s.index);var T=s.index,w=s.matches_pt1?o:l,b=s.matches_head,d=a[T],M=b?d[0]:d[d.length-1],S=b?d[1]:d[d.length-2],k=b?d[d.length-1]:d[0],q=b?d[d.length-2]:d[1];if(r.pointsCollinear(S,M,w)&#038;&#038;(b?(t&#038;&#038;t.chainRemoveHead(s.index,w),d.shift()):(t&#038;&#038;t.chainRemoveTail(s.index,w),d.pop()),M=S),r.pointsSame(k,w)){a.splice(T,1),r.pointsCollinear(q,k,M)&#038;&#038;(b?(t&#038;&#038;t.chainRemoveTail(s.index,M),d.pop()):(t&#038;&#038;t.chainRemoveHead(s.index,M),d.shift())),t&#038;&#038;t.chainClose(s.index),n.push(d);return}b?(t&#038;&#038;t.chainAddHead(s.index,w),d.unshift(w)):(t&#038;&#038;t.chainAddTail(s.index,w),d.push(w));return}function D(I){t&#038;&#038;t.chainReverse(I),a[I].reverse()}function P(I,V){var J=a[I],G=a[V],U=J[J.length-1],H=J[J.length-2],Q=G[0],Z=G[1];r.pointsCollinear(H,U,Q)&#038;&#038;(t&#038;&#038;t.chainRemoveTail(I,U),J.pop(),U=H),r.pointsCollinear(U,Q,Z)&#038;&#038;(t&#038;&#038;t.chainRemoveHead(V,Q),G.shift()),t&#038;&#038;t.chainJoin(I,V),a[I]=J.concat(G),a.splice(V,1)}var z=s.index,F=u.index;t&#038;&#038;t.chainConnect(z,F);var O=a[z].length<a[F].length;s.matches_head?u.matches_head?O?(D(z),P(z,F)):(D(F),P(F,z)):P(F,z):u.matches_head?P(z,F):O?(D(z),P(F,z)):(D(F),P(z,F))}),n}tA.exports=tJ});var iA=K((Fue,nA)=>{function Gf(e,r,t){var a=[];return e.forEach(function(n){var i=(n.myFill.above?8:0)+(n.myFill.below?4:0)+(n.otherFill&&n.otherFill.above?2:0)+(n.otherFill&&n.otherFill.below?1:0);r[i]!==0&&a.push({id:t?t.segmentId():-1,start:n.start,end:n.end,myFill:{above:r[i]===1,below:r[i]===2},otherFill:null})}),t&&t.selected(a),a}var aJ={union:function(e,r){return Gf(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],r)},intersect:function(e,r){return Gf(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],r)},difference:function(e,r){return Gf(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],r)},differenceRev:function(e,r){return Gf(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],r)},xor:function(e,r){return Gf(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],r)}};nA.exports=aJ});var oA=K((Iue,lA)=>{var nJ={toPolygon:function(e,r){function t(i){if(i.length<=0)return e.segments({inverted:!1,regions:[]});function l(u){var f=u.slice(0,u.length-1);return e.segments({inverted:!1,regions:[f]})}for(var o=l(i[0]),s=1;s<i.length;s++)o=e.selectDifference(e.combine(o,l(i[s])));return o}if(r.type===\"Polygon\")return e.polygon(t(r.coordinates));if(r.type===\"MultiPolygon\"){for(var a=e.segments({inverted:!1,regions:[]}),n=0;n<r.coordinates.length;n++)a=e.selectUnion(e.combine(a,t(r.coordinates[n])));return e.polygon(a)}throw new Error(\"PolyBool: Cannot convert GeoJSON object to PolyBool polygon\")},fromPolygon:function(e,r,t){t=e.polygon(e.segments(t));function a(d,m){return r.pointInsideRegion([(d[0][0]+d[1][0])*.5,(d[0][1]+d[1][1])*.5],m)}function n(d){return{region:d,children:[]}}var i=n(null);function l(d,m){for(var y=0;y<d.children.length;y++){var g=d.children[y];if(a(m,g.region)){l(g,m);return}}for(var _=n(m),y=0;y<d.children.length;y++){var g=d.children[y];a(g.region,m)&#038;&#038;(_.children.push(g),d.children.splice(y,1),y--)}d.children.push(_)}for(var o=0;o<t.regions.length;o++){var s=t.regions[o];s.length<3||l(i,s)}function u(d,m){for(var y=0,g=d[d.length-1][0],_=d[d.length-1][1],T=[],w=0;w<d.length;w++){var b=d[w][0],M=d[w][1];T.push([b,M]),y+=M*g-b*_,g=b,_=M}var S=y<0;return S!==m&#038;&#038;T.reverse(),T.push([T[0][0],T[0][1]]),T}var f=[];function v(d){var m=[u(d.region,!1)];f.push(m);for(var y=0;y<d.children.length;y++)m.push(h(d.children[y]))}function h(d){for(var m=0;m<d.children.length;m++)v(d.children[m]);return u(d.region,!0)}for(var o=0;o<i.children.length;o++)v(i.children[o]);return f.length<=0?{type:\"Polygon\",coordinates:[]}:f.length==1?{type:\"Polygon\",coordinates:f[0]}:{type:\"MultiPolygon\",coordinates:f}}};lA.exports=nJ});var cA=K((Hue,fA)=>{var iJ=JM(),lJ=QM(),sA=rA(),oJ=aA(),Wf=iA(),uA=oA(),En=!1,Xf=lJ(),an;an={buildLog:function(e){return e===!0?En=iJ():e===!1&&(En=!1),En===!1?!1:En.list},epsilon:function(e){return Xf.epsilon(e)},segments:function(e){var r=sA(!0,Xf,En);return e.regions.forEach(r.addRegion),{segments:r.calculate(e.inverted),inverted:e.inverted}},combine:function(e,r){var t=sA(!1,Xf,En);return{combined:t.calculate(e.segments,e.inverted,r.segments,r.inverted),inverted1:e.inverted,inverted2:r.inverted}},selectUnion:function(e){return{segments:Wf.union(e.combined,En),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:Wf.intersect(e.combined,En),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:Wf.difference(e.combined,En),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:Wf.differenceRev(e.combined,En),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:Wf.xor(e.combined,En),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:oJ(e.segments,Xf,En),inverted:e.inverted}},polygonFromGeoJSON:function(e){return uA.toPolygon(an,e)},polygonToGeoJSON:function(e){return uA.fromPolygon(an,Xf,e)},union:function(e,r){return Zf(e,r,an.selectUnion)},intersect:function(e,r){return Zf(e,r,an.selectIntersect)},difference:function(e,r){return Zf(e,r,an.selectDifference)},differenceRev:function(e,r){return Zf(e,r,an.selectDifferenceRev)},xor:function(e,r){return Zf(e,r,an.selectXor)}};function Zf(e,r,t){var a=an.segments(e),n=an.segments(r),i=an.combine(a,n),l=t(i);return an.polygon(l)}typeof window==\"object\"&&(window.PolyBool=an);fA.exports=an});var hA=K((Oue,vA)=>{vA.exports=function(r,t,a,n){var i=r[0],l=r[1],o=!1;a===void 0&&(a=0),n===void 0&&(n=t.length);for(var s=n-a,u=0,f=s-1;u<s;f=u++){var v=t[u+a][0],h=t[u+a][1],d=t[f+a][0],m=t[f+a][1],y=h>l!=m>l&&i<(d-v)*(l-h)\/(m-h)+v;y&#038;&#038;(o=!o)}return o}});var sg=K((Bue,dA)=>{\"use strict\";var og=Nv().dot,zh=Gt().BADNUM,Nh=dA.exports={};Nh.tester=function(r){var t=r.slice(),a=t[0][0],n=a,i=t[0][1],l=i,o;for((t[t.length-1][0]!==t[0][0]||t[t.length-1][1]!==t[0][1])&&t.push(t[0]),o=1;o<t.length;o++)a=Math.min(a,t[o][0]),n=Math.max(n,t[o][0]),i=Math.min(i,t[o][1]),l=Math.max(l,t[o][1]);var s=!1,u;t.length===5&#038;&#038;(t[0][0]===t[1][0]?t[2][0]===t[3][0]&#038;&#038;t[0][1]===t[3][1]&#038;&#038;t[1][1]===t[2][1]&#038;&#038;(s=!0,u=function(m){return m[0]===t[0][0]}):t[0][1]===t[1][1]&#038;&#038;t[2][1]===t[3][1]&#038;&#038;t[0][0]===t[3][0]&#038;&#038;t[1][0]===t[2][0]&#038;&#038;(s=!0,u=function(m){return m[1]===t[0][1]}));function f(m,y){var g=m[0],_=m[1];return!(g===zh||g<a||g>n||_===zh||_<i||_>l||y&&u(m))}function v(m,y){var g=m[0],_=m[1];if(g===zh||g<a||g>n||_===zh||_<i||_>l)return!1;var T=t.length,w=t[0][0],b=t[0][1],M=0,S,k,q,D,P;for(S=1;S<T;S++)if(k=w,q=b,w=t[S][0],b=t[S][1],D=Math.min(k,w),!(g<D||g>Math.max(k,w)||_>Math.max(q,b)))if(_<Math.min(q,b))g!==D&#038;&#038;M++;else{if(w===k?P=_:P=q+(g-k)*(b-q)\/(w-k),_===P)return!(S===1&#038;&#038;y);_<=P&#038;&#038;g!==D&#038;&#038;M++}return M%2===1}var h=!0,d=t[0];for(o=1;o<t.length;o++)if(d[0]!==t[o][0]||d[1]!==t[o][1]){h=!1;break}return{xmin:a,xmax:n,ymin:i,ymax:l,pts:t,contains:s?f:v,isRect:s,degenerate:h}};Nh.isSegmentBent=function(r,t,a,n){var i=r[t],l=[r[a][0]-i[0],r[a][1]-i[1]],o=og(l,l),s=Math.sqrt(o),u=[-l[1]\/s,l[0]\/s],f,v,h;for(f=t+1;f<a;f++)if(v=[r[f][0]-i[0],r[f][1]-i[1]],h=og(v,l),h<0||h>o||Math.abs(og(v,u))>n)return!0;return!1};Nh.filter=function(r,t){var a=[r[0]],n=0,i=0;function l(s){r.push(s);var u=a.length,f=n;a.splice(i+1);for(var v=f+1;v<r.length;v++)(v===r.length-1||Nh.isSegmentBent(r,f,v+1,t))&#038;&#038;(a.push(r[v]),a.length<u-2&#038;&#038;(n=v,i=a.length-1),f=v)}if(r.length>1){var o=r.pop();l(o)}return{addPt:l,raw:r,filtered:a}}});var mA=K((Yue,pA)=>{\"use strict\";pA.exports={BENDPX:1.5,MINSELECT:12,SELECTDELAY:100,SELECTID:\"-select\"}});var IA=K((Uue,FA)=>{\"use strict\";var yA=cA(),sJ=hA(),Qf=br(),uJ=tt().dashStyle,Jf=Er(),fJ=ni(),cJ=Ti().makeEventData,tc=iu(),vJ=tc.freeMode,hJ=tc.rectMode,$f=tc.drawMode,vg=tc.openMode,hg=tc.selectMode,gA=Rl(),bA=Ff(),MA=bh(),AA=wl().clearOutline,kA=Dl(),ug=kA.handleEllipse,dJ=kA.readPaths,pJ=mh().newShapes,mJ=Ny(),yJ=lg().activateLastSelection,Ih=Fe(),gJ=Ih.sorterAsc,CA=sg(),Kf=Zv(),Pn=Zt().getFromId,bJ=sh(),xJ=Eh().redrawReglTraces,Hh=mA(),zi=Hh.MINSELECT,_J=CA.filter,dg=CA.tester,pg=vh(),xA=pg.p2r,wJ=pg.axValue,TJ=pg.getTransform;function mg(e){return e.subplot!==void 0}function MJ(e,r,t,a,n){var i=!mg(a),l=vJ(n),o=hJ(n),s=vg(n),u=$f(n),f=hg(n),v=n===\"drawline\",h=n===\"drawcircle\",d=v||h,m=a.gd,y=m._fullLayout,g=f&&y.newselection.mode===\"immediate\"&&i,_=y._zoomlayer,T=a.element.getBoundingClientRect(),w=a.plotinfo,b=TJ(w),M=r-T.left,S=t-T.top;y._calcInverseTransform(m);var k=Ih.apply3DTransform(y._invTransform)(M,S);M=k[0],S=k[1];var q=y._invScaleX,D=y._invScaleY,P=M,z=S,F=\"M\"+M+\",\"+S,O=a.xaxes[0],I=a.yaxes[0],V=O._length,J=I._length,G=e.altKey&&!($f(n)&&s),U,H,Q,Z,ne,ce,ye;LA(e,m,a),l&&(U=_J([[M,S]],Hh.BENDPX));var Ce=_.selectAll(\"path.select-outline-\"+w.id).data([1]),re=u?y.newshape:y.newselection;u&&(a.hasText=re.label.text||re.label.texttemplate);var Se=u&&!s?re.fillcolor:\"rgba(0,0,0,0)\",pe=re.line.color||(i?Jf.contrast(m._fullLayout.plot_bgcolor):\"#7f7f7f\");Ce.enter().append(\"path\").attr(\"class\",\"select-outline select-outline-\"+w.id).style({opacity:u?re.opacity\/2:1,\"stroke-dasharray\":uJ(re.line.dash,re.line.width),\"stroke-width\":re.line.width+\"px\",\"shape-rendering\":\"crispEdges\"}).call(Jf.stroke,pe).call(Jf.fill,Se).attr(\"fill-rule\",\"evenodd\").classed(\"cursor-move\",!!u).attr(\"transform\",b).attr(\"d\",F+\"Z\");var be=_.append(\"path\").attr(\"class\",\"zoombox-corners\").style({fill:Jf.background,stroke:Jf.defaultLine,\"stroke-width\":1}).attr(\"transform\",b).attr(\"d\",\"M0,0Z\");if(u&&a.hasText){var Ae=_.select(\".label-temp\");Ae.empty()&&(Ae=_.append(\"g\").classed(\"label-temp\",!0).classed(\"select-outline\",!0).style({opacity:.8}))}var ge=y._uid+Hh.SELECTID,B=[],$=Oh(m,a.xaxes,a.yaxes,a.subplot);g&&!e.shiftKey&&(a._clearSubplotSelections=function(){if(i){var le=O._id,he=I._id;RA(m,le,he,$);for(var me=(m.layout||{}).selections||[],Re=[],Ee=!1,Le=0;Le<me.length;Le++){var Ve=y.selections[Le];!Ve||Ve.xref!==le||Ve.yref!==he?Re.push(me[Le]):Ee=!0}Ee&#038;&#038;(m._fullLayout._noEmitSelectedAtStart=!0,Qf.call(\"_guiRelayout\",m,{selections:Re}))}});var Y=IJ(a);a.moveFn=function(le,he){a._clearSubplotSelections&#038;&#038;(a._clearSubplotSelections(),a._clearSubplotSelections=void 0),P=Math.max(0,Math.min(V,q*le+M)),z=Math.max(0,Math.min(J,D*he+S));var me=Math.abs(P-M),Re=Math.abs(z-S);if(o){var Ee,Le,Ve;if(f){var Ie=y.selectdirection;switch(Ie===\"any\"?Re<Math.min(me*.6,zi)?Ee=\"h\":me<Math.min(Re*.6,zi)?Ee=\"v\":Ee=\"d\":Ee=Ie,Ee){case\"h\":Le=h?J\/2:0,Ve=J;break;case\"v\":Le=h?V\/2:0,Ve=V;break}}if(u)switch(y.newshape.drawdirection){case\"vertical\":Ee=\"h\",Le=h?J\/2:0,Ve=J;break;case\"horizontal\":Ee=\"v\",Le=h?V\/2:0,Ve=V;break;case\"ortho\":me<Re?(Ee=\"h\",Le=S,Ve=z):(Ee=\"v\",Le=M,Ve=P);break;default:Ee=\"d\"}Ee===\"h\"?(Z=d?ug(h,[P,Le],[P,Ve]):[[M,Le],[M,Ve],[P,Ve],[P,Le]],Z.xmin=d?P:Math.min(M,P),Z.xmax=d?P:Math.max(M,P),Z.ymin=Math.min(Le,Ve),Z.ymax=Math.max(Le,Ve),be.attr(\"d\",\"M\"+Z.xmin+\",\"+(S-zi)+\"h-4v\"+2*zi+\"h4ZM\"+(Z.xmax-1)+\",\"+(S-zi)+\"h4v\"+2*zi+\"h-4Z\")):Ee===\"v\"?(Z=d?ug(h,[Le,z],[Ve,z]):[[Le,S],[Le,z],[Ve,z],[Ve,S]],Z.xmin=Math.min(Le,Ve),Z.xmax=Math.max(Le,Ve),Z.ymin=d?z:Math.min(S,z),Z.ymax=d?z:Math.max(S,z),be.attr(\"d\",\"M\"+(M-zi)+\",\"+Z.ymin+\"v-4h\"+2*zi+\"v4ZM\"+(M-zi)+\",\"+(Z.ymax-1)+\"v4h\"+2*zi+\"v-4Z\")):Ee===\"d\"&#038;&#038;(Z=d?ug(h,[M,S],[P,z]):[[M,S],[M,z],[P,z],[P,S]],Z.xmin=Math.min(M,P),Z.xmax=Math.max(M,P),Z.ymin=Math.min(S,z),Z.ymax=Math.max(S,z),be.attr(\"d\",\"M0,0Z\"))}else l&#038;&#038;(U.addPt([P,z]),Z=U.filtered);if(a.selectionDefs&#038;&#038;a.selectionDefs.length?(Q=qA(a.mergedPolygons,Z,G),Z.subtract=G,H=yg(a.selectionDefs.concat([Z]))):(Q=[Z],H=dg(Z)),MA(EA(Q,s),Ce,a),f){var Xe=cg(m,!1),De=Xe.eventData?Xe.eventData.points.slice():[];Xe=cg(m,!1,H,$,a),H=Xe.selectionTesters,ye=Xe.eventData;var He;U?He=U.filtered:He=zA(Q),Kf.throttle(ge,Hh.SELECTDELAY,function(){B=PA(H,$);for(var We=B.slice(),ie=0;ie<De.length;ie++){for(var xe=De[ie],Ke=!1,hr=0;hr<We.length;hr++)if(We[hr].curveNumber===xe.curveNumber&#038;&#038;We[hr].pointNumber===xe.pointNumber){Ke=!0;break}Ke||We.push(xe)}We.length&#038;&#038;(ye||(ye={}),ye.points=We),Y(ye,He),HJ(m,ye)})}},a.clickFn=function(le,he){if(be.remove(),m._fullLayout._activeShapeIndex>=0){m._fullLayout._deactivateShape(m);return}if(!u){var me=y.clickmode;Kf.done(ge).then(function(){if(Kf.clear(ge),le===2){for(Ce.remove(),ne=0;ne<$.length;ne++)ce=$[ne],ce._module.selectPoints(ce,!1);if(ec(m,$),jf(a),bg(m),$.length){var Re=$[0].xaxis,Ee=$[0].yaxis;if(Re&#038;&#038;Ee){for(var Le=[],Ve=m._fullLayout.selections,Ie=0;Ie<Ve.length;Ie++){var Xe=Ve[Ie];Xe&#038;&#038;(Xe.xref!==Re._id||Xe.yref!==Ee._id)&#038;&#038;Le.push(Xe)}Le.length<Ve.length&#038;&#038;(m._fullLayout._noEmitSelectedAtStart=!0,Qf.call(\"_guiRelayout\",m,{selections:Le}))}}}else me.indexOf(\"select\")>-1&&SA(he,m,a.xaxes,a.yaxes,a.subplot,a,Ce),me===\"event\"&&rc(m,void 0);fJ.click(m,he,w.id)}).catch(Ih.error)}},a.doneFn=function(){be.remove(),Kf.done(ge).then(function(){Kf.clear(ge),!g&&Z&&a.selectionDefs&&(Z.subtract=G,a.selectionDefs.push(Z),a.mergedPolygons.length=0,[].push.apply(a.mergedPolygons,Q)),(g||u)&&jf(a,g),a.doneFnCompleted&&a.doneFnCompleted(B),f&&rc(m,ye)}).catch(Ih.error)}}function SA(e,r,t,a,n,i,l){var o=r._hoverdata,s=r._fullLayout,u=s.clickmode,f=u.indexOf(\"event\")>-1,v=[],h,d,m,y,g,_,T,w,b,M;if(LJ(o)){LA(e,r,i),h=Oh(r,t,a,n);var S=qJ(o,h),k=S.pointNumbers.length>0;if(k?DJ(h,S):EJ(h)&&(T=wA(S))){for(l&&l.remove(),M=0;M<h.length;M++)d=h[M],d._module.selectPoints(d,!1);ec(r,h),jf(i),f&#038;&#038;bg(r)}else{w=e.shiftKey&#038;&#038;(T!==void 0?T:wA(S)),m=AJ(S.pointNumber,S.searchInfo,w);var q=i.selectionDefs.concat([m]);for(y=yg(q,y),M=0;M<h.length;M++)if(g=h[M]._module.selectPoints(h[M],y),_=DA(g,h[M]),v.length)for(var D=0;D<_.length;D++)v.push(_[D]);else v=_;if(b={points:v},ec(r,h,b),m&#038;&#038;i&#038;&#038;i.selectionDefs.push(m),l){var P=i.mergedPolygons,z=vg(i.dragmode);MA(EA(P,z),l,i)}f&#038;&#038;rc(r,b)}}}function AJ(e,r,t){return{pointNumber:e,searchInfo:r,subtract:!!t}}function fg(e){return\"pointNumber\"in e&#038;&#038;\"searchInfo\"in e}function kJ(e){return{xmin:0,xmax:0,ymin:0,ymax:0,pts:[],contains:function(r,t,a,n){var i=e.searchInfo.cd[0].trace.index,l=n.cd[0].trace.index;return l===i&#038;&#038;a===e.pointNumber},isRect:!1,degenerate:!1,subtract:!!e.subtract}}function yg(e){if(!e.length)return;for(var r=[],t=fg(e[0])?0:e[0][0][0],a=t,n=fg(e[0])?0:e[0][0][1],i=n,l=0;l<e.length;l++)if(fg(e[l]))r.push(kJ(e[l]));else{var o=dg(e[l]);o.subtract=!!e[l].subtract,r.push(o),t=Math.min(t,o.xmin),a=Math.max(a,o.xmax),n=Math.min(n,o.ymin),i=Math.max(i,o.ymax)}function s(u,f,v,h){for(var d=!1,m=0;m<r.length;m++)r[m].contains(u,f,v,h)&#038;&#038;(d=!r[m].subtract);return d}return{xmin:t,xmax:a,ymin:n,ymax:i,pts:[],contains:s,isRect:!1,degenerate:!1}}function LA(e,r,t){var a=r._fullLayout,n=t.plotinfo,i=t.dragmode,l=a._lastSelectedSubplot&#038;&#038;a._lastSelectedSubplot===n.id,o=(e.shiftKey||e.altKey)&#038;&#038;!($f(i)&#038;&#038;vg(i));l&#038;&#038;o&#038;&#038;n.selection&#038;&#038;n.selection.selectionDefs&#038;&#038;!t.selectionDefs?(t.selectionDefs=n.selection.selectionDefs,t.mergedPolygons=n.selection.mergedPolygons):(!o||!n.selection)&#038;&#038;jf(t),l||(AA(r),a._lastSelectedSubplot=n.id)}function CJ(e){return e._fullLayout._activeShapeIndex>=0}function SJ(e){return e._fullLayout._activeSelectionIndex>=0}function jf(e,r){var t=e.dragmode,a=e.plotinfo,n=e.gd;CJ(n)&&n._fullLayout._deactivateShape(n),SJ(n)&&n._fullLayout._deactivateSelection(n);var i=n._fullLayout,l=i._zoomlayer,o=$f(t),s=hg(t);if(o||s){var u=l.selectAll(\".select-outline-\"+a.id);if(u&&n._fullLayout._outlining){var f;o&&(f=pJ(u,e)),f&&Qf.call(\"_guiRelayout\",n,{shapes:f});var v;s&&!mg(e)&&(v=mJ(u,e)),v&&(n._fullLayout._noEmitSelectedAtStart=!0,Qf.call(\"_guiRelayout\",n,{selections:v}).then(function(){r&&yJ(n)})),n._fullLayout._outlining=!1}}a.selection={},a.selection.selectionDefs=e.selectionDefs=[],a.selection.mergedPolygons=e.mergedPolygons=[]}function _A(e){return e._id}function Oh(e,r,t,a){if(!e.calcdata)return[];var n=[],i=r.map(_A),l=t.map(_A),o,s,u;for(u=0;u<e.calcdata.length;u++)if(o=e.calcdata[u],s=o[0].trace,!(s.visible!==!0||!s._module||!s._module.selectPoints))if(mg({subplot:a})&#038;&#038;(s.subplot===a||s.geo===a))n.push(Fh(s._module,o,r[0],t[0]));else if(s.type===\"splom\"){if(s._xaxes[i[0]]&#038;&#038;s._yaxes[l[0]]){var f=Fh(s._module,o,r[0],t[0]);f.scene=e._fullLayout._splomScenes[s.uid],n.push(f)}}else if(s.type===\"sankey\"){var v=Fh(s._module,o,r[0],t[0]);n.push(v)}else{if(i.indexOf(s.xaxis)===-1&#038;&#038;(!s._xA||!s._xA.overlaying)||l.indexOf(s.yaxis)===-1&#038;&#038;(!s._yA||!s._yA.overlaying))continue;n.push(Fh(s._module,o,Pn(e,s.xaxis),Pn(e,s.yaxis)))}return n}function Fh(e,r,t,a){return{_module:e,cd:r,xaxis:t,yaxis:a}}function LJ(e){return e&#038;&#038;Array.isArray(e)&#038;&#038;e[0].hoverOnBox!==!0}function qJ(e,r){var t=e[0],a=-1,n=[],i,l;for(l=0;l<r.length;l++)if(i=r[l],t.fullData.index===i.cd[0].trace.index){if(t.hoverOnBox===!0)break;t.pointNumber!==void 0?a=t.pointNumber:t.binNumber!==void 0&#038;&#038;(a=t.binNumber,n=t.pointNumbers);break}return{pointNumber:a,pointNumbers:n,searchInfo:i}}function wA(e){var r=e.searchInfo.cd[0].trace,t=e.pointNumber,a=e.pointNumbers,n=a.length>0,i=n?a[0]:t;return r.selectedpoints?r.selectedpoints.indexOf(i)>-1:!1}function DJ(e,r){var t=[],a,n,i,l;for(l=0;l<e.length;l++)a=e[l],a.cd[0].trace.selectedpoints&#038;&#038;a.cd[0].trace.selectedpoints.length>0&&t.push(a);if(t.length===1&&(i=t[0]===r.searchInfo,i&&(n=r.searchInfo.cd[0].trace,n.selectedpoints.length===r.pointNumbers.length))){for(l=0;l<r.pointNumbers.length;l++)if(n.selectedpoints.indexOf(r.pointNumbers[l])<0)return!1;return!0}return!1}function EJ(e){var r=0,t,a,n;for(n=0;n<e.length;n++)if(t=e[n],a=t.cd[0].trace,a.selectedpoints&#038;&#038;(a.selectedpoints.length>1||(r+=a.selectedpoints.length,r>1)))return!1;return r===1}function ec(e,r,t){var a;for(a=0;a<r.length;a++){var n=r[a].cd[0].trace._fullInput,i=e._fullLayout._tracePreGUI[n.uid]||{};i.selectedpoints===void 0&#038;&#038;(i.selectedpoints=n._input.selectedpoints||null)}var l;if(t){var o=t.points||[];for(a=0;a<r.length;a++)l=r[a].cd[0].trace,l._input.selectedpoints=l._fullInput.selectedpoints=[],l._fullInput!==l&#038;&#038;(l.selectedpoints=[]);for(var s=0;s<o.length;s++){var u=o[s],f=u.data,v=u.fullData,h=u.pointIndex,d=u.pointIndices;d?([].push.apply(f.selectedpoints,d),l._fullInput!==l&#038;&#038;[].push.apply(v.selectedpoints,d)):(f.selectedpoints.push(h),l._fullInput!==l&#038;&#038;v.selectedpoints.push(h))}}else for(a=0;a<r.length;a++)l=r[a].cd[0].trace,delete l.selectedpoints,delete l._input.selectedpoints,l._fullInput!==l&#038;&#038;delete l._fullInput.selectedpoints;PJ(e,r)}function PJ(e,r){for(var t=!1,a=0;a<r.length;a++){var n=r[a],i=n.cd;Qf.traceIs(i[0].trace,\"regl\")&#038;&#038;(t=!0);var l=n._module,o=l.styleOnSelect||l.style;o&#038;&#038;(o(e,i,i[0].node3),i[0].nodeRangePlot3&#038;&#038;o(e,i,i[0].nodeRangePlot3))}t&#038;&#038;(bJ(e),xJ(e))}function qA(e,r,t){for(var a=t?yA.difference:yA.union,n=a({regions:e},{regions:[r]}),i=n.regions.reverse(),l=0;l<i.length;l++){var o=i[l];o.subtract=gg(o,i.slice(0,l))}return i}function DA(e,r){if(Array.isArray(e))for(var t=r.cd,a=r.cd[0].trace,n=0;n<e.length;n++)e[n]=cJ(e[n],a,t);return e}function EA(e,r){for(var t=[],a=0;a<e.length;a++){t[a]=[];for(var n=0;n<e[a].length;n++){t[a][n]=[],t[a][n][0]=n?\"L\":\"M\";for(var i=0;i<e[a][n].length;i++)t[a][n].push(e[a][n][i])}r||t[a].push([\"Z\",t[a][0][1],t[a][0][2]])}return t}function PA(e,r){for(var t=[],a,n=[],i,l=0;l<r.length;l++){var o=r[l];i=o._module.selectPoints(o,e),n.push(i),a=DA(i,o),t=t.concat(a)}return t}function cg(e,r,t,a,n){var i=!!a,l,o,s;n&#038;&#038;(l=n.plotinfo,o=n.xaxes[0]._id,s=n.yaxes[0]._id);var u=[],f=[],v=TA(e),h=e._fullLayout;if(l){var d=h._zoomlayer,m=h.dragmode,y=$f(m),g=hg(m);if(y||g){var _=Pn(e,o,\"x\"),T=Pn(e,s,\"y\");if(_&#038;&#038;T){var w=d.selectAll(\".select-outline-\"+l.id);if(w&#038;&#038;e._fullLayout._outlining&#038;&#038;w.length){for(var b=w[0][0],M=b.getAttribute(\"d\"),S=dJ(M,e,l),k=[],q=0;q<S.length;q++){for(var D=S[q],P=[],z=0;z<D.length;z++)P.push([zl(_,D[z][1]),zl(T,D[z][2])]);P.xref=o,P.yref=s,P.subtract=gg(P,k),k.push(P)}v=v.concat(k)}}}}var F=o&#038;&#038;s?[o+s]:h._subplots.cartesian;RJ(e);for(var O={},I=0;I<F.length;I++){var V=F[I],J=V.indexOf(\"y\"),G=V.slice(0,J),U=V.slice(J),H=o&#038;&#038;s?t:void 0;if(H=NJ(v,G,U,H),H){var Q=a;if(!i){var Z=Pn(e,G,\"x\"),ne=Pn(e,U,\"y\");Q=Oh(e,[Z],[ne],V);for(var ce=0;ce<Q.length;ce++){var ye=Q[ce],Ce=ye.cd[0],re=Ce.trace;if(ye._module.name===\"scattergl\"&#038;&#038;!Ce.t.xpx){var Se=re.x,pe=re.y,be=re._length;Ce.t.xpx=[],Ce.t.ypx=[];for(var Ae=0;Ae<be;Ae++)Ce.t.xpx[Ae]=Z.c2p(Se[Ae]),Ce.t.ypx[Ae]=ne.c2p(pe[Ae])}ye._module.name===\"splom\"&#038;&#038;(O[re.uid]||(O[re.uid]=!0))}}var ge=PA(H,Q);u=u.concat(ge),f=f.concat(Q)}}var B={points:u};ec(e,f,B);var $=h.clickmode,Y=$.indexOf(\"event\")>-1&&r;if(!l&&r){var le=TA(e,!0);if(le.length){var he=le[0].xref,me=le[0].yref;if(he&&me){var Re=zA(le),Ee=NA([Pn(e,he,\"x\"),Pn(e,me,\"y\")]);Ee(B,Re)}}e._fullLayout._noEmitSelectedAtStart?e._fullLayout._noEmitSelectedAtStart=!1:Y&&rc(e,B),h._reselect=!1}if(!l&&h._deselect){var Le=h._deselect;o=Le.xref,s=Le.yref,zJ(o,s,f)||RA(e,o,s,a),Y&&(B.points.length?rc(e,B):bg(e)),h._deselect=!1}return{eventData:B,selectionTesters:t}}function RJ(e){var r=e.calcdata;if(r)for(var t=0;t<r.length;t++){var a=r[t][0],n=a.trace,i=e._fullLayout._splomScenes;if(i){var l=i[n.uid];l&#038;&#038;(l.selectBatch=[])}}}function zJ(e,r,t){for(var a=0;a<t.length;a++){var n=t[a];if(n.xaxis&#038;&#038;n.xaxis._id===e&#038;&#038;n.yaxis&#038;&#038;n.yaxis._id===r)return!0}return!1}function RA(e,r,t,a){a=Oh(e,[Pn(e,r,\"x\")],[Pn(e,t,\"y\")],r+t);for(var n=0;n<a.length;n++){var i=a[n];i._module.selectPoints(i,!1)}ec(e,a)}function NJ(e,r,t,a){for(var n,i=0;i<e.length;i++){var l=e[i];if(!(r!==l.xref||t!==l.yref))if(n){var o=!!l.subtract;n=qA(n,l,o),a=yg(n)}else n=[l],a=dg(l)}return a}function TA(e,r){for(var t=[],a=e._fullLayout,n=a.selections,i=n.length,l=0;l<i;l++)if(!(r&#038;&#038;l!==a._activeSelectionIndex)){var o=n[l];if(o){var s=o.xref,u=o.yref,f=Pn(e,s,\"x\"),v=Pn(e,u,\"y\"),h,d,m,y,g;if(o.type===\"rect\"){g=[];var _=zl(f,o.x0),T=zl(f,o.x1),w=zl(v,o.y0),b=zl(v,o.y1);g=[[_,w],[_,b],[T,b],[T,w]],h=Math.min(_,T),d=Math.max(_,T),m=Math.min(w,b),y=Math.max(w,b),g.xmin=h,g.xmax=d,g.ymin=m,g.ymax=y,g.xref=s,g.yref=u,g.subtract=!1,g.isRect=!0,t.push(g)}else if(o.type===\"path\")for(var M=o.path.split(\"Z\"),S=[],k=0;k<M.length;k++){var q=M[k];if(q){q+=\"Z\";var D=gA.extractPathCoords(q,bA.paramIsX,\"raw\"),P=gA.extractPathCoords(q,bA.paramIsY,\"raw\");h=1\/0,d=-1\/0,m=1\/0,y=-1\/0,g=[];for(var z=0;z<D.length;z++){var F=zl(f,D[z]),O=zl(v,P[z]);g.push([F,O]),h=Math.min(F,h),d=Math.max(F,d),m=Math.min(O,m),y=Math.max(O,y)}g.xmin=h,g.xmax=d,g.ymin=m,g.ymax=y,g.xref=s,g.yref=u,g.subtract=gg(g,S),S.push(g),t.push(g)}}}}return t}function gg(e,r){for(var t=!1,a=0;a<r.length;a++)for(var n=r[a],i=0;i<e.length;i++)if(sJ(e[i],n)){t=!t;break}return t}function zl(e,r){return e.type===\"date\"&#038;&#038;(r=r.replace(\"_\",\" \")),e.type===\"log\"?e.c2p(r):e.r2p(r,null,e.calendar)}function zA(e){for(var r=e.length,t=[],a=0;a<r;a++){var n=e[a];t=t.concat(n),t=t.concat([n[0]])}return FJ(t)}function FJ(e){return e.isRect=e.length===5&#038;&#038;e[0][0]===e[4][0]&#038;&#038;e[0][1]===e[4][1]&#038;&#038;e[0][0]===e[1][0]&#038;&#038;e[2][0]===e[3][0]&#038;&#038;e[0][1]===e[3][1]&#038;&#038;e[1][1]===e[2][1]||e[0][1]===e[1][1]&#038;&#038;e[2][1]===e[3][1]&#038;&#038;e[0][0]===e[3][0]&#038;&#038;e[1][0]===e[2][0],e.isRect&#038;&#038;(e.xmin=Math.min(e[0][0],e[2][0]),e.xmax=Math.max(e[0][0],e[2][0]),e.ymin=Math.min(e[0][1],e[2][1]),e.ymax=Math.max(e[0][1],e[2][1])),e}function NA(e){return function(r,t){for(var a,n,i=0;i<e.length;i++){var l=e[i],o=l._id,s=o.charAt(0);if(t.isRect){a||(a={});var u=t[s+\"min\"],f=t[s+\"max\"];u!==void 0&#038;&#038;f!==void 0&#038;&#038;(a[o]=[xA(l,u),xA(l,f)].sort(gJ))}else n||(n={}),n[o]=t.map(wJ(l))}a&#038;&#038;(r.range=a),n&#038;&#038;(r.lassoPoints=n)}}function IJ(e){var r=e.plotinfo;return r.fillRangeItems||NA(e.xaxes.concat(e.yaxes))}function HJ(e,r){e.emit(\"plotly_selecting\",r)}function rc(e,r){r&#038;&#038;(r.selections=(e.layout||{}).selections||[]),e.emit(\"plotly_selected\",r)}function bg(e){e.emit(\"plotly_deselect\",null)}FA.exports={reselect:cg,prepSelect:MJ,clearOutline:AA,clearSelectionsCache:jf,selectOnClick:SA}});var xg=K((Vue,HA)=>{\"use strict\";HA.exports=[{path:\"\",backoff:0},{path:\"M-2.4,-3V3L0.6,0Z\",backoff:.6},{path:\"M-3.7,-2.5V2.5L1.3,0Z\",backoff:1.3},{path:\"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z\",backoff:1.55},{path:\"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z\",backoff:1.6},{path:\"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z\",backoff:2},{path:\"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z\",backoff:0,noRotate:!0},{path:\"M2,2V-2H-2V2Z\",backoff:0,noRotate:!0}]});var ac=K((Gue,OA)=>{\"use strict\";OA.exports={axisRefDescription:function(e,r,t){return[\"If set to a\",e,\"axis id (e.g. *\"+e+\"* or\",\"*\"+e+\"2*), the `\"+e+\"` position refers to a\",e,\"coordinate. If set to *paper*, the `\"+e+\"`\",\"position refers to the distance from the\",r,\"of the plotting\",\"area in normalized coordinates where *0* (*1*) corresponds to the\",r,\"(\"+t+\"). If set to a\",e,\"axis ID followed by\",\"*domain* (separated by a space), the position behaves like for\",\"*paper*, but refers to the distance in fractions of the domain\",\"length from the\",r,\"of the domain of that axis: e.g.,\",\"*\"+e+\"2 domain* refers to the domain of the second\",e,\" axis and a\",e,\"position of 0.5 refers to the\",\"point between the\",r,\"and the\",t,\"of the domain of the\",\"second\",e,\"axis.\"].join(\" \")}}});var cu=K((Xue,UA)=>{\"use strict\";var BA=xg(),YA=ga(),Bh=$t(),OJ=ct().templatedArray,Wue=ac();UA.exports=OJ(\"annotation\",{visible:{valType:\"boolean\",dflt:!0,editType:\"calc+arraydraw\"},text:{valType:\"string\",editType:\"calc+arraydraw\"},textangle:{valType:\"angle\",dflt:0,editType:\"calc+arraydraw\"},font:YA({editType:\"calc+arraydraw\",colorEditType:\"arraydraw\"}),width:{valType:\"number\",min:1,dflt:null,editType:\"calc+arraydraw\"},height:{valType:\"number\",min:1,dflt:null,editType:\"calc+arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"arraydraw\"},align:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"],dflt:\"center\",editType:\"arraydraw\"},valign:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],dflt:\"middle\",editType:\"arraydraw\"},bgcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"arraydraw\"},bordercolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"arraydraw\"},borderpad:{valType:\"number\",min:0,dflt:1,editType:\"calc+arraydraw\"},borderwidth:{valType:\"number\",min:0,dflt:1,editType:\"calc+arraydraw\"},showarrow:{valType:\"boolean\",dflt:!0,editType:\"calc+arraydraw\"},arrowcolor:{valType:\"color\",editType:\"arraydraw\"},arrowhead:{valType:\"integer\",min:0,max:BA.length,dflt:1,editType:\"arraydraw\"},startarrowhead:{valType:\"integer\",min:0,max:BA.length,dflt:1,editType:\"arraydraw\"},arrowside:{valType:\"flaglist\",flags:[\"end\",\"start\"],extras:[\"none\"],dflt:\"end\",editType:\"arraydraw\"},arrowsize:{valType:\"number\",min:.3,dflt:1,editType:\"calc+arraydraw\"},startarrowsize:{valType:\"number\",min:.3,dflt:1,editType:\"calc+arraydraw\"},arrowwidth:{valType:\"number\",min:.1,editType:\"calc+arraydraw\"},standoff:{valType:\"number\",min:0,dflt:0,editType:\"calc+arraydraw\"},startstandoff:{valType:\"number\",min:0,dflt:0,editType:\"calc+arraydraw\"},ax:{valType:\"any\",editType:\"calc+arraydraw\"},ay:{valType:\"any\",editType:\"calc+arraydraw\"},axref:{valType:\"enumerated\",dflt:\"pixel\",values:[\"pixel\",Bh.idRegex.x.toString()],editType:\"calc\"},ayref:{valType:\"enumerated\",dflt:\"pixel\",values:[\"pixel\",Bh.idRegex.y.toString()],editType:\"calc\"},xref:{valType:\"enumerated\",values:[\"paper\",Bh.idRegex.x.toString()],editType:\"calc\"},x:{valType:\"any\",editType:\"calc+arraydraw\"},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"auto\",editType:\"calc+arraydraw\"},xshift:{valType:\"number\",dflt:0,editType:\"calc+arraydraw\"},yref:{valType:\"enumerated\",values:[\"paper\",Bh.idRegex.y.toString()],editType:\"calc\"},y:{valType:\"any\",editType:\"calc+arraydraw\"},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],dflt:\"auto\",editType:\"calc+arraydraw\"},yshift:{valType:\"number\",dflt:0,editType:\"calc+arraydraw\"},clicktoshow:{valType:\"enumerated\",values:[!1,\"onoff\",\"onout\"],dflt:!1,editType:\"arraydraw\"},xclick:{valType:\"any\",editType:\"arraydraw\"},yclick:{valType:\"any\",editType:\"arraydraw\"},hovertext:{valType:\"string\",editType:\"arraydraw\"},hoverlabel:{bgcolor:{valType:\"color\",editType:\"arraydraw\"},bordercolor:{valType:\"color\",editType:\"arraydraw\"},font:YA({editType:\"arraydraw\"}),editType:\"arraydraw\"},captureevents:{valType:\"boolean\",editType:\"arraydraw\"},editType:\"calc\"})});var Yh=K((Zue,VA)=>{\"use strict\";VA.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}});var WA=K((Jue,GA)=>{\"use strict\";GA.exports=function(r){return{valType:\"color\",editType:\"style\",anim:!0}}});var Yo=K((Kue,ek)=>{\"use strict\";var XA=d0().axisHoverFormat,{hovertemplateAttrs:BJ,texttemplateAttrs:YJ,templatefallbackAttrs:ZA}=co(),JA=gf(),UJ=ga(),KA=xi().dash,VJ=xi().pattern,GJ=tt(),WJ=Yh(),nc=Wt().extendFlat,XJ=WA();function QA(e){return{valType:\"any\",dflt:0,editType:\"calc\"}}function $A(e){return{valType:\"any\",editType:\"calc\"}}function jA(e){return{valType:\"enumerated\",values:[\"start\",\"middle\",\"end\"],dflt:\"middle\",editType:\"calc\"}}ek.exports={x:{valType:\"data_array\",editType:\"calc+clearAxisTypes\",anim:!0},x0:{valType:\"any\",dflt:0,editType:\"calc+clearAxisTypes\",anim:!0},dx:{valType:\"number\",dflt:1,editType:\"calc\",anim:!0},y:{valType:\"data_array\",editType:\"calc+clearAxisTypes\",anim:!0},y0:{valType:\"any\",dflt:0,editType:\"calc+clearAxisTypes\",anim:!0},dy:{valType:\"number\",dflt:1,editType:\"calc\",anim:!0},xperiod:QA(\"x\"),yperiod:QA(\"y\"),xperiod0:$A(\"x0\"),yperiod0:$A(\"y0\"),xperiodalignment:jA(\"x\"),yperiodalignment:jA(\"y\"),xhoverformat:XA(\"x\"),yhoverformat:XA(\"y\"),offsetgroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},alignmentgroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},stackgroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],editType:\"calc\"},groupnorm:{valType:\"enumerated\",values:[\"\",\"fraction\",\"percent\"],dflt:\"\",editType:\"calc\"},stackgaps:{valType:\"enumerated\",values:[\"infer zero\",\"interpolate\"],dflt:\"infer zero\",editType:\"calc\"},text:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"calc\"},texttemplate:YJ(),texttemplatefallback:ZA({editType:\"calc\"}),hovertext:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"style\"},mode:{valType:\"flaglist\",flags:[\"lines\",\"markers\",\"text\"],extras:[\"none\"],editType:\"calc\"},hoveron:{valType:\"flaglist\",flags:[\"points\",\"fills\"],editType:\"style\"},hovertemplate:BJ({},{keys:WJ.eventDataKeys}),hovertemplatefallback:ZA(),line:{color:{valType:\"color\",editType:\"style\",anim:!0},width:{valType:\"number\",min:0,dflt:2,editType:\"style\",anim:!0},shape:{valType:\"enumerated\",values:[\"linear\",\"spline\",\"hv\",\"vh\",\"hvh\",\"vhv\"],dflt:\"linear\",editType:\"plot\"},smoothing:{valType:\"number\",min:0,max:1.3,dflt:1,editType:\"plot\"},dash:nc({},KA,{editType:\"style\"}),backoff:{valType:\"number\",min:0,dflt:\"auto\",arrayOk:!0,editType:\"plot\"},simplify:{valType:\"boolean\",dflt:!0,editType:\"plot\"},editType:\"plot\"},connectgaps:{valType:\"boolean\",dflt:!1,editType:\"calc\"},cliponaxis:{valType:\"boolean\",dflt:!0,editType:\"plot\"},fill:{valType:\"enumerated\",values:[\"none\",\"tozeroy\",\"tozerox\",\"tonexty\",\"tonextx\",\"toself\",\"tonext\"],editType:\"calc\"},fillcolor:XJ(!0),fillgradient:nc({type:{valType:\"enumerated\",values:[\"radial\",\"horizontal\",\"vertical\",\"none\"],dflt:\"none\",editType:\"calc\"},start:{valType:\"number\",editType:\"calc\"},stop:{valType:\"number\",editType:\"calc\"},colorscale:{valType:\"colorscale\",editType:\"style\"},editType:\"calc\"}),fillpattern:VJ,marker:nc({symbol:{valType:\"enumerated\",values:GJ.symbolList,dflt:\"circle\",arrayOk:!0,editType:\"style\"},opacity:{valType:\"number\",min:0,max:1,arrayOk:!0,editType:\"style\",anim:!0},angle:{valType:\"angle\",dflt:0,arrayOk:!0,editType:\"plot\",anim:!1},angleref:{valType:\"enumerated\",values:[\"previous\",\"up\"],dflt:\"up\",editType:\"plot\",anim:!1},standoff:{valType:\"number\",min:0,dflt:0,arrayOk:!0,editType:\"plot\",anim:!0},size:{valType:\"number\",min:0,dflt:6,arrayOk:!0,editType:\"calc\",anim:!0},maxdisplayed:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},sizeref:{valType:\"number\",dflt:1,editType:\"calc\"},sizemin:{valType:\"number\",min:0,dflt:0,editType:\"calc\"},sizemode:{valType:\"enumerated\",values:[\"diameter\",\"area\"],dflt:\"diameter\",editType:\"calc\"},line:nc({width:{valType:\"number\",min:0,arrayOk:!0,editType:\"style\",anim:!0},dash:nc({},KA,{arrayOk:!0}),editType:\"calc\"},JA(\"marker.line\",{anim:!0})),gradient:{type:{valType:\"enumerated\",values:[\"radial\",\"horizontal\",\"vertical\",\"none\"],arrayOk:!0,dflt:\"none\",editType:\"calc\"},color:{valType:\"color\",arrayOk:!0,editType:\"calc\"},editType:\"calc\"},editType:\"calc\"},JA(\"marker\",{anim:!0})),selected:{marker:{opacity:{valType:\"number\",min:0,max:1,editType:\"style\"},color:{valType:\"color\",editType:\"style\"},size:{valType:\"number\",min:0,editType:\"style\"},editType:\"style\"},textfont:{color:{valType:\"color\",editType:\"style\"},editType:\"style\"},editType:\"style\"},unselected:{marker:{opacity:{valType:\"number\",min:0,max:1,editType:\"style\"},color:{valType:\"color\",editType:\"style\"},size:{valType:\"number\",min:0,editType:\"style\"},editType:\"style\"},textfont:{color:{valType:\"color\",editType:\"style\"},editType:\"style\"},editType:\"style\"},textposition:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle left\",\"middle center\",\"middle right\",\"bottom left\",\"bottom center\",\"bottom right\"],dflt:\"middle center\",arrayOk:!0,editType:\"calc\"},textfont:UJ({editType:\"calc\",colorEditType:\"style\",arrayOk:!0}),zorder:{valType:\"integer\",dflt:0,editType:\"plot\"}}});var _g=K(($ue,ak)=>{\"use strict\";var rk=cu(),tk=Yo().line,ZJ=xi().dash,Uh=Wt().extendFlat,JJ=bi().overrideAll,KJ=ct().templatedArray,Que=ac();ak.exports=JJ(KJ(\"selection\",{type:{valType:\"enumerated\",values:[\"rect\",\"path\"]},xref:Uh({},rk.xref,{}),yref:Uh({},rk.yref,{}),x0:{valType:\"any\"},x1:{valType:\"any\"},y0:{valType:\"any\"},y1:{valType:\"any\"},path:{valType:\"string\",editType:\"arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:.7,editType:\"arraydraw\"},line:{color:tk.color,width:Uh({},tk.width,{min:1,dflt:1}),dash:Uh({},ZJ,{dflt:\"dot\"})}}),\"arraydraw\",\"from-root\")});var ok=K((jue,lk)=>{\"use strict\";var nk=Fe(),Vh=pt(),QJ=ei(),$J=_g(),ik=Rl();lk.exports=function(r,t){QJ(r,t,{name:\"selections\",handleItemDefaults:jJ});for(var a=t.selections,n=0;n<a.length;n++){var i=a[n];i&#038;&#038;i.path===void 0&#038;&#038;(i.x0===void 0||i.x1===void 0||i.y0===void 0||i.y1===void 0)&#038;&#038;(t.selections[n]=null)}};function jJ(e,r,t){function a(S,k){return nk.coerce(e,r,$J,S,k)}var n=a(\"path\"),i=n?\"path\":\"rect\",l=a(\"type\",i),o=l!==\"path\";o&#038;&#038;delete r.path,a(\"opacity\"),a(\"line.color\"),a(\"line.width\"),a(\"line.dash\");for(var s=[\"x\",\"y\"],u=0;u<2;u++){var f=s[u],v={_fullLayout:t},h,d,m,y=Vh.coerceRef(e,r,v,f);if(h=Vh.getFromId(v,y),h._selectionIndices.push(r._index),m=ik.rangeToShapePosition(h),d=ik.shapePositionToRange(h),o){var g=f+\"0\",_=f+\"1\",T=e[g],w=e[_];e[g]=d(e[g],!0),e[_]=d(e[_],!0),Vh.coercePosition(r,v,a,y,g),Vh.coercePosition(r,v,a,y,_);var b=r[g],M=r[_];b!==void 0&#038;&#038;M!==void 0&#038;&#038;(r[g]=m(b),r[_]=m(M),e[g]=T,e[_]=w)}}o&#038;&#038;nk.noneOrAll(e,r,[\"x0\",\"x1\",\"y0\",\"y1\"])}});var uk=K((efe,sk)=>{\"use strict\";sk.exports=function(r,t,a){a(\"newselection.mode\");var n=a(\"newselection.line.width\");n&&(a(\"newselection.line.color\"),a(\"newselection.line.dash\")),a(\"activeselection.fillcolor\"),a(\"activeselection.opacity\")}});var ic=K((rfe,vk)=>{\"use strict\";var eK=br(),fk=Fe(),ck=Zt();vk.exports=function(r){return function(a,n){var i=a[r];if(Array.isArray(i))for(var l=eK.subplotsRegistry.cartesian,o=l.idRegex,s=n._subplots,u=s.xaxis,f=s.yaxis,v=s.cartesian,h=n._has(\"cartesian\"),d=0;d<i.length;d++){var m=i[d];if(fk.isPlainObject(m)){var y=ck.cleanId(m.xref,\"x\",!1),g=ck.cleanId(m.yref,\"y\",!1),_=o.x.test(y),T=o.y.test(g);if(_||T){h||fk.pushUnique(n._basePlotModules,l);var w=!1;_&#038;&#038;u.indexOf(y)===-1&#038;&#038;(u.push(y),w=!0),T&#038;&#038;f.indexOf(g)===-1&#038;&#038;(f.push(g),w=!0),w&#038;&#038;_&#038;&#038;T&#038;&#038;v.push(y+g)}}}}}});var vu=K((tfe,dk)=>{\"use strict\";var hk=lg(),lc=IA();dk.exports={moduleType:\"component\",name:\"selections\",layoutAttributes:_g(),supplyLayoutDefaults:ok(),supplyDrawNewSelectionDefaults:uk(),includeBasePlot:ic()(\"selections\"),draw:hk.draw,drawOne:hk.drawOne,reselect:lc.reselect,prepSelect:lc.prepSelect,clearOutline:lc.clearOutline,clearSelectionsCache:lc.clearSelectionsCache,selectOnClick:lc.selectOnClick}});var zk=K((afe,Rk)=>{\"use strict\";var kg=zr(),Rn=Fe(),pk=Rn.numberFormat,rK=wn(),tK=ly(),Gh=br(),Mk=Rn.strTranslate,aK=ba(),mk=Er(),Nl=tt(),nK=ni(),yk=pt(),iK=Ll(),lK=ti(),Ak=iu(),Wh=Ak.selectingOrDrawing,oK=Ak.freeMode,sK=Aa().FROM_TL,uK=sh(),fK=Eh().redrawReglTraces,cK=It(),Tg=Zt().getFromId,vK=vu().prepSelect,hK=vu().clearOutline,dK=vu().selectOnClick,wg=$y(),Cg=$t(),gk=Cg.MINDRAG,Ga=Cg.MINZOOM,bk=!0;function pK(e,r,t,a,n,i,l,o){var s=e._fullLayout._zoomlayer,u=l+o===\"nsew\",f=(l+o).length===1,v,h,d,m,y,g,_,T,w,b,M,S,k,q,D,P,z,F,O,I,V,J,G;t+=r.yaxis._shift;function U(){if(v=r.xaxis,h=r.yaxis,w=v._length,b=h._length,_=v._offset,T=h._offset,d={},d[v._id]=v,m={},m[h._id]=h,l&&o)for(var Me=r.overlays,ke=0;ke<Me.length;ke++){var Oe=Me[ke].xaxis;d[Oe._id]=Oe;var Ze=Me[ke].yaxis;m[Ze._id]=Ze}y=Tk(d),g=Tk(m),k=xk(y,o),q=xk(g,l),D=!q&#038;&#038;!k,S=wk(e,e._fullLayout._axisMatchGroups,d,m),M=wk(e,e._fullLayout._axisConstraintGroups,d,m,S);var Ue=M.isSubplotConstrained||S.isSubplotConstrained;P=o||Ue,z=l||Ue;var Ge=e._fullLayout;F=Ge._has(\"scattergl\"),O=Ge._has(\"splom\"),I=Ge._has(\"svg\")}U();var H=gK(q+k,e._fullLayout.dragmode,u),Q=Ck(r,l+o+\"drag\",H,t,a,n,i);if(D&#038;&#038;!u)return Q.onmousedown=null,Q.style.pointerEvents=\"none\",Q;var Z={element:Q,gd:e,plotinfo:r};Z.prepFn=function(Me,ke,Oe){var Ze=Z.dragmode,Ue=e._fullLayout.dragmode;Ue!==Ze&#038;&#038;(Z.dragmode=Ue),U(),J=e._fullLayout._invScaleX,G=e._fullLayout._invScaleY,D||(u?Me.shiftKey?Ue===\"pan\"?Ue=\"zoom\":Wh(Ue)||(Ue=\"pan\"):Me.ctrlKey&#038;&#038;(Ue=\"pan\"):Ue=\"pan\"),oK(Ue)?Z.minDrag=1:Z.minDrag=void 0,Wh(Ue)?(Z.xaxes=y,Z.yaxes=g,vK(Me,ke,Oe,Z,Ue)):(Z.clickFn=ce,Wh(Ze)&#038;&#038;ne(),D||(Ue===\"zoom\"?(Z.moveFn=le,Z.doneFn=me,Z.minDrag=1,Y(Me,ke,Oe)):Ue===\"pan\"&#038;&#038;(Z.moveFn=Xe,Z.doneFn=ie))),e._fullLayout._redrag=function(){var Ge=e._dragdata;if(Ge&#038;&#038;Ge.element===Q){var ir=e._fullLayout.dragmode;Wh(ir)||(U(),xe([0,0,w,b]),Z.moveFn(Ge.dx,Ge.dy))}}};function ne(){Z.plotinfo.selection=!1,hK(e)}function ce(Me,ke){var Oe=Z.gd;if(Oe._fullLayout._activeShapeIndex>=0){Oe._fullLayout._deactivateShape(Oe);return}var Ze=Oe._fullLayout.clickmode;if(Ag(Oe),Me===2&&!f&&We(),u)Ze.indexOf(\"select\")>-1&&dK(ke,Oe,y,g,r.id,Z),Ze.indexOf(\"event\")>-1&&nK.click(Oe,ke,r.id);else if(Me===1&&f){var Ue=l?h:v,Ge=l===\"s\"||o===\"w\"?0:1,ir=Ue._name+\".range[\"+Ge+\"]\",ar=mK(Ue,Ge),er=\"left\",Ne=\"middle\";if(Ue.fixedrange)return;l?(Ne=l===\"n\"?\"top\":\"bottom\",Ue.side===\"right\"&&(er=\"right\")):o===\"e\"&&(er=\"right\"),Oe._context.showAxisRangeEntryBoxes&&kg.select(Q).call(aK.makeEditable,{gd:Oe,immediate:!0,background:Oe._fullLayout.paper_bgcolor,text:String(ar),fill:Ue.tickfont?Ue.tickfont.color:\"#444\",horizontalAlign:er,verticalAlign:Ne}).on(\"edit\",function(ae){var oe=Ue.d2r(ae);oe!==void 0&&Gh.call(\"_guiRelayout\",Oe,ir,oe)})}}lK.init(Z);var ye,Ce,re,Se,pe,be,Ae,ge,B,$;function Y(Me,ke,Oe){var Ze=Q.getBoundingClientRect();ye=ke-Ze.left,Ce=Oe-Ze.top,e._fullLayout._calcInverseTransform(e);var Ue=Rn.apply3DTransform(e._fullLayout._invTransform)(ye,Ce);ye=Ue[0],Ce=Ue[1],re={l:ye,r:ye,w:0,t:Ce,b:Ce,h:0},Se=e._hmpixcount?e._hmlumcount\/e._hmpixcount:rK(e._fullLayout.plot_bgcolor).getLuminance(),pe=\"M0,0H\"+w+\"V\"+b+\"H0V0\",be=!1,Ae=\"xy\",$=!1,ge=Sk(s,Se,_,T,pe),B=Lk(s,_,T)}function le(Me,ke){if(e._transitioningWithDuration)return!1;var Oe=Math.max(0,Math.min(w,J*Me+ye)),Ze=Math.max(0,Math.min(b,G*ke+Ce)),Ue=Math.abs(Oe-ye),Ge=Math.abs(Ze-Ce);re.l=Math.min(ye,Oe),re.r=Math.max(ye,Oe),re.t=Math.min(Ce,Ze),re.b=Math.max(Ce,Ze);function ir(){Ae=\"\",re.r=re.l,re.t=re.b,B.attr(\"d\",\"M0,0Z\")}if(M.isSubplotConstrained)Ue>Ga||Ge>Ga?(Ae=\"xy\",Ue\/w>Ge\/b?(Ge=Ue*b\/w,Ce>Ze?re.t=Ce-Ge:re.b=Ce+Ge):(Ue=Ge*w\/b,ye>Oe?re.l=ye-Ue:re.r=ye+Ue),B.attr(\"d\",Xh(re))):ir();else if(S.isSubplotConstrained)if(Ue>Ga||Ge>Ga){Ae=\"xy\";var ar=Math.min(re.l\/w,(b-re.b)\/b),er=Math.max(re.r\/w,(b-re.t)\/b);re.l=ar*w,re.r=er*w,re.b=(1-ar)*b,re.t=(1-er)*b,B.attr(\"d\",Xh(re))}else ir();else!q||Ge<Math.min(Math.max(Ue*.6,gk),Ga)?Ue<gk||!k?ir():(re.t=0,re.b=b,Ae=\"x\",B.attr(\"d\",bK(re,Ce))):!k||Ue<Math.min(Ge*.6,Ga)?(re.l=0,re.r=w,Ae=\"y\",B.attr(\"d\",xK(re,ye))):(Ae=\"xy\",B.attr(\"d\",Xh(re)));re.w=re.r-re.l,re.h=re.b-re.t,Ae&#038;&#038;($=!0),e._dragged=$,qk(ge,B,re,pe,be,Se),he(),e.emit(\"plotly_relayouting\",V),be=!0}function he(){V={},(Ae===\"xy\"||Ae===\"x\")&#038;&#038;(Mg(y,re.l\/w,re.r\/w,V,M.xaxes),De(\"x\",V)),(Ae===\"xy\"||Ae===\"y\")&#038;&#038;(Mg(g,(b-re.b)\/b,(b-re.t)\/b,V,M.yaxes),De(\"y\",V))}function me(){he(),Ag(e),ie(),Ek(e)}var Re=[0,0,w,b],Ee=null,Le=Cg.REDRAWDELAY,Ve=r.mainplot?e._fullLayout._plots[r.mainplot]:r;function Ie(Me){if(!e._context._scrollZoom.cartesian&#038;&#038;!e._fullLayout._enablescrollzoom)return;if(ne(),e._transitioningWithDuration){Me.preventDefault(),Me.stopPropagation();return}U(),clearTimeout(Ee);var ke=-Me.deltaY;if(isFinite(ke)||(ke=Me.wheelDelta\/10),!isFinite(ke)){Rn.log(\"Did not find wheel motion attributes: \",Me);return}var Oe=Math.exp(-Math.min(Math.max(ke,-20),20)\/200),Ze=Ve.draglayer.select(\".nsewdrag\").node().getBoundingClientRect(),Ue=(Me.clientX-Ze.left)\/Ze.width,Ge=(Ze.bottom-Me.clientY)\/Ze.height,ir;function ar(er,Ne,ae){if(er.fixedrange)return;var oe=Rn.simpleMap(er.range,er.r2l),qe=oe[0]+(oe[1]-oe[0])*Ne;function Pe($e){return er.l2r(qe+($e-qe)*ae)}er.range=oe.map(Pe)}if(P){for(o||(Ue=.5),ir=0;ir<y.length;ir++)ar(y[ir],Ue,Oe);De(\"x\"),Re[2]*=Oe,Re[0]+=Re[2]*Ue*(1\/Oe-1)}if(z){for(l||(Ge=.5),ir=0;ir<g.length;ir++)ar(g[ir],Ge,Oe);De(\"y\"),Re[3]*=Oe,Re[1]+=Re[3]*(1-Ge)*(1\/Oe-1)}xe(Re),He(),e.emit(\"plotly_relayouting\",V),Ee=setTimeout(function(){e._fullLayout&#038;&#038;(Re=[0,0,w,b],ie())},Le),Me.preventDefault()}l.length*o.length!==1&#038;&#038;Pk(Q,Ie);function Xe(Me,ke){if(Me=Me*J,ke=ke*G,e._transitioningWithDuration)return;if(e._fullLayout._replotting=!0,k===\"ew\"||q===\"ns\"){var Oe=k?-Me:0,Ze=q?-ke:0;if(S.isSubplotConstrained){if(k&#038;&#038;q){var Ue=(Me\/w-ke\/b)\/2;Me=Ue*w,ke=-Ue*b,Oe=-Me,Ze=-ke}q?Oe=-Ze*w\/b:Ze=-Oe*b\/w}k&#038;&#038;(_k(y,Me),De(\"x\")),q&#038;&#038;(_k(g,ke),De(\"y\")),xe([Oe,Ze,w,b]),He(),e.emit(\"plotly_relayouting\",V);return}function Ge(Pe,$e,cr){for(var sr=1-$e,Mr,Ir,Jr=0;Jr<Pe.length;Jr++){var lt=Pe[Jr];if(!lt.fixedrange){Mr=lt,Ir=lt._rl[sr]+(lt._rl[$e]-lt._rl[sr])\/yK(cr\/lt._length);var _t=lt.l2r(Ir);_t!==!1&#038;&#038;_t!==void 0&#038;&#038;(lt.range[$e]=_t)}}return Mr._length*(Mr._rl[$e]-Ir)\/(Mr._rl[$e]-Mr._rl[sr])}var ir=k===\"w\"==(q===\"n\")?1:-1;if(k&#038;&#038;q&#038;&#038;(M.isSubplotConstrained||S.isSubplotConstrained)){var ar=(Me\/w+ir*ke\/b)\/2;Me=ar*w,ke=ir*ar*b}var er,Ne;if(k===\"w\"?Me=Ge(y,0,Me):k===\"e\"?Me=Ge(y,1,-Me):k||(Me=0),q===\"n\"?ke=Ge(g,1,ke):q===\"s\"?ke=Ge(g,0,-ke):q||(ke=0),er=k===\"w\"?Me:0,Ne=q===\"n\"?ke:0,M.isSubplotConstrained&#038;&#038;!S.isSubplotConstrained||S.isSubplotConstrained&#038;&#038;k&#038;&#038;q&#038;&#038;ir>0){var ae;if(S.isSubplotConstrained||!k&&q.length===1){for(ae=0;ae<y.length;ae++)y[ae].range=y[ae]._r.slice(),wg(y[ae],1-ke\/b);Me=ke*w\/b,er=Me\/2}if(S.isSubplotConstrained||!q&#038;&#038;k.length===1){for(ae=0;ae<g.length;ae++)g[ae].range=g[ae]._r.slice(),wg(g[ae],1-Me\/w);ke=Me*b\/w,Ne=ke\/2}}(!S.isSubplotConstrained||!q)&#038;&#038;De(\"x\"),(!S.isSubplotConstrained||!k)&#038;&#038;De(\"y\");var oe=w-Me,qe=b-ke;S.isSubplotConstrained&#038;&#038;!(k&#038;&#038;q)&#038;&#038;(k?(Ne=er?0:Me*b\/w,qe=oe*b\/w):(er=Ne?0:ke*w\/b,oe=qe*w\/b)),xe([er,Ne,oe,qe]),He(),e.emit(\"plotly_relayouting\",V)}function De(Me,ke){for(var Oe=S.isSubplotConstrained?{x:g,y}[Me]:S[Me+\"axes\"],Ze=S.isSubplotConstrained?{x:y,y:g}[Me]:[],Ue=0;Ue<Oe.length;Ue++){var Ge=Oe[Ue],ir=Ge._id,ar=S.xLinks[ir]||S.yLinks[ir],er=Ze[0]||d[ar]||m[ar];er&#038;&#038;(ke?(ke[Ge._name+\".range[0]\"]=ke[er._name+\".range[0]\"],ke[Ge._name+\".range[1]\"]=ke[er._name+\".range[1]\"]):Ge.range=er.range.slice())}}function He(){var Me=[],ke;function Oe(ir){for(ke=0;ke<ir.length;ke++)ir[ke].fixedrange||Me.push(ir[ke]._id)}function Ze(ir,ar){for(ke=0;ke<ir.length;ke++){var er=ir[ke],Ne=er[ar];!er.fixedrange&#038;&#038;Ne.tickmode===\"sync\"&#038;&#038;Me.push(Ne._id)}}for(P&#038;&#038;(Oe(y),Oe(M.xaxes),Oe(S.xaxes),Ze(r.overlays,\"xaxis\")),z&#038;&#038;(Oe(g),Oe(M.yaxes),Oe(S.yaxes),Ze(r.overlays,\"yaxis\")),V={},ke=0;ke<Me.length;ke++){var Ue=Me[ke],Ge=Tg(e,Ue);yk.drawOne(e,Ge,{skipTitle:!0}),V[Ge._name+\".range[0]\"]=Ge.range[0],V[Ge._name+\".range[1]\"]=Ge.range[1]}yk.redrawComponents(e,Me)}function We(){if(!e._transitioningWithDuration){var Me=e._context.doubleClick,ke=[];k&#038;&#038;(ke=ke.concat(y)),q&#038;&#038;(ke=ke.concat(g)),S.xaxes&#038;&#038;(ke=ke.concat(S.xaxes)),S.yaxes&#038;&#038;(ke=ke.concat(S.yaxes));var Oe={},Ze,Ue;if(Me===\"reset+autosize\")for(Me=\"autosize\",Ue=0;Ue<ke.length;Ue++){Ze=ke[Ue];var Ge=Ze._rangeInitial0,ir=Ze._rangeInitial1,ar=Ge!==void 0||ir!==void 0;if(ar&#038;&#038;(Ge!==void 0&#038;&#038;Ge!==Ze.range[0]||ir!==void 0&#038;&#038;ir!==Ze.range[1])||!ar&#038;&#038;Ze.autorange!==!0){Me=\"reset\";break}}if(Me===\"autosize\")for(Ue=0;Ue<ke.length;Ue++)Ze=ke[Ue],Ze.fixedrange||(Oe[Ze._name+\".autorange\"]=!0);else if(Me===\"reset\"){for((k||M.isSubplotConstrained)&#038;&#038;(ke=ke.concat(M.xaxes)),q&#038;&#038;!M.isSubplotConstrained&#038;&#038;(ke=ke.concat(M.yaxes)),M.isSubplotConstrained&#038;&#038;(k?q||(ke=ke.concat(g)):ke=ke.concat(y)),Ue=0;Ue<ke.length;Ue++)if(Ze=ke[Ue],!Ze.fixedrange){var er=Ze._name,Ne=Ze._autorangeInitial;Ze._rangeInitial0===void 0&#038;&#038;Ze._rangeInitial1===void 0?Oe[er+\".autorange\"]=!0:Ze._rangeInitial0===void 0?(Oe[er+\".autorange\"]=Ne,Oe[er+\".range\"]=[null,Ze._rangeInitial1]):Ze._rangeInitial1===void 0?(Oe[er+\".range\"]=[Ze._rangeInitial0,null],Oe[er+\".autorange\"]=Ne):Oe[er+\".range\"]=[Ze._rangeInitial0,Ze._rangeInitial1]}}e.emit(\"plotly_doubleclick\",null),Gh.call(\"_guiRelayout\",e,Oe)}}function ie(){xe([0,0,w,b]),Rn.syncOrAsync([cK.previousPromises,function(){e._fullLayout._replotting=!1,Gh.call(\"_guiRelayout\",e,V)}],e)}function xe(Me){var ke=e._fullLayout,Oe=ke._plots,Ze=ke._subplots.cartesian,Ue,Ge,ir,ar;if(O&#038;&#038;Gh.subplotsRegistry.splom.drag(e),F){for(Ue=0;Ue<Ze.length;Ue++)if(Ge=Oe[Ze[Ue]],ir=Ge.xaxis,ar=Ge.yaxis,Ge._scene){ir.limitRange&#038;&#038;ir.limitRange(),ar.limitRange&#038;&#038;ar.limitRange();var er=Rn.simpleMap(ir.range,ir.r2l),Ne=Rn.simpleMap(ar.range,ar.r2l);Ge._scene.update({range:[er[0],Ne[0],er[1],Ne[1]]})}}if((O||F)&#038;&#038;(uK(e),fK(e)),I){var ae=Me[2]\/v._length,oe=Me[3]\/h._length;for(Ue=0;Ue<Ze.length;Ue++){Ge=Oe[Ze[Ue]],ir=Ge.xaxis,ar=Ge.yaxis;var qe=(P||S.isSubplotConstrained)&#038;&#038;!ir.fixedrange&#038;&#038;d[ir._id],Pe=(z||S.isSubplotConstrained)&#038;&#038;!ar.fixedrange&#038;&#038;m[ar._id],$e,cr,sr,Mr;if(qe?($e=ae,sr=o||S.isSubplotConstrained?Me[0]:ze(ir,$e)):S.xaHash[ir._id]?($e=ae,sr=Me[0]*ir._length\/v._length):S.yaHash[ir._id]?($e=oe,sr=q===\"ns\"?-Me[1]*ir._length\/h._length:ze(ir,$e,{n:\"top\",s:\"bottom\"}[q])):($e=Ke(ir,ae,oe),sr=hr(ir,$e)),$e>1&&(ir.maxallowed!==void 0&&P===(ir.range[0]<ir.range[1]?\"e\":\"w\")||ir.minallowed!==void 0&#038;&#038;P===(ir.range[0]<ir.range[1]?\"w\":\"e\"))&#038;&#038;($e=1,sr=0),Pe?(cr=oe,Mr=l||S.isSubplotConstrained?Me[1]:ze(ar,cr)):S.yaHash[ar._id]?(cr=oe,Mr=Me[1]*ar._length\/h._length):S.xaHash[ar._id]?(cr=ae,Mr=k===\"ew\"?-Me[0]*ar._length\/v._length:ze(ar,cr,{e:\"right\",w:\"left\"}[k])):(cr=Ke(ar,ae,oe),Mr=hr(ar,cr)),cr>1&&(ar.maxallowed!==void 0&&z===(ar.range[0]<ar.range[1]?\"n\":\"s\")||ar.minallowed!==void 0&#038;&#038;z===(ar.range[0]<ar.range[1]?\"s\":\"n\"))&#038;&#038;(cr=1,Mr=0),!(!$e&#038;&#038;!cr)){$e||($e=1),cr||(cr=1);var Ir=ir._offset-sr\/$e,Jr=ar._offset-Mr\/cr;Ge.clipRect.call(Nl.setTranslate,sr,Mr).call(Nl.setScale,$e,cr),Ge.plot.call(Nl.setTranslate,Ir,Jr).call(Nl.setScale,1\/$e,1\/cr),($e!==Ge.xScaleFactor||cr!==Ge.yScaleFactor)&#038;&#038;(Nl.setPointGroupScale(Ge.zoomScalePts,$e,cr),Nl.setTextPointsScale(Ge.zoomScaleTxt,$e,cr)),Nl.hideOutsideRangePoints(Ge.clipOnAxisFalseTraces,Ge),Ge.xScaleFactor=$e,Ge.yScaleFactor=cr}}}}function Ke(Me,ke,Oe){return Me.fixedrange?0:P&#038;&#038;M.xaHash[Me._id]?ke:z&#038;&#038;(M.isSubplotConstrained?M.xaHash:M.yaHash)[Me._id]?Oe:0}function hr(Me,ke){return ke?(Me.range=Me._r.slice(),wg(Me,ke),ze(Me,ke)):0}function ze(Me,ke,Oe){return Me._length*(1-ke)*sK[Oe||Me.constraintoward||\"middle\"]}return Q}function kk(e,r,t,a){var n=Rn.ensureSingle(e.draglayer,r,t,function(i){i.classed(\"drag\",!0).style({fill:\"transparent\",\"stroke-width\":0}).attr(\"data-subplot\",e.id)});return n.call(iK,a),n.node()}function Ck(e,r,t,a,n,i,l){var o=kk(e,\"rect\",r,t);return kg.select(o).call(Nl.setRect,a,n,i,l),o}function xk(e,r){for(var t=0;t<e.length;t++)if(!e[t].fixedrange)return r;return\"\"}function mK(e,r){var t=e.range[r],a=Math.abs(t-e.range[1-r]),n;return e.type===\"date\"?t:e.type===\"log\"?(n=Math.ceil(Math.max(0,-Math.log(a)\/Math.LN10))+3,pk(\".\"+n+\"g\")(Math.pow(10,t))):(n=Math.floor(Math.log(Math.abs(t))\/Math.LN10)-Math.floor(Math.log(a)\/Math.LN10)+4,pk(\".\"+String(n)+\"g\")(t))}function Mg(e,r,t,a,n){for(var i=0;i<e.length;i++){var l=e[i];if(!l.fixedrange)if(l.rangebreaks){var o=l._id.charAt(0)===\"y\",s=o?1-r:r,u=o?1-t:t;a[l._name+\".range[0]\"]=l.l2r(l.p2l(s*l._length)),a[l._name+\".range[1]\"]=l.l2r(l.p2l(u*l._length))}else{var f=l._rl[0],v=l._rl[1]-f;a[l._name+\".range[0]\"]=l.l2r(f+v*r),a[l._name+\".range[1]\"]=l.l2r(f+v*t)}}if(n&#038;&#038;n.length){var h=(r+(1-t))\/2;Mg(n,h,1-h,a,[])}}function _k(e,r){for(var t=0;t<e.length;t++){var a=e[t];if(!a.fixedrange){if(a.rangebreaks){var n=0,i=a._length,l=a.p2l(n+r)-a.p2l(n),o=a.p2l(i+r)-a.p2l(i),s=(l+o)\/2;a.range=[a.l2r(a._rl[0]-s),a.l2r(a._rl[1]-s)]}else a.range=[a.l2r(a._rl[0]-r\/a._m),a.l2r(a._rl[1]-r\/a._m)];a.limitRange&#038;&#038;a.limitRange()}}}function yK(e){return 1-(e>=0?Math.min(e,.9):1\/(1\/Math.max(e,-.3)+3.222))}function gK(e,r,t){return e?e===\"nsew\"?t?\"\":r===\"pan\"?\"move\":\"crosshair\":e.toLowerCase()+\"-resize\":\"pointer\"}function Sk(e,r,t,a,n){return e.append(\"path\").attr(\"class\",\"zoombox\").style({fill:r>.2?\"rgba(0,0,0,0)\":\"rgba(255,255,255,0)\",\"stroke-width\":0}).attr(\"transform\",Mk(t,a)).attr(\"d\",n+\"Z\")}function Lk(e,r,t){return e.append(\"path\").attr(\"class\",\"zoombox-corners\").style({fill:mk.background,stroke:mk.defaultLine,\"stroke-width\":1,opacity:0}).attr(\"transform\",Mk(r,t)).attr(\"d\",\"M0,0Z\")}function qk(e,r,t,a,n,i){e.attr(\"d\",a+\"M\"+t.l+\",\"+t.t+\"v\"+t.h+\"h\"+t.w+\"v-\"+t.h+\"h-\"+t.w+\"Z\"),Dk(e,r,n,i)}function Dk(e,r,t,a){t||(e.transition().style(\"fill\",a>.2?\"rgba(0,0,0,0.4)\":\"rgba(255,255,255,0.3)\").duration(200),r.transition().style(\"opacity\",1).duration(200))}function Ag(e){kg.select(e).selectAll(\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\").remove()}function Ek(e){bk&&e.data&&e._context.showTips&&(Rn.notifier(Rn._(e,\"Double-click to zoom back out\"),\"long\",e),bk=!1)}function bK(e,r){return\"M\"+(e.l-.5)+\",\"+(r-Ga-.5)+\"h-3v\"+(2*Ga+1)+\"h3ZM\"+(e.r+.5)+\",\"+(r-Ga-.5)+\"h3v\"+(2*Ga+1)+\"h-3Z\"}function xK(e,r){return\"M\"+(r-Ga-.5)+\",\"+(e.t-.5)+\"v-3h\"+(2*Ga+1)+\"v3ZM\"+(r-Ga-.5)+\",\"+(e.b+.5)+\"v3h\"+(2*Ga+1)+\"v-3Z\"}function Xh(e){var r=Math.floor(Math.min(e.b-e.t,e.r-e.l,Ga)\/2);return\"M\"+(e.l-3.5)+\",\"+(e.t-.5+r)+\"h3v\"+-r+\"h\"+r+\"v-3h-\"+(r+3)+\"ZM\"+(e.r+3.5)+\",\"+(e.t-.5+r)+\"h-3v\"+-r+\"h\"+-r+\"v-3h\"+(r+3)+\"ZM\"+(e.r+3.5)+\",\"+(e.b+.5-r)+\"h-3v\"+r+\"h\"+-r+\"v3h\"+(r+3)+\"ZM\"+(e.l-3.5)+\",\"+(e.b+.5-r)+\"h3v\"+r+\"h\"+r+\"v3h-\"+(r+3)+\"Z\"}function wk(e,r,t,a,n){for(var i=!1,l={},o={},s,u,f,v,h=(n||{}).xaHash,d=(n||{}).yaHash,m=0;m<r.length;m++){var y=r[m];for(s in t)if(y[s]){for(f in y)!(n&#038;&#038;(h[f]||d[f]))&#038;&#038;!(f.charAt(0)===\"x\"?t:a)[f]&#038;&#038;(l[f]=s);for(u in a)!(n&#038;&#038;(h[u]||d[u]))&#038;&#038;y[u]&#038;&#038;(i=!0)}for(u in a)if(y[u])for(v in y)!(n&#038;&#038;(h[v]||d[v]))&#038;&#038;!(v.charAt(0)===\"x\"?t:a)[v]&#038;&#038;(o[v]=u)}i&#038;&#038;(Rn.extendFlat(l,o),o={});var g={},_=[];for(f in l){var T=Tg(e,f);_.push(T),g[T._id]=T}var w={},b=[];for(v in o){var M=Tg(e,v);b.push(M),w[M._id]=M}return{xaHash:g,yaHash:w,xaxes:_,yaxes:b,xLinks:l,yLinks:o,isSubplotConstrained:i}}function Pk(e,r){if(!tK)e.onwheel!==void 0?e.onwheel=r:e.onmousewheel!==void 0?e.onmousewheel=r:e.isAddedWheelEvent||(e.isAddedWheelEvent=!0,e.addEventListener(\"wheel\",r,{passive:!1}));else{var t=e.onwheel!==void 0?\"wheel\":\"mousewheel\";e._onwheel&#038;&#038;e.removeEventListener(t,e._onwheel),e._onwheel=r,e.addEventListener(t,r,{passive:!1})}}function Tk(e){var r=[];for(var t in e)r.push(e[t]);return r}Rk.exports={makeDragBox:pK,makeDragger:kk,makeRectDragger:Ck,makeZoombox:Sk,makeCorners:Lk,updateZoombox:qk,xyCorners:Xh,transitionZoombox:Dk,removeZoombox:Ag,showDoubleClickNotifier:Ek,attachWheelEventHandler:Pk}});var Sg=K(Jh=>{\"use strict\";var _K=zr(),Zh=ni(),wK=ti(),TK=Ll(),li=zk().makeDragBox,ta=$t().DRAGGERSIZE;Jh.initInteractions=function(r){var t=r._fullLayout;if(r._context.staticPlot){_K.select(r).selectAll(\".drag\").remove();return}if(!(!t._has(\"cartesian\")&&!t._has(\"splom\"))){var a=Object.keys(t._plots||{}).sort(function(i,l){if((t._plots[i].mainplot&&!0)===(t._plots[l].mainplot&&!0)){var o=i.split(\"y\"),s=l.split(\"y\");return o[0]===s[0]?Number(o[1]||1)-Number(s[1]||1):Number(o[0]||1)-Number(s[0]||1)}return t._plots[i].mainplot?1:-1});a.forEach(function(i){var l=t._plots[i],o=l.xaxis,s=l.yaxis;if(!l.mainplot){var u=li(r,l,o._offset,s._offset,o._length,s._length,\"ns\",\"ew\");u.onmousemove=function(h){r._fullLayout._rehover=function(){r._fullLayout._hoversubplot===i&&r._fullLayout._plots[i]&&Zh.hover(r,h,i)},Zh.hover(r,h,i),r._fullLayout._lasthover=u,r._fullLayout._hoversubplot=i},u.onmouseout=function(h){r._dragging||(r._fullLayout._hoversubplot=null,wK.unhover(r,h))},r._context.showAxisDragHandles&&(li(r,l,o._offset-ta,s._offset-ta,ta,ta,\"n\",\"w\"),li(r,l,o._offset+o._length,s._offset-ta,ta,ta,\"n\",\"e\"),li(r,l,o._offset-ta,s._offset+s._length,ta,ta,\"s\",\"w\"),li(r,l,o._offset+o._length,s._offset+s._length,ta,ta,\"s\",\"e\"))}if(r._context.showAxisDragHandles){if(i===o._mainSubplot){var f=o._mainLinePosition;o.side===\"top\"&&(f-=ta),li(r,l,o._offset+o._length*.1,f,o._length*.8,ta,\"\",\"ew\"),li(r,l,o._offset,f,o._length*.1,ta,\"\",\"w\"),li(r,l,o._offset+o._length*.9,f,o._length*.1,ta,\"\",\"e\")}if(i===s._mainSubplot){var v=s._mainLinePosition;s.side!==\"right\"&&(v-=ta),li(r,l,v,s._offset+s._length*.1,ta,s._length*.8,\"ns\",\"\"),li(r,l,v,s._offset+s._length*.9,ta,s._length*.1,\"s\",\"\"),li(r,l,v,s._offset,ta,s._length*.1,\"n\",\"\")}}});var n=t._hoverlayer.node();n.onmousemove=function(i){i.target=r._fullLayout._lasthover,Zh.hover(r,i,t._hoversubplot)},n.onclick=function(i){i.target=r._fullLayout._lasthover,Zh.click(r,i)},n.onmousedown=function(i){r._fullLayout._lasthover.onmousedown(i)},Jh.updateFx(r)}};Jh.updateFx=function(e){var r=e._fullLayout,t=r.dragmode===\"pan\"?\"move\":\"crosshair\";TK(r._draggers,t)}});var Ik=K((ife,Fk)=>{\"use strict\";var Nk=br();Fk.exports=function(r){for(var t=Nk.layoutArrayContainers,a=Nk.layoutArrayRegexes,n=r.split(\"[\")[0],i,l,o=0;o<a.length;o++)if(l=r.match(a[o]),l&#038;&#038;l.index===0){i=l[0];break}if(i||(i=t[t.indexOf(n)]),!i)return!1;var s=r.slice(i.length);return s?(l=s.match(\/^\\[(0|[1-9][0-9]*)\\](\\.(.+))?$\/),l?{array:i,index:Number(l[1]),property:l[3]||\"\"}:!1):{array:i,index:\"\",property:\"\"}}});var Ok=K(sc=>{\"use strict\";var MK=cl(),Lg=zv(),oc=fo(),AK=wp().sorterAsc,qg=br();sc.containerArrayMatch=Ik();var kK=sc.isAddVal=function(r){return r===\"add\"||MK(r)},Hk=sc.isRemoveVal=function(r){return r===null||r===\"remove\"};sc.applyContainerArrayChanges=function(r,t,a,n,i){var l=t.astr,o=qg.getComponentMethod(l,\"supplyLayoutDefaults\"),s=qg.getComponentMethod(l,\"draw\"),u=qg.getComponentMethod(l,\"drawOne\"),f=n.replot||n.recalc||o===Lg||s===Lg,v=r.layout,h=r._fullLayout;if(a[\"\"]){Object.keys(a).length>1&&oc.warn(\"Full array edits are incompatible with other edits\",l);var d=a[\"\"][\"\"];if(Hk(d))t.set(null);else if(Array.isArray(d))t.set(d);else return oc.warn(\"Unrecognized full array edit value\",l,d),!0;return f?!1:(o(v,h),s(r),!0)}var m=Object.keys(a).map(Number).sort(AK),y=t.get(),g=y||[],_=i(h,l).get(),T=[],w=-1,b=g.length,M,S,k,q,D,P,z,F;for(M=0;M<m.length;M++){if(k=m[M],q=a[k],D=Object.keys(q),P=q[\"\"],z=kK(P),k<0||k>g.length-(z?0:1)){oc.warn(\"index out of range\",l,k);continue}if(P!==void 0)D.length>1&&oc.warn(\"Insertion & removal are incompatible with edits to the same index.\",l,k),Hk(P)?T.push(k):z?(P===\"add\"&&(P={}),g.splice(k,0,P),_&&_.splice(k,0,{})):oc.warn(\"Unrecognized full object edit value\",l,k,P),w===-1&&(w=k);else for(S=0;S<D.length;S++)F=l+\"[\"+k+\"].\",i(g[k],D[S],F).set(q[D[S]])}for(M=T.length-1;M>=0;M--)g.splice(T[M],1),_&&_.splice(T[M],1);if(g.length?y||t.set(g):t.set(null),f)return!1;if(o(v,h),u!==Lg){var O;if(w===-1)O=m;else{for(b=Math.max(g.length,b),O=[],M=0;M<m.length&#038;&#038;(k=m[M],!(k>=w));M++)O.push(k);for(M=w;M<b;M++)O.push(M)}for(M=0;M<O.length;M++)u(r,O[M])}else s(r);return!0}});var Zk=K(zn=>{\"use strict\";var Vk=Hr(),Gk=br(),Ia=Fe(),uc=It(),Wk=Zt(),Xk=Er(),fc=Wk.cleanId,CK=Wk.getFromTrace,Dg=Gk.traceIs,SK=[\"x\",\"y\",\"z\"];zn.clearPromiseQueue=function(e){Array.isArray(e._promises)&&e._promises.length>0&&Ia.log(\"Clearing previous rejected promises from queue.\"),e._promises=[]};zn.cleanLayout=function(e){var r,t;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var a=(uc.subplotsRegistry.cartesian||{}).attrRegex,n=(uc.subplotsRegistry.polar||{}).attrRegex,i=(uc.subplotsRegistry.ternary||{}).attrRegex,l=(uc.subplotsRegistry.gl3d||{}).attrRegex,o=Object.keys(e);for(r=0;r<o.length;r++){var s=o[r];if(a&#038;&#038;a.test(s)){var u=e[s];u.anchor&#038;&#038;u.anchor!==\"free\"&#038;&#038;(u.anchor=fc(u.anchor)),u.overlaying&#038;&#038;(u.overlaying=fc(u.overlaying)),u.type||(u.isdate?u.type=\"date\":u.islog?u.type=\"log\":u.isdate===!1&#038;&#038;u.islog===!1&#038;&#038;(u.type=\"linear\")),(u.autorange===\"withzero\"||u.autorange===\"tozero\")&#038;&#038;(u.autorange=!0,u.rangemode=\"tozero\"),u.insiderange&#038;&#038;delete u.range,delete u.islog,delete u.isdate,delete u.categories,Kh(u,\"domain\")&#038;&#038;delete u.domain}}var f=Array.isArray(e.annotations)?e.annotations.length:0;for(r=0;r<f;r++){var v=e.annotations[r];Ia.isPlainObject(v)&#038;&#038;(hu(v,\"xref\"),hu(v,\"yref\"))}var h=Array.isArray(e.shapes)?e.shapes.length:0;for(r=0;r<h;r++){var d=e.shapes[r];Ia.isPlainObject(d)&#038;&#038;(hu(d,\"xref\",!0),hu(d,\"yref\",!0))}var m=Array.isArray(e.images)?e.images.length:0;for(r=0;r<m;r++){var y=e.images[r];Ia.isPlainObject(y)&#038;&#038;(hu(y,\"xref\"),hu(y,\"yref\"))}var g=e.legend;return g&#038;&#038;(g.x>3?(g.x=1.02,g.xanchor=\"left\"):g.x<-2&#038;&#038;(g.x=-.02,g.xanchor=\"right\"),g.y>3?(g.y=1.02,g.yanchor=\"bottom\"):g.y<-2&#038;&#038;(g.y=-.02,g.yanchor=\"top\")),e.dragmode===\"rotate\"&#038;&#038;(e.dragmode=\"orbit\"),Xk.clean(e),e.template&#038;&#038;e.template.layout&#038;&#038;zn.cleanLayout(e.template.layout),e};function hu(e,r,t=!1){var a=e[r],n=r.charAt(0);t&#038;&#038;Array.isArray(a)||a&#038;&#038;a!==\"paper\"&#038;&#038;(e[r]=fc(a,n,!0))}zn.cleanData=function(e){for(var r=0;r<e.length;r++){var t=e[r],a;if(t.type===\"histogramy\"&#038;&#038;\"xbins\"in t&#038;&#038;!(\"ybins\"in t)&#038;&#038;(t.ybins=t.xbins,delete t.xbins),t.type===\"histogramy\"&#038;&#038;zn.swapXYData(t),(t.type===\"histogramx\"||t.type===\"histogramy\")&#038;&#038;(t.type=\"histogram\"),\"scl\"in t&#038;&#038;!(\"colorscale\"in t)&#038;&#038;(t.colorscale=t.scl,delete t.scl),\"reversescl\"in t&#038;&#038;!(\"reversescale\"in t)&#038;&#038;(t.reversescale=t.reversescl,delete t.reversescl),t.xaxis&#038;&#038;(t.xaxis=fc(t.xaxis,\"x\")),t.yaxis&#038;&#038;(t.yaxis=fc(t.yaxis,\"y\")),Dg(t,\"gl3d\")&#038;&#038;t.scene&#038;&#038;(t.scene=uc.subplotsRegistry.gl3d.cleanId(t.scene)),!Dg(t,\"pie-like\")&#038;&#038;!Dg(t,\"bar-like\"))if(Array.isArray(t.textposition))for(a=0;a<t.textposition.length;a++)t.textposition[a]=Yk(t.textposition[a]);else t.textposition&#038;&#038;(t.textposition=Yk(t.textposition));var n=Gk.getModule(t);if(n&#038;&#038;n.colorbar){var i=n.colorbar.container,l=i?t[i]:t;l&#038;&#038;l.colorscale&#038;&#038;(l.colorscale===\"YIGnBu\"&#038;&#038;(l.colorscale=\"YlGnBu\"),l.colorscale===\"YIOrRd\"&#038;&#038;(l.colorscale=\"YlOrRd\"))}if(t.type===\"surface\"&#038;&#038;Ia.isPlainObject(t.contours)){var o=[\"x\",\"y\",\"z\"];for(a=0;a<o.length;a++){var s=t.contours[o[a]];Ia.isPlainObject(s)&#038;&#038;(s.highlightColor&#038;&#038;(s.highlightcolor=s.highlightColor,delete s.highlightColor),s.highlightWidth&#038;&#038;(s.highlightwidth=s.highlightWidth,delete s.highlightWidth))}}if(t.type===\"candlestick\"||t.type===\"ohlc\"){var u=(t.increasing||{}).showlegend!==!1,f=(t.decreasing||{}).showlegend!==!1,v=Bk(t.increasing),h=Bk(t.decreasing);if(v!==!1&#038;&#038;h!==!1){var d=LK(v,h,u,f);d&#038;&#038;(t.name=d)}else(v||h)&#038;&#038;!t.name&#038;&#038;(t.name=v||h)}Kh(t,\"line\")&#038;&#038;delete t.line,\"marker\"in t&#038;&#038;(Kh(t.marker,\"line\")&#038;&#038;delete t.marker.line,Kh(t,\"marker\")&#038;&#038;delete t.marker),Xk.clean(t),t.autobinx&#038;&#038;(delete t.autobinx,delete t.xbins),t.autobiny&#038;&#038;(delete t.autobiny,delete t.ybins)}};function Bk(e){if(!Ia.isPlainObject(e))return!1;var r=e.name;return delete e.name,delete e.showlegend,(typeof r==\"string\"||typeof r==\"number\")&#038;&#038;String(r)}function LK(e,r,t,a){if(t&#038;&#038;!a)return e;if(a&#038;&#038;!t||!e.trim())return r;if(!r.trim())return e;var n=Math.min(e.length,r.length),i;for(i=0;i<n&#038;&#038;e.charAt(i)===r.charAt(i);i++);var l=e.slice(0,i);return l.trim()}function Yk(e){var r=\"middle\",t=\"center\";return typeof e==\"string\"&#038;&#038;(e.indexOf(\"top\")!==-1?r=\"top\":e.indexOf(\"bottom\")!==-1&#038;&#038;(r=\"bottom\"),e.indexOf(\"left\")!==-1?t=\"left\":e.indexOf(\"right\")!==-1&#038;&#038;(t=\"right\")),r+\" \"+t}function Kh(e,r){return r in e&#038;&#038;typeof e[r]==\"object\"&#038;&#038;Object.keys(e[r]).length===0}zn.swapXYData=function(e){var r;if(Ia.swapAttrs(e,[\"?\",\"?0\",\"d?\",\"?bins\",\"nbins?\",\"autobin?\",\"?src\",\"error_?\"]),Array.isArray(e.z)&#038;&#038;Array.isArray(e.z[0])&#038;&#038;(e.transpose?delete e.transpose:e.transpose=!0),e.error_x&#038;&#038;e.error_y){var t=e.error_y,a=\"copy_ystyle\"in t?t.copy_ystyle:!(t.color||t.thickness||t.width);Ia.swapAttrs(e,[\"error_?.copy_ystyle\"]),a&#038;&#038;Ia.swapAttrs(e,[\"error_?.color\",\"error_?.thickness\",\"error_?.width\"])}if(typeof e.hoverinfo==\"string\"){var n=e.hoverinfo.split(\"+\");for(r=0;r<n.length;r++)n[r]===\"x\"?n[r]=\"y\":n[r]===\"y\"&#038;&#038;(n[r]=\"x\");e.hoverinfo=n.join(\"+\")}};zn.coerceTraceIndices=function(e,r){if(Vk(r))return[r];if(!Array.isArray(r)||!r.length)return e.data.map(function(n,i){return i});if(Array.isArray(r)){for(var t=[],a=0;a<r.length;a++)Ia.isIndex(r[a],e.data.length)?t.push(r[a]):Ia.warn(\"trace index (\",r[a],\") is not a number or is out of bounds\");return t}return r};zn.manageArrayContainers=function(e,r,t){var a=e.obj,n=e.parts,i=n.length,l=n[i-1],o=Vk(l);if(o&#038;&#038;r===null){var s=n.slice(0,i-1).join(\".\"),u=Ia.nestedProperty(a,s).get();u.splice(l,1)}else o&#038;&#038;e.get()===void 0&#038;&#038;e.get()===void 0&#038;&#038;(t[e.astr]=null),e.set(r)};var qK=\/(\\.[^\\[\\]\\.]+|\\[[^\\[\\]\\.]+\\])$\/;function Uk(e){var r=e.search(qK);if(r>0)return e.slice(0,r)}zn.hasParent=function(e,r){for(var t=Uk(r);t;){if(t in e)return!0;t=Uk(t)}return!1};zn.clearAxisTypes=function(e,r,t){for(var a=0;a<r.length;a++)for(var n=e._fullData[a],i=0;i<3;i++){var l=CK(e,n,SK[i]);if(l&#038;&#038;l.type!==\"log\"){var o=l._name,s=l._id.slice(1);if(s.slice(0,5)===\"scene\"){if(t[s]!==void 0)continue;o=s+\".\"+o}var u=o+\".type\";t[o]===void 0&#038;&#038;t[u]===void 0&#038;&#038;Ia.nestedProperty(e.layout,u).set(null)}}};var Eg=(e,r)=>{let t=(...a)=>a.every(n=>Ia.isPlainObject(n))||a.every(n=>Array.isArray(n));if([e,r].every(a=>Array.isArray(a))){if(e.length!==r.length)return!1;for(let a=0;a<e.length;a++){let n=e[a],i=r[a];if(n!==i&#038;&#038;!(t(n,i)?Eg(n,i):!1))return!1}return!0}else if([e,r].every(a=>Ia.isPlainObject(a))){if(Object.keys(e).length!==Object.keys(r).length)return!1;for(let a in e){if(a.startsWith(\"_\"))continue;let n=e[a],i=r[a];if(n!==i&&!(t(n,i)?Eg(n,i):!1))return!1}return!0}return!1};zn.collectionsAreEqual=Eg});var Ig=K(Ur=>{\"use strict\";var jh=zr(),DK=Hr(),EK=Np(),tr=Fe(),ut=tr.nestedProperty,zg=vf(),Wa=k6(),Nn=br(),ld=Hs(),xr=It(),Ha=pt(),PK=iy(),RK=jn(),Pg=tt(),zK=Er(),NK=Sg().initInteractions,FK=_o(),IK=vu().clearOutline,jk=uo().dfltConfig,Qh=Ok(),Rt=Zk(),jr=Eh(),Fl=bi(),HK=$t().AX_NAME_PATTERN,Rg=0,Jk=5;function OK(e,r,t,a){var n;if(e=tr.getGraphDiv(e),zg.init(e),tr.isPlainObject(r)){var i=r;r=i.data,t=i.layout,a=i.config,n=i.frames}var l=zg.triggerHandler(e,\"plotly_beforeplot\",[r,t,a]);if(l===!1)return Promise.reject();!r&&!t&&!tr.isPlotDiv(e)&&tr.warn(\"Calling _doPlot as if redrawing but this container doesn't yet have a plot.\",e);function o(){if(n)return Ur.addFrames(e,n)}rC(e,a),t||(t={}),jh.select(e).classed(\"js-plotly-plot\",!0),Pg.makeTester(),Array.isArray(e._promises)||(e._promises=[]);var s=(e.data||[]).length===0&&Array.isArray(r);Array.isArray(r)&&(Rt.cleanData(r),s?e.data=r:e.data.push.apply(e.data,r),e.empty=!1),(!e.layout||s)&&(e.layout=Rt.cleanLayout(t)),xr.supplyDefaults(e);var u=e._fullLayout,f=u._has(\"cartesian\");u._replotting=!0,(s||u._shouldCreateBgLayer)&&(uQ(e),u._shouldCreateBgLayer&&delete u._shouldCreateBgLayer),Pg.initGradients(e),Pg.initPatterns(e),s&&Ha.saveShowSpikeInitial(e);var v=!e.calcdata||e.calcdata.length!==(e._fullData||[]).length;v&&xr.doCalcdata(e);for(var h=0;h<e.calcdata.length;h++)e.calcdata[h][0].trace=e._fullData[h];e._context.responsive?e._responsiveChartHandler||(e._responsiveChartHandler=function(){tr.isHidden(e)||xr.resize(e)},window.addEventListener(\"resize\",e._responsiveChartHandler)):tr.clearResponsive(e);var d=tr.extendFlat({},u._size),m=0;function y(){for(var k=u._basePlotModules,q=0;q<k.length;q++)k[q].drawFramework&#038;&#038;k[q].drawFramework(e);!u._glcanvas&#038;&#038;u._has(\"gl\")&#038;&#038;(u._glcanvas=u._glcontainer.selectAll(\".gl-canvas\").data([{key:\"contextLayer\",context:!0,pick:!1},{key:\"focusLayer\",context:!1,pick:!1},{key:\"pickLayer\",context:!1,pick:!0}],function(F){return F.key}),u._glcanvas.enter().append(\"canvas\").attr(\"class\",function(F){return\"gl-canvas gl-canvas-\"+F.key.replace(\"Layer\",\"\")}).style({position:\"absolute\",top:0,left:0,overflow:\"visible\",\"pointer-events\":\"none\"}));var D=e._context.plotGlPixelRatio;if(u._glcanvas){u._glcanvas.attr(\"width\",u.width*D).attr(\"height\",u.height*D).style(\"width\",u.width+\"px\").style(\"height\",u.height+\"px\");var P=u._glcanvas.data()[0].regl;if(P&#038;&#038;(Math.floor(u.width*D)!==P._gl.drawingBufferWidth||Math.floor(u.height*D)!==P._gl.drawingBufferHeight)){var z=\"WebGL context buffer and canvas dimensions do not match due to browser\/WebGL bug.\";if(m)tr.error(z);else return tr.log(z+\" Clearing graph and plotting again.\"),xr.cleanPlot([],{},e._fullData,u),xr.supplyDefaults(e),u=e._fullLayout,xr.doCalcdata(e),m++,y()}}return u.modebar.orientation===\"h\"?u._modebardiv.style(\"height\",null).style(\"width\",\"100%\"):u._modebardiv.style(\"width\",null).style(\"height\",u.height+\"px\"),xr.previousPromises(e)}function g(){if(xr.clearAutoMarginIds(e),jr.drawMarginPushers(e),Ha.allowAutoMargin(e),e._fullLayout.title.text&#038;&#038;e._fullLayout.title.automargin&#038;&#038;xr.allowAutoMargin(e,\"title.automargin\"),u._has(\"pie\"))for(var k=e._fullData,q=0;q<k.length;q++){var D=k[q];D.type===\"pie\"&#038;&#038;D.automargin&#038;&#038;xr.allowAutoMargin(e,\"pie.\"+D.uid+\".automargin\")}return xr.doAutoMargin(e),xr.previousPromises(e)}function _(){if(xr.didMarginChange(d,u._size))return tr.syncOrAsync([g,jr.layoutStyles],e)}function T(){if(!v){w();return}return tr.syncOrAsync([Nn.getComponentMethod(\"shapes\",\"calcAutorange\"),Nn.getComponentMethod(\"annotations\",\"calcAutorange\"),w],e)}function w(){e._transitioning||(jr.doAutoRangeAndConstraints(e),s&#038;&#038;Ha.saveRangeInitial(e),Nn.getComponentMethod(\"rangeslider\",\"calcAutorange\")(e))}function b(){return Ha.draw(e,s?\"\":\"redraw\")}var M=[xr.previousPromises,o,y,g,_];f&#038;&#038;M.push(T),M.push(jr.layoutStyles),f&#038;&#038;M.push(b,function(q){var D=q._fullLayout._insideTickLabelsUpdaterange;if(D)return q._fullLayout._insideTickLabelsUpdaterange=void 0,cc(q,D).then(function(){Ha.saveRangeInitial(q,!0)})}),M.push(jr.drawData,jr.finalDraw,NK,xr.addLinks,xr.rehover,xr.redrag,xr.reselect,xr.doAutoMargin,xr.previousPromises);var S=tr.syncOrAsync(M,e);return(!S||!S.then)&#038;&#038;(S=Promise.resolve()),S.then(function(){return vc(e),e})}function vc(e){var r=e._fullLayout;r._redrawFromAutoMarginCount?r._redrawFromAutoMarginCount--:e.emit(\"plotly_afterplot\")}function BK(e){return tr.extendFlat(jk,e)}function eC(e,r){try{e._fullLayout._paper.style(\"background\",r)}catch(t){tr.error(t)}}function YK(e,r){var t=zK.combine(r,\"white\");eC(e,t)}function rC(e,r){if(!e._context){e._context=tr.extendDeep({},jk);var t=jh.select(\"base\");e._context._baseUrl=t.size()&#038;&#038;t.attr(\"href\")?window.location.href.split(\"#\")[0]:\"\"}var a=e._context,n,i,l;if(r){for(i=Object.keys(r),n=0;n<i.length;n++)l=i[n],!(l===\"editable\"||l===\"edits\")&#038;&#038;l in a&#038;&#038;(l===\"setBackground\"&#038;&#038;r[l]===\"opaque\"?a[l]=YK:a[l]=r[l]);var o=r.editable;if(o!==void 0)for(a.editable=o,i=Object.keys(a.edits),n=0;n<i.length;n++)a.edits[i[n]]=o;if(r.edits)for(i=Object.keys(r.edits),n=0;n<i.length;n++)l=i[n],l in a.edits&#038;&#038;(a.edits[l]=r.edits[l]);a._exportedPlot=r._exportedPlot}a.staticPlot&#038;&#038;(a.editable=!1,a.edits={},a.autosizable=!1,a.scrollZoom=!1,a.doubleClick=!1,a.showTips=!1,a.showLink=!1,a.displayModeBar=!1),a.displayModeBar===\"hover\"&#038;&#038;!EK&#038;&#038;(a.displayModeBar=!0),(a.setBackground===\"transparent\"||typeof a.setBackground!=\"function\")&#038;&#038;(a.setBackground=eC),a._hasZeroHeight=a._hasZeroHeight||e.clientHeight===0,a._hasZeroWidth=a._hasZeroWidth||e.clientWidth===0;var s=a.scrollZoom,u=a._scrollZoom={};if(s===!0)u.cartesian=1,u.gl3d=1,u.geo=1,u.mapbox=1,u.map=1;else if(typeof s==\"string\"){var f=s.split(\"+\");for(n=0;n<f.length;n++)u[f[n]]=1}else s!==!1&#038;&#038;(u.gl3d=1,u.geo=1,u.mapbox=1,u.map=1)}function UK(e){if(e=tr.getGraphDiv(e),!tr.isPlotDiv(e))throw new Error(\"This element is not a Plotly plot: \"+e);return Rt.cleanData(e.data),Rt.cleanLayout(e.layout),e.calcdata=void 0,Ur._doPlot(e).then(function(){return e.emit(\"plotly_redraw\"),e})}function VK(e,r,t,a){return e=tr.getGraphDiv(e),xr.cleanPlot([],{},e._fullData||[],e._fullLayout||{}),xr.purge(e),Ur._doPlot(e,r,t,a)}function ed(e,r){var t=r+1,a=[],n,i;for(n=0;n<e.length;n++)i=e[n],i<0?a.push(t+i):a.push(i);return a}function rd(e,r,t){var a,n;for(a=0;a<r.length;a++){if(n=r[a],n!==parseInt(n,10))throw new Error(\"all values in \"+t+\" must be integers\");if(n>=e.data.length||n<-e.data.length)throw new Error(t+\" must be valid indices for gd.data.\");if(r.indexOf(n,a+1)>-1||n>=0&&r.indexOf(-e.data.length+n)>-1||n<0&#038;&#038;r.indexOf(e.data.length+n)>-1)throw new Error(\"each index in \"+t+\" must be unique.\")}}function tC(e,r,t){if(!Array.isArray(e.data))throw new Error(\"gd.data must be an array.\");if(typeof r==\"undefined\")throw new Error(\"currentIndices is a required argument.\");if(Array.isArray(r)||(r=[r]),rd(e,r,\"currentIndices\"),typeof t!=\"undefined\"&&!Array.isArray(t)&&(t=[t]),typeof t!=\"undefined\"&&rd(e,t,\"newIndices\"),typeof t!=\"undefined\"&&r.length!==t.length)throw new Error(\"current and new indices must be of equal length.\")}function GK(e,r,t){var a,n;if(!Array.isArray(e.data))throw new Error(\"gd.data must be an array.\");if(typeof r==\"undefined\")throw new Error(\"traces must be defined.\");for(Array.isArray(r)||(r=[r]),a=0;a<r.length;a++)if(n=r[a],typeof n!=\"object\"||Array.isArray(n)||n===null)throw new Error(\"all values in traces array must be non-array objects\");if(typeof t!=\"undefined\"&#038;&#038;!Array.isArray(t)&#038;&#038;(t=[t]),typeof t!=\"undefined\"&#038;&#038;t.length!==r.length)throw new Error(\"if indices is specified, traces.length must equal indices.length\")}function WK(e,r,t,a){var n=tr.isPlainObject(a);if(!Array.isArray(e.data))throw new Error(\"gd.data must be an array\");if(!tr.isPlainObject(r))throw new Error(\"update must be a key:value object\");if(typeof t==\"undefined\")throw new Error(\"indices must be an integer or array of integers\");rd(e,t,\"indices\");for(var i in r){if(!Array.isArray(r[i])||r[i].length!==t.length)throw new Error(\"attribute \"+i+\" must be an array of length equal to indices array length\");if(n&#038;&#038;(!(i in a)||!Array.isArray(a[i])||a[i].length!==r[i].length))throw new Error(\"when maxPoints is set as a key:value object it must contain a 1:1 correspondence with the keys and number of traces in the update object\")}}function XK(e,r,t,a){var n=tr.isPlainObject(a),i=[],l,o,s,u,f;Array.isArray(t)||(t=[t]),t=ed(t,e.data.length-1);for(var v in r)for(var h=0;h<t.length;h++){if(l=e.data[t[h]],s=ut(l,v),o=s.get(),u=r[v][h],!tr.isArrayOrTypedArray(u))throw new Error(\"attribute: \"+v+\" index: \"+h+\" must be an array\");if(!tr.isArrayOrTypedArray(o))throw new Error(\"cannot extend missing or non-array attribute: \"+v);if(o.constructor!==u.constructor)throw new Error(\"cannot extend array with an array of a different type: \"+v);f=n?a[v][h]:a,DK(f)||(f=-1),i.push({prop:s,target:o,insert:u,maxp:Math.floor(f)})}return i}function aC(e,r,t,a,n){WK(e,r,t,a);for(var i=XK(e,r,t,a),l={},o={},s=0;s<i.length;s++){var u=i[s].prop,f=i[s].maxp,v=n(i[s].target,i[s].insert,f);u.set(v[0]),Array.isArray(l[u.astr])||(l[u.astr]=[]),l[u.astr].push(v[1]),Array.isArray(o[u.astr])||(o[u.astr]=[]),o[u.astr].push(i[s].target.length)}return{update:l,maxPoints:o}}function nC(e,r){var t=new e.constructor(e.length+r.length);return t.set(e),t.set(r,e.length),t}function iC(e,r,t,a){e=tr.getGraphDiv(e);function n(s,u,f){var v,h;if(tr.isTypedArray(s))if(f<0){var d=new s.constructor(0),m=nC(s,u);f<0?(v=m,h=d):(v=d,h=m)}else if(v=new s.constructor(f),h=new s.constructor(s.length+u.length-f),f===u.length)v.set(u),h.set(s);else if(f<u.length){var y=u.length-f;v.set(u.subarray(y)),h.set(s),h.set(u.subarray(0,y),s.length)}else{var g=f-u.length,_=s.length-g;v.set(s.subarray(_)),v.set(u,g),h.set(s.subarray(0,_))}else v=s.concat(u),h=f>=0&&f<v.length?v.splice(0,v.length-f):[];return[v,h]}var i=aC(e,r,t,a,n),l=Ur.redraw(e),o=[e,i.update,t,i.maxPoints];return Wa.add(e,Ur.prependTraces,o,iC,arguments),l}function lC(e,r,t,a){e=tr.getGraphDiv(e);function n(s,u,f){var v,h;if(tr.isTypedArray(s))if(f<=0){var d=new s.constructor(0),m=nC(u,s);f<0?(v=m,h=d):(v=d,h=m)}else if(v=new s.constructor(f),h=new s.constructor(s.length+u.length-f),f===u.length)v.set(u),h.set(s);else if(f<u.length){var y=u.length-f;v.set(u.subarray(0,y)),h.set(u.subarray(y)),h.set(s,y)}else{var g=f-u.length;v.set(u),v.set(s.subarray(0,g),u.length),h.set(s.subarray(g))}else v=u.concat(s),h=f>=0&&f<v.length?v.splice(f,v.length):[];return[v,h]}var i=aC(e,r,t,a,n),l=Ur.redraw(e),o=[e,i.update,t,i.maxPoints];return Wa.add(e,Ur.extendTraces,o,lC,arguments),l}function oC(e,r,t){e=tr.getGraphDiv(e);var a=[],n=Ur.deleteTraces,i=oC,l=[e,a],o=[e,r],s,u;for(GK(e,r,t),Array.isArray(r)||(r=[r]),r=r.map(function(f){return tr.extendFlat({},f)}),Rt.cleanData(r),s=0;s<r.length;s++)e.data.push(r[s]);for(s=0;s<r.length;s++)a.push(-r.length+s);if(typeof t==\"undefined\")return u=Ur.redraw(e),Wa.add(e,n,l,i,o),u;Array.isArray(t)||(t=[t]);try{tC(e,a,t)}catch(f){throw e.data.splice(e.data.length-r.length,r.length),f}return Wa.startSequence(e),Wa.add(e,n,l,i,o),u=Ur.moveTraces(e,a,t),Wa.stopSequence(e),u}function sC(e,r){e=tr.getGraphDiv(e);var t=[],a=Ur.addTraces,n=sC,i=[e,t,r],l=[e,r],o,s;if(typeof r==\"undefined\")throw new Error(\"indices must be an integer or array of integers.\");for(Array.isArray(r)||(r=[r]),rd(e,r,\"indices\"),r=ed(r,e.data.length-1),r.sort(tr.sorterDes),o=0;o<r.length;o+=1)s=e.data.splice(r[o],1)[0],t.push(s);var u=Ur.redraw(e);return Wa.add(e,a,i,n,l),u}function Ng(e,r,t){e=tr.getGraphDiv(e);var a=[],n=[],i=Ng,l=Ng,o=[e,t,r],s=[e,r,t],u;if(tC(e,r,t),r=Array.isArray(r)?r:[r],typeof t==\"undefined\")for(t=[],u=0;u<r.length;u++)t.push(-r.length+u);for(t=Array.isArray(t)?t:[t],r=ed(r,e.data.length-1),t=ed(t,e.data.length-1),u=0;u<e.data.length;u++)r.indexOf(u)===-1&#038;&#038;a.push(e.data[u]);for(u=0;u<r.length;u++)n.push({newIndex:t[u],trace:e.data[r[u]]});for(n.sort(function(v,h){return v.newIndex-h.newIndex}),u=0;u<n.length;u+=1)a.splice(n[u].newIndex,0,n[u].trace);e.data=a;var f=Ur.redraw(e);return Wa.add(e,i,o,l,s),f}function td(e,r,t,a){e=tr.getGraphDiv(e),Rt.clearPromiseQueue(e);var n={};if(typeof r==\"string\")n[r]=t;else if(tr.isPlainObject(r))n=tr.extendFlat({},r),a===void 0&#038;&#038;(a=t);else return tr.warn(\"Restyle fail.\",r,t,a),Promise.reject();Object.keys(n).length&#038;&#038;(e.changed=!0);var i=Rt.coerceTraceIndices(e,a),l=uC(e,n,i),o=l.flags;o.calc&#038;&#038;(e.calcdata=void 0),o.clearAxisTypes&#038;&#038;Rt.clearAxisTypes(e,i,{});var s=[];o.fullReplot?s.push(Ur._doPlot):(s.push(xr.previousPromises),xr.supplyDefaults(e),o.markerSize&#038;&#038;(xr.doCalcdata(e),od(s)),o.style&#038;&#038;s.push(jr.doTraceStyle),o.colorbars&#038;&#038;s.push(jr.doColorBars),s.push(vc)),s.push(xr.rehover,xr.redrag,xr.reselect),Wa.add(e,td,[e,l.undoit,l.traces],td,[e,l.redoit,l.traces]);var u=tr.syncOrAsync(s,e);return(!u||!u.then)&#038;&#038;(u=Promise.resolve()),u.then(function(){return e.emit(\"plotly_restyle\",l.eventData),e})}function el(e){return e===void 0?null:e}function $h(e,r){return r?function(t,a,n){var i=ut(t,a),l=i.set;return i.set=function(o){var s=(n||\"\")+a;ad(s,i.get(),o,e),l(o)},i}:ut}function ad(e,r,t,a){if(Array.isArray(r)||Array.isArray(t))for(var n=Array.isArray(r)?r:[],i=Array.isArray(t)?t:[],l=Math.max(n.length,i.length),o=0;o<l;o++)ad(e+\"[\"+o+\"]\",n[o],i[o],a);else if(tr.isPlainObject(r)||tr.isPlainObject(t)){var s=tr.isPlainObject(r)?r:{},u=tr.isPlainObject(t)?t:{},f=tr.extendFlat({},s,u);for(var v in f)ad(e+\".\"+v,s[v],u[v],a)}else a[e]===void 0&#038;&#038;(a[e]=el(r))}function ZK(e,r,t){for(var a in t){var n=ut(e,a);ad(a,n.get(),t[a],r)}}function uC(e,r,t){var a=e._fullLayout,n=e._fullData,i=e.data,l=a._guiEditing,o=$h(a._preGUI,l),s=tr.extendDeepAll({},r),u,f=Fl.traceFlags(),v={},h={},d;function m(){return t.map(function(){})}function y(B){var $=Ha.id2name(B);d.indexOf($)===-1&#038;&#038;d.push($)}function g(B){return\"LAYOUT\"+B+\".autorange\"}function _(B){return\"LAYOUT\"+B+\".range\"}function T(B){for(var $=B;$<n.length;$++)if(n[$]._input===i[B])return n[$]}function w(B,$,Y){if(Array.isArray(B)){B.forEach(function(Re){w(Re,$,Y)});return}if(!(B in r||Rt.hasParent(r,B))){var le;if(B.slice(0,6)===\"LAYOUT\")le=o(e.layout,B.replace(\"LAYOUT\",\"\"));else{var he=t[Y],me=a._tracePreGUI[T(he)._fullInput.uid];le=$h(me,l)(i[he],B)}B in h||(h[B]=m()),h[B][Y]===void 0&#038;&#038;(h[B][Y]=el(le.get())),$!==void 0&#038;&#038;le.set($)}}function b(B){return function($){return n[$][B]}}function M(B){return function($,Y){return $===!1?n[t[Y]][B]:null}}for(var S in r){if(Rt.hasParent(r,S))throw new Error(\"cannot set \"+S+\" and a parent attribute simultaneously\");var k=r[S],q,D,P,z,F,O;if((S===\"autobinx\"||S===\"autobiny\")&#038;&#038;(S=S.charAt(S.length-1)+\"bins\",Array.isArray(k)?k=k.map(M(S)):k===!1?k=t.map(b(S)):k=null),v[S]=k,S.slice(0,6)===\"LAYOUT\"){P=o(e.layout,S.replace(\"LAYOUT\",\"\")),h[S]=[el(P.get())],P.set(Array.isArray(k)?k[0]:k),f.calc=!0;continue}for(h[S]=m(),u=0;u<t.length;u++){q=i[t[u]],D=T(t[u]);var I=a._tracePreGUI[D._fullInput.uid];if(P=$h(I,l)(q,S),z=P.get(),F=Array.isArray(k)?k[u%k.length]:k,F!==void 0){var V=P.parts[P.parts.length-1],J=S.slice(0,S.length-V.length-1),G=J?J+\".\":\"\",U=J?ut(D,J).get():D;if(O=ld.getTraceValObject(D,P.parts),O&#038;&#038;O.impliedEdits&#038;&#038;F!==null)for(var H in O.impliedEdits)w(tr.relativeAttr(S,H),O.impliedEdits[H],u);else if((V===\"thicknessmode\"||V===\"lenmode\")&#038;&#038;z!==F&#038;&#038;(F===\"fraction\"||F===\"pixels\")&#038;&#038;U){var Q=a._size,Z=U.orient,ne=Z===\"top\"||Z===\"bottom\";if(V===\"thicknessmode\"){var ce=ne?Q.h:Q.w;w(G+\"thickness\",U.thickness*(F===\"fraction\"?1\/ce:ce),u)}else{var ye=ne?Q.w:Q.h;w(G+\"len\",U.len*(F===\"fraction\"?1\/ye:ye),u)}}else if(S===\"type\"&#038;&#038;(F===\"pie\"!=(z===\"pie\")||F===\"funnelarea\"!=(z===\"funnelarea\"))){var Ce=\"x\",re=\"y\";(F===\"bar\"||z===\"bar\")&#038;&#038;q.orientation===\"h\"&#038;&#038;(Ce=\"y\",re=\"x\"),tr.swapAttrs(q,[\"?\",\"?src\"],\"labels\",Ce),tr.swapAttrs(q,[\"d?\",\"?0\"],\"label\",Ce),tr.swapAttrs(q,[\"?\",\"?src\"],\"values\",re),z===\"pie\"||z===\"funnelarea\"?(ut(q,\"marker.color\").set(ut(q,\"marker.colors\").get()),a._pielayer.selectAll(\"g.trace\").remove()):Nn.traceIs(q,\"cartesian\")&#038;&#038;ut(q,\"marker.colors\").set(ut(q,\"marker.color\").get())}h[S][u]=el(z);var Se=[\"swapxy\",\"swapxyaxes\",\"orientation\",\"orientationaxes\"];if(Se.indexOf(S)!==-1){if(S===\"orientation\"){P.set(F);var pe=q.x&#038;&#038;!q.y?\"h\":\"v\";if((P.get()||pe)===D.orientation)continue}else S===\"orientationaxes\"&#038;&#038;(q.orientation={v:\"h\",h:\"v\"}[D.orientation]);Rt.swapXYData(q),f.calc=f.clearAxisTypes=!0}else xr.dataArrayContainers.indexOf(P.parts[0])!==-1?(Rt.manageArrayContainers(P,F,h),f.calc=!0):(O?O.arrayOk&#038;&#038;!Nn.traceIs(D,\"regl\")&#038;&#038;(tr.isArrayOrTypedArray(F)||tr.isArrayOrTypedArray(z))?f.calc=!0:Fl.update(f,O):f.calc=!0,P.set(F))}}if([\"swapxyaxes\",\"orientationaxes\"].indexOf(S)!==-1&#038;&#038;Ha.swap(e,t),S===\"orientationaxes\"){var be=ut(e.layout,\"hovermode\"),Ae=be.get();Ae===\"x\"?be.set(\"y\"):Ae===\"y\"?be.set(\"x\"):Ae===\"x unified\"?be.set(\"y unified\"):Ae===\"y unified\"&#038;&#038;be.set(\"x unified\")}if([\"orientation\",\"type\"].indexOf(S)!==-1){for(d=[],u=0;u<t.length;u++){var ge=i[t[u]];Nn.traceIs(ge,\"cartesian\")&#038;&#038;(y(ge.xaxis||\"x\"),y(ge.yaxis||\"y\"))}w(d.map(g),!0,0),w(d.map(_),[0,1],0)}}return(f.calc||f.plot)&#038;&#038;(f.fullReplot=!0),{flags:f,undoit:h,redoit:v,traces:t,eventData:tr.extendDeepNoArrays([],[s,t])}}function cc(e,r,t){e=tr.getGraphDiv(e),Rt.clearPromiseQueue(e);var a={};if(typeof r==\"string\")a[r]=t;else if(tr.isPlainObject(r))a=tr.extendFlat({},r);else return tr.warn(\"Relayout fail.\",r,t),Promise.reject();Object.keys(a).length&#038;&#038;(e.changed=!0);var n=hC(e,a),i=n.flags;i.calc&#038;&#038;(e.calcdata=void 0);var l=[xr.previousPromises];i.layoutReplot?l.push(jr.layoutReplot):Object.keys(a).length&#038;&#038;(fC(e,i,n)||xr.supplyDefaults(e),i.legend&#038;&#038;l.push(jr.doLegend),i.layoutstyle&#038;&#038;l.push(jr.layoutStyles),i.axrange&#038;&#038;od(l,n.rangesAltered),i.ticks&#038;&#038;l.push(jr.doTicksRelayout),i.modebar&#038;&#038;l.push(jr.doModeBar),i.camera&#038;&#038;l.push(jr.doCamera),i.colorbars&#038;&#038;l.push(jr.doColorBars),l.push(vc)),l.push(xr.rehover,xr.redrag,xr.reselect),Wa.add(e,cc,[e,n.undoit],cc,[e,n.redoit]);var o=tr.syncOrAsync(l,e);return(!o||!o.then)&#038;&#038;(o=Promise.resolve(e)),o.then(function(){return e.emit(\"plotly_relayout\",n.eventData),e})}function fC(e,r,t){var a=e._fullLayout;if(!r.axrange)return!1;for(var n in r)if(n!==\"axrange\"&#038;&#038;r[n])return!1;var i,l,o=function(d,m){return tr.coerce(i,l,RK,d,m)},s={};for(var u in t.rangesAltered){var f=Ha.id2name(u);if(i=e.layout[f],l=a[f],PK(i,l,o,s),l._matchGroup){for(var v in l._matchGroup)if(v!==u){var h=a[Ha.id2name(v)];h.autorange=l.autorange,h.range=l.range.slice(),h._input.range=l.range.slice()}}}return!0}function od(e,r){var t=r?function(a){var n=[],i=!0;for(var l in r){var o=Ha.getFromId(a,l);if(n.push(l),(o.ticklabelposition||\"\").indexOf(\"inside\")!==-1&#038;&#038;o._anchorAxis&#038;&#038;n.push(o._anchorAxis._id),o._matchGroup)for(var s in o._matchGroup)r[s]||n.push(s)}return Ha.draw(a,n,{skipTitle:i})}:function(a){return Ha.draw(a,\"redraw\")};e.push(IK,jr.doAutoRangeAndConstraints,t,jr.drawData,jr.finalDraw)}var cC=\/^[xyz]axis[0-9]*\\.range(\\[[0|1]\\])?$\/,vC=\/^[xyz]axis[0-9]*\\.autorange$\/,JK=\/^[xyz]axis[0-9]*\\.domain(\\[[0|1]\\])?$\/;function hC(e,r){var t=e.layout,a=e._fullLayout,n=a._guiEditing,i=$h(a._preGUI,n),l=Object.keys(r),o=Ha.list(e),s=tr.extendDeepAll({},r),u={},f,v,h;for(l=Object.keys(r),v=0;v<l.length;v++)if(l[v].indexOf(\"allaxes\")===0){for(h=0;h<o.length;h++){var d=o[h]._id.slice(1),m=d.indexOf(\"scene\")!==-1?d+\".\":\"\",y=l[v].replace(\"allaxes\",m+o[h]._name);r[y]||(r[y]=r[l[v]])}delete r[l[v]]}var g=Fl.layoutFlags(),_={},T={};function w(me,Re){if(Array.isArray(me)){me.forEach(function(Le){w(Le,Re)});return}if(!(me in r||Rt.hasParent(r,me))){var Ee=i(t,me);me in T||(T[me]=el(Ee.get())),Re!==void 0&#038;&#038;Ee.set(Re)}}var b={},M;function S(me){var Re=Ha.name2id(me.split(\".\")[0]);return b[Re]=1,Re}for(var k in r){if(Rt.hasParent(r,k))throw new Error(\"cannot set \"+k+\" and a parent attribute simultaneously\");for(var q=i(t,k),D=r[k],P=q.parts.length,z=P-1;z>0&&typeof q.parts[z]!=\"string\";)z--;var F=q.parts[z],O=q.parts[z-1]+\".\"+F,I=q.parts.slice(0,z).join(\".\"),V=ut(e.layout,I).get(),J=ut(a,I).get(),G=q.get();if(D!==void 0){_[k]=D,T[k]=F===\"reverse\"?D:el(G);var U=ld.getLayoutValObject(a,q.parts);if(U&&U.impliedEdits&&D!==null)for(var H in U.impliedEdits)w(tr.relativeAttr(k,H),U.impliedEdits[H]);if([\"width\",\"height\"].indexOf(k)!==-1)if(D){w(\"autosize\",null);var Q=k===\"height\"?\"width\":\"height\";w(Q,a[Q])}else a[k]=e._initialAutoSize[k];else if(k===\"autosize\")w(\"width\",D?null:a.width),w(\"height\",D?null:a.height);else if(O.match(cC))S(O),ut(a,I+\"._inputRange\").set(null);else if(O.match(vC)){S(O),ut(a,I+\"._inputRange\").set(null);var Z=ut(a,I).get();Z._inputDomain&&(Z._input.domain=Z._inputDomain.slice())}else O.match(JK)&&ut(a,I+\"._inputDomain\").set(null);if(F===\"type\"){M=V;var ne=J.type===\"linear\"&&D===\"log\",ce=J.type===\"log\"&&D===\"linear\";if(ne||ce){if(!M||!M.range)w(I+\".autorange\",!0);else if(J.autorange)ne&&(M.range=M.range[1]>M.range[0]?[1,2]:[2,1]);else{var ye=M.range[0],Ce=M.range[1];ne?(ye<=0&#038;&#038;Ce<=0&#038;&#038;w(I+\".autorange\",!0),ye<=0?ye=Ce\/1e6:Ce<=0&#038;&#038;(Ce=ye\/1e6),w(I+\".range[0]\",Math.log(ye)\/Math.LN10),w(I+\".range[1]\",Math.log(Ce)\/Math.LN10)):(w(I+\".range[0]\",Math.pow(10,ye)),w(I+\".range[1]\",Math.pow(10,Ce)))}Array.isArray(a._subplots.polar)&#038;&#038;a._subplots.polar.length&#038;&#038;a[q.parts[0]]&#038;&#038;q.parts[1]===\"radialaxis\"&#038;&#038;delete a[q.parts[0]]._subplot.viewInitial[\"radialaxis.range\"],Nn.getComponentMethod(\"annotations\",\"convertCoords\")(e,J,D,w),Nn.getComponentMethod(\"images\",\"convertCoords\")(e,J,D,w)}else w(I+\".autorange\",!0),w(I+\".range\",null);ut(a,I+\"._inputRange\").set(null)}else if(F.match(HK)){var re=ut(a,k).get(),Se=(D||{}).type;(!Se||Se===\"-\")&#038;&#038;(Se=\"linear\"),Nn.getComponentMethod(\"annotations\",\"convertCoords\")(e,re,Se,w),Nn.getComponentMethod(\"images\",\"convertCoords\")(e,re,Se,w)}var pe=Qh.containerArrayMatch(k);if(pe){f=pe.array,v=pe.index;var be=pe.property,Ae=U||{editType:\"calc\"};v!==\"\"&#038;&#038;be===\"\"&#038;&#038;(Qh.isAddVal(D)?T[k]=null:Qh.isRemoveVal(D)?T[k]=(ut(t,f).get()||[])[v]:tr.warn(\"unrecognized full object value\",r)),Fl.update(g,Ae),u[f]||(u[f]={});var ge=u[f][v];ge||(ge=u[f][v]={}),ge[be]=D,delete r[k]}else F===\"reverse\"?(V.range?V.range.reverse():(w(I+\".autorange\",!0),V.range=[1,0]),J.autorange?g.calc=!0:g.plot=!0):(k===\"dragmode\"&#038;&#038;(D===!1&#038;&#038;G!==!1||D!==!1&#038;&#038;G===!1)||a._has(\"scatter-like\")&#038;&#038;a._has(\"regl\")&#038;&#038;k===\"dragmode\"&#038;&#038;(D===\"lasso\"||D===\"select\")&#038;&#038;!(G===\"lasso\"||G===\"select\")?g.plot=!0:U?Fl.update(g,U):g.calc=!0,q.set(D))}}for(f in u){var B=Qh.applyContainerArrayChanges(e,i(t,f),u[f],g,i);B||(g.plot=!0)}for(var $ in b){M=Ha.getFromId(e,$);var Y=M&#038;&#038;M._constraintGroup;if(Y){g.calc=!0;for(var le in Y)b[le]||(Ha.getFromId(e,le)._constraintShrinkable=!0)}}(dC(e)||r.height||r.width)&#038;&#038;(g.plot=!0);var he=a.shapes;for(v=0;v<he.length;v++)if(he[v].showlegend){g.calc=!0;break}return(g.plot||g.calc)&#038;&#038;(g.layoutReplot=!0),{flags:g,rangesAltered:b,undoit:T,redoit:_,eventData:s}}function dC(e){var r=e._fullLayout,t=r.width,a=r.height;return e.layout.autosize&#038;&#038;xr.plotAutoSize(e,e.layout,r),r.width!==t||r.height!==a}function nd(e,r,t,a){e=tr.getGraphDiv(e),Rt.clearPromiseQueue(e),tr.isPlainObject(r)||(r={}),tr.isPlainObject(t)||(t={}),Object.keys(r).length&#038;&#038;(e.changed=!0),Object.keys(t).length&#038;&#038;(e.changed=!0);var n=Rt.coerceTraceIndices(e,a),i=uC(e,tr.extendFlat({},r),n),l=i.flags,o=hC(e,tr.extendFlat({},t)),s=o.flags;(l.calc||s.calc)&#038;&#038;(e.calcdata=void 0),l.clearAxisTypes&#038;&#038;Rt.clearAxisTypes(e,n,t);var u=[];s.layoutReplot?u.push(jr.layoutReplot):l.fullReplot?u.push(Ur._doPlot):(u.push(xr.previousPromises),fC(e,s,o)||xr.supplyDefaults(e),l.style&#038;&#038;u.push(jr.doTraceStyle),(l.colorbars||s.colorbars)&#038;&#038;u.push(jr.doColorBars),s.legend&#038;&#038;u.push(jr.doLegend),s.layoutstyle&#038;&#038;u.push(jr.layoutStyles),s.axrange&#038;&#038;od(u,o.rangesAltered),s.ticks&#038;&#038;u.push(jr.doTicksRelayout),s.modebar&#038;&#038;u.push(jr.doModeBar),s.camera&#038;&#038;u.push(jr.doCamera),u.push(vc)),u.push(xr.rehover,xr.redrag,xr.reselect),Wa.add(e,nd,[e,i.undoit,o.undoit,i.traces],nd,[e,i.redoit,o.redoit,i.traces]);var f=tr.syncOrAsync(u,e);return(!f||!f.then)&#038;&#038;(f=Promise.resolve(e)),f.then(function(){return e.emit(\"plotly_update\",{data:i.eventData,layout:o.eventData}),e})}function Fg(e){return function(t){t._fullLayout._guiEditing=!0;var a=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,a}}var KK=[{pattern:\/^hiddenlabels\/,attr:\"legend.uirevision\"},{pattern:\/^((x|y)axis\\d*)\\.((auto)?range|title\\.text)\/},{pattern:\/axis\\d*\\.showspikes$\/,attr:\"modebar.uirevision\"},{pattern:\/(hover|drag)mode$\/,attr:\"modebar.uirevision\"},{pattern:\/^(scene\\d*)\\.camera\/},{pattern:\/^(geo\\d*)\\.(projection|center|fitbounds)\/},{pattern:\/^(ternary\\d*\\.[abc]axis)\\.(min|title\\.text)$\/},{pattern:\/^(polar\\d*\\.radialaxis)\\.((auto)?range|angle|title\\.text)\/},{pattern:\/^(polar\\d*\\.angularaxis)\\.rotation\/},{pattern:\/^(mapbox\\d*)\\.(center|zoom|bearing|pitch)\/},{pattern:\/^(map\\d*)\\.(center|zoom|bearing|pitch)\/},{pattern:\/^legend\\.(x|y)$\/,attr:\"editrevision\"},{pattern:\/^(shapes|annotations)\/,attr:\"editrevision\"},{pattern:\/^selections\/,attr:\"selectionrevision\"},{pattern:\/^title\\.text$\/,attr:\"editrevision\"}],QK=[{pattern:\/^selectedpoints$\/,attr:\"selectionrevision\"},{pattern:\/(^|value\\.)visible$\/,attr:\"legend.uirevision\"},{pattern:\/^dimensions\\[\\d+\\]\\.constraintrange\/},{pattern:\/^node\\.(x|y|groups)\/},{pattern:\/^level$\/},{pattern:\/(^|value\\.)name$\/},{pattern:\/colorbar\\.title\\.text$\/},{pattern:\/colorbar\\.(x|y)$\/,attr:\"editrevision\"}];function Kk(e,r){for(var t=0;t<r.length;t++){var a=r[t],n=e.match(a.pattern);if(n){var i=n[1]||\"\";return{head:i,tail:e.slice(i.length+1),attr:a.attr}}}}function Qk(e,r){var t=ut(r,e).get();if(t!==void 0)return t;var a=e.split(\".\");for(a.pop();a.length>1;)if(a.pop(),t=ut(r,a.join(\".\")+\".uirevision\").get(),t!==void 0)return t;return r.uirevision}function $K(e,r){for(var t=0;t<r.length;t++)if(r[t]._fullInput.uid===e)return t;return-1}function jK(e,r,t){for(var a=0;a<r.length;a++)if(r[a].uid===e)return a;return!r[t]||r[t].uid?-1:t}function $k(e,r){var t=tr.isPlainObject(e),a=Array.isArray(e);return t||a?(t&#038;&#038;tr.isPlainObject(r)||a&#038;&#038;Array.isArray(r))&#038;&#038;JSON.stringify(e)===JSON.stringify(r):e===r}function eQ(e,r,t,a){var n=a._preGUI,i,l,o,s,u,f,v,h,d,m,y=[],g={},_={};for(i in n){if(u=Kk(i,KK),u){if(d=u.head,m=u.tail,l=u.attr||d+\".uirevision\",o=ut(a,l).get(),s=o&#038;&#038;Qk(l,r),s&#038;&#038;s===o){if(f=n[i],f===null&#038;&#038;(f=void 0),v=ut(r,i),h=v.get(),$k(h,f)){h===void 0&#038;&#038;m===\"autorange\"&#038;&#038;y.push(d),v.set(el(ut(a,i).get()));continue}else if(m===\"autorange\"||m.slice(0,6)===\"range[\"){var T=n[d+\".range[0]\"],w=n[d+\".range[1]\"],b=n[d+\".autorange\"];if(b||b===null&#038;&#038;T===null&#038;&#038;w===null){if(!(d in g)){var M=ut(r,d).get();g[d]=M&#038;&#038;(M.autorange||M.autorange!==!1&#038;&#038;(!M.range||M.range.length!==2))}if(g[d]){v.set(el(ut(a,i).get()));continue}}}}}else tr.warn(\"unrecognized GUI edit: \"+i);delete n[i],u&#038;&#038;u.tail.slice(0,6)===\"range[\"&#038;&#038;(_[u.head]=1)}for(var S=0;S<y.length;S++){var k=y[S];if(_[k]){var q=ut(r,k).get();q&#038;&#038;delete q.autorange}}var D=a._tracePreGUI;for(var P in D){var z=D[P],F=null,O;for(i in z){if(!F){var I=$K(P,t);if(I<0){delete D[P];break}var V=t[I];O=V._fullInput;var J=jK(P,e,O.index);if(J<0){delete D[P];break}F=e[J]}if(u=Kk(i,QK),u){if(u.attr?(o=ut(a,u.attr).get(),s=o&#038;&#038;Qk(u.attr,r)):(o=O.uirevision,s=F.uirevision,s===void 0&#038;&#038;(s=r.uirevision)),s&#038;&#038;s===o&#038;&#038;(f=z[i],f===null&#038;&#038;(f=void 0),v=ut(F,i),h=v.get(),$k(h,f))){v.set(el(ut(O,i).get()));continue}}else tr.warn(\"unrecognized GUI edit: \"+i+\" in trace uid \"+P);delete z[i]}}}function rQ(e,r,t,a){var n,i;function l(){return Ur.addFrames(e,n)}e=tr.getGraphDiv(e),Rt.clearPromiseQueue(e);var o=e._fullData,s=e._fullLayout;if(!tr.isPlotDiv(e)||!o||!s)i=Ur.newPlot(e,r,t,a);else{if(tr.isPlainObject(r)){var u=r;r=u.data,t=u.layout,a=u.config,n=u.frames}var f=!1;if(a){let O=tr.extendDeepAll({},e._context);e._context=void 0,rC(e,a),f=!Rt.collectionsAreEqual(O,e._context)}if(f){let O=e._ev.eventNames().map(I=>[I,e._ev.listeners(I)]);i=Ur.newPlot(e,r,t,a).then(()=>{for(let[I,V]of O)V.forEach(J=>e.on(I,J));return Ur.react(e,r,t,a)})}else{e.data=r||[],Rt.cleanData(e.data),e.layout=t||{},Rt.cleanLayout(e.layout),eQ(e.data,e.layout,o,s),xr.supplyDefaults(e,{skipUpdateCalc:!0});var v=e._fullData,h=e._fullLayout,d=h.datarevision===void 0,m=h.transition,y=aQ(e,s,h,d,m),g=y.newDataRevision,_=tQ(e,o,v,d,m,g);if(dC(e)&&(y.layoutReplot=!0),_.calc||y.calc){e.calcdata=void 0;for(var T=Object.getOwnPropertyNames(h),w=0;w<T.length;w++){var b=T[w],M=b.substring(0,5);if(M===\"xaxis\"||M===\"yaxis\"){var S=h[b]._emptyCategories;S&#038;&#038;S()}}}else xr.supplyDefaultsUpdateCalc(e.calcdata,v);var k=[];if(n&#038;&#038;(e._transitionData={},xr.createTransitionData(e),k.push(l)),h.transition&#038;&#038;(_.anim||y.anim))y.ticks&#038;&#038;k.push(jr.doTicksRelayout),xr.doCalcdata(e),jr.doAutoRangeAndConstraints(e),k.push(function(){return xr.transitionFromReact(e,_,y,s)});else if(_.fullReplot||y.layoutReplot)e._fullLayout._skipDefaults=!0,k.push(Ur._doPlot);else{for(var q in y.arrays){var D=y.arrays[q];if(D.length){var P=Nn.getComponentMethod(q,\"drawOne\");if(P!==tr.noop)for(var z=0;z<D.length;z++)P(e,D[z]);else{var F=Nn.getComponentMethod(q,\"draw\");if(F===tr.noop)throw new Error(\"cannot draw components: \"+q);F(e)}}}k.push(xr.previousPromises),_.style&#038;&#038;k.push(jr.doTraceStyle),(_.colorbars||y.colorbars)&#038;&#038;k.push(jr.doColorBars),y.legend&#038;&#038;k.push(jr.doLegend),y.layoutstyle&#038;&#038;k.push(jr.layoutStyles),y.axrange&#038;&#038;od(k),y.ticks&#038;&#038;k.push(jr.doTicksRelayout),y.modebar&#038;&#038;k.push(jr.doModeBar),y.camera&#038;&#038;k.push(jr.doCamera),k.push(vc)}k.push(xr.rehover,xr.redrag,xr.reselect),i=tr.syncOrAsync(k,e),(!i||!i.then)&#038;&#038;(i=Promise.resolve(e))}}return i.then(()=>(f||e.emit(\"plotly_react\",{config:a,data:r,layout:t}),e))}function tQ(e,r,t,a,n,i){var l=r.length===t.length;if(!n&&!l)return{fullReplot:!0,calc:!0};var o=Fl.traceFlags();o.arrays={},o.nChanges=0,o.nChangesAnim=0;var s,u;function f(d){var m=ld.getTraceValObject(u,d);return!u._module.animatable&&m.anim&&(m.anim=!1),m}var v={getValObject:f,flags:o,immutable:a,transition:n,newDataRevision:i,gd:e},h={};for(s=0;s<r.length;s++)if(t[s]){if(u=t[s]._fullInput,h[u.uid])continue;h[u.uid]=1,id(r[s]._fullInput,u,[],v)}return(o.calc||o.plot)&#038;&#038;(o.fullReplot=!0),n&#038;&#038;o.nChanges&#038;&#038;o.nChangesAnim&#038;&#038;(o.anim=o.nChanges===o.nChangesAnim&#038;&#038;l?\"all\":\"some\"),o}function aQ(e,r,t,a,n){var i=Fl.layoutFlags();i.arrays={},i.rangesAltered={},i.nChanges=0,i.nChangesAnim=0;function l(h){return ld.getLayoutValObject(t,h)}for(var o in t)if(!(!o.startsWith(\"xaxis\")&#038;&#038;!o.startsWith(\"yaxis\"))&#038;&#038;r[o]){var s=t[o].domain,u=r[o].domain,f=r[o]._inputDomain;r[o]._inputDomain&#038;&#038;(s[0]===f[0]&#038;&#038;s[1]===f[1]?t[o].domain=r[o].domain:(s[0]!==u[0]||s[1]!==u[1])&#038;&#038;(t[o]._inputDomain=null))}var v={getValObject:l,flags:i,immutable:a,transition:n,gd:e};return id(r,t,[],v),(i.plot||i.calc)&#038;&#038;(i.layoutReplot=!0),n&#038;&#038;i.nChanges&#038;&#038;i.nChangesAnim&#038;&#038;(i.anim=i.nChanges===i.nChangesAnim?\"all\":\"some\"),i}function id(e,r,t,a){var n,i,l,o=a.getValObject,s=a.flags,u=a.immutable,f=a.inArray,v=a.arrayIndex;function h(){var I=n.editType;if(f&#038;&#038;I.indexOf(\"arraydraw\")!==-1){tr.pushUnique(s.arrays[f],v);return}Fl.update(s,n),I!==\"none\"&#038;&#038;s.nChanges++,a.transition&#038;&#038;n.anim&#038;&#038;s.nChangesAnim++,(cC.test(l)||vC.test(l))&#038;&#038;(s.rangesAltered[t[0]]=1),i===\"datarevision\"&#038;&#038;(s.newDataRevision=1)}function d(I){return I.valType===\"data_array\"||I.arrayOk}for(i in e){if(s.calc&#038;&#038;!a.transition)return;var m=e[i],y=r[i],g=t.concat(i);if(l=g.join(\".\"),!(i.charAt(0)===\"_\"||typeof m==\"function\"||m===y)){if((i===\"tick0\"||i===\"dtick\")&#038;&#038;t[0]!==\"geo\"){var _=r.tickmode;if(_===\"auto\"||_===\"array\"||!_)continue}if(!(i===\"range\"&#038;&#038;r.autorange)&#038;&#038;!((i===\"zmin\"||i===\"zmax\")&#038;&#038;r.type===\"contourcarpet\")&#038;&#038;(n=o(g),!!n&#038;&#038;!(n._compareAsJSON&#038;&#038;JSON.stringify(m)===JSON.stringify(y)))){var T=n.valType,w,b=d(n),M=Array.isArray(m),S=Array.isArray(y);if(M&#038;&#038;S){var k=\"_input_\"+i,q=e[k],D=r[k];if(Array.isArray(q)&#038;&#038;q===D)continue}if(y===void 0)b&#038;&#038;M?s.calc=!0:h();else if(n._isLinkedToArray){var P=[],z=!1;f||(s.arrays[i]=P);var F=Math.min(m.length,y.length),O=Math.max(m.length,y.length);if(F!==O)if(n.editType===\"arraydraw\")z=!0;else{h();continue}for(w=0;w<F;w++)id(m[w],y[w],g.concat(w),tr.extendFlat({inArray:i,arrayIndex:w},a));if(z)for(w=F;w<O;w++)P.push(w)}else!T&#038;&#038;tr.isPlainObject(m)?id(m,y,g,a):b?M&#038;&#038;S?(u&#038;&#038;(s.calc=!0),(u||a.newDataRevision)&#038;&#038;h()):M!==S?s.calc=!0:h():M&#038;&#038;S?(m.length!==y.length||String(m)!==String(y))&#038;&#038;h():h()}}}for(i in r)if(!(i in e||i.charAt(0)===\"_\"||typeof r[i]==\"function\"))if(n=o(t.concat(i)),d(n)&#038;&#038;Array.isArray(r[i])){s.calc=!0;return}else h()}function nQ(e,r,t){if(e=tr.getGraphDiv(e),!tr.isPlotDiv(e))throw new Error(\"This element is not a Plotly plot: \"+e+\". It's likely that you've failed to create a plot before animating it. For more details, see https:\/\/plotly.com\/javascript\/animations\/\");var a=e._transitionData;a._frameQueue||(a._frameQueue=[]),t=xr.supplyAnimationDefaults(t);var n=t.transition,i=t.frame;a._frameWaitingCnt===void 0&#038;&#038;(a._frameWaitingCnt=0);function l(u){return Array.isArray(n)?u>=n.length?n[0]:n[u]:n}function o(u){return Array.isArray(i)?u>=i.length?i[0]:i[u]:i}function s(u,f){var v=0;return function(){if(u&&++v===f)return u()}}return new Promise(function(u,f){function v(){if(a._frameQueue.length!==0){for(;a._frameQueue.length;){var F=a._frameQueue.pop();F.onInterrupt&&F.onInterrupt()}e.emit(\"plotly_animationinterrupted\",[])}}function h(F){if(F.length!==0){for(var O=0;O<F.length;O++){var I;F[O].type===\"byname\"?I=xr.computeFrame(e,F[O].name):I=F[O].data;var V=o(O),J=l(O);J.duration=Math.min(J.duration,V.duration);var G={frame:I,name:F[O].name,frameOpts:V,transitionOpts:J};O===F.length-1&#038;&#038;(G.onComplete=s(u,2),G.onInterrupt=f),a._frameQueue.push(G)}t.mode===\"immediate\"&#038;&#038;(a._lastFrameAt=-1\/0),a._animationRaf||y()}}function d(){e.emit(\"plotly_animated\"),window.cancelAnimationFrame(a._animationRaf),a._animationRaf=null}function m(){a._currentFrame&#038;&#038;a._currentFrame.onComplete&#038;&#038;a._currentFrame.onComplete();var F=a._currentFrame=a._frameQueue.shift();if(F){var O=F.name?F.name.toString():null;e._fullLayout._currentFrame=O,a._lastFrameAt=Date.now(),a._timeToNext=F.frameOpts.duration,xr.transition(e,F.frame.data,F.frame.layout,Rt.coerceTraceIndices(e,F.frame.traces),F.frameOpts,F.transitionOpts).then(function(){F.onComplete&#038;&#038;F.onComplete()}),e.emit(\"plotly_animatingframe\",{name:O,frame:F.frame,animation:{frame:F.frameOpts,transition:F.transitionOpts}})}else d()}function y(){e.emit(\"plotly_animating\"),a._lastFrameAt=-1\/0,a._timeToNext=0,a._runningTransitions=0,a._currentFrame=null;var F=function(){a._animationRaf=window.requestAnimationFrame(F),Date.now()-a._lastFrameAt>a._timeToNext&&m()};F()}var g=0;function _(F){return Array.isArray(n)?g>=n.length?F.transitionOpts=n[g]:F.transitionOpts=n[0]:F.transitionOpts=n,g++,F}var T,w,b=[],M=r==null,S=Array.isArray(r),k=!M&&!S&&tr.isPlainObject(r);if(k)b.push({type:\"object\",data:_(tr.extendFlat({},r))});else if(M||[\"string\",\"number\"].indexOf(typeof r)!==-1)for(T=0;T<a._frames.length;T++)w=a._frames[T],w&#038;&#038;(M||String(w.group)===String(r))&#038;&#038;b.push({type:\"byname\",name:String(w.name),data:_({name:w.name})});else if(S)for(T=0;T<r.length;T++){var q=r[T];[\"number\",\"string\"].indexOf(typeof q)!==-1?(q=String(q),b.push({type:\"byname\",name:q,data:_({name:q})})):tr.isPlainObject(q)&#038;&#038;b.push({type:\"object\",data:_(tr.extendFlat({},q))})}for(T=0;T<b.length;T++)if(w=b[T],w.type===\"byname\"&#038;&#038;!a._frameHash[w.data.name]){tr.warn('animate failure: frame not found: \"'+w.data.name+'\"'),f();return}[\"next\",\"immediate\"].indexOf(t.mode)!==-1&#038;&#038;v(),t.direction===\"reverse\"&#038;&#038;b.reverse();var D=e._fullLayout._currentFrame;if(D&#038;&#038;t.fromcurrent){var P=-1;for(T=0;T<b.length;T++)if(w=b[T],w.type===\"byname\"&#038;&#038;w.name===D){P=T;break}if(P>0&&P<b.length-1){var z=[];for(T=0;T<b.length;T++)w=b[T],(b[T].type!==\"byname\"||T>P)&&z.push(w);b=z}}b.length>0?h(b):(e.emit(\"plotly_animated\"),u())})}function iQ(e,r,t){if(e=tr.getGraphDiv(e),r==null)return Promise.resolve();if(!tr.isPlotDiv(e))throw new Error(\"This element is not a Plotly plot: \"+e+\". It's likely that you've failed to create a plot before adding frames. For more details, see https:\/\/plotly.com\/javascript\/animations\/\");var a,n,i,l,o=e._transitionData._frames,s=e._transitionData._frameHash;if(!Array.isArray(r))throw new Error(\"addFrames failure: frameList must be an Array of frame definitions\"+r);var u=o.length+r.length*2,f=[],v={};for(a=r.length-1;a>=0;a--)if(tr.isPlainObject(r[a])){var h=r[a].name,d=(s[h]||v[h]||{}).name,m=r[a].name,y=s[d]||v[d];d&&m&&typeof m==\"number\"&&y&&Rg<Jk&#038;&#038;(Rg++,tr.warn('addFrames: overwriting frame \"'+(s[d]||v[d]).name+'\" with a frame whose name of type \"number\" also equates to \"'+d+'\". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),Rg===Jk&#038;&#038;tr.warn(\"addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.\")),v[h]={name:h},f.push({frame:xr.supplyFrameDefaults(r[a]),index:t&#038;&#038;t[a]!==void 0&#038;&#038;t[a]!==null?t[a]:u+a})}f.sort(function(k,q){return k.index>q.index?-1:k.index<q.index?1:0});var g=[],_=[],T=o.length;for(a=f.length-1;a>=0;a--){if(n=f[a].frame,typeof n.name==\"number\"&&tr.warn(\"Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings\"),!n.name)for(;s[n.name=\"frame \"+e._transitionData._counter++];);if(s[n.name]){for(i=0;i<o.length&#038;&#038;(o[i]||{}).name!==n.name;i++);g.push({type:\"replace\",index:i,value:n}),_.unshift({type:\"replace\",index:i,value:o[i]})}else l=Math.max(0,Math.min(f[a].index,T)),g.push({type:\"insert\",index:l,value:n}),_.unshift({type:\"delete\",index:l}),T++}var w=xr.modifyFrames,b=xr.modifyFrames,M=[e,_],S=[e,g];return Wa&#038;&#038;Wa.add(e,w,M,b,S),xr.modifyFrames(e,g)}function lQ(e,r){if(e=tr.getGraphDiv(e),!tr.isPlotDiv(e))throw new Error(\"This element is not a Plotly plot: \"+e);var t,a,n=e._transitionData._frames,i=[],l=[];if(!r)for(r=[],t=0;t<n.length;t++)r.push(t);for(r=r.slice(),r.sort(),t=r.length-1;t>=0;t--)a=r[t],i.push({type:\"delete\",index:a}),l.unshift({type:\"insert\",index:a,value:n[a]});var o=xr.modifyFrames,s=xr.modifyFrames,u=[e,l],f=[e,i];return Wa&&Wa.add(e,o,u,s,f),xr.modifyFrames(e,i)}function oQ(e){e=tr.getGraphDiv(e);var r=e._fullLayout||{},t=e._fullData||[];return xr.cleanPlot([],{},t,r),xr.purge(e),zg.purge(e),r._container&&r._container.remove(),delete e._context,e}function sQ(e){var r=e._fullLayout,t=e.getBoundingClientRect();if(!tr.equalDomRects(t,r._lastBBox)){var a=r._invTransform=tr.inverseTransformMatrix(tr.getFullTransformMatrix(e));r._invScaleX=Math.sqrt(a[0][0]*a[0][0]+a[0][1]*a[0][1]+a[0][2]*a[0][2]),r._invScaleY=Math.sqrt(a[1][0]*a[1][0]+a[1][1]*a[1][1]+a[1][2]*a[1][2]),r._lastBBox=t}}function uQ(e){var r=jh.select(e),t=e._fullLayout;if(t._calcInverseTransform=sQ,t._calcInverseTransform(e),t._container=r.selectAll(\".plot-container\").data([0]),t._container.enter().insert(\"div\",\":first-child\").classed(\"plot-container\",!0).classed(\"plotly\",!0).style({width:\"100%\",height:\"100%\"}),t._paperdiv=t._container.selectAll(\".svg-container\").data([0]),t._paperdiv.enter().append(\"div\").classed(\"user-select-none\",!0).classed(\"svg-container\",!0).style(\"position\",\"relative\"),t._glcontainer=t._paperdiv.selectAll(\".gl-container\").data([{}]),t._glcontainer.enter().append(\"div\").classed(\"gl-container\",!0),t._paperdiv.selectAll(\".main-svg\").remove(),t._paperdiv.select(\".modebar-container\").remove(),t._paper=t._paperdiv.insert(\"svg\",\":first-child\").classed(\"main-svg\",!0),t._toppaper=t._paperdiv.append(\"svg\").classed(\"main-svg\",!0),t._modebardiv=t._paperdiv.append(\"div\"),delete t._modeBar,t._hoverpaper=t._paperdiv.append(\"svg\").classed(\"main-svg\",!0),!t._uid){var a={};jh.selectAll(\"defs\").each(function(){this.id&&(a[this.id.split(\"-\")[1]]=1)}),t._uid=tr.randstr(a)}t._paperdiv.selectAll(\".main-svg\").attr(FK.svgAttrs),t._defs=t._paper.append(\"defs\").attr(\"id\",\"defs-\"+t._uid),t._clips=t._defs.append(\"g\").classed(\"clips\",!0),t._topdefs=t._toppaper.append(\"defs\").attr(\"id\",\"topdefs-\"+t._uid),t._topclips=t._topdefs.append(\"g\").classed(\"clips\",!0),t._bgLayer=t._paper.append(\"g\").classed(\"bglayer\",!0),t._draggers=t._paper.append(\"g\").classed(\"draglayer\",!0);var n=t._paper.append(\"g\").classed(\"layer-below\",!0);t._imageLowerLayer=n.append(\"g\").classed(\"imagelayer\",!0),t._shapeLowerLayer=n.append(\"g\").classed(\"shapelayer\",!0),t._cartesianlayer=t._paper.append(\"g\").classed(\"cartesianlayer\",!0),t._polarlayer=t._paper.append(\"g\").classed(\"polarlayer\",!0),t._smithlayer=t._paper.append(\"g\").classed(\"smithlayer\",!0),t._ternarylayer=t._paper.append(\"g\").classed(\"ternarylayer\",!0),t._geolayer=t._paper.append(\"g\").classed(\"geolayer\",!0),t._funnelarealayer=t._paper.append(\"g\").classed(\"funnelarealayer\",!0),t._pielayer=t._paper.append(\"g\").classed(\"pielayer\",!0),t._iciclelayer=t._paper.append(\"g\").classed(\"iciclelayer\",!0),t._treemaplayer=t._paper.append(\"g\").classed(\"treemaplayer\",!0),t._sunburstlayer=t._paper.append(\"g\").classed(\"sunburstlayer\",!0),t._indicatorlayer=t._toppaper.append(\"g\").classed(\"indicatorlayer\",!0),t._glimages=t._paper.append(\"g\").classed(\"glimages\",!0);var i=t._toppaper.append(\"g\").classed(\"layer-above\",!0);t._imageUpperLayer=i.append(\"g\").classed(\"imagelayer\",!0),t._shapeUpperLayer=i.append(\"g\").classed(\"shapelayer\",!0),t._selectionLayer=t._toppaper.append(\"g\").classed(\"selectionlayer\",!0),t._infolayer=t._toppaper.append(\"g\").classed(\"infolayer\",!0),t._menulayer=t._toppaper.append(\"g\").classed(\"menulayer\",!0),t._zoomlayer=t._toppaper.append(\"g\").classed(\"zoomlayer\",!0),t._hoverlayer=t._hoverpaper.append(\"g\").classed(\"hoverlayer\",!0),t._modebardiv.classed(\"modebar-container\",!0).style(\"position\",\"absolute\").style(\"top\",\"0px\").style(\"right\",\"0px\"),e.emit(\"plotly_framework\")}Ur.animate=nQ;Ur.addFrames=iQ;Ur.deleteFrames=lQ;Ur.addTraces=oC;Ur.deleteTraces=sC;Ur.extendTraces=iC;Ur.moveTraces=Ng;Ur.prependTraces=lC;Ur.newPlot=VK;Ur._doPlot=OK;Ur.purge=oQ;Ur.react=rQ;Ur.redraw=UK;Ur.relayout=cc;Ur.restyle=td;Ur.setPlotConfig=BK;Ur.update=nd;Ur._guiRelayout=Fg(cc);Ur._guiRestyle=Fg(td);Ur._guiUpdate=Fg(nd);Ur._storeDirectGUIEdit=ZK});var Uo=K(Ni=>{\"use strict\";var fQ=br();Ni.getDelay=function(e){return e._has&&(e._has(\"gl3d\")||e._has(\"mapbox\")||e._has(\"map\"))?500:0};Ni.getRedrawFunc=function(e){return function(){fQ.getComponentMethod(\"colorbar\",\"draw\")(e)}};Ni.encodeSVG=function(e){return\"data:image\/svg+xml,\"+encodeURIComponent(e)};Ni.encodeJSON=function(e){return\"data:application\/json,\"+encodeURIComponent(e)};var pC=window.URL||window.webkitURL;Ni.createObjectURL=function(e){return pC.createObjectURL(e)};Ni.revokeObjectURL=function(e){return pC.revokeObjectURL(e)};Ni.createBlob=function(e,r){if(r===\"svg\")return new window.Blob([e],{type:\"image\/svg+xml;charset=utf-8\"});if(r===\"full-json\")return new window.Blob([e],{type:\"application\/json;charset=utf-8\"});var t=cQ(window.atob(e));return new window.Blob([t],{type:\"image\/\"+r})};Ni.octetStream=function(e){document.location.href=\"data:application\/octet-stream\"+e};function cQ(e){for(var r=e.length,t=new ArrayBuffer(r),a=new Uint8Array(t),n=0;n<r;n++)a[n]=e.charCodeAt(n);return t}Ni.IMAGE_URL_PREFIX=\/^data:image\\\/\\w+;base64,\/});var sd=K((vfe,mC)=>{\"use strict\";var Og=zr(),ffe=Fe(),vQ=tt(),hQ=Er(),cfe=_o(),Hg=\/\"\/g,Vo=\"TOBESTRIPPED\",dQ=new RegExp(`(\"${Vo})|(${Vo}\")|(&quot;${Vo})|(${Vo}&quot;)`,\"g\"),pQ=[\"&amp;\",\"&#38;\",\"&#x26;\",\"&quot;\",\"&#34;\",\"&#x22;\",\"&apos;\",\"&#39;\",\"&#x27;\"],mQ=[\"&lt;\",\"&#60;\",\"&#x3c;\"],yQ=[\"&gt;\",\"&#62;\",\"&#x3e;\"];function gQ(e){let r=Og.select(\"body\").append(\"div\").style({display:\"none\"}).html(\"\"),t=e.replace(\/(&[^;]*;)\/gi,a=>{let n=a.toLowerCase();return pQ.includes(n)?a:mQ.includes(n)?\"&#60;\":yQ.includes(n)?\"&#62;\":a.includes(\"<\")||a.includes(\">\")?\"\":r.html(a).text()});return r.remove(),t}function bQ(e){return e.replace(\/&(?!\\w+;|\\#[0-9]+;| \\#x[0-9A-F]+;)\/g,\"&amp;\")}mC.exports=function(r,t,a){var n=r._fullLayout,i=n._paper,l=n._toppaper,o=n.width,s=n.height,u;i.insert(\"rect\",\":first-child\").call(vQ.setRect,0,0,o,s).call(hQ.fill,n.paper_bgcolor);var f=n._basePlotModules||[];for(u=0;u<f.length;u++){var v=f[u];v.toSVG&#038;&#038;v.toSVG(r)}if(l){var h=l.node().childNodes,d=Array.prototype.slice.call(h);for(u=0;u<d.length;u++){var m=d[u];m.childNodes.length&#038;&#038;i.node().appendChild(m)}}n._draggers&#038;&#038;n._draggers.remove(),i.node().style.background=\"\",i.selectAll(\"text\").attr({\"data-unformatted\":null,\"data-math\":null}).each(function(){var g=Og.select(this);if(this.style.visibility===\"hidden\"||this.style.display===\"none\"){g.remove();return}else g.style({visibility:null,display:null});var _=this.style.fontFamily;_&#038;&#038;_.indexOf('\"')!==-1&#038;&#038;g.style(\"font-family\",_.replace(Hg,Vo));var T=this.style.fontWeight;T&#038;&#038;(T===\"normal\"||T===\"400\")&#038;&#038;g.style(\"font-weight\",void 0);var w=this.style.fontStyle;w&#038;&#038;w===\"normal\"&#038;&#038;g.style(\"font-style\",void 0);var b=this.style.fontVariant;b&#038;&#038;b===\"normal\"&#038;&#038;g.style(\"font-variant\",void 0)}),i.selectAll(\".gradient_filled,.pattern_filled\").each(function(){var g=Og.select(this),_=this.style.fill;_&#038;&#038;_.indexOf(\"url(\")!==-1&#038;&#038;g.style(\"fill\",_.replace(Hg,Vo));var T=this.style.stroke;T&#038;&#038;T.indexOf(\"url(\")!==-1&#038;&#038;g.style(\"stroke\",T.replace(Hg,Vo))}),(t===\"pdf\"||t===\"eps\")&#038;&#038;i.selectAll(\"#MathJax_SVG_glyphs path\").attr(\"stroke-width\",0),t===\"svg\"&#038;&#038;a&#038;&#038;(i.attr(\"width\",a*o),i.attr(\"height\",a*s),i.attr(\"viewBox\",\"0 0 \"+o+\" \"+s));var y=new window.XMLSerializer().serializeToString(i.node());return y=gQ(y),y=bQ(y),y=y.replace(dQ,\"'\"),y}});var ud=K((hfe,yC)=>{\"use strict\";var xQ=Fe(),_Q=r0().EventEmitter,hc=Uo();function wQ(e){var r=e.emitter||new _Q,t=new Promise(function(a,n){var i=window.Image,l=e.svg,o=e.format||\"png\",s=e.canvas,u=e.scale||1,f=e.width||300,v=e.height||150,h=u*f,d=u*v,m=s.getContext(\"2d\",{willReadFrequently:!0}),y=new i,g,_;o===\"svg\"||xQ.isSafari()?_=hc.encodeSVG(l):(g=hc.createBlob(l,\"svg\"),_=hc.createObjectURL(g)),s.width=h,s.height=d,y.onload=function(){var T;switch(g=null,hc.revokeObjectURL(_),o!==\"svg\"&&m.drawImage(y,0,0,h,d),o){case\"jpeg\":T=s.toDataURL(\"image\/jpeg\");break;case\"png\":T=s.toDataURL(\"image\/png\");break;case\"webp\":T=s.toDataURL(\"image\/webp\");break;case\"svg\":T=_;break;default:var w=\"Image format is not jpeg, png, svg or webp.\";if(n(new Error(w)),!e.promise)return r.emit(\"error\",w)}a(T),e.promise||r.emit(\"success\",T)},y.onerror=function(T){if(g=null,hc.revokeObjectURL(_),n(T),!e.promise)return r.emit(\"error\",T)},y.src=_});return e.promise?t:r}yC.exports=wQ});var Yg=K((dfe,xC)=>{\"use strict\";var gC=Hr(),bC=Ig(),TQ=It(),Fi=Fe(),dc=Uo(),MQ=sd(),AQ=ud(),kQ=Zu().version,Bg={format:{valType:\"enumerated\",values:[\"png\",\"jpeg\",\"webp\",\"svg\",\"full-json\"],dflt:\"png\"},width:{valType:\"number\",min:1},height:{valType:\"number\",min:1},scale:{valType:\"number\",min:0,dflt:1},setBackground:{valType:\"any\",dflt:!1},imageDataOnly:{valType:\"boolean\",dflt:!1}};function CQ(e,r){r=r||{};var t,a,n,i;Fi.isPlainObject(e)?(t=e.data||[],a=e.layout||{},n=e.config||{},i={}):(e=Fi.getGraphDiv(e),t=Fi.extendDeep([],e.data),a=Fi.extendDeep({},e.layout),n=e._context,i=e._fullLayout||{});function l(S){return!(S in r)||Fi.validate(r[S],Bg[S])}if(!l(\"width\")&&r.width!==null||!l(\"height\")&&r.height!==null)throw new Error(\"Height and width should be pixel values.\");if(!l(\"format\"))throw new Error(\"Export format is not \"+Fi.join2(Bg.format.values,\", \",\" or \")+\".\");var o={};function s(S,k){return Fi.coerce(r,o,Bg,S,k)}var u=s(\"format\"),f=s(\"width\"),v=s(\"height\"),h=s(\"scale\"),d=s(\"setBackground\"),m=s(\"imageDataOnly\"),y=document.createElement(\"div\");y.style.position=\"absolute\",y.style.left=\"-5000px\",document.body.appendChild(y);var g=Fi.extendFlat({},a);f?g.width=f:r.width===null&&gC(i.width)&&(g.width=i.width),v?g.height=v:r.height===null&&gC(i.height)&&(g.height=i.height);var _=Fi.extendFlat({},n,{_exportedPlot:!0,staticPlot:!0,setBackground:d}),T=dc.getRedrawFunc(y);function w(){return new Promise(function(S){setTimeout(S,dc.getDelay(y._fullLayout))})}function b(){return new Promise(function(S,k){var q=MQ(y,u,h),D=y._fullLayout.width,P=y._fullLayout.height;function z(){bC.purge(y),document.body.removeChild(y)}if(u===\"full-json\"){var F=TQ.graphJson(y,!1,\"keepdata\",\"object\",!0,!0);return F.version=kQ,F=JSON.stringify(F),z(),S(m?F:dc.encodeJSON(F))}if(z(),u===\"svg\")return S(m?q:dc.encodeSVG(q));var O=document.createElement(\"canvas\");O.id=Fi.randstr(),AQ({format:u,width:D,height:P,scale:h,canvas:O,svg:q,promise:!0}).then(S).catch(k)})}function M(S){return m?S.replace(dc.IMAGE_URL_PREFIX,\"\"):S}return new Promise(function(S,k){bC.newPlot(y,t,g,_).then(T).then(w).then(b).then(function(q){S(M(q))}).catch(function(q){k(q)})})}xC.exports=CQ});var TC=K((pfe,wC)=>{\"use strict\";var Fn=Fe(),SQ=It(),LQ=Hs(),qQ=uo().dfltConfig,oi=Fn.isPlainObject,Wo=Array.isArray,Ug=Fn.isArrayOrTypedArray;wC.exports=function(r,t){r===void 0&&(r=[]),t===void 0&&(t={});var a=LQ.get(),n=[],i={_context:Fn.extendFlat({},qQ)},l,o;Wo(r)?(i.data=Fn.extendDeep([],r),l=r):(i.data=[],l=[],n.push(aa(\"array\",\"data\"))),oi(t)?(i.layout=Fn.extendDeep({},t),o=t):(i.layout={},o={},arguments.length>1&&n.push(aa(\"object\",\"layout\"))),SQ.supplyDefaults(i);for(var s=i._fullData,u=l.length,f=0;f<u;f++){var v=l[f],h=[\"data\",f];if(!oi(v)){n.push(aa(\"object\",h));continue}var d=s[f],m=d.type,y=a.traces[m].attributes;y.type={valType:\"enumerated\",values:[m]},d.visible===!1&#038;&#038;v.visible!==!1&#038;&#038;n.push(aa(\"invisible\",h)),fd(v,d,y,n,h)}var g=i._fullLayout,_=DQ(a,s);return fd(o,g,_,n,\"layout\"),n.length===0?void 0:n};function fd(e,r,t,a,n,i){i=i||[];for(var l=Object.keys(e),o=0;o<l.length;o++){var s=l[o],u=i.slice();u.push(s);var f=e[s],v=r[s],h=RQ(t,s),d=(h||{}).valType,m=d===\"info_array\",y=d===\"colorscale\",g=(h||{}).items;if(!PQ(t,s))a.push(aa(\"schema\",n,u));else if(oi(f)&#038;&#038;oi(v)&#038;&#038;d!==\"any\")fd(f,v,h,a,n,u);else if(m&#038;&#038;Wo(f)){f.length>v.length&&a.push(aa(\"unused\",n,u.concat(v.length)));var _=v.length,T=Array.isArray(g);T&&(_=Math.min(_,g.length));var w,b,M,S,k;if(h.dimensions===2)for(b=0;b<_;b++)if(Wo(f[b])){f[b].length>v[b].length&&a.push(aa(\"unused\",n,u.concat(b,v[b].length)));var q=v[b].length;for(w=0;w<(T?Math.min(q,g[b].length):q);w++)M=T?g[b][w]:g,S=f[b][w],k=v[b][w],Fn.validate(S,M)?k!==S&#038;&#038;k!==+S&#038;&#038;a.push(aa(\"dynamic\",n,u.concat(b,w),S,k)):a.push(aa(\"value\",n,u.concat(b,w),S))}else a.push(aa(\"array\",n,u.concat(b),f[b]));else for(b=0;b<_;b++)M=T?g[b]:g,S=f[b],k=v[b],Fn.validate(S,M)?k!==S&#038;&#038;k!==+S&#038;&#038;a.push(aa(\"dynamic\",n,u.concat(b),S,k)):a.push(aa(\"value\",n,u.concat(b),S))}else if(h.items&#038;&#038;!m&#038;&#038;Wo(f)){var D=g[Object.keys(g)[0]],P=[],z,F;for(z=0;z<v.length;z++){var O=v[z]._index||z;if(F=u.slice(),F.push(O),oi(f[O])&#038;&#038;oi(v[z])){P.push(O);var I=f[O],V=v[z];oi(I)&#038;&#038;I.visible!==!1&#038;&#038;V.visible===!1?a.push(aa(\"invisible\",n,F)):fd(I,V,D,a,n,F)}}for(z=0;z<f.length;z++)F=u.slice(),F.push(z),oi(f[z])?P.indexOf(z)===-1&#038;&#038;a.push(aa(\"unused\",n,F)):a.push(aa(\"object\",n,F,f[z]))}else!oi(f)&#038;&#038;oi(v)?a.push(aa(\"object\",n,u,f)):!Ug(f)&#038;&#038;Ug(v)&#038;&#038;!m&#038;&#038;!y?a.push(aa(\"array\",n,u,f)):s in r?Fn.validate(f,h)?h.valType===\"enumerated\"&#038;&#038;(h.coerceNumber&#038;&#038;f!==+v||!Ug(f)&#038;&#038;f!==v||String(f)!==String(v))&#038;&#038;a.push(aa(\"dynamic\",n,u,f,v)):a.push(aa(\"value\",n,u,f)):a.push(aa(\"unused\",n,u,f))}return a}function DQ(e,r){for(var t=e.layout.layoutAttributes,a=0;a<r.length;a++){var n=r[a],i=e.traces[n.type],l=i.layoutAttributes;l&#038;&#038;(n.subplot?Fn.extendFlat(t[i.attributes.subplot.dflt],l):Fn.extendFlat(t,l))}return t}var EQ={object:function(e,r){var t;return e===\"layout\"&#038;&#038;r===\"\"?t=\"The layout argument\":e[0]===\"data\"&#038;&#038;r===\"\"?t=\"Trace \"+e[1]+\" in the data argument\":t=Go(e)+\"key \"+r,t+\" must be linked to an object container\"},array:function(e,r){var t;return e===\"data\"?t=\"The data argument\":t=Go(e)+\"key \"+r,t+\" must be linked to an array container\"},schema:function(e,r){return Go(e)+\"key \"+r+\" is not part of the schema\"},unused:function(e,r,t){var a=oi(t)?\"container\":\"key\";return Go(e)+a+\" \"+r+\" did not get coerced\"},dynamic:function(e,r,t,a){return[Go(e)+\"key\",r,\"(set to '\"+t+\"')\",\"got reset to\",\"'\"+a+\"'\",\"during defaults.\"].join(\" \")},invisible:function(e,r){return(r?Go(e)+\"item \"+r:\"Trace \"+e[1])+\" got defaulted to be not visible\"},value:function(e,r,t){return[Go(e)+\"key \"+r,\"is set to an invalid value (\"+t+\")\"].join(\" \")}};function Go(e){return Wo(e)?\"In data trace \"+e[1]+\", \":\"In \"+e+\", \"}function aa(e,r,t,a,n){t=t||\"\";var i,l;Wo(r)?(i=r[0],l=r[1]):(i=r,l=null);var o=NQ(t),s=EQ[e](r,o,a,n);return Fn.log(s),{code:e,container:i,trace:l,path:t,astr:o,msg:s}}function PQ(e,r){var t=_C(r),a=t.keyMinusId,n=t.id;return a in e&#038;&#038;e[a]._isSubplotObj&#038;&#038;n?!0:r in e}function RQ(e,r){if(r in e)return e[r];var t=_C(r);return e[t.keyMinusId]}var zQ=Fn.counterRegex(\"([a-z]+)\");function _C(e){var r=e.match(zQ);return{keyMinusId:r&#038;&#038;r[1],id:r&#038;&#038;r[2]}}function NQ(e){if(!Wo(e))return String(e);for(var r=\"\",t=0;t<e.length;t++){var a=e[t];typeof a==\"number\"?r=r.slice(0,-1)+\"[\"+a+\"]\":r+=a,t<e.length-1&#038;&#038;(r+=\".\")}return r}});var AC=K((mfe,MC)=>{\"use strict\";var FQ=Fe(),cd=Uo();function IQ(e,r,t){var a=document.createElement(\"a\"),n=\"download\"in a,i=new Promise(function(l,o){var s,u;if(n)return s=cd.createBlob(e,t),u=cd.createObjectURL(s),a.href=u,a.download=r,document.body.appendChild(a),a.click(),document.body.removeChild(a),cd.revokeObjectURL(u),s=null,l(r);if(FQ.isSafari()){var f=t===\"svg\"?\",\":\";base64,\";return cd.octetStream(f+encodeURIComponent(e)),l(r)}o(new Error(\"download error\"))});return i}MC.exports=IQ});var Vg=K((gfe,CC)=>{\"use strict\";var kC=Fe(),HQ=Yg(),OQ=AC(),yfe=Uo();function BQ(e,r){var t;return kC.isPlainObject(e)||(t=kC.getGraphDiv(e)),r=r||{},r.format=r.format||\"png\",r.width=r.width||null,r.height=r.height||null,r.imageDataOnly=!0,new Promise(function(a,n){t&&t._snapshotInProgress&&n(new Error(\"Snapshotting already in progress.\")),t&&(t._snapshotInProgress=!0);var i=HQ(e,r),l=r.filename||e.fn||\"newplot\";l+=\".\"+r.format.replace(\"-\",\".\"),i.then(function(o){return t&&(t._snapshotInProgress=!1),OQ(o,l,r.format)}).then(function(o){a(o)}).catch(function(o){t&&(t._snapshotInProgress=!1),n(o)})})}CC.exports=BQ});var EC=K(Gg=>{\"use strict\";var nn=Fe(),ln=nn.isPlainObject,SC=Hs(),LC=It(),YQ=Zn(),qC=ct(),DC=uo().dfltConfig;Gg.makeTemplate=function(e){e=nn.isPlainObject(e)?e:nn.getGraphDiv(e),e=nn.extendDeep({_context:DC},{data:e.data,layout:e.layout}),LC.supplyDefaults(e);var r=e.data||[],t=e.layout||{};t._basePlotModules=e._fullLayout._basePlotModules,t._modules=e._fullLayout._modules;var a={data:{},layout:{}};r.forEach(function(d){var m={};pc(d,m,VQ.bind(null,d));var y=nn.coerce(d,{},YQ,\"type\"),g=a.data[y];g||(g=a.data[y]=[]),g.push(m)}),pc(t,a.layout,UQ.bind(null,t)),delete a.layout.template;var n=t.template;if(ln(n)){var i=n.layout,l,o,s,u,f,v;ln(i)&&vd(i,a.layout);var h=n.data;if(ln(h)){for(o in a.data)if(s=h[o],Array.isArray(s)){for(f=a.data[o],v=f.length,u=s.length,l=0;l<v;l++)vd(s[l%u],f[l]);for(l=v;l<u;l++)f.push(nn.extendDeep({},s[l]))}for(o in h)o in a.data||(a.data[o]=nn.extendDeep([],h[o]))}}return a};function vd(e,r){e=nn.extendDeep({},e);var t=Object.keys(e).sort(),a,n;function i(f,v,h){if(ln(v)&#038;&#038;ln(f))vd(f,v);else if(Array.isArray(v)&#038;&#038;Array.isArray(f)){var d=qC.arrayTemplater({_template:e},h);for(n=0;n<v.length;n++){var m=v[n],y=d.newItem(m)._template;y&#038;&#038;vd(y,m)}var g=d.defaultItems();for(n=0;n<g.length;n++)v.push(g[n]._template);for(n=0;n<v.length;n++)delete v[n].templateitemname}}for(a=0;a<t.length;a++){var l=t[a],o=e[l];if(l in r?i(o,r[l],l):r[l]=o,hd(l)===l)for(var s in r){var u=hd(s);s!==u&#038;&#038;u===l&#038;&#038;!(s in e)&#038;&#038;i(o,r[s],l)}}}function hd(e){return e.replace(\/[0-9]+$\/,\"\")}function pc(e,r,t,a,n){var i=n&#038;&#038;t(n);for(var l in e){var o=e[l],s=In(e,l,a),u=In(e,l,n),f=t(u);if(!f){var v=hd(l);v!==l&#038;&#038;(u=In(e,v,n),f=t(u))}if(!(i&#038;&#038;i===f)&#038;&#038;!(!f||f._noTemplating||f.valType===\"data_array\"||f.arrayOk&#038;&#038;Array.isArray(o)))if(!f.valType&#038;&#038;ln(o))pc(o,r,t,s,u);else if(f._isLinkedToArray&#038;&#038;Array.isArray(o))for(var h=!1,d=0,m={},y=0;y<o.length;y++){var g=o[y];if(ln(g)){var _=g.name;if(_)m[_]||(pc(g,r,t,In(o,d,s),In(o,d,u)),d++,m[_]=1);else if(!h){var T=qC.arrayDefaultKey(l),w=In(e,T,a),b=In(o,d,s);pc(g,r,t,b,In(o,d,u));var M=nn.nestedProperty(r,b),S=nn.nestedProperty(r,w);S.set(M.get()),M.set(null),h=!0}}}else{var k=nn.nestedProperty(r,s);k.set(o)}}}function UQ(e,r){return SC.getLayoutValObject(e,nn.nestedProperty({},r).parts)}function VQ(e,r){return SC.getTraceValObject(e,nn.nestedProperty({},r).parts)}function In(e,r,t){var a;return t?Array.isArray(e)?a=t+\"[\"+r+\"]\":a=t+\".\"+r:a=r,a}Gg.validateTemplate=function(e,r){var t=nn.extendDeep({},{_context:DC,data:e.data,layout:e.layout}),a=t.layout||{};ln(r)||(r=a.template||{});var n=r.layout,i=r.data,l=[];t.layout=a,t.layout.template=r,LC.supplyDefaults(t);var o=t._fullLayout,s=t._fullData,u={};function f(w,b){for(var M in w)if(M.charAt(0)!==\"_\"&#038;&#038;ln(w[M])){var S=hd(M),k=[],q;for(q=0;q<b.length;q++)k.push(In(w,M,b[q])),S!==M&#038;&#038;k.push(In(w,S,b[q]));for(q=0;q<k.length;q++)u[k[q]]=1;f(w[M],k)}}function v(w,b){for(var M in w)if(M.indexOf(\"defaults\")===-1&#038;&#038;ln(w[M])){var S=In(w,M,b);u[S]?v(w[M],S):l.push({code:\"unused\",path:S})}}if(ln(n)?(f(o,[\"layout\"]),v(n,\"layout\")):l.push({code:\"layout\"}),!ln(i))l.push({code:\"data\"});else{for(var h={},d,m=0;m<s.length;m++){var y=s[m];d=y.type,h[d]=(h[d]||0)+1,y._fullInput._template||l.push({code:\"missing\",index:y.index,traceType:d})}for(d in i){var g=i[d].length,_=h[d]||0;g>_?l.push({code:\"unused\",traceType:d,templateCount:g,dataCount:_}):_>g&&l.push({code:\"reused\",traceType:d,templateCount:g,dataCount:_})}}function T(w,b){for(var M in w)if(M.charAt(0)!==\"_\"){var S=w[M],k=In(w,M,b);ln(S)?(Array.isArray(w)&&S._template===!1&&S.templateitemname&&l.push({code:\"missing\",path:k,templateitemname:S.templateitemname}),T(S,k)):Array.isArray(S)&&GQ(S)&&T(S,k)}}if(T({data:s,layout:o},\"\"),l.length)return l.map(WQ)};function GQ(e){for(var r=0;r<e.length;r++)if(ln(e[r]))return!0}function WQ(e){var r;switch(e.code){case\"data\":r=\"The template has no key data.\";break;case\"layout\":r=\"The template has no key layout.\";break;case\"missing\":e.path?r=\"There are no templates for item \"+e.path+\" with name \"+e.templateitemname:r=\"There are no templates for trace \"+e.index+\", of type \"+e.traceType+\".\";break;case\"unused\":e.path?r=\"The template item at \"+e.path+\" was not used in constructing the plot.\":e.dataCount?r=\"Some of the templates of type \"+e.traceType+\" were not used. The template has \"+e.templateCount+\" traces, the data only has \"+e.dataCount+\" of this type.\":r=\"The template has \"+e.templateCount+\" traces of type \"+e.traceType+\" but there are none in the data.\";break;case\"reused\":r=\"Some of the templates of type \"+e.traceType+\" were used more than once. The template has \"+e.templateCount+\" traces, the data has \"+e.dataCount+\" of this type.\";break}return e.msg=r,e}});var RC=K(yt=>{\"use strict\";var Jt=Ig();yt._doPlot=Jt._doPlot;yt.newPlot=Jt.newPlot;yt.restyle=Jt.restyle;yt.relayout=Jt.relayout;yt.redraw=Jt.redraw;yt.update=Jt.update;yt._guiRestyle=Jt._guiRestyle;yt._guiRelayout=Jt._guiRelayout;yt._guiUpdate=Jt._guiUpdate;yt._storeDirectGUIEdit=Jt._storeDirectGUIEdit;yt.react=Jt.react;yt.extendTraces=Jt.extendTraces;yt.prependTraces=Jt.prependTraces;yt.addTraces=Jt.addTraces;yt.deleteTraces=Jt.deleteTraces;yt.moveTraces=Jt.moveTraces;yt.purge=Jt.purge;yt.addFrames=Jt.addFrames;yt.deleteFrames=Jt.deleteFrames;yt.animate=Jt.animate;yt.setPlotConfig=Jt.setPlotConfig;var XQ=af().getGraphDiv,ZQ=Mh().eraseActiveShape;yt.deleteActiveShape=function(e){return ZQ(XQ(e))};yt.toImage=Yg();yt.validate=TC();yt.downloadImage=Vg();var PC=EC();yt.makeTemplate=PC.makeTemplate;yt.validateTemplate=PC.validateTemplate});var Xg=K((_fe,zC)=>{\"use strict\";var Wg=Fe(),JQ=br();zC.exports=function(r,t,a,n){var i=n(\"x\"),l=n(\"y\"),o,s=JQ.getComponentMethod(\"calendars\",\"handleTraceDefaults\");if(s(r,t,[\"x\",\"y\"],a),i){var u=Wg.minRowLength(i);l?o=Math.min(u,Wg.minRowLength(l)):(o=u,n(\"y0\"),n(\"dy\"))}else{if(!l)return 0;o=Wg.minRowLength(l),n(\"x0\"),n(\"dx\")}return t._length=o,o}});var Zg=K((wfe,IC)=>{\"use strict\";var NC=Fe().dateTick0,KQ=Gt(),QQ=KQ.ONEWEEK;function FC(e,r){return e%QQ===0?NC(r,1):NC(r,0)}IC.exports=function(r,t,a,n,i){if(i||(i={x:!0,y:!0}),i.x){var l=n(\"xperiod\");l&&(n(\"xperiod0\",FC(l,t.xcalendar)),n(\"xperiodalignment\"))}if(i.y){var o=n(\"yperiod\");o&&(n(\"yperiod0\",FC(o,t.ycalendar)),n(\"yperiodalignment\"))}}});var BC=K((Tfe,OC)=>{\"use strict\";var HC=[\"orientation\",\"groupnorm\",\"stackgaps\"];OC.exports=function(r,t,a,n){var i=a._scatterStackOpts,l=n(\"stackgroup\");if(l){var o=t.xaxis+t.yaxis,s=i[o];s||(s=i[o]={});var u=s[l],f=!1;u?u.traces.push(t):(u=s[l]={traceIndices:[],traces:[t]},f=!0);for(var v={orientation:t.x&&!t.y?\"h\":\"v\"},h=0;h<HC.length;h++){var d=HC[h],m=d+\"Found\";if(!u[m]){var y=r[d]!==void 0,g=d===\"orientation\";if((y||f)&#038;&#038;(u[d]=n(d,v[d]),g&#038;&#038;(u.fillDflt=u[d]===\"h\"?\"tonextx\":\"tonexty\"),y&#038;&#038;(u[m]=!0,!f&#038;&#038;(delete u.traces[0][d],g))))for(var _=0;_<u.traces.length-1;_++){var T=u.traces[_];T._input.fill!==T.fill&#038;&#038;(T.fill=u.fillDflt)}}}return u}}});var WC=K((Mfe,GC)=>{\"use strict\";var YC=Er(),UC=kn().hasColorscale,VC=Us(),$Q=un();GC.exports=function(r,t,a,n,i,l={}){var o=$Q.isBubble(r),s=(r.line||{}).color,u;if(s&&(a=s),i(\"marker.symbol\"),i(\"marker.opacity\",o?.7:1),i(\"marker.size\"),l.noAngle||(i(\"marker.angle\"),l.noAngleRef||i(\"marker.angleref\"),l.noStandOff||i(\"marker.standoff\")),i(\"marker.color\",a),UC(r,\"marker\")&&VC(r,t,n,i,{prefix:\"marker.\",cLetter:\"c\"}),l.noSelect||(i(\"selected.marker.color\"),i(\"unselected.marker.color\"),i(\"selected.marker.size\"),i(\"unselected.marker.size\")),l.noLine||(s&&!Array.isArray(s)&&t.marker.color!==s?u=s:o?u=YC.background:u=YC.defaultLine,i(\"marker.line.color\",u),UC(r,\"marker.line\")&&VC(r,t,n,i,{prefix:\"marker.line.\",cLetter:\"c\"}),i(\"marker.line.width\",o?1:0),l.noLineDash||i(\"marker.line.dash\")),o&&(i(\"marker.sizeref\"),i(\"marker.sizemin\"),i(\"marker.sizemode\")),l.gradient){var f=i(\"marker.gradient.type\");f!==\"none\"&&i(\"marker.gradient.color\")}}});var ZC=K((Afe,XC)=>{\"use strict\";var jQ=Fe().isArrayOrTypedArray,e$=kn().hasColorscale,r$=Us();XC.exports=function(r,t,a,n,i,l){l||(l={});var o=(r.marker||{}).color;if(o&&o._inputArray&&(o=o._inputArray),i(\"line.color\",a),e$(r,\"line\"))r$(r,t,n,i,{prefix:\"line.\",cLetter:\"c\"});else{var s=(jQ(o)?!1:o)||a;i(\"line.color\",s)}i(\"line.width\"),l.noDash||i(\"line.dash\"),l.backoff&&i(\"line.backoff\")}});var KC=K((kfe,JC)=>{\"use strict\";JC.exports=function(r,t,a){var n=a(\"line.shape\");n===\"spline\"&&a(\"line.smoothing\")}});var $C=K((Cfe,QC)=>{\"use strict\";var t$=Fe();QC.exports=function(e,r,t,a,n){n=n||{},a(\"textposition\"),t$.coerceFont(a,\"textfont\",n.font||t.font,n),n.noSelect||(a(\"selected.textfont.color\"),a(\"unselected.textfont.color\"))}});var rS=K((Sfe,eS)=>{\"use strict\";var dd=Er(),jC=Fe().isArrayOrTypedArray;function a$(e){for(var r=dd.interpolate(e[0][1],e[1][1],.5),t=2;t<e.length;t++){var a=dd.interpolate(e[t-1][1],e[t][1],.5);r=dd.interpolate(r,a,e[t-1][0]\/e[t][0])}return r}eS.exports=function(r,t,a,n,i){i||(i={});var l=!1;if(t.marker){var o=t.marker.color,s=(t.marker.line||{}).color;o&#038;&#038;!jC(o)?l=o:s&#038;&#038;!jC(s)&#038;&#038;(l=s)}var u;if(i.moduleHasFillgradient){var f=n(\"fillgradient.type\");if(f!==\"none\"){n(\"fillgradient.start\"),n(\"fillgradient.stop\");var v=n(\"fillgradient.colorscale\");v&#038;&#038;(u=a$(v))}}n(\"fillcolor\",dd.addOpacity((t.line||{}).color||l||u||a,.5))}});var iS=K((Lfe,nS)=>{\"use strict\";var tS=Fe(),n$=br(),i$=Yo(),l$=Yh(),du=un(),o$=Xg(),s$=Zg(),u$=BC(),f$=WC(),c$=ZC(),aS=KC(),v$=$C(),h$=rS(),d$=Fe().coercePattern;nS.exports=function(r,t,a,n){function i(d,m){return tS.coerce(r,t,i$,d,m)}var l=o$(r,t,n,i);if(l||(t.visible=!1),!!t.visible){s$(r,t,n,i),i(\"xhoverformat\"),i(\"yhoverformat\"),i(\"zorder\");var o=u$(r,t,n,i);n.scattermode===\"group\"&&t.orientation===void 0&&i(\"orientation\",\"v\");var s=!o&&l<l$.PTS_LINESONLY?\"lines+markers\":\"lines\";i(\"text\"),i(\"hovertext\"),i(\"mode\",s),du.hasMarkers(t)&#038;&#038;f$(r,t,a,n,i,{gradient:!0}),du.hasLines(t)&#038;&#038;(c$(r,t,a,n,i,{backoff:!0}),aS(r,t,i),i(\"connectgaps\"),i(\"line.simplify\")),du.hasText(t)&#038;&#038;(i(\"texttemplate\"),i(\"texttemplatefallback\"),v$(r,t,n,i));var u=[];(du.hasMarkers(t)||du.hasText(t))&#038;&#038;(i(\"cliponaxis\"),i(\"marker.maxdisplayed\"),u.push(\"points\")),i(\"fill\",o?o.fillDflt:\"none\"),t.fill!==\"none\"&#038;&#038;(h$(r,t,a,i,{moduleHasFillgradient:!0}),du.hasLines(t)||aS(r,t,i),d$(i,\"fillpattern\",t.fillcolor,!1));var f=(t.line||{}).color,v=(t.marker||{}).color;(t.fill===\"tonext\"||t.fill===\"toself\")&#038;&#038;u.push(\"fills\"),i(\"hoveron\",u.join(\"+\")||\"points\"),t.hoveron!==\"fills\"&#038;&#038;(i(\"hovertemplate\"),i(\"hovertemplatefallback\"));var h=n$.getComponentMethod(\"errorbars\",\"supplyDefaults\");h(r,t,f||v||a,{axis:\"y\"}),h(r,t,f||v||a,{axis:\"x\",inherit:\"y\"}),tS.coerceSelectionMarkerOpacity(t,i)}}});var Jg=K((qfe,lS)=>{\"use strict\";var p$=Bf().getAxisGroup;lS.exports=function(r,t,a,n,i){var l=t.orientation,o=t[{v:\"x\",h:\"y\"}[l]+\"axis\"],s=p$(a,o)+l,u=a._alignmentOpts||{},f=n(\"alignmentgroup\"),v=u[s];v||(v=u[s]={});var h=v[f];h?h.traces.push(t):h=v[f]={traces:[t],alignmentIndex:Object.keys(v).length,offsetGroups:{}};var d=n(\"offsetgroup\")||\"\",m=h.offsetGroups,y=m[d];t._offsetIndex=0,(i!==\"group\"||d)&&(y||(y=m[d]={offsetIndex:Object.keys(m).length}),t._offsetIndex=y.offsetIndex)}});var sS=K((Dfe,oS)=>{\"use strict\";var m$=Fe(),y$=Jg(),g$=Yo();oS.exports=function(r,t){var a,n,i,l=t.scattermode;function o(h){return m$.coerce(n._input,n,g$,h)}if(t.scattermode===\"group\")for(i=0;i<r.length;i++)n=r[i],n.type===\"scatter\"&#038;&#038;(a=n._input,y$(a,n,t,o,l));for(i=0;i<r.length;i++){var s=r[i];if(s.type===\"scatter\"){var u=s.fill;if(!(u===\"none\"||u===\"toself\")&#038;&#038;(s.opacity=void 0,u===\"tonexty\"||u===\"tonextx\"))for(var f=i-1;f>=0;f--){var v=r[f];if(v.type===\"scatter\"&&v.xaxis===s.xaxis&&v.yaxis===s.yaxis){v.opacity=void 0;break}}}}}});var fS=K((Efe,uS)=>{\"use strict\";var b$=Fe(),x$=l0();uS.exports=function(e,r){function t(n,i){return b$.coerce(e,r,x$,n,i)}var a=r.barmode===\"group\";r.scattermode===\"group\"&&t(\"scattergap\",a?r.bargap:.2)}});var Kg=K((Pfe,vS)=>{\"use strict\";var _$=Hr(),cS=Fe(),w$=cS.dateTime2ms,pd=cS.incrementMonth,T$=Gt(),M$=T$.ONEAVGMONTH;vS.exports=function(r,t,a,n){if(t.type!==\"date\")return{vals:n};var i=r[a+\"periodalignment\"];if(!i)return{vals:n};var l=r[a+\"period\"],o;if(_$(l)){if(l=+l,l<=0)return{vals:n}}else if(typeof l==\"string\"&#038;&#038;l.charAt(0)===\"M\"){var s=+l.substring(1);if(s>0&&Math.round(s)===s)o=s;else return{vals:n}}for(var u=t.calendar,f=i===\"start\",v=i===\"end\",h=r[a+\"period0\"],d=w$(h,u)||0,m=[],y=[],g=[],_=n.length,T=0;T<_;T++){var w=n[T],b,M,S;if(o){for(b=Math.round((w-d)\/(o*M$)),S=pd(d,o*b,u);S>w;)S=pd(S,-o,u);for(;S<=w;)S=pd(S,o,u);M=pd(S,-o,u)}else{for(b=Math.round((w-d)\/l),S=d+b*l;S>w;)S-=l;for(;S<=w;)S+=l;M=S-l}m[T]=f?M:v?S:(M+S)\/2,y[T]=M,g[T]=S}return{vals:m,starts:y,ends:g}}});var pS=K((Rfe,dS)=>{\"use strict\";var Qg=kn().hasColorscale,$g=g0(),hS=un();dS.exports=function(r,t){hS.hasLines(t)&&Qg(t,\"line\")&&$g(r,t,{vals:t.line.color,containerStr:\"line\",cLetter:\"c\"}),hS.hasMarkers(t)&&(Qg(t,\"marker\")&&$g(r,t,{vals:t.marker.color,containerStr:\"marker\",cLetter:\"c\"}),Qg(t,\"marker.line\")&&$g(r,t,{vals:t.marker.line.color,containerStr:\"marker.line\",cLetter:\"c\"}))}});var jg=K((zfe,mS)=>{\"use strict\";var Mt=Fe();mS.exports=function(r,t){for(var a=0;a<r.length;a++)r[a].i=a;Mt.mergeArray(t.text,r,\"tx\"),Mt.mergeArray(t.texttemplate,r,\"txt\"),Mt.mergeArray(t.hovertext,r,\"htx\"),Mt.mergeArray(t.customdata,r,\"data\"),Mt.mergeArray(t.textposition,r,\"tp\"),t.textfont&#038;&#038;(Mt.mergeArrayCastPositive(t.textfont.size,r,\"ts\"),Mt.mergeArray(t.textfont.color,r,\"tc\"),Mt.mergeArray(t.textfont.family,r,\"tf\"),Mt.mergeArray(t.textfont.weight,r,\"tw\"),Mt.mergeArray(t.textfont.style,r,\"ty\"),Mt.mergeArray(t.textfont.variant,r,\"tv\"),Mt.mergeArray(t.textfont.textcase,r,\"tC\"),Mt.mergeArray(t.textfont.lineposition,r,\"tE\"),Mt.mergeArray(t.textfont.shadow,r,\"tS\"));var n=t.marker;if(n){Mt.mergeArrayCastPositive(n.size,r,\"ms\"),Mt.mergeArrayCastPositive(n.opacity,r,\"mo\"),Mt.mergeArray(n.symbol,r,\"mx\"),Mt.mergeArray(n.angle,r,\"ma\"),Mt.mergeArray(n.standoff,r,\"mf\"),Mt.mergeArray(n.color,r,\"mc\");var i=n.line;n.line&#038;&#038;(Mt.mergeArray(i.color,r,\"mlc\"),Mt.mergeArrayCastPositive(i.width,r,\"mlw\"),Mt.mergeArray(i.dash,r,\"mld\"));var l=n.gradient;l&#038;&#038;l.type!==\"none\"&#038;&#038;(Mt.mergeArray(l.type,r,\"mgt\"),Mt.mergeArray(l.color,r,\"mgc\"))}}});var e2=K((Nfe,gS)=>{\"use strict\";var yS=Fe();gS.exports=function(r,t){yS.isArrayOrTypedArray(t.selectedpoints)&&yS.tagSelected(r,t)}});var i2=K((Ffe,AS)=>{\"use strict\";var bS=Hr(),t2=Fe(),mc=pt(),xS=Kg(),r2=Gt().BADNUM,a2=un(),A$=pS(),k$=jg(),C$=e2();function S$(e,r){var t=e._fullLayout,a=r._xA=mc.getFromId(e,r.xaxis||\"x\",\"x\"),n=r._yA=mc.getFromId(e,r.yaxis||\"y\",\"y\"),i=a.makeCalcdata(r,\"x\"),l=n.makeCalcdata(r,\"y\"),o=xS(r,a,\"x\",i),s=xS(r,n,\"y\",l),u=o.vals,f=s.vals,v=r._length,h=new Array(v),d=r.ids,m=n2(r,t,a,n),y=!1,g,_,T,w,b,M;TS(t,r);var S=\"x\",k=\"y\",q;if(m)t2.pushUnique(m.traceIndices,r.index),g=m.orientation===\"v\",g?(k=\"s\",q=\"x\"):(S=\"s\",q=\"y\"),b=m.stackgaps===\"interpolate\";else{var D=wS(r,v);_S(e,r,a,n,u,f,D)}var P=!!r.xperiodalignment,z=!!r.yperiodalignment;for(_=0;_<v;_++){var F=h[_]={},O=bS(u[_]),I=bS(f[_]);O&#038;&#038;I?(F[S]=u[_],F[k]=f[_],P&#038;&#038;(F.orig_x=i[_],F.xEnd=o.ends[_],F.xStart=o.starts[_]),z&#038;&#038;(F.orig_y=l[_],F.yEnd=s.ends[_],F.yStart=s.starts[_])):m&#038;&#038;(g?O:I)?(F[q]=g?u[_]:f[_],F.gap=!0,b?(F.s=r2,y=!0):F.s=0):F[S]=F[k]=r2,d&#038;&#038;(F.id=String(d[_]))}if(k$(h,r),A$(e,r),C$(h,r),m){for(_=0;_<h.length;)h[_][q]===r2?h.splice(_,1):_++;if(t2.sort(h,function(U,H){return U[q]-H[q]||U.i-H.i}),y){for(_=0;_<h.length-1&#038;&#038;h[_].gap;)_++;for(M=h[_].s,M||(M=h[_].s=0),T=0;T<_;T++)h[T].s=M;for(w=h.length-1;w>_&&h[w].gap;)w--;for(M=h[w].s,T=h.length-1;T>w;T--)h[T].s=M;for(;_<w;)if(_++,h[_].gap){for(T=_+1;h[T].gap;)T++;for(var V=h[_-1][q],J=h[_-1].s,G=(h[T].s-J)\/(h[T][q]-V);_<T;)h[_].s=J+(h[_][q]-V)*G,_++}}}return h}function _S(e,r,t,a,n,i,l){var o=r._length,s=e._fullLayout,u=t._id,f=a._id,v=s._firstScatter[MS(r)]===r.uid,h=(n2(r,s,t,a)||{}).orientation,d=r.fill;t._minDtick=0,a._minDtick=0;var m={padded:!0},y={padded:!0};l&#038;&#038;(m.ppad=y.ppad=l);var g=o<2||n[0]!==n[o-1]||i[0]!==i[o-1];g&#038;&#038;(d===\"tozerox\"||d===\"tonextx\"&#038;&#038;(v||h===\"h\"))?m.tozero=!0:!(r.error_y||{}).visible&#038;&#038;(d===\"tonexty\"||d===\"tozeroy\"||!a2.hasMarkers(r)&#038;&#038;!a2.hasText(r))&#038;&#038;(m.padded=!1,m.ppad=0),g&#038;&#038;(d===\"tozeroy\"||d===\"tonexty\"&#038;&#038;(v||h===\"v\"))?y.tozero=!0:(d===\"tonextx\"||d===\"tozerox\")&#038;&#038;(y.padded=!1),u&#038;&#038;(r._extremes[u]=mc.findExtremes(t,n,m)),f&#038;&#038;(r._extremes[f]=mc.findExtremes(a,i,y))}function wS(e,r){if(a2.hasMarkers(e)){var t=e.marker,a=1.6*(e.marker.sizeref||1),n;if(e.marker.sizemode===\"area\"?n=function(u){return Math.max(Math.sqrt((u||0)\/a),3)}:n=function(u){return Math.max((u||0)\/a,3)},t2.isArrayOrTypedArray(t.size)){var i={type:\"linear\"};mc.setConvert(i);for(var l=i.makeCalcdata(e.marker,\"size\"),o=new Array(r),s=0;s<r;s++)o[s]=n(l[s]);return o}else return n(t.size)}}function TS(e,r){var t=MS(r),a=e._firstScatter;a[t]||(a[t]=r.uid)}function MS(e){var r=e.stackgroup;return e.xaxis+e.yaxis+e.type+(r?\"-\"+r:\"\")}function n2(e,r,t,a){var n=e.stackgroup;if(n){var i=r._scatterStackOpts[t._id+a._id][n],l=i.orientation===\"v\"?a:t;if(l.type===\"linear\"||l.type===\"log\")return i}}AS.exports={calc:S$,calcMarkerSize:wS,calcAxisExpansion:_S,setFirstScatter:TS,getStackOpts:n2}});var CS=K((Ife,kS)=>{\"use strict\";kS.exports=md;var L$=Fe().distinctVals;function md(e,r){this.traces=e,this.sepNegVal=r.sepNegVal,this.overlapNoMerge=r.overlapNoMerge;for(var t=1\/0,a=r.posAxis._id.charAt(0),n=[],i=0;i<e.length;i++){for(var l=e[i],o=0;o<l.length;o++){var s=l[o],u=s.p;u===void 0&#038;&#038;(u=s[a]),u!==void 0&#038;&#038;n.push(u)}l[0]&#038;&#038;l[0].width1&#038;&#038;(t=Math.min(l[0].width1,t))}this.positions=n;var f=L$(n);this.distinctPositions=f.vals,f.vals.length===1&#038;&#038;t!==1\/0?this.minDiff=t:this.minDiff=Math.min(f.minDiff,t);var v=(r.posAxis||{}).type;(v===\"category\"||v===\"multicategory\")&#038;&#038;(this.minDiff=1),this.binWidth=this.minDiff,this.bins={}}md.prototype.put=function(r,t,a){var n=this.getLabel(r,t,a),i=this.bins[n]||0;return this.bins[n]=i+a,i};md.prototype.get=function(r,t,a){var n=this.getLabel(r,t,a);return this.bins[n]||0};md.prototype.getLabel=function(r,t,a){var n=a<0&#038;&#038;this.sepNegVal?\"v\":\"^\",i=this.overlapNoMerge?r:Math.round(r\/this.binWidth);return n+i+\"g\"+t}});var yc=K((Hfe,SS)=>{\"use strict\";SS.exports={TEXTPAD:3,eventDataKeys:[\"value\",\"label\"]}});var c2=K((Ofe,ES)=>{\"use strict\";var Hn=Hr(),{isArrayOrTypedArray:rl}=Fe(),{BADNUM:pu}=Gt(),q$=br(),gc=pt(),{getAxisGroup:D$}=Bf(),yd=CS(),{TEXTPAD:E$}=yc(),{LINE_SPACING:P$}=Aa(),{BR_TAG_ALL:R$}=ba();function z$(e,r){for(var t=r.xaxis,a=r.yaxis,n=e._fullLayout,i=e._fullData,l=e.calcdata,o=[],s=[],u=0;u<i.length;u++){var f=i[u];if(f.visible===!0&#038;&#038;q$.traceIs(f,\"bar\")&#038;&#038;f.xaxis===t._id&#038;&#038;f.yaxis===a._id&#038;&#038;(f.orientation===\"h\"?o.push(l[u]):s.push(l[u]),f._computePh))for(var v=e.calcdata[u],h=0;h<v.length;h++)typeof v[h].ph0==\"function\"&#038;&#038;(v[h].ph0=v[h].ph0()),typeof v[h].ph1==\"function\"&#038;&#038;(v[h].ph1=v[h].ph1())}var d={xCat:t.type===\"category\"||t.type===\"multicategory\",yCat:a.type===\"category\"||a.type===\"multicategory\",mode:n.barmode,norm:n.barnorm,gap:n.bargap,groupgap:n.bargroupgap};o2(e,t,a,s,d),o2(e,a,t,o,d)}function o2(e,r,t,a,n){if(a.length){var i,l,o,s,u;switch(I$(t,a),n.mode){case\"overlay\":l2(e,r,t,a,n);break;case\"group\":for(i=[],l=[],o=0;o<a.length;o++)s=a[o],u=s[0].trace,u.offset===void 0?l.push(s):i.push(s);l.length&#038;&#038;H$(e,r,t,l,n),i.length&#038;&#038;l2(e,r,t,i,n);break;case\"stack\":case\"relative\":for(i=[],l=[],o=0;o<a.length;o++)s=a[o],u=s[0].trace,u.base===void 0?l.push(s):i.push(s);F$(l),l.length&#038;&#038;O$(e,r,t,l,n),i.length&#038;&#038;l2(e,r,t,i,n);break}N$(a),W$(a,r)}}function N$(e){var r,t,a,n,i,l,o;for(r=0;r<e.length;r++)t=e[r],a=t[0].trace,n=t[0].t,n.cornerradiusvalue===void 0&#038;&#038;(i=a.marker?a.marker.cornerradius:void 0,i!==void 0&#038;&#038;(l=Hn(i)?+i:+i.slice(0,-1),o=Hn(i)?\"px\":\"%\",n.cornerradiusvalue=l,n.cornerradiusform=o))}function F$(e){if(!(e.length<2)){var r,t,a,n,i,l,o;for(r=0;r<e.length&#038;&#038;(t=e[r],a=t[0].trace,i=a.marker?a.marker.cornerradius:void 0,i===void 0);r++);if(i!==void 0)for(l=Hn(i)?+i:+i.slice(0,-1),o=Hn(i)?\"px\":\"%\",r=0;r<e.length;r++)t=e[r],n=t[0].t,n.cornerradiusvalue=l,n.cornerradiusform=o}}function I$(e,r){var t,a;for(t=0;t<r.length;t++){var n=r[t],i=n[0].trace,l=i.type===\"funnel\"?i._base:i.base,o,s=i.orientation===\"h\"?i.xcalendar:i.ycalendar,u=e.type===\"category\"||e.type===\"multicategory\"?function(){return null}:e.d2c;if(rl(l)){for(a=0;a<Math.min(l.length,n.length);a++)o=u(l[a],0,s),Hn(o)?(n[a].b=+o,n[a].hasB=1):n[a].b=0;for(;a<n.length;a++)n[a].b=0}else{o=u(l,0,s);var f=Hn(o);for(o=f?o:0,a=0;a<n.length;a++)n[a].b=o,f&#038;&#038;(n[a].hasB=1)}}}function l2(e,r,t,a,n){for(var i=0;i<a.length;i++){var l=a[i],o=new yd([l],{posAxis:r,sepNegVal:!1,overlapNoMerge:!n.norm});s2(e,r,o,n),n.norm?(DS(o),u2(t,o,n)):qS(t,o)}}function H$(e,r,t,a,n){var i=new yd(a,{posAxis:r,sepNegVal:!1,overlapNoMerge:!n.norm});s2(e,r,i,n),V$(i,r),n.norm?(DS(i),u2(t,i,n)):qS(t,i)}function O$(e,r,t,a,n){var i=new yd(a,{posAxis:r,sepNegVal:n.mode===\"relative\",overlapNoMerge:!(n.norm||n.mode===\"stack\"||n.mode===\"relative\")});s2(e,r,i,n),U$(t,i,n);for(var l=0;l<a.length;l++)for(var o=a[l],s=o[0].t.offsetindex,u=0;u<o.length;u++){var f=o[u];if(f.s!==pu){var v=f.b+f.s===i.get(f.p,s,f.s);v&#038;&#038;(f._outmost=!0)}}n.norm&#038;&#038;u2(t,i,n)}function s2(e,r,t,a){var n=e._fullLayout,i=t.positions,l=t.distinctPositions,o=t.minDiff,s=t.traces,u=s.length,f=i.length!==l.length,v=o*(1-a.gap),h,d,m,y;if(r._id===\"angularaxis\")h=v,d=h*(1-(a.groupgap||0)),m=-d\/2;else{var g=D$(n,r._id)+s[0][0].trace.orientation;y=n._alignmentOpts[g]||{}}for(var _=0;_<u;_++){var T=s[_],w=T[0].trace;if(r._id!==\"angularaxis\"){var b=y[w.alignmentgroup]||{},M=Object.keys(b.offsetGroups||{}).length;M?h=v\/M:h=f?v\/u:v,d=h*(1-(a.groupgap||0)),M?m=((2*w._offsetIndex+1-M)*h-d)\/2:m=f?((2*_+1-u)*h-d)\/2:-d\/2}var S=T[0].t;S.barwidth=d,S.offsetindex=w._offsetIndex||0,S.poffset=m,S.bargroupwidth=v,S.bardelta=o}t.binWidth=s[0][0].t.barwidth\/100,B$(t),Y$(r,t),r._id===\"angularaxis\"?LS(r,t):LS(r,t,f)}function B$(e){var r=e.traces,t,a;for(t=0;t<r.length;t++){var n=r[t],i=n[0],l=i.trace,o=i.t,s=l._offset||l.offset,u=o.poffset,f;if(rl(s)){for(f=Array.prototype.slice.call(s,0,n.length),a=0;a<f.length;a++)Hn(f[a])||(f[a]=u);for(a=f.length;a<n.length;a++)f.push(u);o.poffset=f}else s!==void 0&#038;&#038;(o.poffset=s);var v=l._width||l.width,h=o.barwidth;if(rl(v)){var d=Array.prototype.slice.call(v,0,n.length);for(a=0;a<d.length;a++)Hn(d[a])||(d[a]=h);for(a=d.length;a<n.length;a++)d.push(h);if(o.barwidth=d,s===void 0){for(f=[],a=0;a<n.length;a++)f.push(u+(h-d[a])\/2);o.poffset=f}}else v!==void 0&#038;&#038;(o.barwidth=v,s===void 0&#038;&#038;(o.poffset=u+(h-v)\/2))}}function Y$(e,r){for(var t=r.traces,a=mu(e),n=0;n<t.length;n++)for(var i=t[n],l=i[0].t,o=l.poffset,s=rl(o),u=l.barwidth,f=rl(u),v=0;v<i.length;v++){var h=i[v],d=h.w=f?u[v]:u;h.p===void 0&#038;&#038;(h.p=h[a],h[\"orig_\"+a]=h[a]);var m=(s?o[v]:o)+d\/2;h[a]=h.p+m}}function LS(e,r,t){var a=r.traces,n=r.minDiff,i=n\/2;gc.minDtick(e,r.minDiff,r.distinctPositions[0],t);for(var l=0;l<a.length;l++){var o=a[l],s=o[0],u=s.trace,f=[],v,h,d,m;for(m=0;m<o.length;m++)v=o[m],h=v.p-i,d=v.p+i,f.push(h,d);if(u.width||u.offset){var y=s.t,g=y.poffset,_=y.barwidth,T=rl(g),w=rl(_);for(m=0;m<o.length;m++){v=o[m];var b=T?g[m]:g,M=w?_[m]:_;h=v.p+b,d=h+M,f.push(h,d)}}u._extremes[e._id]=gc.findExtremes(e,f,{padded:!1})}}function qS(e,r){for(var t=r.traces,a=mu(e),n=0;n<t.length;n++){for(var i=t[n],l=i[0].trace,o=l.type===\"scatter\",s=l.orientation===\"v\",u=[],f=!1,v=0;v<i.length;v++){var h=i[v],d=o?0:h.b,m=o?s?h.y:h.x:d+h.s;h[a]=m,u.push(m),h.hasB&#038;&#038;u.push(d),(!h.hasB||!h.b)&#038;&#038;(f=!0)}let{ppadminus:y,ppadplus:g}=f2(l,i);l._extremes[e._id]=gc.findExtremes(e,u,{tozero:f,padded:!0,ppadplus:g,ppadminus:y})}}function U$(e,r,t){var a=mu(e),n=r.traces,i,l,o,s,u,f,v;for(s=0;s<n.length;s++)if(i=n[s],l=i[0].trace,l.type===\"funnel\")for(v=i[0].t.offsetindex,u=0;u<i.length;u++)f=i[u],f.s!==pu&#038;&#038;r.put(f.p,v,-.5*f.s);for(s=0;s<n.length;s++){i=n[s],l=i[0].trace,o=l.type===\"funnel\",v=l.type===\"barpolar\"?0:i[0].t.offsetindex;var h=[];for(u=0;u<i.length;u++)if(f=i[u],f.s!==pu){var d;o?d=f.s:d=f.s+f.b;var m=r.put(f.p,v,d),y=m+d;f.b=m,f[a]=y,t.norm||(h.push(y),f.hasB&#038;&#038;h.push(m))}if(!t.norm){let{ppadminus:g,ppadplus:_}=f2(l,i);l._extremes[e._id]=gc.findExtremes(e,h,{tozero:!0,padded:!0,ppadplus:_,ppadminus:g})}}}function DS(e){for(var r=e.traces,t=0;t<r.length;t++)for(var a=r[t],n=a[0].t.offsetindex,i=0;i<a.length;i++){var l=a[i];l.s!==pu&#038;&#038;e.put(l.p,n,l.b+l.s)}}function V$(e,r){for(var t=e.traces,a=0;a<t.length;a++){var n=t[a],i=n[0].trace,l=n[0].t.offsetindex;if(i.base===void 0)for(var o=new yd([n],{posAxis:r,sepNegVal:!0,overlapNoMerge:!0}),s=0;s<n.length;s++){var u=n[s];if(u.p!==pu){var f=o.put(u.p,l,u.b+u.s);f&#038;&#038;(u.b=f)}}}}function u2(e,r,t){var a=r.traces,n=mu(e),i=t.norm===\"fraction\"?1:100,l=i\/1e9,o=e.l2c(e.c2l(0)),s=t.mode===\"stack\"?i:o;function u(S){return Hn(e.c2l(S))&#038;&#038;(S<o-l||S>s+l||!Hn(o))}for(var f=0;f<a.length;f++){for(var v=a[f],h=v[0].t.offsetindex,d=v[0].trace,m=[],y=!1,g=!1,_=0;_<v.length;_++){var T=v[_];if(T.s!==pu){var w=Math.abs(i\/r.get(T.p,h,T.s));T.b*=w,T.s*=w;var b=T.b,M=b+T.s;T[n]=M,m.push(M),g=g||u(M),T.hasB&#038;&#038;(m.push(b),g=g||u(b)),(!T.hasB||!T.b)&#038;&#038;(y=!0)}}let{ppadminus:S,ppadplus:k}=f2(d,v);d._extremes[e._id]=gc.findExtremes(e,m,{tozero:y,padded:g,ppadplus:k,ppadminus:S})}}function f2(e,r){if(e.orientation===\"v\"&#038;&#038;(e.text||e.texttemplate)&#038;&#038;e.textposition===\"outside\"&#038;&#038;(e.textangle===\"auto\"||e.textangle===0)){let a=function(i){return!i||typeof i!=\"string\"?0:(i.match(R$)||[]).length+1};var t;e.texttemplate?t=a(e.texttemplate):t=rl(e.text)?Math.max(...e.text.map(i=>a(i))):a(e.text);let n=e.outsidetextfont.size*P$*t+E$;return{ppadplus:r.some(i=>i.s<0)?n:0,ppadminus:r.some(i=>i.s>=0)?n:0}}return{ppadplus:void 0,ppadminus:void 0}}function G$(e,r,t,a){for(var n=mu(a),i=0;i<e.length;i++)for(var l=e[i],o=0;o<l.length;o++){var s=l[o],u=s[n];s._sMin=r[u],s._sMax=t[u]}}function W$(e,r){var t=mu(r),a={},n,i,l,o=1\/0,s=-1\/0;for(n=0;n<e.length;n++)for(l=e[n],i=0;i<l.length;i++){var u=l[i].p;Hn(u)&#038;&#038;(o=Math.min(o,u),s=Math.max(s,u))}var f=1e4\/(s-o),v=a.round=function(q){return String(Math.round(f*(q-o)))},h={},d={},m=e.some(function(q){var D=q[0].trace;return\"marker\"in D&#038;&#038;D.marker.cornerradius});for(n=0;n<e.length;n++){l=e[n],l[0].t.extents=a;var y=l[0].t.poffset,g=rl(y);for(i=0;i<l.length;i++){var _=l[i],T=_[t]-_.w\/2;if(Hn(T)){var w=_[t]+_.w\/2,b=v(_.p);a[b]?a[b]=[Math.min(T,a[b][0]),Math.max(w,a[b][1])]:a[b]=[T,w]}if(_.p0=_.p+(g?y[i]:y),_.p1=_.p0+_.w,_.s0=_.b,_.s1=_.s0+_.s,m){var M=Math.min(_.s0,_.s1)||0,S=Math.max(_.s0,_.s1)||0,k=_[t];h[k]=k in h?Math.min(h[k],M):M,d[k]=k in d?Math.max(d[k],S):S}}}m&#038;&#038;G$(e,h,d,r)}function mu(e){return e._id.charAt(0)}ES.exports={crossTraceCalc:z$,setGroupPositions:o2}});var NS=K((Bfe,zS)=>{\"use strict\";var PS=i2(),RS=c2().setGroupPositions;function X$(e,r){for(var t=r.xaxis,a=r.yaxis,n=e._fullLayout,i=e._fullData,l=e.calcdata,o=[],s=[],u=0;u<i.length;u++){var f=i[u];f.visible===!0&#038;&#038;f.type===\"scatter\"&#038;&#038;f.xaxis===t._id&#038;&#038;f.yaxis===a._id&#038;&#038;(f.orientation===\"h\"?o.push(l[u]):f.orientation===\"v\"&#038;&#038;s.push(l[u]))}var v={mode:n.scattermode,gap:n.scattergap};RS(e,t,a,s,v),RS(e,a,t,o,v)}zS.exports=function(r,t){r._fullLayout.scattermode===\"group\"&#038;&#038;X$(r,t);var a=t.xaxis,n=t.yaxis,i=a._id+n._id,l=r._fullLayout._scatterStackOpts[i];if(l){var o=r.calcdata,s,u,f,v,h,d,m,y,g,_,T,w,b,M,S;for(var k in l){_=l[k];var q=_.traceIndices;if(q.length){for(T=_.stackgaps===\"interpolate\",w=_.groupnorm,_.orientation===\"v\"?(b=\"x\",M=\"y\"):(b=\"y\",M=\"x\"),S=new Array(q.length),s=0;s<S.length;s++)S[s]=!1;d=o[q[0]];var D=new Array(d.length);for(s=0;s<d.length;s++)D[s]=d[s][b];for(s=1;s<q.length;s++){for(h=o[q[s]],u=f=0;u<h.length;u++){for(m=h[u][b];m>D[f]&&f<D.length;f++)v2(h,u,D[f],s,S,T,b),u++;if(m!==D[f]){for(v=0;v<s;v++)v2(o[q[v]],f,m,v,S,T,b);D.splice(f,0,m)}f++}for(;f<D.length;f++)v2(h,u,D[f],s,S,T,b),u++}var P=D.length;for(u=0;u<d.length;u++){for(y=d[u][M]=d[u].s,s=1;s<q.length;s++)h=o[q[s]],h[0].trace._rawLength=h[0].trace._length,h[0].trace._length=P,y+=h[u].s,h[u][M]=y;if(w)for(g=(w===\"fraction\"?y:y\/100)||1,s=0;s<q.length;s++){var z=o[q[s]][u];z[M]\/=g,z.sNorm=z.s\/g}}for(s=0;s<q.length;s++){h=o[q[s]];var F=h[0].trace,O=PS.calcMarkerSize(F,F._rawLength),I=Array.isArray(O);if(O&#038;&#038;S[s]||I){var V=O;for(O=new Array(P),u=0;u<P;u++)O[u]=h[u].gap?0:I?V[h[u].i]:V}var J=new Array(P),G=new Array(P);for(u=0;u<P;u++)J[u]=h[u].x,G[u]=h[u].y;PS.calcAxisExpansion(r,F,a,n,J,G,O),h[0].t.orientation=_.orientation}}}}};function v2(e,r,t,a,n,i,l){n[a]=!0;var o={i:null,gap:!0,s:0};if(o[l]=t,e.splice(r,0,o),r&#038;&#038;t===e[r-1][l]){var s=e[r-1];o.s=s.s,o.i=s.i,o.gap=s.gap}else i&#038;&#038;(o.s=Z$(e,r,t,l));r||(e[0].t=e[1].t,e[0].trace=e[1].trace,delete e[1].t,delete e[1].trace)}function Z$(e,r,t,a){var n=e[r-1],i=e[r+1];return i?n?n.s+(i.s-n.s)*(t-n[a])\/(i[a]-n[a]):i.s:n.s}});var US=K((Yfe,YS)=>{\"use strict\";var J$=tt(),OS=Gt(),bc=OS.BADNUM,BS=OS.LOG_CLIP,FS=BS+.5,IS=BS-.5,gd=Fe(),K$=gd.segmentsIntersect,HS=gd.constrain,h2=Yh();YS.exports=function(r,t){var a=t.trace||{},n=t.xaxis,i=t.yaxis,l=n.type===\"log\",o=i.type===\"log\",s=n._length,u=i._length,f=t.backoff,v=a.marker,h=t.connectGaps,d=t.baseTolerance,m=t.shape,y=m===\"linear\",g=a.fill&&a.fill!==\"none\",_=[],T=h2.minTolerance,w=r.length,b=new Array(w),M=0,S,k,q,D,P,z,F,O,I,V,J,G,U,H,Q,Z;function ne(Ne){var ae=r[Ne];if(!ae)return!1;var oe=t.linearized?n.l2p(ae.x):n.c2p(ae.x),qe=t.linearized?i.l2p(ae.y):i.c2p(ae.y);if(oe===bc){if(l&&(oe=n.c2p(ae.x,!0)),oe===bc)return!1;o&&qe===bc&&(oe*=Math.abs(n._m*u*(n._m>0?FS:IS)\/(i._m*s*(i._m>0?FS:IS)))),oe*=1e3}if(qe===bc){if(o&&(qe=i.c2p(ae.y,!0)),qe===bc)return!1;qe*=1e3}return[oe,qe]}function ce(Ne,ae,oe,qe){var Pe=oe-Ne,$e=qe-ae,cr=.5-Ne,sr=.5-ae,Mr=Pe*Pe+$e*$e,Ir=Pe*cr+$e*sr;if(Ir>0&&Ir<Mr){var Jr=cr*$e-sr*Pe;if(Jr*Jr<Mr)return!0}}var ye,Ce;function re(Ne,ae){var oe=Ne[0]\/s,qe=Ne[1]\/u,Pe=Math.max(0,-oe,oe-1,-qe,qe-1);return Pe&#038;&#038;ye!==void 0&#038;&#038;ce(oe,qe,ye,Ce)&#038;&#038;(Pe=0),Pe&#038;&#038;ae&#038;&#038;ce(oe,qe,ae[0]\/s,ae[1]\/u)&#038;&#038;(Pe=0),(1+h2.toleranceGrowth*Pe)*d}function Se(Ne,ae){var oe=Ne[0]-ae[0],qe=Ne[1]-ae[1];return Math.sqrt(oe*oe+qe*qe)}var pe=h2.maxScreensAway,be=-s*pe,Ae=s*(1+pe),ge=-u*pe,B=u*(1+pe),$=[[be,ge,Ae,ge],[Ae,ge,Ae,B],[Ae,B,be,B],[be,B,be,ge]],Y,le,he,me,Re,Ee;function Le(Ne,ae){for(var oe=[],qe=0,Pe=0;Pe<4;Pe++){var $e=$[Pe],cr=K$(Ne[0],Ne[1],ae[0],ae[1],$e[0],$e[1],$e[2],$e[3]);cr&#038;&#038;(!qe||Math.abs(cr.x-oe[0][0])>1||Math.abs(cr.y-oe[0][1])>1)&&(cr=[cr.x,cr.y],qe&&Se(cr,Ne)<Se(oe[0],Ne)?oe.unshift(cr):oe.push(cr),qe++)}return oe}function Ve(Ne){if(Ne[0]<be||Ne[0]>Ae||Ne[1]<ge||Ne[1]>B)return[HS(Ne[0],be,Ae),HS(Ne[1],ge,B)]}function Ie(Ne,ae){if(Ne[0]===ae[0]&&(Ne[0]===be||Ne[0]===Ae)||Ne[1]===ae[1]&&(Ne[1]===ge||Ne[1]===B))return!0}function Xe(Ne,ae){var oe=[],qe=Ve(Ne),Pe=Ve(ae);return qe&&Pe&&Ie(qe,Pe)||(qe&&oe.push(qe),Pe&&oe.push(Pe)),oe}function De(Ne,ae,oe){return function(qe,Pe){var $e=Ve(qe),cr=Ve(Pe),sr=[];if($e&&cr&&Ie($e,cr))return sr;$e&&sr.push($e),cr&&sr.push(cr);var Mr=2*gd.constrain((qe[Ne]+Pe[Ne])\/2,ae,oe)-(($e||qe)[Ne]+(cr||Pe)[Ne]);if(Mr){var Ir;$e&&cr?Ir=Mr>0==$e[Ne]>cr[Ne]?$e:cr:Ir=$e||cr,Ir[Ne]+=Mr}return sr}}var He;m===\"linear\"||m===\"spline\"?He=Le:m===\"hv\"||m===\"vh\"?He=Xe:m===\"hvh\"?He=De(0,be,Ae):m===\"vhv\"&&(He=De(1,ge,B));function We(Ne,ae){var oe=ae[0]-Ne[0],qe=(ae[1]-Ne[1])\/oe,Pe=(Ne[1]*ae[0]-ae[1]*Ne[0])\/oe;return Pe>0?[qe>0?be:Ae,B]:[qe>0?Ae:be,ge]}function ie(Ne){var ae=Ne[0],oe=Ne[1],qe=ae===b[M-1][0],Pe=oe===b[M-1][1];if(!(qe&&Pe))if(M>1){var $e=ae===b[M-2][0],cr=oe===b[M-2][1];qe&&(ae===be||ae===Ae)&&$e?cr?M--:b[M-1]=Ne:Pe&&(oe===ge||oe===B)&&cr?$e?M--:b[M-1]=Ne:b[M++]=Ne}else b[M++]=Ne}function xe(Ne){b[M-1][0]!==Ne[0]&&b[M-1][1]!==Ne[1]&&ie([he,me]),ie(Ne),Re=null,he=me=0}var Ke=gd.isArrayOrTypedArray(v);function hr(Ne){if(Ne&&f&&(Ne.i=S,Ne.d=r,Ne.trace=a,Ne.marker=Ke?v[Ne.i]:v,Ne.backoff=f),ye=Ne[0]\/s,Ce=Ne[1]\/u,Y=Ne[0]<be?be:Ne[0]>Ae?Ae:0,le=Ne[1]<ge?ge:Ne[1]>B?B:0,Y||le){if(!M)b[M++]=[Y||Ne[0],le||Ne[1]];else if(Re){var ae=He(Re,Ne);ae.length>1&&(xe(ae[0]),b[M++]=ae[1])}else Ee=He(b[M-1],Ne)[0],b[M++]=Ee;var oe=b[M-1];Y&&le&&(oe[0]!==Y||oe[1]!==le)?(Re&&(he!==Y&&me!==le?ie(he&&me?We(Re,Ne):[he||Y,me||le]):he&&me&&ie([he,me])),ie([Y,le])):he-Y&&me-le&&ie([Y||he,le||me]),Re=Ne,he=Y,me=le}else Re&&xe(He(Re,Ne)[0]),b[M++]=Ne}for(S=0;S<w;S++)if(k=ne(S),!!k){for(M=0,Re=null,hr(k),S++;S<w;S++){if(D=ne(S),!D){if(h)continue;break}if(!y||!t.simplify){hr(D);continue}var ze=ne(S+1);if(V=Se(D,k),!(!(g&#038;&#038;(M===0||M===w-1))&#038;&#038;V<re(D,ze)*T)){for(O=[(D[0]-k[0])\/V,(D[1]-k[1])\/V],P=k,J=V,G=H=Q=0,F=!1,q=D,S++;S<r.length;S++){if(z=ze,ze=ne(S+1),!z){if(h)continue;break}if(I=[z[0]-k[0],z[1]-k[1]],Z=I[0]*O[1]-I[1]*O[0],H=Math.min(H,Z),Q=Math.max(Q,Z),Q-H>re(z,ze))break;q=z,U=I[0]*O[0]+I[1]*O[1],U>J?(J=U,D=z,F=!1):U<G&#038;&#038;(G=U,P=z,F=!0)}if(F?(hr(D),q!==P&#038;&#038;hr(P)):(P!==k&#038;&#038;hr(P),q!==D&#038;&#038;hr(D)),hr(q),S>=r.length||!z)break;hr(z),k=z}}Re&&ie([he||Re[0],me||Re[1]]),_.push(b.slice(0,M))}var Me=m.slice(m.length-1);if(f&&Me!==\"h\"&&Me!==\"v\"){for(var ke=!1,Oe=-1,Ze=[],Ue=0;Ue<_.length;Ue++)for(var Ge=0;Ge<_[Ue].length-1;Ge++){var ir=_[Ue][Ge],ar=_[Ue][Ge+1],er=J$.applyBackoff(ar,ir);(er[0]!==ar[0]||er[1]!==ar[1])&#038;&#038;(ke=!0),Ze[Oe+1]||(Oe++,Ze[Oe]=[ir,[er[0],er[1]]])}return ke?Ze:_}return _}});var WS=K((Ufe,GS)=>{\"use strict\";var VS={tonextx:1,tonexty:1,tonext:1};GS.exports=function(r,t,a){var n,i,l,o,s,u={},f=!1,v=-1,h=0,d=-1;for(i=0;i<a.length;i++)n=a[i][0].trace,l=n.stackgroup||\"\",l?l in u?s=u[l]:(s=u[l]=h,h++):n.fill in VS&#038;&#038;d>=0?s=d:(s=d=h,h++),s<v&#038;&#038;(f=!0),n._groupIndex=v=s;var m=a.slice();f&#038;&#038;m.sort(function(g,_){var T=g[0].trace,w=_[0].trace;return T._groupIndex-w._groupIndex||T.index-w.index});var y={};for(i=0;i<m.length;i++)n=m[i][0].trace,l=n.stackgroup||\"\",n.visible===!0?(n._nexttrace=null,n.fill in VS&#038;&#038;(o=y[l],n._prevtrace=o||null,o&#038;&#038;(o._nexttrace=n)),n._ownfill=n.fill&#038;&#038;(n.fill.slice(0,6)===\"tozero\"||n.fill===\"toself\"||n.fill.slice(0,2)===\"to\"&#038;&#038;!n._prevtrace),y[l]=n):n._prevtrace=n._nexttrace=n._ownfill=null;return m}});var KS=K((Vfe,JS)=>{\"use strict\";var si=zr(),Q$=br(),xc=Fe(),yu=xc.ensureSingle,ZS=xc.identity,kt=tt(),gu=un(),$$=US(),j$=WS(),bd=sg().tester;JS.exports=function(r,t,a,n,i,l){var o,s,u=!i,f=!!i&&i.duration>0,v=j$(r,t,a);if(o=n.selectAll(\"g.trace\").data(v,function(d){return d[0].trace.uid}),o.enter().append(\"g\").attr(\"class\",function(d){return\"trace scatter trace\"+d[0].trace.uid}).style(\"stroke-miterlimit\",2),o.order(),ej(r,o,t),f){l&&(s=l());var h=si.transition().duration(i.duration).ease(i.easing).each(\"end\",function(){s&&s()}).each(\"interrupt\",function(){s&&s()});h.each(function(){n.selectAll(\"g.trace\").each(function(d,m){XS(r,m,t,d,v,this,i)})})}else o.each(function(d,m){XS(r,m,t,d,v,this,i)});u&&o.exit().remove(),n.selectAll(\"path:not([d])\").remove()};function ej(e,r,t){r.each(function(a){var n=yu(si.select(this),\"g\",\"fills\");kt.setClipUrl(n,t.layerClipId,e);var i=a[0].trace;i._ownFill=null,i._nextFill=null;var l=[];i._ownfill&&l.push(\"_ownFill\"),i._nexttrace&&l.push(\"_nextFill\");var o=n.selectAll(\"g\").data(l,ZS);o.enter().append(\"g\"),o.exit().remove(),o.order().each(function(s){i[s]=yu(si.select(this),\"path\",\"js-fill\")})})}function XS(e,r,t,a,n,i,l){var o=e._context.staticPlot,s;rj(e,r,t,a,n);var u=!!l&&l.duration>0;function f(De){return u?De.transition():De}var v=t.xaxis,h=t.yaxis,d=a[0].trace,m=d.line,y=si.select(i),g=yu(y,\"g\",\"errorbars\"),_=yu(y,\"g\",\"lines\"),T=yu(y,\"g\",\"points\"),w=yu(y,\"g\",\"text\");if(Q$.getComponentMethod(\"errorbars\",\"plot\")(e,g,t,l),d.visible!==!0)return;f(y).style(\"opacity\",d.opacity);var b,M,S=d.fill.charAt(d.fill.length-1);S!==\"x\"&&S!==\"y\"&&(S=\"\");var k,q;S===\"y\"?(k=1,q=h.c2p(0,!0)):S===\"x\"&&(k=0,q=v.c2p(0,!0)),a[0][t.isRangePlot?\"nodeRangePlot3\":\"node3\"]=y;var D=\"\",P=[],z=d._prevtrace,F=null,O=null;z&&(D=z._prevRevpath||\"\",M=z._nextFill,P=z._ownPolygons,F=z._fillsegments,O=z._fillElement);var I,V,J=\"\",G=\"\",U,H,Q,Z,ne,ce,ye=[];d._polygons=[];var Ce=[],re=[],Se=xc.noop;if(b=d._ownFill,gu.hasLines(d)||d.fill!==\"none\"){M&&M.datum(a),[\"hv\",\"vh\",\"hvh\",\"vhv\"].indexOf(m.shape)!==-1?(U=kt.steps(m.shape),H=kt.steps(m.shape.split(\"\").reverse().join(\"\"))):m.shape===\"spline\"?U=H=function(De){var He=De[De.length-1];return De.length>1&&De[0][0]===He[0]&&De[0][1]===He[1]?kt.smoothclosed(De.slice(1),m.smoothing):kt.smoothopen(De,m.smoothing)}:U=H=function(De){return\"M\"+De.join(\"L\")},Q=function(De){return H(De.reverse())},re=$$(a,{xaxis:v,yaxis:h,trace:d,connectGaps:d.connectgaps,baseTolerance:Math.max(m.width||1,3)\/4,shape:m.shape,backoff:m.backoff,simplify:m.simplify,fill:d.fill}),Ce=new Array(re.length);var pe=0;for(s=0;s<re.length;s++){var be,Ae=re[s];!be||!S?(be=Ae.slice(),Ce[pe]=be,pe++):be.push.apply(be,Ae)}d._fillElement=null,d._fillExclusionElement=O,d._fillsegments=Ce.slice(0,pe),Ce=d._fillsegments,re.length&#038;&#038;(Z=re[0][0].slice(),ne=re[re.length-1],ce=ne[ne.length-1].slice()),Se=function(De){return function(He){if(I=U(He),V=Q(He),J?S?(J+=\"L\"+I.slice(1),G=V+(\"L\"+G.slice(1))):(J+=\"Z\"+I,G=V+\"Z\"+G):(J=I,G=V),gu.hasLines(d)){var We=si.select(this);if(We.datum(a),De)f(We.style(\"opacity\",0).attr(\"d\",I).call(kt.lineGroupStyle)).style(\"opacity\",1);else{var ie=f(We);ie.attr(\"d\",I),kt.singleLineStyle(a,ie)}}}}}var ge=_.selectAll(\".js-line\").data(re);f(ge.exit()).style(\"opacity\",0).remove(),ge.each(Se(!1)),ge.enter().append(\"path\").classed(\"js-line\",!0).style(\"vector-effect\",o?\"none\":\"non-scaling-stroke\").call(kt.lineGroupStyle).each(Se(!0)),kt.setClipUrl(ge,t.layerClipId,e);function B(De){f(De).attr(\"d\",\"M0,0Z\")}var $=function(){var De=new Array(Ce.length);for(s=0;s<Ce.length;s++)De[s]=bd(Ce[s]);return De},Y=function(De){var He,We;if(!De||De.length===0)for(He=new Array(Ce.length),We=0;We<Ce.length;We++){var ie=Ce[We][0].slice(),xe=Ce[We][Ce[We].length-1].slice();ie[k]=xe[k]=q;var Ke=[xe,ie],hr=Ke.concat(Ce[We]);He[We]=bd(hr)}else{for(He=new Array(De.length-1+Ce.length),We=0;We<De.length-1;We++)He[We]=bd(De[We]);var ze=De[De.length-1].slice();for(ze.reverse(),We=0;We<Ce.length;We++)He[De.length-1+We]=bd(Ce[We].concat(ze))}return He};re.length?(b?(b.datum(a),Z&#038;&#038;ce&#038;&#038;(S?(Z[k]=ce[k]=q,f(b).attr(\"d\",\"M\"+ce+\"L\"+Z+\"L\"+J.slice(1)).call(kt.singleFillStyle,e),ye=Y(null)):(f(b).attr(\"d\",J+\"Z\").call(kt.singleFillStyle,e),ye=$())),d._polygons=ye,d._fillElement=b):M&#038;&#038;(d.fill.slice(0,6)===\"tonext\"&#038;&#038;J&#038;&#038;D?(d.fill===\"tonext\"?(f(M).attr(\"d\",J+\"Z\"+D+\"Z\").call(kt.singleFillStyle,e),ye=$(),d._polygons=ye.concat(P)):(f(M).attr(\"d\",J+\"L\"+D.slice(1)+\"Z\").call(kt.singleFillStyle,e),ye=Y(F),d._polygons=ye),d._fillElement=M):B(M)),d._prevRevpath=G):(b?B(b):M&#038;&#038;B(M),d._prevRevpath=null),d._ownPolygons=ye;function le(De){return De.filter(function(He){return!He.gap&#038;&#038;He.vis})}function he(De){return De.filter(function(He){return He.vis})}function me(De){return De.filter(function(He){return!He.gap})}function Re(De){return De.id}function Ee(De){if(De.ids)return Re}function Le(){return!1}function Ve(De,He,We){var ie,xe,Ke,hr=We[0].trace,ze=gu.hasMarkers(hr),Me=gu.hasText(hr),ke=Ee(hr),Oe=Le,Ze=Le;if(ze||Me){var Ue=ZS,Ge=hr.stackgroup,ir=Ge&#038;&#038;e._fullLayout._scatterStackOpts[v._id+h._id][Ge].stackgaps===\"infer zero\";hr.marker.maxdisplayed||hr._needsCull?Ue=ir?he:le:Ge&#038;&#038;!ir&#038;&#038;(Ue=me),ze&#038;&#038;(Oe=Ue),Me&#038;&#038;(Ze=Ue)}xe=De.selectAll(\"path.point\"),ie=xe.data(Oe,ke);var ar=ie.enter().append(\"path\").classed(\"point\",!0);u&#038;&#038;ar.call(kt.pointStyle,hr,e).call(kt.translatePoints,v,h).style(\"opacity\",0).transition().style(\"opacity\",1),ie.order();var er;ze&#038;&#038;(er=kt.makePointStyleFns(hr)),ie.each(function(Ne){var ae=si.select(this),oe=f(ae);Ke=kt.translatePoint(Ne,oe,v,h),Ke?(kt.singlePointStyle(Ne,oe,hr,er,e),t.layerClipId&#038;&#038;kt.hideOutsideRangePoint(Ne,oe,v,h,hr.xcalendar,hr.ycalendar),hr.customdata&#038;&#038;ae.classed(\"plotly-customdata\",Ne.data!==null&#038;&#038;Ne.data!==void 0)):oe.remove()}),u?ie.exit().transition().style(\"opacity\",0).remove():ie.exit().remove(),xe=He.selectAll(\"g\"),ie=xe.data(Ze,ke),ie.enter().append(\"g\").classed(\"textpoint\",!0).append(\"text\"),ie.order(),ie.each(function(Ne){var ae=si.select(this),oe=f(ae.select(\"text\"));Ke=kt.translatePoint(Ne,oe,v,h),Ke?t.layerClipId&#038;&#038;kt.hideOutsideRangePoint(Ne,ae,v,h,hr.xcalendar,hr.ycalendar):ae.remove()}),ie.selectAll(\"text\").call(kt.textPointStyle,hr,e).each(function(Ne){var ae=v.c2p(Ne.x),oe=h.c2p(Ne.y);si.select(this).selectAll(\"tspan.line\").each(function(){f(si.select(this)).attr({x:ae,y:oe})})}),ie.exit().remove()}T.datum(a),w.datum(a),Ve(T,w,a);var Ie=d.cliponaxis===!1,Xe=Ie?null:t.layerClipId;kt.setClipUrl(T,Xe,e),kt.setClipUrl(w,Xe,e)}function rj(e,r,t,a,n){var i=t.xaxis,l=t.yaxis,o=si.extent(xc.simpleMap(i.range,i.r2c)),s=si.extent(xc.simpleMap(l.range,l.r2c)),u=a[0].trace;if(gu.hasMarkers(u)){var f=u.marker.maxdisplayed;if(f!==0){var v=a.filter(function(y){return y.x>=o[0]&&y.x<=o[1]&#038;&#038;y.y>=s[0]&&y.y<=s[1]}),h=Math.ceil(v.length\/f),d=0;n.forEach(function(y,g){var _=y[0].trace;gu.hasMarkers(_)&#038;&#038;_.marker.maxdisplayed>0&&g<r&#038;&#038;d++});var m=Math.round(d*h\/3+Math.floor(d\/3)*h\/7.1);a.forEach(function(y){delete y.vis}),v.forEach(function(y,g){Math.round((g+m)%h)===0&#038;&#038;(y.vis=!0)})}}}});var d2=K((Gfe,QS)=>{\"use strict\";QS.exports={container:\"marker\",min:\"cmin\",max:\"cmax\"}});var jS=K((Wfe,$S)=>{\"use strict\";var xd=pt();$S.exports=function(r,t,a){var n={},i={_fullLayout:a},l=xd.getFromTrace(i,t,\"x\"),o=xd.getFromTrace(i,t,\"y\"),s=r.orig_x;s===void 0&&(s=r.x);var u=r.orig_y;return u===void 0&&(u=r.y),n.xLabel=xd.tickText(l,l.c2l(s),!0).text,n.yLabel=xd.tickText(o,o.c2l(u),!0).text,n}});var g2=K((Xfe,eL)=>{\"use strict\";var p2=zr(),bu=tt(),tj=br();function aj(e){var r=p2.select(e).selectAll(\"g.trace.scatter\");r.style(\"opacity\",function(t){return t[0].trace.opacity}),r.selectAll(\"g.points\").each(function(t){var a=p2.select(this),n=t.trace||t[0].trace;m2(a,n,e)}),r.selectAll(\"g.text\").each(function(t){var a=p2.select(this),n=t.trace||t[0].trace;y2(a,n,e)}),r.selectAll(\"g.trace path.js-line\").call(bu.lineGroupStyle),r.selectAll(\"g.trace path.js-fill\").call(bu.fillGroupStyle,e,!1),tj.getComponentMethod(\"errorbars\",\"style\")(r)}function m2(e,r,t){bu.pointStyle(e.selectAll(\"path.point\"),r,t)}function y2(e,r,t){bu.textPointStyle(e.selectAll(\"text\"),r,t)}function nj(e,r,t){var a=r[0].trace;a.selectedpoints?(bu.selectedPointStyle(t.selectAll(\"path.point\"),a),bu.selectedTextStyle(t.selectAll(\"text\"),a)):(m2(t,a,e),y2(t,a,e))}eL.exports={style:aj,stylePoints:m2,styleText:y2,styleOnSelect:nj}});var tL=K((Zfe,rL)=>{\"use strict\";var xu=Er(),ij=un();rL.exports=function(r,t){var a,n;if(r.mode===\"lines\")return a=r.line.color,a&&xu.opacity(a)?a:r.fillcolor;if(r.mode===\"none\")return r.fill?r.fillcolor:\"\";var i=t.mcc||(r.marker||{}).color,l=t.mlcc||((r.marker||{}).line||{}).color;return n=i&&xu.opacity(i)?i:l&&xu.opacity(l)&&(t.mlw||((r.marker||{}).line||{}).width)?l:\"\",n?xu.opacity(n)<.3?xu.addOpacity(n,.3):n:(a=(r.line||{}).color,a&#038;&#038;xu.opacity(a)&#038;&#038;ij.hasLines(r)&#038;&#038;r.line.width?a:r.fillcolor)}});var iL=K((Jfe,nL)=>{\"use strict\";var _d=Fe(),aL=ni(),lj=br(),oj=tL(),b2=Er(),sj=_d.fillText;nL.exports=function(r,t,a,n){var i=r.cd,l=i[0].trace,o=r.xa,s=r.ya,u=o.c2p(t),f=s.c2p(a),v=[u,f],h=l.hoveron||\"\",d=l.mode.indexOf(\"markers\")!==-1?3:.5,m=!!l.xperiodalignment,y=!!l.yperiodalignment;if(h.indexOf(\"points\")!==-1){var g=function(G){if(m){var U=o.c2p(G.xStart),H=o.c2p(G.xEnd);return u>=Math.min(U,H)&&u<=Math.max(U,H)?0:1\/0}var Q=Math.max(3,G.mrc||0),Z=1-1\/Q,ne=Math.abs(o.c2p(G.x)-u);return ne<Q?Z*ne\/Q:ne-Q+Z},_=function(G){if(y){var U=s.c2p(G.yStart),H=s.c2p(G.yEnd);return f>=Math.min(U,H)&&f<=Math.max(U,H)?0:1\/0}var Q=Math.max(3,G.mrc||0),Z=1-1\/Q,ne=Math.abs(s.c2p(G.y)-f);return ne<Q?Z*ne\/Q:ne-Q+Z},T=function(G){var U=Math.max(d,G.mrc||0),H=o.c2p(G.x)-u,Q=s.c2p(G.y)-f;return Math.max(Math.sqrt(H*H+Q*Q)-U,1-d\/U)},w=aL.getDistanceFunction(n,g,_,T);if(aL.getClosest(i,w,r),r.index!==!1){var b=i[r.index],M=o.c2p(b.x,!0),S=s.c2p(b.y,!0),k=b.mrc||1;r.index=b.i;var q=i[0].t.orientation,D=q&#038;&#038;(b.sNorm||b.s),P=q===\"h\"?D:b.orig_x!==void 0?b.orig_x:b.x,z=q===\"v\"?D:b.orig_y!==void 0?b.orig_y:b.y;return _d.extendFlat(r,{color:oj(l,b),x0:M-k,x1:M+k,xLabelVal:P,y0:S-k,y1:S+k,yLabelVal:z,spikeDistance:T(b),hovertemplate:l.hovertemplate}),sj(b,l,r),lj.getComponentMethod(\"errorbars\",\"hoverInfo\")(b,l,r),[r]}}function F(G){if(!G)return!1;var U=G.node();try{var H=new DOMPoint(v[0],v[1]);return U.isPointInFill(H)}catch(Z){var Q=U.ownerSVGElement.createSVGPoint();return Q.x=v[0],Q.y=v[1],U.isPointInFill(Q)}}function O(G){var U,H=[],Q=1\/0,Z=-1\/0,ne=1\/0,ce=-1\/0,ye;for(U=0;U<G.length;U++){var Ce=G[U];Ce.contains(v)&#038;&#038;(H.push(Ce),ne=Math.min(ne,Ce.ymin),ce=Math.max(ce,Ce.ymax))}if(H.length===0)return null;ne=Math.max(ne,0),ce=Math.min(ce,s._length),ye=(ne+ce)\/2;var re,Se,pe,be,Ae,ge,B;for(U=0;U<H.length;U++)for(Se=H[U].pts,re=1;re<Se.length;re++)ge=Se[re-1][1],B=Se[re][1],ge>ye!=B>=ye&&(be=Se[re-1][0],Ae=Se[re][0],B-ge&&(pe=be+(Ae-be)*(ye-ge)\/(B-ge),Q=Math.min(Q,pe),Z=Math.max(Z,pe)));return Q=Math.max(Q,0),Z=Math.min(Z,o._length),{x0:Q,x1:Z,y0:ye,y1:ye}}if(h.indexOf(\"fills\")!==-1&&l._fillElement){var I=F(l._fillElement)&&!F(l._fillExclusionElement);if(I){var V=O(l._polygons);V===null&&(V={x0:v[0],x1:v[0],y0:v[1],y1:v[1]});var J=b2.defaultLine;return b2.opacity(l.fillcolor)?J=l.fillcolor:b2.opacity((l.line||{}).color)&&(J=l.line.color),_d.extendFlat(r,{distance:r.maxHoverDistance,x0:V.x0,x1:V.x1,y0:V.y0,y1:V.y1,color:J,hovertemplate:!1}),delete r.index,l.text&&!_d.isArrayOrTypedArray(l.text)?r.text=String(l.text):r.text=l.name,[r]}}}});var sL=K((Kfe,oL)=>{\"use strict\";var lL=un();oL.exports=function(r,t){var a=r.cd,n=r.xaxis,i=r.yaxis,l=[],o=a[0].trace,s,u,f,v,h=!lL.hasMarkers(o)&&!lL.hasText(o);if(h)return[];if(t===!1)for(s=0;s<a.length;s++)a[s].selected=0;else for(s=0;s<a.length;s++)u=a[s],f=n.c2p(u.x),v=i.c2p(u.y),u.i!==null&#038;&#038;t.contains([f,v],!1,s,r)?(l.push({pointNumber:u.i,x:n.c2d(u.x),y:i.c2d(u.y)}),u.selected=1):u.selected=0;return l}});var fL=K((Qfe,uL)=>{\"use strict\";uL.exports={xaxis:{valType:\"subplotid\",dflt:\"x\",editType:\"calc+clearAxisTypes\"},yaxis:{valType:\"subplotid\",dflt:\"y\",editType:\"calc+clearAxisTypes\"}}});var dL=K(($fe,hL)=>{\"use strict\";var _c=br().traceIs,x2=Im();hL.exports=function(r,t,a,n){a(\"autotypenumbers\",n.autotypenumbersDflt);var i=a(\"type\",(n.splomStash||{}).type);i===\"-\"&&(uj(t,n.data),t.type===\"-\"?t.type=\"linear\":r.type=t.type)};function uj(e,r){if(e.type===\"-\"){var t=e._id,a=t.charAt(0),n;t.indexOf(\"scene\")!==-1&&(t=a);var i=fj(r,t,a);if(i){if(i.type===\"histogram\"&&a==={v:\"y\",h:\"x\"}[i.orientation||\"v\"]){e.type=\"linear\";return}var l=a+\"calendar\",o=i[l],s={noMultiCategory:!_c(i,\"cartesian\")||_c(i,\"noMultiCategory\")};if(i.type===\"box\"&&i._hasPreCompStats&&a==={h:\"x\",v:\"y\"}[i.orientation||\"v\"]&&(s.noMultiCategory=!0),s.autotypenumbers=e.autotypenumbers,vL(i,a)){var u=cL(i),f=[];for(n=0;n<r.length;n++){var v=r[n];!_c(v,\"box-violin\")||(v[a+\"axis\"]||a)!==t||(v[u]!==void 0?f.push(v[u][0]):v.name!==void 0?f.push(v.name):f.push(\"text\"),v[l]!==o&#038;&#038;(o=void 0))}e.type=x2(f,o,s)}else if(i.type===\"splom\"){var h=i.dimensions,d=h[i._axesDim[t]];d.visible&#038;&#038;(e.type=x2(d.values,o,s))}else e.type=x2(i[a]||[i[a+\"0\"]],o,s)}}}function fj(e,r,t){for(var a=0;a<e.length;a++){var n=e[a];if(n.type===\"splom\"&#038;&#038;n._length>0&&(n[\"_\"+t+\"axes\"]||{})[r])return n;if((n[t+\"axis\"]||t)===r){if(vL(n,t))return n;if((n[t]||[]).length||n[t+\"0\"])return n}}}function cL(e){return{v:\"x\",h:\"y\"}[e.orientation||\"v\"]}function vL(e,r){var t=cL(e),a=_c(e,\"box-violin\"),n=_c(e._fullInput||{},\"candlestick\");return a&&!n&&r===t&&e[t]===void 0&&e[t+\"0\"]===void 0}});var mL=K((jfe,pL)=>{\"use strict\";var cj=Ka().isTypedArraySpec;function vj(e,r){var t=r.dataAttr||e._id.charAt(0),a={},n,i,l;if(r.axData)n=r.axData;else for(n=[],i=0;i<r.data.length;i++){var o=r.data[i];o[t+\"axis\"]===e._id&#038;&#038;n.push(o)}for(i=0;i<n.length;i++){var s=n[i][t];for(l=0;l<s.length;l++){var u=s[l];u!=null&#038;&#038;(a[u]=1)}}return Object.keys(a)}pL.exports=function(r,t,a,n){if(t.type===\"category\"){var i=r.categoryarray,l=Array.isArray(i)&#038;&#038;i.length>0||cj(i),o;l&&(o=\"array\");var s=a(\"categoryorder\",o),u;s===\"array\"&&(u=a(\"categoryarray\")),!l&&s===\"array\"&&(s=t.categoryorder=\"trace\"),s===\"trace\"?t._initialCategories=[]:s===\"array\"?t._initialCategories=u.slice():(u=vj(t,n).sort(),s===\"category ascending\"?t._initialCategories=u:s===\"category descending\"&&(t._initialCategories=u.reverse()))}}});var bL=K((ece,gL)=>{\"use strict\";var yL=wn().mix,hj=gi(),dj=Fe();gL.exports=function(r,t,a,n){n=n||{};var i=n.dfltColor;function l(q,D){return dj.coerce2(r,t,n.attributes,q,D)}var o=l(\"linecolor\",i),s=l(\"linewidth\"),u=a(\"showline\",n.showLine||!!o||!!s);u||(delete t.linecolor,delete t.linewidth);var f=yL(i,n.bgColor,n.blend||hj.lightFraction).toRgbString(),v=l(\"gridcolor\",f),h=l(\"gridwidth\"),d=l(\"griddash\"),m=a(\"showgrid\",n.showGrid||!!v||!!h||!!d);if(m||(delete t.gridcolor,delete t.gridwidth,delete t.griddash),n.hasMinor){var y=yL(t.gridcolor,n.bgColor,67).toRgbString(),g=l(\"minor.gridcolor\",y),_=l(\"minor.gridwidth\",t.gridwidth||1),T=l(\"minor.griddash\",t.griddash||\"solid\"),w=a(\"minor.showgrid\",!!g||!!_||!!T);w||(delete t.minor.gridcolor,delete t.minor.gridwidth,delete t.minor.griddash)}if(!n.noZeroLine){var b=l(\"zerolinelayer\"),M=l(\"zerolinecolor\",i),S=l(\"zerolinewidth\"),k=a(\"zeroline\",n.showGrid||!!M||!!S);k||(delete t.zerolinelayer,delete t.zerolinecolor,delete t.zerolinewidth)}}});var w2=K((rce,AL)=>{\"use strict\";var xL=Hr(),pj=br(),wc=Fe(),mj=ct(),yj=ei(),_2=jn(),_L=om(),wL=um(),gj=vm(),bj=hm(),xj=mL(),_j=bL(),wj=iy(),TL=P0(),wd=$t().WEEKDAY_PATTERN,Tj=$t().HOUR_PATTERN;AL.exports=function(r,t,a,n,i){var l=n.letter,o=n.font||{},s=n.splomStash||{},u=a(\"visible\",!n.visibleDflt),f=t._template||{},v=t.type||f.type||\"-\",h;if(v===\"date\"){var d=pj.getComponentMethod(\"calendars\",\"handleDefaults\");d(r,t,\"calendar\",n.calendar),n.noTicklabelmode||(h=a(\"ticklabelmode\"))}!n.noTicklabelindex&&(v===\"date\"||v===\"linear\")&&a(\"ticklabelindex\");var m=\"\";(!n.noTicklabelposition||v===\"multicategory\")&&(m=wc.coerce(r,t,{ticklabelposition:{valType:\"enumerated\",dflt:\"outside\",values:h===\"period\"?[\"outside\",\"inside\"]:l===\"x\"?[\"outside\",\"inside\",\"outside left\",\"inside left\",\"outside right\",\"inside right\"]:[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside bottom\",\"inside bottom\"]}},\"ticklabelposition\")),n.noTicklabeloverflow||a(\"ticklabeloverflow\",m.indexOf(\"inside\")!==-1?\"hide past domain\":v===\"category\"||v===\"multicategory\"?\"allow\":\"hide past div\"),TL(t,i),wj(r,t,a,n),xj(r,t,a,n),n.noHover||(v!==\"category\"&&a(\"hoverformat\"),n.noUnifiedhovertitle||a(\"unifiedhovertitle.text\"));var y=a(\"color\"),g=y!==_2.color.dflt?y:o.color,_=s.label||i._dfltTitle[l];if(bj(r,t,a,v,n),!u)return t;a(\"title.text\",_),wc.coerceFont(a,\"title.font\",o,{overrideDflt:{size:wc.bigFont(o.size),color:g}}),_L(r,t,a,v);var T=n.hasMinor;if(T&&(mj.newContainer(t,\"minor\"),_L(r,t,a,v,{isMinor:!0})),gj(r,t,a,v,n),wL(r,t,a,n),T){var w=n.isMinor;n.isMinor=!0,wL(r,t,a,n),n.isMinor=w}_j(r,t,a,{dfltColor:y,bgColor:n.bgColor,showGrid:n.showGrid,hasMinor:T,attributes:_2}),T&&t.ticklabelindex==null&&!t.minor.ticks&&!t.minor.showgrid&&delete t.minor,(t.showline||t.ticks)&&a(\"mirror\");var b=v===\"multicategory\";if(!n.noTickson&&(v===\"category\"||b)&&(t.ticks||t.showgrid)&&(b?(a(\"tickson\",\"boundaries\"),delete t.ticklabelposition):a(\"tickson\")),b){var M=a(\"showdividers\");M&&(a(\"dividercolor\"),a(\"dividerwidth\"))}if(v===\"date\")if(yj(r,t,{name:\"rangebreaks\",inclusionAttr:\"enabled\",handleItemDefaults:Mj}),!t.rangebreaks.length)delete t.rangebreaks;else{for(var S=0;S<t.rangebreaks.length;S++)if(t.rangebreaks[S].pattern===wd){t._hasDayOfWeekBreaks=!0;break}if(TL(t,i),i._has(\"scattergl\")||i._has(\"splom\"))for(var k=0;k<n.data.length;k++){var q=n.data[k];(q.type===\"scattergl\"||q.type===\"splom\")&#038;&#038;(q.visible=!1,wc.warn(q.type+\" traces do not work on axes with rangebreaks. Setting trace \"+q.index+\" to `visible: false`.\"))}}return t};function Mj(e,r,t){function a(h,d){return wc.coerce(e,r,_2.rangebreaks,h,d)}var n=a(\"enabled\");if(n){var i=a(\"bounds\");if(i&#038;&#038;i.length>=2){var l=\"\",o,s;if(i.length===2){for(o=0;o<2;o++)if(s=ML(i[o]),s){l=wd;break}}var u=a(\"pattern\",l);if(u===wd)for(o=0;o<2;o++)s=ML(i[o]),s&#038;&#038;(r.bounds[o]=i[o]=s-1);if(u)for(o=0;o<2;o++)switch(s=i[o],u){case wd:if(!xL(s)){r.enabled=!1;return}if(s=+s,s!==Math.floor(s)||s<0||s>=7){r.enabled=!1;return}r.bounds[o]=i[o]=s;break;case Tj:if(!xL(s)){r.enabled=!1;return}if(s=+s,s<0||s>24){r.enabled=!1;return}r.bounds[o]=i[o]=s;break}if(t.autorange===!1){var f=t.range;if(f[0]<f[1]){if(i[0]<f[0]&#038;&#038;i[1]>f[1]){r.enabled=!1;return}}else if(i[0]>f[0]&&i[1]<f[1]){r.enabled=!1;return}}}else{var v=a(\"values\");if(v&#038;&#038;v.length)a(\"dvalue\");else{r.enabled=!1;return}}}}var Aj={sun:1,mon:2,tue:3,wed:4,thu:5,fri:6,sat:7};function ML(e){if(typeof e==\"string\")return Aj[e.slice(0,3).toLowerCase()]}});var T2=K((tce,kL)=>{\"use strict\";var kj=Hr(),Td=Fe();kL.exports=function(r,t,a,n){var i=n.counterAxes||[],l=n.overlayableAxes||[],o=n.letter,s=n.grid,u=n.overlayingDomain,f,v,h,d,m,y;s&&(v=s._domains[o][s._axisMap[t._id]],f=s._anchors[t._id],v&&(h=s[o+\"side\"].split(\" \")[0],d=s.domain[o][h===\"right\"||h===\"top\"?1:0])),v=v||[0,1],f=f||(kj(r.position)?\"free\":i[0]||\"free\"),h=h||(o===\"x\"?\"bottom\":\"left\"),d=d||0,m=0,y=!1;var g=Td.coerce(r,t,{anchor:{valType:\"enumerated\",values:[\"free\"].concat(i),dflt:f}},\"anchor\"),_=Td.coerce(r,t,{side:{valType:\"enumerated\",values:o===\"x\"?[\"bottom\",\"top\"]:[\"left\",\"right\"],dflt:h}},\"side\");if(g===\"free\"){if(o===\"y\"){var T=a(\"autoshift\");T&&(d=_===\"left\"?u[0]:u[1],y=t.automargin?t.automargin:!0,m=_===\"left\"?-3:3),a(\"shift\",m)}a(\"position\",d)}a(\"automargin\",y);var w=!1;if(l.length&&(w=Td.coerce(r,t,{overlaying:{valType:\"enumerated\",values:[!1].concat(l),dflt:!1}},\"overlaying\")),!w){var b=a(\"domain\",v);b[0]>b[1]-1\/4096&&(t.domain=v),Td.noneOrAll(r.domain,t.domain,v),t.tickmode===\"sync\"&&(t.tickmode=\"auto\")}return a(\"layer\"),t}});var zL=K((ace,RL)=>{\"use strict\";var Xo=Fe(),CL=Er(),Cj=Ti().isUnifiedHover,Sj=Ey(),SL=ct(),Lj=Ss(),LL=jn(),qj=dL(),qL=w2(),Dj=Bf(),DL=T2(),A2=Zt(),Ii=A2.id2name,EL=A2.name2id,Ej=$t().AX_ID_PATTERN,PL=br(),Md=PL.traceIs,M2=PL.getComponentMethod;function Ad(e,r,t){Array.isArray(e[r])?e[r].push(t):e[r]=[t]}RL.exports=function(r,t,a){var n=t.autotypenumbers,i={},l={},o={},s={},u={},f={},v={},h={},d={},m={},y,g;for(y=0;y<a.length;y++){var _=a[y];if(Md(_,\"cartesian\")){var T;if(_.xaxis)T=Ii(_.xaxis),Ad(i,T,_);else if(_.xaxes)for(g=0;g<_.xaxes.length;g++)Ad(i,Ii(_.xaxes[g]),_);var w;if(_.yaxis)w=Ii(_.yaxis),Ad(i,w,_);else if(_.yaxes)for(g=0;g<_.yaxes.length;g++)Ad(i,Ii(_.yaxes[g]),_);if(_.type===\"funnel\"?_.orientation===\"h\"?(T&#038;&#038;(l[T]=!0),w&#038;&#038;(v[w]=!0)):w&#038;&#038;(o[w]=!0):_.type===\"image\"?(w&#038;&#038;(h[w]=!0),T&#038;&#038;(h[T]=!0)):(w&#038;&#038;(u[w]=!0,f[w]=!0),(!Md(_,\"carpet\")||_.type===\"carpet\"&#038;&#038;!_._cheater)&#038;&#038;T&#038;&#038;(s[T]=!0)),_.type===\"carpet\"&#038;&#038;_._cheater&#038;&#038;T&#038;&#038;(l[T]=!0),Md(_,\"2dMap\")&#038;&#038;(d[T]=!0,d[w]=!0),Md(_,\"oriented\")){var b=_.orientation===\"h\"?w:T;m[b]=!0}}}var M=t._subplots,S=M.xaxis,k=M.yaxis,q=Xo.simpleMap(S,Ii),D=Xo.simpleMap(k,Ii),P=q.concat(D),z=CL.background;S.length&#038;&#038;k.length&#038;&#038;(z=Xo.coerce(r,t,Lj,\"plot_bgcolor\"));var F=CL.combine(z,t.paper_bgcolor),O,I,V,J,G;function U(){var xe=i[O]||[];G._traceIndices=xe.map(function(Ke){return Ke.index}),G._annIndices=[],G._shapeIndices=[],G._selectionIndices=[],G._imgIndices=[],G._subplotsWith=[],G._counterAxes=[],G._name=G._attr=O,G._id=I}function H(xe,Ke){return Xo.coerce(J,G,LL,xe,Ke)}function Q(xe,Ke){return Xo.coerce2(J,G,LL,xe,Ke)}function Z(xe){return xe===\"x\"?k:S}function ne(xe,Ke){for(var hr=xe===\"x\"?q:D,ze=[],Me=0;Me<hr.length;Me++){var ke=hr[Me];ke!==Ke&#038;&#038;!(r[ke]||{}).overlaying&#038;&#038;ze.push(EL(ke))}return ze}var ce={x:Z(\"x\"),y:Z(\"y\")},ye=ce.x.concat(ce.y),Ce={},re=[];function Se(){var xe=J.matches;Ej.test(xe)&#038;&#038;ye.indexOf(xe)===-1&#038;&#038;(Ce[xe]=J.type,re=Object.keys(Ce))}var pe=Sj(r,t),be=Cj(pe);for(y=0;y<P.length;y++){O=P[y],I=EL(O),V=O.charAt(0),Xo.isPlainObject(r[O])||(r[O]={}),J=r[O],G=SL.newContainer(t,O,V+\"axis\"),U();var Ae=V===\"x\"&#038;&#038;!s[O]&#038;&#038;l[O]||V===\"y\"&#038;&#038;!u[O]&#038;&#038;o[O],ge=V===\"y\"&#038;&#038;(!f[O]&#038;&#038;v[O]||h[O]),B={hasMinor:!0,letter:V,font:t.font,outerTicks:d[O],showGrid:!m[O],data:i[O]||[],bgColor:F,calendar:t.calendar,automargin:!0,visibleDflt:Ae,reverseDflt:ge,autotypenumbersDflt:n,splomStash:((t._splomAxes||{})[V]||{})[I],noAutotickangles:V===\"y\"};H(\"uirevision\",t.uirevision),qj(J,G,H,B),qL(J,G,H,B,t);var $=be&#038;&#038;V===pe.charAt(0),Y=Q(\"spikecolor\",be?G.color:void 0),le=Q(\"spikethickness\",be?1.5:void 0),he=Q(\"spikedash\",be?\"dot\":void 0),me=Q(\"spikemode\",be?\"across\":void 0),Re=Q(\"spikesnap\"),Ee=H(\"showspikes\",!!$||!!Y||!!le||!!he||!!me||!!Re);Ee||(delete G.spikecolor,delete G.spikethickness,delete G.spikedash,delete G.spikemode,delete G.spikesnap);var Le=Ii(J.overlaying),Ve=[0,1];if(t[Le]!==void 0){var Ie=Ii(t[Le].anchor);t[Ie]!==void 0&#038;&#038;(Ve=t[Ie].domain)}DL(J,G,H,{letter:V,counterAxes:ce[V],overlayableAxes:ne(V,O),grid:t.grid,overlayingDomain:Ve}),H(\"title.standoff\"),Se(),G._input=J}for(y=0;y<re.length;){I=re[y++],O=Ii(I),V=O.charAt(0),Xo.isPlainObject(r[O])||(r[O]={}),J=r[O],G=SL.newContainer(t,O,V+\"axis\"),U();var Xe={letter:V,font:t.font,outerTicks:d[O],showGrid:!m[O],data:[],bgColor:F,calendar:t.calendar,automargin:!0,visibleDflt:!1,reverseDflt:!1,autotypenumbersDflt:n,splomStash:((t._splomAxes||{})[V]||{})[I]};H(\"uirevision\",t.uirevision),G.type=Ce[I]||\"linear\",qL(J,G,H,Xe,t),DL(J,G,H,{letter:V,counterAxes:ce[V],overlayableAxes:ne(V,O),grid:t.grid}),H(\"fixedrange\"),H(\"modebardisable\"),Se(),G._input=J}var De=M2(\"rangeslider\",\"handleDefaults\"),He=M2(\"rangeselector\",\"handleDefaults\");for(y=0;y<q.length;y++)O=q[y],J=r[O],G=t[O],De(r,t,O),G.type===\"date\"&#038;&#038;He(J,G,t,D,G.calendar),H(\"fixedrange\"),H(\"modebardisable\");for(y=0;y<D.length;y++){O=D[y],J=r[O],G=t[O];var We=t[Ii(G.anchor)],ie=M2(\"rangeslider\",\"isVisible\")(We);H(\"fixedrange\",ie),H(\"modebardisable\")}Dj.handleDefaults(r,t,{axIds:ye.concat(re).sort(A2.idSort),axHasImage:h})}});var IL=K((nce,FL)=>{\"use strict\";var Pj=zr(),NL=br(),kd=Fe(),pn=tt(),Cd=pt();FL.exports=function(r,t,a,n){var i=r._fullLayout;if(t.length===0){Cd.redrawComponents(r);return}function l(g){var _=g.xaxis,T=g.yaxis;i._defs.select(\"#\"+g.clipId+\"> rect\").call(pn.setTranslate,0,0).call(pn.setScale,1,1),g.plot.call(pn.setTranslate,_._offset,T._offset).call(pn.setScale,1,1);var w=g.plot.selectAll(\".scatterlayer .trace\");w.selectAll(\".point\").call(pn.setPointGroupScale,1,1),w.selectAll(\".textpoint\").call(pn.setTextPointsScale,1,1),w.call(pn.hideOutsideRangePoints,g)}function o(g,_){var T=g.plotinfo,w=T.xaxis,b=T.yaxis,M=w._length,S=b._length,k=!!g.xr1,q=!!g.yr1,D=[];if(k){var P=kd.simpleMap(g.xr0,w.r2l),z=kd.simpleMap(g.xr1,w.r2l),F=P[1]-P[0],O=z[1]-z[0];D[0]=(P[0]*(1-_)+_*z[0]-P[0])\/(P[1]-P[0])*M,D[2]=M*(1-_+_*O\/F),w.range[0]=w.l2r(P[0]*(1-_)+_*z[0]),w.range[1]=w.l2r(P[1]*(1-_)+_*z[1])}else D[0]=0,D[2]=M;if(q){var I=kd.simpleMap(g.yr0,b.r2l),V=kd.simpleMap(g.yr1,b.r2l),J=I[1]-I[0],G=V[1]-V[0];D[1]=(I[1]*(1-_)+_*V[1]-I[1])\/(I[0]-I[1])*S,D[3]=S*(1-_+_*G\/J),b.range[0]=w.l2r(I[0]*(1-_)+_*V[0]),b.range[1]=b.l2r(I[1]*(1-_)+_*V[1])}else D[1]=0,D[3]=S;Cd.drawOne(r,w,{skipTitle:!0}),Cd.drawOne(r,b,{skipTitle:!0}),Cd.redrawComponents(r,[w._id,b._id]);var U=k?M\/D[2]:1,H=q?S\/D[3]:1,Q=k?D[0]:0,Z=q?D[1]:0,ne=k?D[0]\/D[2]*M:0,ce=q?D[1]\/D[3]*S:0,ye=w._offset-ne,Ce=b._offset-ce;T.clipRect.call(pn.setTranslate,Q,Z).call(pn.setScale,1\/U,1\/H),T.plot.call(pn.setTranslate,ye,Ce).call(pn.setScale,U,H),pn.setPointGroupScale(T.zoomScalePts,1\/U,1\/H),pn.setTextPointsScale(T.zoomScaleTxt,1\/U,1\/H)}var s;n&&(s=n());function u(){for(var g={},_=0;_<t.length;_++){var T=t[_],w=T.plotinfo.xaxis,b=T.plotinfo.yaxis;T.xr1&#038;&#038;(g[w._name+\".range\"]=T.xr1.slice()),T.yr1&#038;&#038;(g[b._name+\".range\"]=T.yr1.slice())}return s&#038;&#038;s(),NL.call(\"relayout\",r,g).then(function(){for(var M=0;M<t.length;M++)l(t[M].plotinfo)})}function f(){for(var g={},_=0;_<t.length;_++){var T=t[_],w=T.plotinfo.xaxis,b=T.plotinfo.yaxis;T.xr0&#038;&#038;(g[w._name+\".range\"]=T.xr0.slice()),T.yr0&#038;&#038;(g[b._name+\".range\"]=T.yr0.slice())}return NL.call(\"relayout\",r,g).then(function(){for(var M=0;M<t.length;M++)l(t[M].plotinfo)})}var v,h,d,m=Pj.ease(a.easing);r._transitionData._interruptCallbacks.push(function(){return window.cancelAnimationFrame(d),d=null,f()});function y(){h=Date.now();for(var g=Math.min(1,(h-v)\/a.duration),_=m(g),T=0;T<t.length;T++)o(t[T],_);h-v>a.duration?(u(),d=window.cancelAnimationFrame(y)):d=window.requestAnimationFrame(y)}return v=Date.now(),d=window.requestAnimationFrame(y),Promise.resolve()}});var qd=K(Sa=>{\"use strict\";var Ld=zr(),HL=br(),Zo=Fe(),Rj=It(),zj=tt(),OL=Gp().getModuleCalcData,Il=Zt(),ui=$t(),Nj=_o(),Zr=Zo.ensureSingle;function Sd(e,r,t){return Zo.ensureSingle(e,r,t,function(a){a.datum(t)})}var Jo=ui.zindexSeparator;Sa.name=\"cartesian\";Sa.attr=[\"xaxis\",\"yaxis\"];Sa.idRoot=[\"x\",\"y\"];Sa.idRegex=ui.idRegex;Sa.attrRegex=ui.attrRegex;Sa.attributes=fL();Sa.layoutAttributes=jn();Sa.supplyLayoutDefaults=zL();Sa.transitionAxes=IL();Sa.finalizeSubplots=function(e,r){var t=r._subplots,a=t.xaxis,n=t.yaxis,i=t.cartesian,l=i,o={},s={},u,f,v;for(u=0;u<l.length;u++){var h=l[u].split(\"y\");o[h[0]]=1,s[\"y\"+h[1]]=1}for(u=0;u<a.length;u++)f=a[u],o[f]||(v=(e[Il.id2name(f)]||{}).anchor,ui.idRegex.y.test(v)||(v=\"y\"),i.push(f+v),l.push(f+v),s[v]||(s[v]=1,Zo.pushUnique(n,v)));for(u=0;u<n.length;u++)v=n[u],s[v]||(f=(e[Il.id2name(v)]||{}).anchor,ui.idRegex.x.test(f)||(f=\"x\"),i.push(f+v),l.push(f+v),o[f]||(o[f]=1,Zo.pushUnique(a,f)));if(!l.length){f=\"\",v=\"\";for(var d in e)if(ui.attrRegex.test(d)){var m=d.charAt(0);m===\"x\"?(!f||+d.slice(5)<+f.slice(5))&#038;&#038;(f=d):(!v||+d.slice(5)<+v.slice(5))&#038;&#038;(v=d)}f=f?Il.name2id(f):\"x\",v=v?Il.name2id(v):\"y\",a.push(f),n.push(v),i.push(f+v)}};Sa.plot=function(e,r,t,a){var n=e._fullLayout,i=n._subplots.cartesian,l=e.calcdata,o;if(!Array.isArray(r))for(r=[],o=0;o<l.length;o++)r.push(o);for(var s=n._zindices,u=0;u<s.length;u++){var f=s[u];for(o=0;o<i.length;o++){var v=i[o],h=n._plots[v];if(u>0){var d=h.id;if(d.indexOf(Jo)!==-1)continue;d+=Jo+(u+1),h=Zo.extendFlat({},h,{id:d,plot:n._cartesianlayer.selectAll(\".subplot\").select(\".\"+d)})}for(var m=[],y,g=0;g<l.length;g++){var _=l[g],T=_[0].trace;f===(T.zorder||0)&#038;&#038;T.xaxis+T.yaxis===v&#038;&#038;((r.indexOf(T.index)!==-1||T.carpet)&#038;&#038;(y&#038;&#038;y[0].trace.xaxis+y[0].trace.yaxis===v&#038;&#038;[\"tonextx\",\"tonexty\",\"tonext\"].indexOf(T.fill)!==-1&#038;&#038;m.indexOf(y)===-1&#038;&#038;m.push(y),m.push(_)),y=_)}BL(e,h,m,t,a)}}};function BL(e,r,t,a,n){for(var i=ui.traceLayerClasses,l=e._fullLayout,o=l._zindices,s=l._modules,u,f,v,h=[],d=[],m=0;m<o.length;m++)for(var y=o[m],g=0;g<s.length;g++){u=s[g];var _=u.name,T=HL.modules[_].categories;if(T.svg){var w=u.layerName||_+\"layer\",b=w+(m?Number(m)+1:\"\"),M=u.plot;f=OL(t,M,y),v=f[0],t=f[1],v.length&#038;&#038;h.push({i:i.indexOf(w),zindex:m,className:b,plotMethod:M,cdModule:v}),T.zoomScale&#038;&#038;d.push(\".\"+b)}}h.sort(function(q,D){return(q.zindex||0)-(D.zindex||0)||q.i-D.i});var S=r.plot.selectAll(\"g.mlayer\").data(h,function(q){return q.className});if(S.enter().append(\"g\").attr(\"class\",function(q){return q.className}).classed(\"mlayer\",!0).classed(\"rangeplot\",r.isRangePlot),S.exit().remove(),S.order(),S.each(function(q){var D=Ld.select(this),P=q.className;q.plotMethod(e,r,q.cdModule,D,a,n),ui.clipOnAxisFalseQuery.indexOf(\".\"+P)===-1&#038;&#038;zj.setClipUrl(D,r.layerClipId,e)}),l._has(\"scattergl\")&#038;&#038;(u=HL.getModule(\"scattergl\"),v=OL(t,u)[0],u.plot(e,r,v)),!e._context.staticPlot&#038;&#038;(r._hasClipOnAxisFalse&#038;&#038;(r.clipOnAxisFalseTraces=r.plot.selectAll(ui.clipOnAxisFalseQuery.join(\",\")).selectAll(\".trace\")),d.length)){var k=r.plot.selectAll(d.join(\",\")).selectAll(\".trace\");r.zoomScalePts=k.selectAll(\"path.point\"),r.zoomScaleTxt=k.selectAll(\".textpoint\")}}Sa.clean=function(e,r,t,a){var n=a._plots||{},i=r._plots||{},l=a._subplots||{},o,s,u;if(a._hasOnlyLargeSploms&#038;&#038;!r._hasOnlyLargeSploms)for(u in n)o=n[u],o.plotgroup&#038;&#038;o.plotgroup.remove();var f=a._has&#038;&#038;a._has(\"gl\"),v=r._has&#038;&#038;r._has(\"gl\");if(f&#038;&#038;!v)for(u in n)o=n[u],o._scene&#038;&#038;o._scene.destroy();if(l.xaxis&#038;&#038;l.yaxis){var h=Il.listIds({_fullLayout:a});for(s=0;s<h.length;s++){var d=h[s];r[Il.id2name(d)]||a._infolayer.selectAll(\".g-\"+d+\"title\").remove()}}var m=a._has&#038;&#038;a._has(\"cartesian\"),y=r._has&#038;&#038;r._has(\"cartesian\");if(m&#038;&#038;!y)UL(a._cartesianlayer.selectAll(\".subplot\"),a),a._defs.selectAll(\".axesclip\").remove(),delete a._axisConstraintGroups,delete a._axisMatchGroups;else if(l.cartesian)for(s=0;s<l.cartesian.length;s++){var g=l.cartesian[s];if(g.indexOf(Jo)===-1&#038;&#038;!i[g]){var _=\".\"+g+\",.\"+g+\"-x,.\"+g+\"-y\";a._cartesianlayer.selectAll(_).remove(),VL(g,a)}}};Sa.drawFramework=function(e){var r=e._fullLayout,t=e.calcdata,a,n={};for(a=0;a<t.length;a++){var i=t[a][0],l=i.trace,o=l.zorder||0;n[o]||(n[o]=[]),n[o].push(i)}var s=Object.keys(n).map(Number).sort(Zo.sorterAsc);s.length||(s=[0]),r._zindices=s;var u=Fj(e),f=u.length,v=[];for(a=0;a<f;a++)v[a]=u[a].slice();for(var h=1;h<s.length;h++){var d=[];for(a=0;a<f;a++)d[a]=u[a].slice(),d[a][0]+=Jo+(h+1);v=v.concat(d)}var m=r._cartesianlayer.selectAll(\".subplot\").data(v,String);m.enter().append(\"g\").attr(\"class\",function(y){return\"subplot \"+y[0]}),m.order(),m.exit().call(UL,r),m.each(function(y){var g=y[0],_=g.indexOf(Jo),T=_!==-1,w=T?g.slice(0,_):g,b=r._plots[g];b||(b=Zo.extendFlat({},r._plots[w]),b&#038;&#038;(b.id=g,r._plots[g]=b,r._subplots.cartesian.push(g))),b&#038;&#038;(b.plotgroup=Ld.select(this),YL(e,b),T||(b.draglayer=Zr(r._draggers,\"g\",g)))})};Sa.rangePlot=function(e,r,t){YL(e,r),BL(e,r,t),Rj.style(e)};function Fj(e){var r=e._fullLayout,t=r._zindices.length,a=r._subplots.cartesian,n=a.length,i,l,o,s,u,f,v=[],h=[];for(i=0;i<n;i++){o=a[i],s=r._plots[o],u=s.xaxis,f=s.yaxis;var d=u._mainAxis,m=f._mainAxis,y=d._id+m._id,g=r._plots[y];s.overlays=[],y!==o&#038;&#038;g?(s.mainplot=y,s.mainplotinfo=g,h.push(o)):(s.mainplot=void 0,s.mainplotinfo=void 0,v.push(o))}for(i=0;i<h.length;i++)o=h[i],s=r._plots[o],s.mainplotinfo.overlays.push(s);var _=v.concat(h),T=[];for(i=0;i<n;i++){o=_[i],s=r._plots[o],u=s.xaxis,f=s.yaxis;for(var w=[],b=1;b<=t;b++){var M=\"\";for(b>1&&(M+=Jo+b),w.push(o+M),l=0;l<s.overlays.length;l++)w.push(s.overlays[l].id+M)}w=w.concat([u.layer,f.layer,u.overlaying||\"\",f.overlaying||\"\"]),T.push(w)}return T}function YL(e,r){var t=e._fullLayout,a=r.plotgroup,n=r.id,i=n.indexOf(Jo),l=i!==-1,o=ui.layerValue2layerClass[r.xaxis.layer],s=ui.layerValue2layerClass[r.yaxis.layer],u=t._hasOnlyLargeSploms,f=t._zindices.length>1,v=r.mainplotinfo;if(!r.mainplot||f)if(u)r.xlines=Zr(a,\"path\",\"xlines-above\"),r.ylines=Zr(a,\"path\",\"ylines-above\"),r.xaxislayer=Zr(a,\"g\",\"xaxislayer-above\"),r.yaxislayer=Zr(a,\"g\",\"yaxislayer-above\");else{if(!l){var h=Zr(a,\"g\",\"layer-subplot\");r.shapelayer=Zr(h,\"g\",\"shapelayer\"),r.imagelayer=Zr(h,\"g\",\"imagelayer\"),v&&f?(r.minorGridlayer=v.minorGridlayer,r.gridlayer=v.gridlayer,r.zerolinelayer=v.zerolinelayer):(r.minorGridlayer=Zr(a,\"g\",\"minor-gridlayer\"),r.gridlayer=Zr(a,\"g\",\"gridlayer\"),r.zerolinelayer=Zr(a,\"g\",\"zerolinelayer\"));var d=Zr(a,\"g\",\"layer-between\");r.shapelayerBetween=Zr(d,\"g\",\"shapelayer\"),r.imagelayerBetween=Zr(d,\"g\",\"imagelayer\"),Zr(a,\"path\",\"xlines-below\"),Zr(a,\"path\",\"ylines-below\"),r.overlinesBelow=Zr(a,\"g\",\"overlines-below\"),Zr(a,\"g\",\"xaxislayer-below\"),Zr(a,\"g\",\"yaxislayer-below\"),r.overaxesBelow=Zr(a,\"g\",\"overaxes-below\")}r.overplot=Zr(a,\"g\",\"overplot\"),r.plot=Zr(r.overplot,\"g\",n),v&&f?r.zerolinelayerAbove=v.zerolinelayerAbove:r.zerolinelayerAbove=Zr(a,\"g\",\"zerolinelayer-above\"),l||(r.xlines=Zr(a,\"path\",\"xlines-above\"),r.ylines=Zr(a,\"path\",\"ylines-above\"),r.overlinesAbove=Zr(a,\"g\",\"overlines-above\"),Zr(a,\"g\",\"xaxislayer-above\"),Zr(a,\"g\",\"yaxislayer-above\"),r.overaxesAbove=Zr(a,\"g\",\"overaxes-above\"),r.xlines=a.select(\".xlines-\"+o),r.ylines=a.select(\".ylines-\"+s),r.xaxislayer=a.select(\".xaxislayer-\"+o),r.yaxislayer=a.select(\".yaxislayer-\"+s))}else{var m=v.plotgroup,y=n+\"-x\",g=n+\"-y\";r.minorGridlayer=v.minorGridlayer,r.gridlayer=v.gridlayer,r.zerolinelayer=v.zerolinelayer,r.zerolinelayerAbove=v.zerolinelayerAbove,Zr(v.overlinesBelow,\"path\",y),Zr(v.overlinesBelow,\"path\",g),Zr(v.overaxesBelow,\"g\",y),Zr(v.overaxesBelow,\"g\",g),r.plot=Zr(v.overplot,\"g\",n),Zr(v.overlinesAbove,\"path\",y),Zr(v.overlinesAbove,\"path\",g),Zr(v.overaxesAbove,\"g\",y),Zr(v.overaxesAbove,\"g\",g),r.xlines=m.select(\".overlines-\"+o).select(\".\"+y),r.ylines=m.select(\".overlines-\"+s).select(\".\"+g),r.xaxislayer=m.select(\".overaxes-\"+o).select(\".\"+y),r.yaxislayer=m.select(\".overaxes-\"+s).select(\".\"+g)}l||(u||(Sd(r.minorGridlayer,\"g\",r.xaxis._id),Sd(r.minorGridlayer,\"g\",r.yaxis._id),r.minorGridlayer.selectAll(\"g\").map(function(_){return _[0]}).sort(Il.idSort),Sd(r.gridlayer,\"g\",r.xaxis._id),Sd(r.gridlayer,\"g\",r.yaxis._id),r.gridlayer.selectAll(\"g\").map(function(_){return _[0]}).sort(Il.idSort)),r.xlines.style(\"fill\",\"none\").classed(\"crisp\",!0),r.ylines.style(\"fill\",\"none\").classed(\"crisp\",!0))}function UL(e,r){if(e){var t={};e.each(function(s){var u=s[0],f=Ld.select(this);f.remove(),VL(u,r),t[u]=!0});for(var a in r._plots)for(var n=r._plots[a],i=n.overlays||[],l=0;l<i.length;l++){var o=i[l];t[o.id]&#038;&#038;o.plot.selectAll(\".trace\").remove()}}}function VL(e,r){r._draggers.selectAll(\"g.\"+e).remove(),r._defs.select(\"#clip\"+r._uid+e+\"plot\").remove()}Sa.toSVG=function(e){var r=e._fullLayout._glimages,t=Ld.select(e).selectAll(\".svg-container\"),a=t.filter(function(i,l){return l===t.size()-1}).selectAll(\".gl-canvas-context, .gl-canvas-focus\");function n(){var i=this,l=i.toDataURL(\"image\/png\"),o=r.append(\"svg:image\");o.attr({xmlns:Nj.svg,\"xlink:href\":l,preserveAspectRatio:\"none\",x:0,y:0,width:i.style.width,height:i.style.height})}a.each(n)};Sa.updateFx=Sg().updateFx});var WL=K((lce,GL)=>{\"use strict\";var Dd=un();GL.exports={hasLines:Dd.hasLines,hasMarkers:Dd.hasMarkers,hasText:Dd.hasText,isBubble:Dd.isBubble,attributes:Yo(),layoutAttributes:l0(),supplyDefaults:iS(),crossTraceDefaults:sS(),supplyLayoutDefaults:fS(),calc:i2().calc,crossTraceCalc:NS(),arraysToCalcdata:jg(),plot:KS(),colorbar:d2(),formatLabels:jS(),style:g2().style,styleOnSelect:g2().styleOnSelect,hoverPoints:iL(),selectPoints:sL(),animatable:!0,moduleType:\"trace\",name:\"scatter\",basePlotModule:qd(),categories:[\"cartesian\",\"svg\",\"symbols\",\"errorBarsOK\",\"showLegend\",\"scatter-like\",\"zoomScale\"],meta:{}}});var JL=K((oce,ZL)=>{\"use strict\";var Ij=zr(),Hj=Er(),XL=xg(),k2=Fe(),Oj=k2.strScale,Bj=k2.strRotate,Yj=k2.strTranslate;ZL.exports=function(r,t,a){var n=r.node(),i=XL[a.arrowhead||0],l=XL[a.startarrowhead||0],o=(a.arrowwidth||1)*(a.arrowsize||1),s=(a.arrowwidth||1)*(a.startarrowsize||1),u=t.indexOf(\"start\")>=0,f=t.indexOf(\"end\")>=0,v=i.backoff*o+a.standoff,h=l.backoff*s+a.startstandoff,d,m,y,g;if(n.nodeName===\"line\"){d={x:+r.attr(\"x1\"),y:+r.attr(\"y1\")},m={x:+r.attr(\"x2\"),y:+r.attr(\"y2\")};var _=d.x-m.x,T=d.y-m.y;if(y=Math.atan2(T,_),g=y+Math.PI,v&&h&&v+h>Math.sqrt(_*_+T*T)){I();return}if(v){if(v*v>_*_+T*T){I();return}var w=v*Math.cos(y),b=v*Math.sin(y);m.x+=w,m.y+=b,r.attr({x2:m.x,y2:m.y})}if(h){if(h*h>_*_+T*T){I();return}var M=h*Math.cos(y),S=h*Math.sin(y);d.x-=M,d.y-=S,r.attr({x1:d.x,y1:d.y})}}else if(n.nodeName===\"path\"){var k=n.getTotalLength(),q=\"\";if(k<v+h){I();return}var D=n.getPointAtLength(0),P=n.getPointAtLength(.1);y=Math.atan2(D.y-P.y,D.x-P.x),d=n.getPointAtLength(Math.min(h,k)),q=\"0px,\"+h+\"px,\";var z=n.getPointAtLength(k),F=n.getPointAtLength(k-.1);g=Math.atan2(z.y-F.y,z.x-F.x),m=n.getPointAtLength(Math.max(0,k-v));var O=q?h+v:v;q+=k-O+\"px,\"+k+\"px\",r.style(\"stroke-dasharray\",q)}function I(){r.style(\"stroke-dasharray\",\"0px,100px\")}function V(J,G,U,H){J.path&#038;&#038;(J.noRotate&#038;&#038;(U=0),Ij.select(n.parentNode).append(\"path\").attr({class:r.attr(\"class\"),d:J.path,transform:Yj(G.x,G.y)+Bj(U*180\/Math.PI)+Oj(H)}).style({fill:Hj.rgb(a.arrowcolor),\"stroke-width\":0}))}u&#038;&#038;V(l,d,y,s),f&#038;&#038;V(i,m,g,o)}});var Ed=K((sce,eq)=>{\"use strict\";var KL=zr(),C2=br(),Uj=It(),Ol=Fe(),S2=Ol.strTranslate,Mc=pt(),Ko=Er(),tl=tt(),QL=ni(),L2=ba(),q2=Ll(),Tc=ti(),Vj=ct().arrayEditor,Gj=JL();eq.exports={draw:Wj,drawOne:$L,drawRaw:jL};function Wj(e){var r=e._fullLayout;r._infolayer.selectAll(\".annotation\").remove();for(var t=0;t<r.annotations.length;t++)r.annotations[t].visible&#038;&#038;$L(e,t);return Uj.previousPromises(e)}function $L(e,r){var t=e._fullLayout,a=t.annotations[r]||{},n=Mc.getFromId(e,a.xref),i=Mc.getFromId(e,a.yref);n&#038;&#038;n.setScale(),i&#038;&#038;i.setScale(),jL(e,a,r,!1,n,i)}function Hl(e,r,t,a,n){var i=n[t],l=n[t+\"ref\"],o=t.indexOf(\"y\")!==-1,s=Mc.getRefType(l)===\"domain\",u=o?a.h:a.w;return e?s?i+(o?-r:r)\/e._length:e.p2r(e.r2p(i)+r):i+(o?-r:r)\/u}function jL(e,r,t,a,n,i){var l=e._fullLayout,o=e._fullLayout._size,s=e._context.edits,u,f;a?(u=\"annotation-\"+a,f=a+\".annotations\"):(u=\"annotation\",f=\"annotations\");var v=Vj(e.layout,f,r),h=v.modifyBase,d=v.modifyItem,m=v.getUpdateObj;l._infolayer.selectAll(\".\"+u+'[data-index=\"'+t+'\"]').remove();var y=\"clip\"+l._uid+\"_ann\"+t;if(!r._input||r.visible===!1){KL.selectAll(\"#\"+y).remove();return}var g={x:{},y:{}},_=+r.textangle||0,T=l._infolayer.append(\"g\").classed(u,!0).attr(\"data-index\",String(t)).style(\"opacity\",r.opacity),w=T.append(\"g\").classed(\"annotation-text-g\",!0),b=s[r.showarrow?\"annotationTail\":\"annotationPosition\"],M=r.captureevents||s.annotationText||b;function S(H){var Q={index:t,annotation:r._input,fullAnnotation:r,event:H};return a&#038;&#038;(Q.subplotId=a),Q}var k=w.append(\"g\").style(\"pointer-events\",M?\"all\":null).call(q2,\"pointer\").on(\"click\",function(){e._dragging=!1,e.emit(\"plotly_clickannotation\",S(KL.event))});r.hovertext&#038;&#038;k.on(\"mouseover\",function(){var H=r.hoverlabel,Q=H.font,Z=this.getBoundingClientRect(),ne=e.getBoundingClientRect();QL.loneHover({x0:Z.left-ne.left,x1:Z.right-ne.left,y:(Z.top+Z.bottom)\/2-ne.top,text:r.hovertext,color:H.bgcolor,borderColor:H.bordercolor,fontFamily:Q.family,fontSize:Q.size,fontColor:Q.color,fontWeight:Q.weight,fontStyle:Q.style,fontVariant:Q.variant,fontShadow:Q.fontShadow,fontLineposition:Q.fontLineposition,fontTextcase:Q.fontTextcase},{container:l._hoverlayer.node(),outerContainer:l._paper.node(),gd:e})}).on(\"mouseout\",function(){QL.loneUnhover(l._hoverlayer.node())});var q=r.borderwidth,D=r.borderpad,P=q+D,z=k.append(\"rect\").attr(\"class\",\"bg\").style(\"stroke-width\",q+\"px\").call(Ko.stroke,r.bordercolor).call(Ko.fill,r.bgcolor),F=r.width||r.height,O=l._topclips.selectAll(\"#\"+y).data(F?[0]:[]);O.enter().append(\"clipPath\").classed(\"annclip\",!0).attr(\"id\",y).append(\"rect\"),O.exit().remove();var I=r.font,V=l._meta?Ol.templateString(r.text,l._meta):r.text,J=k.append(\"text\").classed(\"annotation-text\",!0).text(V);function G(H){return H.call(tl.font,I).attr({\"text-anchor\":{left:\"start\",right:\"end\"}[r.align]||\"middle\"}),L2.convertToTspans(H,e,U),H}function U(){var H=J.selectAll(\"a\");if(H.size()===1&#038;&#038;H.text()===J.text()){var Q=k.insert(\"a\",\":first-child\").attr({\"xlink:xlink:href\":H.attr(\"xlink:href\"),\"xlink:xlink:show\":H.attr(\"xlink:show\")}).style({cursor:\"pointer\"});Q.node().appendChild(z.node())}var Z=k.select(\".annotation-text-math-group\"),ne=!Z.empty(),ce=tl.bBox((ne?Z:J).node()),ye=ce.width,Ce=ce.height,re=r.width||ye,Se=r.height||Ce,pe=Math.round(re+2*P),be=Math.round(Se+2*P);function Ae(qe,Pe){return Pe===\"auto\"&#038;&#038;(qe<1\/3?Pe=\"left\":qe>2\/3?Pe=\"right\":Pe=\"center\"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[Pe]}for(var ge=!1,B=[\"x\",\"y\"],$=0;$<B.length;$++){var Y=B[$],le=r[Y+\"ref\"]||Y,he=r[\"a\"+Y+\"ref\"],me={x:n,y:i}[Y],Re=(_+(Y===\"x\"?0:-90))*Math.PI\/180,Ee=pe*Math.cos(Re),Le=be*Math.sin(Re),Ve=Math.abs(Ee)+Math.abs(Le),Ie=r[Y+\"anchor\"],Xe=r[Y+\"shift\"]*(Y===\"x\"?1:-1),De=g[Y],He,We,ie,xe,Ke,hr=Mc.getRefType(le);if(me&#038;&#038;hr!==\"domain\"){var ze=me.r2fraction(r[Y]);(ze<0||ze>1)&&(he===le?(ze=me.r2fraction(r[\"a\"+Y]),(ze<0||ze>1)&&(ge=!0)):ge=!0),He=me._offset+me.r2p(r[Y]),xe=.5}else{var Me=hr===\"domain\";Y===\"x\"?(ie=r[Y],He=Me?me._offset+me._length*ie:He=o.l+o.w*ie):(ie=1-r[Y],He=Me?me._offset+me._length*ie:He=o.t+o.h*ie),xe=r.showarrow?.5:ie}if(r.showarrow){De.head=He;var ke=r[\"a\"+Y];if(Ke=Ee*Ae(.5,r.xanchor)-Le*Ae(.5,r.yanchor),he===le){var Oe=Mc.getRefType(he);Oe===\"domain\"?(Y===\"y\"&&(ke=1-ke),De.tail=me._offset+me._length*ke):Oe===\"paper\"?Y===\"y\"?(ke=1-ke,De.tail=o.t+o.h*ke):De.tail=o.l+o.w*ke:De.tail=me._offset+me.r2p(ke),We=Ke}else De.tail=He+ke,We=Ke+ke;De.text=De.tail+Ke;var Ze=l[Y===\"x\"?\"width\":\"height\"];if(le===\"paper\"&&(De.head=Ol.constrain(De.head,1,Ze-1)),he===\"pixel\"){var Ue=-Math.max(De.tail-3,De.text),Ge=Math.min(De.tail+3,De.text)-Ze;Ue>0?(De.tail+=Ue,De.text+=Ue):Ge>0&&(De.tail-=Ge,De.text-=Ge)}De.tail+=Xe,De.head+=Xe}else Ke=Ve*Ae(xe,Ie),We=Ke,De.text=He+Ke;De.text+=Xe,Ke+=Xe,We+=Xe,r[\"_\"+Y+\"padplus\"]=Ve\/2+We,r[\"_\"+Y+\"padminus\"]=Ve\/2-We,r[\"_\"+Y+\"size\"]=Ve,r[\"_\"+Y+\"shift\"]=Ke}if(ge){k.remove();return}var ir=0,ar=0;if(r.align!==\"left\"&&(ir=(re-ye)*(r.align===\"center\"?.5:1)),r.valign!==\"top\"&&(ar=(Se-Ce)*(r.valign===\"middle\"?.5:1)),ne)Z.select(\"svg\").attr({x:P+ir-1,y:P+ar}).call(tl.setClipUrl,F?y:null,e);else{var er=P+ar-ce.top,Ne=P+ir-ce.left;J.call(L2.positionText,Ne,er).call(tl.setClipUrl,F?y:null,e)}O.select(\"rect\").call(tl.setRect,P,P,re,Se),z.call(tl.setRect,q\/2,q\/2,pe-q,be-q),k.call(tl.setTranslate,Math.round(g.x.text-pe\/2),Math.round(g.y.text-be\/2)),w.attr({transform:\"rotate(\"+_+\",\"+g.x.text+\",\"+g.y.text+\")\"});var ae=function(qe,Pe){T.selectAll(\".annotation-arrow-g\").remove();var $e=g.x.head,cr=g.y.head,sr=g.x.tail+qe,Mr=g.y.tail+Pe,Ir=g.x.text+qe,Jr=g.y.text+Pe,lt=Ol.rotationXYMatrix(_,Ir,Jr),_t=Ol.apply2DTransform(lt),gt=Ol.apply2DTransform2(lt),Yt=+z.attr(\"width\"),zt=+z.attr(\"height\"),Ba=Ir-.5*Yt,ha=Ba+Yt,na=Jr-.5*zt,Ya=na+zt,ia=[[Ba,na,Ba,Ya],[Ba,Ya,ha,Ya],[ha,Ya,ha,na],[ha,na,Ba,na]].map(gt);if(!ia.reduce(function(vt,Nt){return vt^!!Ol.segmentsIntersect($e,cr,$e+1e6,cr+1e6,Nt[0],Nt[1],Nt[2],Nt[3])},!1)){ia.forEach(function(vt){var Nt=Ol.segmentsIntersect(sr,Mr,$e,cr,vt[0],vt[1],vt[2],vt[3]);Nt&&(sr=Nt.x,Mr=Nt.y)});var la=r.arrowwidth,vr=r.arrowcolor,ot=r.arrowside,Xr=T.append(\"g\").style({opacity:Ko.opacity(vr)}).classed(\"annotation-arrow-g\",!0),nt=Xr.append(\"path\").attr(\"d\",\"M\"+sr+\",\"+Mr+\"L\"+$e+\",\"+cr).style(\"stroke-width\",la+\"px\").call(Ko.stroke,Ko.rgb(vr));if(Gj(nt,ot,r),s.annotationPosition&&nt.node().parentNode&&!a){var oa=$e,sa=cr;if(r.standoff){var at=Math.sqrt(Math.pow($e-sr,2)+Math.pow(cr-Mr,2));oa+=r.standoff*(sr-$e)\/at,sa+=r.standoff*(Mr-cr)\/at}var Xa=Xr.append(\"path\").classed(\"annotation-arrow\",!0).classed(\"anndrag\",!0).classed(\"cursor-move\",!0).attr({d:\"M3,3H-3V-3H3ZM0,0L\"+(sr-oa)+\",\"+(Mr-sa),transform:S2(oa,sa)}).style(\"stroke-width\",la+6+\"px\").call(Ko.stroke,\"rgba(0,0,0,0)\").call(Ko.fill,\"rgba(0,0,0,0)\"),Un,Kt;Tc.init({element:Xa.node(),gd:e,prepFn:function(){var vt=tl.getTranslate(k);Un=vt.x,Kt=vt.y,n&&n.autorange&&h(n._name+\".autorange\",!0),i&&i.autorange&&h(i._name+\".autorange\",!0)},moveFn:function(vt,Nt){var Ft=_t(Un,Kt),$l=Ft[0]+vt,sl=Ft[1]+Nt;k.call(tl.setTranslate,$l,sl),d(\"x\",Hl(n,vt,\"x\",o,r)),d(\"y\",Hl(i,Nt,\"y\",o,r)),r.axref===r.xref&&d(\"ax\",Hl(n,vt,\"ax\",o,r)),r.ayref===r.yref&&d(\"ay\",Hl(i,Nt,\"ay\",o,r)),Xr.attr(\"transform\",S2(vt,Nt)),w.attr({transform:\"rotate(\"+_+\",\"+$l+\",\"+sl+\")\"})},doneFn:function(){C2.call(\"_guiRelayout\",e,m());var vt=document.querySelector(\".js-notes-box-panel\");vt&&vt.redraw(vt.selectedObj)}})}}};if(r.showarrow&&ae(0,0),b){var oe;Tc.init({element:k.node(),gd:e,prepFn:function(){oe=w.attr(\"transform\")},moveFn:function(qe,Pe){var $e=\"pointer\";if(r.showarrow)r.axref===r.xref?d(\"ax\",Hl(n,qe,\"ax\",o,r)):d(\"ax\",r.ax+qe),r.ayref===r.yref?d(\"ay\",Hl(i,Pe,\"ay\",o.w,r)):d(\"ay\",r.ay+Pe),ae(qe,Pe);else{if(a)return;var cr,sr;if(n)cr=Hl(n,qe,\"x\",o,r);else{var Mr=r._xsize\/o.w,Ir=r.x+(r._xshift-r.xshift)\/o.w-Mr\/2;cr=Tc.align(Ir+qe\/o.w,Mr,0,1,r.xanchor)}if(i)sr=Hl(i,Pe,\"y\",o,r);else{var Jr=r._ysize\/o.h,lt=r.y-(r._yshift+r.yshift)\/o.h-Jr\/2;sr=Tc.align(lt-Pe\/o.h,Jr,0,1,r.yanchor)}d(\"x\",cr),d(\"y\",sr),(!n||!i)&&($e=Tc.getCursor(n?.5:cr,i?.5:sr,r.xanchor,r.yanchor))}w.attr({transform:S2(qe,Pe)+oe}),q2(k,$e)},clickFn:function(qe,Pe){r.captureevents&&e.emit(\"plotly_clickannotation\",S(Pe))},doneFn:function(){q2(k),C2.call(\"_guiRelayout\",e,m());var qe=document.querySelector(\".js-notes-box-panel\");qe&&qe.redraw(qe.selectedObj)}})}}s.annotationText?J.call(L2.makeEditable,{delegate:k,gd:e}).call(G).on(\"edit\",function(H){r.text=H,this.call(G),d(\"text\",H),n&&n.autorange&&h(n._name+\".autorange\",!0),i&&i.autorange&&h(i._name+\".autorange\",!0),C2.call(\"_guiRelayout\",e,m())}):J.call(G)}});var lq=K((uce,iq)=>{\"use strict\";var rq=Fe(),Xj=br(),tq=ct().arrayEditor;iq.exports={hasClickToShow:Zj,onClick:Jj};function Zj(e,r){var t=nq(e,r);return t.on.length>0||t.explicitOff.length>0}function Jj(e,r){var t=nq(e,r),a=t.on,n=t.off.concat(t.explicitOff),i={},l=e._fullLayout.annotations,o,s;if(a.length||n.length){for(o=0;o<a.length;o++)s=tq(e.layout,\"annotations\",l[a[o]]),s.modifyItem(\"visible\",!0),rq.extendFlat(i,s.getUpdateObj());for(o=0;o<n.length;o++)s=tq(e.layout,\"annotations\",l[n[o]]),s.modifyItem(\"visible\",!1),rq.extendFlat(i,s.getUpdateObj());return Xj.call(\"update\",e,{},i)}}function nq(e,r){var t=e._fullLayout.annotations,a=[],n=[],i=[],l=(r||[]).length,o,s,u,f,v,h,d,m;for(o=0;o<t.length;o++)if(u=t[o],f=u.clicktoshow,f){for(s=0;s<l;s++)if(v=r[s],h=v.xaxis,d=v.yaxis,h._id===u.xref&#038;&#038;d._id===u.yref&#038;&#038;h.d2r(v.x)===aq(u._xclick,h)&#038;&#038;d.d2r(v.y)===aq(u._yclick,d)){u.visible?f===\"onout\"?m=n:m=i:m=a,m.push(o);break}s===l&#038;&#038;u.visible&#038;&#038;f===\"onout\"&#038;&#038;n.push(o)}return{on:a,off:n,explicitOff:i}}function aq(e,r){return r.type===\"log\"?r.l2r(e):r.d2r(e)}});var E2=K((fce,oq)=>{\"use strict\";var D2=Fe(),_u=Er();oq.exports=function(r,t,a,n){n(\"opacity\");var i=n(\"bgcolor\"),l=n(\"bordercolor\"),o=_u.opacity(l);n(\"borderpad\");var s=n(\"borderwidth\"),u=n(\"showarrow\");n(\"text\",u?\" \":a._dfltTitle.annotation),n(\"textangle\"),D2.coerceFont(n,\"font\",a.font),n(\"width\"),n(\"align\");var f=n(\"height\");if(f&&n(\"valign\"),u){var v=n(\"arrowside\"),h,d;v.indexOf(\"end\")!==-1&&(h=n(\"arrowhead\"),d=n(\"arrowsize\")),v.indexOf(\"start\")!==-1&&(n(\"startarrowhead\",h),n(\"startarrowsize\",d)),n(\"arrowcolor\",o?t.bordercolor:_u.defaultLine),n(\"arrowwidth\",(o&&s||1)*2),n(\"standoff\"),n(\"startstandoff\")}var m=n(\"hovertext\"),y=a.hoverlabel||{};if(m){var g=n(\"hoverlabel.bgcolor\",y.bgcolor||(_u.opacity(i)?_u.rgb(i):_u.defaultLine)),_=n(\"hoverlabel.bordercolor\",y.bordercolor||_u.contrast(g)),T=D2.extendFlat({},y.font);T.color||(T.color=_),D2.coerceFont(n,\"hoverlabel.font\",T)}n(\"captureevents\",!!m)}});var uq=K((cce,sq)=>{\"use strict\";var P2=Fe(),Qo=pt(),Kj=ei(),Qj=E2(),$j=cu();sq.exports=function(r,t){Kj(r,t,{name:\"annotations\",handleItemDefaults:jj})};function jj(e,r,t){function a(w,b){return P2.coerce(e,r,$j,w,b)}var n=a(\"visible\"),i=a(\"clicktoshow\");if(n||i){Qj(e,r,t,a);for(var l=r.showarrow,o=[\"x\",\"y\"],s=[-10,-30],u={_fullLayout:t},f=0;f<2;f++){var v=o[f],h=Qo.coerceRef(e,r,u,v,\"\",\"paper\");if(h!==\"paper\"){var d=Qo.getFromId(u,h);d._annIndices.push(r._index)}if(Qo.coercePosition(r,u,a,h,v,.5),l){var m=\"a\"+v,y=Qo.coerceRef(e,r,u,m,\"pixel\",[\"pixel\",\"paper\"]);y!==\"pixel\"&#038;&#038;y!==h&#038;&#038;(y=r[m]=\"pixel\");var g=y===\"pixel\"?s[f]:.4;Qo.coercePosition(r,u,a,y,m,g)}a(v+\"anchor\"),a(v+\"shift\")}if(P2.noneOrAll(e,r,[\"x\",\"y\"]),l&#038;&#038;P2.noneOrAll(e,r,[\"ax\",\"ay\"]),i){var _=a(\"xclick\"),T=a(\"yclick\");r._xclick=_===void 0?r.x:Qo.cleanPosition(_,u,r.xref),r._yclick=T===void 0?r.y:Qo.cleanPosition(T,u,r.yref)}}}});var vq=K((vce,cq)=>{\"use strict\";var R2=Fe(),$o=pt(),eee=Ed().draw;cq.exports=function(r){var t=r._fullLayout,a=R2.filterVisible(t.annotations);if(a.length&&r._fullData.length)return R2.syncOrAsync([eee,ree],r)};function ree(e){var r=e._fullLayout;R2.filterVisible(r.annotations).forEach(function(t){var a=$o.getFromId(e,t.xref),n=$o.getFromId(e,t.yref),i=$o.getRefType(t.xref),l=$o.getRefType(t.yref);t._extremes={},i===\"range\"&&fq(t,a),l===\"range\"&&fq(t,n)})}function fq(e,r){var t=r._id,a=t.charAt(0),n=e[a],i=e[\"a\"+a],l=e[a+\"ref\"],o=e[\"a\"+a+\"ref\"],s=e[\"_\"+a+\"padplus\"],u=e[\"_\"+a+\"padminus\"],f={x:1,y:-1}[a]*e[a+\"shift\"],v=3*e.arrowsize*e.arrowwidth||0,h=v+f,d=v-f,m=3*e.startarrowsize*e.arrowwidth||0,y=m+f,g=m-f,_;if(o===l){var T=$o.findExtremes(r,[r.r2c(n)],{ppadplus:h,ppadminus:d}),w=$o.findExtremes(r,[r.r2c(i)],{ppadplus:Math.max(s,y),ppadminus:Math.max(u,g)});_={min:[T.min[0],w.min[0]],max:[T.max[0],w.max[0]]}}else y=i?y+i:y,g=i?g-i:g,_=$o.findExtremes(r,[r.r2c(n)],{ppadplus:Math.max(s,h,y),ppadminus:Math.max(u,d,g)});e._extremes[t]=_}});var dq=K((hce,hq)=>{\"use strict\";var tee=Hr(),aee=Sv();hq.exports=function(r,t,a,n){t=t||{};var i=a===\"log\"&&t.type===\"linear\",l=a===\"linear\"&&t.type===\"log\";if(!(i||l))return;var o=r._fullLayout.annotations,s=t._id.charAt(0),u,f;function v(d){var m=u[d],y=null;i?y=aee(m,t.range):y=Math.pow(10,m),tee(y)||(y=null),n(f+d,y)}for(var h=0;h<o.length;h++)u=o[h],f=\"annotations[\"+h+\"].\",u[s+\"ref\"]===t._id&#038;&#038;v(s),u[\"a\"+s+\"ref\"]===t._id&#038;&#038;v(\"a\"+s)}});var yq=K((dce,mq)=>{\"use strict\";var z2=Ed(),pq=lq();mq.exports={moduleType:\"component\",name:\"annotations\",layoutAttributes:cu(),supplyLayoutDefaults:uq(),includeBasePlot:ic()(\"annotations\"),calcAutorange:vq(),draw:z2.draw,drawOne:z2.drawOne,drawRaw:z2.drawRaw,hasClickToShow:pq.hasClickToShow,onClick:pq.onClick,convertCoords:dq()}});var Pd=K((pce,gq)=>{\"use strict\";var ft=cu(),nee=bi().overrideAll,iee=ct().templatedArray;gq.exports=nee(iee(\"annotation\",{visible:ft.visible,x:{valType:\"any\"},y:{valType:\"any\"},z:{valType:\"any\"},ax:{valType:\"number\"},ay:{valType:\"number\"},xanchor:ft.xanchor,xshift:ft.xshift,yanchor:ft.yanchor,yshift:ft.yshift,text:ft.text,textangle:ft.textangle,font:ft.font,width:ft.width,height:ft.height,opacity:ft.opacity,align:ft.align,valign:ft.valign,bgcolor:ft.bgcolor,bordercolor:ft.bordercolor,borderpad:ft.borderpad,borderwidth:ft.borderwidth,showarrow:ft.showarrow,arrowcolor:ft.arrowcolor,arrowhead:ft.arrowhead,startarrowhead:ft.startarrowhead,arrowside:ft.arrowside,arrowsize:ft.arrowsize,startarrowsize:ft.startarrowsize,arrowwidth:ft.arrowwidth,standoff:ft.standoff,startstandoff:ft.startstandoff,hovertext:ft.hovertext,hoverlabel:ft.hoverlabel,captureevents:ft.captureevents}),\"calc\",\"from-root\")});var xq=K((mce,bq)=>{\"use strict\";var N2=Fe(),lee=pt(),oee=ei(),see=E2(),uee=Pd();bq.exports=function(r,t,a){oee(r,t,{name:\"annotations\",handleItemDefaults:fee,fullLayout:a.fullLayout})};function fee(e,r,t,a){function n(o,s){return N2.coerce(e,r,uee,o,s)}function i(o){var s=o+\"axis\",u={_fullLayout:{}};return u._fullLayout[s]=t[s],lee.coercePosition(r,u,n,o,o,.5)}var l=n(\"visible\");l&&(see(e,r,a.fullLayout,n),i(\"x\"),i(\"y\"),i(\"z\"),N2.noneOrAll(e,r,[\"x\",\"y\",\"z\"]),r.xref=\"x\",r.yref=\"y\",r.zref=\"z\",n(\"xanchor\"),n(\"yanchor\"),n(\"xshift\"),n(\"yshift\"),r.showarrow&&(r.axref=\"pixel\",r.ayref=\"pixel\",n(\"ax\",-10),n(\"ay\",-30),N2.noneOrAll(e,r,[\"ax\",\"ay\"])))}});var Mq=K((yce,Tq)=>{\"use strict\";var _q=Fe(),wq=pt();Tq.exports=function(r){for(var t=r.fullSceneLayout,a=t.annotations,n=0;n<a.length;n++)cee(a[n],r);r.fullLayout._infolayer.selectAll(\".annotation-\"+r.id).remove()};function cee(e,r){var t=r.fullSceneLayout,a=t.domain,n=r.fullLayout._size,i={pdata:null,type:\"linear\",autorange:!1,range:[-1\/0,1\/0]};e._xa={},_q.extendFlat(e._xa,i),wq.setConvert(e._xa),e._xa._offset=n.l+a.x[0]*n.w,e._xa.l2p=function(){return .5*(1+e._pdata[0]\/e._pdata[3])*n.w*(a.x[1]-a.x[0])},e._ya={},_q.extendFlat(e._ya,i),wq.setConvert(e._ya),e._ya._offset=n.t+(1-a.y[1])*n.h,e._ya.l2p=function(){return .5*(1-e._pdata[1]\/e._pdata[3])*n.h*(a.y[1]-a.y[0])}}});var kq=K((gce,Aq)=>{\"use strict\";function F2(e,r){var t=[0,0,0,0],a,n;for(a=0;a<4;++a)for(n=0;n<4;++n)t[n]+=e[4*a+n]*r[a];return t}function vee(e,r){var t=F2(e.projection,F2(e.view,F2(e.model,[r[0],r[1],r[2],1])));return t}Aq.exports=vee});var Sq=K((bce,Cq)=>{\"use strict\";var hee=Ed().drawRaw,dee=kq(),pee=[\"x\",\"y\",\"z\"];Cq.exports=function(r){for(var t=r.fullSceneLayout,a=r.dataScale,n=t.annotations,i=0;i<n.length;i++){for(var l=n[i],o=!1,s=0;s<3;s++){var u=pee[s],f=l[u],v=t[u+\"axis\"],h=v.r2fraction(f);if(h<0||h>1){o=!0;break}}o?r.fullLayout._infolayer.select(\".annotation-\"+r.id+'[data-index=\"'+i+'\"]').remove():(l._pdata=dee(r.glplot.cameraParams,[t.xaxis.r2l(l.x)*a[0],t.yaxis.r2l(l.y)*a[1],t.zaxis.r2l(l.z)*a[2]]),hee(r.graphDiv,l,i,r.id,l._xa,l._ya))}}});var Dq=K((xce,qq)=>{\"use strict\";var mee=br(),Lq=Fe();qq.exports={moduleType:\"component\",name:\"annotations3d\",schema:{subplots:{scene:{annotations:Pd()}}},layoutAttributes:Pd(),handleDefaults:xq(),includeBasePlot:yee,convert:Mq(),draw:Sq()};function yee(e,r){var t=mee.subplotsRegistry.gl3d;if(t)for(var a=t.attrRegex,n=Object.keys(e),i=0;i<n.length;i++){var l=n[i];a.test(l)&#038;&#038;(e[l].annotations||[]).length&#038;&#038;(Lq.pushUnique(r._basePlotModules,t),Lq.pushUnique(r._subplots.gl3d,l))}}});var I2=K((Tce,zq)=>{\"use strict\";var _ce=$t(),Eq=ga(),Pq=Yo().line,gee=xi().dash,fi=Wt().extendFlat,bee=ct().templatedArray,wce=ac(),wu=Zn(),Rq=cu(),{shapeTexttemplateAttrs:xee,templatefallbackAttrs:_ee}=co(),wee=Hv();zq.exports=bee(\"shape\",{visible:fi({},wu.visible,{editType:\"calc+arraydraw\"}),showlegend:{valType:\"boolean\",dflt:!1,editType:\"calc+arraydraw\"},legend:fi({},wu.legend,{editType:\"calc+arraydraw\"}),legendgroup:fi({},wu.legendgroup,{editType:\"calc+arraydraw\"}),legendgrouptitle:{text:fi({},wu.legendgrouptitle.text,{editType:\"calc+arraydraw\"}),font:Eq({editType:\"calc+arraydraw\"}),editType:\"calc+arraydraw\"},legendrank:fi({},wu.legendrank,{editType:\"calc+arraydraw\"}),legendwidth:fi({},wu.legendwidth,{editType:\"calc+arraydraw\"}),type:{valType:\"enumerated\",values:[\"circle\",\"rect\",\"path\",\"line\"],editType:\"calc+arraydraw\"},layer:{valType:\"enumerated\",values:[\"below\",\"above\",\"between\"],dflt:\"above\",editType:\"arraydraw\"},xref:fi({},Rq.xref,{arrayOk:!0}),xsizemode:{valType:\"enumerated\",values:[\"scaled\",\"pixel\"],dflt:\"scaled\",editType:\"calc+arraydraw\"},xanchor:{valType:\"any\",editType:\"calc+arraydraw\"},x0:{valType:\"any\",editType:\"calc+arraydraw\"},x1:{valType:\"any\",editType:\"calc+arraydraw\"},x0shift:{valType:\"number\",dflt:0,min:-1,max:1,editType:\"calc\"},x1shift:{valType:\"number\",dflt:0,min:-1,max:1,editType:\"calc\"},yref:fi({},Rq.yref,{arrayOk:!0}),ysizemode:{valType:\"enumerated\",values:[\"scaled\",\"pixel\"],dflt:\"scaled\",editType:\"calc+arraydraw\"},yanchor:{valType:\"any\",editType:\"calc+arraydraw\"},y0:{valType:\"any\",editType:\"calc+arraydraw\"},y1:{valType:\"any\",editType:\"calc+arraydraw\"},y0shift:{valType:\"number\",dflt:0,min:-1,max:1,editType:\"calc\"},y1shift:{valType:\"number\",dflt:0,min:-1,max:1,editType:\"calc\"},path:{valType:\"string\",editType:\"calc+arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"arraydraw\"},line:{color:fi({},Pq.color,{editType:\"arraydraw\"}),width:fi({},Pq.width,{editType:\"calc+arraydraw\"}),dash:fi({},gee,{editType:\"arraydraw\"}),editType:\"calc+arraydraw\"},fillcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"arraydraw\"},fillrule:{valType:\"enumerated\",values:[\"evenodd\",\"nonzero\"],dflt:\"evenodd\",editType:\"arraydraw\"},editable:{valType:\"boolean\",dflt:!1,editType:\"calc+arraydraw\"},label:{text:{valType:\"string\",dflt:\"\",editType:\"arraydraw\"},texttemplate:xee({},{keys:Object.keys(wee)}),texttemplatefallback:_ee({editType:\"arraydraw\"}),font:Eq({editType:\"calc+arraydraw\",colorEditType:\"arraydraw\"}),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\"],editType:\"arraydraw\"},textangle:{valType:\"angle\",dflt:\"auto\",editType:\"calc+arraydraw\"},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"auto\",editType:\"calc+arraydraw\"},yanchor:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],editType:\"calc+arraydraw\"},padding:{valType:\"number\",dflt:3,min:0,editType:\"arraydraw\"},editType:\"arraydraw\"},editType:\"arraydraw\"})});var Fq=K((Mce,Nq)=>{\"use strict\";var Tu=Fe(),mn=pt(),Tee=ei(),Mee=I2(),Ac=Rl();Nq.exports=function(r,t){Tee(r,t,{name:\"shapes\",handleItemDefaults:kee})};function Aee(e,r){return e?\"bottom\":r.indexOf(\"top\")!==-1?\"top\":r.indexOf(\"bottom\")!==-1?\"bottom\":\"middle\"}function kee(e,r,t){function a(w,b){return Tu.coerce(e,r,Mee,w,b)}r._isShape=!0;var n=a(\"visible\");if(!n)return;var i=a(\"showlegend\");a(\"legend\"),a(\"legendgroup\"),i&&(a(\"legendwidth\"),a(\"legendgrouptitle.text\"),Tu.coerceFont(a,\"legendgrouptitle.font\"),a(\"legendrank\"));var l=a(\"path\"),o=l?\"path\":\"rect\",s=a(\"type\",o),u=s!==\"path\";u&&delete r.path,a(\"editable\"),a(\"layer\"),a(\"opacity\"),a(\"fillcolor\"),a(\"fillrule\");var f=a(\"line.width\");f&&(a(\"line.color\"),a(\"line.dash\"));var v=a(\"xsizemode\"),h=a(\"ysizemode\");let d=[.25,.75],m=[0,10];[\"x\",\"y\"].forEach(w=>{var b=w+\"anchor\",M=w===\"x\"?v:h,S={_fullLayout:t},k,q,D,P;let z=w+\"ref\",F=e[z];if(Array.isArray(F)&&F.length>0){let O=Ac.countDefiningCoords(s,l,w);P=mn.coerceRefArray(e,r,S,w,void 0,\"paper\",O),r[\"_\"+w+\"refArray\"]=!0}else P=mn.coerceRef(e,r,S,w,void 0,\"paper\");if(Array.isArray(P))P.forEach(function(O){mn.getRefType(O)===\"range\"&&(k=mn.getFromId(S,O),k&&k._shapeIndices.indexOf(r._index)===-1&&k._shapeIndices.push(r._index))}),u&&[0,1].forEach(function(O){let I=P[O];mn.getRefType(I)===\"range\"?(k=mn.getFromId(S,I),q=Ac.shapePositionToRange(k),D=Ac.rangeToShapePosition(k),(k.type===\"category\"||k.type===\"multicategory\")&&a(w+O+\"shift\")):q=D=Tu.identity;let J=w+O,G=e[J];if(e[J]=q(e[J],!0),M===\"pixel\"?a(J,m[O]):mn.coercePosition(r,S,a,I,J,d[O]),r[J]=D(r[J]),e[J]=G,O===0&&M===\"pixel\"){let U=e[b];e[b]=q(e[b],!0),mn.coercePosition(r,S,a,I,b,.25),r[b]=D(r[b]),e[b]=U}});else{if(mn.getRefType(P)===\"range\"?(k=mn.getFromId(S,P),k._shapeIndices.push(r._index),D=Ac.rangeToShapePosition(k),q=Ac.shapePositionToRange(k),u&&(k.type===\"category\"||k.type===\"multicategory\")&&(a(w+\"0shift\"),a(w+\"1shift\"))):q=D=Tu.identity,u){let I=w+\"0\",V=w+\"1\",J=e[I],G=e[V];e[I]=q(e[I],!0),e[V]=q(e[V],!0),M===\"pixel\"?(a(I,m[0]),a(V,m[1])):(mn.coercePosition(r,S,a,P,I,d[0]),mn.coercePosition(r,S,a,P,V,d[1])),r[I]=D(r[I]),r[V]=D(r[V]),e[I]=J,e[V]=G}if(M===\"pixel\"){let I=e[b];e[b]=q(e[b],!0),mn.coercePosition(r,S,a,P,b,.25),r[b]=D(r[b]),e[b]=I}}}),u&&Tu.noneOrAll(e,r,[\"x0\",\"x1\",\"y0\",\"y1\"]);var y=s===\"line\",g,_;if(u&&(g=a(\"label.texttemplate\"),a(\"label.texttemplatefallback\")),g||(_=a(\"label.text\")),_||g){a(\"label.textangle\");var T=a(\"label.textposition\",y?\"middle\":\"middle center\");a(\"label.xanchor\"),a(\"label.yanchor\",Aee(y,T)),a(\"label.padding\"),Tu.coerceFont(a,\"label.font\",t.font)}}});var Oq=K((Ace,Hq)=>{\"use strict\";var Cee=Er(),Iq=Fe();function See(e,r){return e?\"bottom\":r.indexOf(\"top\")!==-1?\"top\":r.indexOf(\"bottom\")!==-1?\"bottom\":\"middle\"}Hq.exports=function(r,t,a){a(\"newshape.visible\"),a(\"newshape.name\"),a(\"newshape.showlegend\"),a(\"newshape.legend\"),a(\"newshape.legendwidth\"),a(\"newshape.legendgroup\"),a(\"newshape.legendgrouptitle.text\"),Iq.coerceFont(a,\"newshape.legendgrouptitle.font\"),a(\"newshape.legendrank\"),a(\"newshape.drawdirection\"),a(\"newshape.layer\"),a(\"newshape.fillcolor\"),a(\"newshape.fillrule\"),a(\"newshape.opacity\");var n=a(\"newshape.line.width\");if(n){var i=(r||{}).plot_bgcolor||\"#FFF\";a(\"newshape.line.color\",Cee.contrast(i)),a(\"newshape.line.dash\")}var l=r.dragmode===\"drawline\",o=a(\"newshape.label.text\"),s=a(\"newshape.label.texttemplate\");if(a(\"newshape.label.texttemplatefallback\"),o||s){a(\"newshape.label.textangle\");var u=a(\"newshape.label.textposition\",l?\"middle\":\"middle center\");a(\"newshape.label.xanchor\"),a(\"newshape.label.yanchor\",See(l,u)),a(\"newshape.label.padding\"),Iq.coerceFont(a,\"newshape.label.font\",t.font)}a(\"activeshape.fillcolor\"),a(\"activeshape.opacity\")}});var Xq=K((kce,Wq)=>{\"use strict\";var H2=Fe(),On=pt(),Hi=Ff(),O2=Rl();Wq.exports=function(r){var t=r._fullLayout,a=H2.filterVisible(t.shapes);if(!(!a.length||!r._fullData.length))for(var n=0;n<a.length;n++){var i=a[n];i._extremes={};var l,o,s=On.getRefType(i.xref),u=On.getRefType(i.yref);if(s===\"array\"){let f=Bq(r,i,\"x\");Object.entries(f).forEach(([v,h])=>{l=On.getFromId(r,v),i._extremes[l._id]=On.findExtremes(l,h,Yq(i))})}else i.xref!==\"paper\"&&s!==\"domain\"&&(l=On.getFromId(r,i.xref),o=Vq(l,i,Hi.paramIsX),o&&(i._extremes[l._id]=On.findExtremes(l,o,Yq(i))));if(u===\"array\"){let f=Bq(r,i,\"y\");Object.entries(f).forEach(([v,h])=>{l=On.getFromId(r,v),i._extremes[l._id]=On.findExtremes(l,h,Uq(i))})}else i.yref!==\"paper\"&&u!==\"domain\"&&(l=On.getFromId(r,i.yref),o=Vq(l,i,Hi.paramIsY),o&&(i._extremes[l._id]=On.findExtremes(l,o,Uq(i))))}};function Bq(e,r,t){let a=r[t+\"ref\"],n=t===\"x\"?Hi.paramIsX:Hi.paramIsY;function i(v,h){v===\"paper\"||On.getRefType(v)===\"domain\"||(l[v]||(l[v]=[]),l[v].push(h))}let l={};if(r.type===\"path\"&&r.path){let v=r.path.match(Hi.segmentRE)||[];for(var o=0,s=0;s<v.length;s++){let h=v[s],d=h.charAt(0),m=n[d].drawn;if(m===void 0)continue;let y=h.slice(1).match(Hi.paramRE);y&#038;&#038;y.length>m&&(i(a[o],y[m]),o++)}}else i(a[0],r[t+\"0\"]),i(a[1],r[t+\"1\"]);let u={};for(let v in l){let h=On.getFromId(e,v);if(h){var f=h.type===\"category\"||h.type===\"multicategory\"?h.r2c:h.d2c;h.type===\"date\"&&(f=O2.decodeDate(f)),u[h._id]=l[v].map(f)}}return u}function Yq(e){return Gq(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function Uq(e){return Gq(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function Gq(e,r,t,a,n,i){var l=e\/2,o=i;if(r===\"pixel\"){var s=n?O2.extractPathCoords(n,i?Hi.paramIsY:Hi.paramIsX):[t,a],u=H2.aggNums(Math.max,null,s),f=H2.aggNums(Math.min,null,s),v=f<0?Math.abs(f)+l:l,h=u>0?u+l:l;return{ppad:l,ppadplus:o?v:h,ppadminus:o?h:v}}else return{ppad:l}}function Vq(e,r,t){var a=e._id.charAt(0)===\"x\"?\"x\":\"y\",n=e.type===\"category\"||e.type===\"multicategory\",i,l,o=0,s=0,u=n?e.r2c:e.d2c,f=r[a+\"sizemode\"]===\"scaled\";if(f?(i=r[a+\"0\"],l=r[a+\"1\"],n&&(o=r[a+\"0shift\"],s=r[a+\"1shift\"])):(i=r[a+\"anchor\"],l=r[a+\"anchor\"]),i!==void 0)return[u(i)+o,u(l)+s];if(r.path){var v=1\/0,h=-1\/0,d=r.path.match(Hi.segmentRE),m,y,g,_,T;for(e.type===\"date\"&&(u=O2.decodeDate(u)),m=0;m<d.length;m++)y=d[m],g=t[y.charAt(0)].drawn,g!==void 0&#038;&#038;(_=d[m].slice(1).match(Hi.paramRE),!(!_||_.length<g)&#038;&#038;(T=u(_[g]),T<v&#038;&#038;(v=T),T>h&&(h=T)));if(h>=v)return[v,h]}}});var Kq=K((Cce,Jq)=>{\"use strict\";var Zq=Mh();Jq.exports={moduleType:\"component\",name:\"shapes\",layoutAttributes:I2(),supplyLayoutDefaults:Fq(),supplyDrawNewShapeDefaults:Oq(),includeBasePlot:ic()(\"shapes\"),calcAutorange:Xq(),draw:Zq.draw,drawOne:Zq.drawOne}});var B2=K((Lce,$q)=>{\"use strict\";var Qq=$t(),Lee=ct().templatedArray,Sce=ac();$q.exports=Lee(\"image\",{visible:{valType:\"boolean\",dflt:!0,editType:\"arraydraw\"},source:{valType:\"string\",editType:\"arraydraw\"},layer:{valType:\"enumerated\",values:[\"below\",\"above\"],dflt:\"above\",editType:\"arraydraw\"},sizex:{valType:\"number\",dflt:0,editType:\"arraydraw\"},sizey:{valType:\"number\",dflt:0,editType:\"arraydraw\"},sizing:{valType:\"enumerated\",values:[\"fill\",\"contain\",\"stretch\"],dflt:\"contain\",editType:\"arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"arraydraw\"},x:{valType:\"any\",dflt:0,editType:\"arraydraw\"},y:{valType:\"any\",dflt:0,editType:\"arraydraw\"},xanchor:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"],dflt:\"left\",editType:\"arraydraw\"},yanchor:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],dflt:\"top\",editType:\"arraydraw\"},xref:{valType:\"enumerated\",values:[\"paper\",Qq.idRegex.x.toString()],dflt:\"paper\",editType:\"arraydraw\"},yref:{valType:\"enumerated\",values:[\"paper\",Qq.idRegex.y.toString()],dflt:\"paper\",editType:\"arraydraw\"},editType:\"arraydraw\"})});var eD=K((qce,jq)=>{\"use strict\";var qee=Fe(),Y2=pt(),Dee=ei(),Eee=B2(),Pee=\"images\";jq.exports=function(r,t){var a={name:Pee,handleItemDefaults:Ree};Dee(r,t,a)};function Ree(e,r,t){function a(h,d){return qee.coerce(e,r,Eee,h,d)}var n=a(\"source\"),i=a(\"visible\",!!n);if(!i)return r;a(\"layer\"),a(\"xanchor\"),a(\"yanchor\"),a(\"sizex\"),a(\"sizey\"),a(\"sizing\"),a(\"opacity\");for(var l={_fullLayout:t},o=[\"x\",\"y\"],s=0;s<2;s++){var u=o[s],f=Y2.coerceRef(e,r,l,u,\"paper\",void 0);if(f!==\"paper\"){var v=Y2.getFromId(l,f);v._imgIndices.push(r._index)}Y2.coercePosition(r,l,a,f,u,0)}return r}});var nD=K((Dce,aD)=>{\"use strict\";var rD=zr(),zee=tt(),Mu=pt(),tD=Zt(),Nee=_o();aD.exports=function(r){var t=r._fullLayout,a=[],n={},i=[],l,o;for(o=0;o<t.images.length;o++){var s=t.images[o];if(s.visible)if(s.layer===\"below\"&#038;&#038;s.xref!==\"paper\"&#038;&#038;s.yref!==\"paper\"){l=tD.ref2id(s.xref)+tD.ref2id(s.yref);var u=t._plots[l];if(!u){i.push(s);continue}u.mainplot&#038;&#038;(l=u.mainplot.id),n[l]||(n[l]=[]),n[l].push(s)}else s.layer===\"above\"?a.push(s):i.push(s)}var f={x:{left:{sizing:\"xMin\",offset:0},center:{sizing:\"xMid\",offset:-1\/2},right:{sizing:\"xMax\",offset:-1}},y:{top:{sizing:\"YMin\",offset:0},middle:{sizing:\"YMid\",offset:-1\/2},bottom:{sizing:\"YMax\",offset:-1}}};function v(b){var M=rD.select(this);if(this._imgSrc!==b.source)if(M.attr(\"xmlns\",Nee.svg),!r._context.staticPlot||b.source&#038;&#038;b.source.slice(0,5)===\"data:\")M.attr(\"xlink:href\",b.source),this._imgSrc=b.source;else{var S=new Promise(function(k){var q=new Image;this.img=q,q.setAttribute(\"crossOrigin\",\"anonymous\"),q.onerror=D,q.onload=function(){var P=document.createElement(\"canvas\");P.width=this.width,P.height=this.height;var z=P.getContext(\"2d\",{willReadFrequently:!0});z.drawImage(this,0,0);var F=P.toDataURL(\"image\/png\");M.attr(\"xlink:href\",F),k()},M.on(\"error\",D),q.src=b.source,this._imgSrc=b.source;function D(){M.remove(),k()}}.bind(this));r._promises.push(S)}}function h(b){var M=rD.select(this),S=Mu.getFromId(r,b.xref),k=Mu.getFromId(r,b.yref),q=Mu.getRefType(b.xref)===\"domain\",D=Mu.getRefType(b.yref)===\"domain\",P=t._size,z,F;S!==void 0?z=typeof b.xref==\"string\"&#038;&#038;q?S._length*b.sizex:Math.abs(S.l2p(b.sizex)-S.l2p(0)):z=b.sizex*P.w,k!==void 0?F=typeof b.yref==\"string\"&#038;&#038;D?k._length*b.sizey:Math.abs(k.l2p(b.sizey)-k.l2p(0)):F=b.sizey*P.h;var O=z*f.x[b.xanchor].offset,I=F*f.y[b.yanchor].offset,V=f.x[b.xanchor].sizing+f.y[b.yanchor].sizing,J,G;switch(S!==void 0?J=typeof b.xref==\"string\"&#038;&#038;q?S._length*b.x+S._offset:S.r2p(b.x)+S._offset:J=b.x*P.w+P.l,J+=O,k!==void 0?G=typeof b.yref==\"string\"&#038;&#038;D?k._length*(1-b.y)+k._offset:k.r2p(b.y)+k._offset:G=P.h-b.y*P.h+P.t,G+=I,b.sizing){case\"fill\":V+=\" slice\";break;case\"stretch\":V=\"none\";break}M.attr({x:J,y:G,width:z,height:F,preserveAspectRatio:V,opacity:b.opacity});var U=S&#038;&#038;Mu.getRefType(b.xref)!==\"domain\"?S._id:\"\",H=k&#038;&#038;Mu.getRefType(b.yref)!==\"domain\"?k._id:\"\",Q=U+H;zee.setClipUrl(M,Q?\"clip\"+t._uid+Q:null,r)}function d(b){return[b.xref,b.x,b.sizex,b.yref,b.y,b.sizey].join(\"_\")}function m(b,M){return b._index-M._index}var y=t._imageLowerLayer.selectAll(\"image\").data(i,d),g=t._imageUpperLayer.selectAll(\"image\").data(a,d);y.enter().append(\"image\"),g.enter().append(\"image\"),y.exit().remove(),g.exit().remove(),y.each(function(b){v.bind(this)(b),h.bind(this)(b)}),g.each(function(b){v.bind(this)(b),h.bind(this)(b)}),y.sort(m),g.sort(m);var _=Object.keys(t._plots);for(o=0;o<_.length;o++){l=_[o];var T=t._plots[l];if(T.imagelayer){var w=T.imagelayer.selectAll(\"image\").data(n[l]||[],d);w.enter().append(\"image\"),w.exit().remove(),w.each(function(b){v.bind(this)(b),h.bind(this)(b)}),w.sort(m)}}}});var oD=K((Ece,lD)=>{\"use strict\";var iD=Hr(),Fee=Sv();lD.exports=function(r,t,a,n){t=t||{};var i=a===\"log\"&&t.type===\"linear\",l=a===\"linear\"&&t.type===\"log\";if(i||l){for(var o=r._fullLayout.images,s=t._id.charAt(0),u,f,v=0;v<o.length;v++)if(u=o[v],f=\"images[\"+v+\"].\",u[s+\"ref\"]===t._id){var h=u[s],d=u[\"size\"+s],m=null,y=null;if(i){m=Fee(h,t.range);var g=d\/Math.pow(10,m)\/2;y=2*Math.log(g+Math.sqrt(1+g*g))\/Math.LN10}else m=Math.pow(10,h),y=m*(Math.pow(10,d\/2)-Math.pow(10,-d\/2));iD(m)?iD(y)||(y=null):(m=null,y=null),n(f+s,m),n(f+\"size\"+s,y)}}}});var uD=K((Pce,sD)=>{\"use strict\";sD.exports={moduleType:\"component\",name:\"images\",layoutAttributes:B2(),supplyLayoutDefaults:eD(),includeBasePlot:ic()(\"images\"),draw:nD(),convertCoords:oD()}});var Rd=K((Rce,fD)=>{\"use strict\";fD.exports={name:\"updatemenus\",containerClassName:\"updatemenu-container\",headerGroupClassName:\"updatemenu-header-group\",headerClassName:\"updatemenu-header\",headerArrowClassName:\"updatemenu-header-arrow\",dropdownButtonGroupClassName:\"updatemenu-dropdown-button-group\",dropdownButtonClassName:\"updatemenu-dropdown-button\",buttonClassName:\"updatemenu-button\",itemRectClassName:\"updatemenu-item-rect\",itemTextClassName:\"updatemenu-item-text\",menuIndexAttrName:\"updatemenu-active-index\",autoMarginIdRoot:\"updatemenu-\",blankHeaderOpts:{label:\"  \"},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:\"#F4FAFF\",hoverColor:\"#F4FAFF\",arrowSymbol:{left:\"\\u25C4\",right:\"\\u25BA\",up:\"\\u25B2\",down:\"\\u25BC\"}}});var U2=K((zce,vD)=>{\"use strict\";var Iee=ga(),Hee=gi(),Oee=Wt().extendFlat,Bee=bi().overrideAll,Yee=Ov(),cD=ct().templatedArray,Uee=cD(\"button\",{visible:{valType:\"boolean\"},method:{valType:\"enumerated\",values:[\"restyle\",\"relayout\",\"animate\",\"update\",\"skip\"],dflt:\"restyle\"},args:{valType:\"info_array\",freeLength:!0,items:[{valType:\"any\"},{valType:\"any\"},{valType:\"any\"}]},args2:{valType:\"info_array\",freeLength:!0,items:[{valType:\"any\"},{valType:\"any\"},{valType:\"any\"}]},label:{valType:\"string\",dflt:\"\"},execute:{valType:\"boolean\",dflt:!0}});vD.exports=Bee(cD(\"updatemenu\",{_arrayAttrRegexps:[\/^updatemenus\\[(0|[1-9][0-9]+)\\]\\.buttons\/],visible:{valType:\"boolean\"},type:{valType:\"enumerated\",values:[\"dropdown\",\"buttons\"],dflt:\"dropdown\"},direction:{valType:\"enumerated\",values:[\"left\",\"right\",\"up\",\"down\"],dflt:\"down\"},active:{valType:\"integer\",min:-1,dflt:0},showactive:{valType:\"boolean\",dflt:!0},buttons:Uee,x:{valType:\"number\",min:-2,max:3,dflt:-.05},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"right\"},y:{valType:\"number\",min:-2,max:3,dflt:1},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],dflt:\"top\"},pad:Oee(Yee({editType:\"arraydraw\"}),{}),font:Iee({}),bgcolor:{valType:\"color\"},bordercolor:{valType:\"color\",dflt:Hee.borderLine},borderwidth:{valType:\"number\",min:0,dflt:1,editType:\"arraydraw\"}}),\"arraydraw\",\"from-root\")});var mD=K((Nce,pD)=>{\"use strict\";var zd=Fe(),hD=ei(),dD=U2(),Vee=Rd(),Gee=Vee.name,Wee=dD.buttons;pD.exports=function(r,t){var a={name:Gee,handleItemDefaults:Xee};hD(r,t,a)};function Xee(e,r,t){function a(l,o){return zd.coerce(e,r,dD,l,o)}var n=hD(e,r,{name:\"buttons\",handleItemDefaults:Zee}),i=a(\"visible\",n.length>0);i&&(a(\"active\"),a(\"direction\"),a(\"type\"),a(\"showactive\"),a(\"x\"),a(\"y\"),zd.noneOrAll(e,r,[\"x\",\"y\"]),a(\"xanchor\"),a(\"yanchor\"),a(\"pad.t\"),a(\"pad.r\"),a(\"pad.b\"),a(\"pad.l\"),zd.coerceFont(a,\"font\",t.font),a(\"bgcolor\",t.paper_bgcolor),a(\"bordercolor\"),a(\"borderwidth\"))}function Zee(e,r){function t(n,i){return zd.coerce(e,r,Wee,n,i)}var a=t(\"visible\",e.method===\"skip\"||Array.isArray(e.args));a&&(t(\"method\"),t(\"args\"),t(\"args2\"),t(\"label\"),t(\"execute\"))}});var bD=K((Fce,gD)=>{\"use strict\";gD.exports=xt;var ci=zr(),yD=Er(),Au=tt(),Nd=Fe();function xt(e,r,t){this.gd=e,this.container=r,this.id=t,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll(\"rect.scrollbox-bg\").data([0]),this.bg.exit().on(\".drag\",null).on(\"wheel\",null).remove(),this.bg.enter().append(\"rect\").classed(\"scrollbox-bg\",!0).style(\"pointer-events\",\"all\").attr({opacity:0,x:0,y:0,width:0,height:0})}xt.barWidth=2;xt.barLength=20;xt.barRadius=2;xt.barPad=1;xt.barColor=\"#808BA4\";xt.prototype.enable=function(r,t,a){var n=this.gd._fullLayout,i=n.width,l=n.height;this.position=r;var o=this.position.l,s=this.position.w,u=this.position.t,f=this.position.h,v=this.position.direction,h=v===\"down\",d=v===\"left\",m=v===\"right\",y=v===\"up\",g=s,_=f,T,w,b,M;!h&&!d&&!m&&!y&&(this.position.direction=\"down\",h=!0);var S=h||y;S?(T=o,w=T+g,h?(b=u,M=Math.min(b+_,l),_=M-b):(M=u+_,b=Math.max(M-_,0),_=M-b)):(b=u,M=b+_,d?(w=o+g,T=Math.max(w-g,0),g=w-T):(T=o,w=Math.min(T+g,i),g=w-T)),this._box={l:T,t:b,w:g,h:_};var k=s>g,q=xt.barLength+2*xt.barPad,D=xt.barWidth+2*xt.barPad,P=o,z=u+f;z+D>l&&(z=l-D);var F=this.container.selectAll(\"rect.scrollbar-horizontal\").data(k?[0]:[]);F.exit().on(\".drag\",null).remove(),F.enter().append(\"rect\").classed(\"scrollbar-horizontal\",!0).call(yD.fill,xt.barColor),k?(this.hbar=F.attr({rx:xt.barRadius,ry:xt.barRadius,x:P,y:z,width:q,height:D}),this._hbarXMin=P+q\/2,this._hbarTranslateMax=g-q):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var O=f>_,I=xt.barWidth+2*xt.barPad,V=xt.barLength+2*xt.barPad,J=o+s,G=u;J+I>i&&(J=i-I);var U=this.container.selectAll(\"rect.scrollbar-vertical\").data(O?[0]:[]);U.exit().on(\".drag\",null).remove(),U.enter().append(\"rect\").classed(\"scrollbar-vertical\",!0).call(yD.fill,xt.barColor),O?(this.vbar=U.attr({rx:xt.barRadius,ry:xt.barRadius,x:J,y:G,width:I,height:V}),this._vbarYMin=G+V\/2,this._vbarTranslateMax=_-V):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,Q=T-.5,Z=O?w+I+.5:w+.5,ne=b-.5,ce=k?M+D+.5:M+.5,ye=n._topdefs.selectAll(\"#\"+H).data(k||O?[0]:[]);if(ye.exit().remove(),ye.enter().append(\"clipPath\").attr(\"id\",H).append(\"rect\"),k||O?(this._clipRect=ye.select(\"rect\").attr({x:Math.floor(Q),y:Math.floor(ne),width:Math.ceil(Z)-Math.floor(Q),height:Math.ceil(ce)-Math.floor(ne)}),this.container.call(Au.setClipUrl,H,this.gd),this.bg.attr({x:o,y:u,width:s,height:f})):(this.bg.attr({width:0,height:0}),this.container.on(\"wheel\",null).on(\".drag\",null).call(Au.setClipUrl,null),delete this._clipRect),k||O){var Ce=ci.behavior.drag().on(\"dragstart\",function(){ci.event.sourceEvent.preventDefault()}).on(\"drag\",this._onBoxDrag.bind(this));this.container.on(\"wheel\",null).on(\"wheel\",this._onBoxWheel.bind(this)).on(\".drag\",null).call(Ce);var re=ci.behavior.drag().on(\"dragstart\",function(){ci.event.sourceEvent.preventDefault(),ci.event.sourceEvent.stopPropagation()}).on(\"drag\",this._onBarDrag.bind(this));k&&this.hbar.on(\".drag\",null).call(re),O&&this.vbar.on(\".drag\",null).call(re)}this.setTranslate(t,a)};xt.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on(\"wheel\",null).on(\".drag\",null).call(Au.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(\".drag\",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(\".drag\",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)};xt.prototype._onBoxDrag=function(){var r=this.translateX,t=this.translateY;this.hbar&&(r-=ci.event.dx),this.vbar&&(t-=ci.event.dy),this.setTranslate(r,t)};xt.prototype._onBoxWheel=function(){var r=this.translateX,t=this.translateY;this.hbar&&(r+=ci.event.deltaY),this.vbar&&(t+=ci.event.deltaY),this.setTranslate(r,t)};xt.prototype._onBarDrag=function(){var r=this.translateX,t=this.translateY;if(this.hbar){var a=r+this._hbarXMin,n=a+this._hbarTranslateMax,i=Nd.constrain(ci.event.x,a,n),l=(i-a)\/(n-a),o=this.position.w-this._box.w;r=l*o}if(this.vbar){var s=t+this._vbarYMin,u=s+this._vbarTranslateMax,f=Nd.constrain(ci.event.y,s,u),v=(f-s)\/(u-s),h=this.position.h-this._box.h;t=v*h}this.setTranslate(r,t)};xt.prototype.setTranslate=function(r,t){var a=this.position.w-this._box.w,n=this.position.h-this._box.h;if(r=Nd.constrain(r||0,0,a),t=Nd.constrain(t||0,0,n),this.translateX=r,this.translateY=t,this.container.call(Au.setTranslate,this._box.l-this.position.l-r,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+r-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var i=r\/a;this.hbar.call(Au.setTranslate,r+i*this._hbarTranslateMax,t)}if(this.vbar){var l=t\/n;this.vbar.call(Au.setTranslate,r,t+l*this._vbarTranslateMax)}}});var LD=K((Ice,SD)=>{\"use strict\";var ku=zr(),kc=It(),Cc=Er(),Cu=tt(),yn=Fe(),Fd=ba(),Jee=ct().arrayEditor,_D=Aa().LINE_SPACING,_r=Rd(),Kee=bD();SD.exports=function(r){var t=r._fullLayout,a=yn.filterVisible(t[_r.name]);function n(h){kc.autoMargin(r,kD(h))}var i=t._menulayer.selectAll(\"g.\"+_r.containerClassName).data(a.length>0?[0]:[]);if(i.enter().append(\"g\").classed(_r.containerClassName,!0).style(\"cursor\",\"pointer\"),i.exit().each(function(){ku.select(this).selectAll(\"g.\"+_r.headerGroupClassName).each(n)}).remove(),a.length!==0){var l=i.selectAll(\"g.\"+_r.headerGroupClassName).data(a,Qee);l.enter().append(\"g\").classed(_r.headerGroupClassName,!0);for(var o=yn.ensureSingle(i,\"g\",_r.dropdownButtonGroupClassName,function(h){h.style(\"pointer-events\",\"all\")}),s=0;s<a.length;s++){var u=a[s];are(r,u)}var f=\"updatemenus\"+t._uid,v=new Kee(r,o,f);l.enter().size()&#038;&#038;(o.node().parentNode.appendChild(o.node()),o.call(G2)),l.exit().each(function(h){o.call(G2),n(h)}).remove(),l.each(function(h){var d=ku.select(this),m=h.type===\"dropdown\"?o:null;kc.manageCommandObserver(r,h,h.buttons,function(y){V2(r,h,h.buttons[y.index],d,m,v,y.index,!0)}),h.type===\"dropdown\"?(TD(r,d,o,v,h),wD(o,h)&#038;&#038;Sc(r,d,o,v,h)):Sc(r,d,null,null,h)})}};function Qee(e){return e._index}function $ee(e){return+e.attr(_r.menuIndexAttrName)==-1}function wD(e,r){return+e.attr(_r.menuIndexAttrName)===r._index}function V2(e,r,t,a,n,i,l,o){r.active=l,Jee(e.layout,_r.name,r).applyUpdate(\"active\",l),r.type===\"buttons\"?Sc(e,a,null,null,r):r.type===\"dropdown\"&#038;&#038;(n.attr(_r.menuIndexAttrName,\"-1\"),TD(e,a,n,i,r),o||Sc(e,a,n,i,r))}function TD(e,r,t,a,n){var i=yn.ensureSingle(r,\"g\",_r.headerClassName,function(h){h.style(\"pointer-events\",\"all\")}),l=n._dims,o=n.active,s=n.buttons[o]||_r.blankHeaderOpts,u={y:n.pad.t,yPad:0,x:n.pad.l,xPad:0,index:0},f={width:l.headerWidth,height:l.headerHeight};i.call(W2,n,s,e).call(CD,n,u,f);var v=yn.ensureSingle(r,\"text\",_r.headerArrowClassName,function(h){h.attr(\"text-anchor\",\"end\").call(Cu.font,n.font).text(_r.arrowSymbol[n.direction])});v.attr({x:l.headerWidth-_r.arrowOffsetX+n.pad.l,y:l.headerHeight\/2+_r.textOffsetY+n.pad.t}),i.on(\"click\",function(){t.call(G2,String(wD(t,n)?-1:n._index)),Sc(e,r,t,a,n)}),i.on(\"mouseover\",function(){i.call(MD)}),i.on(\"mouseout\",function(){i.call(AD,n)}),Cu.setTranslate(r,l.lx,l.ly)}function Sc(e,r,t,a,n){t||(t=r,t.attr(\"pointer-events\",\"all\"));var i=!$ee(t)||n.type===\"buttons\"?n.buttons:[],l=n.type===\"dropdown\"?_r.dropdownButtonClassName:_r.buttonClassName,o=t.selectAll(\"g.\"+l).data(yn.filterVisible(i)),s=o.enter().append(\"g\").classed(l,!0),u=o.exit();n.type===\"dropdown\"?(s.attr(\"opacity\",\"0\").transition().attr(\"opacity\",\"1\"),u.transition().attr(\"opacity\",\"0\").remove()):u.remove();var f=0,v=0,h=n._dims,d=[\"up\",\"down\"].indexOf(n.direction)!==-1;n.type===\"dropdown\"&#038;&#038;(d?v=h.headerHeight+_r.gapButtonHeader:f=h.headerWidth+_r.gapButtonHeader),n.type===\"dropdown\"&#038;&#038;n.direction===\"up\"&#038;&#038;(v=-_r.gapButtonHeader+_r.gapButton-h.openHeight),n.type===\"dropdown\"&#038;&#038;n.direction===\"left\"&#038;&#038;(f=-_r.gapButtonHeader+_r.gapButton-h.openWidth);var m={x:h.lx+f+n.pad.l,y:h.ly+v+n.pad.t,yPad:_r.gapButton,xPad:_r.gapButton,index:0},y={l:m.x+n.borderwidth,t:m.y+n.borderwidth};o.each(function(g,_){var T=ku.select(this);T.call(W2,n,g,e).call(CD,n,m),T.on(\"click\",function(){ku.event.defaultPrevented||(g.execute&#038;&#038;(g.args2&#038;&#038;n.active===_?(V2(e,n,g,r,t,a,-1),kc.executeAPICommand(e,g.method,g.args2)):(V2(e,n,g,r,t,a,_),kc.executeAPICommand(e,g.method,g.args))),e.emit(\"plotly_buttonclicked\",{menu:n,button:g,active:n.active}))}),T.on(\"mouseover\",function(){T.call(MD)}),T.on(\"mouseout\",function(){T.call(AD,n),o.call(xD,n)})}),o.call(xD,n),d?(y.w=Math.max(h.openWidth,h.headerWidth),y.h=m.y-y.t):(y.w=m.x-y.l,y.h=Math.max(h.openHeight,h.headerHeight)),y.direction=n.direction,a&#038;&#038;(o.size()?jee(e,r,t,a,n,y):ere(a))}function jee(e,r,t,a,n,i){var l=n.direction,o=l===\"up\"||l===\"down\",s=n._dims,u=n.active,f,v,h;if(o)for(v=0,h=0;h<u;h++)v+=s.heights[h]+_r.gapButton;else for(f=0,h=0;h<u;h++)f+=s.widths[h]+_r.gapButton;a.enable(i,f,v),a.hbar&#038;&#038;a.hbar.attr(\"opacity\",\"0\").transition().attr(\"opacity\",\"1\"),a.vbar&#038;&#038;a.vbar.attr(\"opacity\",\"0\").transition().attr(\"opacity\",\"1\")}function ere(e){var r=!!e.hbar,t=!!e.vbar;r&#038;&#038;e.hbar.transition().attr(\"opacity\",\"0\").each(\"end\",function(){r=!1,t||e.disable()}),t&#038;&#038;e.vbar.transition().attr(\"opacity\",\"0\").each(\"end\",function(){t=!1,r||e.disable()})}function W2(e,r,t,a){e.call(rre,r).call(tre,r,t,a)}function rre(e,r){var t=yn.ensureSingle(e,\"rect\",_r.itemRectClassName,function(a){a.attr({rx:_r.rx,ry:_r.ry,\"shape-rendering\":\"crispEdges\"})});t.call(Cc.stroke,r.bordercolor).call(Cc.fill,r.bgcolor).style(\"stroke-width\",r.borderwidth+\"px\")}function tre(e,r,t,a){var n=yn.ensureSingle(e,\"text\",_r.itemTextClassName,function(o){o.attr({\"text-anchor\":\"start\",\"data-notex\":1})}),i=t.label,l=a._fullLayout._meta;l&#038;&#038;(i=yn.templateString(i,l)),n.call(Cu.font,r.font).text(i).call(Fd.convertToTspans,a)}function xD(e,r){var t=r.active;e.each(function(a,n){var i=ku.select(this);n===t&#038;&#038;r.showactive&#038;&#038;i.select(\"rect.\"+_r.itemRectClassName).call(Cc.fill,_r.activeColor)})}function MD(e){e.select(\"rect.\"+_r.itemRectClassName).call(Cc.fill,_r.hoverColor)}function AD(e,r){e.select(\"rect.\"+_r.itemRectClassName).call(Cc.fill,r.bgcolor)}function are(e,r){var t=r._dims={width1:0,height1:0,heights:[],widths:[],totalWidth:0,totalHeight:0,openWidth:0,openHeight:0,lx:0,ly:0},a=Cu.tester.selectAll(\"g.\"+_r.dropdownButtonClassName).data(yn.filterVisible(r.buttons));a.enter().append(\"g\").classed(_r.dropdownButtonClassName,!0);var n=[\"up\",\"down\"].indexOf(r.direction)!==-1;a.each(function(f,v){var h=ku.select(this);h.call(W2,r,f,e);var d=h.select(\".\"+_r.itemTextClassName),m=d.node()&#038;&#038;Cu.bBox(d.node()).width,y=Math.max(m+_r.textPadX,_r.minWidth),g=r.font.size*_D,_=Fd.lineCount(d),T=Math.max(g*_,_r.minHeight)+_r.textOffsetY;T=Math.ceil(T),y=Math.ceil(y),t.widths[v]=y,t.heights[v]=T,t.height1=Math.max(t.height1,T),t.width1=Math.max(t.width1,y),n?(t.totalWidth=Math.max(t.totalWidth,y),t.openWidth=t.totalWidth,t.totalHeight+=T+_r.gapButton,t.openHeight+=T+_r.gapButton):(t.totalWidth+=y+_r.gapButton,t.openWidth+=y+_r.gapButton,t.totalHeight=Math.max(t.totalHeight,T),t.openHeight=t.totalHeight)}),n?t.totalHeight-=_r.gapButton:t.totalWidth-=_r.gapButton,t.headerWidth=t.width1+_r.arrowPadX,t.headerHeight=t.height1,r.type===\"dropdown\"&#038;&#038;(n?(t.width1+=_r.arrowPadX,t.totalHeight=t.height1):t.totalWidth=t.width1,t.totalWidth+=_r.arrowPadX),a.remove();var i=t.totalWidth+r.pad.l+r.pad.r,l=t.totalHeight+r.pad.t+r.pad.b,o=e._fullLayout._size;t.lx=o.l+o.w*r.x,t.ly=o.t+o.h*(1-r.y);var s=\"left\";yn.isRightAnchor(r)&#038;&#038;(t.lx-=i,s=\"right\"),yn.isCenterAnchor(r)&#038;&#038;(t.lx-=i\/2,s=\"center\");var u=\"top\";yn.isBottomAnchor(r)&#038;&#038;(t.ly-=l,u=\"bottom\"),yn.isMiddleAnchor(r)&#038;&#038;(t.ly-=l\/2,u=\"middle\"),t.totalWidth=Math.ceil(t.totalWidth),t.totalHeight=Math.ceil(t.totalHeight),t.lx=Math.round(t.lx),t.ly=Math.round(t.ly),kc.autoMargin(e,kD(r),{x:r.x,y:r.y,l:i*({right:1,center:.5}[s]||0),r:i*({left:1,center:.5}[s]||0),b:l*({top:1,middle:.5}[u]||0),t:l*({bottom:1,middle:.5}[u]||0)})}function kD(e){return _r.autoMarginIdRoot+e._index}function CD(e,r,t,a){a=a||{};var n=e.select(\".\"+_r.itemRectClassName),i=e.select(\".\"+_r.itemTextClassName),l=r.borderwidth,o=t.index,s=r._dims;Cu.setTranslate(e,l+t.x,l+t.y);var u=[\"up\",\"down\"].indexOf(r.direction)!==-1,f=a.height||(u?s.heights[o]:s.height1);n.attr({x:0,y:0,width:a.width||(u?s.width1:s.widths[o]),height:f});var v=r.font.size*_D,h=Fd.lineCount(i),d=(h-1)*v\/2;Fd.positionText(i,_r.textOffsetX,f\/2-d+_r.textOffsetY),u?t.y+=s.heights[o]+t.yPad:t.x+=s.widths[o]+t.xPad,t.index++}function G2(e,r){e.attr(_r.menuIndexAttrName,r||\"-1\").selectAll(\"g.\"+_r.dropdownButtonClassName).remove()}});var DD=K((Hce,qD)=>{\"use strict\";var nre=Rd();qD.exports={moduleType:\"component\",name:nre.name,layoutAttributes:U2(),supplyLayoutDefaults:mD(),draw:LD()}});var Lc=K((Oce,ED)=>{\"use strict\";ED.exports={name:\"sliders\",containerClassName:\"slider-container\",groupClassName:\"slider-group\",inputAreaClass:\"slider-input-area\",railRectClass:\"slider-rail-rect\",railTouchRectClass:\"slider-rail-touch-rect\",gripRectClass:\"slider-grip-rect\",tickRectClass:\"slider-tick-rect\",inputProxyClass:\"slider-input-proxy\",labelsClass:\"slider-labels\",labelGroupClass:\"slider-label-group\",labelClass:\"slider-label\",currentValueClass:\"slider-current-value\",railHeight:5,menuIndexAttrName:\"slider-active-index\",autoMarginIdRoot:\"slider-\",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:\"#bec8d9\",railBgColor:\"#f8fafc\",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:\"#bec8d9\",gripBgColor:\"#f6f8fa\",gripBgActiveColor:\"#dbdde0\",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:\"#333\",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:\"#333\",minorTickLength:4,currentValuePadding:8,currentValueInset:0}});var X2=K((Bce,zD)=>{\"use strict\";var PD=ga(),ire=Ov(),lre=Wt().extendDeepAll,ore=bi().overrideAll,sre=nf(),RD=ct().templatedArray,jo=Lc(),ure=RD(\"step\",{visible:{valType:\"boolean\",dflt:!0},method:{valType:\"enumerated\",values:[\"restyle\",\"relayout\",\"animate\",\"update\",\"skip\"],dflt:\"restyle\"},args:{valType:\"info_array\",freeLength:!0,items:[{valType:\"any\"},{valType:\"any\"},{valType:\"any\"}]},label:{valType:\"string\"},value:{valType:\"string\"},execute:{valType:\"boolean\",dflt:!0}});zD.exports=ore(RD(\"slider\",{visible:{valType:\"boolean\",dflt:!0},active:{valType:\"number\",min:0,dflt:0},steps:ure,lenmode:{valType:\"enumerated\",values:[\"fraction\",\"pixels\"],dflt:\"fraction\"},len:{valType:\"number\",min:0,dflt:1},x:{valType:\"number\",min:-2,max:3,dflt:0},pad:lre(ire({editType:\"arraydraw\"}),{},{t:{dflt:20}}),xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"left\"},y:{valType:\"number\",min:-2,max:3,dflt:0},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],dflt:\"top\"},transition:{duration:{valType:\"number\",min:0,dflt:150},easing:{valType:\"enumerated\",values:sre.transition.easing.values,dflt:\"cubic-in-out\"}},currentvalue:{visible:{valType:\"boolean\",dflt:!0},xanchor:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"],dflt:\"left\"},offset:{valType:\"number\",dflt:10},prefix:{valType:\"string\"},suffix:{valType:\"string\"},font:PD({})},font:PD({}),activebgcolor:{valType:\"color\",dflt:jo.gripBgActiveColor},bgcolor:{valType:\"color\",dflt:jo.railBgColor},bordercolor:{valType:\"color\",dflt:jo.railBorderColor},borderwidth:{valType:\"number\",min:0,dflt:jo.railBorderWidth},ticklen:{valType:\"number\",min:0,dflt:jo.tickLength},tickcolor:{valType:\"color\",dflt:jo.tickColor},tickwidth:{valType:\"number\",min:0,dflt:1},minorticklen:{valType:\"number\",min:0,dflt:jo.minorTickLength}}),\"arraydraw\",\"from-root\")});var HD=K((Yce,ID)=>{\"use strict\";var Su=Fe(),ND=ei(),FD=X2(),fre=Lc(),cre=fre.name,vre=FD.steps;ID.exports=function(r,t){ND(r,t,{name:cre,handleItemDefaults:hre})};function hre(e,r,t){function a(v,h){return Su.coerce(e,r,FD,v,h)}for(var n=ND(e,r,{name:\"steps\",handleItemDefaults:dre}),i=0,l=0;l<n.length;l++)n[l].visible&#038;&#038;i++;var o;if(i<2?o=r.visible=!1:o=a(\"visible\"),!!o){r._stepCount=i;var s=r._visibleSteps=Su.filterVisible(n),u=a(\"active\");(n[u]||{}).visible||(r.active=s[0]._index),a(\"x\"),a(\"y\"),Su.noneOrAll(e,r,[\"x\",\"y\"]),a(\"xanchor\"),a(\"yanchor\"),a(\"len\"),a(\"lenmode\"),a(\"pad.t\"),a(\"pad.r\"),a(\"pad.b\"),a(\"pad.l\"),Su.coerceFont(a,\"font\",t.font);var f=a(\"currentvalue.visible\");f&#038;&#038;(a(\"currentvalue.xanchor\"),a(\"currentvalue.prefix\"),a(\"currentvalue.suffix\"),a(\"currentvalue.offset\"),Su.coerceFont(a,\"currentvalue.font\",r.font)),a(\"transition.duration\"),a(\"transition.easing\"),a(\"bgcolor\"),a(\"activebgcolor\"),a(\"bordercolor\"),a(\"borderwidth\"),a(\"ticklen\"),a(\"tickwidth\"),a(\"tickcolor\"),a(\"minorticklen\")}}function dre(e,r){function t(i,l){return Su.coerce(e,r,vre,i,l)}var a;if(e.method!==\"skip\"&#038;&#038;!Array.isArray(e.args)?a=r.visible=!1:a=t(\"visible\"),a){t(\"method\"),t(\"args\");var n=t(\"label\",\"step-\"+r._index);t(\"value\",n),t(\"execute\")}}});var JD=K((Uce,ZD)=>{\"use strict\";var vi=zr(),Id=It(),Bl=Er(),hi=tt(),gn=Fe(),pre=gn.strTranslate,qc=ba(),mre=ct().arrayEditor,Dr=Lc(),K2=Aa(),YD=K2.LINE_SPACING,Z2=K2.FROM_TL,J2=K2.FROM_BR;ZD.exports=function(r){var t=r._context.staticPlot,a=r._fullLayout,n=yre(a,r),i=a._infolayer.selectAll(\"g.\"+Dr.containerClassName).data(n.length>0?[0]:[]);i.enter().append(\"g\").classed(Dr.containerClassName,!0).style(\"cursor\",t?null:\"ew-resize\");function l(f){f._commandObserver&&(f._commandObserver.remove(),delete f._commandObserver),Id.autoMargin(r,UD(f))}if(i.exit().each(function(){vi.select(this).selectAll(\"g.\"+Dr.groupClassName).each(l)}).remove(),n.length!==0){var o=i.selectAll(\"g.\"+Dr.groupClassName).data(n,gre);o.enter().append(\"g\").classed(Dr.groupClassName,!0),o.exit().each(l).remove();for(var s=0;s<n.length;s++){var u=n[s];bre(r,u)}o.each(function(f){var v=vi.select(this);Mre(f),Id.manageCommandObserver(r,f,f._visibleSteps,function(h){var d=v.data()[0];d.active!==h.index&#038;&#038;(d._dragging||GD(r,v,d,h.index,!1,!0))}),xre(r,vi.select(this),f)})}};function UD(e){return Dr.autoMarginIdRoot+e._index}function yre(e,r){for(var t=e[Dr.name],a=[],n=0;n<t.length;n++){var i=t[n];i.visible&#038;&#038;(i._gd=r,a.push(i))}return a}function gre(e){return e._index}function bre(e,r){var t=hi.tester.selectAll(\"g.\"+Dr.labelGroupClass).data(r._visibleSteps);t.enter().append(\"g\").classed(Dr.labelGroupClass,!0);var a=0,n=0;t.each(function(m){var y=vi.select(this),g=VD(y,{step:m},r),_=g.node();if(_){var T=hi.bBox(_);n=Math.max(n,T.height),a=Math.max(a,T.width)}}),t.remove();var i=r._dims={};i.inputAreaWidth=Math.max(Dr.railWidth,Dr.gripHeight);var l=e._fullLayout._size;i.lx=l.l+l.w*r.x,i.ly=l.t+l.h*(1-r.y),r.lenmode===\"fraction\"?i.outerLength=Math.round(l.w*r.len):i.outerLength=r.len,i.inputAreaStart=0,i.inputAreaLength=Math.round(i.outerLength-r.pad.l-r.pad.r);var o=i.inputAreaLength-2*Dr.stepInset,s=o\/(r._stepCount-1),u=a+Dr.labelPadding;if(i.labelStride=Math.max(1,Math.ceil(u\/s)),i.labelHeight=n,i.currentValueMaxWidth=0,i.currentValueHeight=0,i.currentValueTotalHeight=0,i.currentValueMaxLines=1,r.currentvalue.visible){var f=hi.tester.append(\"g\");t.each(function(m){var y=Hd(f,r,m.label),g=y.node()&#038;&#038;hi.bBox(y.node())||{width:0,height:0},_=qc.lineCount(y);i.currentValueMaxWidth=Math.max(i.currentValueMaxWidth,Math.ceil(g.width)),i.currentValueHeight=Math.max(i.currentValueHeight,Math.ceil(g.height)),i.currentValueMaxLines=Math.max(i.currentValueMaxLines,_)}),i.currentValueTotalHeight=i.currentValueHeight+r.currentvalue.offset,f.remove()}i.height=i.currentValueTotalHeight+Dr.tickOffset+r.ticklen+Dr.labelOffset+i.labelHeight+r.pad.t+r.pad.b;var v=\"left\";gn.isRightAnchor(r)&#038;&#038;(i.lx-=i.outerLength,v=\"right\"),gn.isCenterAnchor(r)&#038;&#038;(i.lx-=i.outerLength\/2,v=\"center\");var h=\"top\";gn.isBottomAnchor(r)&#038;&#038;(i.ly-=i.height,h=\"bottom\"),gn.isMiddleAnchor(r)&#038;&#038;(i.ly-=i.height\/2,h=\"middle\"),i.outerLength=Math.ceil(i.outerLength),i.height=Math.ceil(i.height),i.lx=Math.round(i.lx),i.ly=Math.round(i.ly);var d={y:r.y,b:i.height*J2[h],t:i.height*Z2[h]};r.lenmode===\"fraction\"?(d.l=0,d.xl=r.x-r.len*Z2[v],d.r=0,d.xr=r.x+r.len*J2[v]):(d.x=r.x,d.l=i.outerLength*Z2[v],d.r=i.outerLength*J2[v]),Id.autoMargin(e,UD(r),d)}function xre(e,r,t){(t.steps[t.active]||{}).visible||(t.active=t._visibleSteps[0]._index),r.call(Hd,t).call(kre,t).call(wre,t).call(Tre,t).call(Are,e,t).call(_re,e,t);var a=t._dims;hi.setTranslate(r,a.lx+t.pad.l,a.ly+t.pad.t),r.call(XD,t,!1),r.call(Hd,t)}function Hd(e,r,t){if(r.currentvalue.visible){var a=r._dims,n,i;switch(r.currentvalue.xanchor){case\"right\":n=a.inputAreaLength-Dr.currentValueInset-a.currentValueMaxWidth,i=\"left\";break;case\"center\":n=a.inputAreaLength*.5,i=\"middle\";break;default:n=Dr.currentValueInset,i=\"left\"}var l=gn.ensureSingle(e,\"text\",Dr.labelClass,function(h){h.attr({\"text-anchor\":i,\"data-notex\":1})}),o=r.currentvalue.prefix?r.currentvalue.prefix:\"\";if(typeof t==\"string\")o+=t;else{var s=r.steps[r.active].label,u=r._gd._fullLayout._meta;u&#038;&#038;(s=gn.templateString(s,u)),o+=s}r.currentvalue.suffix&#038;&#038;(o+=r.currentvalue.suffix),l.call(hi.font,r.currentvalue.font).text(o).call(qc.convertToTspans,r._gd);var f=qc.lineCount(l),v=(a.currentValueMaxLines+1-f)*r.currentvalue.font.size*YD;return qc.positionText(l,n,v),l}}function _re(e,r,t){var a=gn.ensureSingle(e,\"rect\",Dr.gripRectClass,function(n){n.call(WD,r,e,t).style(\"pointer-events\",\"all\")});a.attr({width:Dr.gripWidth,height:Dr.gripHeight,rx:Dr.gripRadius,ry:Dr.gripRadius}).call(Bl.stroke,t.bordercolor).call(Bl.fill,t.bgcolor).style(\"stroke-width\",t.borderwidth+\"px\")}function VD(e,r,t){var a=gn.ensureSingle(e,\"text\",Dr.labelClass,function(l){l.attr({\"text-anchor\":\"middle\",\"data-notex\":1})}),n=r.step.label,i=t._gd._fullLayout._meta;return i&#038;&#038;(n=gn.templateString(n,i)),a.call(hi.font,t.font).text(n).call(qc.convertToTspans,t._gd),a}function wre(e,r){var t=gn.ensureSingle(e,\"g\",Dr.labelsClass),a=r._dims,n=t.selectAll(\"g.\"+Dr.labelGroupClass).data(a.labelSteps);n.enter().append(\"g\").classed(Dr.labelGroupClass,!0),n.exit().remove(),n.each(function(i){var l=vi.select(this);l.call(VD,i,r),hi.setTranslate(l,Q2(r,i.fraction),Dr.tickOffset+r.ticklen+r.font.size*YD+Dr.labelOffset+a.currentValueTotalHeight)})}function OD(e,r,t,a,n){var i=Math.round(a*(t._stepCount-1)),l=t._visibleSteps[i]._index;l!==t.active&#038;&#038;GD(e,r,t,l,!0,n)}function GD(e,r,t,a,n,i){var l=t.active;t.active=a,mre(e.layout,Dr.name,t).applyUpdate(\"active\",a);var o=t.steps[t.active];r.call(XD,t,i),r.call(Hd,t),e.emit(\"plotly_sliderchange\",{slider:t,step:t.steps[t.active],interaction:n,previousActive:l}),o&#038;&#038;o.method&#038;&#038;n&#038;&#038;(r._nextMethod?(r._nextMethod.step=o,r._nextMethod.doCallback=n,r._nextMethod.doTransition=i):(r._nextMethod={step:o,doCallback:n,doTransition:i},r._nextMethodRaf=window.requestAnimationFrame(function(){var s=r._nextMethod.step;s.method&#038;&#038;(s.execute&#038;&#038;Id.executeAPICommand(e,s.method,s.args),r._nextMethod=null,r._nextMethodRaf=null)})))}function WD(e,r,t){if(r._context.staticPlot)return;var a=t.node(),n=vi.select(r);function i(){return t.data()[0]}function l(){var o=i();r.emit(\"plotly_sliderstart\",{slider:o});var s=t.select(\".\"+Dr.gripRectClass);vi.event.stopPropagation(),vi.event.preventDefault(),s.call(Bl.fill,o.activebgcolor);var u=BD(o,vi.mouse(a)[0]);OD(r,t,o,u,!0),o._dragging=!0;function f(){var h=i(),d=BD(h,vi.mouse(a)[0]);OD(r,t,h,d,!1)}n.on(\"mousemove\",f),n.on(\"touchmove\",f);function v(){var h=i();h._dragging=!1,s.call(Bl.fill,h.bgcolor),n.on(\"mouseup\",null),n.on(\"mousemove\",null),n.on(\"touchend\",null),n.on(\"touchmove\",null),r.emit(\"plotly_sliderend\",{slider:h,step:h.steps[h.active]})}n.on(\"mouseup\",v),n.on(\"touchend\",v)}e.on(\"mousedown\",l),e.on(\"touchstart\",l)}function Tre(e,r){var t=e.selectAll(\"rect.\"+Dr.tickRectClass).data(r._visibleSteps),a=r._dims;t.enter().append(\"rect\").classed(Dr.tickRectClass,!0),t.exit().remove(),t.attr({width:r.tickwidth+\"px\",\"shape-rendering\":\"crispEdges\"}),t.each(function(n,i){var l=i%a.labelStride===0,o=vi.select(this);o.attr({height:l?r.ticklen:r.minorticklen}).call(Bl.fill,r.tickcolor),hi.setTranslate(o,Q2(r,i\/(r._stepCount-1))-.5*r.tickwidth,(l?Dr.tickOffset:Dr.minorTickOffset)+a.currentValueTotalHeight)})}function Mre(e){var r=e._dims;r.labelSteps=[];for(var t=e._stepCount,a=0;a<t;a+=r.labelStride)r.labelSteps.push({fraction:a\/(t-1),step:e._visibleSteps[a]})}function XD(e,r,t){for(var a=e.select(\"rect.\"+Dr.gripRectClass),n=0,i=0;i<r._stepCount;i++)if(r._visibleSteps[i]._index===r.active){n=i;break}var l=Q2(r,n\/(r._stepCount-1));if(!r._invokingCommand){var o=a;t&#038;&#038;r.transition.duration>0&&(o=o.transition().duration(r.transition.duration).ease(r.transition.easing)),o.attr(\"transform\",pre(l-Dr.gripWidth*.5,r._dims.currentValueTotalHeight))}}function Q2(e,r){var t=e._dims;return t.inputAreaStart+Dr.stepInset+(t.inputAreaLength-2*Dr.stepInset)*Math.min(1,Math.max(0,r))}function BD(e,r){var t=e._dims;return Math.min(1,Math.max(0,(r-Dr.stepInset-t.inputAreaStart)\/(t.inputAreaLength-2*Dr.stepInset-2*t.inputAreaStart)))}function Are(e,r,t){var a=t._dims,n=gn.ensureSingle(e,\"rect\",Dr.railTouchRectClass,function(i){i.call(WD,r,e,t).style(\"pointer-events\",\"all\")});n.attr({width:a.inputAreaLength,height:Math.max(a.inputAreaWidth,Dr.tickOffset+t.ticklen+a.labelHeight)}).call(Bl.fill,t.bgcolor).attr(\"opacity\",0),hi.setTranslate(n,0,a.currentValueTotalHeight)}function kre(e,r){var t=r._dims,a=t.inputAreaLength-Dr.railInset*2,n=gn.ensureSingle(e,\"rect\",Dr.railRectClass);n.attr({width:a,height:Dr.railWidth,rx:Dr.railRadius,ry:Dr.railRadius,\"shape-rendering\":\"crispEdges\"}).call(Bl.stroke,r.bordercolor).call(Bl.fill,r.bgcolor).style(\"stroke-width\",r.borderwidth+\"px\"),hi.setTranslate(n,Dr.railInset,(t.inputAreaWidth-Dr.railWidth)*.5+t.currentValueTotalHeight)}});var QD=K((Vce,KD)=>{\"use strict\";var Cre=Lc();KD.exports={moduleType:\"component\",name:Cre.name,layoutAttributes:X2(),supplyLayoutDefaults:HD(),draw:JD()}});var Od=K((Gce,jD)=>{\"use strict\";var $D=gi();jD.exports={bgcolor:{valType:\"color\",dflt:$D.background,editType:\"plot\"},bordercolor:{valType:\"color\",dflt:$D.defaultLine,editType:\"plot\"},borderwidth:{valType:\"integer\",dflt:0,min:0,editType:\"plot\"},autorange:{valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"calc\",impliedEdits:{\"^autorange\":!1}},{valType:\"any\",editType:\"calc\",impliedEdits:{\"^autorange\":!1}}],editType:\"calc\",impliedEdits:{autorange:!1}},thickness:{valType:\"number\",dflt:.15,min:0,max:1,editType:\"plot\"},visible:{valType:\"boolean\",dflt:!0,editType:\"calc\"},editType:\"calc\"}});var $2=K((Wce,eE)=>{\"use strict\";eE.exports={_isSubplotObj:!0,rangemode:{valType:\"enumerated\",values:[\"auto\",\"fixed\",\"match\"],dflt:\"match\",editType:\"calc\"},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"plot\"},{valType:\"any\",editType:\"plot\"}],editType:\"plot\"},editType:\"calc\"}});var Bd=K((Xce,rE)=>{\"use strict\";rE.exports={name:\"rangeslider\",containerClassName:\"rangeslider-container\",bgClassName:\"rangeslider-bg\",rangePlotClassName:\"rangeslider-rangeplot\",maskMinClassName:\"rangeslider-mask-min\",maskMaxClassName:\"rangeslider-mask-max\",slideBoxClassName:\"rangeslider-slidebox\",grabberMinClassName:\"rangeslider-grabber-min\",grabAreaMinClassName:\"rangeslider-grabarea-min\",handleMinClassName:\"rangeslider-handle-min\",grabberMaxClassName:\"rangeslider-grabber-max\",grabAreaMaxClassName:\"rangeslider-grabarea-max\",handleMaxClassName:\"rangeslider-handle-max\",maskMinOppAxisClassName:\"rangeslider-mask-min-opp-axis\",maskMaxOppAxisClassName:\"rangeslider-mask-max-opp-axis\",maskColor:\"rgba(0,0,0,0.4)\",maskOppAxisColor:\"rgba(0,0,0,0.2)\",slideBoxFill:\"transparent\",slideBoxCursor:\"ew-resize\",grabAreaFill:\"transparent\",grabAreaCursor:\"col-resize\",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}});var nE=K(Ud=>{\"use strict\";var Sre=Zt(),Lre=ba(),tE=Bd(),qre=Aa().LINE_SPACING,Yd=tE.name;function aE(e){var r=e&&e[Yd];return r&&r.visible}Ud.isVisible=aE;Ud.makeData=function(e){for(var r=Sre.list({_fullLayout:e},\"x\",!0),t=e.margin,a=[],n=0;n<r.length;n++){var i=r[n];if(aE(i)){a.push(i);var l=i[Yd];l._id=Yd+i._id,l._height=(e.height-t.b-t.t)*l.thickness,l._offsetShift=Math.floor(l.borderwidth\/2)}}e._rangeSliderData=a};Ud.autoMarginOpts=function(e,r){var t=e._fullLayout,a=r[Yd],n=r._id.charAt(0),i=0,l=0;if(r.side===\"bottom\"&#038;&#038;(i=r._depth,r.title.text!==t._dfltTitle[n])){l=1.5*r.title.font.size+10+a._offsetShift;var o=(r.title.text.match(Lre.BR_TAG_ALL)||[]).length;l+=o*r.title.font.size*qre}return{x:0,y:r._counterDomainMin,l:0,r:0,t:0,b:a._height+i+Math.max(t.margin.b,l),pad:tE.extraPad+a._offsetShift*2}}});var sE=K((Jce,oE)=>{\"use strict\";var Vd=Fe(),iE=ct(),lE=Zt(),Dre=Od(),Ere=$2();oE.exports=function(r,t,a){var n=r[a],i=t[a];if(!(n.rangeslider||t._requestRangeslider[i._id]))return;Vd.isPlainObject(n.rangeslider)||(n.rangeslider={});var l=n.rangeslider,o=iE.newContainer(i,\"rangeslider\");function s(M,S){return Vd.coerce(l,o,Dre,M,S)}var u,f;function v(M,S){return Vd.coerce(u,f,Ere,M,S)}var h=s(\"visible\");if(h){s(\"bgcolor\",t.plot_bgcolor),s(\"bordercolor\"),s(\"borderwidth\"),s(\"thickness\"),s(\"autorange\",!i.isValidRange(l.range)),s(\"range\");var d=t._subplots;if(d)for(var m=d.cartesian.filter(function(M){return M.slice(0,Math.max(0,M.indexOf(\"y\")))===lE.name2id(a)}).map(function(M){return M.slice(M.indexOf(\"y\"),M.length)}),y=Vd.simpleMap(m,lE.id2name),g=0;g<y.length;g++){var _=y[g];u=l[_]||{},f=iE.newContainer(o,_,\"yaxis\");var T=t[_],w;u.range&#038;&#038;T.isValidRange(u.range)&#038;&#038;(w=\"fixed\");var b=v(\"rangemode\",w);b!==\"match\"&#038;&#038;v(\"range\",T.range.slice())}o._input=l}}});var fE=K((Kce,uE)=>{\"use strict\";var Pre=Zt().list,Rre=Tf().getAutoRange,zre=Bd();uE.exports=function(r){for(var t=Pre(r,\"x\",!0),a=0;a<t.length;a++){var n=t[a],i=n[zre.name];i&#038;&#038;i.visible&#038;&#038;i.autorange&#038;&#038;(i._input.autorange=!0,i._input.range=i.range=Rre(r,n))}}});var dE=K((Qce,hE)=>{\"use strict\";var Gd=zr(),Nre=br(),Fre=It(),Ct=Fe(),Wd=Ct.strTranslate,vE=tt(),Yl=Er(),Ire=_f(),Hre=qd(),j2=Zt(),Ore=ti(),Bre=Ll(),Fr=Bd();hE.exports=function(e){for(var r=e._fullLayout,t=r._rangeSliderData,a=0;a<t.length;a++){var n=t[a][Fr.name];n._clipId=n._id+\"-\"+r._uid}function i(o){return o._name}var l=r._infolayer.selectAll(\"g.\"+Fr.containerClassName).data(t,i);l.exit().each(function(o){var s=o[Fr.name];r._topdefs.select(\"#\"+s._clipId).remove()}).remove(),t.length!==0&#038;&#038;(l.enter().append(\"g\").classed(Fr.containerClassName,!0).attr(\"pointer-events\",\"all\"),l.each(function(o){var s=Gd.select(this),u=o[Fr.name],f=r[j2.id2name(o.anchor)],v=u[j2.id2name(o.anchor)];if(u.range){var h=Ct.simpleMap(u.range,o.r2l),d=Ct.simpleMap(o.range,o.r2l),m;d[0]<d[1]?m=[Math.min(h[0],d[0]),Math.max(h[1],d[1])]:m=[Math.max(h[0],d[0]),Math.min(h[1],d[1])],u.range=u._input.range=Ct.simpleMap(m,o.l2r)}o.cleanRange(\"rangeslider.range\");var y=r._size,g=o.domain;u._width=y.w*(g[1]-g[0]);var _=Math.round(y.l+y.w*g[0]),T=Math.round(y.t+y.h*(1-o._counterDomainMin)+(o.side===\"bottom\"?o._depth:0)+u._offsetShift+Fr.extraPad);s.attr(\"transform\",Wd(_,T)),u._rl=Ct.simpleMap(u.range,o.r2l);var w=u._rl[0],b=u._rl[1],M=b-w;if(u.p2d=function(V){return V\/u._width*M+w},u.d2p=function(V){return(V-w)\/M*u._width},o.rangebreaks){var S=o.locateBreaks(w,b);if(S.length){var k,q,D=0;for(k=0;k<S.length;k++)q=S[k],D+=q.max-q.min;var P=u._width\/(b-w-D),z=[-P*w];for(k=0;k<S.length;k++)q=S[k],z.push(z[z.length-1]-P*(q.max-q.min));for(u.d2p=function(V){for(var J=z[0],G=0;G<S.length;G++){var U=S[G];if(V>=U.max)J=z[G+1];else if(V<U.min)break}return J+P*V},k=0;k<S.length;k++)q=S[k],q.pmin=u.d2p(q.min),q.pmax=u.d2p(q.max);u.p2d=function(V){for(var J=z[0],G=0;G<S.length;G++){var U=S[G];if(V>=U.pmax)J=z[G+1];else if(V<U.pmin)break}return(V-J)\/P}}}if(v.rangemode!==\"match\"){var F=f.r2l(v.range[0]),O=f.r2l(v.range[1]),I=O-F;u.d2pOppAxis=function(V){return(V-F)\/I*u._height}}s.call(Gre,e,o,u).call(Wre,e,o,u).call(Xre,e,o,u).call(Jre,e,o,u,v).call(Kre,e,o,u).call(Qre,e,o,u),Yre(s,e,o,u),Vre(s,e,o,u,f,v),o.side===\"bottom\"&#038;&#038;Ire.draw(e,o._id+\"title\",{propContainer:o,propName:o._name+\".title.text\",placeholder:r._dfltTitle.x,attributes:{x:o._offset+o._length\/2,y:T+u._height+u._offsetShift+10+1.5*o.title.font.size,\"text-anchor\":\"middle\"}})}))};function cE(e){return typeof e.clientX==\"number\"?e.clientX:e.touches&#038;&#038;e.touches.length>0?e.touches[0].clientX:0}function Yre(e,r,t,a){if(r._context.staticPlot)return;var n=e.select(\"rect.\"+Fr.slideBoxClassName).node(),i=e.select(\"rect.\"+Fr.grabAreaMinClassName).node(),l=e.select(\"rect.\"+Fr.grabAreaMaxClassName).node();function o(){var s=Gd.event,u=s.target,f=cE(s),v=f-e.node().getBoundingClientRect().left,h=a.d2p(t._rl[0]),d=a.d2p(t._rl[1]),m=Ore.coverSlip();this.addEventListener(\"touchmove\",y),this.addEventListener(\"touchend\",g),m.addEventListener(\"mousemove\",y),m.addEventListener(\"mouseup\",g);function y(_){var T=cE(_),w=+T-f,b,M,S;switch(u){case n:if(S=\"ew-resize\",h+w>t._length||d+w<0)return;b=h+w,M=d+w;break;case i:if(S=\"col-resize\",h+w>t._length)return;b=h+w,M=d;break;case l:if(S=\"col-resize\",d+w<0)return;b=h,M=d+w;break;default:S=\"ew-resize\",b=v,M=v+w;break}if(M<b){var k=M;M=b,b=k}a._pixelMin=b,a._pixelMax=M,Bre(Gd.select(m),S),Ure(e,r,t,a)}function g(){m.removeEventListener(\"mousemove\",y),m.removeEventListener(\"mouseup\",g),this.removeEventListener(\"touchmove\",y),this.removeEventListener(\"touchend\",g),Ct.removeElement(m)}}e.on(\"mousedown\",o),e.on(\"touchstart\",o)}function Ure(e,r,t,a){function n(o){return t.l2r(Ct.constrain(o,a._rl[0],a._rl[1]))}var i=n(a.p2d(a._pixelMin)),l=n(a.p2d(a._pixelMax));window.requestAnimationFrame(function(){Nre.call(\"_guiRelayout\",r,t._name+\".range\",[i,l])})}function Vre(e,r,t,a,n,i){var l=Fr.handleWidth\/2;function o(_){return Ct.constrain(_,0,a._width)}function s(_){return Ct.constrain(_,0,a._height)}function u(_){return Ct.constrain(_,-l,a._width+l)}var f=o(a.d2p(t._rl[0])),v=o(a.d2p(t._rl[1]));if(e.select(\"rect.\"+Fr.slideBoxClassName).attr(\"x\",f).attr(\"width\",v-f),e.select(\"rect.\"+Fr.maskMinClassName).attr(\"width\",f),e.select(\"rect.\"+Fr.maskMaxClassName).attr(\"x\",v).attr(\"width\",a._width-v),i.rangemode!==\"match\"){var h=a._height-s(a.d2pOppAxis(n._rl[1])),d=a._height-s(a.d2pOppAxis(n._rl[0]));e.select(\"rect.\"+Fr.maskMinOppAxisClassName).attr(\"x\",f).attr(\"height\",h).attr(\"width\",v-f),e.select(\"rect.\"+Fr.maskMaxOppAxisClassName).attr(\"x\",f).attr(\"y\",d).attr(\"height\",a._height-d).attr(\"width\",v-f),e.select(\"rect.\"+Fr.slideBoxClassName).attr(\"y\",h).attr(\"height\",d-h)}var m=.5,y=Math.round(u(f-l))-m,g=Math.round(u(v-l))+m;e.select(\"g.\"+Fr.grabberMinClassName).attr(\"transform\",Wd(y,m)),e.select(\"g.\"+Fr.grabberMaxClassName).attr(\"transform\",Wd(g,m))}function Gre(e,r,t,a){var n=Ct.ensureSingle(e,\"rect\",Fr.bgClassName,function(s){s.attr({x:0,y:0,\"shape-rendering\":\"crispEdges\"})}),i=a.borderwidth%2===0?a.borderwidth:a.borderwidth-1,l=-a._offsetShift,o=vE.crispRound(r,a.borderwidth);n.attr({width:a._width+i,height:a._height+i,transform:Wd(l,l),\"stroke-width\":o}).call(Yl.stroke,a.bordercolor).call(Yl.fill,a.bgcolor)}function Wre(e,r,t,a){var n=r._fullLayout,i=Ct.ensureSingleById(n._topdefs,\"clipPath\",a._clipId,function(l){l.append(\"rect\").attr({x:0,y:0})});i.select(\"rect\").attr({width:a._width,height:a._height})}function Xre(e,r,t,a){var n=r.calcdata,i=e.selectAll(\"g.\"+Fr.rangePlotClassName).data(t._subplotsWith,Ct.identity);i.enter().append(\"g\").attr(\"class\",function(o){return Fr.rangePlotClassName+\" \"+o}).call(vE.setClipUrl,a._clipId,r),i.order(),i.exit().remove();var l;i.each(function(o,s){var u=Gd.select(this),f=s===0,v=j2.getFromId(r,o,\"y\"),h=v._name,d=a[h],m={data:[],layout:{xaxis:{type:t.type,domain:[0,1],range:a.range.slice(),calendar:t.calendar},width:a._width,height:a._height,margin:{t:0,b:0,l:0,r:0}},_context:r._context};t.rangebreaks&#038;&#038;(m.layout.xaxis.rangebreaks=t.rangebreaks),m.layout[h]={type:v.type,domain:[0,1],range:d.rangemode!==\"match\"?d.range.slice():v.range.slice(),calendar:v.calendar},v.rangebreaks&#038;&#038;(m.layout[h].rangebreaks=v.rangebreaks),Fre.supplyDefaults(m);var y=m._fullLayout.xaxis,g=m._fullLayout[h];y.clearCalc(),y.setScale(),g.clearCalc(),g.setScale();var _={id:o,plotgroup:u,xaxis:y,yaxis:g,isRangePlot:!0};f?l=_:(_.mainplot=\"xy\",_.mainplotinfo=l),Hre.rangePlot(r,_,Zre(n,o))})}function Zre(e,r){for(var t=[],a=0;a<e.length;a++){var n=e[a],i=n[0].trace;i.xaxis+i.yaxis===r&#038;&#038;t.push(n)}return t}function Jre(e,r,t,a,n){var i=Ct.ensureSingle(e,\"rect\",Fr.maskMinClassName,function(u){u.attr({x:0,y:0,\"shape-rendering\":\"crispEdges\"})});i.attr(\"height\",a._height).call(Yl.fill,Fr.maskColor);var l=Ct.ensureSingle(e,\"rect\",Fr.maskMaxClassName,function(u){u.attr({y:0,\"shape-rendering\":\"crispEdges\"})});if(l.attr(\"height\",a._height).call(Yl.fill,Fr.maskColor),n.rangemode!==\"match\"){var o=Ct.ensureSingle(e,\"rect\",Fr.maskMinOppAxisClassName,function(u){u.attr({y:0,\"shape-rendering\":\"crispEdges\"})});o.attr(\"width\",a._width).call(Yl.fill,Fr.maskOppAxisColor);var s=Ct.ensureSingle(e,\"rect\",Fr.maskMaxOppAxisClassName,function(u){u.attr({y:0,\"shape-rendering\":\"crispEdges\"})});s.attr(\"width\",a._width).style(\"border-top\",Fr.maskOppBorder).call(Yl.fill,Fr.maskOppAxisColor)}}function Kre(e,r,t,a){if(!r._context.staticPlot){var n=Ct.ensureSingle(e,\"rect\",Fr.slideBoxClassName,function(i){i.attr({y:0,cursor:Fr.slideBoxCursor,\"shape-rendering\":\"crispEdges\"})});n.attr({height:a._height,fill:Fr.slideBoxFill})}}function Qre(e,r,t,a){var n=Ct.ensureSingle(e,\"g\",Fr.grabberMinClassName),i=Ct.ensureSingle(e,\"g\",Fr.grabberMaxClassName),l={x:0,width:Fr.handleWidth,rx:Fr.handleRadius,fill:Yl.background,stroke:Yl.defaultLine,\"stroke-width\":Fr.handleStrokeWidth,\"shape-rendering\":\"crispEdges\"},o={y:Math.round(a._height\/4),height:Math.round(a._height\/2)},s=Ct.ensureSingle(n,\"rect\",Fr.handleMinClassName,function(d){d.attr(l)});s.attr(o);var u=Ct.ensureSingle(i,\"rect\",Fr.handleMaxClassName,function(d){d.attr(l)});u.attr(o);var f={width:Fr.grabAreaWidth,x:0,y:0,fill:Fr.grabAreaFill,cursor:r._context.staticPlot?void 0:Fr.grabAreaCursor},v=Ct.ensureSingle(n,\"rect\",Fr.grabAreaMinClassName,function(d){d.attr(f)});v.attr(\"height\",a._height);var h=Ct.ensureSingle(i,\"rect\",Fr.grabAreaMaxClassName,function(d){d.attr(f)});h.attr(\"height\",a._height)}});var mE=K(($ce,pE)=>{\"use strict\";var $re=Fe(),jre=Od(),ete=$2(),e3=nE();pE.exports={moduleType:\"component\",name:\"rangeslider\",schema:{subplots:{xaxis:{rangeslider:$re.extendFlat({},jre,{yaxis:ete})}}},layoutAttributes:Od(),handleDefaults:sE(),calcAutorange:fE(),draw:dE(),isVisible:e3.isVisible,makeData:e3.makeData,autoMarginOpts:e3.autoMarginOpts}});var Xd=K((jce,gE)=>{\"use strict\";var rte=ga(),yE=gi(),tte=ct().templatedArray,ate=tte(\"button\",{visible:{valType:\"boolean\",dflt:!0,editType:\"plot\"},step:{valType:\"enumerated\",values:[\"month\",\"year\",\"day\",\"hour\",\"minute\",\"second\",\"all\"],dflt:\"month\",editType:\"plot\"},stepmode:{valType:\"enumerated\",values:[\"backward\",\"todate\"],dflt:\"backward\",editType:\"plot\"},count:{valType:\"number\",min:0,dflt:1,editType:\"plot\"},label:{valType:\"string\",editType:\"plot\"},editType:\"plot\"});gE.exports={visible:{valType:\"boolean\",editType:\"plot\"},buttons:ate,x:{valType:\"number\",min:-2,max:3,editType:\"plot\"},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"left\",editType:\"plot\"},y:{valType:\"number\",min:-2,max:3,editType:\"plot\"},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],dflt:\"bottom\",editType:\"plot\"},font:rte({editType:\"plot\"}),bgcolor:{valType:\"color\",dflt:yE.lightLine,editType:\"plot\"},activecolor:{valType:\"color\",editType:\"plot\"},bordercolor:{valType:\"color\",dflt:yE.defaultLine,editType:\"plot\"},borderwidth:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},editType:\"plot\"}});var r3=K((eve,bE)=>{\"use strict\";bE.exports={yPad:.02,minButtonWidth:30,rx:3,ry:3,lightAmount:25,darkAmount:10}});var wE=K((rve,_E)=>{\"use strict\";var Zd=Fe(),nte=Er(),ite=ct(),lte=ei(),xE=Xd(),t3=r3();_E.exports=function(r,t,a,n,i){var l=r.rangeselector||{},o=ite.newContainer(t,\"rangeselector\");function s(d,m){return Zd.coerce(l,o,xE,d,m)}var u=lte(l,o,{name:\"buttons\",handleItemDefaults:ote,calendar:i}),f=s(\"visible\",u.length>0);if(f){var v=ste(t,a,n);s(\"x\",v[0]),s(\"y\",v[1]),Zd.noneOrAll(r,t,[\"x\",\"y\"]),s(\"xanchor\"),s(\"yanchor\"),Zd.coerceFont(s,\"font\",a.font);var h=s(\"bgcolor\");s(\"activecolor\",nte.contrast(h,t3.lightAmount,t3.darkAmount)),s(\"bordercolor\"),s(\"borderwidth\")}};function ote(e,r,t,a){var n=a.calendar;function i(s,u){return Zd.coerce(e,r,xE.buttons,s,u)}var l=i(\"visible\");if(l){var o=i(\"step\");o!==\"all\"&&(n&&n!==\"gregorian\"&&(o===\"month\"||o===\"year\")?r.stepmode=\"backward\":i(\"stepmode\"),i(\"count\")),i(\"label\")}}function ste(e,r,t){for(var a=t.filter(function(o){return r[o].anchor===e._id}),n=0,i=0;i<a.length;i++){var l=r[a[i]].domain;l&#038;&#038;(n=Math.max(l[1],n))}return[e.domain[0],n+t3.yPad]}});var ME=K((tve,TE)=>{\"use strict\";var ute=Q1(),fte=Fe().titleCase;TE.exports=function(r,t){var a=r._name,n={};if(t.step===\"all\")n[a+\".autorange\"]=!0;else{var i=cte(r,t);n[a+\".range[0]\"]=i[0],n[a+\".range[1]\"]=i[1]}return n};function cte(e,r){var t=e.range,a=new Date(e.r2l(t[1])),n=r.step,i=ute[\"utc\"+fte(n)],l=r.count,o;switch(r.stepmode){case\"backward\":o=e.l2r(+i.offset(a,-l));break;case\"todate\":var s=i.offset(a,-l);o=e.l2r(+i.ceil(s));break}var u=t[1];return[o,u]}});var EE=K((ave,DE)=>{\"use strict\";var Kd=zr(),vte=br(),hte=It(),AE=Er(),qE=tt(),al=Fe(),kE=al.strTranslate,Jd=ba(),dte=Zt(),i3=Aa(),CE=i3.LINE_SPACING,SE=i3.FROM_TL,LE=i3.FROM_BR,n3=r3(),pte=ME();DE.exports=function(r){var t=r._fullLayout,a=t._infolayer.selectAll(\".rangeselector\").data(mte(r),yte);a.enter().append(\"g\").classed(\"rangeselector\",!0),a.exit().remove(),a.style({cursor:\"pointer\",\"pointer-events\":\"all\"}),a.each(function(n){var i=Kd.select(this),l=n,o=l.rangeselector,s=i.selectAll(\"g.button\").data(al.filterVisible(o.buttons));s.enter().append(\"g\").classed(\"button\",!0),s.exit().remove(),s.each(function(u){var f=Kd.select(this),v=pte(l,u);u._isActive=gte(l,u,v),f.call(a3,o,u),f.call(xte,o,u,r),f.on(\"click\",function(){r._dragged||vte.call(\"_guiRelayout\",r,v)}),f.on(\"mouseover\",function(){u._isHovered=!0,f.call(a3,o,u)}),f.on(\"mouseout\",function(){u._isHovered=!1,f.call(a3,o,u)})}),wte(r,s,o,l._name,i)})};function mte(e){for(var r=dte.list(e,\"x\",!0),t=[],a=0;a<r.length;a++){var n=r[a];n.rangeselector&#038;&#038;n.rangeselector.visible&#038;&#038;t.push(n)}return t}function yte(e){return e._id}function gte(e,r,t){if(r.step===\"all\")return e.autorange===!0;var a=Object.keys(t);return e.range[0]===t[a[0]]&#038;&#038;e.range[1]===t[a[1]]}function a3(e,r,t){var a=al.ensureSingle(e,\"rect\",\"selector-rect\",function(n){n.attr(\"shape-rendering\",\"crispEdges\")});a.attr({rx:n3.rx,ry:n3.ry}),a.call(AE.stroke,r.bordercolor).call(AE.fill,bte(r,t)).style(\"stroke-width\",r.borderwidth+\"px\")}function bte(e,r){return r._isActive||r._isHovered?e.activecolor:e.bgcolor}function xte(e,r,t,a){function n(l){Jd.convertToTspans(l,a)}var i=al.ensureSingle(e,\"text\",\"selector-text\",function(l){l.attr(\"text-anchor\",\"middle\")});i.call(qE.font,r.font).text(_te(t,a._fullLayout._meta)).call(n)}function _te(e,r){return e.label?r?al.templateString(e.label,r):e.label:e.step===\"all\"?\"all\":e.count+e.step.charAt(0)}function wte(e,r,t,a,n){var i=0,l=0,o=t.borderwidth;r.each(function(){var d=Kd.select(this),m=d.select(\".selector-text\"),y=t.font.size*CE,g=Math.max(y*Jd.lineCount(m),16)+3;l=Math.max(l,g)}),r.each(function(){var d=Kd.select(this),m=d.select(\".selector-rect\"),y=d.select(\".selector-text\"),g=y.node()&#038;&#038;qE.bBox(y.node()).width,_=t.font.size*CE,T=Jd.lineCount(y),w=Math.max(g+10,n3.minButtonWidth);d.attr(\"transform\",kE(o+i,o)),m.attr({x:0,y:0,width:w,height:l}),Jd.positionText(y,w\/2,l\/2-(T-1)*_\/2+3),i+=w+5});var s=e._fullLayout._size,u=s.l+s.w*t.x,f=s.t+s.h*(1-t.y),v=\"left\";al.isRightAnchor(t)&#038;&#038;(u-=i,v=\"right\"),al.isCenterAnchor(t)&#038;&#038;(u-=i\/2,v=\"center\");var h=\"top\";al.isBottomAnchor(t)&#038;&#038;(f-=l,h=\"bottom\"),al.isMiddleAnchor(t)&#038;&#038;(f-=l\/2,h=\"middle\"),i=Math.ceil(i),l=Math.ceil(l),u=Math.round(u),f=Math.round(f),hte.autoMargin(e,a+\"-range-selector\",{x:t.x,y:t.y,l:i*SE[v],r:i*LE[v],b:l*LE[h],t:l*SE[h]}),n.attr(\"transform\",kE(u,f))}});var RE=K((nve,PE)=>{\"use strict\";PE.exports={moduleType:\"component\",name:\"rangeselector\",schema:{subplots:{xaxis:{rangeselector:Xd()}}},layoutAttributes:Xd(),handleDefaults:wE(),draw:EE()}});var Qd=K(l3=>{\"use strict\";var zE=Wt().extendFlat;l3.attributes=function(e,r){e=e||{},r=r||{};var t={valType:\"info_array\",editType:e.editType,items:[{valType:\"number\",min:0,max:1,editType:e.editType},{valType:\"number\",min:0,max:1,editType:e.editType}],dflt:[0,1]},a=e.name?e.name+\" \":\"\",n=e.trace?\"trace \":\"subplot \",i=r.description?\" \"+r.description:\"\",l={x:zE({},t,{}),y:zE({},t,{}),editType:e.editType};return e.noGridCell||(l.row={valType:\"integer\",min:0,dflt:0,editType:e.editType},l.column={valType:\"integer\",min:0,dflt:0,editType:e.editType}),l};l3.defaults=function(e,r,t,a){var n=a&&a.x||[0,1],i=a&&a.y||[0,1],l=r.grid;if(l){var o=t(\"domain.column\");o!==void 0&&(o<l.columns?n=l._domains.x[o]:delete e.domain.column);var s=t(\"domain.row\");s!==void 0&#038;&#038;(s<l.rows?i=l._domains.y[s]:delete e.domain.row)}var u=t(\"domain.x\",n),f=t(\"domain.y\",i);u[0]<u[1]||(e.domain.x=n.slice()),f[0]<f[1]||(e.domain.y=i.slice())}});var OE=K((lve,HE)=>{\"use strict\";var Tte=Fe(),Mte=Ms().counter,Ate=Qd().attributes,NE=$t().idRegex,kte=ct(),o3={rows:{valType:\"integer\",min:1,editType:\"plot\"},roworder:{valType:\"enumerated\",values:[\"top to bottom\",\"bottom to top\"],dflt:\"top to bottom\",editType:\"plot\"},columns:{valType:\"integer\",min:1,editType:\"plot\"},subplots:{valType:\"info_array\",freeLength:!0,dimensions:2,items:{valType:\"enumerated\",values:[Mte(\"xy\").toString(),\"\"],editType:\"plot\"},editType:\"plot\"},xaxes:{valType:\"info_array\",freeLength:!0,items:{valType:\"enumerated\",values:[NE.x.toString(),\"\"],editType:\"plot\"},editType:\"plot\"},yaxes:{valType:\"info_array\",freeLength:!0,items:{valType:\"enumerated\",values:[NE.y.toString(),\"\"],editType:\"plot\"},editType:\"plot\"},pattern:{valType:\"enumerated\",values:[\"independent\",\"coupled\"],dflt:\"coupled\",editType:\"plot\"},xgap:{valType:\"number\",min:0,max:1,editType:\"plot\"},ygap:{valType:\"number\",min:0,max:1,editType:\"plot\"},domain:Ate({name:\"grid\",editType:\"plot\",noGridCell:!0},{}),xside:{valType:\"enumerated\",values:[\"bottom\",\"bottom plot\",\"top plot\",\"top\"],dflt:\"bottom plot\",editType:\"plot\"},yside:{valType:\"enumerated\",values:[\"left\",\"left plot\",\"right plot\",\"right\"],dflt:\"left plot\",editType:\"plot\"},editType:\"plot\"};function $d(e,r,t){var a=r[t+\"axes\"],n=Object.keys((e._splomAxes||{})[t]||{});if(Array.isArray(a))return a;if(n.length)return n}function Cte(e,r){var t=e.grid||{},a=$d(r,t,\"x\"),n=$d(r,t,\"y\");if(!e.grid&&!a&&!n)return;var i=Array.isArray(t.subplots)&&Array.isArray(t.subplots[0]),l=Array.isArray(a),o=Array.isArray(n),s=l&&a!==t.xaxes&&o&&n!==t.yaxes,u,f;i?(u=t.subplots.length,f=t.subplots[0].length):(o&&(u=n.length),l&&(f=a.length));var v=kte.newContainer(r,\"grid\");function h(S,k){return Tte.coerce(t,v,o3,S,k)}var d=h(\"rows\",u),m=h(\"columns\",f);if(!(d*m>1)){delete r.grid;return}if(!i&&!l&&!o){var y=h(\"pattern\")===\"independent\";y&&(i=!0)}v._hasSubplotGrid=i;var g=h(\"roworder\"),_=g===\"top to bottom\",T=i?.2:.1,w=i?.3:.1,b,M;s&&r._splomGridDflt&&(b=r._splomGridDflt.xside,M=r._splomGridDflt.yside),v._domains={x:FE(\"x\",h,T,b,m),y:FE(\"y\",h,w,M,d,_)}}function FE(e,r,t,a,n,i){var l=r(e+\"gap\",t),o=r(\"domain.\"+e);r(e+\"side\",a);for(var s=new Array(n),u=o[0],f=(o[1]-u)\/(n-l),v=f*(1-l),h=0;h<n;h++){var d=u+f*h;s[i?n-1-h:h]=[d,d+v]}return s}function Ste(e,r){var t=r.grid;if(!(!t||!t._domains)){var a=e.grid||{},n=r._subplots,i=t._hasSubplotGrid,l=t.rows,o=t.columns,s=t.pattern===\"independent\",u,f,v,h,d,m,y,g=t._axisMap={};if(i){var _=a.subplots||[];m=t.subplots=new Array(l);var T=1;for(u=0;u<l;u++){var w=m[u]=new Array(o),b=_[u]||[];for(f=0;f<o;f++)if(s?(d=T===1?\"xy\":\"x\"+T+\"y\"+T,T++):d=b[f],w[f]=\"\",n.cartesian.indexOf(d)!==-1){if(y=d.indexOf(\"y\"),v=d.slice(0,y),h=d.slice(y),g[v]!==void 0&#038;&#038;g[v]!==f||g[h]!==void 0&#038;&#038;g[h]!==u)continue;w[f]=d,g[v]=f,g[h]=u}}}else{var M=$d(r,a,\"x\"),S=$d(r,a,\"y\");t.xaxes=IE(M,n.xaxis,o,g,\"x\"),t.yaxes=IE(S,n.yaxis,l,g,\"y\")}var k=t._anchors={},q=t.roworder===\"top to bottom\";for(var D in g){var P=D.charAt(0),z=t[P+\"side\"],F,O,I;if(z.length<8)k[D]=\"free\";else if(P===\"x\"){if(z.charAt(0)===\"t\"===q?(F=0,O=1,I=l):(F=l-1,O=-1,I=-1),i){var V=g[D];for(u=F;u!==I;u+=O)if(d=m[u][V],!!d&#038;&#038;(y=d.indexOf(\"y\"),d.slice(0,y)===D)){k[D]=d.slice(y);break}}else for(u=F;u!==I;u+=O)if(h=t.yaxes[u],n.cartesian.indexOf(D+h)!==-1){k[D]=h;break}}else if(z.charAt(0)===\"l\"?(F=0,O=1,I=o):(F=o-1,O=-1,I=-1),i){var J=g[D];for(u=F;u!==I;u+=O)if(d=m[J][u],!!d&#038;&#038;(y=d.indexOf(\"y\"),d.slice(y)===D)){k[D]=d.slice(0,y);break}}else for(u=F;u!==I;u+=O)if(v=t.xaxes[u],n.cartesian.indexOf(v+D)!==-1){k[D]=v;break}}}}function IE(e,r,t,a,n){var i=new Array(t),l;function o(s,u){r.indexOf(u)!==-1&#038;&#038;a[u]===void 0?(i[s]=u,a[u]=s):i[s]=\"\"}if(Array.isArray(e))for(l=0;l<t;l++)o(l,e[l]);else for(o(0,n),l=1;l<t;l++)o(l,n+(l+1));return i}HE.exports={moduleType:\"component\",name:\"grid\",schema:{layout:{grid:o3}},layoutAttributes:o3,sizeDefaults:Cte,contentDefaults:Ste}});var s3=K((ove,BE)=>{\"use strict\";BE.exports={visible:{valType:\"boolean\",editType:\"calc\"},type:{valType:\"enumerated\",values:[\"percent\",\"constant\",\"sqrt\",\"data\"],editType:\"calc\"},symmetric:{valType:\"boolean\",editType:\"calc\"},array:{valType:\"data_array\",editType:\"calc\"},arrayminus:{valType:\"data_array\",editType:\"calc\"},value:{valType:\"number\",min:0,dflt:10,editType:\"calc\"},valueminus:{valType:\"number\",min:0,dflt:10,editType:\"calc\"},traceref:{valType:\"integer\",min:0,dflt:0,editType:\"style\"},tracerefminus:{valType:\"integer\",min:0,dflt:0,editType:\"style\"},copy_ystyle:{valType:\"boolean\",editType:\"plot\"},copy_zstyle:{valType:\"boolean\",editType:\"style\"},color:{valType:\"color\",editType:\"style\"},thickness:{valType:\"number\",min:0,dflt:2,editType:\"style\"},width:{valType:\"number\",min:0,editType:\"plot\"},editType:\"calc\"}});var VE=K((sve,UE)=>{\"use strict\";var YE=Hr(),Lte=br(),qte=Fe(),Dte=ct(),Ete=s3();UE.exports=function(e,r,t,a){var n=\"error_\"+a.axis,i=Dte.newContainer(r,n),l=e[n]||{};function o(m,y){return qte.coerce(l,i,Ete,m,y)}var s=l.array!==void 0||l.value!==void 0||l.type===\"sqrt\",u=o(\"visible\",s);if(u!==!1){var f=o(\"type\",\"array\"in l?\"data\":\"percent\"),v=!0;f!==\"sqrt\"&&(v=o(\"symmetric\",!((f===\"data\"?\"arrayminus\":\"valueminus\")in l))),f===\"data\"?(o(\"array\"),o(\"traceref\"),v||(o(\"arrayminus\"),o(\"tracerefminus\"))):(f===\"percent\"||f===\"constant\")&&(o(\"value\"),v||o(\"valueminus\"));var h=\"copy_\"+a.inherit+\"style\";if(a.inherit){var d=r[\"error_\"+a.inherit];(d||{}).visible&&o(h,!(l.color||YE(l.thickness)||YE(l.width)))}(!a.inherit||!i[h])&&(o(\"color\",t),o(\"thickness\"),o(\"width\",Lte.traceIs(r,\"gl3d\")?0:4))}}});var u3=K((uve,WE)=>{\"use strict\";WE.exports=function(r){var t=r.type,a=r.symmetric;if(t===\"data\"){var n=r.array||[];if(a)return function(u,f){var v=+n[f];return[v,v]};var i=r.arrayminus||[];return function(u,f){var v=+n[f],h=+i[f];return!isNaN(v)||!isNaN(h)?[h||0,v||0]:[NaN,NaN]}}else{var l=GE(t,r.value),o=GE(t,r.valueminus);return a||r.valueminus===void 0?function(u){var f=l(u);return[f,f]}:function(u){return[o(u),l(u)]}}};function GE(e,r){if(e===\"percent\")return function(t){return Math.abs(t*r\/100)};if(e===\"constant\")return function(){return Math.abs(r)};if(e===\"sqrt\")return function(t){return Math.sqrt(Math.abs(t))}}});var JE=K((fve,ZE)=>{\"use strict\";var f3=Hr(),Pte=br(),c3=pt(),Rte=Fe(),zte=u3();ZE.exports=function(r){for(var t=r.calcdata,a=0;a<t.length;a++){var n=t[a],i=n[0].trace;if(i.visible===!0&#038;&#038;Pte.traceIs(i,\"errorBarsOK\")){var l=c3.getFromId(r,i.xaxis),o=c3.getFromId(r,i.yaxis);XE(n,i,l,\"x\"),XE(n,i,o,\"y\")}}};function XE(e,r,t,a){var n=r[\"error_\"+a]||{},i=n.visible&#038;&#038;[\"linear\",\"log\"].indexOf(t.type)!==-1,l=[];if(i){for(var o=zte(n),s=0;s<e.length;s++){var u=e[s],f=u.i;if(f===void 0)f=s;else if(f===null)continue;var v=u[a];if(f3(t.c2l(v))){var h=o(v,f);if(f3(h[0])&#038;&#038;f3(h[1])){var d=u[a+\"s\"]=v-h[0],m=u[a+\"h\"]=v+h[1];l.push(d,m)}}}var y=t._id,g=r._extremes[y],_=c3.findExtremes(t,l,Rte.extendFlat({tozero:g.opts.tozero},{padded:!0}));g.min=g.min.concat(_.min),g.max=g.max.concat(_.max)}}});var $E=K((cve,QE)=>{\"use strict\";var KE=zr(),Ul=Hr(),Nte=tt(),Fte=un();QE.exports=function(r,t,a,n){var i,l=a.xaxis,o=a.yaxis,s=n&&n.duration>0,u=r._context.staticPlot;t.each(function(f){var v=f[0].trace,h=v.error_x||{},d=v.error_y||{},m;v.ids&&(m=function(T){return T.id});var y=Fte.hasMarkers(v)&&v.marker.maxdisplayed>0;!d.visible&&!h.visible&&(f=[]);var g=KE.select(this).selectAll(\"g.errorbar\").data(f,m);if(g.exit().remove(),!!f.length){h.visible||g.selectAll(\"path.xerror\").remove(),d.visible||g.selectAll(\"path.yerror\").remove(),g.style(\"opacity\",1);var _=g.enter().append(\"g\").classed(\"errorbar\",!0);s&&_.style(\"opacity\",0).transition().duration(n.duration).style(\"opacity\",1),Nte.setClipUrl(g,a.layerClipId,r),g.each(function(T){var w=KE.select(this),b=Ite(T,l,o);if(!(y&&!T.vis)){var M,S=w.select(\"path.yerror\");if(d.visible&&Ul(b.x)&&Ul(b.yh)&&Ul(b.ys)){var k=d.width;M=\"M\"+(b.x-k)+\",\"+b.yh+\"h\"+2*k+\"m-\"+k+\",0V\"+b.ys,b.noYS||(M+=\"m-\"+k+\",0h\"+2*k),i=!S.size(),i?S=w.append(\"path\").style(\"vector-effect\",u?\"none\":\"non-scaling-stroke\").classed(\"yerror\",!0):s&&(S=S.transition().duration(n.duration).ease(n.easing)),S.attr(\"d\",M)}else S.remove();var q=w.select(\"path.xerror\");if(h.visible&&Ul(b.y)&&Ul(b.xh)&&Ul(b.xs)){var D=(h.copy_ystyle?d:h).width;M=\"M\"+b.xh+\",\"+(b.y-D)+\"v\"+2*D+\"m0,-\"+D+\"H\"+b.xs,b.noXS||(M+=\"m0,-\"+D+\"v\"+2*D),i=!q.size(),i?q=w.append(\"path\").style(\"vector-effect\",u?\"none\":\"non-scaling-stroke\").classed(\"xerror\",!0):s&&(q=q.transition().duration(n.duration).ease(n.easing)),q.attr(\"d\",M)}else q.remove()}})}})};function Ite(e,r,t){var a={x:r.c2p(e.x),y:t.c2p(e.y)};return e.yh!==void 0&&(a.yh=t.c2p(e.yh),a.ys=t.c2p(e.ys),Ul(a.ys)||(a.noYS=!0,a.ys=t.c2p(e.ys,!0))),e.xh!==void 0&&(a.xh=r.c2p(e.xh),a.xs=r.c2p(e.xs),Ul(a.xs)||(a.noXS=!0,a.xs=r.c2p(e.xs,!0))),a}});var rP=K((vve,eP)=>{\"use strict\";var Hte=zr(),jE=Er();eP.exports=function(r){r.each(function(t){var a=t[0].trace,n=a.error_y||{},i=a.error_x||{},l=Hte.select(this);l.selectAll(\"path.yerror\").style(\"stroke-width\",n.thickness+\"px\").call(jE.stroke,n.color),i.copy_ystyle&&(i=n),l.selectAll(\"path.xerror\").style(\"stroke-width\",i.thickness+\"px\").call(jE.stroke,i.color)})}});var nP=K((hve,aP)=>{\"use strict\";var Dc=Fe(),tP=bi().overrideAll,Ec=s3(),es={error_x:Dc.extendFlat({},Ec),error_y:Dc.extendFlat({},Ec)};delete es.error_x.copy_zstyle;delete es.error_y.copy_zstyle;delete es.error_y.copy_ystyle;var Pc={error_x:Dc.extendFlat({},Ec),error_y:Dc.extendFlat({},Ec),error_z:Dc.extendFlat({},Ec)};delete Pc.error_x.copy_ystyle;delete Pc.error_y.copy_ystyle;delete Pc.error_z.copy_ystyle;delete Pc.error_z.copy_zstyle;aP.exports={moduleType:\"component\",name:\"errorbars\",schema:{traces:{scatter:es,bar:es,histogram:es,scatter3d:tP(Pc,\"calc\",\"nested\"),scattergl:tP(es,\"calc\",\"nested\")}},supplyDefaults:VE(),calc:JE(),makeComputeError:u3(),plot:$E(),style:rP(),hoverInfo:Ote};function Ote(e,r,t){(r.error_y||{}).visible&&(t.yerr=e.yh-e.y,r.error_y.symmetric||(t.yerrneg=e.y-e.ys)),(r.error_x||{}).visible&&(t.xerr=e.xh-e.x,r.error_x.symmetric||(t.xerrneg=e.x-e.xs))}});var lP=K((dve,iP)=>{\"use strict\";iP.exports={cn:{colorbar:\"colorbar\",cbbg:\"cbbg\",cbfill:\"cbfill\",cbfills:\"cbfills\",cbline:\"cbline\",cblines:\"cblines\",cbaxis:\"cbaxis\",cbtitleunshift:\"cbtitleunshift\",cbtitle:\"cbtitle\",cboutline:\"cboutline\",crisp:\"crisp\",jsPlaceholder:\"js-placeholder\"}}});var hP=K((pve,vP)=>{\"use strict\";var Vl=zr(),v3=wn(),e1=It(),oP=br(),nl=pt(),jd=ti(),Bn=Fe(),pi=Bn.strTranslate,cP=Wt().extendFlat,h3=Ll(),di=tt(),d3=Er(),Bte=_f(),Yte=ba(),Ute=kn().flipScale,Vte=w2(),Gte=T2(),Wte=jn(),p3=Aa(),sP=p3.LINE_SPACING,uP=p3.FROM_TL,fP=p3.FROM_BR,bt=lP().cn;function Xte(e){var r=e._fullLayout,t=r._infolayer.selectAll(\"g.\"+bt.colorbar).data(Zte(e),function(a){return a._id});t.enter().append(\"g\").attr(\"class\",function(a){return a._id}).classed(bt.colorbar,!0),t.each(function(a){var n=Vl.select(this);Bn.ensureSingle(n,\"rect\",bt.cbbg),Bn.ensureSingle(n,\"g\",bt.cbfills),Bn.ensureSingle(n,\"g\",bt.cblines),Bn.ensureSingle(n,\"g\",bt.cbaxis,function(l){l.classed(bt.crisp,!0)}),Bn.ensureSingle(n,\"g\",bt.cbtitleunshift,function(l){l.append(\"g\").classed(bt.cbtitle,!0)}),Bn.ensureSingle(n,\"rect\",bt.cboutline);var i=Jte(n,a,e);i&&i.then&&(e._promises||[]).push(i),e._context.edits.colorbarPosition&&Kte(n,a,e)}),t.exit().each(function(a){e1.autoMargin(e,a._id)}).remove(),t.order()}function Zte(e){var r=e._fullLayout,t=e.calcdata,a=[],n,i,l,o;function s(w){return cP(w,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function u(){typeof o.calc==\"function\"?o.calc(e,l,n):(n._fillgradient=i.reversescale?Ute(i.colorscale):i.colorscale,n._zrange=[i[o.min],i[o.max]])}for(var f=0;f<t.length;f++){var v=t[f];if(l=v[0].trace,!!l._module){var h=l._module.colorbar;if(l.visible===!0&#038;&#038;h)for(var d=Array.isArray(h),m=d?h:[h],y=0;y<m.length;y++){o=m[y];var g=o.container;i=g?l[g]:l,i&#038;&#038;i.showscale&#038;&#038;(n=s(i.colorbar),n._id=\"cb\"+l.uid+(d&#038;&#038;g?\"-\"+g:\"\"),n._traceIndex=l.index,n._propPrefix=(g?g+\".\":\"\")+\"colorbar.\",n._meta=l._meta,u(),a.push(n))}}}for(var _ in r._colorAxes)if(i=r[_],i.showscale){var T=r._colorAxes[_];n=s(i.colorbar),n._id=\"cb\"+_,n._propPrefix=_+\".colorbar.\",n._meta=r._meta,o={min:\"cmin\",max:\"cmax\"},T[0]!==\"heatmap\"&#038;&#038;(l=T[1],o.calc=l._module.colorbar.calc),u(),a.push(n)}return a}function Jte(e,r,t){var a=r.orientation===\"v\",n=r.len,i=r.lenmode,l=r.thickness,o=r.thicknessmode,s=r.outlinewidth,u=r.borderwidth,f=r.bgcolor,v=r.xanchor,h=r.yanchor,d=r.xpad,m=r.ypad,y=r.x,g=a?r.y:1-r.y,_=r.yref===\"paper\",T=r.xref===\"paper\",w=t._fullLayout,b=w._size,M=r._fillcolor,S=r._line,k=r.title,q=k.side,D=r._zrange||Vl.extent((typeof M==\"function\"?M:S.color).domain()),P=typeof S.color==\"function\"?S.color:function(){return S.color},z=typeof M==\"function\"?M:function(){return M},F=r._levels,O=Qte(t,r,D),I=O.fill,V=O.line,J=Math.round(l*(o===\"fraction\"?a?b.w:b.h:1)),G=J\/(a?b.w:b.h),U=Math.round(n*(i===\"fraction\"?a?b.h:b.w:1)),H=U\/(a?b.h:b.w),Q=T?b.w:t._fullLayout.width,Z=_?b.h:t._fullLayout.height,ne=Math.round(a?y*Q+d:g*Z+m),ce={center:.5,right:1}[v]||0,ye={top:1,middle:.5}[h]||0,Ce=a?y-ce*G:g-ye*G,re=a?g-ye*H:y-ce*H,Se=Math.round(a?Z*(1-re):Q*re);r._lenFrac=H,r._thickFrac=G,r._uFrac=Ce,r._vFrac=re;var pe=r._axis=$te(t,r,D);pe.position=G+(a?y+d\/b.w:g+m\/b.h);var be=[\"top\",\"bottom\"].indexOf(q)!==-1;if(a&#038;&#038;be&#038;&#038;(pe.title.side=q,pe.titlex=y+d\/b.w,pe.titley=re+(k.side===\"top\"?H-m\/b.h:m\/b.h)),!a&#038;&#038;!be&#038;&#038;(pe.title.side=q,pe.titley=g+m\/b.h,pe.titlex=re+d\/b.w),S.color&#038;&#038;r.tickmode===\"auto\"){pe.tickmode=\"linear\",pe.tick0=F.start;var Ae=F.size,ge=Bn.constrain(U\/50,4,15)+1,B=(D[1]-D[0])\/((r.nticks||ge)*Ae);if(B>1){var $=Math.pow(10,Math.floor(Math.log(B)\/Math.LN10));Ae*=$*Bn.roundUp(B\/$,[2,5,10]),(Math.abs(F.start)\/F.size+1e-6)%1<2e-6&#038;&#038;(pe.tick0=0)}pe.dtick=Ae}pe.domain=a?[re+m\/b.h,re+H-m\/b.h]:[re+d\/b.w,re+H-d\/b.w],pe.setScale(),e.attr(\"transform\",pi(Math.round(b.l),Math.round(b.t)));var Y=e.select(\".\"+bt.cbtitleunshift).attr(\"transform\",pi(-Math.round(b.l),-Math.round(b.t))),le=pe.ticklabelposition,he=pe.title.font.size,me=e.select(\".\"+bt.cbaxis),Re,Ee=0,Le=0;function Ve(We,ie){var xe={propContainer:pe,propName:r._propPrefix+\"title.text\",traceIndex:r._traceIndex,_meta:r._meta,placeholder:w._dfltTitle.colorbar,containerGroup:e.select(\".\"+bt.cbtitle)},Ke=We.charAt(0)===\"h\"?We.slice(1):\"h\"+We;e.selectAll(\".\"+Ke+\",.\"+Ke+\"-math-group\").remove(),Bte.draw(t,We,cP(xe,ie||{}))}function Ie(){if(a&#038;&#038;be||!a&#038;&#038;!be){var We,ie;q===\"top\"&#038;&#038;(We=d+b.l+Q*y,ie=m+b.t+Z*(1-re-H)+3+he*.75),q===\"bottom\"&#038;&#038;(We=d+b.l+Q*y,ie=m+b.t+Z*(1-re)-3-he*.25),q===\"right\"&#038;&#038;(ie=m+b.t+Z*g+3+he*.75,We=d+b.l+Q*re),Ve(pe._id+\"title\",{attributes:{x:We,y:ie,\"text-anchor\":a?\"start\":\"middle\"}})}}function Xe(){if(a&#038;&#038;!be||!a&#038;&#038;be){var We=pe.position||0,ie=pe._offset+pe._length\/2,xe,Ke;if(q===\"right\")Ke=ie,xe=b.l+Q*We+10+he*(pe.showticklabels?1:.5);else if(xe=ie,q===\"bottom\"&#038;&#038;(Ke=b.t+Z*We+10+(le.indexOf(\"inside\")===-1?pe.tickfont.size:0)+(pe.ticks!==\"inside\"&#038;&#038;r.ticklen||0)),q===\"top\"){var hr=k.text.split(\"<br>\").length;Ke=b.t+Z*We+10-J-sP*he*hr}Ve((a?\"h\":\"v\")+pe._id+\"title\",{avoid:{selection:Vl.select(t).selectAll(\"g.\"+pe._id+\"tick\"),side:q,offsetTop:a?0:b.t,offsetLeft:a?b.l:0,maxShift:a?w.width:w.height},attributes:{x:xe,y:Ke,\"text-anchor\":\"middle\"},transform:{rotate:a?-90:0,offset:0}})}}function De(){if(!a&&!be||a&&be){var We=e.select(\".\"+bt.cbtitle),ie=We.select(\"text\"),xe=[-s\/2,s\/2],Ke=We.select(\".h\"+pe._id+\"title-math-group\").node(),hr=15.6;ie.node()&&(hr=parseInt(ie.node().style.fontSize,10)*sP);var ze;if(Ke?(ze=di.bBox(Ke),Le=ze.width,Ee=ze.height,Ee>hr&&(xe[1]-=(Ee-hr)\/2)):ie.node()&&!ie.classed(bt.jsPlaceholder)&&(ze=di.bBox(ie.node()),Le=ze.width,Ee=ze.height),a){if(Ee){if(Ee+=5,q===\"top\")pe.domain[1]-=Ee\/b.h,xe[1]*=-1;else{pe.domain[0]+=Ee\/b.h;var Me=Yte.lineCount(ie);xe[1]+=(1-Me)*hr}We.attr(\"transform\",pi(xe[0],xe[1])),pe.setScale()}}else Le&&(q===\"right\"&&(pe.domain[0]+=(Le+he\/2)\/b.w),We.attr(\"transform\",pi(xe[0],xe[1])),pe.setScale())}e.selectAll(\".\"+bt.cbfills+\",.\"+bt.cblines).attr(\"transform\",a?pi(0,Math.round(b.h*(1-pe.domain[1]))):pi(Math.round(b.w*pe.domain[0]),0)),me.attr(\"transform\",a?pi(0,Math.round(-b.t)):pi(Math.round(-b.l),0));var ke=e.select(\".\"+bt.cbfills).selectAll(\"rect.\"+bt.cbfill).attr(\"style\",\"\").data(I);ke.enter().append(\"rect\").classed(bt.cbfill,!0).attr(\"style\",\"\"),ke.exit().remove();var Oe=D.map(pe.c2p).map(Math.round).sort(function(ar,er){return ar-er});ke.each(function(ar,er){var Ne=[er===0?D[0]:(I[er]+I[er-1])\/2,er===I.length-1?D[1]:(I[er]+I[er+1])\/2].map(pe.c2p).map(Math.round);a&&(Ne[1]=Bn.constrain(Ne[1]+(Ne[1]>Ne[0])?1:-1,Oe[0],Oe[1]));var ae=Vl.select(this).attr(a?\"x\":\"y\",ne).attr(a?\"y\":\"x\",Vl.min(Ne)).attr(a?\"width\":\"height\",Math.max(J,2)).attr(a?\"height\":\"width\",Math.max(Vl.max(Ne)-Vl.min(Ne),2));if(r._fillgradient)di.gradient(ae,t,r._id,a?\"vertical\":\"horizontalreversed\",r._fillgradient,\"fill\");else{var oe=z(ar).replace(\"e-\",\"\");ae.attr(\"fill\",v3(oe).toHexString())}});var Ze=e.select(\".\"+bt.cblines).selectAll(\"path.\"+bt.cbline).data(S.color&&S.width?V:[]);Ze.enter().append(\"path\").classed(bt.cbline,!0),Ze.exit().remove(),Ze.each(function(ar){var er=ne,Ne=Math.round(pe.c2p(ar))+S.width\/2%1;Vl.select(this).attr(\"d\",\"M\"+(a?er+\",\"+Ne:Ne+\",\"+er)+(a?\"h\":\"v\")+J).call(di.lineGroupStyle,S.width,P(ar),S.dash)}),me.selectAll(\"g.\"+pe._id+\"tick,path\").remove();var Ue=ne+J+(s||0)\/2-(r.ticks===\"outside\"?1:0),Ge=nl.calcTicks(pe),ir=nl.getTickSigns(pe)[2];return nl.drawTicks(t,pe,{vals:pe.ticks===\"inside\"?nl.clipEnds(pe,Ge):Ge,layer:me,path:nl.makeTickPath(pe,Ue,ir),transFn:nl.makeTransTickFn(pe)}),nl.drawLabels(t,pe,{vals:Ge,layer:me,transFn:nl.makeTransTickLabelFn(pe),labelFns:nl.makeLabelFns(pe,Ue)})}function He(){var We,ie=J+s\/2;le.indexOf(\"inside\")===-1&&(We=di.bBox(me.node()),ie+=a?We.width:We.height),Re=Y.select(\"text\");var xe=0,Ke=a&&q===\"top\",hr=!a&&q===\"right\",ze=0;if(Re.node()&&!Re.classed(bt.jsPlaceholder)){var Me,ke=Y.select(\".h\"+pe._id+\"title-math-group\").node();ke&&(a&&be||!a&&!be)?(We=di.bBox(ke),xe=We.width,Me=We.height):(We=di.bBox(Y.node()),xe=We.right-b.l-(a?ne:Se),Me=We.bottom-b.t-(a?Se:ne),!a&&q===\"top\"&&(ie+=We.height,ze=We.height)),hr&&(Re.attr(\"transform\",pi(xe\/2+he\/2,0)),xe*=2),ie=Math.max(ie,a?xe:Me)}var Oe=(a?d:m)*2+ie+u+s\/2,Ze=0;!a&&k.text&&h===\"bottom\"&&g<=0&#038;&#038;(Ze=Oe\/2,Oe+=Ze,ze+=Ze),w._hColorbarMoveTitle=Ze,w._hColorbarMoveCBTitle=ze;var Ue=u+s,Ge=(a?ne:Se)-Ue\/2-(a?d:0),ir=(a?Se:ne)-(a?U:m+ze-Ze);e.select(\".\"+bt.cbbg).attr(\"x\",Ge).attr(\"y\",ir).attr(a?\"width\":\"height\",Math.max(Oe-Ze,2)).attr(a?\"height\":\"width\",Math.max(U+Ue,2)).call(d3.fill,f).call(d3.stroke,r.bordercolor).style(\"stroke-width\",u);var ar=hr?Math.max(xe-10,0):0;e.selectAll(\".\"+bt.cboutline).attr(\"x\",(a?ne:Se+d)+ar).attr(\"y\",(a?Se+m-U:ne)+(Ke?Ee:0)).attr(a?\"width\":\"height\",Math.max(J,2)).attr(a?\"height\":\"width\",Math.max(U-(a?2*m+Ee:2*d+ar),2)).call(d3.stroke,r.outlinecolor).style({fill:\"none\",\"stroke-width\":s});var er=a?ce*Oe:0,Ne=a?0:(1-ye)*Oe-ze;if(er=T?b.l-er:-er,Ne=_?b.t-Ne:-Ne,e.attr(\"transform\",pi(er,Ne)),!a&#038;&#038;(u||v3(f).getAlpha()&#038;&#038;!v3.equals(w.paper_bgcolor,f))){var ae=me.selectAll(\"text\"),oe=ae[0].length,qe=e.select(\".\"+bt.cbbg).node(),Pe=di.bBox(qe),$e=di.getTranslate(e),cr=2;ae.each(function(Ba,ha){var na=0,Ya=oe-1;if(ha===na||ha===Ya){var ia=di.bBox(this),la=di.getTranslate(this),vr;if(ha===Ya){var ot=ia.right+la.x,Xr=Pe.right+$e.x+Se-u-cr+y;vr=Xr-ot,vr>0&&(vr=0)}else if(ha===na){var nt=ia.left+la.x,oa=Pe.left+$e.x+Se+u+cr;vr=oa-nt,vr<0&#038;&#038;(vr=0)}vr&#038;&#038;(oe<3?this.setAttribute(\"transform\",\"translate(\"+vr+\",0) \"+this.getAttribute(\"transform\")):this.setAttribute(\"visibility\",\"hidden\"))}})}var sr={},Mr=uP[v],Ir=fP[v],Jr=uP[h],lt=fP[h],_t=Oe-J;a?(i===\"pixels\"?(sr.y=g,sr.t=U*Jr,sr.b=U*lt):(sr.t=sr.b=0,sr.yt=g+n*Jr,sr.yb=g-n*lt),o===\"pixels\"?(sr.x=y,sr.l=Oe*Mr,sr.r=Oe*Ir):(sr.l=_t*Mr,sr.r=_t*Ir,sr.xl=y-l*Mr,sr.xr=y+l*Ir)):(i===\"pixels\"?(sr.x=y,sr.l=U*Mr,sr.r=U*Ir):(sr.l=sr.r=0,sr.xl=y+n*Mr,sr.xr=y-n*Ir),o===\"pixels\"?(sr.y=1-g,sr.t=Oe*Jr,sr.b=Oe*lt):(sr.t=_t*Jr,sr.b=_t*lt,sr.yt=g-l*Jr,sr.yb=g+l*lt));var gt=r.y<.5?\"b\":\"t\",Yt=r.x<.5?\"l\":\"r\";t._fullLayout._reservedMargin[r._id]={};var zt={r:w.width-Ge-er,l:Ge+sr.r,b:w.height-ir-Ne,t:ir+sr.b};T&#038;&#038;_?e1.autoMargin(t,r._id,sr):T?t._fullLayout._reservedMargin[r._id][gt]=zt[gt]:_||a?t._fullLayout._reservedMargin[r._id][Yt]=zt[Yt]:t._fullLayout._reservedMargin[r._id][gt]=zt[gt]}return Bn.syncOrAsync([e1.previousPromises,Ie,De,Xe,e1.previousPromises,He],t)}function Kte(e,r,t){var a=r.orientation===\"v\",n=t._fullLayout,i=n._size,l,o,s;jd.init({element:e.node(),gd:t,prepFn:function(){l=e.attr(\"transform\"),h3(e)},moveFn:function(u,f){e.attr(\"transform\",l+pi(u,f)),o=jd.align((a?r._uFrac:r._vFrac)+u\/i.w,a?r._thickFrac:r._lenFrac,0,1,r.xanchor),s=jd.align((a?r._vFrac:1-r._uFrac)-f\/i.h,a?r._lenFrac:r._thickFrac,0,1,r.yanchor);var v=jd.getCursor(o,s,r.xanchor,r.yanchor);h3(e,v)},doneFn:function(){if(h3(e),o!==void 0&#038;&#038;s!==void 0){var u={};u[r._propPrefix+\"x\"]=o,u[r._propPrefix+\"y\"]=s,r._traceIndex!==void 0?oP.call(\"_guiRestyle\",t,u,r._traceIndex):oP.call(\"_guiRelayout\",t,u)}}})}function Qte(e,r,t){var a=r._levels,n=[],i=[],l,o,s=a.end+a.size\/100,u=a.size,f=1.001*t[0]-.001*t[1],v=1.001*t[1]-.001*t[0];for(o=0;o<1e5&#038;&#038;(l=a.start+o*u,!(u>0?l>=s:l<=s));o++)l>f&&l<v&#038;&#038;n.push(l);if(r._fillgradient)i=[0];else if(typeof r._fillcolor==\"function\"){var h=r._filllevels;if(h)for(s=h.end+h.size\/100,u=h.size,o=0;o<1e5&#038;&#038;(l=h.start+o*u,!(u>0?l>=s:l<=s));o++)l>t[0]&&l<t[1]&#038;&#038;i.push(l);else i=n.map(function(d){return d-a.size\/2}),i.push(i[i.length-1]+a.size)}else r._fillcolor&#038;&#038;typeof r._fillcolor==\"string\"&#038;&#038;(i=[0]);return a.size<0&#038;&#038;(n.reverse(),i.reverse()),{line:n,fill:i}}function $te(e,r,t){var a=e._fullLayout,n=r.orientation===\"v\",i={type:\"linear\",range:t,tickmode:r.tickmode,nticks:r.nticks,tick0:r.tick0,dtick:r.dtick,tickvals:r.tickvals,ticktext:r.ticktext,ticks:r.ticks,ticklen:r.ticklen,tickwidth:r.tickwidth,tickcolor:r.tickcolor,showticklabels:r.showticklabels,labelalias:r.labelalias,ticklabelposition:r.ticklabelposition,ticklabeloverflow:r.ticklabeloverflow,ticklabelstep:r.ticklabelstep,tickfont:r.tickfont,tickangle:r.tickangle,tickformat:r.tickformat,exponentformat:r.exponentformat,minexponent:r.minexponent,separatethousands:r.separatethousands,showexponent:r.showexponent,showtickprefix:r.showtickprefix,tickprefix:r.tickprefix,showticksuffix:r.showticksuffix,ticksuffix:r.ticksuffix,title:r.title,showline:!0,anchor:\"free\",side:n?\"right\":\"bottom\",position:1},l=n?\"y\":\"x\",o={type:\"linear\",_id:l+r._id},s={letter:l,font:a.font,noAutotickangles:l===\"y\",noHover:!0,noTickson:!0,noTicklabelmode:!0,noInsideRange:!0,calendar:a.calendar};function u(f,v){return Bn.coerce(i,o,Wte,f,v)}return Vte(i,o,u,s,a),Gte(i,o,u,s),o}vP.exports={draw:Xte}});var pP=K((mve,dP)=>{\"use strict\";dP.exports={moduleType:\"component\",name:\"colorbar\",attributes:p0(),supplyDefaults:dm(),draw:hP().draw,hasColorbar:am()}});var yP=K((yve,mP)=>{\"use strict\";mP.exports={moduleType:\"component\",name:\"legend\",layoutAttributes:cy(),supplyLayoutDefaults:hy(),draw:Cy(),style:Ty()}});var bP=K((gve,gP)=>{\"use strict\";gP.exports={moduleType:\"locale\",name:\"en\",dictionary:{\"Click to enter Colorscale title\":\"Click to enter Colourscale title\"},format:{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\"],periods:[\"AM\",\"PM\"],dateTime:\"%a %b %e %X %Y\",date:\"%d\/%m\/%Y\",time:\"%H:%M:%S\",decimal:\".\",thousands:\",\",grouping:[3],currency:[\"$\",\"\"],year:\"%Y\",month:\"%b %Y\",dayMonth:\"%b %-d\",dayMonthYear:\"%b %-d, %Y\"}}});var _P=K((bve,xP)=>{\"use strict\";xP.exports={moduleType:\"locale\",name:\"en-US\",dictionary:{\"Click to enter Colorscale title\":\"Click to enter Colorscale title\"},format:{date:\"%m\/%d\/%Y\"}}});var y3=K((xve,AP)=>{\"use strict\";var jte=br(),MP=Fe(),m3=MP.extendFlat,wP=MP.extendDeep;function TP(e){var r;switch(e){case\"themes__thumb\":r={autosize:!0,width:150,height:150,title:{text:\"\"},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case\"thumbnail\":r={title:{text:\"\"},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:\"\",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:r={}}return r}function eae(e){var r=[\"xaxis\",\"yaxis\",\"zaxis\"];return r.indexOf(e.slice(0,5))>-1}AP.exports=function(r,t){var a,n=r.data,i=r.layout,l=wP([],n),o=wP({},i,TP(t.tileClass)),s=r._context||{};if(t.width&&(o.width=t.width),t.height&&(o.height=t.height),t.tileClass===\"thumbnail\"||t.tileClass===\"themes__thumb\"){o.annotations=[];var u=Object.keys(o);for(a=0;a<u.length;a++)eae(u[a])&#038;&#038;(o[u[a]].title={text:\"\"});for(a=0;a<l.length;a++){var f=l[a];f.showscale=!1,f.marker&#038;&#038;(f.marker.showscale=!1),jte.traceIs(f,\"pie-like\")&#038;&#038;(f.textposition=\"none\")}}if(Array.isArray(t.annotations))for(a=0;a<t.annotations.length;a++)o.annotations.push(t.annotations[a]);var v=Object.keys(o).filter(function(g){return g.match(\/^scene\\d*$\/)});if(v.length){var h={};for(t.tileClass===\"thumbnail\"&#038;&#038;(h={title:{text:\"\"},showaxeslabels:!1,showticklabels:!1,linetickenable:!1}),a=0;a<v.length;a++){var d=o[v[a]];d.xaxis||(d.xaxis={}),d.yaxis||(d.yaxis={}),d.zaxis||(d.zaxis={}),m3(d.xaxis,h),m3(d.yaxis,h),m3(d.zaxis,h),d._scene=null}}var m=document.createElement(\"div\");t.tileClass&#038;&#038;(m.className=t.tileClass);var y={gd:m,td:m,layout:o,data:l,config:{staticPlot:t.staticPlot===void 0?!0:t.staticPlot,plotGlPixelRatio:t.plotGlPixelRatio===void 0?2:t.plotGlPixelRatio,displaylogo:t.displaylogo||!1,showLink:t.showLink||!1,showTips:t.showTips||!1,mapboxAccessToken:s.mapboxAccessToken}};return t.setBackground!==\"transparent\"&#038;&#038;(y.config.setBackground=t.setBackground||\"opaque\"),y.gd.defaultLayout=TP(t.tileClass),y}});var SP=K((_ve,CP)=>{\"use strict\";var rae=r0().EventEmitter,tae=br(),aae=Fe(),kP=Uo(),nae=y3(),iae=sd(),lae=ud();function oae(e,r){var t=new rae,a=nae(e,{format:\"png\"}),n=a.gd;n.style.position=\"absolute\",n.style.left=\"-5000px\",document.body.appendChild(n);function i(){var o=kP.getDelay(n._fullLayout);setTimeout(function(){var s=iae(n),u=document.createElement(\"canvas\");u.id=aae.randstr(),t=lae({format:r.format,width:n._fullLayout.width,height:n._fullLayout.height,canvas:u,emitter:t,svg:s}),t.clean=function(){n&&document.body.removeChild(n)}},o)}var l=kP.getRedrawFunc(n);return tae.call(\"_doPlot\",n,a.data,a.layout,a.config).then(l).then(i).catch(function(o){t.emit(\"error\",o)}),t}CP.exports=oae});var DP=K((wve,qP)=>{\"use strict\";var LP=Uo(),sae={getDelay:LP.getDelay,getRedrawFunc:LP.getRedrawFunc,clone:y3(),toSVG:sd(),svgToImg:ud(),toImage:SP(),downloadImage:Vg()};qP.exports=sae});var PP=K(il=>{\"use strict\";il.version=Zu().version;_b();f6();var uae=br(),Rc=il.register=uae.register,b3=RC(),EP=Object.keys(b3);for(r1=0;r1<EP.length;r1++)Lu=EP[r1],Lu.charAt(0)!==\"_\"&#038;&#038;(il[Lu]=b3[Lu]),Rc({moduleType:\"apiMethod\",name:Lu,fn:b3[Lu]});var Lu,r1;Rc(WL());Rc([yq(),Dq(),vu(),Kq(),uD(),DD(),QD(),mE(),RE(),OE(),nP(),gm(),pP(),yP(),ni(),Qy()]);Rc([bP(),_P()]);window.PlotlyLocales&#038;&#038;Array.isArray(window.PlotlyLocales)&#038;&#038;(Rc(window.PlotlyLocales),delete window.PlotlyLocales);il.Icons=uh();var t1=ni(),g3=It();il.Plots={resize:g3.resize,graphJson:g3.graphJson,sendDataToCloud:g3.sendDataToCloud};il.Fx={hover:t1.hover,unhover:t1.unhover,loneHover:t1.loneHover,loneUnhover:t1.loneUnhover};il.Snapshot=DP();il.PlotSchema=Hs()});var zP=K((Mve,RP)=>{\"use strict\";RP.exports=PP()});var zc=K((Ave,OP)=>{\"use strict\";var At=Yo(),NP=d0().axisHoverFormat,{hovertemplateAttrs:fae,texttemplateAttrs:cae,templatefallbackAttrs:FP}=co(),HP=gf(),vae=ga(),IP=yc(),hae=xi().pattern,rs=Wt().extendFlat,x3=vae({editType:\"calc\",arrayOk:!0,colorEditType:\"style\"}),dae=At.marker,pae=dae.line,mae=rs({},pae.width,{dflt:0}),yae=rs({width:mae,editType:\"calc\"},HP(\"marker.line\")),gae=rs({line:yae,editType:\"calc\"},HP(\"marker\"),{opacity:{valType:\"number\",arrayOk:!0,dflt:1,min:0,max:1,editType:\"style\"},pattern:hae,cornerradius:{valType:\"any\",editType:\"calc\"}});OP.exports={x:At.x,x0:At.x0,dx:At.dx,y:At.y,y0:At.y0,dy:At.dy,xperiod:At.xperiod,yperiod:At.yperiod,xperiod0:At.xperiod0,yperiod0:At.yperiod0,xperiodalignment:At.xperiodalignment,yperiodalignment:At.yperiodalignment,xhoverformat:NP(\"x\"),yhoverformat:NP(\"y\"),text:At.text,texttemplate:cae({editType:\"plot\"},{keys:IP.eventDataKeys}),texttemplatefallback:FP({editType:\"plot\"}),hovertext:At.hovertext,hovertemplate:fae({},{keys:IP.eventDataKeys}),hovertemplatefallback:FP(),textposition:{valType:\"enumerated\",values:[\"inside\",\"outside\",\"auto\",\"none\"],dflt:\"auto\",arrayOk:!0,editType:\"calc\"},insidetextanchor:{valType:\"enumerated\",values:[\"end\",\"middle\",\"start\"],dflt:\"end\",editType:\"plot\"},textangle:{valType:\"angle\",dflt:\"auto\",editType:\"plot\"},textfont:rs({},x3,{}),insidetextfont:rs({},x3,{}),outsidetextfont:rs({},x3,{}),constraintext:{valType:\"enumerated\",values:[\"inside\",\"outside\",\"both\",\"none\"],dflt:\"both\",editType:\"calc\"},cliponaxis:rs({},At.cliponaxis,{}),orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],editType:\"calc+clearAxisTypes\"},base:{valType:\"any\",dflt:null,arrayOk:!0,editType:\"calc\"},offset:{valType:\"number\",dflt:null,arrayOk:!0,editType:\"calc\"},width:{valType:\"number\",dflt:null,min:0,arrayOk:!0,editType:\"calc\"},marker:gae,offsetgroup:At.offsetgroup,alignmentgroup:At.alignmentgroup,selected:{marker:{opacity:At.selected.marker.opacity,color:At.selected.marker.color,editType:\"style\"},textfont:At.selected.textfont,editType:\"style\"},unselected:{marker:{opacity:At.unselected.marker.opacity,color:At.unselected.marker.color,editType:\"style\"},textfont:At.unselected.textfont,editType:\"style\"},zorder:At.zorder}});var _3=K((kve,BP)=>{\"use strict\";BP.exports={barmode:{valType:\"enumerated\",values:[\"stack\",\"group\",\"overlay\",\"relative\"],dflt:\"group\",editType:\"calc\"},barnorm:{valType:\"enumerated\",values:[\"\",\"fraction\",\"percent\"],dflt:\"\",editType:\"calc\"},bargap:{valType:\"number\",min:0,max:1,editType:\"calc\"},bargroupgap:{valType:\"number\",min:0,max:1,dflt:0,editType:\"calc\"},barcornerradius:{valType:\"any\",editType:\"calc\"}}});var GP=K((Cve,VP)=>{\"use strict\";var bae=Er(),YP=kn().hasColorscale,UP=Us(),xae=Fe().coercePattern;VP.exports=function(r,t,a,n,i){var l=a(\"marker.color\",n),o=YP(r,\"marker\");o&&UP(r,t,i,a,{prefix:\"marker.\",cLetter:\"c\"}),a(\"marker.line.color\",bae.defaultLine),YP(r,\"marker.line\")&&UP(r,t,i,a,{prefix:\"marker.line.\",cLetter:\"c\"}),a(\"marker.line.width\"),a(\"marker.opacity\"),xae(a,\"marker.pattern\",l,o),a(\"selected.marker.color\"),a(\"unselected.marker.color\")}});var Nc=K((Sve,QP)=>{\"use strict\";var WP=Hr(),qu=Fe(),XP=Er(),_ae=br(),wae=Xg(),Tae=Zg(),Mae=GP(),Aae=Jg(),ZP=zc(),a1=qu.coerceFont;function kae(e,r,t,a){function n(u,f){return qu.coerce(e,r,ZP,u,f)}var i=wae(e,r,a,n);if(!i){r.visible=!1;return}Tae(e,r,a,n),n(\"xhoverformat\"),n(\"yhoverformat\"),n(\"zorder\"),n(\"orientation\",r.x&&!r.y?\"h\":\"v\"),n(\"base\"),n(\"offset\"),n(\"width\"),n(\"text\"),n(\"hovertext\"),n(\"hovertemplate\"),n(\"hovertemplatefallback\");var l=n(\"textposition\");KP(e,r,a,n,l,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),Mae(e,r,n,t,a);var o=(r.marker.line||{}).color,s=_ae.getComponentMethod(\"errorbars\",\"supplyDefaults\");s(e,r,o||XP.defaultLine,{axis:\"y\"}),s(e,r,o||XP.defaultLine,{axis:\"x\",inherit:\"y\"}),qu.coerceSelectionMarkerOpacity(r,n)}function Cae(e,r){var t,a;function n(o,s){return qu.coerce(a._input,a,ZP,o,s)}for(var i=0;i<e.length;i++)if(a=e[i],a.type===\"bar\"){t=a._input;var l=n(\"marker.cornerradius\",r.barcornerradius);a.marker&#038;&#038;(a.marker.cornerradius=JP(l)),Aae(t,a,r,n,r.barmode)}}function JP(e){if(WP(e)){if(e=+e,e>=0)return e}else if(typeof e==\"string\"&&(e=e.trim(),e.slice(-1)===\"%\"&&WP(e.slice(0,-1))&&(e=+e.slice(0,-1),e>=0)))return e+\"%\"}function KP(e,r,t,a,n,i){i=i||{};var l=i.moduleHasSelected!==!1,o=i.moduleHasUnselected!==!1,s=i.moduleHasConstrain!==!1,u=i.moduleHasCliponaxis!==!1,f=i.moduleHasTextangle!==!1,v=i.moduleHasInsideanchor!==!1,h=!!i.hasPathbar,d=Array.isArray(n)||n===\"auto\",m=d||n===\"inside\",y=d||n===\"outside\";if(m||y){var g=a1(a,\"textfont\",t.font),_=qu.extendFlat({},g),T=e.textfont&&e.textfont.color,w=!T;if(w&&delete _.color,a1(a,\"insidetextfont\",_),h){var b=qu.extendFlat({},g);w&&delete b.color,a1(a,\"pathbar.textfont\",b)}y&&a1(a,\"outsidetextfont\",g),l&&a(\"selected.textfont.color\"),o&&a(\"unselected.textfont.color\"),s&&a(\"constraintext\"),u&&a(\"cliponaxis\"),f&&a(\"textangle\"),a(\"texttemplate\"),a(\"texttemplatefallback\")}m&&v&&a(\"insidetextanchor\")}QP.exports={supplyDefaults:kae,crossTraceDefaults:Cae,handleText:KP,validateCornerradius:JP}});var jP=K((Lve,$P)=>{\"use strict\";var Sae=br(),Lae=pt(),qae=Fe(),Dae=_3(),Eae=Nc().validateCornerradius;$P.exports=function(e,r,t){function a(y,g){return qae.coerce(e,r,Dae,y,g)}for(var n=!1,i=!1,l=!1,o={},s=a(\"barmode\"),u=s===\"group\",f=0;f<t.length;f++){var v=t[f];if(Sae.traceIs(v,\"bar\")&#038;&#038;v.visible)n=!0;else continue;var h=v.xaxis+v.yaxis;if(u?(o[h]&#038;&#038;(l=!0),o[h]=!0):(h+=v._input.offsetgroup,o.length>0&&!o[h]&&(l=!0),o[h]=!0),v.visible&&v.type===\"histogram\"){var d=Lae.getFromId({_fullLayout:r},v[v.orientation===\"v\"?\"xaxis\":\"yaxis\"]);d.type!==\"category\"&&(i=!0)}}if(!n){delete r.barmode;return}s!==\"overlay\"&&a(\"barnorm\"),a(\"bargap\",i&&!l?0:.2),a(\"bargroupgap\");var m=a(\"barcornerradius\");r.barcornerradius=Eae(m)}});var w3=K((qve,eR)=>{\"use strict\";var Du=Fe();eR.exports=function(r,t){for(var a=0;a<r.length;a++)r[a].i=a;Du.mergeArray(t.text,r,\"tx\"),Du.mergeArray(t.hovertext,r,\"htx\");var n=t.marker;if(n){Du.mergeArray(n.opacity,r,\"mo\",!0),Du.mergeArray(n.color,r,\"mc\");var i=n.line;i&#038;&#038;(Du.mergeArray(i.color,r,\"mlc\"),Du.mergeArrayCastPositive(i.width,r,\"mlw\"))}}});var lR=K((Dve,iR)=>{\"use strict\";var rR=pt(),tR=Kg(),aR=kn().hasColorscale,nR=g0(),Pae=w3(),Rae=e2();iR.exports=function(r,t){var a=rR.getFromId(r,t.xaxis||\"x\"),n=rR.getFromId(r,t.yaxis||\"y\"),i,l,o,s,u,f,v={msUTC:!!(t.base||t.base===0)};t.orientation===\"h\"?(i=a.makeCalcdata(t,\"x\",v),o=n.makeCalcdata(t,\"y\"),s=tR(t,n,\"y\",o),u=!!t.yperiodalignment,f=\"y\"):(i=n.makeCalcdata(t,\"y\",v),o=a.makeCalcdata(t,\"x\"),s=tR(t,a,\"x\",o),u=!!t.xperiodalignment,f=\"x\"),l=s.vals;for(var h=Math.min(l.length,i.length),d=new Array(h),m=0;m<h;m++)d[m]={p:l[m],s:i[m]},u&#038;&#038;(d[m].orig_p=o[m],d[m][f+\"End\"]=s.ends[m],d[m][f+\"Start\"]=s.starts[m]),t.ids&#038;&#038;(d[m].id=String(t.ids[m]));return aR(t,\"marker\")&#038;&#038;nR(r,t,{vals:t.marker.color,containerStr:\"marker\",cLetter:\"c\"}),aR(t,\"marker.line\")&#038;&#038;nR(r,t,{vals:t.marker.line.color,containerStr:\"marker.line\",cLetter:\"c\"}),Pae(d,t),Rae(d,t),d}});var Fc=K((Eve,sR)=>{\"use strict\";var zae=zr(),Nae=Fe();function Fae(e,r,t){var a=e._fullLayout,n=a[\"_\"+t+\"Text_minsize\"];if(n){var i=a.uniformtext.mode===\"hide\",l;switch(t){case\"funnelarea\":case\"pie\":case\"sunburst\":l=\"g.slice\";break;case\"treemap\":case\"icicle\":l=\"g.slice, g.pathbar\";break;default:l=\"g.points > g.point\"}r.selectAll(l).each(function(o){var s=o.transform;if(s){s.scale=i&&s.hide?0:n\/s.fontSize;var u=zae.select(this).select(\"text\");Nae.setTransormAndDisplay(u,s)}})}}function Iae(e,r,t){if(t.uniformtext.mode){var a=oR(e),n=t.uniformtext.minsize,i=r.scale*r.fontSize;r.hide=i<n,t[a]=t[a]||1\/0,r.hide||(t[a]=Math.min(t[a],Math.max(i,n)))}}function Hae(e,r){var t=oR(e);r[t]=void 0}function oR(e){return\"_\"+e+\"Text_minsize\"}sR.exports={recordMinTextSize:Iae,clearMinTextSize:Hae,resizeText:Fae}});var n1=K(ts=>{\"use strict\";var Oae=Hr(),Bae=wn(),uR=Fe().isArrayOrTypedArray;ts.coerceString=function(e,r,t){if(typeof r==\"string\"){if(r||!e.noBlank)return r}else if((typeof r==\"number\"||r===!0)&&!e.strict)return String(r);return t!==void 0?t:e.dflt};ts.coerceNumber=function(e,r,t){if(Oae(r)){r=+r;var a=e.min,n=e.max,i=a!==void 0&&r<a||n!==void 0&#038;&#038;r>n;if(!i)return r}return t!==void 0?t:e.dflt};ts.coerceColor=function(e,r,t){return Bae(r).isValid()?r:t!==void 0?t:e.dflt};ts.coerceEnumerated=function(e,r,t){return e.coerceNumber&&(r=+r),e.values.indexOf(r)!==-1?r:t!==void 0?t:e.dflt};ts.getValue=function(e,r){var t;return uR(e)?r<e.length&#038;&#038;(t=e[r]):t=e,t};ts.getLineWidth=function(e,r){var t=0<r.mlw?r.mlw:uR(e.marker.line.width)?0:e.marker.line.width;return t}});var i1=K((Rve,xR)=>{\"use strict\";var Ic=zr(),Yae=Er(),Hc=tt(),fR=Fe(),cR=br(),vR=Fc().resizeText,T3=zc(),Uae=T3.textfont,Vae=T3.insidetextfont,Gae=T3.outsidetextfont,wa=n1();function Wae(e){var r=Ic.select(e).selectAll('g[class^=\"barlayer\"]').selectAll(\"g.trace\");vR(e,r,\"bar\");var t=r.size(),a=e._fullLayout;r.style(\"opacity\",function(n){return n[0].trace.opacity}).each(function(n){(a.barmode===\"stack\"&&t>1||a.bargap===0&&a.bargroupgap===0&&!n[0].trace.marker.line.width)&&Ic.select(this).attr(\"shape-rendering\",\"crispEdges\")}),r.selectAll(\"g.points\").each(function(n){var i=Ic.select(this),l=n[0].trace;hR(i,l,e)}),cR.getComponentMethod(\"errorbars\",\"style\")(r)}function hR(e,r,t){Hc.pointStyle(e.selectAll(\"path\"),r,t),dR(e,r,t)}function dR(e,r,t){e.selectAll(\"text\").each(function(a){var n=Ic.select(this),i=fR.ensureUniformFontSize(t,pR(n,a,r,t));Hc.font(n,i)})}function Xae(e,r,t){var a=r[0].trace;a.selectedpoints?Zae(t,a,e):(hR(t,a,e),cR.getComponentMethod(\"errorbars\",\"style\")(t))}function Zae(e,r,t){Hc.selectedPointStyle(e.selectAll(\"path\"),r),Jae(e.selectAll(\"text\"),r,t)}function Jae(e,r,t){e.each(function(a){var n=Ic.select(this),i;if(a.selected){i=fR.ensureUniformFontSize(t,pR(n,a,r,t));var l=r.selected.textfont&&r.selected.textfont.color;l&&(i.color=l),Hc.font(n,i)}else Hc.selectedTextStyle(n,r)})}function pR(e,r,t,a){var n=a._fullLayout.font,i=t.textfont;if(e.classed(\"bartext-inside\")){var l=bR(r,t);i=yR(t,r.i,n,l)}else e.classed(\"bartext-outside\")&&(i=gR(t,r.i,n));return i}function mR(e,r,t){return M3(Uae,e.textfont,r,t)}function yR(e,r,t,a){var n=mR(e,r,t),i=e._input.textfont===void 0||e._input.textfont.color===void 0||Array.isArray(e.textfont.color)&&e.textfont.color[r]===void 0;return i&&(n={color:Yae.contrast(a),family:n.family,size:n.size,weight:n.weight,style:n.style,variant:n.variant,textcase:n.textcase,lineposition:n.lineposition,shadow:n.shadow}),M3(Vae,e.insidetextfont,r,n)}function gR(e,r,t){var a=mR(e,r,t);return M3(Gae,e.outsidetextfont,r,a)}function M3(e,r,t,a){r=r||{};var n=wa.getValue(r.family,t),i=wa.getValue(r.size,t),l=wa.getValue(r.color,t),o=wa.getValue(r.weight,t),s=wa.getValue(r.style,t),u=wa.getValue(r.variant,t),f=wa.getValue(r.textcase,t),v=wa.getValue(r.lineposition,t),h=wa.getValue(r.shadow,t);return{family:wa.coerceString(e.family,n,a.family),size:wa.coerceNumber(e.size,i,a.size),color:wa.coerceColor(e.color,l,a.color),weight:wa.coerceString(e.weight,o,a.weight),style:wa.coerceString(e.style,s,a.style),variant:wa.coerceString(e.variant,u,a.variant),textcase:wa.coerceString(e.variant,f,a.textcase),lineposition:wa.coerceString(e.variant,v,a.lineposition),shadow:wa.coerceString(e.variant,h,a.shadow)}}function bR(e,r){return r.type===\"waterfall\"?r[e.dir].marker.color:e.mcc||e.mc||r.marker.color}xR.exports={style:Wae,styleTextPoints:dR,styleOnSelect:Xae,getInsideTextFont:yR,getOutsideTextFont:gR,getBarColor:bR,resizeText:vR}});var LR=K((zve,SR)=>{\"use strict\";var l1=zr(),o1=Hr(),ca=Fe(),Kae=ba(),Qae=Er(),Gl=tt(),$ae=br(),s1=pt().tickText,_R=Fc(),jae=_R.recordMinTextSize,ene=_R.clearMinTextSize,A3=i1(),Eu=n1(),rne=yc(),wR=zc(),tne=wR.text,ane=wR.textposition,nne=Ti().appendArrayPointValue,Oa=rne.TEXTPAD;function ine(e){return e.id}function lne(e){if(e.ids)return ine}function k3(e){return(e>0)-(e<0)}function Oi(e,r){return e<r?1:-1}function one(e,r,t,a){var n=[],i=[],l=a?r:t,o=a?t:r;return n[0]=l.c2p(e.s0,!0),i[0]=o.c2p(e.p0,!0),n[1]=l.c2p(e.s1,!0),i[1]=o.c2p(e.p1,!0),a?[n,i]:[i,n]}function TR(e,r,t,a){if(!r.uniformtext.mode&#038;&#038;MR(t)){var n;return a&#038;&#038;(n=a()),e.transition().duration(t.duration).ease(t.easing).each(\"end\",function(){n&#038;&#038;n()}).each(\"interrupt\",function(){n&#038;&#038;n()})}else return e}function MR(e){return e&#038;&#038;e.duration>0}function sne(e,r,t,a,n,i){var l=r.xaxis,o=r.yaxis,s=e._fullLayout,u=e._context.staticPlot;n||(n={mode:s.barmode,norm:s.barmode,gap:s.bargap,groupgap:s.bargroupgap},ene(\"bar\",s));var f=ca.makeTraceGroups(a,t,\"trace bars\").each(function(v){var h=l1.select(this),d=v[0].trace,m=v[0].t,y=d.type===\"waterfall\",g=d.type===\"funnel\",_=d.type===\"histogram\",T=d.type===\"bar\",w=T||g,b=0;y&&d.connector.visible&&d.connector.mode===\"between\"&&(b=d.connector.line.width\/2);var M=d.orientation===\"h\",S=MR(n),k=ca.ensureSingle(h,\"g\",\"points\"),q=lne(d),D=k.selectAll(\"g.point\").data(ca.identity,q);D.enter().append(\"g\").classed(\"point\",!0),D.exit().remove(),D.each(function(z,F){var O=l1.select(this),I=one(z,l,o,M),V=I[0][0],J=I[0][1],G=I[1][0],U=I[1][1],H=(M?J-V:U-G)===0;H&&w&&Eu.getLineWidth(d,z)&&(H=!1),H||(H=!o1(V)||!o1(J)||!o1(G)||!o1(U)),z.isBlank=H,H&&(M?J=V:U=G),b&&!H&&(M?(V-=Oi(V,J)*b,J+=Oi(V,J)*b):(G-=Oi(G,U)*b,U+=Oi(G,U)*b));var Q,Z;if(d.type===\"waterfall\"){if(!H){var ne=d[z.dir].marker;Q=ne.line.width,Z=ne.color}}else Q=Eu.getLineWidth(d,z),Z=z.mc||d.marker.color;function ce(ie){var xe=l1.round(Q\/2%1,2);return n.gap===0&&n.groupgap===0?l1.round(Math.round(ie)-xe,2):ie}function ye(ie,xe,Ke){return Ke&&ie===xe?ie:Math.abs(ie-xe)>=2?ce(ie):ie>xe?Math.ceil(ie):Math.floor(ie)}var Ce=Qae.opacity(Z),re=Ce<1||Q>.01?ce:ye;e._context.staticPlot||(V=re(V,J,M),J=re(J,V,M),G=re(G,U,!M),U=re(U,G,!M));var Se=M?l.c2p:o.c2p,pe;z.s0>0?pe=z._sMax:z.s0<0?pe=z._sMin:pe=z.s1>0?z._sMax:z._sMin;function be(ie,xe){if(!ie)return 0;var Ke=Math.abs(M?U-G:J-V),hr=Math.abs(M?J-V:U-G),ze=re(Math.abs(Se(pe,!0)-Se(0,!0))),Me=z.hasB?Math.min(Ke\/2,hr\/2):Math.min(Ke\/2,ze),ke;if(xe===\"%\"){var Oe=Math.min(50,ie);ke=Ke*(Oe\/100)}else ke=ie;return re(Math.max(Math.min(ke,Me),0))}var Ae=T||_?be(m.cornerradiusvalue,m.cornerradiusform):0,ge,B,$=\"M\"+V+\",\"+G+\"V\"+U+\"H\"+J+\"V\"+G+\"Z\",Y=0;if(Ae&&z.s){var le=k3(z.s0)===0||k3(z.s)===k3(z.s0)?z.s1:z.s0;if(Y=re(z.hasB?0:Math.abs(Se(pe,!0)-Se(le,!0))),Y<Ae){var he=Oi(V,J),me=Oi(G,U),Re=he===-me?1:0;if(M)if(z.hasB)ge=\"M\"+(V+Ae*he)+\",\"+G+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+V+\",\"+(G+Ae*me)+\"V\"+(U-Ae*me)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+(V+Ae*he)+\",\"+U+\"H\"+(J-Ae*he)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+J+\",\"+(U-Ae*me)+\"V\"+(G+Ae*me)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+(J-Ae*he)+\",\"+G+\"Z\";else{B=Math.abs(J-V)+Y;var Ee=B<Ae?Ae-Math.sqrt(B*(2*Ae-B)):0,Le=Y>0?Math.sqrt(Y*(2*Ae-Y)):0,Ve=he>0?Math.max:Math.min;ge=\"M\"+V+\",\"+G+\"V\"+(U-Ee*me)+\"H\"+Ve(J-(Ae-Y)*he,V)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+J+\",\"+(U-Ae*me-Le)+\"V\"+(G+Ae*me+Le)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+Ve(J-(Ae-Y)*he,V)+\",\"+(G+Ee*me)+\"Z\"}else if(z.hasB)ge=\"M\"+(V+Ae*he)+\",\"+G+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+V+\",\"+(G+Ae*me)+\"V\"+(U-Ae*me)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+(V+Ae*he)+\",\"+U+\"H\"+(J-Ae*he)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+J+\",\"+(U-Ae*me)+\"V\"+(G+Ae*me)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+(J-Ae*he)+\",\"+G+\"Z\";else{B=Math.abs(U-G)+Y;var Ie=B<Ae?Ae-Math.sqrt(B*(2*Ae-B)):0,Xe=Y>0?Math.sqrt(Y*(2*Ae-Y)):0,De=me>0?Math.max:Math.min;ge=\"M\"+(V+Ie*he)+\",\"+G+\"V\"+De(U-(Ae-Y)*me,G)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+(V+Ae*he-Xe)+\",\"+U+\"H\"+(J-Ae*he+Xe)+\"A \"+Ae+\",\"+Ae+\" 0 0 \"+Re+\" \"+(J-Ie*he)+\",\"+De(U-(Ae-Y)*me,G)+\"V\"+G+\"Z\"}}else ge=$}else ge=$;var He=TR(ca.ensureSingle(O,\"path\"),s,n,i);if(He.style(\"vector-effect\",u?\"none\":\"non-scaling-stroke\").attr(\"d\",isNaN((J-V)*(U-G))||H&&e._context.staticPlot?\"M0,0Z\":ge).call(Gl.setClipUrl,r.layerClipId,e),!s.uniformtext.mode&&S){var We=Gl.makePointStyleFns(d);Gl.singlePointStyle(z,He,d,We,e)}une(e,r,O,v,F,V,J,G,U,Ae,Y,n,i),r.layerClipId&&Gl.hideOutsideRangePoint(z,O.select(\"text\"),l,o,d.xcalendar,d.ycalendar)});var P=d.cliponaxis===!1;Gl.setClipUrl(h,P?null:r.layerClipId,e)});$ae.getComponentMethod(\"errorbars\",\"plot\")(e,f,r,n)}function une(e,r,t,a,n,i,l,o,s,u,f,v,h){var d=r.xaxis,m=r.yaxis,y=e._fullLayout,g;function _(B,$,Y){var le=ca.ensureSingle(B,\"text\").text($).attr({class:\"bartext bartext-\"+g,\"text-anchor\":\"middle\",\"data-notex\":1}).call(Gl.font,Y).call(Kae.convertToTspans,e);return le}var T=a[0].trace,w=T.orientation===\"h\",b=vne(y,a,n,d,m);g=hne(T,n);var M=v.mode===\"stack\"||v.mode===\"relative\",S=a[n],k=!M||S._outmost,q=S.hasB,D=u&&u-f>Oa;if(!b||g===\"none\"||(S.isBlank||i===l||o===s)&&(g===\"auto\"||g===\"inside\")){t.select(\"text\").remove();return}var P=y.font,z=A3.getBarColor(a[n],T),F=A3.getInsideTextFont(T,n,P,z),O=A3.getOutsideTextFont(T,n,P),I=T.insidetextanchor||\"end\",V=t.datum();w?d.type===\"log\"&&V.s0<=0&#038;&#038;(d.range[0]<d.range[1]?i=0:i=d._length):m.type===\"log\"&#038;&#038;V.s0<=0&#038;&#038;(m.range[0]<m.range[1]?o=m._length:o=0);var J=Math.abs(l-i),G=Math.abs(s-o),U=J-2*Oa,H=G-2*Oa,Q,Z,ne,ce,ye;if(g===\"outside\"&#038;&#038;!k&#038;&#038;!S.hasB&#038;&#038;(g=\"inside\"),g===\"auto\")if(k){g=\"inside\",ye=ca.ensureUniformFontSize(e,F),Q=_(t,b,ye),Z=Gl.bBox(Q.node()),ne=Z.width,ce=Z.height;var Ce=ne>0&&ce>0,re;D?q?re=as(U-2*u,H,ne,ce,w)||as(U,H-2*u,ne,ce,w):w?re=as(U-(u-f),H,ne,ce,w)||as(U,H-2*(u-f),ne,ce,w):re=as(U,H-(u-f),ne,ce,w)||as(U-2*(u-f),H,ne,ce,w):re=as(U,H,ne,ce,w),Ce&&re?g=\"inside\":(g=\"outside\",Q.remove(),Q=null)}else g=\"inside\";if(!Q){ye=ca.ensureUniformFontSize(e,g===\"outside\"?O:F),Q=_(t,b,ye);var Se=Q.attr(\"transform\");if(Q.attr(\"transform\",\"\"),Z=Gl.bBox(Q.node()),ne=Z.width,ce=Z.height,Q.attr(\"transform\",Se),ne<=0||ce<=0){Q.remove();return}}var pe=T.textangle,be,Ae;g===\"outside\"?(Ae=T.constraintext===\"both\"||T.constraintext===\"outside\",be=cne(i,l,o,s,Z,{isHorizontal:w,constrained:Ae,angle:pe})):(Ae=T.constraintext===\"both\"||T.constraintext===\"inside\",be=CR(i,l,o,s,Z,{isHorizontal:w,constrained:Ae,angle:pe,anchor:I,hasB:q,r:u,overhead:f})),be.fontSize=ye.size,jae(T.type===\"histogram\"?\"bar\":T.type,be,y),S.transform=be;var ge=TR(Q,y,v,h);ca.setTransormAndDisplay(ge,be)}function as(e,r,t,a,n){if(e<0||r<0)return!1;var i=t<=e&#038;&#038;a<=r,l=t<=r&#038;&#038;a<=e,o=n?e>=t*(r\/a):r>=a*(e\/t);return i||l||o}function AR(e){return e===\"auto\"?0:e}function kR(e,r){var t=Math.PI\/180*r,a=Math.abs(Math.sin(t)),n=Math.abs(Math.cos(t));return{x:e.width*n+e.height*a,y:e.width*a+e.height*n}}function CR(e,r,t,a,n,i){var l=!!i.isHorizontal,o=!!i.constrained,s=i.angle||0,u=i.anchor,f=u===\"end\",v=u===\"start\",h=i.leftToRight||0,d=(h+1)\/2,m=1-d,y=i.hasB,g=i.r,_=i.overhead,T=n.width,w=n.height,b=Math.abs(r-e),M=Math.abs(a-t),S=b>2*Oa&&M>2*Oa?Oa:0;b-=2*S,M-=2*S;var k=AR(s);s===\"auto\"&&!(T<=b&#038;&#038;w<=M)&#038;&#038;(T>b||w>M)&&(!(T>M||w>b)||T<w!=b<M)&#038;&#038;(k+=90);var q=kR(n,k),D,P;if(g&#038;&#038;g-_>Oa){var z=fne(e,r,t,a,q,g,_,l,y);D=z.scale,P=z.pad}else D=1,o&&(D=Math.min(1,b\/q.x,M\/q.y)),P=0;var F=n.left*m+n.right*d,O=(n.top+n.bottom)\/2,I=(e+Oa)*m+(r-Oa)*d,V=(t+a)\/2,J=0,G=0;if(v||f){var U=(l?q.x:q.y)\/2;g&&(f||y)&&(S+=P);var H=l?Oi(e,r):Oi(t,a);l?v?(I=e+H*S,J=-H*U):(I=r-H*S,J=H*U):v?(V=t+H*S,G=-H*U):(V=a-H*S,G=H*U)}return{textX:F,textY:O,targetX:I,targetY:V,anchorX:J,anchorY:G,scale:D,rotate:k}}function fne(e,r,t,a,n,i,l,o,s){var u=Math.max(0,Math.abs(r-e)-2*Oa),f=Math.max(0,Math.abs(a-t)-2*Oa),v=i-Oa,h=l?v-Math.sqrt(v*v-(v-l)*(v-l)):v,d=s?v*2:o?v-l:2*h,m=s?v*2:o?2*h:v-l,y,g,_,T,w;return n.y\/n.x>=f\/(u-d)?T=f\/n.y:n.y\/n.x<=(f-m)\/u?T=u\/n.x:!s&#038;&#038;o?(y=n.x*n.x+n.y*n.y\/4,g=-2*n.x*(u-v)-n.y*(f\/2-v),_=(u-v)*(u-v)+(f\/2-v)*(f\/2-v)-v*v,T=(-g+Math.sqrt(g*g-4*y*_))\/(2*y)):s?(y=(n.x*n.x+n.y*n.y)\/4,g=-n.x*(u\/2-v)-n.y*(f\/2-v),_=(u\/2-v)*(u\/2-v)+(f\/2-v)*(f\/2-v)-v*v,T=(-g+Math.sqrt(g*g-4*y*_))\/(2*y)):(y=n.x*n.x\/4+n.y*n.y,g=-n.x*(u\/2-v)-2*n.y*(f-v),_=(u\/2-v)*(u\/2-v)+(f-v)*(f-v)-v*v,T=(-g+Math.sqrt(g*g-4*y*_))\/(2*y)),T=Math.min(1,T),o?w=Math.max(0,v-Math.sqrt(Math.max(0,v*v-(v-(f-n.y*T)\/2)*(v-(f-n.y*T)\/2)))-l):w=Math.max(0,v-Math.sqrt(Math.max(0,v*v-(v-(u-n.x*T)\/2)*(v-(u-n.x*T)\/2)))-l),{scale:T,pad:w}}function cne(e,r,t,a,n,i){var l=!!i.isHorizontal,o=!!i.constrained,s=i.angle||0,u=n.width,f=n.height,v=Math.abs(r-e),h=Math.abs(a-t),d;l?d=h>2*Oa?Oa:0:d=v>2*Oa?Oa:0;var m=1;o&&(m=l?Math.min(1,h\/f):Math.min(1,v\/u));var y=AR(s),g=kR(n,y),_=(l?g.x:g.y)\/2,T=(n.left+n.right)\/2,w=(n.top+n.bottom)\/2,b=(e+r)\/2,M=(t+a)\/2,S=0,k=0,q=l?Oi(r,e):Oi(t,a);return l?(b=r-q*d,S=q*_):(M=a+q*d,k=-q*_),{textX:T,textY:w,targetX:b,targetY:M,anchorX:S,anchorY:k,scale:m,rotate:y}}function vne(e,r,t,a,n){var i=r[0].trace,l=i.texttemplate,o;return l?o=dne(e,r,t,a,n):i.textinfo?o=pne(r,t,a,n):o=Eu.getValue(i.text,t),Eu.coerceString(tne,o)}function hne(e,r){var t=Eu.getValue(e.textposition,r);return Eu.coerceEnumerated(ane,t)}function dne(e,r,t,a,n){var i=r[0].trace,l=ca.castOption(i,t,\"texttemplate\");if(!l)return\"\";var o=i.type===\"histogram\",s=i.type===\"waterfall\",u=i.type===\"funnel\",f=i.orientation===\"h\",v,h,d,m;f?(v=\"y\",h=n,d=\"x\",m=a):(v=\"x\",h=a,d=\"y\",m=n);function y(S){return s1(h,h.c2l(S),!0).text}function g(S){return s1(m,m.c2l(S),!0).text}var _=r[t],T={};T.label=_.p,T.labelLabel=T[v+\"Label\"]=y(_.p);var w=ca.castOption(i,_.i,\"text\");(w===0||w)&&(T.text=w),T.value=_.s,T.valueLabel=T[d+\"Label\"]=g(_.s);var b={};nne(b,i,_.i),(o||b.x===void 0)&&(b.x=f?T.value:T.label),(o||b.y===void 0)&&(b.y=f?T.label:T.value),(o||b.xLabel===void 0)&&(b.xLabel=f?T.valueLabel:T.labelLabel),(o||b.yLabel===void 0)&&(b.yLabel=f?T.labelLabel:T.valueLabel),s&&(T.delta=+_.rawS||_.s,T.deltaLabel=g(T.delta),T.final=_.v,T.finalLabel=g(T.final),T.initial=T.final-T.delta,T.initialLabel=g(T.initial)),u&&(T.value=_.s,T.valueLabel=g(T.value),T.percentInitial=_.begR,T.percentInitialLabel=ca.formatPercent(_.begR),T.percentPrevious=_.difR,T.percentPreviousLabel=ca.formatPercent(_.difR),T.percentTotal=_.sumR,T.percenTotalLabel=ca.formatPercent(_.sumR));var M=ca.castOption(i,_.i,\"customdata\");return M&&(T.customdata=M),ca.texttemplateString({data:[b,T,i._meta],fallback:i.texttemplatefallback,labels:T,locale:e._d3locale,template:l})}function pne(e,r,t,a){var n=e[0].trace,i=n.orientation===\"h\",l=n.type===\"waterfall\",o=n.type===\"funnel\";function s(M){var S=i?a:t;return s1(S,M,!0).text}function u(M){var S=i?t:a;return s1(S,+M,!0).text}var f=n.textinfo,v=e[r],h=f.split(\"+\"),d=[],m,y=function(M){return h.indexOf(M)!==-1};if(y(\"label\")&&d.push(s(e[r].p)),y(\"text\")&&(m=ca.castOption(n,v.i,\"text\"),(m===0||m)&&d.push(m)),l){var g=+v.rawS||v.s,_=v.v,T=_-g;y(\"initial\")&&d.push(u(T)),y(\"delta\")&&d.push(u(g)),y(\"final\")&&d.push(u(_))}if(o){y(\"value\")&&d.push(u(v.s));var w=0;y(\"percent initial\")&&w++,y(\"percent previous\")&&w++,y(\"percent total\")&&w++;var b=w>1;y(\"percent initial\")&&(m=ca.formatPercent(v.begR),b&&(m+=\" of initial\"),d.push(m)),y(\"percent previous\")&&(m=ca.formatPercent(v.difR),b&&(m+=\" of previous\"),d.push(m)),y(\"percent total\")&&(m=ca.formatPercent(v.sumR),b&&(m+=\" of total\"),d.push(m))}return d.join(\"<br>\")}SR.exports={plot:sne,toMoveInsideBar:CR}});var RR=K((Nve,PR)=>{\"use strict\";var Oc=ni(),mne=br(),qR=Er(),yne=Fe().fillText,gne=n1().getLineWidth,C3=pt().hoverLabelText,bne=Gt().BADNUM;function xne(e,r,t,a,n){var i=DR(e,r,t,a,n);if(i){var l=i.cd,o=l[0].trace,s=l[i.index];return i.color=ER(o,s),mne.getComponentMethod(\"errorbars\",\"hoverInfo\")(s,o,i),[i]}}function DR(e,r,t,a,n){var i=e.cd,l=i[0].trace,o=i[0].t,s=a===\"closest\",u=l.type===\"waterfall\",f=e.maxHoverDistance,v=e.maxSpikeDistance,h,d,m,y,g,_,T;l.orientation===\"h\"?(h=t,d=r,m=\"y\",y=\"x\",g=V,_=F):(h=r,d=t,m=\"x\",y=\"y\",_=V,g=F);var w=l[m+\"period\"],b=s||w;function M(re){return k(re,-1)}function S(re){return k(re,1)}function k(re,Se){var pe=re.w;return re[m]+Se*pe\/2}function q(re){return re[m+\"End\"]-re[m+\"Start\"]}var D=s?M:w?function(re){return re.p-q(re)\/2}:function(re){return Math.min(M(re),re.p-o.bardelta\/2)},P=s?S:w?function(re){return re.p+q(re)\/2}:function(re){return Math.max(S(re),re.p+o.bardelta\/2)};function z(re,Se,pe){return n.finiteRange&&(pe=0),Oc.inbox(re-h,Se-h,pe+Math.min(1,Math.abs(Se-re)\/T)-1)}function F(re){return z(D(re),P(re),f)}function O(re){return z(M(re),S(re),v)}function I(re){var Se=re[y];if(u){var pe=Math.abs(re.rawS)||0;d>0?Se+=pe:d<0&#038;&#038;(Se-=pe)}return Se}function V(re){var Se=d,pe=re.b,be=I(re);return Oc.inbox(pe-Se,be-Se,f+(be-Se)\/(be-pe)-1)}function J(re){var Se=d,pe=re.b,be=I(re);return Oc.inbox(pe-Se,be-Se,v+(be-Se)\/(be-pe)-1)}var G=e[m+\"a\"],U=e[y+\"a\"];T=Math.abs(G.r2c(G.range[1])-G.r2c(G.range[0]));function H(re){return(g(re)+_(re))\/2}var Q=Oc.getDistanceFunction(a,g,_,H);if(Oc.getClosest(i,Q,e),e.index!==!1&#038;&#038;i[e.index].p!==bne){b||(D=function(re){return Math.min(M(re),re.p-o.bargroupwidth\/2)},P=function(re){return Math.max(S(re),re.p+o.bargroupwidth\/2)});var Z=e.index,ne=i[Z],ce=l.base?ne.b+ne.s:ne.s;e[y+\"0\"]=e[y+\"1\"]=U.c2p(ne[y],!0),e[y+\"LabelVal\"]=ce;var ye=o.extents[o.extents.round(ne.p)];e[m+\"0\"]=G.c2p(s?D(ne):ye[0],!0),e[m+\"1\"]=G.c2p(s?P(ne):ye[1],!0);var Ce=ne.orig_p!==void 0;return e[m+\"LabelVal\"]=Ce?ne.orig_p:ne.p,e.labelLabel=C3(G,e[m+\"LabelVal\"],l[m+\"hoverformat\"]),e.valueLabel=C3(U,e[y+\"LabelVal\"],l[y+\"hoverformat\"]),e.baseLabel=C3(U,ne.b,l[y+\"hoverformat\"]),e.spikeDistance=(J(ne)+O(ne))\/2,e[m+\"Spike\"]=G.c2p(ne.p,!0),yne(ne,l,e),e.hovertemplate=l.hovertemplate,e}}function ER(e,r){var t=r.mcc||e.marker.color,a=r.mlcc||e.marker.line.color,n=gne(e,r);if(qR.opacity(t))return t;if(qR.opacity(a)&#038;&#038;n)return a}PR.exports={hoverPoints:xne,hoverOnBars:DR,getTraceColor:ER}});var NR=K((Fve,zR)=>{\"use strict\";zR.exports=function(r,t,a){return r.x=\"xVal\"in t?t.xVal:t.x,r.y=\"yVal\"in t?t.yVal:t.y,t.xa&&(r.xaxis=t.xa),t.ya&&(r.yaxis=t.ya),a.orientation===\"h\"?(r.label=r.y,r.value=r.x):(r.label=r.x,r.value=r.y),r}});var IR=K((Ive,FR)=>{\"use strict\";FR.exports=function(r,t){var a=r.cd,n=r.xaxis,i=r.yaxis,l=a[0].trace,o=l.type===\"funnel\",s=l.orientation===\"h\",u=[],f;if(t===!1)for(f=0;f<a.length;f++)a[f].selected=0;else for(f=0;f<a.length;f++){var v=a[f],h=\"ct\"in v?v.ct:_ne(v,n,i,s,o);t.contains(h,!1,f,r)?(u.push({pointNumber:f,x:n.c2d(v.x),y:i.c2d(v.y)}),v.selected=1):v.selected=0}return u};function _ne(e,r,t,a,n){var i=r.c2p(a?e.s0:e.p0,!0),l=r.c2p(a?e.s1:e.p1,!0),o=t.c2p(a?e.p0:e.s0,!0),s=t.c2p(a?e.p1:e.s1,!0);return n?[(i+l)\/2,(o+s)\/2]:a?[l,(o+s)\/2]:[(i+l)\/2,s]}});var OR=K((Hve,HR)=>{\"use strict\";HR.exports={attributes:zc(),layoutAttributes:_3(),supplyDefaults:Nc().supplyDefaults,crossTraceDefaults:Nc().crossTraceDefaults,supplyLayoutDefaults:jP(),calc:lR(),crossTraceCalc:c2().crossTraceCalc,colorbar:d2(),arraysToCalcdata:w3(),plot:LR().plot,style:i1().style,styleOnSelect:i1().styleOnSelect,hoverPoints:RR().hoverPoints,eventData:NR(),selectPoints:IR(),moduleType:\"trace\",name:\"bar\",basePlotModule:qd(),categories:[\"bar-like\",\"cartesian\",\"svg\",\"bar\",\"oriented\",\"errorBarsOK\",\"showLegend\",\"zoomScale\"],animatable:!0,meta:{}}});var YR=K((Ove,BR)=>{\"use strict\";BR.exports=OR()});var S3=K((Bve,VR)=>{\"use strict\";var u1=Zn(),wne=Qd().attributes,Tne=ga(),Mne=gi(),{hovertemplateAttrs:Ane,texttemplateAttrs:kne,templatefallbackAttrs:UR}=co(),Wl=Wt().extendFlat,Cne=xi().pattern,f1=Tne({editType:\"plot\",arrayOk:!0,colorEditType:\"plot\"});VR.exports={labels:{valType:\"data_array\",editType:\"calc\"},label0:{valType:\"number\",dflt:0,editType:\"calc\"},dlabel:{valType:\"number\",dflt:1,editType:\"calc\"},values:{valType:\"data_array\",editType:\"calc\"},marker:{colors:{valType:\"data_array\",editType:\"calc\"},line:{color:{valType:\"color\",dflt:Mne.defaultLine,arrayOk:!0,editType:\"style\"},width:{valType:\"number\",min:0,dflt:0,arrayOk:!0,editType:\"style\"},editType:\"calc\"},pattern:Cne,editType:\"calc\"},text:{valType:\"data_array\",editType:\"plot\"},hovertext:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"style\"},scalegroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},textinfo:{valType:\"flaglist\",flags:[\"label\",\"text\",\"value\",\"percent\"],extras:[\"none\"],editType:\"calc\"},hoverinfo:Wl({},u1.hoverinfo,{flags:[\"label\",\"text\",\"value\",\"percent\",\"name\"]}),hovertemplate:Ane({},{keys:[\"label\",\"color\",\"value\",\"percent\",\"text\"]}),hovertemplatefallback:UR(),texttemplate:kne({editType:\"plot\"},{keys:[\"label\",\"color\",\"value\",\"percent\",\"text\"]}),texttemplatefallback:UR({editType:\"plot\"}),textposition:{valType:\"enumerated\",values:[\"inside\",\"outside\",\"auto\",\"none\"],dflt:\"auto\",arrayOk:!0,editType:\"plot\"},textfont:Wl({},f1,{}),insidetextorientation:{valType:\"enumerated\",values:[\"horizontal\",\"radial\",\"tangential\",\"auto\"],dflt:\"auto\",editType:\"plot\"},insidetextfont:Wl({},f1,{}),outsidetextfont:Wl({},f1,{}),automargin:{valType:\"boolean\",dflt:!1,editType:\"plot\"},showlegend:Wl({},u1.showlegend,{arrayOk:!0}),legend:Wl({},u1.legend,{arrayOk:!0}),legendrank:Wl({},u1.legendrank,{arrayOk:!0}),title:{text:{valType:\"string\",dflt:\"\",editType:\"plot\"},font:Wl({},f1,{}),position:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle center\",\"bottom left\",\"bottom center\",\"bottom right\"],editType:\"plot\"},editType:\"plot\"},domain:wne({name:\"pie\",trace:!0,editType:\"calc\"}),hole:{valType:\"number\",min:0,max:1,dflt:0,editType:\"calc\"},sort:{valType:\"boolean\",dflt:!0,editType:\"calc\"},direction:{valType:\"enumerated\",values:[\"clockwise\",\"counterclockwise\"],dflt:\"counterclockwise\",editType:\"calc\"},rotation:{valType:\"angle\",dflt:0,editType:\"calc\"},pull:{valType:\"number\",min:0,max:1,dflt:0,arrayOk:!0,editType:\"calc\"}}});var ZR=K((Yve,XR)=>{\"use strict\";var Sne=Hr(),Bc=Fe(),Lne=S3(),qne=Qd().defaults,Dne=Nc().handleText,Ene=Fe().coercePattern;function GR(e,r){var t=Bc.isArrayOrTypedArray(e),a=Bc.isArrayOrTypedArray(r),n=Math.min(t?e.length:1\/0,a?r.length:1\/0);if(isFinite(n)||(n=0),n&&a){for(var i,l=0;l<n;l++){var o=r[l];if(Sne(o)&#038;&#038;o>0){i=!0;break}}i||(n=0)}return{hasLabels:t,hasValues:a,len:n}}function WR(e,r,t,a,n){var i=a(\"marker.line.width\");i&&a(\"marker.line.color\",n?void 0:t.paper_bgcolor);var l=a(\"marker.colors\");Ene(a,\"marker.pattern\",l),e.marker&&!r.marker.pattern.fgcolor&&(r.marker.pattern.fgcolor=e.marker.colors),r.marker.pattern.bgcolor||(r.marker.pattern.bgcolor=t.paper_bgcolor)}function Pne(e,r,t,a){function n(T,w){return Bc.coerce(e,r,Lne,T,w)}var i=n(\"labels\"),l=n(\"values\"),o=GR(i,l),s=o.len;if(r._hasLabels=o.hasLabels,r._hasValues=o.hasValues,!r._hasLabels&&r._hasValues&&(n(\"label0\"),n(\"dlabel\")),!s){r.visible=!1;return}r._length=s,WR(e,r,a,n,!0),n(\"scalegroup\");var u=n(\"text\"),f=n(\"texttemplate\");n(\"texttemplatefallback\");var v;if(f||(v=n(\"textinfo\",Bc.isArrayOrTypedArray(u)?\"text+percent\":\"percent\")),n(\"hovertext\"),n(\"hovertemplate\"),n(\"hovertemplatefallback\"),f||v&&v!==\"none\"){var h=n(\"textposition\");Dne(e,r,a,n,h,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1});var d=Array.isArray(h)||h===\"auto\",m=d||h===\"outside\";m&&n(\"automargin\"),(h===\"inside\"||h===\"auto\"||Array.isArray(h))&&n(\"insidetextorientation\")}else v===\"none\"&&n(\"textposition\",\"none\");qne(r,a,n);var y=n(\"hole\"),g=n(\"title.text\");if(g){var _=n(\"title.position\",y?\"middle center\":\"top center\");!y&&_===\"middle center\"&&(r.title.position=\"top center\"),Bc.coerceFont(n,\"title.font\",a.font)}n(\"sort\"),n(\"direction\"),n(\"rotation\"),n(\"pull\")}XR.exports={handleLabelsAndValues:GR,handleMarkerDefaults:WR,supplyDefaults:Pne}});var L3=K((Uve,JR)=>{\"use strict\";JR.exports={hiddenlabels:{valType:\"data_array\",editType:\"calc\"},piecolorway:{valType:\"colorlist\",editType:\"calc\"},extendpiecolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}});var QR=K((Vve,KR)=>{\"use strict\";var Rne=Fe(),zne=L3();KR.exports=function(r,t){function a(n,i){return Rne.coerce(r,t,zne,n,i)}a(\"hiddenlabels\"),a(\"piecolorway\",t.colorway),a(\"extendpiecolors\")}});var D3=K((Gve,ez)=>{\"use strict\";var Nne=Hr(),q3=wn(),Fne=Er(),Ine={};function Hne(e,r){var t=[],a=e._fullLayout,n=a.hiddenlabels||[],i=r.labels,l=r.marker.colors||[],o=r.values,s=r._length,u=r._hasValues&&s,f,v;if(r.dlabel)for(i=new Array(s),f=0;f<s;f++)i[f]=String(r.label0+f*r.dlabel);var h={},d=$R(a[\"_\"+r.type+\"colormap\"]),m=0,y=!1;for(f=0;f<s;f++){var g,_,T;if(u){if(g=o[f],!Nne(g))continue;g=+g}else g=1;_=i[f],(_===void 0||_===\"\")&#038;&#038;(_=f),_=String(_);var w=h[_];w===void 0?(h[_]=t.length,T=n.indexOf(_)!==-1,T||(m+=g),t.push({v:g,label:_,color:d(l[f],_),i:f,pts:[f],hidden:T})):(y=!0,v=t[w],v.v+=g,v.pts.push(f),v.hidden||(m+=g),v.color===!1&#038;&#038;l[f]&#038;&#038;(v.color=d(l[f],_)))}t=t.filter(function(M){return M.v>=0});var b=r.type===\"funnelarea\"?y:r.sort;return b&&t.sort(function(M,S){return S.v-M.v}),t[0]&&(t[0].vTotal=m),t}function $R(e){return function(t,a){return!t||(t=q3(t),!t.isValid())?!1:(t=Fne.addOpacity(t,t.getAlpha()),e[a]||(e[a]=t),t)}}function One(e,r){var t=(r||{}).type;t||(t=\"pie\");var a=e._fullLayout,n=e.calcdata,i=a[t+\"colorway\"],l=a[\"_\"+t+\"colormap\"];a[\"extend\"+t+\"colors\"]&&(i=jR(i,Ine));for(var o=0,s=0;s<n.length;s++){var u=n[s],f=u[0].trace.type;if(f===t)for(var v=0;v<u.length;v++){var h=u[v];h.color===!1&#038;&#038;(l[h.label]?h.color=l[h.label]:(l[h.label]=h.color=i[o%i.length],o++))}}}function jR(e,r){var t,a=JSON.stringify(e),n=r[a];if(!n){for(n=e.slice(),t=0;t<e.length;t++)n.push(q3(e[t]).lighten(20).toHexString());for(t=0;t<e.length;t++)n.push(q3(e[t]).darken(20).toHexString());r[a]=n}return n}ez.exports={calc:Hne,crossTraceCalc:One,makePullColorFn:$R,generateExtendedColors:jR}});var tz=K((Wve,rz)=>{\"use strict\";var Bne=Ti().appendArrayMultiPointValues;rz.exports=function(r,t){var a={curveNumber:t.index,pointNumbers:r.pts,data:t._input,fullData:t,label:r.label,color:r.color,value:r.v,percent:r.percent,text:r.text,bbox:r.bbox,v:r.v};return r.pts.length===1&&(a.pointNumber=a.i=r.pts[0]),Bne(a,t,r.pts),t.type===\"funnelarea\"&&(delete a.v,delete a.i),a}});var Mz=K((Xve,Tz)=>{\"use strict\";var on=zr(),Yne=It(),c1=ni(),sz=Er(),ll=tt(),Ta=Fe(),Une=Ta.strScale,az=Ta.strTranslate,E3=ba(),uz=Fc(),Vne=uz.recordMinTextSize,Gne=uz.clearMinTextSize,fz=yc().TEXTPAD,wr=Q0(),v1=tz(),nz=Fe().isValidTextValue;function Wne(e,r){var t=e._context.staticPlot,a=e._fullLayout,n=a._size;Gne(\"pie\",a),hz(r,e),xz(r,n);var i=Ta.makeTraceGroups(a._pielayer,r,\"trace\").each(function(l){var o=on.select(this),s=l[0],u=s.trace;rie(l),o.attr(\"stroke-linejoin\",\"round\"),o.each(function(){var f=on.select(this).selectAll(\"g.slice\").data(l);f.enter().append(\"g\").classed(\"slice\",!0),f.exit().remove();var v=[[[],[]],[[],[]]],h=!1;f.each(function(b,M){if(b.hidden){on.select(this).selectAll(\"path,g\").remove();return}b.pointNumber=b.i,b.curveNumber=u.index,v[b.pxmid[1]<0?0:1][b.pxmid[0]<0?0:1].push(b);var S=s.cx,k=s.cy,q=on.select(this),D=q.selectAll(\"path.surface\").data([b]);if(D.enter().append(\"path\").classed(\"surface\",!0).style({\"pointer-events\":t?\"none\":\"all\"}),q.call(cz,e,l),u.pull){var P=+wr.castOption(u.pull,b.pts)||0;P>0&&(S+=P*b.pxmid[0],k+=P*b.pxmid[1])}b.cxFinal=S,b.cyFinal=k;function z(U,H,Q,Z){var ne=Z*(H[0]-U[0]),ce=Z*(H[1]-U[1]);return\"a\"+Z*s.r+\",\"+Z*s.r+\" 0 \"+b.largeArc+(Q?\" 1 \":\" 0 \")+ne+\",\"+ce}var F=u.hole;if(b.v===s.vTotal){var O=\"M\"+(S+b.px0[0])+\",\"+(k+b.px0[1])+z(b.px0,b.pxmid,!0,1)+z(b.pxmid,b.px0,!0,1)+\"Z\";F?D.attr(\"d\",\"M\"+(S+F*b.px0[0])+\",\"+(k+F*b.px0[1])+z(b.px0,b.pxmid,!1,F)+z(b.pxmid,b.px0,!1,F)+\"Z\"+O):D.attr(\"d\",O)}else{var I=z(b.px0,b.px1,!0,1);if(F){var V=1-F;D.attr(\"d\",\"M\"+(S+F*b.px1[0])+\",\"+(k+F*b.px1[1])+z(b.px1,b.px0,!1,F)+\"l\"+V*b.px0[0]+\",\"+V*b.px0[1]+I+\"Z\")}else D.attr(\"d\",\"M\"+S+\",\"+k+\"l\"+b.px0[0]+\",\"+b.px0[1]+I+\"Z\")}_z(e,b,s);var J=wr.castOption(u.textposition,b.pts),G=q.selectAll(\"g.slicetext\").data(b.text&&J!==\"none\"?[0]:[]);G.enter().append(\"g\").classed(\"slicetext\",!0),G.exit().remove(),G.each(function(){var U=Ta.ensureSingle(on.select(this),\"text\",\"\",function(re){re.attr(\"data-notex\",1)}),H=Ta.ensureUniformFontSize(e,J===\"outside\"?Zne(u,b,a.font):vz(u,b,a.font));U.text(b.text).attr({class:\"slicetext\",transform:\"\",\"text-anchor\":\"middle\"}).call(ll.font,H).call(E3.convertToTspans,e);var Q=ll.bBox(U.node()),Z;if(J===\"outside\")Z=oz(Q,b);else if(Z=dz(Q,b,s),J===\"auto\"&&Z.scale<1){var ne=Ta.ensureUniformFontSize(e,u.outsidetextfont);U.call(ll.font,ne),Q=ll.bBox(U.node()),Z=oz(Q,b)}var ce=Z.textPosAngle,ye=ce===void 0?b.pxmid:h1(s.r,ce);if(Z.targetX=S+ye[0]*Z.rCenter+(Z.x||0),Z.targetY=k+ye[1]*Z.rCenter+(Z.y||0),wz(Z,Q),Z.outside){var Ce=Z.targetY;b.yLabelMin=Ce-Q.height\/2,b.yLabelMid=Ce,b.yLabelMax=Ce+Q.height\/2,b.labelExtraX=0,b.labelExtraY=0,h=!0}Z.fontSize=H.size,Vne(u.type,Z,a),l[M].transform=Z,Ta.setTransormAndDisplay(U,Z)})});var d=on.select(this).selectAll(\"g.titletext\").data(u.title.text?[0]:[]);if(d.enter().append(\"g\").classed(\"titletext\",!0),d.exit().remove(),d.each(function(){var b=Ta.ensureSingle(on.select(this),\"text\",\"\",function(k){k.attr(\"data-notex\",1)}),M=u.title.text;u._meta&#038;&#038;(M=Ta.templateString(M,u._meta)),b.text(M).attr({class:\"titletext\",transform:\"\",\"text-anchor\":\"middle\"}).call(ll.font,u.title.font).call(E3.convertToTspans,e);var S;u.title.position===\"middle center\"?S=Qne(s):S=gz(s,n),b.attr(\"transform\",az(S.x,S.y)+Une(Math.min(1,S.scale))+az(S.tx,S.ty))}),h&#038;&#038;jne(v,u),Xne(f,u),h&#038;&#038;u.automargin){var m=ll.bBox(o.node()),y=u.domain,g=n.w*(y.x[1]-y.x[0]),_=n.h*(y.y[1]-y.y[0]),T=(.5*g-s.r)\/n.w,w=(.5*_-s.r)\/n.h;Yne.autoMargin(e,\"pie.\"+u.uid+\".automargin\",{xl:y.x[0]-T,xr:y.x[1]+T,yb:y.y[0]-w,yt:y.y[1]+w,l:Math.max(s.cx-s.r-m.left,0),r:Math.max(m.right-(s.cx+s.r),0),b:Math.max(m.bottom-(s.cy+s.r),0),t:Math.max(s.cy-s.r-m.top,0),pad:5})}})});setTimeout(function(){i.selectAll(\"tspan\").each(function(){var l=on.select(this);l.attr(\"dy\")&#038;&#038;l.attr(\"dy\",l.attr(\"dy\"))})},0)}function Xne(e,r){e.each(function(t){var a=on.select(this);if(!t.labelExtraX&#038;&#038;!t.labelExtraY){a.select(\"path.textline\").remove();return}var n=a.select(\"g.slicetext text\");t.transform.targetX+=t.labelExtraX,t.transform.targetY+=t.labelExtraY,Ta.setTransormAndDisplay(n,t.transform);var i=t.cxFinal+t.pxmid[0],l=t.cyFinal+t.pxmid[1],o=\"M\"+i+\",\"+l,s=(t.yLabelMax-t.yLabelMin)*(t.pxmid[0]<0?-1:1)\/4;if(t.labelExtraX){var u=t.labelExtraX*t.pxmid[1]\/t.pxmid[0],f=t.yLabelMid+t.labelExtraY-(t.cyFinal+t.pxmid[1]);Math.abs(u)>Math.abs(f)?o+=\"l\"+f*t.pxmid[0]\/t.pxmid[1]+\",\"+f+\"H\"+(i+t.labelExtraX+s):o+=\"l\"+t.labelExtraX+\",\"+u+\"v\"+(f-u)+\"h\"+s}else o+=\"V\"+(t.yLabelMid+t.labelExtraY)+\"h\"+s;Ta.ensureSingle(a,\"path\",\"textline\").call(sz.stroke,r.outsidetextfont.color).attr({\"stroke-width\":Math.min(2,r.outsidetextfont.size\/8),d:o,fill:\"none\"})})}function cz(e,r,t){var a=t[0],n=a.cx,i=a.cy,l=a.trace,o=l.type===\"funnelarea\";\"_hasHoverLabel\"in l||(l._hasHoverLabel=!1),\"_hasHoverEvent\"in l||(l._hasHoverEvent=!1),e.on(\"mouseover\",function(s){var u=r._fullLayout,f=r._fullData[l.index];if(!(r._dragging||u.hovermode===!1)){var v=f.hoverinfo;if(Array.isArray(v)&&(v=c1.castHoverinfo({hoverinfo:[wr.castOption(v,s.pts)],_module:l._module},u,0)),v===\"all\"&&(v=\"label+text+value+percent+name\"),f.hovertemplate||v!==\"none\"&&v!==\"skip\"&&v){var h=s.rInscribed||0,d=n+s.pxmid[0]*(1-h),m=i+s.pxmid[1]*(1-h),y=u.separators,g=[];if(v&&v.indexOf(\"label\")!==-1&&g.push(s.label),s.text=wr.castOption(f.hovertext||f.text,s.pts),v&&v.indexOf(\"text\")!==-1){var _=s.text;Ta.isValidTextValue(_)&&g.push(_)}s.value=s.v,s.valueLabel=wr.formatPieValue(s.v,y),v&&v.indexOf(\"value\")!==-1&&g.push(s.valueLabel),s.percent=s.v\/a.vTotal,s.percentLabel=wr.formatPiePercent(s.percent,y),v&&v.indexOf(\"percent\")!==-1&&g.push(s.percentLabel);var T=f.hoverlabel,w=T.font,b=[];c1.loneHover({trace:l,x0:d-h*a.r,x1:d+h*a.r,y:m,_x0:o?n+s.TL[0]:d-h*a.r,_x1:o?n+s.TR[0]:d+h*a.r,_y0:o?i+s.TL[1]:m-h*a.r,_y1:o?i+s.BL[1]:m+h*a.r,text:g.join(\"<br>\"),name:f.hovertemplate||v.indexOf(\"name\")!==-1?f.name:void 0,idealAlign:s.pxmid[0]<0?\"left\":\"right\",color:wr.castOption(T.bgcolor,s.pts)||s.color,borderColor:wr.castOption(T.bordercolor,s.pts),fontFamily:wr.castOption(w.family,s.pts),fontSize:wr.castOption(w.size,s.pts),fontColor:wr.castOption(w.color,s.pts),nameLength:wr.castOption(T.namelength,s.pts),textAlign:wr.castOption(T.align,s.pts),hovertemplate:wr.castOption(f.hovertemplate,s.pts),hovertemplateLabels:s,eventData:[v1(s,f)]},{container:u._hoverlayer.node(),outerContainer:u._paper.node(),gd:r,inOut_bbox:b}),s.bbox=b[0],l._hasHoverLabel=!0}l._hasHoverEvent=!0,r.emit(\"plotly_hover\",{points:[v1(s,f)],event:on.event})}}),e.on(\"mouseout\",function(s){var u=r._fullLayout,f=r._fullData[l.index],v=on.select(this).datum();l._hasHoverEvent&#038;&#038;(s.originalEvent=on.event,r.emit(\"plotly_unhover\",{points:[v1(v,f)],event:on.event}),l._hasHoverEvent=!1),l._hasHoverLabel&#038;&#038;(c1.loneUnhover(u._hoverlayer.node()),l._hasHoverLabel=!1)}),e.on(\"click\",function(s){var u=r._fullLayout,f=r._fullData[l.index];r._dragging||u.hovermode===!1||(r._hoverdata=[v1(s,f)],c1.click(r,on.event))})}function Zne(e,r,t){var a=wr.castOption(e.outsidetextfont.color,r.pts)||wr.castOption(e.textfont.color,r.pts)||t.color,n=wr.castOption(e.outsidetextfont.family,r.pts)||wr.castOption(e.textfont.family,r.pts)||t.family,i=wr.castOption(e.outsidetextfont.size,r.pts)||wr.castOption(e.textfont.size,r.pts)||t.size,l=wr.castOption(e.outsidetextfont.weight,r.pts)||wr.castOption(e.textfont.weight,r.pts)||t.weight,o=wr.castOption(e.outsidetextfont.style,r.pts)||wr.castOption(e.textfont.style,r.pts)||t.style,s=wr.castOption(e.outsidetextfont.variant,r.pts)||wr.castOption(e.textfont.variant,r.pts)||t.variant,u=wr.castOption(e.outsidetextfont.textcase,r.pts)||wr.castOption(e.textfont.textcase,r.pts)||t.textcase,f=wr.castOption(e.outsidetextfont.lineposition,r.pts)||wr.castOption(e.textfont.lineposition,r.pts)||t.lineposition,v=wr.castOption(e.outsidetextfont.shadow,r.pts)||wr.castOption(e.textfont.shadow,r.pts)||t.shadow;return{color:a,family:n,size:i,weight:l,style:o,variant:s,textcase:u,lineposition:f,shadow:v}}function vz(e,r,t){var a=wr.castOption(e.insidetextfont.color,r.pts);!a&#038;&#038;e._input.textfont&#038;&#038;(a=wr.castOption(e._input.textfont.color,r.pts));var n=wr.castOption(e.insidetextfont.family,r.pts)||wr.castOption(e.textfont.family,r.pts)||t.family,i=wr.castOption(e.insidetextfont.size,r.pts)||wr.castOption(e.textfont.size,r.pts)||t.size,l=wr.castOption(e.insidetextfont.weight,r.pts)||wr.castOption(e.textfont.weight,r.pts)||t.weight,o=wr.castOption(e.insidetextfont.style,r.pts)||wr.castOption(e.textfont.style,r.pts)||t.style,s=wr.castOption(e.insidetextfont.variant,r.pts)||wr.castOption(e.textfont.variant,r.pts)||t.variant,u=wr.castOption(e.insidetextfont.textcase,r.pts)||wr.castOption(e.textfont.textcase,r.pts)||t.textcase,f=wr.castOption(e.insidetextfont.lineposition,r.pts)||wr.castOption(e.textfont.lineposition,r.pts)||t.lineposition,v=wr.castOption(e.insidetextfont.shadow,r.pts)||wr.castOption(e.textfont.shadow,r.pts)||t.shadow;return{color:a||sz.contrast(r.color),family:n,size:i,weight:l,style:o,variant:s,textcase:u,lineposition:f,shadow:v}}function hz(e,r){for(var t,a,n=0;n<e.length;n++)if(t=e[n][0],a=t.trace,a.title.text){var i=a.title.text;a._meta&#038;&#038;(i=Ta.templateString(i,a._meta));var l=ll.tester.append(\"text\").attr(\"data-notex\",1).text(i).call(ll.font,a.title.font).call(E3.convertToTspans,r),o=ll.bBox(l.node(),!0);t.titleBox={width:o.width,height:o.height},l.remove()}}function dz(e,r,t){var a=t.r||r.rpx1,n=r.rInscribed,i=r.startangle===r.stopangle;if(i)return{rCenter:1-n,scale:0,rotate:0,textPosAngle:0};var l=r.ring,o=l===1&#038;&#038;Math.abs(r.startangle-r.stopangle)===Math.PI*2,s=r.halfangle,u=r.midangle,f=t.trace.insidetextorientation,v=f===\"horizontal\",h=f===\"tangential\",d=f===\"radial\",m=f===\"auto\",y=[],g;if(!m){var _=function(q,D){if(Jne(r,q)){var P=Math.abs(q-r.startangle),z=Math.abs(q-r.stopangle),F=P<z?P:z;D===\"tan\"?g=lz(e,a,l,F,0):g=iz(e,a,l,F,Math.PI\/2),g.textPosAngle=q,y.push(g)}},T;if(v||h){for(T=4;T>=-4;T-=2)_(Math.PI*T,\"tan\");for(T=4;T>=-4;T-=2)_(Math.PI*(T+1),\"tan\")}if(v||d){for(T=4;T>=-4;T-=2)_(Math.PI*(T+1.5),\"rad\");for(T=4;T>=-4;T-=2)_(Math.PI*(T+.5),\"rad\")}}if(o||m||v){var w=Math.sqrt(e.width*e.width+e.height*e.height);if(g={scale:n*a*2\/w,rCenter:1-n,rotate:0},g.textPosAngle=(r.startangle+r.stopangle)\/2,g.scale>=1)return g;y.push(g)}(m||d)&&(g=iz(e,a,l,s,u),g.textPosAngle=(r.startangle+r.stopangle)\/2,y.push(g)),(m||h)&&(g=lz(e,a,l,s,u),g.textPosAngle=(r.startangle+r.stopangle)\/2,y.push(g));for(var b=0,M=0,S=0;S<y.length;S++){var k=y[S].scale;if(M<k&#038;&#038;(M=k,b=S),!m&#038;&#038;M>=1)break}return y[b]}function Jne(e,r){var t=e.startangle,a=e.stopangle;return t>r&&r>a||t<r&#038;&#038;r<a}function iz(e,r,t,a,n){r=Math.max(0,r-2*fz);var i=e.width\/e.height,l=yz(i,a,r,t);return{scale:l*2\/e.height,rCenter:pz(i,l\/r),rotate:mz(n)}}function lz(e,r,t,a,n){r=Math.max(0,r-2*fz);var i=e.height\/e.width,l=yz(i,a,r,t);return{scale:l*2\/e.width,rCenter:pz(i,l\/r),rotate:mz(n+Math.PI\/2)}}function pz(e,r){return Math.cos(r)-e*r}function mz(e){return(180\/Math.PI*e+720)%180-90}function yz(e,r,t,a){var n=e+1\/(2*Math.tan(r));return t*Math.min(1\/(Math.sqrt(n*n+.5)+n),a\/(Math.sqrt(e*e+a\/2)+e))}function Kne(e,r){return e.v===r.vTotal&#038;&#038;!r.trace.hole?1:Math.min(1\/(1+1\/Math.sin(e.halfangle)),e.ring\/2)}function oz(e,r){var t=r.pxmid[0],a=r.pxmid[1],n=e.width\/2,i=e.height\/2;return t<0&#038;&#038;(n*=-1),a<0&#038;&#038;(i*=-1),{scale:1,rCenter:1,rotate:0,x:n+Math.abs(i)*(n>0?1:-1)\/2,y:i\/(1+t*t\/(a*a)),outside:!0}}function Qne(e){var r=Math.sqrt(e.titleBox.width*e.titleBox.width+e.titleBox.height*e.titleBox.height);return{x:e.cx,y:e.cy,scale:e.trace.hole*e.r*2\/r,tx:0,ty:-e.titleBox.height\/2+e.trace.title.font.size}}function gz(e,r){var t=1,a=1,n,i=e.trace,l={x:e.cx,y:e.cy},o={tx:0,ty:0};o.ty+=i.title.font.size,n=bz(i),i.title.position.indexOf(\"top\")!==-1?(l.y-=(1+n)*e.r,o.ty-=e.titleBox.height):i.title.position.indexOf(\"bottom\")!==-1&&(l.y+=(1+n)*e.r);var s=$ne(e.r,e.trace.aspectratio),u=r.w*(i.domain.x[1]-i.domain.x[0])\/2;return i.title.position.indexOf(\"left\")!==-1?(u=u+s,l.x-=(1+n)*s,o.tx+=e.titleBox.width\/2):i.title.position.indexOf(\"center\")!==-1?u*=2:i.title.position.indexOf(\"right\")!==-1&&(u=u+s,l.x+=(1+n)*s,o.tx-=e.titleBox.width\/2),t=u\/e.titleBox.width,a=P3(e,r)\/e.titleBox.height,{x:l.x,y:l.y,scale:Math.min(t,a),tx:o.tx,ty:o.ty}}function $ne(e,r){return e\/(r===void 0?1:r)}function P3(e,r){var t=e.trace,a=r.h*(t.domain.y[1]-t.domain.y[0]);return Math.min(e.titleBox.height,a\/2)}function bz(e){var r=e.pull;if(!r)return 0;var t;if(Ta.isArrayOrTypedArray(r))for(r=0,t=0;t<e.pull.length;t++)e.pull[t]>r&&(r=e.pull[t]);return r}function jne(e,r){var t,a,n,i,l,o,s,u,f,v,h,d,m;function y(w,b){return w.pxmid[1]-b.pxmid[1]}function g(w,b){return b.pxmid[1]-w.pxmid[1]}function _(w,b){b||(b={});var M=b.labelExtraY+(a?b.yLabelMax:b.yLabelMin),S=a?w.yLabelMin:w.yLabelMax,k=a?w.yLabelMax:w.yLabelMin,q=w.cyFinal+l(w.px0[1],w.px1[1]),D=M-S,P,z,F,O,I,V;if(D*s>0&&(w.labelExtraY=D),!!Ta.isArrayOrTypedArray(r.pull))for(z=0;z<v.length;z++)F=v[z],!(F===w||(wr.castOption(r.pull,w.pts)||0)>=(wr.castOption(r.pull,F.pts)||0))&&((w.pxmid[1]-F.pxmid[1])*s>0?(O=F.cyFinal+l(F.px0[1],F.px1[1]),D=O-S-w.labelExtraY,D*s>0&&(w.labelExtraY+=D)):(k+w.labelExtraY-q)*s>0&&(P=3*o*Math.abs(z-v.indexOf(w)),I=F.cxFinal+i(F.px0[0],F.px1[0]),V=I+P-(w.cxFinal+w.pxmid[0])-w.labelExtraX,V*o>0&&(w.labelExtraX+=V)))}for(a=0;a<2;a++)for(n=a?y:g,l=a?Math.max:Math.min,s=a?1:-1,t=0;t<2;t++){for(i=t?Math.max:Math.min,o=t?1:-1,u=e[a][t],u.sort(n),f=e[1-a][t],v=f.concat(u),d=[],h=0;h<u.length;h++)u[h].yLabelMid!==void 0&#038;&#038;d.push(u[h]);for(m=!1,h=0;a&#038;&#038;h<f.length;h++)if(f[h].yLabelMid!==void 0){m=f[h];break}for(h=0;h<d.length;h++){var T=h&#038;&#038;d[h-1];m&#038;&#038;!h&#038;&#038;(T=m),_(d[h],T)}}}function xz(e,r){for(var t=[],a=0;a<e.length;a++){var n=e[a][0],i=n.trace,l=i.domain,o=r.w*(l.x[1]-l.x[0]),s=r.h*(l.y[1]-l.y[0]);i.title.text&#038;&#038;i.title.position!==\"middle center\"&#038;&#038;(s-=P3(n,r));var u=o\/2,f=s\/2;i.type===\"funnelarea\"&#038;&#038;!i.scalegroup&#038;&#038;(f\/=i.aspectratio),n.r=Math.min(u,f)\/(1+bz(i)),n.cx=r.l+r.w*(i.domain.x[1]+i.domain.x[0])\/2,n.cy=r.t+r.h*(1-i.domain.y[0])-s\/2,i.title.text&#038;&#038;i.title.position.indexOf(\"bottom\")!==-1&#038;&#038;(n.cy-=P3(n,r)),i.scalegroup&#038;&#038;t.indexOf(i.scalegroup)===-1&#038;&#038;t.push(i.scalegroup)}eie(e,t)}function eie(e,r){for(var t,a,n,i=0;i<r.length;i++){var l=1\/0,o=r[i];for(a=0;a<e.length;a++)if(t=e[a][0],n=t.trace,n.scalegroup===o){var s;if(n.type===\"pie\")s=t.r*t.r;else if(n.type===\"funnelarea\"){var u,f;n.aspectratio>1?(u=t.r,f=u\/n.aspectratio):(f=t.r,u=f*n.aspectratio),u*=(1+n.baseratio)\/2,s=u*f}l=Math.min(l,s\/t.vTotal)}for(a=0;a<e.length;a++)if(t=e[a][0],n=t.trace,n.scalegroup===o){var v=l*t.vTotal;n.type===\"funnelarea\"&#038;&#038;(v\/=(1+n.baseratio)\/2,v\/=n.aspectratio),t.r=Math.sqrt(v)}}}function rie(e){var r=e[0],t=r.r,a=r.trace,n=wr.getRotationAngle(a.rotation),i=2*Math.PI\/r.vTotal,l=\"px0\",o=\"px1\",s,u,f;if(a.direction===\"counterclockwise\"){for(s=0;s<e.length&#038;&#038;e[s].hidden;s++);if(s===e.length)return;n+=i*e[s].v,i*=-1,l=\"px1\",o=\"px0\"}for(f=h1(t,n),s=0;s<e.length;s++)u=e[s],!u.hidden&#038;&#038;(u[l]=f,u.startangle=n,n+=i*u.v\/2,u.pxmid=h1(t,n),u.midangle=n,n+=i*u.v\/2,f=h1(t,n),u.stopangle=n,u[o]=f,u.largeArc=u.v>r.vTotal\/2?1:0,u.halfangle=Math.PI*Math.min(u.v\/r.vTotal,.5),u.ring=1-a.hole,u.rInscribed=Kne(u,r))}function h1(e,r){return[e*Math.sin(r),-e*Math.cos(r)]}function _z(e,r,t){var a=e._fullLayout,n=t.trace,i=n.texttemplate,l=n.textinfo;if(!i&&l&&l!==\"none\"){var o=l.split(\"+\"),s=function(b){return o.indexOf(b)!==-1},u=s(\"label\"),f=s(\"text\"),v=s(\"value\"),h=s(\"percent\"),d=a.separators,m;if(m=u?[r.label]:[],f){var y=wr.getFirstFilled(n.text,r.pts);nz(y)&&m.push(y)}v&&m.push(wr.formatPieValue(r.v,d)),h&&m.push(wr.formatPiePercent(r.v\/t.vTotal,d)),r.text=m.join(\"<br>\")}function g(b){return{label:b.label,value:b.v,valueLabel:wr.formatPieValue(b.v,a.separators),percent:b.v\/t.vTotal,percentLabel:wr.formatPiePercent(b.v\/t.vTotal,a.separators),color:b.color,text:b.text,customdata:Ta.castOption(n,b.i,\"customdata\")}}if(i){var _=Ta.castOption(n,r.i,\"texttemplate\");if(!_)r.text=\"\";else{var T=g(r),w=wr.getFirstFilled(n.text,r.pts);(nz(w)||w===\"\")&&(T.text=w),r.text=Ta.texttemplateString({data:[T,n._meta],fallback:n.texttemplatefallback,labels:T,locale:e._fullLayout._d3locale,template:_})}}}function wz(e,r){var t=e.rotate*Math.PI\/180,a=Math.cos(t),n=Math.sin(t),i=(r.left+r.right)\/2,l=(r.top+r.bottom)\/2;e.textX=i*a-l*n,e.textY=i*n+l*a,e.noCenter=!0}Tz.exports={plot:Wne,formatSliceLabel:_z,transformInsideText:dz,determineInsideTextFont:vz,positionTitleOutside:gz,prerenderTitles:hz,layoutAreas:xz,attachFxHandlers:cz,computeTransform:wz}});var Cz=K((Zve,kz)=>{\"use strict\";var Az=zr(),tie=$0(),aie=Fc().resizeText;kz.exports=function(r){var t=r._fullLayout._pielayer.selectAll(\".trace\");aie(r,t,\"pie\"),t.each(function(a){var n=a[0],i=n.trace,l=Az.select(this);l.style({opacity:i.opacity}),l.selectAll(\"path.surface\").each(function(o){Az.select(this).call(tie,o,i,r)})})}});var Lz=K(Pu=>{\"use strict\";var Sz=It();Pu.name=\"pie\";Pu.plot=function(e,r,t,a){Sz.plotBasePlot(Pu.name,e,r,t,a)};Pu.clean=function(e,r,t,a){Sz.cleanBasePlot(Pu.name,e,r,t,a)}});var Dz=K((Kve,qz)=>{\"use strict\";qz.exports={attributes:S3(),supplyDefaults:ZR().supplyDefaults,supplyLayoutDefaults:QR(),layoutAttributes:L3(),calc:D3().calc,crossTraceCalc:D3().crossTraceCalc,plot:Mz().plot,style:Cz(),styleOne:$0(),moduleType:\"trace\",name:\"pie\",basePlotModule:Lz(),categories:[\"pie-like\",\"pie\",\"showLegend\"],meta:{}}});var Pz=K((Qve,Ez)=>{\"use strict\";Ez.exports=Dz()});var La=K(($ve,zz)=>{\"use strict\";var Rz=Object.getOwnPropertySymbols,nie=Object.prototype.hasOwnProperty,iie=Object.prototype.propertyIsEnumerable;function lie(e){if(e==null)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}function oie(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",Object.getOwnPropertyNames(e)[0]===\"5\")return!1;for(var r={},t=0;t<10;t++)r[\"_\"+String.fromCharCode(t)]=t;var a=Object.getOwnPropertyNames(r).map(function(i){return r[i]});if(a.join(\"\")!==\"0123456789\")return!1;var n={};return\"abcdefghijklmnopqrst\".split(\"\").forEach(function(i){n[i]=i}),Object.keys(Object.assign({},n)).join(\"\")===\"abcdefghijklmnopqrst\"}catch(i){return!1}}zz.exports=oie()?Object.assign:function(e,r){for(var t,a=lie(e),n,i=1;i<arguments.length;i++){t=Object(arguments[i]);for(var l in t)nie.call(t,l)&#038;&#038;(a[l]=t[l]);if(Rz){n=Rz(t);for(var o=0;o<n.length;o++)iie.call(t,n[o])&#038;&#038;(a[n[o]]=t[n[o]])}}return a}});var qa=K((jve,Fz)=>{var p1=La();function Nz(){this.regionalOptions=[],this.regionalOptions[\"\"]={invalidCalendar:\"Calendar {0} not found\",invalidDate:\"Invalid {0} date\",invalidMonth:\"Invalid {0} month\",invalidYear:\"Invalid {0} year\",differentCalendars:\"Cannot mix {0} and {1} dates\"},this.local=this.regionalOptions[\"\"],this.calendars={},this._localCals={}}p1(Nz.prototype,{instance:function(e,r){e=(e||\"gregorian\").toLowerCase(),r=r||\"\";var t=this._localCals[e+\"-\"+r];if(!t&&this.calendars[e]&&(t=new this.calendars[e](r),this._localCals[e+\"-\"+r]=t),!t)throw(this.local.invalidCalendar||this.regionalOptions[\"\"].invalidCalendar).replace(\/\\{0\\}\/,e);return t},newDate:function(e,r,t,a,n){return a=(e!=null&&e.year?e.calendar():typeof a==\"string\"?this.instance(a,n):a)||this.instance(),a.newDate(e,r,t)},substituteDigits:function(e){return function(r){return(r+\"\").replace(\/[0-9]\/g,function(t){return e[t]})}},substituteChineseDigits:function(e,r){return function(t){for(var a=\"\",n=0;t>0;){var i=t%10;a=(i===0?\"\":e[i]+r[n])+a,n++,t=Math.floor(t\/10)}return a.indexOf(e[1]+r[1])===0&&(a=a.substr(1)),a||e[0]}}});function R3(e,r,t,a){if(this._calendar=e,this._year=r,this._month=t,this._day=a,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate).replace(\/\\{0\\}\/,this._calendar.local.name)}function d1(e,r){return e=\"\"+e,\"000000\".substring(0,r-e.length)+e}p1(R3.prototype,{newDate:function(e,r,t){return this._calendar.newDate(e==null?this:e,r,t)},year:function(e){return arguments.length===0?this._year:this.set(e,\"y\")},month:function(e){return arguments.length===0?this._month:this.set(e,\"m\")},day:function(e){return arguments.length===0?this._day:this.set(e,\"d\")},date:function(e,r,t){if(!this._calendar.isValid(e,r,t))throw(Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate).replace(\/\\{0\\}\/,this._calendar.local.name);return this._year=e,this._month=r,this._day=t,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(e,r){return this._calendar.add(this,e,r)},set:function(e,r){return this._calendar.set(this,e,r)},compareTo:function(e){if(this._calendar.name!==e._calendar.name)throw(Pr.local.differentCalendars||Pr.regionalOptions[\"\"].differentCalendars).replace(\/\\{0\\}\/,this._calendar.local.name).replace(\/\\{1\\}\/,e._calendar.local.name);var r=this._year!==e._year?this._year-e._year:this._month!==e._month?this.monthOfYear()-e.monthOfYear():this._day-e._day;return r===0?0:r<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(e){return this._calendar.fromJD(e)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(e){return this._calendar.fromJSDate(e)},toString:function(){return(this.year()<0?\"-\":\"\")+d1(Math.abs(this.year()),4)+\"-\"+d1(this.month(),2)+\"-\"+d1(this.day(),2)}});function z3(){this.shortYearCutoff=\"+10\"}p1(z3.prototype,{_validateLevel:0,newDate:function(e,r,t){return e==null?this.today():(e.year&#038;&#038;(this._validate(e,r,t,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate),t=e.day(),r=e.month(),e=e.year()),new R3(this,e,r,t))},today:function(){return this.fromJSDate(new Date)},epoch:function(e){var r=this._validate(e,this.minMonth,this.minDay,Pr.local.invalidYear||Pr.regionalOptions[\"\"].invalidYear);return r.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,Pr.local.invalidYear||Pr.regionalOptions[\"\"].invalidYear);return(r.year()<0?\"-\":\"\")+d1(Math.abs(r.year()),4)},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,Pr.local.invalidYear||Pr.regionalOptions[\"\"].invalidYear),12},monthOfYear:function(e,r){var t=this._validate(e,r,this.minDay,Pr.local.invalidMonth||Pr.regionalOptions[\"\"].invalidMonth);return(t.month()+this.monthsInYear(t)-this.firstMonth)%this.monthsInYear(t)+this.minMonth},fromMonthOfYear:function(e,r){var t=(r+this.firstMonth-2*this.minMonth)%this.monthsInYear(e)+this.minMonth;return this._validate(e,t,this.minDay,Pr.local.invalidMonth||Pr.regionalOptions[\"\"].invalidMonth),t},daysInYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,Pr.local.invalidYear||Pr.regionalOptions[\"\"].invalidYear);return this.leapYear(r)?366:365},dayOfYear:function(e,r,t){var a=this._validate(e,r,t,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate);return a.toJD()-this.newDate(a.year(),this.fromMonthOfYear(a.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(e,r,t){var a=this._validate(e,r,t,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate);return(Math.floor(this.toJD(a))+2)%this.daysInWeek()},extraInfo:function(e,r,t){return this._validate(e,r,t,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate),{}},add:function(e,r,t){return this._validate(e,this.minMonth,this.minDay,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate),this._correctAdd(e,this._add(e,r,t),r,t)},_add:function(e,r,t){if(this._validateLevel++,t===\"d\"||t===\"w\"){var a=e.toJD()+r*(t===\"w\"?this.daysInWeek():1),n=e.calendar().fromJD(a);return this._validateLevel--,[n.year(),n.month(),n.day()]}try{var i=e.year()+(t===\"y\"?r:0),l=e.monthOfYear()+(t===\"m\"?r:0),n=e.day(),o=function(f){for(;l<f.minMonth;)i--,l+=f.monthsInYear(i);for(var v=f.monthsInYear(i);l>v-1+f.minMonth;)i++,l-=v,v=f.monthsInYear(i)};t===\"y\"?(e.month()!==this.fromMonthOfYear(i,l)&&(l=this.newDate(i,e.month(),this.minDay).monthOfYear()),l=Math.min(l,this.monthsInYear(i)),n=Math.min(n,this.daysInMonth(i,this.fromMonthOfYear(i,l)))):t===\"m\"&&(o(this),n=Math.min(n,this.daysInMonth(i,this.fromMonthOfYear(i,l))));var s=[i,this.fromMonthOfYear(i,l),n];return this._validateLevel--,s}catch(u){throw this._validateLevel--,u}},_correctAdd:function(e,r,t,a){if(!this.hasYearZero&&(a===\"y\"||a===\"m\")&&(r[0]===0||e.year()>0!=r[0]>0)){var n={y:[1,1,\"y\"],m:[1,this.monthsInYear(-1),\"m\"],w:[this.daysInWeek(),this.daysInYear(-1),\"d\"],d:[1,this.daysInYear(-1),\"d\"]}[a],i=t<0?-1:1;r=this._add(e,t*n[0]+i*n[1],n[2])}return e.date(r[0],r[1],r[2])},set:function(e,r,t){this._validate(e,this.minMonth,this.minDay,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate);var a=t===\"y\"?r:e.year(),n=t===\"m\"?r:e.month(),i=t===\"d\"?r:e.day();return(t===\"y\"||t===\"m\")&#038;&#038;(i=Math.min(i,this.daysInMonth(a,n))),e.date(a,n,i)},isValid:function(e,r,t){this._validateLevel++;var a=this.hasYearZero||e!==0;if(a){var n=this.newDate(e,r,this.minDay);a=r>=this.minMonth&&r-this.minMonth<this.monthsInYear(n)&#038;&#038;t>=this.minDay&&t-this.minDay<this.daysInMonth(n)}return this._validateLevel--,a},toJSDate:function(e,r,t){var a=this._validate(e,r,t,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate);return Pr.instance().fromJD(this.toJD(a)).toJSDate()},fromJSDate:function(e){return this.fromJD(Pr.instance().fromJSDate(e).toJD())},_validate:function(e,r,t,a){if(e.year){if(this._validateLevel===0&#038;&#038;this.name!==e.calendar().name)throw(Pr.local.differentCalendars||Pr.regionalOptions[\"\"].differentCalendars).replace(\/\\{0\\}\/,this.local.name).replace(\/\\{1\\}\/,e.calendar().local.name);return e}try{if(this._validateLevel++,this._validateLevel===1&#038;&#038;!this.isValid(e,r,t))throw a.replace(\/\\{0\\}\/,this.local.name);var n=this.newDate(e,r,t);return this._validateLevel--,n}catch(i){throw this._validateLevel--,i}}});function N3(e){this.local=this.regionalOptions[e]||this.regionalOptions[\"\"]}N3.prototype=new z3;p1(N3.prototype,{name:\"Gregorian\",jdEpoch:17214255e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Gregorian\",epochs:[\"BCE\",\"CE\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"mm\/dd\/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(t){var r=this._validate(t,this.minMonth,this.minDay,Pr.local.invalidYear||Pr.regionalOptions[\"\"].invalidYear),t=r.year()+(r.year()<0?1:0);return t%4===0&#038;&#038;(t%100!==0||t%400===0)},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(4-(a.dayOfWeek()||7),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,Pr.local.invalidMonth||Pr.regionalOptions[\"\"].invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===2&#038;&#038;this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return(this.dayOfWeek(e,r,t)||7)<6},toJD:function(e,r,t){var a=this._validate(e,r,t,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate);e=a.year(),r=a.month(),t=a.day(),e<0&#038;&#038;e++,r<3&#038;&#038;(r+=12,e--);var n=Math.floor(e\/100),i=2-n+Math.floor(n\/4);return Math.floor(365.25*(e+4716))+Math.floor(30.6001*(r+1))+t+i-1524.5},fromJD:function(e){var r=Math.floor(e+.5),t=Math.floor((r-186721625e-2)\/36524.25);t=r+1+t-Math.floor(t\/4);var a=t+1524,n=Math.floor((a-122.1)\/365.25),i=Math.floor(365.25*n),l=Math.floor((a-i)\/30.6001),o=a-i-Math.floor(l*30.6001),s=l-(l>13.5?13:1),u=n-(s>2.5?4716:4715);return u<=0&#038;&#038;u--,this.newDate(u,s,o)},toJSDate:function(e,r,t){var a=this._validate(e,r,t,Pr.local.invalidDate||Pr.regionalOptions[\"\"].invalidDate),n=new Date(a.year(),a.month()-1,a.day());return n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0),n.setHours(n.getHours()>12?n.getHours()+2:0),n},fromJSDate:function(e){return this.newDate(e.getFullYear(),e.getMonth()+1,e.getDate())}});var Pr=Fz.exports=new Nz;Pr.cdate=R3;Pr.baseCalendar=z3;Pr.calendars.gregorian=N3});var Iz=K(()=>{var F3=La(),va=qa();F3(va.regionalOptions[\"\"],{invalidArguments:\"Invalid arguments\",invalidFormat:\"Cannot format a date from another calendar\",missingNumberAt:\"Missing number at position {0}\",unknownNameAt:\"Unknown name at position {0}\",unexpectedLiteralAt:\"Unexpected literal at position {0}\",unexpectedText:\"Additional text found at end\"});va.local=va.regionalOptions[\"\"];F3(va.cdate.prototype,{formatDate:function(e,r){return typeof e!=\"string\"&&(r=e,e=\"\"),this._calendar.formatDate(e||\"\",this,r)}});F3(va.baseCalendar.prototype,{UNIX_EPOCH:va.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:1440*60,TICKS_EPOCH:va.instance().jdEpoch,TICKS_PER_DAY:1440*60*1e7,ATOM:\"yyyy-mm-dd\",COOKIE:\"D, dd M yyyy\",FULL:\"DD, MM d, yyyy\",ISO_8601:\"yyyy-mm-dd\",JULIAN:\"J\",RFC_822:\"D, d M yy\",RFC_850:\"DD, dd-M-yy\",RFC_1036:\"D, d M yy\",RFC_1123:\"D, d M yyyy\",RFC_2822:\"D, d M yyyy\",RSS:\"D, d M yy\",TICKS:\"!\",TIMESTAMP:\"@\",W3C:\"yyyy-mm-dd\",formatDate:function(e,r,t){if(typeof e!=\"string\"&&(t=r,r=e,e=\"\"),!r)return\"\";if(r.calendar()!==this)throw va.local.invalidFormat||va.regionalOptions[\"\"].invalidFormat;e=e||this.local.dateFormat,t=t||{};for(var a=t.dayNamesShort||this.local.dayNamesShort,n=t.dayNames||this.local.dayNames,i=t.monthNumbers||this.local.monthNumbers,l=t.monthNamesShort||this.local.monthNamesShort,o=t.monthNames||this.local.monthNames,s=t.calculateWeek||this.local.calculateWeek,u=function(b,M){for(var S=1;w+S<e.length&#038;&#038;e.charAt(w+S)===b;)S++;return w+=S-1,Math.floor(S\/(M||1))>1},f=function(b,M,S,k){var q=\"\"+M;if(u(b,k))for(;q.length<S;)q=\"0\"+q;return q},v=function(b,M,S,k){return u(b)?k[M]:S[M]},h=this,d=function(b){return typeof i==\"function\"?i.call(h,b,u(\"m\")):g(f(\"m\",b.month(),2))},m=function(b,M){return M?typeof o==\"function\"?o.call(h,b):o[b.month()-h.minMonth]:typeof l==\"function\"?l.call(h,b):l[b.month()-h.minMonth]},y=this.local.digits,g=function(b){return t.localNumbers&#038;&#038;y?y(b):b},_=\"\",T=!1,w=0;w<e.length;w++)if(T)e.charAt(w)===\"'\"&#038;&#038;!u(\"'\")?T=!1:_+=e.charAt(w);else switch(e.charAt(w)){case\"d\":_+=g(f(\"d\",r.day(),2));break;case\"D\":_+=v(\"D\",r.dayOfWeek(),a,n);break;case\"o\":_+=f(\"o\",r.dayOfYear(),3);break;case\"w\":_+=f(\"w\",r.weekOfYear(),2);break;case\"m\":_+=d(r);break;case\"M\":_+=m(r,u(\"M\"));break;case\"y\":_+=u(\"y\",2)?r.year():(r.year()%100<10?\"0\":\"\")+r.year()%100;break;case\"Y\":u(\"Y\",2),_+=r.formatYear();break;case\"J\":_+=r.toJD();break;case\"@\":_+=(r.toJD()-this.UNIX_EPOCH)*this.SECS_PER_DAY;break;case\"!\":_+=(r.toJD()-this.TICKS_EPOCH)*this.TICKS_PER_DAY;break;case\"'\":u(\"'\")?_+=\"'\":T=!0;break;default:_+=e.charAt(w)}return _},parseDate:function(e,r,t){if(r==null)throw va.local.invalidArguments||va.regionalOptions[\"\"].invalidArguments;if(r=typeof r==\"object\"?r.toString():r+\"\",r===\"\")return null;e=e||this.local.dateFormat,t=t||{};var a=t.shortYearCutoff||this.shortYearCutoff;a=typeof a!=\"string\"?a:this.today().year()%100+parseInt(a,10);for(var n=t.dayNamesShort||this.local.dayNamesShort,i=t.dayNames||this.local.dayNames,l=t.parseMonth||this.local.parseMonth,o=t.monthNumbers||this.local.monthNumbers,s=t.monthNamesShort||this.local.monthNamesShort,u=t.monthNames||this.local.monthNames,f=-1,v=-1,h=-1,d=-1,m=-1,y=!1,g=!1,_=function(F,O){for(var I=1;D+I<e.length&#038;&#038;e.charAt(D+I)===F;)I++;return D+=I-1,Math.floor(I\/(O||1))>1},T=function(F,O){var I=_(F,O),V=[2,3,I?4:2,I?4:2,10,11,20][\"oyYJ@!\".indexOf(F)+1],J=new RegExp(\"^-?\\\\d{1,\"+V+\"}\"),G=r.substring(q).match(J);if(!G)throw(va.local.missingNumberAt||va.regionalOptions[\"\"].missingNumberAt).replace(\/\\{0\\}\/,q);return q+=G[0].length,parseInt(G[0],10)},w=this,b=function(){if(typeof o==\"function\"){_(\"m\");var F=o.call(w,r.substring(q));return q+=F.length,F}return T(\"m\")},M=function(F,O,I,V){for(var J=_(F,V)?I:O,G=0;G<J.length;G++)if(r.substr(q,J[G].length).toLowerCase()===J[G].toLowerCase())return q+=J[G].length,G+w.minMonth;throw(va.local.unknownNameAt||va.regionalOptions[\"\"].unknownNameAt).replace(\/\\{0\\}\/,q)},S=function(){if(typeof u==\"function\"){var F=_(\"M\")?u.call(w,r.substring(q)):s.call(w,r.substring(q));return q+=F.length,F}return M(\"M\",s,u)},k=function(){if(r.charAt(q)!==e.charAt(D))throw(va.local.unexpectedLiteralAt||va.regionalOptions[\"\"].unexpectedLiteralAt).replace(\/\\{0\\}\/,q);q++},q=0,D=0;D<e.length;D++)if(g)e.charAt(D)===\"'\"&#038;&#038;!_(\"'\")?g=!1:k();else switch(e.charAt(D)){case\"d\":d=T(\"d\");break;case\"D\":M(\"D\",n,i);break;case\"o\":m=T(\"o\");break;case\"w\":T(\"w\");break;case\"m\":h=b();break;case\"M\":h=S();break;case\"y\":var P=D;y=!_(\"y\",2),D=P,v=T(\"y\",2);break;case\"Y\":v=T(\"Y\",2);break;case\"J\":f=T(\"J\")+.5,r.charAt(q)===\".\"&#038;&#038;(q++,T(\"J\"));break;case\"@\":f=T(\"@\")\/this.SECS_PER_DAY+this.UNIX_EPOCH;break;case\"!\":f=T(\"!\")\/this.TICKS_PER_DAY+this.TICKS_EPOCH;break;case\"*\":q=r.length;break;case\"'\":_(\"'\")?k():g=!0;break;default:k()}if(q<r.length)throw va.local.unexpectedText||va.regionalOptions[\"\"].unexpectedText;if(v===-1?v=this.today().year():v<100&#038;&#038;y&#038;&#038;(v+=a===-1?1900:this.today().year()-this.today().year()%100-(v<=a?0:100)),typeof h==\"string\"&#038;&#038;(h=l.call(this,v,h)),m>-1){h=1,d=m;for(var z=this.daysInMonth(v,h);d>z;z=this.daysInMonth(v,h))h++,d-=z}return f>-1?this.fromJD(f):this.newDate(v,h,d)},determineDate:function(e,r,t,a,n){t&&typeof t!=\"object\"&&(n=a,a=t,t=null),typeof a!=\"string\"&&(n=a,a=\"\");var i=this,l=function(o){try{return i.parseDate(a,o,n)}catch(v){}o=o.toLowerCase();for(var s=(o.match(\/^c\/)&&t?t.newDate():null)||i.today(),u=\/([+-]?[0-9]+)\\s*(d|w|m|y)?\/g,f=u.exec(o);f;)s.add(parseInt(f[1],10),f[2]||\"d\"),f=u.exec(o);return s};return r=r?r.newDate():null,e=e==null?r:typeof e==\"string\"?l(e):typeof e==\"number\"?isNaN(e)||e===1\/0||e===-1\/0?r:i.today().add(e,\"d\"):i.newDate(e),e}})});var Hz=K(()=>{var Xl=qa(),sie=La(),I3=Xl.instance();function m1(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}m1.prototype=new Xl.baseCalendar;sie(m1.prototype,{name:\"Chinese\",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{\"\":{name:\"Chinese\",epochs:[\"BEC\",\"EC\"],monthNumbers:function(e,r){if(typeof e==\"string\"){var t=e.match(fie);return t?t[0]:\"\"}var a=this._validateYear(e),n=e.month(),i=\"\"+this.toChineseMonth(a,n);return r&&i.length<2&#038;&#038;(i=\"0\"+i),this.isIntercalaryMonth(a,n)&#038;&#038;(i+=\"i\"),i},monthNames:function(e){if(typeof e==\"string\"){var r=e.match(cie);return r?r[0]:\"\"}var t=this._validateYear(e),a=e.month(),n=this.toChineseMonth(t,a),i=[\"\\u4E00\\u6708\",\"\\u4E8C\\u6708\",\"\\u4E09\\u6708\",\"\\u56DB\\u6708\",\"\\u4E94\\u6708\",\"\\u516D\\u6708\",\"\\u4E03\\u6708\",\"\\u516B\\u6708\",\"\\u4E5D\\u6708\",\"\\u5341\\u6708\",\"\\u5341\\u4E00\\u6708\",\"\\u5341\\u4E8C\\u6708\"][n-1];return this.isIntercalaryMonth(t,a)&#038;&#038;(i=\"\\u95F0\"+i),i},monthNamesShort:function(e){if(typeof e==\"string\"){var r=e.match(vie);return r?r[0]:\"\"}var t=this._validateYear(e),a=e.month(),n=this.toChineseMonth(t,a),i=[\"\\u4E00\",\"\\u4E8C\",\"\\u4E09\",\"\\u56DB\",\"\\u4E94\",\"\\u516D\",\"\\u4E03\",\"\\u516B\",\"\\u4E5D\",\"\\u5341\",\"\\u5341\\u4E00\",\"\\u5341\\u4E8C\"][n-1];return this.isIntercalaryMonth(t,a)&#038;&#038;(i=\"\\u95F0\"+i),i},parseMonth:function(e,r){e=this._validateYear(e);var t=parseInt(r),a;if(isNaN(t))r[0]===\"\\u95F0\"&#038;&#038;(a=!0,r=r.substring(1)),r[r.length-1]===\"\\u6708\"&#038;&#038;(r=r.substring(0,r.length-1)),t=1+[\"\\u4E00\",\"\\u4E8C\",\"\\u4E09\",\"\\u56DB\",\"\\u4E94\",\"\\u516D\",\"\\u4E03\",\"\\u516B\",\"\\u4E5D\",\"\\u5341\",\"\\u5341\\u4E00\",\"\\u5341\\u4E8C\"].indexOf(r);else{var n=r[r.length-1];a=n===\"i\"||n===\"I\"}var i=this.toMonthIndex(e,t,a);return i},dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy\/mm\/dd\",firstDay:1,isRTL:!1}},_validateYear:function(e,r){if(e.year&#038;&#038;(e=e.year()),typeof e!=\"number\"||e<1888||e>2111)throw r.replace(\/\\{0\\}\/,this.local.name);return e},toMonthIndex:function(e,r,t){var a=this.intercalaryMonth(e),n=t&&r!==a;if(n||r<1||r>12)throw Xl.local.invalidMonth.replace(\/\\{0\\}\/,this.local.name);var i;return a?!t&&r<=a?i=r-1:i=r:i=r-1,i},toChineseMonth:function(e,r){e.year&#038;&#038;(e=e.year(),r=e.month());var t=this.intercalaryMonth(e),a=t?12:11;if(r<0||r>a)throw Xl.local.invalidMonth.replace(\/\\{0\\}\/,this.local.name);var n;return t?r<t?n=r+1:n=r:n=r+1,n},intercalaryMonth:function(e){e=this._validateYear(e);var r=Zl[e-Zl[0]],t=r>>13;return t},isIntercalaryMonth:function(e,r){e.year&&(e=e.year(),r=e.month());var t=this.intercalaryMonth(e);return!!t&&t===r},leapYear:function(e){return this.intercalaryMonth(e)!==0},weekOfYear:function(e,r,t){var a=this._validateYear(e,Xl.local.invalidyear),n=Jl[a-Jl[0]],i=n>>9&4095,l=n>>5&15,o=n&31,s;s=I3.newDate(i,l,o),s.add(4-(s.dayOfWeek()||7),\"d\");var u=this.toJD(e,r,t)-s.toJD();return 1+Math.floor(u\/7)},monthsInYear:function(e){return this.leapYear(e)?13:12},daysInMonth:function(e,r){e.year&&(r=e.month(),e=e.year()),e=this._validateYear(e);var t=Zl[e-Zl[0]],a=t>>13,n=a?12:11;if(r>n)throw Xl.local.invalidMonth.replace(\/\\{0\\}\/,this.local.name);var i=t&1<<12-r?30:29;return i},weekDay:function(e,r,t){return(this.dayOfWeek(e,r,t)||7)<6},toJD:function(e,r,t){var a=this._validate(e,i,t,Xl.local.invalidDate);e=this._validateYear(a.year()),r=a.month(),t=a.day();var n=this.isIntercalaryMonth(e,r),i=this.toChineseMonth(e,r),l=die(e,i,t,n);return I3.toJD(l.year,l.month,l.day)},fromJD:function(e){var r=I3.fromJD(e),t=hie(r.year(),r.month(),r.day()),a=this.toMonthIndex(t.year,t.month,t.isIntercalary);return this.newDate(t.year,a,t.day)},fromString:function(e){var r=e.match(uie),t=this._validateYear(+r[1]),a=+r[2],n=!!r[3],i=this.toMonthIndex(t,a,n),l=+r[4];return this.newDate(t,i,l)},add:function(e,r,t){var a=e.year(),n=e.month(),i=this.isIntercalaryMonth(a,n),l=this.toChineseMonth(a,n),o=Object.getPrototypeOf(m1.prototype).add.call(this,e,r,t);if(t===\"y\"){var s=o.year(),u=o.month(),f=this.isIntercalaryMonth(s,l),v=i&#038;&#038;f?this.toMonthIndex(s,l,!0):this.toMonthIndex(s,l,!1);v!==u&#038;&#038;o.month(v)}return o}});var uie=\/^\\s*(-?\\d\\d\\d\\d|\\d\\d)[-\/](\\d?\\d)([iI]?)[-\/](\\d?\\d)\/m,fie=\/^\\d?\\d[iI]?\/m,cie=\/^\u95f0?\u5341?[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]?\u6708\/m,vie=\/^\u95f0?\u5341?[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]?\/m;Xl.calendars.chinese=m1;var Zl=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],Jl=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function hie(e,r,t,a){var n,i;if(typeof e==\"object\")n=e,i=r||{};else{var l=typeof e==\"number\"&#038;&#038;e>=1888&&e<=2111;if(!l)throw new Error(\"Solar year outside range 1888-2111\");var o=typeof r==\"number\"&#038;&#038;r>=1&&r<=12;if(!o)throw new Error(\"Solar month outside range 1 - 12\");var s=typeof t==\"number\"&#038;&#038;t>=1&&t<=31;if(!s)throw new Error(\"Solar day outside range 1 - 31\");n={year:e,month:r,day:t},i=a||{}}var u=Jl[n.year-Jl[0]],f=n.year<<9|n.month<<5|n.day;i.year=f>=u?n.year:n.year-1,u=Jl[i.year-Jl[0]];var v=u>>9&4095,h=u>>5&15,d=u&31,m,y=new Date(v,h-1,d),g=new Date(n.year,n.month-1,n.day);m=Math.round((g-y)\/(24*3600*1e3));var _=Zl[i.year-Zl[0]],T;for(T=0;T<13;T++){var w=_&#038;1<<12-T?30:29;if(m<w)break;m-=w}var b=_>>13;return!b||T<b?(i.isIntercalary=!1,i.month=1+T):T===b?(i.isIntercalary=!0,i.month=T):(i.isIntercalary=!1,i.month=T),i.day=1+m,i}function die(e,r,t,a,n){var i,l;if(typeof e==\"object\")l=e,i=r||{};else{var o=typeof e==\"number\"&#038;&#038;e>=1888&&e<=2111;if(!o)throw new Error(\"Lunar year outside range 1888-2111\");var s=typeof r==\"number\"&#038;&#038;r>=1&&r<=12;if(!s)throw new Error(\"Lunar month outside range 1 - 12\");var u=typeof t==\"number\"&#038;&#038;t>=1&&t<=30;if(!u)throw new Error(\"Lunar day outside range 1 - 30\");var f;typeof a==\"object\"?(f=!1,i=a):(f=!!a,i=n||{}),l={year:e,month:r,day:t,isIntercalary:f}}var v;v=l.day-1;var h=Zl[l.year-Zl[0]],d=h>>13,m;d&&(l.month>d||l.isIntercalary)?m=l.month:m=l.month-1;for(var y=0;y<m;y++){var g=h&#038;1<<12-y?30:29;v+=g}var _=Jl[l.year-Jl[0]],T=_>>9&4095,w=_>>5&15,b=_&31,M=new Date(T,w-1,b+v);return i.year=M.getFullYear(),i.month=1+M.getMonth(),i.day=M.getDate(),i}});var Oz=K(()=>{var ns=qa(),pie=La();function H3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}H3.prototype=new ns.baseCalendar;pie(H3.prototype,{name:\"Coptic\",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Coptic\",epochs:[\"BAM\",\"AM\"],monthNames:[\"Thout\",\"Paopi\",\"Hathor\",\"Koiak\",\"Tobi\",\"Meshir\",\"Paremhat\",\"Paremoude\",\"Pashons\",\"Paoni\",\"Epip\",\"Mesori\",\"Pi Kogi Enavot\"],monthNamesShort:[\"Tho\",\"Pao\",\"Hath\",\"Koi\",\"Tob\",\"Mesh\",\"Pat\",\"Pad\",\"Pash\",\"Pao\",\"Epi\",\"Meso\",\"PiK\"],dayNames:[\"Tkyriaka\",\"Pesnau\",\"Pshoment\",\"Peftoou\",\"Ptiou\",\"Psoou\",\"Psabbaton\"],dayNamesShort:[\"Tky\",\"Pes\",\"Psh\",\"Pef\",\"Pti\",\"Pso\",\"Psa\"],dayNamesMin:[\"Tk\",\"Pes\",\"Psh\",\"Pef\",\"Pt\",\"Pso\",\"Psa\"],digits:null,dateFormat:\"dd\/mm\/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(t){var r=this._validate(t,this.minMonth,this.minDay,ns.local.invalidYear),t=r.year()+(r.year()<0?1:0);return t%4===3||t%4===-1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,ns.local.invalidYear||ns.regionalOptions[\"\"].invalidYear),13},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(-a.dayOfWeek(),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,ns.local.invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===13&#038;&#038;this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return(this.dayOfWeek(e,r,t)||7)<6},toJD:function(e,r,t){var a=this._validate(e,r,t,ns.local.invalidDate);return e=a.year(),e<0&#038;&#038;e++,a.day()+(a.month()-1)*30+(e-1)*365+Math.floor(e\/4)+this.jdEpoch-1},fromJD:function(e){var r=Math.floor(e)+.5-this.jdEpoch,t=Math.floor((r-Math.floor((r+366)\/1461))\/365)+1;t<=0&#038;&#038;t--,r=Math.floor(e)+.5-this.newDate(t,1,1).toJD();var a=Math.floor(r\/30)+1,n=r-(a-1)*30+1;return this.newDate(t,a,n)}});ns.calendars.coptic=H3});var Bz=K(()=>{var ol=qa(),mie=La();function O3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}O3.prototype=new ol.baseCalendar;mie(O3.prototype,{name:\"Discworld\",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Discworld\",epochs:[\"BUC\",\"UC\"],monthNames:[\"Ick\",\"Offle\",\"February\",\"March\",\"April\",\"May\",\"June\",\"Grune\",\"August\",\"Spune\",\"Sektober\",\"Ember\",\"December\"],monthNamesShort:[\"Ick\",\"Off\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Gru\",\"Aug\",\"Spu\",\"Sek\",\"Emb\",\"Dec\"],dayNames:[\"Sunday\",\"Octeday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Oct\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Oc\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy\/mm\/dd\",firstDay:2,isRTL:!1}},leapYear:function(e){return this._validate(e,this.minMonth,this.minDay,ol.local.invalidYear),!1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,ol.local.invalidYear),13},daysInYear:function(e){return this._validate(e,this.minMonth,this.minDay,ol.local.invalidYear),400},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(-a.dayOfWeek(),\"d\"),Math.floor((a.dayOfYear()-1)\/8)+1},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,ol.local.invalidMonth);return this.daysPerMonth[t.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(e,r,t){var a=this._validate(e,r,t,ol.local.invalidDate);return(a.day()+1)%8},weekDay:function(e,r,t){var a=this.dayOfWeek(e,r,t);return a>=2&&a<=6},extraInfo:function(e,r,t){var a=this._validate(e,r,t,ol.local.invalidDate);return{century:yie[Math.floor((a.year()-1)\/100)+1]||\"\"}},toJD:function(e,r,t){var a=this._validate(e,r,t,ol.local.invalidDate);return e=a.year()+(a.year()<0?1:0),r=a.month(),t=a.day(),t+(r>1?16:0)+(r>2?(r-2)*32:0)+(e-1)*400+this.jdEpoch-1},fromJD:function(e){e=Math.floor(e+.5)-Math.floor(this.jdEpoch)-1;var r=Math.floor(e\/400)+1;e-=(r-1)*400,e+=e>15?16:0;var t=Math.floor(e\/32)+1,a=e-(t-1)*32+1;return this.newDate(r<=0?r-1:r,t,a)}});var yie={20:\"Fruitbat\",21:\"Anchovy\"};ol.calendars.discworld=O3});var Yz=K(()=>{var is=qa(),gie=La();function B3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}B3.prototype=new is.baseCalendar;gie(B3.prototype,{name:\"Ethiopian\",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Ethiopian\",epochs:[\"BEE\",\"EE\"],monthNames:[\"Meskerem\",\"Tikemet\",\"Hidar\",\"Tahesas\",\"Tir\",\"Yekatit\",\"Megabit\",\"Miazia\",\"Genbot\",\"Sene\",\"Hamle\",\"Nehase\",\"Pagume\"],monthNamesShort:[\"Mes\",\"Tik\",\"Hid\",\"Tah\",\"Tir\",\"Yek\",\"Meg\",\"Mia\",\"Gen\",\"Sen\",\"Ham\",\"Neh\",\"Pag\"],dayNames:[\"Ehud\",\"Segno\",\"Maksegno\",\"Irob\",\"Hamus\",\"Arb\",\"Kidame\"],dayNamesShort:[\"Ehu\",\"Seg\",\"Mak\",\"Iro\",\"Ham\",\"Arb\",\"Kid\"],dayNamesMin:[\"Eh\",\"Se\",\"Ma\",\"Ir\",\"Ha\",\"Ar\",\"Ki\"],digits:null,dateFormat:\"dd\/mm\/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(t){var r=this._validate(t,this.minMonth,this.minDay,is.local.invalidYear),t=r.year()+(r.year()<0?1:0);return t%4===3||t%4===-1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,is.local.invalidYear||is.regionalOptions[\"\"].invalidYear),13},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(-a.dayOfWeek(),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,is.local.invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===13&#038;&#038;this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return(this.dayOfWeek(e,r,t)||7)<6},toJD:function(e,r,t){var a=this._validate(e,r,t,is.local.invalidDate);return e=a.year(),e<0&#038;&#038;e++,a.day()+(a.month()-1)*30+(e-1)*365+Math.floor(e\/4)+this.jdEpoch-1},fromJD:function(e){var r=Math.floor(e)+.5-this.jdEpoch,t=Math.floor((r-Math.floor((r+366)\/1461))\/365)+1;t<=0&#038;&#038;t--,r=Math.floor(e)+.5-this.newDate(t,1,1).toJD();var a=Math.floor(r\/30)+1,n=r-(a-1)*30+1;return this.newDate(t,a,n)}});is.calendars.ethiopian=B3});var Uz=K(()=>{var Kl=qa(),bie=La();function Y3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}Y3.prototype=new Kl.baseCalendar;bie(Y3.prototype,{name:\"Hebrew\",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{\"\":{name:\"Hebrew\",epochs:[\"BAM\",\"AM\"],monthNames:[\"Nisan\",\"Iyar\",\"Sivan\",\"Tammuz\",\"Av\",\"Elul\",\"Tishrei\",\"Cheshvan\",\"Kislev\",\"Tevet\",\"Shevat\",\"Adar\",\"Adar II\"],monthNamesShort:[\"Nis\",\"Iya\",\"Siv\",\"Tam\",\"Av\",\"Elu\",\"Tis\",\"Che\",\"Kis\",\"Tev\",\"She\",\"Ada\",\"Ad2\"],dayNames:[\"Yom Rishon\",\"Yom Sheni\",\"Yom Shlishi\",\"Yom Revi'i\",\"Yom Chamishi\",\"Yom Shishi\",\"Yom Shabbat\"],dayNamesShort:[\"Ris\",\"She\",\"Shl\",\"Rev\",\"Cha\",\"Shi\",\"Sha\"],dayNamesMin:[\"Ri\",\"She\",\"Shl\",\"Re\",\"Ch\",\"Shi\",\"Sha\"],digits:null,dateFormat:\"dd\/mm\/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,Kl.local.invalidYear);return this._leapYear(r.year())},_leapYear:function(e){return e=e<0?e+1:e,y1(e*7+1,19)<7},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,Kl.local.invalidYear),this._leapYear(e.year?e.year():e)?13:12},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(-a.dayOfWeek(),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,Kl.local.invalidYear);return e=r.year(),this.toJD(e===-1?1:e+1,7,1)-this.toJD(e,7,1)},daysInMonth:function(e,r){return e.year&#038;&#038;(r=e.month(),e=e.year()),this._validate(e,r,this.minDay,Kl.local.invalidMonth),r===12&#038;&#038;this.leapYear(e)||r===8&#038;&#038;y1(this.daysInYear(e),10)===5?30:r===9&#038;&#038;y1(this.daysInYear(e),10)===3?29:this.daysPerMonth[r-1]},weekDay:function(e,r,t){return this.dayOfWeek(e,r,t)!==6},extraInfo:function(e,r,t){var a=this._validate(e,r,t,Kl.local.invalidDate);return{yearType:(this.leapYear(a)?\"embolismic\":\"common\")+\" \"+[\"deficient\",\"regular\",\"complete\"][this.daysInYear(a)%10-3]}},toJD:function(e,r,t){var a=this._validate(e,r,t,Kl.local.invalidDate);e=a.year(),r=a.month(),t=a.day();var n=e<=0?e+1:e,i=this.jdEpoch+this._delay1(n)+this._delay2(n)+t+1;if(r<7){for(var l=7;l<=this.monthsInYear(e);l++)i+=this.daysInMonth(e,l);for(var l=1;l<r;l++)i+=this.daysInMonth(e,l)}else for(var l=7;l<r;l++)i+=this.daysInMonth(e,l);return i},_delay1:function(e){var r=Math.floor((235*e-234)\/19),t=12084+13753*r,a=r*29+Math.floor(t\/25920);return y1(3*(a+1),7)<3&#038;&#038;a++,a},_delay2:function(e){var r=this._delay1(e-1),t=this._delay1(e),a=this._delay1(e+1);return a-t===356?2:t-r===382?1:0},fromJD:function(e){e=Math.floor(e)+.5;for(var r=Math.floor((e-this.jdEpoch)*98496\/35975351)-1;e>=this.toJD(r===-1?1:r+1,7,1);)r++;for(var t=e<this.toJD(r,1,1)?7:1;e>this.toJD(r,t,this.daysInMonth(r,t));)t++;var a=e-this.toJD(r,t,1)+1;return this.newDate(r,t,a)}});function y1(e,r){return e-r*Math.floor(e\/r)}Kl.calendars.hebrew=Y3});var Vz=K(()=>{var Yc=qa(),xie=La();function U3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}U3.prototype=new Yc.baseCalendar;xie(U3.prototype,{name:\"Islamic\",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Islamic\",epochs:[\"BH\",\"AH\"],monthNames:[\"Muharram\",\"Safar\",\"Rabi' al-awwal\",\"Rabi' al-thani\",\"Jumada al-awwal\",\"Jumada al-thani\",\"Rajab\",\"Sha'aban\",\"Ramadan\",\"Shawwal\",\"Dhu al-Qi'dah\",\"Dhu al-Hijjah\"],monthNamesShort:[\"Muh\",\"Saf\",\"Rab1\",\"Rab2\",\"Jum1\",\"Jum2\",\"Raj\",\"Sha'\",\"Ram\",\"Shaw\",\"DhuQ\",\"DhuH\"],dayNames:[\"Yawm al-ahad\",\"Yawm al-ithnayn\",\"Yawm ath-thulaathaa'\",\"Yawm al-arbi'aa'\",\"Yawm al-kham\\u012Bs\",\"Yawm al-jum'a\",\"Yawm as-sabt\"],dayNamesShort:[\"Aha\",\"Ith\",\"Thu\",\"Arb\",\"Kha\",\"Jum\",\"Sab\"],dayNamesMin:[\"Ah\",\"It\",\"Th\",\"Ar\",\"Kh\",\"Ju\",\"Sa\"],digits:null,dateFormat:\"yyyy\/mm\/dd\",firstDay:6,isRTL:!1}},leapYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,Yc.local.invalidYear);return(r.year()*11+14)%30<11},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(-a.dayOfWeek(),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInYear:function(e){return this.leapYear(e)?355:354},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,Yc.local.invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===12&#038;&#038;this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return this.dayOfWeek(e,r,t)!==5},toJD:function(e,r,t){var a=this._validate(e,r,t,Yc.local.invalidDate);return e=a.year(),r=a.month(),t=a.day(),e=e<=0?e+1:e,t+Math.ceil(29.5*(r-1))+(e-1)*354+Math.floor((3+11*e)\/30)+this.jdEpoch-1},fromJD:function(e){e=Math.floor(e)+.5;var r=Math.floor((30*(e-this.jdEpoch)+10646)\/10631);r=r<=0?r-1:r;var t=Math.min(12,Math.ceil((e-29-this.toJD(r,1,1))\/29.5)+1),a=e-this.toJD(r,t,1)+1;return this.newDate(r,t,a)}});Yc.calendars.islamic=U3});var Gz=K(()=>{var Uc=qa(),_ie=La();function V3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}V3.prototype=new Uc.baseCalendar;_ie(V3.prototype,{name:\"Julian\",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Julian\",epochs:[\"BC\",\"AD\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"mm\/dd\/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(t){var r=this._validate(t,this.minMonth,this.minDay,Uc.local.invalidYear),t=r.year()<0?r.year()+1:r.year();return t%4===0},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(4-(a.dayOfWeek()||7),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,Uc.local.invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===2&#038;&#038;this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return(this.dayOfWeek(e,r,t)||7)<6},toJD:function(e,r,t){var a=this._validate(e,r,t,Uc.local.invalidDate);return e=a.year(),r=a.month(),t=a.day(),e<0&#038;&#038;e++,r<=2&#038;&#038;(e--,r+=12),Math.floor(365.25*(e+4716))+Math.floor(30.6001*(r+1))+t-1524.5},fromJD:function(e){var r=Math.floor(e+.5),t=r+1524,a=Math.floor((t-122.1)\/365.25),n=Math.floor(365.25*a),i=Math.floor((t-n)\/30.6001),l=i-Math.floor(i<14?1:13),o=a-Math.floor(l>2?4716:4715),s=t-n-Math.floor(30.6001*i);return o<=0&#038;&#038;o--,this.newDate(o,l,s)}});Uc.calendars.julian=V3});var Xz=K(()=>{var Yn=qa(),wie=La();function W3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}W3.prototype=new Yn.baseCalendar;wie(W3.prototype,{name:\"Mayan\",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{\"\":{name:\"Mayan\",epochs:[\"\",\"\"],monthNames:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\"],monthNamesShort:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\"],dayNames:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],dayNamesShort:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],dayNamesMin:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],digits:null,dateFormat:\"YYYY.m.d\",firstDay:0,isRTL:!1,haabMonths:[\"Pop\",\"Uo\",\"Zip\",\"Zotz\",\"Tzec\",\"Xul\",\"Yaxkin\",\"Mol\",\"Chen\",\"Yax\",\"Zac\",\"Ceh\",\"Mac\",\"Kankin\",\"Muan\",\"Pax\",\"Kayab\",\"Cumku\",\"Uayeb\"],tzolkinMonths:[\"Imix\",\"Ik\",\"Akbal\",\"Kan\",\"Chicchan\",\"Cimi\",\"Manik\",\"Lamat\",\"Muluc\",\"Oc\",\"Chuen\",\"Eb\",\"Ben\",\"Ix\",\"Men\",\"Cib\",\"Caban\",\"Etznab\",\"Cauac\",\"Ahau\"]}},leapYear:function(e){return this._validate(e,this.minMonth,this.minDay,Yn.local.invalidYear),!1},formatYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,Yn.local.invalidYear);e=r.year();var t=Math.floor(e\/400);e=e%400,e+=e<0?400:0;var a=Math.floor(e\/20);return t+\".\"+a+\".\"+e%20},forYear:function(e){if(e=e.split(\".\"),e.length<3)throw\"Invalid Mayan year\";for(var r=0,t=0;t<e.length;t++){var a=parseInt(e[t],10);if(Math.abs(a)>19||t>0&&a<0)throw\"Invalid Mayan year\";r=r*20+a}return r},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,Yn.local.invalidYear),18},weekOfYear:function(e,r,t){return this._validate(e,r,t,Yn.local.invalidDate),0},daysInYear:function(e){return this._validate(e,this.minMonth,this.minDay,Yn.local.invalidYear),360},daysInMonth:function(e,r){return this._validate(e,r,this.minDay,Yn.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(e,r,t){var a=this._validate(e,r,t,Yn.local.invalidDate);return a.day()},weekDay:function(e,r,t){return this._validate(e,r,t,Yn.local.invalidDate),!0},extraInfo:function(e,r,t){var a=this._validate(e,r,t,Yn.local.invalidDate),n=a.toJD(),i=this._toHaab(n),l=this._toTzolkin(n);return{haabMonthName:this.local.haabMonths[i[0]-1],haabMonth:i[0],haabDay:i[1],tzolkinDayName:this.local.tzolkinMonths[l[0]-1],tzolkinDay:l[0],tzolkinTrecena:l[1]}},_toHaab:function(e){e-=this.jdEpoch;var r=G3(e+8+340,365);return[Math.floor(r\/20)+1,G3(r,20)]},_toTzolkin:function(e){return e-=this.jdEpoch,[Wz(e+20,20),Wz(e+4,13)]},toJD:function(e,r,t){var a=this._validate(e,r,t,Yn.local.invalidDate);return a.day()+a.month()*20+a.year()*360+this.jdEpoch},fromJD:function(e){e=Math.floor(e)+.5-this.jdEpoch;var r=Math.floor(e\/360);e=e%360,e+=e<0?360:0;var t=Math.floor(e\/20),a=e%20;return this.newDate(r,t,a)}});function G3(e,r){return e-r*Math.floor(e\/r)}function Wz(e,r){return G3(e-1,r)+1}Yn.calendars.mayan=W3});var Jz=K(()=>{var ls=qa(),Tie=La();function X3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}X3.prototype=new ls.baseCalendar;var Zz=ls.instance(\"gregorian\");Tie(X3.prototype,{name:\"Nanakshahi\",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Nanakshahi\",epochs:[\"BN\",\"AN\"],monthNames:[\"Chet\",\"Vaisakh\",\"Jeth\",\"Harh\",\"Sawan\",\"Bhadon\",\"Assu\",\"Katak\",\"Maghar\",\"Poh\",\"Magh\",\"Phagun\"],monthNamesShort:[\"Che\",\"Vai\",\"Jet\",\"Har\",\"Saw\",\"Bha\",\"Ass\",\"Kat\",\"Mgr\",\"Poh\",\"Mgh\",\"Pha\"],dayNames:[\"Somvaar\",\"Mangalvar\",\"Budhvaar\",\"Veervaar\",\"Shukarvaar\",\"Sanicharvaar\",\"Etvaar\"],dayNamesShort:[\"Som\",\"Mangal\",\"Budh\",\"Veer\",\"Shukar\",\"Sanichar\",\"Et\"],dayNamesMin:[\"So\",\"Ma\",\"Bu\",\"Ve\",\"Sh\",\"Sa\",\"Et\"],digits:null,dateFormat:\"dd-mm-yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,ls.local.invalidYear||ls.regionalOptions[\"\"].invalidYear);return Zz.leapYear(r.year()+(r.year()<1?1:0)+1469)},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(1-(a.dayOfWeek()||7),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,ls.local.invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===12&#038;&#038;this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return(this.dayOfWeek(e,r,t)||7)<6},toJD:function(n,r,t){var a=this._validate(n,r,t,ls.local.invalidMonth),n=a.year();n<0&#038;&#038;n++;for(var i=a.day(),l=1;l<a.month();l++)i+=this.daysPerMonth[l-1];return i+Zz.toJD(n+1468,3,13)},fromJD:function(e){e=Math.floor(e+.5);for(var r=Math.floor((e-(this.jdEpoch-1))\/366);e>=this.toJD(r+1,1,1);)r++;for(var t=e-Math.floor(this.toJD(r,1,1)+.5)+1,a=1;t>this.daysInMonth(r,a);)t-=this.daysInMonth(r,a),a++;return this.newDate(r,a,t)}});ls.calendars.nanakshahi=X3});var Kz=K(()=>{var os=qa(),Mie=La();function Z3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}Z3.prototype=new os.baseCalendar;Mie(Z3.prototype,{name:\"Nepali\",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{\"\":{name:\"Nepali\",epochs:[\"BBS\",\"ABS\"],monthNames:[\"Baisakh\",\"Jestha\",\"Ashadh\",\"Shrawan\",\"Bhadra\",\"Ashwin\",\"Kartik\",\"Mangsir\",\"Paush\",\"Mangh\",\"Falgun\",\"Chaitra\"],monthNamesShort:[\"Bai\",\"Je\",\"As\",\"Shra\",\"Bha\",\"Ash\",\"Kar\",\"Mang\",\"Pau\",\"Ma\",\"Fal\",\"Chai\"],dayNames:[\"Aaitabaar\",\"Sombaar\",\"Manglbaar\",\"Budhabaar\",\"Bihibaar\",\"Shukrabaar\",\"Shanibaar\"],dayNamesShort:[\"Aaita\",\"Som\",\"Mangl\",\"Budha\",\"Bihi\",\"Shukra\",\"Shani\"],dayNamesMin:[\"Aai\",\"So\",\"Man\",\"Bu\",\"Bi\",\"Shu\",\"Sha\"],digits:null,dateFormat:\"dd\/mm\/yyyy\",firstDay:1,isRTL:!1}},leapYear:function(e){return this.daysInYear(e)!==this.daysPerYear},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(-a.dayOfWeek(),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,os.local.invalidYear);if(e=r.year(),typeof this.NEPALI_CALENDAR_DATA[e]==\"undefined\")return this.daysPerYear;for(var t=0,a=this.minMonth;a<=12;a++)t+=this.NEPALI_CALENDAR_DATA[e][a];return t},daysInMonth:function(e,r){return e.year&#038;&#038;(r=e.month(),e=e.year()),this._validate(e,r,this.minDay,os.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[e]==\"undefined\"?this.daysPerMonth[r-1]:this.NEPALI_CALENDAR_DATA[e][r]},weekDay:function(e,r,t){return this.dayOfWeek(e,r,t)!==6},toJD:function(e,r,t){var a=this._validate(e,r,t,os.local.invalidDate);e=a.year(),r=a.month(),t=a.day();var n=os.instance(),i=0,l=r,o=e;this._createMissingCalendarData(e);var s=e-(l>9||l===9&&t>=this.NEPALI_CALENDAR_DATA[o][0]?56:57);for(r!==9&&(i=t,l--);l!==9;)l<=0&#038;&#038;(l=12,o--),i+=this.NEPALI_CALENDAR_DATA[o][l],l--;return r===9?(i+=t-this.NEPALI_CALENDAR_DATA[o][0],i<0&#038;&#038;(i+=n.daysInYear(s))):i+=this.NEPALI_CALENDAR_DATA[o][9]-this.NEPALI_CALENDAR_DATA[o][0],n.newDate(s,1,1).add(i,\"d\").toJD()},fromJD:function(e){var r=os.instance(),t=r.fromJD(e),a=t.year(),n=t.dayOfYear(),i=a+56;this._createMissingCalendarData(i);for(var l=9,o=this.NEPALI_CALENDAR_DATA[i][0],s=this.NEPALI_CALENDAR_DATA[i][l]-o+1;n>s;)l++,l>12&&(l=1,i++),s+=this.NEPALI_CALENDAR_DATA[i][l];var u=this.NEPALI_CALENDAR_DATA[i][l]-(s-n);return this.newDate(i,l,u)},_createMissingCalendarData:function(e){var r=this.daysPerMonth.slice(0);r.unshift(17);for(var t=e-1;t<e+2;t++)typeof this.NEPALI_CALENDAR_DATA[t]==\"undefined\"&#038;&#038;(this.NEPALI_CALENDAR_DATA[t]=r)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}});os.calendars.nepali=Z3});var Qz=K(()=>{var Ru=qa(),Aie=La();function b1(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}function g1(e){var r=e-475;e<0&#038;&#038;r++;var t=.242197,a=t*r,n=t*(r+1),i=a-Math.floor(a),l=n-Math.floor(n);return i>l}b1.prototype=new Ru.baseCalendar;Aie(b1.prototype,{name:\"Persian\",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Persian\",epochs:[\"BP\",\"AP\"],monthNames:[\"Farvardin\",\"Ordibehesht\",\"Khordad\",\"Tir\",\"Mordad\",\"Shahrivar\",\"Mehr\",\"Aban\",\"Azar\",\"Dey\",\"Bahman\",\"Esfand\"],monthNamesShort:[\"Far\",\"Ord\",\"Kho\",\"Tir\",\"Mor\",\"Sha\",\"Meh\",\"Aba\",\"Aza\",\"Dey\",\"Bah\",\"Esf\"],dayNames:[\"Yekshanbeh\",\"Doshanbeh\",\"Seshanbeh\",\"Chah\\u0101rshanbeh\",\"Panjshanbeh\",\"Jom'eh\",\"Shanbeh\"],dayNamesShort:[\"Yek\",\"Do\",\"Se\",\"Cha\",\"Panj\",\"Jom\",\"Sha\"],dayNamesMin:[\"Ye\",\"Do\",\"Se\",\"Ch\",\"Pa\",\"Jo\",\"Sh\"],digits:null,dateFormat:\"yyyy\/mm\/dd\",firstDay:6,isRTL:!1}},leapYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,Ru.local.invalidYear);return g1(r.year())},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(-((a.dayOfWeek()+1)%7),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,Ru.local.invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===12&&this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return this.dayOfWeek(e,r,t)!==5},toJD:function(e,r,t){var a=this._validate(e,r,t,Ru.local.invalidDate);e=a.year(),r=a.month(),t=a.day();var n=0;if(e>0)for(var i=1;i<e;i++)g1(i)&#038;&#038;n++;else if(e<0)for(var i=e;i<0;i++)g1(i)&#038;&#038;n--;return t+(r<=7?(r-1)*31:(r-1)*30+6)+(e>0?e-1:e)*365+n+this.jdEpoch-1},fromJD:function(e){e=Math.floor(e)+.5;var r=475+(e-this.toJD(475,1,1))\/365.242197,t=Math.floor(r);t<=0&#038;&#038;t--,e>this.toJD(t,12,g1(t)?30:29)&&(t++,t===0&&t++);var a=e-this.toJD(t,1,1)+1,n=a<=186?Math.ceil(a\/31):Math.ceil((a-6)\/30),i=e-this.toJD(t,n,1)+1;return this.newDate(t,n,i)}});Ru.calendars.persian=b1;Ru.calendars.jalali=b1});var $z=K(()=>{var ss=qa(),kie=La(),x1=ss.instance();function J3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}J3.prototype=new ss.baseCalendar;kie(J3.prototype,{name:\"Taiwan\",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Taiwan\",epochs:[\"BROC\",\"ROC\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy\/mm\/dd\",firstDay:1,isRTL:!1}},leapYear:function(t){var r=this._validate(t,this.minMonth,this.minDay,ss.local.invalidYear),t=this._t2gYear(r.year());return x1.leapYear(t)},weekOfYear:function(n,r,t){var a=this._validate(n,this.minMonth,this.minDay,ss.local.invalidYear),n=this._t2gYear(a.year());return x1.weekOfYear(n,a.month(),a.day())},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,ss.local.invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===2&&this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return(this.dayOfWeek(e,r,t)||7)<6},toJD:function(n,r,t){var a=this._validate(n,r,t,ss.local.invalidDate),n=this._t2gYear(a.year());return x1.toJD(n,a.month(),a.day())},fromJD:function(e){var r=x1.fromJD(e),t=this._g2tYear(r.year());return this.newDate(t,r.month(),r.day())},_t2gYear:function(e){return e+this.yearsOffset+(e>=-this.yearsOffset&&e<=-1?1:0)},_g2tYear:function(e){return e-this.yearsOffset-(e>=1&&e<=this.yearsOffset?1:0)}});ss.calendars.taiwan=J3});var jz=K(()=>{var us=qa(),Cie=La(),_1=us.instance();function K3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}K3.prototype=new us.baseCalendar;Cie(K3.prototype,{name:\"Thai\",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Thai\",epochs:[\"BBE\",\"BE\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"dd\/mm\/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(t){var r=this._validate(t,this.minMonth,this.minDay,us.local.invalidYear),t=this._t2gYear(r.year());return _1.leapYear(t)},weekOfYear:function(n,r,t){var a=this._validate(n,this.minMonth,this.minDay,us.local.invalidYear),n=this._t2gYear(a.year());return _1.weekOfYear(n,a.month(),a.day())},daysInMonth:function(e,r){var t=this._validate(e,r,this.minDay,us.local.invalidMonth);return this.daysPerMonth[t.month()-1]+(t.month()===2&&this.leapYear(t.year())?1:0)},weekDay:function(e,r,t){return(this.dayOfWeek(e,r,t)||7)<6},toJD:function(n,r,t){var a=this._validate(n,r,t,us.local.invalidDate),n=this._t2gYear(a.year());return _1.toJD(n,a.month(),a.day())},fromJD:function(e){var r=_1.fromJD(e),t=this._g2tYear(r.year());return this.newDate(t,r.month(),r.day())},_t2gYear:function(e){return e-this.yearsOffset-(e>=1&&e<=this.yearsOffset?1:0)},_g2tYear:function(e){return e+this.yearsOffset+(e>=-this.yearsOffset&&e<=-1?1:0)}});us.calendars.thai=K3});var eN=K(()=>{var fs=qa(),Sie=La();function Q3(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}Q3.prototype=new fs.baseCalendar;Sie(Q3.prototype,{name:\"UmmAlQura\",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Umm al-Qura\",epochs:[\"BH\",\"AH\"],monthNames:[\"Al-Muharram\",\"Safar\",\"Rabi' al-awwal\",\"Rabi' Al-Thani\",\"Jumada Al-Awwal\",\"Jumada Al-Thani\",\"Rajab\",\"Sha'aban\",\"Ramadan\",\"Shawwal\",\"Dhu al-Qi'dah\",\"Dhu al-Hijjah\"],monthNamesShort:[\"Muh\",\"Saf\",\"Rab1\",\"Rab2\",\"Jum1\",\"Jum2\",\"Raj\",\"Sha'\",\"Ram\",\"Shaw\",\"DhuQ\",\"DhuH\"],dayNames:[\"Yawm al-Ahad\",\"Yawm al-Ithnain\",\"Yawm al-Thal\\u0101th\\u0101\\u2019\",\"Yawm al-Arba\\u2018\\u0101\\u2019\",\"Yawm al-Kham\\u012Bs\",\"Yawm al-Jum\\u2018a\",\"Yawm al-Sabt\"],dayNamesMin:[\"Ah\",\"Ith\",\"Th\",\"Ar\",\"Kh\",\"Ju\",\"Sa\"],digits:null,dateFormat:\"yyyy\/mm\/dd\",firstDay:6,isRTL:!0}},leapYear:function(e){var r=this._validate(e,this.minMonth,this.minDay,fs.local.invalidYear);return this.daysInYear(r.year())===355},weekOfYear:function(e,r,t){var a=this.newDate(e,r,t);return a.add(-a.dayOfWeek(),\"d\"),Math.floor((a.dayOfYear()-1)\/7)+1},daysInYear:function(e){for(var r=0,t=1;t<=12;t++)r+=this.daysInMonth(e,t);return r},daysInMonth:function(e,r){for(var t=this._validate(e,r,this.minDay,fs.local.invalidMonth),a=t.toJD()-24e5+.5,n=0,i=0;i<Ql.length;i++){if(Ql[i]>a)return Ql[n]-Ql[n-1];n++}return 30},weekDay:function(e,r,t){return this.dayOfWeek(e,r,t)!==5},toJD:function(e,r,t){var a=this._validate(e,r,t,fs.local.invalidDate),n=12*(a.year()-1)+a.month()-15292,i=a.day()+Ql[n-1]-1;return i+24e5-.5},fromJD:function(e){for(var r=e-24e5+.5,t=0,a=0;a<Ql.length&#038;&#038;!(Ql[a]>r);a++)t++;var n=t+15292,i=Math.floor((n-1)\/12),l=i+1,o=n-12*i,s=r-Ql[t-1]+1;return this.newDate(l,o,s)},isValid:function(e,r,t){var a=fs.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(e=e.year!=null?e.year:e,a=e>=1276&&e<=1500),a},_validate:function(e,r,t,a){var n=fs.baseCalendar.prototype._validate.apply(this,arguments);if(n.year<1276||n.year>1500)throw a.replace(\/\\{0\\}\/,this.local.name);return n}});fs.calendars.ummalqura=Q3;var Ql=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]});var tN=K((q0e,rN)=>{\"use strict\";rN.exports=qa();Iz();Hz();Oz();Bz();Yz();Uz();Vz();Gz();Xz();Jz();Kz();Qz();$z();jz();eN()});var uN=K((D0e,sN)=>{\"use strict\";var nN=tN(),Vc=Fe(),iN=Gt(),Lie=iN.EPOCHJD,qie=iN.ONEDAY,e5={valType:\"enumerated\",values:Vc.sortObjectKeys(nN.calendars),editType:\"calc\",dflt:\"gregorian\"},lN=function(e,r,t,a){var n={};return n[t]=e5,Vc.coerce(e,r,n,t,a)},Die=function(e,r,t,a){for(var n=0;n<t.length;n++)lN(e,r,t[n]+\"calendar\",a.calendar)},Eie={chinese:\"2000-01-01\",coptic:\"2000-01-01\",discworld:\"2000-01-01\",ethiopian:\"2000-01-01\",hebrew:\"5000-01-01\",islamic:\"1000-01-01\",julian:\"2000-01-01\",mayan:\"5000-01-01\",nanakshahi:\"1000-01-01\",nepali:\"2000-01-01\",persian:\"1000-01-01\",jalali:\"1000-01-01\",taiwan:\"1000-01-01\",thai:\"2000-01-01\",ummalqura:\"1400-01-01\"},Pie={chinese:\"2000-01-02\",coptic:\"2000-01-03\",discworld:\"2000-01-03\",ethiopian:\"2000-01-05\",hebrew:\"5000-01-01\",islamic:\"1000-01-02\",julian:\"2000-01-03\",mayan:\"5000-01-01\",nanakshahi:\"1000-01-05\",nepali:\"2000-01-05\",persian:\"1000-01-01\",jalali:\"1000-01-01\",taiwan:\"1000-01-04\",thai:\"2000-01-04\",ummalqura:\"1400-01-06\"},Rie={chinese:[\"2000-01-01\",\"2001-01-01\"],coptic:[\"1700-01-01\",\"1701-01-01\"],discworld:[\"1800-01-01\",\"1801-01-01\"],ethiopian:[\"2000-01-01\",\"2001-01-01\"],hebrew:[\"5700-01-01\",\"5701-01-01\"],islamic:[\"1400-01-01\",\"1401-01-01\"],julian:[\"2000-01-01\",\"2001-01-01\"],mayan:[\"5200-01-01\",\"5201-01-01\"],nanakshahi:[\"0500-01-01\",\"0501-01-01\"],nepali:[\"2000-01-01\",\"2001-01-01\"],persian:[\"1400-01-01\",\"1401-01-01\"],jalali:[\"1400-01-01\",\"1401-01-01\"],taiwan:[\"0100-01-01\",\"0101-01-01\"],thai:[\"2500-01-01\",\"2501-01-01\"],ummalqura:[\"1400-01-01\",\"1401-01-01\"]},w1=\"##\",zie={d:{0:\"dd\",\"-\":\"d\"},e:{0:\"d\",\"-\":\"d\"},a:{0:\"D\",\"-\":\"D\"},A:{0:\"DD\",\"-\":\"DD\"},j:{0:\"oo\",\"-\":\"o\"},W:{0:\"ww\",\"-\":\"w\"},m:{0:\"mm\",\"-\":\"m\"},b:{0:\"M\",\"-\":\"M\"},B:{0:\"MM\",\"-\":\"MM\"},y:{0:\"yy\",\"-\":\"yy\"},Y:{0:\"yyyy\",\"-\":\"yyyy\"},U:w1,w:w1,c:{0:\"D M d %X yyyy\",\"-\":\"D M d %X yyyy\"},x:{0:\"mm\/dd\/yyyy\",\"-\":\"mm\/dd\/yyyy\"}};function Nie(e,r,t){for(var a=Math.floor((r+.05)\/qie)+Lie,n=oN(t).fromJD(a),i=0,l,o,s,u,f;(i=e.indexOf(\"%\",i))!==-1;)l=e.charAt(i+1),l===\"0\"||l===\"-\"||l===\"_\"?(s=3,o=e.charAt(i+2),l===\"_\"&#038;&#038;(l=\"-\")):(o=l,l=\"0\",s=2),u=zie[o],u?(u===w1?f=w1:f=n.formatDate(u[l]),e=e.slice(0,i)+f+e.slice(i+s),i+=f.length):i+=s;return e}var aN={};function oN(e){var r=aN[e];return r||(r=aN[e]=nN.instance(e),r)}function Gc(e){return Vc.extendFlat({},e5,{description:e})}function r5(e){return\"Sets the calendar system to use with `\"+e+\"` date data.\"}var j3={xcalendar:Gc(r5(\"x\"))},Bi=Vc.extendFlat({},j3,{ycalendar:Gc(r5(\"y\"))}),$3=Vc.extendFlat({},Bi,{zcalendar:Gc(r5(\"z\"))}),zu=Gc([\"Sets the calendar system to use for `range` and `tick0`\",\"if this is a date axis. This does not set the calendar for\",\"interpreting data on this axis, that's specified in the trace\",\"or via the global `layout.calendar`\"].join(\" \"));sN.exports={moduleType:\"component\",name:\"calendars\",schema:{traces:{scatter:Bi,bar:Bi,box:Bi,heatmap:Bi,contour:Bi,histogram:Bi,histogram2d:Bi,histogram2dcontour:Bi,scatter3d:$3,surface:$3,mesh3d:$3,scattergl:Bi,ohlc:j3,candlestick:j3},layout:{calendar:Gc([\"Sets the default calendar system to use for interpreting and\",\"displaying dates throughout the plot.\"].join(\" \"))},subplots:{xaxis:{calendar:zu},yaxis:{calendar:zu},scene:{xaxis:{calendar:zu},yaxis:{calendar:zu},zaxis:{calendar:zu}},polar:{radialaxis:{calendar:zu}}}},layoutAttributes:e5,handleDefaults:lN,handleTraceDefaults:Die,CANONICAL_SUNDAY:Pie,CANONICAL_TICK:Eie,DFLTRANGE:Rie,getCal:oN,worldCalFmt:Nie}});var cN=K((E0e,fN)=>{\"use strict\";fN.exports=uN()});var Fie=K((P0e,hN)=>{var vN=zP();vN.register([YR(),Pz(),cN()]);hN.exports=vN});return Fie();})();\n\/*! Bundled license information:\n\nnative-promise-only\/lib\/npo.src.js:\n  (*! Native Promise Only\n      v0.8.1 (c) Kyle Simpson\n      MIT License: http:\/\/getify.mit-license.org\n  *)\n\npolybooljs\/index.js:\n  (*\n   * @copyright 2016 Sean Connelly (@voidqk), http:\/\/syntheti.cc\n   * @license MIT\n   * @preserve Project Home: https:\/\/github.com\/voidqk\/polybooljs\n   *)\n\nobject-assign\/index.js:\n  (*\n  object-assign\n  (c) Sindre Sorhus\n  @license MIT\n  *)\n*\/\n\nwindow.Plotly = Plotly;\nreturn Plotly;\n}));\n<\/script>\n<style>\n  :root{\n    --verde:#00AA00;\n    --verde-suave:rgba(0,170,0,0.35);\n    --amarillo:#FFEE00;\n    --blanco:#FFFFFF;\n    --g950:#0d0f10;\n    --g900:#131617;\n    --g850:#181b1d;\n    --g800:#1e2224;\n    --g700:#2a2f32;\n    --g600:#3a4043;\n    --g500:#6b7278;\n    --g300:#a8afb5;\n    --g100:#e4e7e9;\n    --sans:'IBM Plex Sans',Arial,Helvetica,sans-serif;\n    --mono:'IBM Plex Mono','Courier New',monospace;\n  }\n  *{box-sizing:border-box;margin:0;padding:0;}\n  html{scroll-behavior:smooth;}\n  body{\n    background:var(--g950);\n    color:var(--g100);\n    font-family:var(--sans);\n    line-height:1.65;\n    font-size:15.5px;\n    -webkit-font-smoothing:antialiased;\n  }\n  .wrap{max-width:1180px;margin:0 auto;padding:0 24px;}\n  header.masthead{\n    border-bottom:3px solid var(--verde);\n    background:linear-gradient(180deg,var(--g900) 0%,var(--g950) 100%);\n    padding:34px 0 26px;\n  }\n  .brand-line{\n    display:flex;align-items:center;gap:10px;\n    font-family:var(--mono);font-size:12px;letter-spacing:.06em;\n    text-transform:uppercase;color:var(--g300);margin-bottom:14px;\n  }\n  .brand-dot{width:8px;height:8px;border-radius:50%;background:var(--verde);display:inline-block;}\n  .brand-dot.y{background:var(--amarillo);}\n  h1{\n    font-size:28px;font-weight:700;color:var(--blanco);\n    letter-spacing:-0.01em;margin-bottom:8px;max-width:900px;\n  }\n  .subtitle{color:var(--g300);font-size:15.5px;max-width:820px;}\n  .meta-row{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px;font-size:12.5px;color:var(--g500);font-family:var(--mono);}\n\n  .intro-block{padding:30px 0 8px;border-bottom:1px solid var(--g800);}\n  .intro-block h2{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--verde);margin-bottom:10px;font-weight:600;}\n  .intro-block p{color:var(--g100);max-width:960px;margin-bottom:16px;font-size:15px;}\n  .intro-block .metodologica{color:var(--g300);font-size:13.8px;}\n\n  nav.tabs{\n    position:sticky;top:0;z-index:50;\n    background:rgba(13,15,16,0.96);\n    backdrop-filter:blur(6px);\n    border-bottom:1px solid var(--g800);\n    margin-top:6px;\n  }\n  .tabs-inner{display:flex;gap:2px;overflow-x:auto;padding:0 24px;max-width:1180px;margin:0 auto;}\n  .tabbtn{\n    background:none;border:none;color:var(--g300);\n    font-family:var(--sans);font-size:13.5px;font-weight:600;\n    padding:16px 18px 13px;cursor:pointer;white-space:nowrap;\n    border-bottom:3px solid transparent;transition:color .15s,border-color .15s;\n  }\n  .tabbtn:hover{color:var(--g100);}\n  .tabbtn.active{color:var(--blanco);border-bottom-color:var(--verde);}\n\n  main{padding:34px 0 60px;}\n  .tabpanel{display:none;}\n  .tabpanel.active{display:block;}\n\n  .panel-title{font-size:20px;font-weight:700;color:var(--blanco);margin-bottom:6px;}\n  .panel-lede{color:var(--g300);font-size:14.5px;margin-bottom:26px;max-width:880px;}\n\n  p.analysis{color:var(--g100);max-width:900px;margin-bottom:18px;font-size:15px;}\n  p.analysis + p.analysis{margin-top:-4px;}\n\n  .kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:30px;}\n  .kpi-card{\n    background:var(--g900);border:1px solid var(--g700);border-top:3px solid var(--verde);\n    padding:18px 16px;\n  }\n  .kpi-card.y{border-top-color:var(--amarillo);}\n  .kpi-value{font-family:var(--mono);font-size:23px;font-weight:600;color:var(--blanco);letter-spacing:-0.01em;}\n  .kpi-label{font-size:12px;color:var(--g300);margin-top:6px;line-height:1.4;}\n\n  .figure-wrap{margin:26px 0 32px;}\n  .figure-label{font-weight:700;font-size:14px;color:var(--g100);}\n  .figure-title{font-style:italic;font-size:14px;color:var(--g300);margin-bottom:14px;}\n  .plotly-chart{background:var(--g900);border:1px solid var(--g700);padding:14px 10px 6px;}\n  .figure-note{font-size:11.8px;color:var(--g500);margin-top:10px;line-height:1.55;max-width:900px;}\n\n  table.apa{border-collapse:collapse;width:100%;font-size:13.6px;margin-top:6px;}\n  table.apa th{\n    text-align:left;padding:8px 14px 8px 4px;color:var(--g100);\n    border-top:1.5px solid var(--g100);border-bottom:1px solid var(--g600);\n    font-weight:600;font-size:12.6px;text-transform:uppercase;letter-spacing:.03em;\n  }\n  table.apa td{padding:8px 14px 8px 4px;color:var(--g100);border-bottom:1px solid var(--g800);font-family:var(--mono);font-size:13px;}\n  table.apa td:first-child, table.apa th:first-child{font-family:var(--sans);}\n  table.apa tr:last-child td{border-bottom:1.5px solid var(--g100);}\n\n  .two-col{display:grid;grid-template-columns:1fr 1fr;gap:28px;}\n  .callout{\n    background:var(--g900);border-left:3px solid var(--amarillo);\n    padding:16px 18px;margin:22px 0;font-size:14px;color:var(--g100);max-width:900px;\n  }\n  .callout b{color:var(--amarillo);}\n\n  h3.sub{font-size:15px;font-weight:700;color:var(--blanco);margin:30px 0 4px;}\n\n  footer.pagefoot{border-top:1px solid var(--g800);padding:26px 0 50px;color:var(--g500);font-size:12px;}\n  .refs p{margin-bottom:10px;font-size:12.8px;color:var(--g300);text-indent:-18px;margin-left:18px;}\n  .refs h3{font-size:13px;color:var(--g100);margin-bottom:12px;text-transform:uppercase;letter-spacing:.06em;}\n\n  @media (max-width:880px){\n    .kpi-grid{grid-template-columns:repeat(2,1fr);}\n    .two-col{grid-template-columns:1fr;}\n    h1{font-size:22px;}\n  }\n<\/style>\n<\/head>\n<body>\n\n<header class=\"masthead\">\n  <div class=\"wrap\">\n    <div class=\"brand-line\"><span class=\"brand-dot\"><\/span>Observatorio Econ\u00f3mico, Tributario, Fiscal e Inmobiliario<span class=\"brand-dot y\"><\/span>Secretar\u00eda de Hacienda &middot; Alcald\u00eda de Armenia, Quind\u00edo<\/div>\n    <h1>Programa de acumulaci\u00f3n de reservas internacionales 2026: mecanismo, contexto cambiario e implicaciones para Armenia y el Eje Cafetero<\/h1>\n    <p class=\"subtitle\">Lectura territorial de la decisi\u00f3n adoptada por la Junta Directiva del Banco de la Rep\u00fablica en su sesi\u00f3n del 31 de julio de 2026, que autoriza la acumulaci\u00f3n gradual de hasta USD 4.000 millones en reservas internacionales.<\/p>\n    <div class=\"meta-row\">\n      <span>FUENTE PRIMARIA: BANCO DE LA REP\u00daBLICA, 31-JUL-2026<\/span>\n      <span>CORTE DE INFORMACI\u00d3N: 05-AGO-2026<\/span>\n      <span>ELABORADO POR CARDOZO, Y. R.<\/span>\n    <\/div>\n  <\/div>\n<\/header>\n\n<div class=\"wrap\">\n  <div class=\"intro-block\">\n    <h2>Nota metodol\u00f3gica<\/h2>\n    <p class=\"metodologica\">Este panel procesa el documento oficial de preguntas y respuestas publicado por el Banco de la Rep\u00fablica el 31 de julio de 2026, el comunicado de prensa de la misma fecha y la informaci\u00f3n institucional disponible sobre la decisi\u00f3n de tasa de inter\u00e9s adoptada en esa misma sesi\u00f3n. La lectura territorial se construye con cifras de La Rep\u00fablica, Infobae Colombia y El Universal sobre el comportamiento cambiario, las remesas y la estructura productiva del Eje Cafetero, contrastadas con los datos oficiales del Banco de la Rep\u00fablica y el DANE citados en esas mismas notas. Dado que las reservas internacionales son un agregado nacional sin desagregaci\u00f3n departamental, el an\u00e1lisis para Armenia y Quind\u00edo se construye identificando los canales indirectos de transmisi\u00f3n &mdash;tasa de cambio, remesas, costo de insumos importados&mdash; en lugar de una comparaci\u00f3n directa de magnitudes entre territorios. Las cifras que corresponden a estimaciones propias del Observatorio, derivadas por c\u00e1lculo a partir de datos oficiales, se identifican expl\u00edcitamente como tales en cada gr\u00e1fico o tabla.<\/p>\n\n    <h2>Introducci\u00f3n y contexto<\/h2>\n    <p>En su sesi\u00f3n del 31 de julio de 2026, la Junta Directiva del Banco de la Rep\u00fablica adopt\u00f3 dos decisiones que conviene leer de manera conjunta. De una parte, mantuvo inalterada en 12,0% la tasa de inter\u00e9s de intervenci\u00f3n, con una votaci\u00f3n dividida en la que cuatro directores respaldaron sostenerla frente a tres que prefer\u00edan un incremento adicional de 50 puntos b\u00e1sicos. De otra, dio inicio a un programa preventivo para acumular gradualmente hasta USD 4.000 millones en reservas internacionales mediante subastas mensuales de opciones put, mecanismo ya utilizado con \u00e9xito en 2024. La decisi\u00f3n responde a la reducci\u00f3n del margen de holgura en las m\u00e9tricas de suficiencia externa que monitorea el Emisor, en particular el indicador ARA del Fondo Monetario Internacional, ubicado en 1,14 dentro de un rango recomendado de 1,0 a 1,5. Para un observatorio territorial, el inter\u00e9s de la medida no reside en las reservas como tal, un agregado que Armenia y Quind\u00edo no poseen ni administran, sino en los canales por los que la pol\u00edtica cambiaria y monetaria nacional se transmite a una econom\u00eda cafetera y tur\u00edstica de escala departamental, principalmente a trav\u00e9s de la tasa de cambio y su efecto sobre remesas, insumos importados y competitividad exportadora.<\/p>\n  <\/div>\n<\/div>\n\n<nav class=\"tabs\">\n  <div class=\"tabs-inner\">\n    <button class=\"tabbtn active\" id=\"tabbtn-panorama\" onclick=\"openTab('panorama')\">Panorama general<\/button>\n    <button class=\"tabbtn\" id=\"tabbtn-mecanismo\" onclick=\"openTab('mecanismo')\">Mecanismo y antecedente 2024<\/button>\n    <button class=\"tabbtn\" id=\"tabbtn-cambiario\" onclick=\"openTab('cambiario')\">Contexto cambiario y monetario<\/button>\n    <button class=\"tabbtn\" id=\"tabbtn-territorial\" onclick=\"openTab('territorial')\">Interpretaci\u00f3n territorial<\/button>\n    <button class=\"tabbtn\" id=\"tabbtn-sintesis\" onclick=\"openTab('sintesis')\">S\u00edntesis y calendario<\/button>\n  <\/div>\n<\/nav>\n\n<main class=\"wrap\">\n\n  <!-- ===================== TAB 1: PANORAMA ===================== -->\n  <section class=\"tabpanel active\" id=\"panorama\">\n    <div class=\"panel-title\">Panorama general del programa<\/div>\n    <div class=\"panel-lede\">Magnitud, motivaci\u00f3n t\u00e9cnica y posici\u00f3n de Colombia frente a la m\u00e9trica de suficiencia de reservas m\u00e1s utilizada internacionalmente.<\/div>\n\n    <div class=\"kpi-grid\">\n      <div class=\"kpi-card\">\n        <div class=\"kpi-value\">USD 4.000 M<\/div>\n        <div class=\"kpi-label\">Monto m\u00e1ximo del programa de acumulaci\u00f3n (hasta)<\/div>\n      <\/div>\n      <div class=\"kpi-card y\">\n        <div class=\"kpi-value\">1,14<\/div>\n        <div class=\"kpi-label\">Indicador ARA del FMI &mdash; rango adecuado: 1,0 a 1,5<\/div>\n      <\/div>\n      <div class=\"kpi-card\">\n        <div class=\"kpi-value\">&asymp; 6,0%<\/div>\n        <div class=\"kpi-label\">Proporci\u00f3n del nivel actual de reservas que representa el programa<\/div>\n      <\/div>\n      <div class=\"kpi-card\">\n        <div class=\"kpi-value\">USD 73,73 mil M<\/div>\n        <div class=\"kpi-label\">Nivel de reservas proyectado si se completa el programa<\/div>\n      <\/div>\n    <\/div>\n\n    <p class=\"analysis\">La Junta Directiva es expl\u00edcita en que la decisi\u00f3n es preventiva y no responde a una situaci\u00f3n de insuficiencia: las reservas internacionales de Colombia siguen calificando como adecuadas bajo el indicador ARA del FMI, que combina el nivel de reservas con el tama\u00f1o de la econom\u00eda y sus necesidades potenciales de financiamiento externo. Lo que motiva la acumulaci\u00f3n es el estrechamiento del margen de holgura frente al l\u00edmite inferior del rango recomendado, explicado principalmente por mayores amortizaciones proyectadas de deuda externa y otras necesidades de financiamiento, no por una ca\u00edda del nivel de reservas en t\u00e9rminos absolutos.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Figura 1<\/div>\n      <div class=\"figure-title\">Posici\u00f3n del indicador ARA de Colombia dentro del rango recomendado por el FMI<\/div>\n      <div class=\"plotly-chart\" id=\"chart-ara\"><\/div>\n      <div class=\"figure-note\">Nota. Adaptado de &ldquo;Preguntas y respuestas sobre el programa de acumulaci\u00f3n de reservas aprobado en la sesi\u00f3n de la Junta Directiva de julio de 2026&rdquo;, por Banco de la Rep\u00fablica, 2026 (https:\/\/www.banrep.gov.co\/es\/noticias\/junta-directiva\/decidio-iniciar-acumulacion-reservas-internacionales-2026). El rango de 1,0 a 1,5 corresponde al umbral internacionalmente aceptado como adecuado para la m\u00e9trica ARA del FMI. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <p class=\"analysis\">El propio documento oficial se\u00f1ala que el monto del programa, hasta USD 4.000 millones, equivale aproximadamente al 6% del nivel vigente de reservas, lo que permite estimar ese nivel actual en cerca de USD 66,67 mil millones. De completarse la totalidad del programa, el Banco proyecta un nivel cercano a USD 73,73 mil millones, una cifra que excede en algo m\u00e1s de USD 3.000 millones la simple suma del nivel actual estimado m\u00e1s el monto m\u00e1ximo del programa, diferencia que resulta razonable si se considera que el propio Emisor reconoce que el crecimiento reciente de las reservas tambi\u00e9n ha respondido a los rendimientos obtenidos sobre los activos en los que est\u00e1n invertidas.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Figura 2<\/div>\n      <div class=\"figure-title\">Nivel de reservas internacionales: estimaci\u00f3n actual y proyecci\u00f3n al completar el programa<\/div>\n      <div class=\"plotly-chart\" id=\"chart-reservas\"><\/div>\n      <div class=\"figure-note\">Nota. El valor de nivel actual es una estimaci\u00f3n propia del Observatorio, calculada a partir del dato oficial seg\u00fan el cual USD 4.000 millones equivalen a cerca del 6% del nivel vigente de reservas. El valor proyectado corresponde a la cifra publicada directamente por la entidad. Adaptado de &ldquo;Preguntas y respuestas sobre el programa de acumulaci\u00f3n de reservas&hellip;&rdquo;, por Banco de la Rep\u00fablica, 2026. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <p class=\"analysis\">Desde la perspectiva de un observatorio territorial, el dato relevante no es el nivel de reservas en s\u00ed &mdash;un agregado que ni Armenia ni Quind\u00edo poseen o administran&mdash;, sino su funci\u00f3n de seguro macroecon\u00f3mico: un colch\u00f3n externo m\u00e1s robusto reduce la probabilidad de episodios de depreciaci\u00f3n desordenada del peso, que son precisamente los que encarecen de forma abrupta los insumos importados que sostienen la caficultura y el turismo regional. La interpretaci\u00f3n territorial completa de este canal se desarrolla en la pesta\u00f1a correspondiente.<\/p>\n  <\/section>\n\n  <!-- ===================== TAB 2: MECANISMO ===================== -->\n  <section class=\"tabpanel\" id=\"mecanismo\">\n    <div class=\"panel-title\">Mecanismo de acumulaci\u00f3n y antecedente de 2024<\/div>\n    <div class=\"panel-lede\">Subastas de opciones put condicionadas al comportamiento de la TRM, con un dise\u00f1o que busca comprar d\u00f3lares \u00fanicamente en episodios de apreciaci\u00f3n.<\/div>\n\n    <p class=\"analysis\">El mecanismo elegido, subastas de opciones put de acumulaci\u00f3n, tiene una caracter\u00edstica de dise\u00f1o central para entender su efecto de mercado: las opciones adjudicadas solo pueden ejercerse cuando la Tasa Representativa del Mercado se ubica por debajo de su promedio m\u00f3vil de los veinte d\u00edas h\u00e1biles anteriores. En la pr\u00e1ctica, esto significa que el Banco de la Rep\u00fablica \u00fanicamente compra d\u00f3lares en episodios de fortaleza del peso, nunca cuando la moneda se deprecia, lo que evita que el programa profundice una eventual presi\u00f3n depreciacionista y lo aleja de cualquier intento de fijar un nivel espec\u00edfico de la tasa de cambio. El precio de ejercicio corresponde a la TRM vigente el d\u00eda en que se ejerce la opci\u00f3n, y los participantes del mercado pagan una prima que se determina mediante subasta de precio \u00fanico.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Figura 3<\/div>\n      <div class=\"figure-title\">Monto objetivo del programa de acumulaci\u00f3n: antecedente de 2024 frente al programa vigente<\/div>\n      <div class=\"plotly-chart\" id=\"chart-comparativo\"><\/div>\n      <div class=\"figure-note\">Nota. Adaptado de &ldquo;La Junta Directiva del Banco de la Rep\u00fablica anuncia un programa de acumulaci\u00f3n de reservas internacionales&rdquo; [Comunicado de prensa], por Banco de la Rep\u00fablica, 2026 (https:\/\/www.banrep.gov.co\/es\/noticias\/junta-directiva\/decidio-iniciar-acumulacion-reservas-internacionales-2026). El programa de 2024 alcanz\u00f3 cerca de la totalidad de su objetivo en un plazo aproximado de diez meses; el programa de 2026 se encuentra en curso desde el 3 de agosto. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <p class=\"analysis\">El antecedente de 2024 es relevante como referencia de ejecuci\u00f3n, no solo de dise\u00f1o: aquel programa, con un objetivo cercano a USD 1.500 millones, se complet\u00f3 en alrededor de diez meses sin que el Banco identificara alteraciones relevantes en el funcionamiento del mercado cambiario ni en la implementaci\u00f3n de la pol\u00edtica monetaria. El programa vigente es, en monto m\u00e1ximo, m\u00e1s de dos veces y media mayor, lo que sugiere una acumulaci\u00f3n m\u00e1s gradual en t\u00e9rminos relativos, en la medida en que conserva el mismo cupo mensual de referencia inicial.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Tabla 1<\/div>\n      <div class=\"figure-title\">Par\u00e1metros operativos del programa de acumulaci\u00f3n de reservas 2026<\/div>\n      <table class=\"apa\">\n        <thead><tr><th>Par\u00e1metro<\/th><th>Valor<\/th><\/tr><\/thead>\n        <tbody>\n          <tr><td>Instrumento<\/td><td>Subastas de opciones put de acumulaci\u00f3n<\/td><\/tr>\n          <tr><td>Monto m\u00e1ximo del programa<\/td><td>Hasta USD 4.000,0 millones<\/td><\/tr>\n          <tr><td>Frecuencia de las subastas<\/td><td>Mensual<\/td><\/tr>\n          <tr><td>Cupo de la primera subasta<\/td><td>Hasta USD 400,0 millones<\/td><\/tr>\n          <tr><td>Condici\u00f3n de ejercicio<\/td><td>TRM inferior a su promedio m\u00f3vil de 20 d\u00edas h\u00e1biles<\/td><\/tr>\n          <tr><td>Precio de ejercicio<\/td><td>TRM vigente el d\u00eda del ejercicio<\/td><\/tr>\n          <tr><td>Prima<\/td><td>Fijada mediante subasta de precio \u00fanico<\/td><\/tr>\n          <tr><td>Primera convocatoria<\/td><td>31 de julio de 2026<\/td><\/tr>\n          <tr><td>Primera subasta<\/td><td>3 de agosto de 2026<\/td><\/tr>\n          <tr><td>Ventana de ejercicio (1.\u00aa subasta)<\/td><td>4 al 31 de agosto de 2026<\/td><\/tr>\n          <tr><td>Antecedente directo (2024)<\/td><td>&asymp; USD 1.500,0 millones acumulados en 10 meses<\/td><\/tr>\n          <tr><td>Marco regulatorio<\/td><td>Circular Reglamentaria Externa DOAM&#8209;143<\/td><\/tr>\n        <\/tbody>\n      <\/table>\n      <div class=\"figure-note\">Nota. Adaptado de &ldquo;Preguntas y respuestas sobre el programa de acumulaci\u00f3n de reservas&hellip;&rdquo; y del comunicado de prensa del 31 de julio de 2026, por Banco de la Rep\u00fablica, 2026. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <p class=\"analysis\">La compatibilidad con la pol\u00edtica monetaria se resuelve por v\u00eda de la esterilizaci\u00f3n: las compras de d\u00f3lares inyectan liquidez en pesos, pero el Banco cuenta con instrumentos de manejo de liquidez para neutralizar ese efecto cuando sea necesario, de modo que las condiciones monetarias de corto plazo permanezcan coherentes con la tasa de intervenci\u00f3n fijada por la Junta. El programa, adem\u00e1s, puede suspenderse ante circunstancias excepcionales del mercado cambiario, y el Banco se reserva la facultad de reanudarlo una vez superadas.<\/p>\n  <\/section>\n\n  <!-- ===================== TAB 3: CAMBIARIO ===================== -->\n  <section class=\"tabpanel\" id=\"cambiario\">\n    <div class=\"panel-title\">Contexto cambiario y monetario<\/div>\n    <div class=\"panel-lede\">Una revaluaci\u00f3n del peso inusualmente prolongada explica tanto la oportunidad del programa como el debate p\u00fablico que ha generado.<\/div>\n\n    <p class=\"analysis\">El dise\u00f1o del mecanismo, que solo permite comprar d\u00f3lares cuando la TRM est\u00e1 por debajo de su promedio m\u00f3vil de 20 d\u00edas, adquiere pleno sentido a la luz del comportamiento reciente de la tasa de cambio. El peso colombiano completa cerca de dieciocho meses de fortalecimiento frente al d\u00f3lar y se ha consolidado como la moneda emergente de mejor desempe\u00f1o del \u00faltimo a\u00f1o a nivel mundial, superando ampliamente a comparadores como el real brasile\u00f1o o el forinto h\u00fangaro. En ese contexto, el mecanismo de opciones encuentra condiciones de mercado favorables para ejecutarse con frecuencia, lo que ayuda a explicar por qu\u00e9 la Junta decidi\u00f3 actuar ahora y no esperar a un eventual cambio de ciclo.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Figura 4<\/div>\n      <div class=\"figure-title\">Apreciaci\u00f3n acumulada del peso colombiano frente al d\u00f3lar, por ventana temporal<\/div>\n      <div class=\"plotly-chart\" id=\"chart-apreciacion\"><\/div>\n      <div class=\"figure-note\">Nota. Adaptado de &ldquo;Peso colombiano es la emergente m\u00e1s revaluada frente al d\u00f3lar en el \u00faltimo a\u00f1o&rdquo;, por La Rep\u00fablica, 2026, y de &ldquo;El peso colombiano le gana terreno al d\u00f3lar estadounidense y llega a cifras que no se ve\u00edan hace diez a\u00f1os&rdquo;, por Infobae Colombia, 2026 (https:\/\/www.infobae.com\/colombia\/2026\/07\/30\/el-peso-colombiano-le-gana-terreno-al-dolar-estadounidense-y-llega-a-cifras-que-no-se-veian-hace-diez-anos-que-pasara-al-cierre-de-2026\/). Cada barra corresponde a una ventana temporal distinta, indicada en el eje. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <p class=\"analysis\">Los analistas consultados por los medios financieros coinciden en se\u00f1alar el diferencial de tasas de inter\u00e9s frente a econom\u00edas desarrolladas, el llamado carry trade, como el principal soporte de esta din\u00e1mica, junto con un debilitamiento generalizado del d\u00f3lar a nivel global y precios del petr\u00f3leo relativamente favorables para la entrada de divisas al pa\u00eds. La propia Junta Directiva ha reconocido en sus comunicados que la persistente apreciaci\u00f3n del peso excede la de varias monedas comparables, un diagn\u00f3stico que se produce en simult\u00e1neo con el cierre de un ciclo de ajuste monetario que llev\u00f3 la tasa de intervenci\u00f3n de 11,25% a 12,0% antes de sostenerla en la reuni\u00f3n de julio.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Figura 5<\/div>\n      <div class=\"figure-title\">Tasa de inter\u00e9s de pol\u00edtica monetaria: nivel previo y nivel vigente desde julio de 2026<\/div>\n      <div class=\"plotly-chart\" id=\"chart-tasa\"><\/div>\n      <div class=\"figure-note\">Nota. Adaptado de informaci\u00f3n institucional publicada por Banco de la Rep\u00fablica, 2026 (https:\/\/www.banrep.gov.co\/es\/politica-monetaria-cambiaria\/reservas-internacionales). La decisi\u00f3n del 31 de julio de 2026 de mantener la tasa en 12,0% se adopt\u00f3 con cuatro votos a favor de sostenerla y tres a favor de un incremento adicional de 50 puntos b\u00e1sicos. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <div class=\"callout\"><b>Contexto de debate p\u00fablico.<\/b> La decisi\u00f3n no ha estado exenta de controversia. El presidente Gustavo Petro cuestion\u00f3 p\u00fablicamente la actuaci\u00f3n del Banco de la Rep\u00fablica, atribuyendo la revaluaci\u00f3n del peso al nivel de las tasas de inter\u00e9s y solicitando una reducci\u00f3n gradual de al menos dos puntos porcentuales. La Junta Directiva, por su parte, ha sostenido que su ciclo de ajuste responde a un diagn\u00f3stico t\u00e9cnico orientado a la convergencia de la inflaci\u00f3n hacia la meta, y que el programa de reservas es un instrumento distinto y compatible con esa postura, no un mecanismo para fijar el nivel de la tasa de cambio. Para el an\u00e1lisis territorial, lo relevante no es dirimir esa controversia sino registrar que ambas partes coinciden en el hecho verificable de que la revaluaci\u00f3n ha sido inusualmente pronunciada y sostenida, con las implicaciones cambiarias que de all\u00ed se derivan para una econom\u00eda exportadora de caf\u00e9 y receptora de remesas.<\/div>\n\n    <p class=\"analysis\">Firmas como Inverxia y Corficolombiana, citadas por La Rep\u00fablica, estiman un rango de equilibrio para la tasa de cambio en el segundo semestre de 2026 entre COP 3.250 y COP 3.450 por d\u00f3lar, con un piso t\u00e9cnico de corto plazo cercano a COP 3.100, aunque advierten que cualquier decepci\u00f3n en la ejecuci\u00f3n de la pol\u00edtica econ\u00f3mica o un cambio en el apetito global por riesgo podr\u00eda revertir parte de la tendencia con relativa rapidez. Esa incertidumbre sobre la persistencia del ciclo es, precisamente, uno de los argumentos que sustentan la l\u00f3gica preventiva del programa de acumulaci\u00f3n: fortalecer el colch\u00f3n externo mientras las condiciones de mercado lo permiten, antes de que un eventual cambio de ciclo encarezca la compra de reservas.<\/p>\n  <\/section>\n\n  <!-- ===================== TAB 4: TERRITORIAL ===================== -->\n  <section class=\"tabpanel\" id=\"territorial\">\n    <div class=\"panel-title\">Interpretaci\u00f3n territorial: Armenia, Quind\u00edo y el Eje Cafetero<\/div>\n    <div class=\"panel-lede\">Una exposici\u00f3n asim\u00e9trica: Quind\u00edo no participa de los beneficios de ingreso asociados a la pol\u00edtica de reservas, pero s\u00ed queda expuesto por el lado de los costos y del ingreso familiar.<\/div>\n\n    <div class=\"kpi-grid\">\n      <div class=\"kpi-card\">\n        <div class=\"kpi-value\">6,39%<\/div>\n        <div class=\"kpi-label\">Participaci\u00f3n del Eje Cafetero (RAP) en el PIB nacional<\/div>\n      <\/div>\n      <div class=\"kpi-card\">\n        <div class=\"kpi-value\">USD 2.561,4 M<\/div>\n        <div class=\"kpi-label\">Exportaciones FOB del Eje Cafetero en 2025, lideradas por caf\u00e9 sin tostar<\/div>\n      <\/div>\n      <div class=\"kpi-card y\">\n        <div class=\"kpi-value\">22,76%<\/div>\n        <div class=\"kpi-label\">Peso de la agricultura en el PIB de Quind\u00edo<\/div>\n      <\/div>\n      <div class=\"kpi-card\">\n        <div class=\"kpi-value\">USD 5.638,0 M<\/div>\n        <div class=\"kpi-label\">Remesas recibidas por Colombia, enero&ndash;mayo de 2026 (+5,9% interanual)<\/div>\n      <\/div>\n    <\/div>\n\n    <p class=\"analysis\">Las reservas internacionales son, por definici\u00f3n, un agregado nacional que no se desagrega por departamento, de modo que Quind\u00edo y Armenia no tienen una exposici\u00f3n directa ni un beneficio de ingreso asociado a esta pol\u00edtica, a diferencia de lo que ocurrir\u00eda con una regi\u00f3n productora de hidrocarburos o con un centro financiero de escala nacional. La exposici\u00f3n del territorio es asim\u00e9trica y opera casi exclusivamente por el lado de los costos y del ingreso de los hogares, a trav\u00e9s de al menos tres canales que conviene distinguir con claridad.<\/p>\n\n    <p class=\"analysis\">El primer canal es la competitividad cafetera. La agricultura representa 22,76% del PIB departamental de Quind\u00edo, y el caf\u00e9 sin tostar es el principal producto de exportaci\u00f3n del conjunto del Eje Cafetero, que cerr\u00f3 2025 con ventas externas por USD 2.561,4 millones FOB. Un peso persistentemente fuerte reduce, en t\u00e9rminos de pesos por d\u00f3lar, el ingreso que percibe el caficultor por cada carga vendida en el mercado externo, con independencia de que el precio internacional del grano se mantenga estable. El dise\u00f1o del programa de acumulaci\u00f3n, que compra d\u00f3lares \u00fanicamente en episodios de apreciaci\u00f3n, no busca corregir ese efecto &mdash;la Junta es expl\u00edcita en que no persigue un nivel espec\u00edfico de tasa de cambio&mdash;, pero s\u00ed act\u00faa como un amortiguador marginal frente a apreciaciones m\u00e1s pronunciadas, en la medida en que retira algo de oferta de d\u00f3lares del mercado precisamente cuando el peso est\u00e1 fuerte.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Figura 6<\/div>\n      <div class=\"figure-title\">Composici\u00f3n del PIB de Quind\u00edo por sector, en billones de pesos corrientes<\/div>\n      <div class=\"plotly-chart\" id=\"chart-pib-quindio\"><\/div>\n      <div class=\"figure-note\">Nota. Adaptado de &ldquo;El Eje Cafetero es la quinta econom\u00eda dentro del PIB colombiano&rdquo;, por La Rep\u00fablica, 2026, con datos del DANE (https:\/\/www.larepublica.co\/especiales\/el-peso-del-eje-cafetero-en-la-economia\/el-eje-cafetero-es-la-quinta-economia-dentro-del-pib-colombiano-4403188). PIB total de Quind\u00edo: COP 14,5 billones. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <p class=\"analysis\">El segundo canal es el de las remesas familiares, de particular relevancia para el Eje Cafetero, una regi\u00f3n con una larga tradici\u00f3n migratoria hacia Estados Unidos y Espa\u00f1a. A escala nacional, Colombia recibi\u00f3 USD 5.638 millones en remesas entre enero y mayo de 2026, un 5,9% m\u00e1s que en el mismo per\u00edodo de 2025, con Risaralda entre los departamentos que, junto con Atl\u00e1ntico, completan el grupo de los cinco mayores receptores del pa\u00eds. No se dispone todav\u00eda, dentro del ciclo de informaci\u00f3n vigente, de una cifra departamental actualizada y espec\u00edfica para Quind\u00edo que permita cuantificar con precisi\u00f3n su participaci\u00f3n en 2026, un vac\u00edo que este Observatorio identifica como l\u00ednea de trabajo prioritaria para un bolet\u00edn posterior. Lo que s\u00ed es anal\u00edticamente claro es la mec\u00e1nica del canal: cuando un hogar quindiano recibe una remesa fija en d\u00f3lares y el peso se aprecia, el poder adquisitivo de esos recursos en moneda local se reduce, de modo que la revaluaci\u00f3n sostenida documentada en la pesta\u00f1a anterior implica, en la pr\u00e1ctica, una p\u00e9rdida de ingreso real para las familias que dependen de estos giros para gastos corrientes, educaci\u00f3n o vivienda.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Figura 7<\/div>\n      <div class=\"figure-title\">Distribuci\u00f3n territorial de las remesas recibidas por Colombia, primer trimestre de 2026<\/div>\n      <div class=\"plotly-chart\" id=\"chart-remesas\"><\/div>\n      <div class=\"figure-note\">Nota. Adaptado de &ldquo;Esta es la millonada, en d\u00f3lares, que enviaron los colombianos como remesas en los primeros meses del 2026&rdquo;, por Infobae Colombia, 2026 (https:\/\/www.infobae.com\/colombia\/2026\/07\/07\/las-remesas-hacia-colombia-promedian-38-millones-de-dolares-diarios-sumaron-5638-millones-de-dolares-entre-enero-y-mayo-de-2026\/), con datos del Banco de la Rep\u00fablica. La categor\u00eda &ldquo;Risaralda y Atl\u00e1ntico&rdquo; y la categor\u00eda residual &ldquo;Resto del pa\u00eds&rdquo; se calcularon por diferencia a partir de los porcentajes expl\u00edcitos informados en la fuente; esta \u00faltima agrupa a Quind\u00edo junto con el resto de departamentos no desagregados individualmente por la fuente. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <p class=\"analysis\">El tercer canal, m\u00e1s indirecto pero igualmente relevante para la formulaci\u00f3n de pol\u00edtica local, es el del valor de aseguramiento del propio programa. Un colch\u00f3n externo m\u00e1s robusto reduce la probabilidad de episodios de depreciaci\u00f3n desordenada ante un choque financiero internacional, que son precisamente los que encarecen de forma abrupta el di\u00e9sel utilizado en el transporte tur\u00edstico intermunicipal del Eje Cafetero y los fertilizantes e insumos agroqu\u00edmicos importados que sostienen la productividad cafetera de la regi\u00f3n. En ese sentido, el programa no beneficia a Quind\u00edo por el lado del ingreso, pero s\u00ed lo protege, de manera indirecta y preventiva, frente al escenario de cola que m\u00e1s le costar\u00eda: una depreciaci\u00f3n abrupta del peso en medio de un choque externo, escenario contra el que precisamente se busca prevenir con esta acumulaci\u00f3n.<\/p>\n  <\/section>\n\n  <!-- ===================== TAB 5: S\u00cdNTESIS ===================== -->\n  <section class=\"tabpanel\" id=\"sintesis\">\n    <div class=\"panel-title\">S\u00edntesis y calendario de seguimiento<\/div>\n    <div class=\"panel-lede\">Implicaciones pr\u00e1cticas para la formulaci\u00f3n de pol\u00edtica econ\u00f3mica local y pr\u00f3ximos hitos informativos del Banco de la Rep\u00fablica.<\/div>\n\n    <p class=\"analysis\">Para la Secretar\u00eda de Hacienda de Armenia, la lectura operativa de esta decisi\u00f3n se resume en tres puntos. Primero, el programa no altera en el corto plazo las condiciones de financiamiento del municipio, en la medida en que la Junta ha sido expl\u00edcita en que la pol\u00edtica de reservas y la pol\u00edtica de tasas de inter\u00e9s son instrumentos distintos y compatibles, sin que el anuncio implique un cambio de postura monetaria. Segundo, la persistencia de un peso fuerte, documentada de manera consistente por m\u00faltiples fuentes en la pesta\u00f1a cambiaria, sugiere que en el corto plazo continuar\u00e1 la presi\u00f3n sobre el ingreso real de los hogares receptores de remesas y sobre los m\u00e1rgenes de la caficultura exportadora, con independencia de la ejecuci\u00f3n del programa de reservas. Tercero, el valor del programa para el territorio es fundamentalmente preventivo y de mediano plazo: constituye un seguro frente a un escenario de estr\u00e9s cambiario que, de materializarse, golpear\u00eda con mayor fuerza a una econom\u00eda departamental dependiente de insumos importados y de transporte con combustibles f\u00f3siles.<\/p>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Tabla 2<\/div>\n      <div class=\"figure-title\">Calendario de publicaciones e hitos relevantes del Banco de la Rep\u00fablica<\/div>\n      <table class=\"apa\">\n        <thead><tr><th>Fecha<\/th><th>Evento<\/th><\/tr><\/thead>\n        <tbody>\n          <tr><td>31 jul 2026<\/td><td>Aprobaci\u00f3n del programa de acumulaci\u00f3n y decisi\u00f3n de mantener la tasa de intervenci\u00f3n en 12,0%<\/td><\/tr>\n          <tr><td>31 jul 2026<\/td><td>Publicaci\u00f3n de la convocatoria para la primera subasta de opciones<\/td><\/tr>\n          <tr><td>3 ago 2026<\/td><td>Primera subasta del programa (cupo hasta USD 400,0 millones)<\/td><\/tr>\n          <tr><td>4&ndash;31 ago 2026<\/td><td>Ventana de ejercicio de las opciones adjudicadas en la primera subasta<\/td><\/tr>\n          <tr><td>5 ago 2026<\/td><td>Publicaci\u00f3n de las minutas de la reuni\u00f3n del 31 de julio<\/td><\/tr>\n          <tr><td>6 ago 2026<\/td><td>Presentaci\u00f3n del Informe de Pol\u00edtica Monetaria de julio de 2026<\/td><\/tr>\n          <tr><td>31 ago 2026<\/td><td>Pr\u00f3xima reuni\u00f3n ordinaria de la Junta Directiva<\/td><\/tr>\n        <\/tbody>\n      <\/table>\n      <div class=\"figure-note\">Nota. Adaptado del calendario institucional publicado por Banco de la Rep\u00fablica, 2026 (https:\/\/www.banrep.gov.co\/es\/calendario-junta-directiva). Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia.<\/div>\n    <\/div>\n\n    <div class=\"figure-wrap\">\n      <div class=\"figure-label\">Tabla 3<\/div>\n      <div class=\"figure-title\">Resumen de cifras clave citadas en este panel<\/div>\n      <table class=\"apa\">\n        <thead><tr><th>Indicador<\/th><th>Valor<\/th><th>Fuente<\/th><\/tr><\/thead>\n        <tbody>\n          <tr><td>Monto m\u00e1ximo del programa<\/td><td>USD 4.000,0 M<\/td><td>Banco de la Rep\u00fablica (2026)<\/td><\/tr>\n          <tr><td>Indicador ARA (FMI)<\/td><td>1,14 (rango 1,0&ndash;1,5)<\/td><td>Banco de la Rep\u00fablica (2026)<\/td><\/tr>\n          <tr><td>Nivel actual de reservas (estimado)<\/td><td>USD 66,67 mil M<\/td><td>C\u00e1lculo propio, a partir de Banco de la Rep\u00fablica (2026)<\/td><\/tr>\n          <tr><td>Nivel proyectado al completar el programa<\/td><td>USD 73,73 mil M<\/td><td>Banco de la Rep\u00fablica (2026)<\/td><\/tr>\n          <tr><td>Antecedente 2024<\/td><td>USD 1.500,0 M en 10 meses<\/td><td>Banco de la Rep\u00fablica (2026)<\/td><\/tr>\n          <tr><td>Tasa de pol\u00edtica monetaria vigente<\/td><td>12,00% (desde 1 jul 2026)<\/td><td>Banco de la Rep\u00fablica (2026)<\/td><\/tr>\n          <tr><td>Apreciaci\u00f3n del peso, 12 meses a jul-2026<\/td><td>29,86%<\/td><td>La Rep\u00fablica (2026)<\/td><\/tr>\n          <tr><td>Participaci\u00f3n del Eje Cafetero en el PIB nacional<\/td><td>6,39%<\/td><td>La Rep\u00fablica (2026), con datos DANE<\/td><\/tr>\n          <tr><td>PIB de Quind\u00edo<\/td><td>COP 14,5 billones<\/td><td>La Rep\u00fablica (2026), con datos DANE<\/td><\/tr>\n          <tr><td>Remesas a Colombia, ene&ndash;may 2026<\/td><td>USD 5.638,0 M (+5,9% interanual)<\/td><td>Infobae Colombia (2026), con datos Banco de la Rep\u00fablica<\/td><\/tr>\n        <\/tbody>\n      <\/table>\n      <div class=\"figure-note\">Nota. Elaborado por Cardozo, Y. R., para el Observatorio Econ\u00f3mico de la Secretar\u00eda de Hacienda de la Alcald\u00eda de Armenia, con base en las fuentes citadas en cada fila y desarrolladas a lo largo de este panel.<\/div>\n    <\/div>\n\n    <footer class=\"pagefoot\">\n      <div class=\"refs\">\n        <h3>Referencias<\/h3>\n        <p>Banco de la Rep\u00fablica. (2026, 31 de julio). <em>Preguntas y respuestas sobre el programa de acumulaci\u00f3n de reservas aprobado en la sesi\u00f3n de la Junta Directiva de julio de 2026<\/em> [PDF]. https:\/\/www.banrep.gov.co\/es\/noticias\/junta-directiva\/decidio-iniciar-acumulacion-reservas-internacionales-2026<\/p>\n        <p>Banco de la Rep\u00fablica. (2026, 31 de julio). <em>La Junta Directiva del Banco de la Rep\u00fablica anuncia un programa de acumulaci\u00f3n de reservas internacionales<\/em> [Comunicado de prensa]. https:\/\/www.banrep.gov.co\/es\/noticias\/junta-directiva\/decidio-iniciar-acumulacion-reservas-internacionales-2026<\/p>\n        <p>Banco de la Rep\u00fablica. (2026). <em>Reservas internacionales<\/em>. https:\/\/www.banrep.gov.co\/es\/politica-monetaria-cambiaria\/reservas-internacionales<\/p>\n        <p>El Universal. (2026, 24 de julio). <em>Peso colombiano registra una de las mayores revaluaciones del siglo XXI<\/em>. https:\/\/www.eluniversal.com.co\/economica\/2026\/07\/24\/peso-colombiano-registra-una-de-las-mayores-revaluaciones-del-siglo-xxi\/<\/p>\n        <p>Infobae Colombia. (2026, 2 de agosto). <em>As\u00ed afectar\u00e1 a los colombianos la millonaria compra de reservas de d\u00f3lares que har\u00e1 el Banco de la Rep\u00fablica<\/em>. https:\/\/www.infobae.com\/colombia\/2026\/08\/02\/asi-afectara-a-los-colombianos-la-millonaria-compra-de-reservas-de-dolares-que-hara-el-banco-de-la-republica-no-es-una-solucion-suficiente\/<\/p>\n        <p>Infobae Colombia. (2026, 30 de julio). <em>El peso colombiano le gana terreno al d\u00f3lar estadounidense y llega a cifras que no se ve\u00edan hace diez a\u00f1os<\/em>. https:\/\/www.infobae.com\/colombia\/2026\/07\/30\/el-peso-colombiano-le-gana-terreno-al-dolar-estadounidense-y-llega-a-cifras-que-no-se-veian-hace-diez-anos-que-pasara-al-cierre-de-2026\/<\/p>\n        <p>Infobae Colombia. (2026, 7 de julio). <em>Esta es la millonada, en d\u00f3lares, que enviaron los colombianos como remesas en los primeros meses del 2026<\/em>. https:\/\/www.infobae.com\/colombia\/2026\/07\/07\/las-remesas-hacia-colombia-promedian-38-millones-de-dolares-diarios-sumaron-5638-millones-de-dolares-entre-enero-y-mayo-de-2026\/<\/p>\n        <p>Infobae Colombia. (2026, 27 de junio). <em>Remesas a Colombia subieron en mayo, pero acumulado del a\u00f1o sigue en descenso<\/em>. https:\/\/www.infobae.com\/colombia\/2026\/06\/27\/remesas-a-colombia-subieron-en-mayo-pero-acumulado-del-ano-sigue-en-descenso-llevan-24-meses-creciendo-mas-de-usd-1000-millones\/<\/p>\n        <p>La Rep\u00fablica. (2026, 29 de mayo). <em>El Eje Cafetero es la quinta econom\u00eda dentro del PIB colombiano<\/em>. https:\/\/www.larepublica.co\/especiales\/el-peso-del-eje-cafetero-en-la-economia\/el-eje-cafetero-es-la-quinta-economia-dentro-del-pib-colombiano-4403188<\/p>\n        <p>La Rep\u00fablica. (2026, julio). <em>Peso colombiano es la emergente m\u00e1s revaluada frente al d\u00f3lar en el \u00faltimo a\u00f1o<\/em>. https:\/\/www.larepublica.co\/finanzas\/peso-colombiano-es-la-emergente-mas-revaluada-frente-al-dolar-en-el-ultimo-ano-con-alza-de-29-8-4445330<\/p>\n        <p>La Rep\u00fablica. (2026, julio). <em>Junta Directiva del Banco de la Rep\u00fablica decidi\u00f3 mantener la tasa inalterada en 12%<\/em>. https:\/\/www.larepublica.co\/economia\/siga-el-cubrimiento-de-la-decision-de-tasas-de-julio-del-banco-de-la-republica-4448551<\/p>\n      <\/div>\n      <p style=\"margin-top:22px;\">Documento de uso interno. Observatorio Econ\u00f3mico, Tributario, Fiscal e Inmobiliario &middot; Secretar\u00eda de Hacienda, Alcald\u00eda de Armenia, Quind\u00edo. Elaborado por Cardozo, Y. R.<\/p>\n    <\/footer>\n  <\/section>\n\n<\/main>\n\n<script>\nfunction fmtEs(num, dec){\n  return Number(num).toLocaleString('es-CO', {minimumFractionDigits:dec, maximumFractionDigits:dec});\n}\n\nconst PLOT_CFG = {displayModeBar:false, responsive:true};\nconst FONT = {family:'IBM Plex Sans, Arial, sans-serif', color:'#e4e7e9', size:12};\nconst MONO = 'IBM Plex Mono, Courier New, monospace';\nconst GRID = '#2a2f32';\n\nfunction baseLayout(extra){\n  return Object.assign({\n    paper_bgcolor:'transparent',\n    plot_bgcolor:'transparent',\n    font:FONT,\n    showlegend:false,\n    margin:{l:60,r:30,t:20,b:70}\n  }, extra);\n}\n\nfunction buildARAChart(){\n  const traces = [\n    {type:'bar', orientation:'h', y:['Indicador ARA'], x:[1.0], base:0,\n      marker:{color:'#2a2f32'}, hoverinfo:'skip', width:0.45},\n    {type:'bar', orientation:'h', y:['Indicador ARA'], x:[0.5], base:1.0,\n      marker:{color:'rgba(0,170,0,0.40)'}, hoverinfo:'skip', width:0.45},\n    {type:'bar', orientation:'h', y:['Indicador ARA'], x:[0.6], base:1.5,\n      marker:{color:'#2a2f32'}, hoverinfo:'skip', width:0.45},\n    {type:'scatter', mode:'markers+text', x:[1.14], y:['Indicador ARA'],\n      marker:{color:'#FFEE00', size:18, symbol:'diamond', line:{color:'#0d0f10', width:2}},\n      text:['  1,14'], textposition:'middle right',\n      textfont:{color:'#FFEE00', size:15, family:MONO},\n      hoverinfo:'skip'}\n  ];\n  const layout = baseLayout({\n    xaxis:{range:[0,2.1], gridcolor:GRID, tickfont:{size:11}, zeroline:false, dtick:0.25,\n      title:{text:'Rango del indicador (0 = por debajo del umbral m\u00ednimo)', font:{size:11}}},\n    yaxis:{showticklabels:false, fixedrange:true},\n    height:170,\n    margin:{l:20,r:70,t:24,b:50}\n  });\n  Plotly.newPlot('chart-ara', traces, layout, PLOT_CFG);\n}\n\nfunction buildReservasChart(){\n  const cats = ['Nivel actual<br>(estimado, con base en el 6% oficial)', 'Objetivo si se completa<br>el programa (cifra oficial)'];\n  const vals = [66.67, 73.73];\n  const txt = vals.map(v => 'USD ' + fmtEs(v,2) + ' mil M');\n  const trace = {type:'bar', x:cats, y:vals, marker:{color:['#6b7278','#00AA00']},\n    text:txt, textposition:'outside', textfont:{family:MONO, size:13, color:'#e4e7e9'},\n    hoverinfo:'skip'};\n  const layout = baseLayout({\n    xaxis:{type:'category', tickfont:{size:12}},\n    yaxis:{title:{text:'USD, mil millones', font:{size:11}}, gridcolor:GRID, range:[0,88]},\n    height:360,\n    margin:{l:65,r:30,t:20,b:75}\n  });\n  Plotly.newPlot('chart-reservas', [trace], layout, PLOT_CFG);\n}\n\nfunction buildComparativoChart(){\n  const cats = ['Programa 2024<br>(objetivo cumplido)', 'Programa 2026<br>(en curso, monto m\u00e1ximo)'];\n  const vals = [1500, 4000];\n  const txt = vals.map(v => 'USD ' + fmtEs(v,1) + ' M');\n  const trace = {type:'bar', x:cats, y:vals, marker:{color:['#6b7278','#00AA00']},\n    text:txt, textposition:'outside', textfont:{family:MONO, size:13, color:'#e4e7e9'},\n    hoverinfo:'skip'};\n  const layout = baseLayout({\n    xaxis:{type:'category', tickfont:{size:12}},\n    yaxis:{title:{text:'USD, millones', font:{size:11}}, gridcolor:GRID, range:[0,4600]},\n    height:360,\n    margin:{l:70,r:30,t:20,b:75}\n  });\n  Plotly.newPlot('chart-comparativo', [trace], layout, PLOT_CFG);\n}\n\nfunction buildApreciacionChart(){\n  const cats = ['12 meses<br>(jul-2025 a jul-2026)', '4 a\u00f1os', 'Desde ago-2022<br>(cambio de gobierno)'];\n  const vals = [29.86, 27.2, 21.0];\n  const txt = vals.map(v => fmtEs(v,2) + '%');\n  const trace = {type:'bar', x:cats, y:vals, marker:{color:'#00AA00'},\n    text:txt, textposition:'outside', textfont:{family:MONO, size:13, color:'#e4e7e9'},\n    hoverinfo:'skip'};\n  const layout = baseLayout({\n    xaxis:{type:'category', tickfont:{size:12}},\n    yaxis:{title:{text:'Apreciaci\u00f3n acumulada del peso frente al d\u00f3lar (%)', font:{size:11}}, gridcolor:GRID, range:[0,36]},\n    height:370,\n    margin:{l:60,r:30,t:20,b:85}\n  });\n  Plotly.newPlot('chart-apreciacion', [trace], layout, PLOT_CFG);\n}\n\nfunction buildTasaChart(){\n  const cats = ['Vigente hasta<br>30-jun-2026', 'Desde 1-jul-2026<br>(+75 pb; sostenida el 31-jul)'];\n  const vals = [11.25, 12.00];\n  const txt = vals.map(v => fmtEs(v,2) + '%');\n  const trace = {type:'bar', x:cats, y:vals, marker:{color:['#6b7278','#FFEE00']},\n    text:txt, textposition:'outside', textfont:{family:MONO, size:13, color:'#e4e7e9'},\n    hoverinfo:'skip'};\n  const layout = baseLayout({\n    xaxis:{type:'category', tickfont:{size:12}},\n    yaxis:{title:{text:'Tasa de inter\u00e9s de pol\u00edtica monetaria (%)', font:{size:11}}, gridcolor:GRID, range:[0,14.5]},\n    height:360,\n    margin:{l:55,r:30,t:20,b:85}\n  });\n  Plotly.newPlot('chart-tasa', [trace], layout, PLOT_CFG);\n}\n\nfunction buildPIBQuindioChart(){\n  const cats = ['Agricultura', 'Comercio', 'Administraci\u00f3n p\u00fablica', 'Resto de sectores'];\n  const vals = [3.3, 3.2, 2.5, 5.5];\n  const txt = vals.map(v => 'COP ' + fmtEs(v,1) + ' bn');\n  const trace = {type:'bar', orientation:'h', y:cats, x:vals,\n    marker:{color:['#00AA00','#00AA00','#00AA00','#6b7278']},\n    text:txt, textposition:'outside', textfont:{family:MONO, size:12, color:'#e4e7e9'},\n    hoverinfo:'skip'};\n  const layout = baseLayout({\n    xaxis:{title:{text:'Billones de pesos corrientes (COP)', font:{size:11}}, gridcolor:GRID, range:[0,6.6]},\n    yaxis:{type:'category', automargin:true, tickfont:{size:12}},\n    height:280,\n    margin:{l:20,r:70,t:20,b:55}\n  });\n  Plotly.newPlot('chart-pib-quindio', [trace], layout, PLOT_CFG);\n}\n\nfunction buildRemesasChart(){\n  const cats = ['Valle del<br>Cauca', 'Cundinamarca', 'Antioquia', 'Risaralda y<br>Atl\u00e1ntico (conj.)', 'Resto del pa\u00eds<br>(incl. Quind\u00edo)'];\n  const vals = [25.7, 16.3, 16.2, 8.5, 33.3];\n  const colors = ['#6b7278','#6b7278','#6b7278','#00AA00','#FFEE00'];\n  const txt = vals.map(v => fmtEs(v,1) + '%');\n  const trace = {type:'bar', x:cats, y:vals, marker:{color:colors},\n    text:txt, textposition:'outside', textfont:{family:MONO, size:12, color:'#e4e7e9'},\n    hoverinfo:'skip'};\n  const layout = baseLayout({\n    xaxis:{type:'category', tickfont:{size:11}},\n    yaxis:{title:{text:'Participaci\u00f3n en remesas recibidas, 1T-2026 (%)', font:{size:11}}, gridcolor:GRID, range:[0,39]},\n    height:390,\n    margin:{l:60,r:30,t:20,b:95}\n  });\n  Plotly.newPlot('chart-remesas', [trace], layout, PLOT_CFG);\n}\n\nconst CHART_BUILDERS = {\n  panorama:    [buildARAChart, buildReservasChart],\n  mecanismo:   [buildComparativoChart],\n  cambiario:   [buildApreciacionChart, buildTasaChart],\n  territorial: [buildPIBQuindioChart, buildRemesasChart],\n  sintesis:    []\n};\nconst built = {};\n\nfunction runBuilders(tabId){\n  (CHART_BUILDERS[tabId] || []).forEach(function(fn){\n    if(!built[fn.name]){\n      try{\n        fn();\n        built[fn.name] = true;\n      }catch(e){\n        setTimeout(function(){\n          try{ fn(); built[fn.name] = true; }\n          catch(e2){ console.error('Fallo al construir', fn.name, e2); }\n        }, 180);\n      }\n    }\n  });\n}\n\nfunction openTab(tabId){\n  document.querySelectorAll('.tabpanel').forEach(function(p){ p.classList.remove('active'); });\n  document.querySelectorAll('.tabbtn').forEach(function(b){ b.classList.remove('active'); });\n  document.getElementById(tabId).classList.add('active');\n  document.getElementById('tabbtn-' + tabId).classList.add('active');\n  window.requestAnimationFrame(function(){ runBuilders(tabId); });\n}\n\ndocument.addEventListener('DOMContentLoaded', function(){\n  runBuilders('panorama');\n});\n<\/script>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8220","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/posts\/8220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/comments?post=8220"}],"version-history":[{"count":1,"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/posts\/8220\/revisions"}],"predecessor-version":[{"id":8221,"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/posts\/8220\/revisions\/8221"}],"wp:attachment":[{"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/media?parent=8220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/categories?post=8220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/observatorioarmenia.org\/site\/wp-json\/wp\/v2\/tags?post=8220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}