From 6574d5d6e58ab5aeb97950ea764a79a879a8e629 Mon Sep 17 00:00:00 2001 From: Ben Simpson Date: Fri, 9 Feb 2024 15:42:18 +0000 Subject: [PATCH] [fix] Update tooltip styles --- .../dist/assets/{index-4796c824.js => index-5828d283.js} | 2 +- .../dist/assets/{index-fa41f432.css => index-98e3ee4e.css} | 2 +- dashboard/assets/packages/ui/dist/index.html | 4 ++-- .../packages/ui/src/components/Tooltip/Tooltip.css.ts | 4 +++- dashboard/assets/packages/view/dist/index.js | 5 ++--- dashboard/assets/packages/view/src/tooltip.ts | 7 ++++--- 6 files changed, 13 insertions(+), 11 deletions(-) rename dashboard/assets/packages/ui/dist/assets/{index-4796c824.js => index-5828d283.js} (99%) rename dashboard/assets/packages/ui/dist/assets/{index-fa41f432.css => index-98e3ee4e.css} (50%) diff --git a/dashboard/assets/packages/ui/dist/assets/index-4796c824.js b/dashboard/assets/packages/ui/dist/assets/index-5828d283.js similarity index 99% rename from dashboard/assets/packages/ui/dist/assets/index-4796c824.js rename to dashboard/assets/packages/ui/dist/assets/index-5828d283.js index c0baf5d..51340d2 100644 --- a/dashboard/assets/packages/ui/dist/assets/index-4796c824.js +++ b/dashboard/assets/packages/ui/dist/assets/index-5828d283.js @@ -45,6 +45,6 @@ Error generating stack: `+i.message+` * http://adamwdraper.github.com/Numeral-js/ */(function(e){(function(t,n){e.exports?e.exports=n():t.numeral=n()})(Jv,function(){var t,n,r="2.0.6",l={},i={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},s={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function u(a,c){this._input=a,this._value=c}return t=function(a){var c,p,d,g;if(t.isNumeral(a))c=a.value();else if(a===0||typeof a>"u")c=0;else if(a===null||n.isNaN(a))c=null;else if(typeof a=="string")if(s.zeroFormat&&a===s.zeroFormat)c=0;else if(s.nullFormat&&a===s.nullFormat||!a.replace(/[^0-9]+/g,"").length)c=null;else{for(p in l)if(g=typeof l[p].regexps.unformat=="function"?l[p].regexps.unformat():l[p].regexps.unformat,g&&a.match(g)){d=l[p].unformat;break}d=d||t._.stringToNumber,c=d(a)}else c=Number(a)||null;return new u(a,c)},t.version=r,t.isNumeral=function(a){return a instanceof u},t._=n={numberToFormat:function(a,c,p){var d=i[t.options.currentLocale],g=!1,_=!1,x=0,P="",y=1e12,v=1e9,w=1e6,T=1e3,O="",R=!1,M,L,I,b,z,H,K;if(a=a||0,L=Math.abs(a),t._.includes(c,"(")?(g=!0,c=c.replace(/[\(|\)]/g,"")):(t._.includes(c,"+")||t._.includes(c,"-"))&&(z=t._.includes(c,"+")?c.indexOf("+"):a<0?c.indexOf("-"):-1,c=c.replace(/[\+|\-]/g,"")),t._.includes(c,"a")&&(M=c.match(/a(k|m|b|t)?/),M=M?M[1]:!1,t._.includes(c," a")&&(P=" "),c=c.replace(new RegExp(P+"a[kmbt]?"),""),L>=y&&!M||M==="t"?(P+=d.abbreviations.trillion,a=a/y):L=v&&!M||M==="b"?(P+=d.abbreviations.billion,a=a/v):L=w&&!M||M==="m"?(P+=d.abbreviations.million,a=a/w):(L=T&&!M||M==="k")&&(P+=d.abbreviations.thousand,a=a/T)),t._.includes(c,"[.]")&&(_=!0,c=c.replace("[.]",".")),I=a.toString().split(".")[0],b=c.split(".")[1],H=c.indexOf(","),x=(c.split(".")[0].split(",")[0].match(/0/g)||[]).length,b?(t._.includes(b,"[")?(b=b.replace("]",""),b=b.split("["),O=t._.toFixed(a,b[0].length+b[1].length,p,b[1].length)):O=t._.toFixed(a,b.length,p),I=O.split(".")[0],t._.includes(O,".")?O=d.delimiters.decimal+O.split(".")[1]:O="",_&&Number(O.slice(1))===0&&(O="")):I=t._.toFixed(a,0,p),P&&!M&&Number(I)>=1e3&&P!==d.abbreviations.trillion)switch(I=String(Number(I)/1e3),P){case d.abbreviations.thousand:P=d.abbreviations.million;break;case d.abbreviations.million:P=d.abbreviations.billion;break;case d.abbreviations.billion:P=d.abbreviations.trillion;break}if(t._.includes(I,"-")&&(I=I.slice(1),R=!0),I.length0;oe--)I="0"+I;return H>-1&&(I=I.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+d.delimiters.thousands)),c.indexOf(".")===0&&(I=""),K=I+O+(P||""),g?K=(g&&R?"(":"")+K+(g&&R?")":""):z>=0?K=z===0?(R?"-":"+")+K:K+(R?"-":"+"):R&&(K="-"+K),K},stringToNumber:function(a){var c=i[s.currentLocale],p=a,d={thousand:3,million:6,billion:9,trillion:12},g,_,x;if(s.zeroFormat&&a===s.zeroFormat)_=0;else if(s.nullFormat&&a===s.nullFormat||!a.replace(/[^0-9]+/g,"").length)_=null;else{_=1,c.delimiters.decimal!=="."&&(a=a.replace(/\./g,"").replace(c.delimiters.decimal,"."));for(g in d)if(x=new RegExp("[^a-zA-Z]"+c.abbreviations[g]+"(?:\\)|(\\"+c.currency.symbol+")?(?:\\))?)?$"),p.match(x)){_*=Math.pow(10,d[g]);break}_*=(a.split("-").length+Math.min(a.split("(").length-1,a.split(")").length-1))%2?1:-1,a=a.replace(/[^0-9\.]+/g,""),_*=Number(a)}return _},isNaN:function(a){return typeof a=="number"&&isNaN(a)},includes:function(a,c){return a.indexOf(c)!==-1},insert:function(a,c,p){return a.slice(0,p)+c+a.slice(p)},reduce:function(a,c){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof c!="function")throw new TypeError(c+" is not a function");var p=Object(a),d=p.length>>>0,g=0,_;if(arguments.length===3)_=arguments[2];else{for(;g=d)throw new TypeError("Reduce of empty array with no initial value");_=p[g++]}for(;gd?c:d},1)},toFixed:function(a,c,p,d){var g=a.toString().split("."),_=c-(d||0),x,P,y,v;return g.length===2?x=Math.min(Math.max(g[1].length,_),c):x=_,y=Math.pow(10,x),v=(p(a+"e+"+x)/y).toFixed(x),d>c-x&&(P=new RegExp("\\.?0{1,"+(d-(c-x))+"}$"),v=v.replace(P,"")),v}},t.options=s,t.formats=l,t.locales=i,t.locale=function(a){return a&&(s.currentLocale=a.toLowerCase()),s.currentLocale},t.localeData=function(a){if(!a)return i[s.currentLocale];if(a=a.toLowerCase(),!i[a])throw new Error("Unknown locale : "+a);return i[a]},t.reset=function(){for(var a in o)s[a]=o[a]},t.zeroFormat=function(a){s.zeroFormat=typeof a=="string"?a:null},t.nullFormat=function(a){s.nullFormat=typeof a=="string"?a:null},t.defaultFormat=function(a){s.defaultFormat=typeof a=="string"?a:"0.0"},t.register=function(a,c,p){if(c=c.toLowerCase(),this[a+"s"][c])throw new TypeError(c+" "+a+" already registered.");return this[a+"s"][c]=p,p},t.validate=function(a,c){var p,d,g,_,x,P,y,v;if(typeof a!="string"&&(a+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",a)),a=a.trim(),a.match(/^\d+$/))return!0;if(a==="")return!1;try{y=t.localeData(c)}catch{y=t.localeData(t.locale())}return g=y.currency.symbol,x=y.abbreviations,p=y.delimiters.decimal,y.delimiters.thousands==="."?d="\\.":d=y.delimiters.thousands,v=a.match(/^[^\d]+/),v!==null&&(a=a.substr(1),v[0]!==g)||(v=a.match(/[^\d]+$/),v!==null&&(a=a.slice(0,-1),v[0]!==x.thousand&&v[0]!==x.million&&v[0]!==x.billion&&v[0]!==x.trillion))?!1:(P=new RegExp(d+"{2}"),a.match(/[^\d.,]/g)?!1:(_=a.split(p),_.length>2?!1:_.length<2?!!_[0].match(/^\d+.*\d$/)&&!_[0].match(P):_[0].length===1?!!_[0].match(/^\d+$/)&&!_[0].match(P)&&!!_[1].match(/^\d+$/):!!_[0].match(/^\d+.*\d$/)&&!_[0].match(P)&&!!_[1].match(/^\d+$/)))},t.fn=u.prototype={clone:function(){return t(this)},format:function(a,c){var p=this._value,d=a||s.defaultFormat,g,_,x;if(c=c||Math.round,p===0&&s.zeroFormat!==null)_=s.zeroFormat;else if(p===null&&s.nullFormat!==null)_=s.nullFormat;else{for(g in l)if(d.match(l[g].regexps.format)){x=l[g].format;break}x=x||t._.numberToFormat,_=x(p,d,c)}return _},value:function(){return this._value},input:function(){return this._input},set:function(a){return this._value=Number(a),this},add:function(a){var c=n.correctionFactor.call(null,this._value,a);function p(d,g,_,x){return d+Math.round(c*g)}return this._value=n.reduce([this._value,a],p,0)/c,this},subtract:function(a){var c=n.correctionFactor.call(null,this._value,a);function p(d,g,_,x){return d-Math.round(c*g)}return this._value=n.reduce([a],p,Math.round(this._value*c))/c,this},multiply:function(a){function c(p,d,g,_){var x=n.correctionFactor(p,d);return Math.round(p*x)*Math.round(d*x)/Math.round(x*x)}return this._value=n.reduce([this._value,a],c,1),this},divide:function(a){function c(p,d,g,_){var x=n.correctionFactor(p,d);return Math.round(p*x)/Math.round(d*x)}return this._value=n.reduce([this._value,a],c),this},difference:function(a){return Math.abs(t(this._value).subtract(a).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var c=a%10;return~~(a%100/10)===1?"th":c===1?"st":c===2?"nd":c===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(a,c,p){var d=t._.includes(c," BPS")?" ":"",g;return a=a*1e4,c=c.replace(/\s?BPS/,""),g=t._.numberToFormat(a,c,p),t._.includes(g,")")?(g=g.split(""),g.splice(-1,0,d+"BPS"),g=g.join("")):g=g+d+"BPS",g},unformat:function(a){return+(t._.stringToNumber(a)*1e-4).toFixed(15)}})}(),function(){var a={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},c={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},p=a.suffixes.concat(c.suffixes.filter(function(g){return a.suffixes.indexOf(g)<0})),d=p.join("|");d="("+d.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(d)},format:function(g,_,x){var P,y=t._.includes(_,"ib")?c:a,v=t._.includes(_," b")||t._.includes(_," ib")?" ":"",w,T,O;for(_=_.replace(/\s?i?b/,""),w=0;w<=y.suffixes.length;w++)if(T=Math.pow(y.base,w),O=Math.pow(y.base,w+1),g===null||g===0||g>=T&&g0&&(g=g/T);break}return P=t._.numberToFormat(g,_,x),P+v},unformat:function(g){var _=t._.stringToNumber(g),x,P;if(_){for(x=a.suffixes.length-1;x>=0;x--){if(t._.includes(g,a.suffixes[x])){P=Math.pow(a.base,x);break}if(t._.includes(g,c.suffixes[x])){P=Math.pow(c.base,x);break}}_*=P||1}return _}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(a,c,p){var d=t.locales[t.options.currentLocale],g={before:c.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:c.match(/([\+|\-|\)|\s|\$]*)$/)[0]},_,x,P;for(c=c.replace(/\s?\$\s?/,""),_=t._.numberToFormat(a,c,p),a>=0?(g.before=g.before.replace(/[\-\(]/,""),g.after=g.after.replace(/[\-\)]/,"")):a<0&&!t._.includes(g.before,"-")&&!t._.includes(g.before,"(")&&(g.before="-"+g.before),P=0;P=0;P--)switch(x=g.after[P],x){case"$":_=P===g.after.length-1?_+d.currency.symbol:t._.insert(_,d.currency.symbol,-(g.after.length-(1+P)));break;case" ":_=P===g.after.length-1?_+" ":t._.insert(_," ",-(g.after.length-(1+P)+d.currency.symbol.length-1));break}return _}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(a,c,p){var d,g=typeof a=="number"&&!t._.isNaN(a)?a.toExponential():"0e+0",_=g.split("e");return c=c.replace(/e[\+|\-]{1}0/,""),d=t._.numberToFormat(Number(_[0]),c,p),d+"e"+_[1]},unformat:function(a){var c=t._.includes(a,"e+")?a.split("e+"):a.split("e-"),p=Number(c[0]),d=Number(c[1]);d=t._.includes(a,"e-")?d*=-1:d;function g(_,x,P,y){var v=t._.correctionFactor(_,x),w=_*v*(x*v)/(v*v);return w}return t._.reduce([p,Math.pow(10,d)],g,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(a,c,p){var d=t.locales[t.options.currentLocale],g,_=t._.includes(c," o")?" ":"";return c=c.replace(/\s?o/,""),_+=d.ordinal(a),g=t._.numberToFormat(a,c,p),g+_}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(a,c,p){var d=t._.includes(c," %")?" ":"",g;return t.options.scalePercentBy100&&(a=a*100),c=c.replace(/\s?\%/,""),g=t._.numberToFormat(a,c,p),t._.includes(g,")")?(g=g.split(""),g.splice(-1,0,d+"%"),g=g.join("")):g=g+d+"%",g},unformat:function(a){var c=t._.stringToNumber(a);return t.options.scalePercentBy100?c*.01:c}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(a,c,p){var d=Math.floor(a/60/60),g=Math.floor((a-d*60*60)/60),_=Math.round(a-d*60*60-g*60);return d+":"+(g<10?"0"+g:g)+":"+(_<10?"0"+_:_)},unformat:function(a){var c=a.split(":"),p=0;return c.length===3?(p=p+Number(c[0])*60*60,p=p+Number(c[1])*60,p=p+Number(c[2])):c.length===2&&(p=p+Number(c[0])*60,p=p+Number(c[1])),Number(p)}})}(),t})})(H1);var j3=H1.exports;const m0=pa(j3),A3=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],b3=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],D3=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],z3=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],v0=(e,t,n)=>{let r=e;return typeof t=="string"||Array.isArray(t)?r=e.toLocaleString(t,n):(t===!0||n!==void 0)&&(r=e.toLocaleString(void 0,n)),r};function F3(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const n=t.bits?t.binary?z3:D3:t.binary?b3:A3,r=t.space?" ":"";if(t.signed&&e===0)return` 0${r}${n[0]}`;const l=e<0,i=l?"-":t.signed?"+":"";l&&(e=-e);let o;if(t.minimumFractionDigits!==void 0&&(o={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(o={maximumFractionDigits:t.maximumFractionDigits,...o}),e<1){const c=v0(e,t.locale,o);return i+c+r+n[0]}const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1);e/=(t.binary?1024:1e3)**s,o||(e=e.toPrecision(3));const u=v0(Number(e),t.locale,o),a=n[s];return i+u+r+a}function I3(e){if(typeof e!="number")throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(e*1e3)%1e3,nanoseconds:t(e*1e6)%1e3}}const B3=(e,t)=>t===1?e:`${e}s`,$3=1e-7;function H3(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const n=[],r=(o,s)=>{const u=Math.floor(o*10**s+$3);return(Math.round(u)/10**s).toFixed(s)},l=(o,s,u,a)=>{if((n.length===0||!t.colonNotation)&&o===0&&!(t.colonNotation&&u==="m"))return;a=(a||o||"0").toString();let c,p;if(t.colonNotation){c=n.length>0?":":"",p="";const d=a.includes(".")?a.split(".")[0].length:a.length,g=n.length>0?2:1;a="0".repeat(Math.max(0,g-d))+a}else c="",p=t.verbose?" "+B3(s,o):u;n.push(c+a+p)},i=I3(e);if(l(Math.trunc(i.days/365),"year","y"),l(i.days%365,"day","d"),l(i.hours,"hour","h"),l(i.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(l(i.seconds,"second","s"),t.formatSubMilliseconds)l(i.milliseconds,"millisecond","ms"),l(i.microseconds,"microsecond","µs"),l(i.nanoseconds,"nanosecond","ns");else{const o=i.milliseconds+i.microseconds/1e3+i.nanoseconds/1e6,s=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,u=o>=1?Math.round(o):Math.ceil(o),a=s?o.toFixed(s):u;l(Number.parseFloat(a),"millisecond","ms",a)}else{const o=e/1e3%60,s=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,u=r(o,s),a=t.keepDecimalsOnWholeSeconds?u:u.replace(/\.0+$/,"");l(Number.parseFloat(a),"second","s",a)}if(n.length===0)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return n[0];if(typeof t.unitCount=="number"){const o=t.colonNotation?"":" ";return n.slice(0,Math.max(t.unitCount,1)).join(o)}return t.colonNotation?n.join(""):n.join(" ")}const V3=!0,dt="u-",U3="uplot",W3=dt+"hz",q3=dt+"vt",K3=dt+"title",G3=dt+"wrap",Y3=dt+"under",Q3=dt+"over",Z3=dt+"axis",Yr=dt+"off",J3=dt+"select",X3=dt+"cursor-x",ex=dt+"cursor-y",tx=dt+"cursor-pt",nx=dt+"legend",rx=dt+"live",lx=dt+"inline",ix=dt+"series",ox=dt+"marker",g0=dt+"label",sx=dt+"value",qi="width",Ki="height",Bi="top",y0="bottom",El="left",zu="right",ed="#000",w0=ed+"0",_0="mousemove",x0="mousedown",Fu="mouseup",k0="mouseenter",S0="mouseleave",E0="dblclick",ax="resize",ux="scroll",C0="change",ua="dppxchange",td="--",hi=typeof window<"u",$c=hi?document:null,Wl=hi?window:null,cx=hi?navigator:null;let Te,ws;function Hc(){let e=devicePixelRatio;Te!=e&&(Te=e,ws&&Uc(C0,ws,Hc),ws=matchMedia(`(min-resolution: ${Te-.001}dppx) and (max-resolution: ${Te+.001}dppx)`),nl(C0,ws,Hc),Wl.dispatchEvent(new CustomEvent(ua)))}function en(e,t){if(t!=null){let n=e.classList;!n.contains(t)&&n.add(t)}}function Vc(e,t){let n=e.classList;n.contains(t)&&n.remove(t)}function He(e,t,n){e.style[t]=n+"px"}function Rn(e,t,n,r){let l=$c.createElement(e);return t!=null&&en(l,t),n!=null&&n.insertBefore(l,r),l}function mn(e,t){return Rn("div",e,t)}const T0=new WeakMap;function Cl(e,t,n,r,l){let i="translate("+t+"px,"+n+"px)",o=T0.get(e);i!=o&&(e.style.transform=i,T0.set(e,i),t<0||n<0||t>r||n>l?en(e,Yr):Vc(e,Yr))}const P0=new WeakMap;function fx(e,t,n){let r=t+n,l=P0.get(e);r!=l&&(P0.set(e,r),e.style.background=t,e.style.borderColor=n)}const O0=new WeakMap;function dx(e,t,n,r){let l=t+""+n,i=O0.get(e);l!=i&&(O0.set(e,l),e.style.height=n+"px",e.style.width=t+"px",e.style.marginLeft=r?-t/2+"px":0,e.style.marginTop=r?-n/2+"px":0)}const nd={passive:!0},V1={...nd,capture:!0};function nl(e,t,n,r){t.addEventListener(e,n,r?V1:nd)}function Uc(e,t,n,r){t.removeEventListener(e,n,r?V1:nd)}hi&&Hc();function wr(e,t,n,r){let l;n=n||0,r=r||t.length-1;let i=r<=2147483647;for(;r-n>1;)l=i?n+r>>1:on((n+r)/2),t[l]=t&&l<=n;l+=r)if(e[l]!=null)return l;return-1}function px(e,t,n,r){let l=ke,i=-ke;if(r==1)l=e[t],i=e[n];else if(r==-1)l=e[n],i=e[t];else for(let o=t;o<=n;o++){let s=e[o];s!=null&&(si&&(i=s))}return[l,i]}function hx(e,t,n){let r=ke,l=-ke;for(let i=t;i<=n;i++){let o=e[i];o!=null&&o>0&&(ol&&(l=o))}return[r==ke?1:r,l==-ke?10:l]}function ja(e,t,n,r){let l=R0(e),i=R0(t),o=n==10?ir:U1;e==t&&(l==-1?(e*=n,t/=n):(e/=n,t*=n));let s=l==1?on:li,u=i==1?li:on,a=s(o(_t(e))),c=u(o(_t(t))),p=ii(n,a),d=ii(n,c);return n==10&&(a<0&&(p=je(p,-a)),c<0&&(d=je(d,-c))),r||n==2?(e=p*l,t=d*i):(e=q1(e,p),t=si(t,d)),[e,t]}function rd(e,t,n,r){let l=ja(e,t,n,r);return e==0&&(l[0]=0),t==0&&(l[1]=0),l}const ld=.1,N0={mode:3,pad:ld},oo={pad:0,soft:null,mode:0},mx={min:oo,max:oo};function ca(e,t,n,r){return Aa(n)?M0(e,t,n):(oo.pad=n,oo.soft=r?0:null,oo.mode=r?3:0,M0(e,t,mx))}function Pe(e,t){return e??t}function vx(e,t,n){for(t=Pe(t,0),n=Pe(n,e.length-1);t<=n;){if(e[t]!=null)return!0;t++}return!1}function M0(e,t,n){let r=n.min,l=n.max,i=Pe(r.pad,0),o=Pe(l.pad,0),s=Pe(r.hard,-ke),u=Pe(l.hard,ke),a=Pe(r.soft,ke),c=Pe(l.soft,-ke),p=Pe(r.mode,0),d=Pe(l.mode,0),g=t-e,_=ir(g),x=xt(_t(e),_t(t)),P=ir(x),y=_t(P-_);(g<1e-9||y>10)&&(g=0,(e==0||t==0)&&(g=1e-9,p==2&&a!=ke&&(i=0),d==2&&c!=-ke&&(o=0)));let v=g||x||1e3,w=ir(v),T=ii(10,on(w)),O=v*(g==0?e==0?.1:1:i),R=je(q1(e-O,T/10),9),M=e>=a&&(p==1||p==3&&R<=a||p==2&&R>=a)?a:ke,L=xt(s,R=M?M:nn(M,R)),I=v*(g==0?t==0?.1:1:o),b=je(si(t+I,T/10),9),z=t<=c&&(d==1||d==3&&b>=c||d==2&&b<=c)?c:-ke,H=nn(u,b>z&&t<=z?z:xt(z,b));return L==H&&L==0&&(H=100),[L,H]}const gx=new Intl.NumberFormat(hi?cx.language:"en-US"),id=e=>gx.format(e),fn=Math,Ds=fn.PI,_t=fn.abs,on=fn.floor,Nt=fn.round,li=fn.ceil,nn=fn.min,xt=fn.max,ii=fn.pow,R0=fn.sign,ir=fn.log10,U1=fn.log2,yx=(e,t=1)=>fn.sinh(e)*t,Iu=(e,t=1)=>fn.asinh(e/t),ke=1/0;function L0(e){return(ir((e^e>>31)-(e>>31))|0)+1}function j0(e,t,n){return nn(xt(e,t),n)}function xe(e){return typeof e=="function"?e:()=>e}const wx=()=>{},_x=e=>e,W1=(e,t)=>t,xx=e=>null,A0=e=>!0,b0=(e,t)=>e==t,oi=e=>je(e,14);function Gr(e,t){return oi(je(oi(e/t))*t)}function si(e,t){return oi(li(oi(e/t))*t)}function q1(e,t){return oi(on(oi(e/t))*t)}function je(e,t=0){if(kx(e))return e;let n=10**t,r=e*n*(1+Number.EPSILON);return Nt(r)/n}const ai=new Map;function K1(e){return((""+e).split(".")[1]||"").length}function No(e,t,n,r){let l=[],i=r.map(K1);for(let o=t;o=0&&o>=0?0:s)+(o>=i[a]?0:i[a]),d=je(c,p);l.push(d),ai.set(d,p)}}return l}const so={},G1=[],ui=[null,null],kr=Array.isArray,kx=Number.isInteger,Sx=e=>e===void 0;function D0(e){return typeof e=="string"}function Aa(e){let t=!1;if(e!=null){let n=e.constructor;t=n==null||n==Object}return t}function z0(e){return e!=null&&typeof e=="object"}const Ex=Object.getPrototypeOf(Uint8Array);function rl(e,t=Aa){let n;if(kr(e)){let r=e.find(l=>l!=null);if(kr(r)||t(r)){n=Array(e.length);for(let l=0;li){for(l=o-1;l>=0&&e[l]==null;)e[l--]=null;for(l=o+1;lo-s)],l=r[0].length,i=new Map;for(let o=0;o"u"?e=>Promise.resolve().then(e):queueMicrotask;function Rx(e){let t=e[0],n=t.length,r=Array(n);for(let i=0;it[i]-t[o]);let l=[];for(let i=0;i=r&&e[l]==null;)l--;if(l<=r)return!0;const i=xt(1,on((l-r+1)/t));for(let o=e[r],s=r+i;s<=l;s+=i){const u=e[s];if(u!=null){if(u<=o)return!1;o=u}}return!0}const Y1=["January","February","March","April","May","June","July","August","September","October","November","December"],Q1=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function Z1(e){return e.slice(0,3)}const Ax=Q1.map(Z1),bx=Y1.map(Z1),Dx={MMMM:Y1,MMM:bx,WWWW:Q1,WWW:Ax};function $i(e){return(e<10?"0":"")+e}function zx(e){return(e<10?"00":e<100?"0":"")+e}const Fx={YYYY:e=>e.getFullYear(),YY:e=>(e.getFullYear()+"").slice(2),MMMM:(e,t)=>t.MMMM[e.getMonth()],MMM:(e,t)=>t.MMM[e.getMonth()],MM:e=>$i(e.getMonth()+1),M:e=>e.getMonth()+1,DD:e=>$i(e.getDate()),D:e=>e.getDate(),WWWW:(e,t)=>t.WWWW[e.getDay()],WWW:(e,t)=>t.WWW[e.getDay()],HH:e=>$i(e.getHours()),H:e=>e.getHours(),h:e=>{let t=e.getHours();return t==0?12:t>12?t-12:t},AA:e=>e.getHours()>=12?"PM":"AM",aa:e=>e.getHours()>=12?"pm":"am",a:e=>e.getHours()>=12?"p":"a",mm:e=>$i(e.getMinutes()),m:e=>e.getMinutes(),ss:e=>$i(e.getSeconds()),s:e=>e.getSeconds(),fff:e=>zx(e.getMilliseconds())};function od(e,t){t=t||Dx;let n=[],r=/\{([a-z]+)\}|[^{]+/gi,l;for(;l=r.exec(e);)n.push(l[0][0]=="{"?Fx[l[1]]:l[0]);return i=>{let o="";for(let s=0;se%1==0,fa=[1,2,2.5,5],$x=No(10,-16,0,fa),X1=No(10,0,16,fa),Hx=X1.filter(J1),Vx=$x.concat(X1),sd=` `,ev="{YYYY}",F0=sd+ev,tv="{M}/{D}",Gi=sd+tv,_s=Gi+"/{YY}",nv="{aa}",Ux="{h}:{mm}",Tl=Ux+nv,I0=sd+Tl,B0=":{ss}",Ne=null;function rv(e){let t=e*1e3,n=t*60,r=n*60,l=r*24,i=l*30,o=l*365,u=(e==1?No(10,0,3,fa).filter(J1):No(10,-3,0,fa)).concat([t,t*5,t*10,t*15,t*30,n,n*5,n*10,n*15,n*30,r,r*2,r*3,r*4,r*6,r*8,r*12,l,l*2,l*3,l*4,l*5,l*6,l*7,l*8,l*9,l*10,l*15,i,i*2,i*3,i*4,i*6,o,o*2,o*5,o*10,o*25,o*50,o*100]);const a=[[o,ev,Ne,Ne,Ne,Ne,Ne,Ne,1],[l*28,"{MMM}",F0,Ne,Ne,Ne,Ne,Ne,1],[l,tv,F0,Ne,Ne,Ne,Ne,Ne,1],[r,"{h}"+nv,_s,Ne,Gi,Ne,Ne,Ne,1],[n,Tl,_s,Ne,Gi,Ne,Ne,Ne,1],[t,B0,_s+" "+Tl,Ne,Gi+" "+Tl,Ne,I0,Ne,1],[e,B0+".{fff}",_s+" "+Tl,Ne,Gi+" "+Tl,Ne,I0,Ne,1]];function c(p){return(d,g,_,x,P,y)=>{let v=[],w=P>=o,T=P>=i&&P=l?l:P,b=on(_)-on(R),z=L+b+si(R-L,I);v.push(z);let H=p(z),K=H.getHours()+H.getMinutes()/n+H.getSeconds()/r,oe=P/r,se=d.axes[g]._space,fe=y/se;for(;z=je(z+P,e==1?0:3),!(z>x);)if(oe>1){let ne=on(je(K+oe,6))%24,G=p(z).getHours()-ne;G>1&&(G=-1),z-=G*r,K=(K+oe)%24;let re=v[v.length-1];je((z-re)/P,3)*fe>=.7&&v.push(z)}else v.push(z)}return v}}return[u,a,c]}const[Wx,qx,Kx]=rv(1),[Gx,Yx,Qx]=rv(.001);No(2,-53,53,[1]);function $0(e,t){return e.map(n=>n.map((r,l)=>l==0||l==8||r==null?r:t(l==1||n[8]==0?r:n[1]+r)))}function H0(e,t){return(n,r,l,i,o)=>{let s=t.find(_=>o>=_[0])||t[t.length-1],u,a,c,p,d,g;return r.map(_=>{let x=e(_),P=x.getFullYear(),y=x.getMonth(),v=x.getDate(),w=x.getHours(),T=x.getMinutes(),O=x.getSeconds(),R=P!=u&&s[2]||y!=a&&s[3]||v!=c&&s[4]||w!=p&&s[5]||T!=d&&s[6]||O!=g&&s[7]||s[1];return u=P,a=y,c=v,p=w,d=T,g=O,R(x)})}}function Zx(e,t){let n=od(t);return(r,l,i,o,s)=>l.map(u=>n(e(u)))}function Bu(e,t,n){return new Date(e,t,n)}function V0(e,t){return t(e)}const Jx="{YYYY}-{MM}-{DD} {h}:{mm}{aa}";function U0(e,t){return(n,r,l,i)=>i==null?td:t(e(r))}function Xx(e,t){let n=e.series[t];return n.width?n.stroke(e,t):n.points.width?n.points.stroke(e,t):null}function ek(e,t){return e.series[t].fill(e,t)}const tk={show:!0,live:!0,isolate:!1,mount:wx,markers:{show:!0,width:2,stroke:Xx,fill:ek,dash:"solid"},idx:null,idxs:null,values:[]};function nk(e,t){let n=e.cursor.points,r=mn(),l=n.size(e,t);He(r,qi,l),He(r,Ki,l);let i=l/-2;He(r,"marginLeft",i),He(r,"marginTop",i);let o=n.width(e,t,l);return o&&He(r,"borderWidth",o),r}function rk(e,t){let n=e.series[t].points;return n._fill||n._stroke}function lk(e,t){let n=e.series[t].points;return n._stroke||n._fill}function ik(e,t){return e.series[t].points.size}function ok(e,t,n){return n}const $u=[0,0];function sk(e,t,n){return $u[0]=t,$u[1]=n,$u}function xs(e,t,n,r=!0){return l=>{l.button==0&&(!r||l.target==t)&&n(l)}}function Hu(e,t,n,r=!0){return l=>{(!r||l.target==t)&&n(l)}}const ak={show:!0,x:!0,y:!0,lock:!1,move:sk,points:{show:nk,size:ik,width:0,stroke:lk,fill:rk},bind:{mousedown:xs,mouseup:xs,click:xs,dblclick:xs,mousemove:Hu,mouseleave:Hu,mouseenter:Hu},drag:{setScale:!0,x:!0,y:!1,dist:0,uni:null,click:(e,t)=>{t.stopPropagation(),t.stopImmediatePropagation()},_x:!1,_y:!1},focus:{prox:-1,bias:0},left:-10,top:-10,idx:null,dataIdx:ok,idxs:null,event:null},lv={show:!0,stroke:"rgba(0,0,0,0.07)",width:2},ad=it({},lv,{filter:W1}),iv=it({},ad,{size:10}),ov=it({},lv,{show:!1}),ud='12px system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',sv="bold "+ud,av=1.5,W0={show:!0,scale:"x",stroke:ed,space:50,gap:5,size:50,labelGap:0,labelSize:30,labelFont:sv,side:2,grid:ad,ticks:iv,border:ov,font:ud,lineGap:av,rotate:0},uk="Value",ck="Time",q0={show:!0,scale:"x",auto:!1,sorted:1,min:ke,max:-ke,idxs:[]};function fk(e,t,n,r,l){return t.map(i=>i==null?"":id(i))}function dk(e,t,n,r,l,i,o){let s=[],u=ai.get(l)||0;n=o?n:je(si(n,l),u);for(let a=n;a<=r;a=je(a+l,u))s.push(Object.is(a,-0)?0:a);return s}function Wc(e,t,n,r,l,i,o){const s=[],u=e.scales[e.axes[t].scale].log,a=u==10?ir:U1,c=on(a(n));l=ii(u,c),u==10&&c<0&&(l=je(l,-c));let p=n;do s.push(p),p=p+l,u==10&&(p=je(p,ai.get(l))),p>=l*u&&(l=p);while(p<=r);return s}function pk(e,t,n,r,l,i,o){let u=e.scales[e.axes[t].scale].asinh,a=r>u?Wc(e,t,xt(u,n),r,l):[u],c=r>=0&&n<=0?[0]:[];return(n<-u?Wc(e,t,xt(u,-r),-n,l):[u]).reverse().map(d=>-d).concat(c,a)}const uv=/./,hk=/[12357]/,mk=/[125]/,K0=/1/,qc=(e,t,n,r)=>e.map((l,i)=>t==4&&l==0||i%r==0&&n.test(l.toExponential()[l<0?1:0])?l:null);function vk(e,t,n,r,l){let i=e.axes[n],o=i.scale,s=e.scales[o],u=e.valToPos,a=i._space,c=u(10,o),p=u(9,o)-c>=a?uv:u(7,o)-c>=a?hk:u(5,o)-c>=a?mk:K0;if(p==K0){let d=_t(u(1,o)-c);if(dl,Q0={show:!0,auto:!0,sorted:0,gaps:cv,alpha:1,facets:[it({},Y0,{scale:"x"}),it({},Y0,{scale:"y"})]},Z0={scale:"y",auto:!0,sorted:0,show:!0,spanGaps:!1,gaps:cv,alpha:1,points:{show:_k,filter:null},values:null,min:ke,max:-ke,idxs:[],path:null,clip:null};function xk(e,t,n,r,l){return n/10}const fv={time:V3,auto:!0,distr:1,log:10,asinh:1,min:null,max:null,dir:1,ori:0},kk=it({},fv,{time:!1,ori:1}),J0={};function dv(e,t){let n=J0[e];return n||(n={key:e,plots:[],sub(r){n.plots.push(r)},unsub(r){n.plots=n.plots.filter(l=>l!=r)},pub(r,l,i,o,s,u,a){for(let c=0;c{let y=o.pxRound;const v=a.dir*(a.ori==0?1:-1),w=a.ori==0?mi:vi;let T,O;v==1?(T=n,O=r):(T=r,O=n);let R=y(p(s[T],a,x,g)),M=y(d(u[T],c,P,_)),L=y(p(s[O],a,x,g)),I=y(d(i==1?c.max:c.min,c,P,_)),b=new Path2D(l);return w(b,L,I),w(b,R,I),w(b,R,M),b})}function Da(e,t,n,r,l,i){let o=null;if(e.length>0){o=new Path2D;const s=t==0?Ia:fd;let u=n;for(let p=0;pd[0]){let g=d[0]-u;g>0&&s(o,u,r,g,r+i),u=d[1]}}let a=n+l-u,c=10;a>0&&s(o,u,r-c/2,a,r+i+c)}return o}function Ek(e,t,n){let r=e[e.length-1];r&&r[0]==t?r[1]=n:e.push([t,n])}function cd(e,t,n,r,l,i,o){let s=[],u=e.length;for(let a=l==1?n:r;a>=n&&a<=r;a+=l)if(t[a]===null){let p=a,d=a;if(l==1)for(;++a<=r&&t[a]===null;)d=a;else for(;--a>=n&&t[a]===null;)d=a;let g=i(e[p]),_=d==p?g:i(e[d]),x=p-l;g=o<=0&&x>=0&&x=0&&y>=0&&y=g&&s.push([g,_])}return s}function X0(e){return e==0?_x:e==1?Nt:t=>Gr(t,e)}function pv(e){let t=e==0?za:Fa,n=e==0?(l,i,o,s,u,a)=>{l.arcTo(i,o,s,u,a)}:(l,i,o,s,u,a)=>{l.arcTo(o,i,u,s,a)},r=e==0?(l,i,o,s,u)=>{l.rect(i,o,s,u)}:(l,i,o,s,u)=>{l.rect(o,i,u,s)};return(l,i,o,s,u,a=0,c=0)=>{a==0&&c==0?r(l,i,o,s,u):(a=nn(a,s/2,u/2),c=nn(c,s/2,u/2),t(l,i+a,o),n(l,i+s,o,i+s,o+u,a),n(l,i+s,o+u,i,o+u,c),n(l,i,o+u,i,o,c),n(l,i,o,i+s,o,a),l.closePath())}}const za=(e,t,n)=>{e.moveTo(t,n)},Fa=(e,t,n)=>{e.moveTo(n,t)},mi=(e,t,n)=>{e.lineTo(t,n)},vi=(e,t,n)=>{e.lineTo(n,t)},Ia=pv(0),fd=pv(1),hv=(e,t,n,r,l,i)=>{e.arc(t,n,r,l,i)},mv=(e,t,n,r,l,i)=>{e.arc(n,t,r,l,i)},vv=(e,t,n,r,l,i,o)=>{e.bezierCurveTo(t,n,r,l,i,o)},gv=(e,t,n,r,l,i,o)=>{e.bezierCurveTo(n,t,l,r,o,i)};function yv(e){return(t,n,r,l,i)=>hl(t,n,(o,s,u,a,c,p,d,g,_,x,P)=>{let{pxRound:y,points:v}=o,w,T;a.ori==0?(w=za,T=hv):(w=Fa,T=mv);const O=je(v.width*Te,3);let R=(v.size-v.width)/2*Te,M=je(R*2,3),L=new Path2D,I=new Path2D,{left:b,top:z,width:H,height:K}=t.bbox;Ia(I,b-M,z-M,H+M*2,K+M*2);const oe=se=>{if(u[se]!=null){let fe=y(p(s[se],a,x,g)),ne=y(d(u[se],c,P,_));w(L,fe+R,ne),T(L,fe,ne,R,0,Ds*2)}};if(i)i.forEach(oe);else for(let se=r;se<=l;se++)oe(se);return{stroke:O>0?L:null,fill:L,clip:I,flags:cl|da}})}function wv(e){return(t,n,r,l,i,o)=>{r!=l&&(i!=r&&o!=r&&e(t,n,r),i!=l&&o!=l&&e(t,n,l),e(t,n,o))}}const Ck=wv(mi),Tk=wv(vi);function _v(e){const t=Pe(e==null?void 0:e.alignGaps,0);return(n,r,l,i)=>hl(n,r,(o,s,u,a,c,p,d,g,_,x,P)=>{let y=o.pxRound,v=Y=>y(p(Y,a,x,g)),w=Y=>y(d(Y,c,P,_)),T,O;a.ori==0?(T=mi,O=Ck):(T=vi,O=Tk);const R=a.dir*(a.ori==0?1:-1),M={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:cl},L=M.stroke;let I=ke,b=-ke,z,H,K,oe=v(s[R==1?l:i]),se=ri(u,l,i,1*R),fe=ri(u,l,i,-1*R),ne=v(s[se]),q=v(s[fe]),J=!1;for(let Y=R==1?l:i;Y>=l&&Y<=i;Y+=R){let me=v(s[Y]),X=u[Y];me==oe?X!=null?(H=w(X),I==ke&&(T(L,me,H),z=H),I=nn(H,I),b=xt(H,b)):X===null&&(J=!0):(I!=ke&&(O(L,oe,I,b,z,H),K=oe),X!=null?(H=w(X),T(L,me,H),I=b=z=H):(I=ke,b=-ke,X===null&&(J=!0)),oe=me)}I!=ke&&I!=b&&K!=oe&&O(L,oe,I,b,z,H);let[G,re]=ba(n,r);if(o.fill!=null||G!=0){let Y=M.fill=new Path2D(L),me=o.fillTo(n,r,o.min,o.max,G),X=w(me);T(Y,q,X),T(Y,ne,X)}if(!o.spanGaps){let Y=[];J&&Y.push(...cd(s,u,l,i,R,v,t)),M.gaps=Y=o.gaps(n,r,l,i,Y),M.clip=Da(Y,a.ori,g,_,x,P)}return re!=0&&(M.band=re==2?[or(n,r,l,i,L,-1),or(n,r,l,i,L,1)]:or(n,r,l,i,L,re)),M})}function Pk(e){const t=Pe(e.align,1),n=Pe(e.ascDesc,!1),r=Pe(e.alignGaps,0),l=Pe(e.extend,!1);return(i,o,s,u)=>hl(i,o,(a,c,p,d,g,_,x,P,y,v,w)=>{let T=a.pxRound,{left:O,width:R}=i.bbox,M=G=>T(_(G,d,v,P)),L=G=>T(x(G,g,w,y)),I=d.ori==0?mi:vi;const b={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:cl},z=b.stroke,H=d.dir*(d.ori==0?1:-1);s=ri(p,s,u,1),u=ri(p,s,u,-1);let K=L(p[H==1?s:u]),oe=M(c[H==1?s:u]),se=oe,fe=oe;l&&t==-1&&(fe=O,I(z,fe,K)),I(z,oe,K);for(let G=H==1?s:u;G>=s&&G<=u;G+=H){let re=p[G];if(re==null)continue;let Y=M(c[G]),me=L(re);t==1?I(z,Y,K):I(z,se,me),I(z,Y,me),K=me,se=Y}let ne=se;l&&t==1&&(ne=O+R,I(z,ne,K));let[q,J]=ba(i,o);if(a.fill!=null||q!=0){let G=b.fill=new Path2D(z),re=a.fillTo(i,o,a.min,a.max,q),Y=L(re);I(G,ne,Y),I(G,fe,Y)}if(!a.spanGaps){let G=[];G.push(...cd(c,p,s,u,H,M,r));let re=a.width*Te/2,Y=n||t==1?re:-re,me=n||t==-1?-re:re;G.forEach(X=>{X[0]+=Y,X[1]+=me}),b.gaps=G=a.gaps(i,o,s,u,G),b.clip=Da(G,d.ori,P,y,v,w)}return J!=0&&(b.band=J==2?[or(i,o,s,u,z,-1),or(i,o,s,u,z,1)]:or(i,o,s,u,z,J)),b})}function Ok(e){e=e||so;const t=Pe(e.size,[.6,ke,1]),n=e.align||0,r=(e.gap||0)*Te;let l=e.radius;l=l==null?[0,0]:typeof l=="number"?[l,0]:l;const i=xe(l),o=1-t[0],s=Pe(t[1],ke)*Te,u=Pe(t[2],1)*Te,a=Pe(e.disp,so),c=Pe(e.each,g=>{}),{fill:p,stroke:d}=a;return(g,_,x,P)=>hl(g,_,(y,v,w,T,O,R,M,L,I,b,z)=>{let H=y.pxRound,K,oe;T.ori==0?[K,oe]=i(g,_):[oe,K]=i(g,_);const se=T.dir*(T.ori==0?1:-1),fe=O.dir*(O.ori==1?1:-1);let ne=T.ori==0?Ia:fd,q=T.ori==0?c:(te,Oe,$e,h,S,C,j)=>{c(te,Oe,$e,S,h,j,C)},[J,G]=ba(g,_),re=O.distr==3?J==1?O.max:O.min:0,Y=M(re,O,z,I),me,X,pe=H(y.width*Te),Le=!1,Ue=null,Be=null,tt=null,Ct=null;p!=null&&(pe==0||d!=null)&&(Le=!0,Ue=p.values(g,_,x,P),Be=new Map,new Set(Ue).forEach(te=>{te!=null&&Be.set(te,new Path2D)}),pe>0&&(tt=d.values(g,_,x,P),Ct=new Map,new Set(tt).forEach(te=>{te!=null&&Ct.set(te,new Path2D)})));let{x0:st,size:dn}=a,Qn=!0;if(st!=null&&dn!=null){v=st.values(g,_,x,P),st.unit==2&&(v=v.map(Oe=>g.posToVal(L+Oe*b,T.key,!0)));let te=dn.values(g,_,x,P);dn.unit==2?X=te[0]*b:X=R(te[0],T,b,L)-R(0,T,b,L),X=H(X-pe),me=se==1?-pe/2:X+pe/2}else{let te=b;if(v.length>1){let $e=null;for(let h=0,S=1/0;hte&&(Qn=!1)}const pn={stroke:null,fill:null,clip:null,band:null,gaps:null,flags:cl|da};let Zn;G!=0&&(pn.band=new Path2D,Zn=H(M(G==1?O.max:O.min,O,z,I)));const Cn=Le?null:new Path2D,hn=pn.band;let{y0:pt,y1:ue}=a,nt=null;pt!=null&&ue!=null&&(w=ue.values(g,_,x,P),nt=pt.values(g,_,x,P));let Ft=K*X,ye=oe*X;for(let te=se==1?x:P;te>=x&&te<=P;te+=se){let Oe=w[te];if(Oe===void 0)continue;let $e=T.distr!=2||a!=null?v[te]:te,h=R($e,T,b,L),S=M(Pe(Oe,re),O,z,I);nt!=null&&Oe!=null&&(Y=M(nt[te],O,z,I));let C=H(h-me),j=H(xt(S,Y)),F=H(nn(S,Y)),Q=j-F;if(Oe!=null){let ae=Oe<0?ye:Ft,he=Oe<0?Ft:ye;Le?(pe>0&&tt[te]!=null&&ne(Ct.get(tt[te]),C,F+on(pe/2),X,xt(0,Q-pe),ae,he),Ue[te]!=null&&ne(Be.get(Ue[te]),C,F+on(pe/2),X,xt(0,Q-pe),ae,he)):ne(Cn,C,F+on(pe/2),X,xt(0,Q-pe),ae,he),q(g,_,te,C-pe/2,F,X+pe,Q)}G!=0&&(Oe!=null||Qn)&&(fe*G==1?(j=F,F=Zn):(F=j,j=Zn),Q=j-F,ne(hn,C-pe/2,F,X+pe,xt(0,Q),0,0))}return pe>0&&(pn.stroke=Le?Ct:Cn),pn.fill=Le?Be:Cn,pn})}function Nk(e,t){const n=Pe(t==null?void 0:t.alignGaps,0);return(r,l,i,o)=>hl(r,l,(s,u,a,c,p,d,g,_,x,P,y)=>{let v=s.pxRound,w=ne=>v(d(ne,c,P,_)),T=ne=>v(g(ne,p,y,x)),O,R,M;c.ori==0?(O=za,M=mi,R=vv):(O=Fa,M=vi,R=gv);const L=c.dir*(c.ori==0?1:-1);i=ri(a,i,o,1),o=ri(a,i,o,-1);let I=w(u[L==1?i:o]),b=I,z=[],H=[];for(let ne=L==1?i:o;ne>=i&&ne<=o;ne+=L)if(a[ne]!=null){let J=u[ne],G=w(J);z.push(b=G),H.push(T(a[ne]))}const K={stroke:e(z,H,O,M,R,v),fill:null,clip:null,band:null,gaps:null,flags:cl},oe=K.stroke;let[se,fe]=ba(r,l);if(s.fill!=null||se!=0){let ne=K.fill=new Path2D(oe),q=s.fillTo(r,l,s.min,s.max,se),J=T(q);M(ne,b,J),M(ne,I,J)}if(!s.spanGaps){let ne=[];ne.push(...cd(u,a,i,o,L,w,n)),K.gaps=ne=s.gaps(r,l,i,o,ne),K.clip=Da(ne,c.ori,_,x,P,y)}return fe!=0&&(K.band=fe==2?[or(r,l,i,o,oe,-1),or(r,l,i,o,oe,1)]:or(r,l,i,o,oe,fe)),K})}function Mk(e){return Nk(Rk,e)}function Rk(e,t,n,r,l,i){const o=e.length;if(o<2)return null;const s=new Path2D;if(n(s,e[0],t[0]),o==2)r(s,e[1],t[1]);else{let u=Array(o),a=Array(o-1),c=Array(o-1),p=Array(o-1);for(let d=0;d0!=a[d]>0?u[d]=0:(u[d]=3*(p[d-1]+p[d])/((2*p[d]+p[d-1])/a[d-1]+(p[d]+2*p[d-1])/a[d]),isFinite(u[d])||(u[d]=0));u[o-1]=a[o-2];for(let d=0;d{Et.pxRatio=Te}));const Lk=_v(),jk=yv();function th(e,t,n,r){return(r?[e[0],e[1]].concat(e.slice(2)):[e[0]].concat(e.slice(1))).map((i,o)=>Gc(i,o,t,n))}function Ak(e,t){return e.map((n,r)=>r==0?null:it({},t,n))}function Gc(e,t,n,r){return it({},t==0?n:r,e)}function xv(e,t,n){return t==null?ui:[t,n]}const bk=xv;function Dk(e,t,n){return t==null?ui:ca(t,n,ld,!0)}function kv(e,t,n,r){return t==null?ui:ja(t,n,e.scales[r].log,!1)}const zk=kv;function Sv(e,t,n,r){return t==null?ui:rd(t,n,e.scales[r].log,!1)}const Fk=Sv;function Ik(e,t,n,r,l){let i=xt(L0(e),L0(t)),o=t-e,s=wr(l/r*o,n);do{let u=n[s],a=r*u/o;if(a>=l&&i+(u<5?ai.get(u):0)<=17)return[u,a]}while(++s(t=Nt((n=+l)*Te))+"px"),[e,t,n]}function Bk(e){e.show&&[e.font,e.labelFont].forEach(t=>{let n=je(t[2]*Te,1);t[0]=t[0].replace(/[0-9.]+px/,n+"px"),t[1]=n})}function Et(e,t,n){const r={mode:Pe(e.mode,1)},l=r.mode;function i(f,m){return((m.distr==3?ir(f>0?f:m.clamp(r,f,m.min,m.max,m.key)):m.distr==4?Iu(f,m.asinh):f)-m._min)/(m._max-m._min)}function o(f,m,k,E){let N=i(f,m);return E+k*(m.dir==-1?1-N:N)}function s(f,m,k,E){let N=i(f,m);return E+k*(m.dir==-1?N:1-N)}function u(f,m,k,E){return m.ori==0?o(f,m,k,E):s(f,m,k,E)}r.valToPosH=o,r.valToPosV=s;let a=!1;r.status=0;const c=r.root=mn(U3);if(e.id!=null&&(c.id=e.id),en(c,e.class),e.title){let f=mn(K3,c);f.textContent=e.title}const p=Rn("canvas"),d=r.ctx=p.getContext("2d"),g=mn(G3,c);nl("click",g,f=>{f.target===x&&(be!=vl||De!=gl)&&Pt.click(r,f)},!0);const _=r.under=mn(Y3,g);g.appendChild(p);const x=r.over=mn(Q3,g);e=rl(e);const P=+Pe(e.pxAlign,1),y=X0(P);(e.plugins||[]).forEach(f=>{f.opts&&(e=f.opts(r,e)||e)});const v=e.ms||.001,w=r.series=l==1?th(e.series||[],q0,Z0,!1):Ak(e.series||[null],Q0),T=r.axes=th(e.axes||[],W0,G0,!0),O=r.scales={},R=r.bands=e.bands||[];R.forEach(f=>{f.fill=xe(f.fill||null),f.dir=Pe(f.dir,-1)});const M=l==2?w[1].facets[0].scale:w[0].scale,L={axes:bv,series:Mv},I=(e.drawOrder||["axes","series"]).map(f=>L[f]);function b(f){let m=O[f];if(m==null){let k=(e.scales||so)[f]||so;if(k.from!=null)b(k.from),O[f]=it({},O[k.from],k,{key:f});else{m=O[f]=it({},f==M?fv:kk,k),m.key=f;let E=m.time,N=m.range,A=kr(N);if((f!=M||l==2&&!E)&&(A&&(N[0]==null||N[1]==null)&&(N={min:N[0]==null?N0:{mode:1,hard:N[0],soft:N[0]},max:N[1]==null?N0:{mode:1,hard:N[1],soft:N[1]}},A=!1),!A&&Aa(N))){let B=N;N=(W,Z,ie)=>Z==null?ui:ca(Z,ie,B)}m.range=xe(N||(E?bk:f==M?m.distr==3?zk:m.distr==4?Fk:xv:m.distr==3?kv:m.distr==4?Sv:Dk)),m.auto=xe(A?!1:m.auto),m.clamp=xe(m.clamp||xk),m._min=m._max=null}}}b("x"),b("y"),l==1&&w.forEach(f=>{b(f.scale)}),T.forEach(f=>{b(f.scale)});for(let f in e.scales)b(f);const z=O[M],H=z.distr;let K,oe;z.ori==0?(en(c,W3),K=o,oe=s):(en(c,q3),K=s,oe=o);const se={};for(let f in O){let m=O[f];(m.min!=null||m.max!=null)&&(se[f]={min:m.min,max:m.max},m.min=m.max=null)}const fe=e.tzDate||(f=>new Date(Nt(f/v))),ne=e.fmtDate||od,q=v==1?Kx(fe):Qx(fe),J=H0(fe,$0(v==1?qx:Yx,ne)),G=U0(fe,V0(Jx,ne)),re=[],Y=r.legend=it({},tk,e.legend),me=Y.show,X=Y.markers;Y.idxs=re,X.width=xe(X.width),X.dash=xe(X.dash),X.stroke=xe(X.stroke),X.fill=xe(X.fill);let pe,Le,Ue,Be=[],tt=[],Ct,st=!1,dn={};if(Y.live){const f=w[1]?w[1].values:null;st=f!=null,Ct=st?f(r,1,0):{_:0};for(let m in Ct)dn[m]=td}if(me)if(pe=Rn("table",nx,c),Ue=Rn("tbody",null,pe),Y.mount(r,pe),st){Le=Rn("thead",null,pe,Ue);let f=Rn("tr",null,Le);Rn("th",null,f);for(var Qn in Ct)Rn("th",g0,f).textContent=Qn}else en(pe,lx),Y.live&&en(pe,rx);const pn={show:!0},Zn={show:!1};function Cn(f,m){if(m==0&&(st||!Y.live||l==2))return ui;let k=[],E=Rn("tr",ix,Ue,Ue.childNodes[m]);en(E,f.class),f.show||en(E,Yr);let N=Rn("th",null,E);if(X.show){let W=mn(ox,N);if(m>0){let Z=X.width(r,m);Z&&(W.style.border=Z+"px "+X.dash(r,m)+" "+X.stroke(r,m)),W.style.background=X.fill(r,m)}}let A=mn(g0,N);A.textContent=f.label,m>0&&(X.show||(A.style.color=f.width>0?X.stroke(r,m):X.fill(r,m)),pt("click",N,W=>{if(de._lock)return;ut(W);let Z=w.indexOf(f);if((W.ctrlKey||W.metaKey)!=Y.isolate){let ie=w.some((V,le)=>le>0&&le!=Z&&V.show);w.forEach((V,le)=>{le>0&&In(le,ie?le==Z?pn:Zn:pn,!0,rt.setSeries)})}else In(Z,{show:!f.show},!0,rt.setSeries)},!1),pr&&pt(k0,N,W=>{de._lock||(ut(W),In(w.indexOf(f),_l,!0,rt.setSeries))},!1));for(var B in Ct){let W=Rn("td",sx,E);W.textContent="--",k.push(W)}return[E,k]}const hn=new Map;function pt(f,m,k,E=!0){const N=hn.get(m)||{},A=de.bind[f](r,m,k,E);A&&(nl(f,m,N[f]=A),hn.set(m,N))}function ue(f,m,k){const E=hn.get(m)||{};for(let N in E)(f==null||N==f)&&(Uc(N,m,E[N]),delete E[N]);f==null&&hn.delete(m)}let nt=0,Ft=0,ye=0,te=0,Oe=0,$e=0,h=0,S=0,C=0,j=0;r.bbox={};let F=!1,Q=!1,ae=!1,he=!1,at=!1,Qe=!1;function We(f,m,k){(k||f!=r.width||m!=r.height)&&ce(f,m),ki(!1),ae=!0,Q=!0,de.left>=0&&(he=Qe=!0),Hr()}function ce(f,m){r.width=nt=ye=f,r.height=Ft=te=m,Oe=$e=0,Fo(),Io();let k=r.bbox;h=k.left=Gr(Oe*Te,.5),S=k.top=Gr($e*Te,.5),C=k.width=Gr(ye*Te,.5),j=k.height=Gr(te*Te,.5)}const Tn=3;function Ha(){let f=!1,m=0;for(;!f;){m++;let k=jv(m),E=Av(m);f=m==Tn||k&&E,f||(ce(r.width,r.height),Q=!0)}}function gi({width:f,height:m}){We(f,m)}r.setSize=gi;function Fo(){let f=!1,m=!1,k=!1,E=!1;T.forEach((N,A)=>{if(N.show&&N._show){let{side:B,_size:W}=N,Z=B%2,ie=N.label!=null?N.labelSize:0,V=W+ie;V>0&&(Z?(ye-=V,B==3?(Oe+=V,E=!0):k=!0):(te-=V,B==0?($e+=V,f=!0):m=!0))}}),Fn[0]=f,Fn[1]=k,Fn[2]=m,Fn[3]=E,ye-=hr[1]+hr[3],Oe+=hr[3],te-=hr[2]+hr[0],$e+=hr[0]}function Io(){let f=Oe+ye,m=$e+te,k=Oe,E=$e;function N(A,B){switch(A){case 1:return f+=B,f-B;case 2:return m+=B,m-B;case 3:return k-=B,k+B;case 0:return E-=B,E+B}}T.forEach((A,B)=>{if(A.show&&A._show){let W=A.side;A._pos=N(W,A._size),A.label!=null&&(A._lpos=N(W,A.labelSize))}})}const de=r.cursor=it({},ak,{drag:{y:l==2}},e.cursor),ut=f=>{de.event=f};de.idxs=re,de._lock=!1;let Xt=de.points;Xt.show=xe(Xt.show),Xt.size=xe(Xt.size),Xt.stroke=xe(Xt.stroke),Xt.width=xe(Xt.width),Xt.fill=xe(Xt.fill);const Jn=r.focus=it({},e.focus||{alpha:.3},de.focus),pr=Jn.prox>=0;let ht=[null];function yi(f,m){if(m>0){let k=de.points.show(r,m);if(k)return en(k,tx),en(k,f.class),Cl(k,-10,-10,ye,te),x.insertBefore(k,ht[m]),k}}function $r(f,m){if(l==1||m>0){let k=l==1&&O[f.scale].time,E=f.value;f.value=k?D0(E)?U0(fe,V0(E,ne)):E||G:E||yk,f.label=f.label||(k?ck:uk)}if(m>0){f.width=f.width==null?1:f.width,f.paths=f.paths||Lk||xx,f.fillTo=xe(f.fillTo||Sk),f.pxAlign=+Pe(f.pxAlign,P),f.pxRound=X0(f.pxAlign),f.stroke=xe(f.stroke||null),f.fill=xe(f.fill||null),f._stroke=f._fill=f._paths=f._focus=null;let k=wk(xt(1,f.width),1),E=f.points=it({},{size:k,width:xt(1,k*.2),stroke:f.stroke,space:k*2,paths:jk,_stroke:null,_fill:null},f.points);E.show=xe(E.show),E.filter=xe(E.filter),E.fill=xe(E.fill),E.stroke=xe(E.stroke),E.paths=xe(E.paths),E.pxAlign=f.pxAlign}if(me){let k=Cn(f,m);Be.splice(m,0,k[0]),tt.splice(m,0,k[1]),Y.values.push(null)}if(de.show){re.splice(m,0,null);let k=yi(f,m);k&&ht.splice(m,0,k)}Ot("addSeries",m)}function wi(f,m){m=m??w.length,f=l==1?Gc(f,m,q0,Z0):Gc(f,m,null,Q0),w.splice(m,0,f),$r(w[m],m)}r.addSeries=wi;function Bo(f){if(w.splice(f,1),me){Y.values.splice(f,1),tt.splice(f,1);let m=Be.splice(f,1)[0];ue(null,m.firstChild),m.remove()}de.show&&(re.splice(f,1),ht.length>1&&ht.splice(f,1)[0].remove()),Ot("delSeries",f)}r.delSeries=Bo;const Fn=[!1,!1,!1,!1];function Pv(f,m){if(f._show=f.show,f.show){let k=f.side%2,E=O[f.scale];E==null&&(f.scale=k?w[1].scale:M,E=O[f.scale]);let N=E.time;f.size=xe(f.size),f.space=xe(f.space),f.rotate=xe(f.rotate),kr(f.incrs)&&f.incrs.forEach(B=>{!ai.has(B)&&ai.set(B,K1(B))}),f.incrs=xe(f.incrs||(E.distr==2?Hx:N?v==1?Wx:Gx:Vx)),f.splits=xe(f.splits||(N&&E.distr==1?q:E.distr==3?Wc:E.distr==4?pk:dk)),f.stroke=xe(f.stroke),f.grid.stroke=xe(f.grid.stroke),f.ticks.stroke=xe(f.ticks.stroke),f.border.stroke=xe(f.border.stroke);let A=f.values;f.values=kr(A)&&!kr(A[0])?xe(A):N?kr(A)?H0(fe,$0(A,ne)):D0(A)?Zx(fe,A):A||J:A||fk,f.filter=xe(f.filter||(E.distr>=3&&E.log==10?vk:E.distr==3&&E.log==2?gk:W1)),f.font=nh(f.font),f.labelFont=nh(f.labelFont),f._size=f.size(r,null,m,0),f._space=f._rotate=f._incrs=f._found=f._splits=f._values=null,f._size>0&&(Fn[m]=!0,f._el=mn(Z3,g))}}function _i(f,m,k,E){let[N,A,B,W]=k,Z=m%2,ie=0;return Z==0&&(W||A)&&(ie=m==0&&!N||m==2&&!B?Nt(W0.size/3):0),Z==1&&(N||B)&&(ie=m==1&&!A||m==3&&!W?Nt(G0.size/2):0),ie}const dd=r.padding=(e.padding||[_i,_i,_i,_i]).map(f=>xe(Pe(f,_i))),hr=r._padding=dd.map((f,m)=>f(r,m,Fn,0));let Tt,mt=null,vt=null;const $o=l==1?w[0].idxs:null;let Pn=null,Ho=!1;function pd(f,m){if(t=f==null?[]:rl(f,z0),l==2){Tt=0;for(let k=1;k=0,Qe=!0,Hr()}}r.setData=pd;function Va(){Ho=!0;let f,m;l==1&&(Tt>0?(mt=$o[0]=0,vt=$o[1]=Tt-1,f=t[0][mt],m=t[0][vt],H==2?(f=mt,m=vt):f==m&&(H==3?[f,m]=ja(f,f,z.log,!1):H==4?[f,m]=rd(f,f,z.log,!1):z.time?m=f+Nt(86400/v):[f,m]=ca(f,m,ld,!0))):(mt=$o[0]=f=null,vt=$o[1]=m=null)),yl(M,f,m)}let Vo,ml,Ua,Wa,qa,Ka,Ga,Ya,Qa,xi;function hd(f,m,k,E,N,A){f??(f=w0),k??(k=G1),E??(E="butt"),N??(N=w0),A??(A="round"),f!=Vo&&(d.strokeStyle=Vo=f),N!=ml&&(d.fillStyle=ml=N),m!=Ua&&(d.lineWidth=Ua=m),A!=qa&&(d.lineJoin=qa=A),E!=Ka&&(d.lineCap=Ka=E),k!=Wa&&d.setLineDash(Wa=k)}function md(f,m,k,E){m!=ml&&(d.fillStyle=ml=m),f!=Ga&&(d.font=Ga=f),k!=Ya&&(d.textAlign=Ya=k),E!=Qa&&(d.textBaseline=Qa=E)}function Za(f,m,k,E,N=0){if(E.length>0&&f.auto(r,Ho)&&(m==null||m.min==null)){let A=Pe(mt,0),B=Pe(vt,E.length-1),W=k.min==null?f.distr==3?hx(E,A,B):px(E,A,B,N):[k.min,k.max];f.min=nn(f.min,k.min=W[0]),f.max=xt(f.max,k.max=W[1])}}function Ov(){let f=rl(O,z0);for(let E in f){let N=f[E],A=se[E];if(A!=null&&A.min!=null)it(N,A),E==M&&ki(!0);else if(E!=M||l==2)if(Tt==0&&N.from==null){let B=N.range(r,null,null,E);N.min=B[0],N.max=B[1]}else N.min=ke,N.max=-ke}if(Tt>0){w.forEach((E,N)=>{if(l==1){let A=E.scale,B=f[A],W=se[A];if(N==0){let Z=B.range(r,B.min,B.max,A);B.min=Z[0],B.max=Z[1],mt=wr(B.min,t[0]),vt=wr(B.max,t[0]),vt-mt>1&&(t[0][mt]B.max&&vt--),E.min=Pn[mt],E.max=Pn[vt]}else E.show&&E.auto&&Za(B,W,E,t[N],E.sorted);E.idxs[0]=mt,E.idxs[1]=vt}else if(N>0&&E.show&&E.auto){let[A,B]=E.facets,W=A.scale,Z=B.scale,[ie,V]=t[N];Za(f[W],se[W],A,ie,A.sorted),Za(f[Z],se[Z],B,V,B.sorted),E.min=B.min,E.max=B.max}});for(let E in f){let N=f[E],A=se[E];if(N.from==null&&(A==null||A.min==null)){let B=N.range(r,N.min==ke?null:N.min,N.max==-ke?null:N.max,E);N.min=B[0],N.max=B[1]}}}for(let E in f){let N=f[E];if(N.from!=null){let A=f[N.from];if(A.min==null)N.min=N.max=null;else{let B=N.range(r,A.min,A.max,E);N.min=B[0],N.max=B[1]}}}let m={},k=!1;for(let E in f){let N=f[E],A=O[E];if(A.min!=N.min||A.max!=N.max){A.min=N.min,A.max=N.max;let B=A.distr;A._min=B==3?ir(A.min):B==4?Iu(A.min,A.asinh):A.min,A._max=B==3?ir(A.max):B==4?Iu(A.max,A.asinh):A.max,m[E]=k=!0}}if(k){w.forEach((E,N)=>{l==2?N>0&&m.y&&(E._paths=null):m[E.scale]&&(E._paths=null)});for(let E in m)ae=!0,Ot("setScale",E);de.show&&de.left>=0&&(he=Qe=!0)}for(let E in se)se[E]=null}function Nv(f){let m=j0(mt-1,0,Tt-1),k=j0(vt+1,0,Tt-1);for(;f[m]==null&&m>0;)m--;for(;f[k]==null&&k0&&(w.forEach((f,m)=>{if(m>0&&f.show&&f._paths==null){let k=l==2?[0,t[m][0].length-1]:Nv(t[m]);f._paths=f.paths(r,m,k[0],k[1])}}),w.forEach((f,m)=>{if(m>0&&f.show){xi!=f.alpha&&(d.globalAlpha=xi=f.alpha),vd(m,!1),f._paths&&gd(m,!1);{vd(m,!0);let k=f._paths?f._paths.gaps:null,E=f.points.show(r,m,mt,vt,k),N=f.points.filter(r,m,E,k);(E||N)&&(f.points._paths=f.points.paths(r,m,mt,vt,N),gd(m,!0))}xi!=1&&(d.globalAlpha=xi=1),Ot("drawSeries",m)}}))}function vd(f,m){let k=m?w[f].points:w[f];k._stroke=k.stroke(r,f),k._fill=k.fill(r,f)}function gd(f,m){let k=m?w[f].points:w[f],E=k._stroke,N=k._fill,{stroke:A,fill:B,clip:W,flags:Z}=k._paths,ie=null,V=je(k.width*Te,3),le=V%2/2;m&&N==null&&(N=V>0?"#fff":E);let ge=k.pxAlign==1&&le>0;if(ge&&d.translate(le,le),!m){let Ze=h-V/2,_e=S-V/2,Ce=C+V,Ee=j+V;ie=new Path2D,ie.rect(Ze,_e,Ce,Ee)}m?Ja(E,V,k.dash,k.cap,N,A,B,Z,W):Rv(f,E,V,k.dash,k.cap,N,A,B,Z,ie,W),ge&&d.translate(-le,-le)}function Rv(f,m,k,E,N,A,B,W,Z,ie,V){let le=!1;R.forEach((ge,Ze)=>{if(ge.series[0]==f){let _e=w[ge.series[1]],Ce=t[ge.series[1]],Ee=(_e._paths||so).band;kr(Ee)&&(Ee=ge.dir==1?Ee[0]:Ee[1]);let Me,qe=null;_e.show&&Ee&&vx(Ce,mt,vt)?(qe=ge.fill(r,Ze)||A,Me=_e._paths.clip):Ee=null,Ja(m,k,E,N,qe,B,W,Z,ie,V,Me,Ee),le=!0}}),le||Ja(m,k,E,N,A,B,W,Z,ie,V)}const yd=cl|da;function Ja(f,m,k,E,N,A,B,W,Z,ie,V,le){hd(f,m,k,E,N),(Z||ie||le)&&(d.save(),Z&&d.clip(Z),ie&&d.clip(ie)),le?(W&yd)==yd?(d.clip(le),V&&d.clip(V),Wo(N,B),Uo(f,A,m)):W&da?(Wo(N,B),d.clip(le),Uo(f,A,m)):W&cl&&(d.save(),d.clip(le),V&&d.clip(V),Wo(N,B),d.restore(),Uo(f,A,m)):(Wo(N,B),Uo(f,A,m)),(Z||ie||le)&&d.restore()}function Uo(f,m,k){k>0&&(m instanceof Map?m.forEach((E,N)=>{d.strokeStyle=Vo=N,d.stroke(E)}):m!=null&&f&&d.stroke(m))}function Wo(f,m){m instanceof Map?m.forEach((k,E)=>{d.fillStyle=ml=E,d.fill(k)}):m!=null&&f&&d.fill(m)}function Lv(f,m,k,E){let N=T[f],A;if(E<=0)A=[0,0];else{let B=N._space=N.space(r,f,m,k,E),W=N._incrs=N.incrs(r,f,m,k,E,B);A=Ik(m,k,W,E,B)}return N._found=A}function Xa(f,m,k,E,N,A,B,W,Z,ie){let V=B%2/2;P==1&&d.translate(V,V),hd(W,B,Z,ie,W),d.beginPath();let le,ge,Ze,_e,Ce=N+(E==0||E==3?-A:A);k==0?(ge=N,_e=Ce):(le=N,Ze=Ce);for(let Ee=0;Ee{if(!k.show)return;let N=O[k.scale];if(N.min==null){k._show&&(m=!1,k._show=!1,ki(!1));return}else k._show||(m=!1,k._show=!0,ki(!1));let A=k.side,B=A%2,{min:W,max:Z}=N,[ie,V]=Lv(E,W,Z,B==0?ye:te);if(V==0)return;let le=N.distr==2,ge=k._splits=k.splits(r,E,W,Z,ie,V,le),Ze=N.distr==2?ge.map(Me=>Pn[Me]):ge,_e=N.distr==2?Pn[ge[1]]-Pn[ge[0]]:ie,Ce=k._values=k.values(r,k.filter(r,Ze,E,V,_e),E,V,_e);k._rotate=A==2?k.rotate(r,Ce,E,V):0;let Ee=k._size;k._size=li(k.size(r,Ce,E,f)),Ee!=null&&k._size!=Ee&&(m=!1)}),m}function Av(f){let m=!0;return dd.forEach((k,E)=>{let N=k(r,E,Fn,f);N!=hr[E]&&(m=!1),hr[E]=N}),m}function bv(){for(let f=0;fPn[Nn]):_e,Ee=V.distr==2?Pn[_e[1]]-Pn[_e[0]]:Z,Me=m.ticks,qe=m.border,Wt=Me.show?Nt(Me.size*Te):0,ze=m._rotate*-Ds/180,lt=y(m._pos*Te),jt=(Wt+Ze)*W,Xe=lt+jt;A=E==0?Xe:0,N=E==1?Xe:0;let Bt=m.font[0],On=m.align==1?El:m.align==2?zu:ze>0?El:ze<0?zu:E==0?"center":k==3?zu:El,gr=ze||E==1?"middle":k==2?Bi:y0;md(Bt,B,On,gr);let zd=m.font[1]*m.lineGap,Zo=_e.map(Nn=>y(u(Nn,V,le,ge))),Fd=m._values;for(let Nn=0;Nn{k>0&&(m._paths=null,f&&(l==1?(m.min=null,m.max=null):m.facets.forEach(E=>{E.min=null,E.max=null})))})}let eu=!1;function Hr(){eu||(Mx(Dv),eu=!0)}function Dv(){F&&(Ov(),F=!1),ae&&(Ha(),ae=!1),Q&&(He(_,El,Oe),He(_,Bi,$e),He(_,qi,ye),He(_,Ki,te),He(x,El,Oe),He(x,Bi,$e),He(x,qi,ye),He(x,Ki,te),He(g,qi,nt),He(g,Ki,Ft),p.width=Nt(nt*Te),p.height=Nt(Ft*Te),T.forEach(({_el:f,_show:m,_size:k,_pos:E,side:N})=>{if(f!=null)if(m){let A=N===3||N===0?k:0,B=N%2==1;He(f,B?"left":"top",E-A),He(f,B?"width":"height",k),He(f,B?"top":"left",B?$e:Oe),He(f,B?"height":"width",B?te:ye),Vc(f,Yr)}else en(f,Yr)}),Vo=ml=Ua=qa=Ka=Ga=Ya=Qa=Wa=null,xi=1,Oi(!0),Ot("setSize"),Q=!1),nt>0&&Ft>0&&(d.clearRect(0,0,p.width,p.height),Ot("drawClear"),I.forEach(f=>f()),Ot("draw")),It.show&&at&&(Go(It),at=!1),de.show&&he&&(Vr(null,!0,!1),he=!1),Y.show&&Y.live&&Qe&&(lu(),Qe=!1),a||(a=!0,r.status=1,Ot("ready")),Ho=!1,eu=!1}r.redraw=(f,m)=>{ae=m||!1,f!==!1?yl(M,z.min,z.max):Hr()};function tu(f,m){let k=O[f];if(k.from==null){if(Tt==0){let E=k.range(r,m.min,m.max,f);m.min=E[0],m.max=E[1]}if(m.min>m.max){let E=m.min;m.min=m.max,m.max=E}if(Tt>1&&m.min!=null&&m.max!=null&&m.max-m.min<1e-16)return;f==M&&k.distr==2&&Tt>0&&(m.min=wr(m.min,t[0]),m.max=wr(m.max,t[0]),m.min==m.max&&m.max++),se[f]=m,F=!0,Hr()}}r.setScale=tu;let nu,ru,qo,Ko,wd,_d,vl,gl,xd,kd,be,De,mr=!1;const Pt=de.drag;let gt=Pt.x,yt=Pt.y;de.show&&(de.x&&(nu=mn(X3,x)),de.y&&(ru=mn(ex,x)),z.ori==0?(qo=nu,Ko=ru):(qo=ru,Ko=nu),be=de.left,De=de.top);const It=r.select=it({show:!0,over:!0,left:0,width:0,top:0,height:0},e.select),Si=It.show?mn(J3,It.over?x:_):null;function Go(f,m){if(It.show){for(let k in f)It[k]=f[k],k in Td&&He(Si,k,f[k]);m!==!1&&Ot("setSelect")}}r.setSelect=Go;function zv(f,m){let k=w[f],E=me?Be[f]:null;k.show?E&&Vc(E,Yr):(E&&en(E,Yr),ht.length>1&&Cl(ht[f],-10,-10,ye,te))}function yl(f,m,k){tu(f,{min:m,max:k})}function In(f,m,k,E){m.focus!=null&&Hv(f),m.show!=null&&w.forEach((N,A)=>{A>0&&(f==A||f==null)&&(N.show=m.show,zv(A,m.show),yl(l==2?N.facets[1].scale:N.scale,null,null),Hr())}),k!==!1&&Ot("setSeries",f,m),E&&Ni("setSeries",r,f,m)}r.setSeries=In;function Fv(f,m){it(R[f],m)}function Iv(f,m){f.fill=xe(f.fill||null),f.dir=Pe(f.dir,-1),m=m??R.length,R.splice(m,0,f)}function Bv(f){f==null?R.length=0:R.splice(f,1)}r.addBand=Iv,r.setBand=Fv,r.delBand=Bv;function $v(f,m){w[f].alpha=m,de.show&&ht[f]&&(ht[f].style.opacity=m),me&&Be[f]&&(Be[f].style.opacity=m)}let wl,Ei,Ci;const _l={focus:!0};function Hv(f){if(f!=Ci){let m=f==null,k=Jn.alpha!=1;w.forEach((E,N)=>{let A=m||N==0||N==f;E._focus=m?null:A,k&&$v(N,A?1:Jn.alpha)}),Ci=f,k&&Hr()}}me&&pr&&pt(S0,pe,f=>{de._lock||(ut(f),Ci!=null&&In(null,_l,!0,rt.setSeries))});function Bn(f,m,k){let E=O[m];k&&(f=f/Te-(E.ori==1?$e:Oe));let N=ye;E.ori==1&&(N=te,f=N-f),E.dir==-1&&(f=N-f);let A=E._min,B=E._max,W=f/N,Z=A+(B-A)*W,ie=E.distr;return ie==3?ii(10,Z):ie==4?yx(Z,E.asinh):Z}function Vv(f,m){let k=Bn(f,M,m);return wr(k,t[0],mt,vt)}r.valToIdx=f=>wr(f,t[0]),r.posToIdx=Vv,r.posToVal=Bn,r.valToPos=(f,m,k)=>O[m].ori==0?o(f,O[m],k?C:ye,k?h:0):s(f,O[m],k?j:te,k?S:0);function Uv(f){f(r),Hr()}r.batch=Uv,r.setCursor=(f,m,k)=>{be=f.left,De=f.top,Vr(null,m,k)};function Sd(f,m){He(Si,El,It.left=f),He(Si,qi,It.width=m)}function Ed(f,m){He(Si,Bi,It.top=f),He(Si,Ki,It.height=m)}let Ti=z.ori==0?Sd:Ed,Pi=z.ori==1?Sd:Ed;function Wv(){if(me&&Y.live)for(let f=l==2?1:0;f{re[E]=k}):Sx(f.idx)||re.fill(f.idx),Y.idx=re[0]);for(let k=0;k0||l==1&&!st)&&qv(k,re[k]);me&&Y.live&&Wv(),Qe=!1,m!==!1&&Ot("setLegend")}r.setLegend=lu;function qv(f,m){let k=w[f],E=f==0&&H==2?Pn:t[f],N;st?N=k.values(r,f,m)??dn:(N=k.value(r,m==null?null:E[m],f,m),N=N==null?dn:{_:N}),Y.values[f]=N}function Vr(f,m,k){xd=be,kd=De,[be,De]=de.move(r,be,De),de.show&&(qo&&Cl(qo,Nt(be),0,ye,te),Ko&&Cl(Ko,0,Nt(De),ye,te));let E,N=mt>vt;wl=ke;let A=z.ori==0?ye:te,B=z.ori==1?ye:te;if(be<0||Tt==0||N){E=null;for(let W=0;W0&&ht.length>1&&Cl(ht[W],-10,-10,ye,te);pr&&In(null,_l,!0,f==null&&rt.setSeries),Y.live&&(re.fill(E),Qe=!0)}else{let W,Z,ie;l==1&&(W=z.ori==0?be:De,Z=Bn(W,M),E=wr(Z,t[0],mt,vt),ie=K(t[0][E],z,A,0));for(let V=l==2?1:0;V0&&le.show){let Me=Ce==null?-10:si(oe(Ce,l==1?O[le.scale]:O[le.facets[1].scale],B,0),1);if(pr&&Me>=0&&l==1){let ze=_t(Me-De);if(ze=0?1:-1,On=Xe>=0?1:-1;On==Bt&&(On==1?lt==1?Ce>=Xe:Ce<=Xe:lt==1?Ce<=Xe:Ce>=Xe)&&(wl=ze,Ei=V)}else wl=ze,Ei=V}}let qe,Wt;if(z.ori==0?(qe=Ee,Wt=Me):(qe=Me,Wt=Ee),Qe&&ht.length>1){fx(ht[V],de.points.fill(r,V),de.points.stroke(r,V));let ze,lt,jt,Xe,Bt=!0,On=de.points.bbox;if(On!=null){Bt=!1;let gr=On(r,V);jt=gr.left,Xe=gr.top,ze=gr.width,lt=gr.height}else jt=qe,Xe=Wt,ze=lt=de.points.size(r,V);dx(ht[V],ze,lt,Bt),Cl(ht[V],jt,Xe,ye,te)}}}}if(de.idx=E,de.left=be,de.top=De,Qe&&(Y.idx=E,lu()),It.show&&mr)if(f!=null){let[W,Z]=rt.scales,[ie,V]=rt.match,[le,ge]=f.cursor.sync.scales,Ze=f.cursor.drag;if(gt=Ze._x,yt=Ze._y,gt||yt){let{left:_e,top:Ce,width:Ee,height:Me}=f.select,qe=f.scales[W].ori,Wt=f.posToVal,ze,lt,jt,Xe,Bt,On=W!=null&&ie(W,le),gr=Z!=null&&V(Z,ge);On&>?(qe==0?(ze=_e,lt=Ee):(ze=Ce,lt=Me),jt=O[W],Xe=K(Wt(ze,le),jt,A,0),Bt=K(Wt(ze+lt,le),jt,A,0),Ti(nn(Xe,Bt),_t(Bt-Xe))):Ti(0,A),gr&&yt?(qe==1?(ze=_e,lt=Ee):(ze=Ce,lt=Me),jt=O[Z],Xe=oe(Wt(ze,ge),jt,B,0),Bt=oe(Wt(ze+lt,ge),jt,B,0),Pi(nn(Xe,Bt),_t(Bt-Xe))):Pi(0,B)}else Yo()}else{let W=_t(xd-wd),Z=_t(kd-_d);if(z.ori==1){let ge=W;W=Z,Z=ge}gt=Pt.x&&W>=Pt.dist,yt=Pt.y&&Z>=Pt.dist;let ie=Pt.uni;ie!=null?gt&&yt&&(gt=W>=ie,yt=Z>=ie,!gt&&!yt&&(Z>W?yt=!0:gt=!0)):Pt.x&&Pt.y&&(gt||yt)&&(gt=yt=!0);let V,le;gt&&(z.ori==0?(V=vl,le=be):(V=gl,le=De),Ti(nn(V,le),_t(le-V)),yt||Pi(0,B)),yt&&(z.ori==1?(V=vl,le=be):(V=gl,le=De),Pi(nn(V,le),_t(le-V)),gt||Ti(0,A)),!gt&&!yt&&(Ti(0,0),Pi(0,0))}if(Pt._x=gt,Pt._y=yt,f==null){if(k){if(Dd!=null){let[W,Z]=rt.scales;rt.values[0]=W!=null?Bn(z.ori==0?be:De,W):null,rt.values[1]=Z!=null?Bn(z.ori==1?be:De,Z):null}Ni(_0,r,be,De,ye,te,E)}if(pr){let W=k&&rt.setSeries,Z=Jn.prox;Ci==null?wl<=Z&&In(Ei,_l,!0,W):wl>Z?In(null,_l,!0,W):Ei!=Ci&&In(Ei,_l,!0,W)}}m!==!1&&Ot("setCursor")}let vr=null;Object.defineProperty(r,"rect",{get(){return vr==null&&Oi(!1),vr}});function Oi(f=!1){f?vr=null:(vr=x.getBoundingClientRect(),Ot("syncRect",vr))}function Cd(f,m,k,E,N,A,B){de._lock||mr&&f!=null&&f.movementX==0&&f.movementY==0||(iu(f,m,k,E,N,A,B,!1,f!=null),f!=null?Vr(null,!0,!0):Vr(m,!0,!1))}function iu(f,m,k,E,N,A,B,W,Z){if(vr==null&&Oi(!1),ut(f),f!=null)k=f.clientX-vr.left,E=f.clientY-vr.top;else{if(k<0||E<0){be=-10,De=-10;return}let[ie,V]=rt.scales,le=m.cursor.sync,[ge,Ze]=le.values,[_e,Ce]=le.scales,[Ee,Me]=rt.match,qe=m.axes[0].side%2==1,Wt=z.ori==0?ye:te,ze=z.ori==1?ye:te,lt=qe?A:N,jt=qe?N:A,Xe=qe?E:k,Bt=qe?k:E;if(_e!=null?k=Ee(ie,_e)?u(ge,O[ie],Wt,0):-10:k=Wt*(Xe/lt),Ce!=null?E=Me(V,Ce)?u(Ze,O[V],ze,0):-10:E=ze*(Bt/jt),z.ori==1){let On=k;k=E,E=On}}Z&&((k<=1||k>=ye-1)&&(k=Gr(k,ye)),(E<=1||E>=te-1)&&(E=Gr(E,te))),W?(wd=k,_d=E,[vl,gl]=de.move(r,k,E)):(be=k,De=E)}const Td={width:0,height:0,left:0,top:0};function Yo(){Go(Td,!1)}let Pd,Od,Nd,Md;function Rd(f,m,k,E,N,A,B){mr=!0,gt=yt=Pt._x=Pt._y=!1,iu(f,m,k,E,N,A,B,!0,!1),f!=null&&(pt(Fu,$c,Ld,!1),Ni(x0,r,vl,gl,ye,te,null));let{left:W,top:Z,width:ie,height:V}=It;Pd=W,Od=Z,Nd=ie,Md=V,Yo()}function Ld(f,m,k,E,N,A,B){mr=Pt._x=Pt._y=!1,iu(f,m,k,E,N,A,B,!1,!0);let{left:W,top:Z,width:ie,height:V}=It,le=ie>0||V>0,ge=Pd!=W||Od!=Z||Nd!=ie||Md!=V;if(le&&ge&&Go(It),Pt.setScale&&le&&ge){let Ze=W,_e=ie,Ce=Z,Ee=V;if(z.ori==1&&(Ze=Z,_e=V,Ce=W,Ee=ie),gt&&yl(M,Bn(Ze,M),Bn(Ze+_e,M)),yt)for(let Me in O){let qe=O[Me];Me!=M&&qe.from==null&&qe.min!=ke&&yl(Me,Bn(Ce+Ee,Me),Bn(Ce,Me))}Yo()}else de.lock&&(de._lock=!de._lock,de._lock||Vr(null,!0,!1));f!=null&&(ue(Fu,$c),Ni(Fu,r,be,De,ye,te,null))}function Kv(f,m,k,E,N,A,B){if(de._lock)return;ut(f);let W=mr;if(mr){let Z=!0,ie=!0,V=10,le,ge;z.ori==0?(le=gt,ge=yt):(le=yt,ge=gt),le&&ge&&(Z=be<=V||be>=ye-V,ie=De<=V||De>=te-V),le&&Z&&(be=be{let N=rt.match[2];k=N(r,m,k),k!=-1&&In(k,E,!0,!1)},de.show&&(pt(x0,x,Rd),pt(_0,x,Cd),pt(k0,x,f=>{ut(f),Oi(!1)}),pt(S0,x,Kv),pt(E0,x,jd),Kc.add(r),r.syncRect=Oi);const Qo=r.hooks=e.hooks||{};function Ot(f,m,k){f in Qo&&Qo[f].forEach(E=>{E.call(null,r,m,k)})}(e.plugins||[]).forEach(f=>{for(let m in f.hooks)Qo[m]=(Qo[m]||[]).concat(f.hooks[m])});const bd=(f,m,k)=>k,rt=it({key:null,setSeries:!1,filters:{pub:A0,sub:A0},scales:[M,w[1]?w[1].scale:null],match:[b0,b0,bd],values:[null,null]},de.sync);rt.match.length==2&&rt.match.push(bd),de.sync=rt;const Dd=rt.key,ou=dv(Dd);function Ni(f,m,k,E,N,A,B){rt.filters.pub(f,m,k,E,N,A,B)&&ou.pub(f,m,k,E,N,A,B)}ou.sub(r);function Gv(f,m,k,E,N,A,B){rt.filters.sub(f,m,k,E,N,A,B)&&xl[f](null,m,k,E,N,A,B)}r.pub=Gv;function Yv(){ou.unsub(r),Kc.delete(r),hn.clear(),Uc(ua,Wl,Ad),c.remove(),pe==null||pe.remove(),Ot("destroy")}r.destroy=Yv;function su(){Ot("init",e,t),pd(t||e.data,!1),se[M]?tu(M,se[M]):Va(),at=It.show,he=Qe=!0,We(e.width,e.height)}return w.forEach($r),T.forEach(Pv),n?n instanceof HTMLElement?(n.appendChild(c),su()):n(r,su):su(),r}Et.assign=it;Et.fmtNum=id;Et.rangeNum=ca;Et.rangeLog=ja;Et.rangeAsinh=rd;Et.orient=hl;Et.pxRatio=Te;Et.join=Nx;Et.fmtDate=od,Et.tzDate=Bx;Et.sync=dv;{Et.addGap=Ek,Et.clipGaps=Da;let e=Et.paths={points:yv};e.linear=_v,e.stepped=Pk,e.bars=Ok,e.spline=Mk}const $k=Object.freeze(Object.defineProperty({__proto__:null,default:Et},Symbol.toStringTag,{value:"Module"}));function Hk(e,t){let[n,r]=H3(e,{formatSubMilliseconds:!0,compact:t}).split(" ").slice(0,2);return n.match(/[0-9]+s/)&&!t?(n=n.replace("s","."),r?r=r.substring(0,1):r="0",n+r+"s"):(r&&(n+=" "+r),n)}function rh(e){return F3(e)}var Vk=Et.fmtDate("{YYYY}-{MM}-{DD} {HH}:{mm}:{ss}");function Ba(e,t,n=!1){switch(e){case Kr.duration:return Hk(t,n);case Kr.bytes:return rh(t);case Kr.bps:return rh(t)+"/s";case Kr.counter:return m0(t).format("0.[0]a");case Kr.rps:return m0(t).format("0.[00]a")+"/s";case Kr.timestamp:return Vk(new Date(t*1e3));default:return isNaN(t)||t==null?"0":t.toFixed(2)}}function Uk(e){return function(t,n,r,l){return l==null?"--":n==null?"":Ba(e,n)}}var Ev=class{constructor(e,t,n){ve(this,"samples");ve(this,"series");const r=t.series.map(l=>l.query);this.samples=e.samples.select(r),this.samples.empty||(this.series=this.buildSeries(t.series,n))}get empty(){return this.samples.empty}get data(){const e=new Array;for(let t=0;t0&&(i=e[r].legend),n.push({stroke:t[l].stroke,fill:t[l].fill,value:Uk(this.samples[r].unit),points:{show:!1},label:i,scale:this.samples[r].unit})}return n}};function Wk(e){let t;function n(i){t=document.createElement("div");const o={display:"none",position:"absolute",padding:"0.2rem",border:"1px solid #7b65fa",zIndex:"10",pointerEvents:"none",margin:"0.5rem",fontSize:"smaller"};Object.assign(t.style,o),i.over.appendChild(t),i.over.onmouseleave=()=>{t.style.display="none"},i.over.onmouseenter=()=>{t.style.display="block"}}function r(i){l(i)}function l(i){const o=i.over.getBoundingClientRect();t.style.background=e;const s=qk(i);if(!s){t.style.display="none";return}t.innerHTML=s;const{left:u,top:a}=i.cursor,c=u??0,p=a??0;t.innerHTML=s,ci.over.focus()}}}function qk(e){const{idx:t}=e.cursor;if(t==null)return"";let n;e.legend.values?n=e.legend.values[0]._:n="";let r=``;for(let l=1;l`}return r+="
${n}
${Kk(i,o)}${s}${u}
",r}function Kk(e,t){return``}var zs=(e=>(e.chart="chart",e.stat="stat",e.summary="summary",e))(zs||{}),Gk=class{constructor(e,t){ve(this,"view");ve(this,"metrics");this.metrics=t.metrics;const n=e.series.map(r=>r.query);this.view=t.summary.select(n)}get empty(){return this.view.empty}get cols(){return this.view.aggregates.length}get header(){return new Array("metric",...this.view.aggregates.map(e=>e))}get body(){const e=new Array;for(let t=0;tthis.format(this.view[t],r))),e.push(n)}return e}format(e,t){var n;const r=this.metrics.unit(((n=e.metric)==null?void 0:n.name)??"",t);return Ba(r,e.values[t],!0)}};function Yk(e,t){for(let n=0;nr.query)).empty}function Jk(e,t){return t.summary.select(e.series.map(r=>r.query)).empty}var Xk=bo({conditions:void 0,styles:{borderRadius:{values:{true:{defaultClass:"_1c9nzq10"},false:{defaultClass:"_1c9nzq11"}}}}}),eS="_1c9nzq14",tS="_1c9nzq12",nS="_1c9nzq13";const rS=({children:e,title:t,isOpen:n,onClick:r})=>D.jsxs("div",{children:[D.jsxs(St,{as:"button",align:"center","aria-expanded":n,className:Yn(tS,Xk({borderRadius:String(n)})),width:"100%",onClick:r,children:[n?D.jsx(Kn,{name:"chevron-up"}):D.jsx(Kn,{name:"chevron-down"}),D.jsx("h2",{className:nS,children:t})]}),n&&D.jsx("div",{className:eS,children:e})]});var lS=bo({conditions:{defaultCondition:"xs",conditionNames:["xs","sm","md","lg","xl","xxl"],responsiveArray:void 0},styles:{gridColumn:{values:{1:{conditions:{xs:"ag5hlo6",sm:"ag5hlo7",md:"ag5hlo8",lg:"ag5hlo9",xl:"ag5hloa",xxl:"ag5hlob"},defaultClass:"ag5hlo6"},2:{conditions:{xs:"ag5hloc",sm:"ag5hlod",md:"ag5hloe",lg:"ag5hlof",xl:"ag5hlog",xxl:"ag5hloh"},defaultClass:"ag5hloc"},3:{conditions:{xs:"ag5hloi",sm:"ag5hloj",md:"ag5hlok",lg:"ag5hlol",xl:"ag5hlom",xxl:"ag5hlon"},defaultClass:"ag5hloi"},4:{conditions:{xs:"ag5hloo",sm:"ag5hlop",md:"ag5hloq",lg:"ag5hlor",xl:"ag5hlos",xxl:"ag5hlot"},defaultClass:"ag5hloo"},5:{conditions:{xs:"ag5hlou",sm:"ag5hlov",md:"ag5hlow",lg:"ag5hlox",xl:"ag5hloy",xxl:"ag5hloz"},defaultClass:"ag5hlou"},6:{conditions:{xs:"ag5hlo10",sm:"ag5hlo11",md:"ag5hlo12",lg:"ag5hlo13",xl:"ag5hlo14",xxl:"ag5hlo15"},defaultClass:"ag5hlo10"},7:{conditions:{xs:"ag5hlo16",sm:"ag5hlo17",md:"ag5hlo18",lg:"ag5hlo19",xl:"ag5hlo1a",xxl:"ag5hlo1b"},defaultClass:"ag5hlo16"},8:{conditions:{xs:"ag5hlo1c",sm:"ag5hlo1d",md:"ag5hlo1e",lg:"ag5hlo1f",xl:"ag5hlo1g",xxl:"ag5hlo1h"},defaultClass:"ag5hlo1c"},9:{conditions:{xs:"ag5hlo1i",sm:"ag5hlo1j",md:"ag5hlo1k",lg:"ag5hlo1l",xl:"ag5hlo1m",xxl:"ag5hlo1n"},defaultClass:"ag5hlo1i"},10:{conditions:{xs:"ag5hlo1o",sm:"ag5hlo1p",md:"ag5hlo1q",lg:"ag5hlo1r",xl:"ag5hlo1s",xxl:"ag5hlo1t"},defaultClass:"ag5hlo1o"},11:{conditions:{xs:"ag5hlo1u",sm:"ag5hlo1v",md:"ag5hlo1w",lg:"ag5hlo1x",xl:"ag5hlo1y",xxl:"ag5hlo1z"},defaultClass:"ag5hlo1u"},12:{conditions:{xs:"ag5hlo20",sm:"ag5hlo21",md:"ag5hlo22",lg:"ag5hlo23",xl:"ag5hlo24",xxl:"ag5hlo25"},defaultClass:"ag5hlo20"}}}}}),lh={root:"ag5hlo1",variants:bo({conditions:void 0,styles:{gap:{values:{1:{defaultClass:"ag5hlo2"},2:{defaultClass:"ag5hlo3"},3:{defaultClass:"ag5hlo4"},4:{defaultClass:"ag5hlo5"}}}}})};function iS({as:e="div",gap:t=3,children:n,className:r,...l},i){return D.jsx(e,{ref:i,className:Yn(r,lh.root,lh.variants({gap:t})),...l,children:n})}function oS({children:e,as:t="div",className:n,xs:r=12,sm:l,md:i,lg:o,xl:s,xxl:u,...a},c){return D.jsx(t,{ref:c,className:Yn(n,lS({gridColumn:{xs:r,sm:l,md:i,lg:o,xl:s,xxl:u}})),...a,children:e})}const $a=Object.assign(U.forwardRef(iS),{Column:U.forwardRef(oS)});var Cv={exports:{}};const sS=Xv($k);(function(e,t){(function(r,l){e.exports=l(U,sS)})(self,(n,r)=>(()=>{var l={"./common/index.ts":(u,a,c)=>{c.r(a),c.d(a,{dataMatch:()=>g,optionsUpdateState:()=>d});var p=function(_,x){var P={};for(var y in _)Object.prototype.hasOwnProperty.call(_,y)&&x.indexOf(y)<0&&(P[y]=_[y]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,y=Object.getOwnPropertySymbols(_);v{u.exports=n},uplot:u=>{u.exports=r}},i={};function o(u){var a=i[u];if(a!==void 0)return a.exports;var c=i[u]={exports:{}};return l[u](c,c.exports,o),c.exports}o.n=u=>{var a=u&&u.__esModule?()=>u.default:()=>u;return o.d(a,{a}),a},o.d=(u,a)=>{for(var c in a)o.o(a,c)&&!o.o(u,c)&&Object.defineProperty(u,c,{enumerable:!0,get:a[c]})},o.o=(u,a)=>Object.prototype.hasOwnProperty.call(u,a),o.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var s={};return(()=>{/*!*******************************!*\ +`)==-1?[Xn]:Xn.split(/\n/gm);for(let Mi=0;Mi{k>0&&(m._paths=null,f&&(l==1?(m.min=null,m.max=null):m.facets.forEach(E=>{E.min=null,E.max=null})))})}let eu=!1;function Hr(){eu||(Mx(Dv),eu=!0)}function Dv(){F&&(Ov(),F=!1),ae&&(Ha(),ae=!1),Q&&(He(_,El,Oe),He(_,Bi,$e),He(_,qi,ye),He(_,Ki,te),He(x,El,Oe),He(x,Bi,$e),He(x,qi,ye),He(x,Ki,te),He(g,qi,nt),He(g,Ki,Ft),p.width=Nt(nt*Te),p.height=Nt(Ft*Te),T.forEach(({_el:f,_show:m,_size:k,_pos:E,side:N})=>{if(f!=null)if(m){let A=N===3||N===0?k:0,B=N%2==1;He(f,B?"left":"top",E-A),He(f,B?"width":"height",k),He(f,B?"top":"left",B?$e:Oe),He(f,B?"height":"width",B?te:ye),Vc(f,Yr)}else en(f,Yr)}),Vo=ml=Ua=qa=Ka=Ga=Ya=Qa=Wa=null,xi=1,Oi(!0),Ot("setSize"),Q=!1),nt>0&&Ft>0&&(d.clearRect(0,0,p.width,p.height),Ot("drawClear"),I.forEach(f=>f()),Ot("draw")),It.show&&at&&(Go(It),at=!1),de.show&&he&&(Vr(null,!0,!1),he=!1),Y.show&&Y.live&&Qe&&(lu(),Qe=!1),a||(a=!0,r.status=1,Ot("ready")),Ho=!1,eu=!1}r.redraw=(f,m)=>{ae=m||!1,f!==!1?yl(M,z.min,z.max):Hr()};function tu(f,m){let k=O[f];if(k.from==null){if(Tt==0){let E=k.range(r,m.min,m.max,f);m.min=E[0],m.max=E[1]}if(m.min>m.max){let E=m.min;m.min=m.max,m.max=E}if(Tt>1&&m.min!=null&&m.max!=null&&m.max-m.min<1e-16)return;f==M&&k.distr==2&&Tt>0&&(m.min=wr(m.min,t[0]),m.max=wr(m.max,t[0]),m.min==m.max&&m.max++),se[f]=m,F=!0,Hr()}}r.setScale=tu;let nu,ru,qo,Ko,wd,_d,vl,gl,xd,kd,be,De,mr=!1;const Pt=de.drag;let gt=Pt.x,yt=Pt.y;de.show&&(de.x&&(nu=mn(X3,x)),de.y&&(ru=mn(ex,x)),z.ori==0?(qo=nu,Ko=ru):(qo=ru,Ko=nu),be=de.left,De=de.top);const It=r.select=it({show:!0,over:!0,left:0,width:0,top:0,height:0},e.select),Si=It.show?mn(J3,It.over?x:_):null;function Go(f,m){if(It.show){for(let k in f)It[k]=f[k],k in Td&&He(Si,k,f[k]);m!==!1&&Ot("setSelect")}}r.setSelect=Go;function zv(f,m){let k=w[f],E=me?Be[f]:null;k.show?E&&Vc(E,Yr):(E&&en(E,Yr),ht.length>1&&Cl(ht[f],-10,-10,ye,te))}function yl(f,m,k){tu(f,{min:m,max:k})}function In(f,m,k,E){m.focus!=null&&Hv(f),m.show!=null&&w.forEach((N,A)=>{A>0&&(f==A||f==null)&&(N.show=m.show,zv(A,m.show),yl(l==2?N.facets[1].scale:N.scale,null,null),Hr())}),k!==!1&&Ot("setSeries",f,m),E&&Ni("setSeries",r,f,m)}r.setSeries=In;function Fv(f,m){it(R[f],m)}function Iv(f,m){f.fill=xe(f.fill||null),f.dir=Pe(f.dir,-1),m=m??R.length,R.splice(m,0,f)}function Bv(f){f==null?R.length=0:R.splice(f,1)}r.addBand=Iv,r.setBand=Fv,r.delBand=Bv;function $v(f,m){w[f].alpha=m,de.show&&ht[f]&&(ht[f].style.opacity=m),me&&Be[f]&&(Be[f].style.opacity=m)}let wl,Ei,Ci;const _l={focus:!0};function Hv(f){if(f!=Ci){let m=f==null,k=Jn.alpha!=1;w.forEach((E,N)=>{let A=m||N==0||N==f;E._focus=m?null:A,k&&$v(N,A?1:Jn.alpha)}),Ci=f,k&&Hr()}}me&&pr&&pt(S0,pe,f=>{de._lock||(ut(f),Ci!=null&&In(null,_l,!0,rt.setSeries))});function Bn(f,m,k){let E=O[m];k&&(f=f/Te-(E.ori==1?$e:Oe));let N=ye;E.ori==1&&(N=te,f=N-f),E.dir==-1&&(f=N-f);let A=E._min,B=E._max,W=f/N,Z=A+(B-A)*W,ie=E.distr;return ie==3?ii(10,Z):ie==4?yx(Z,E.asinh):Z}function Vv(f,m){let k=Bn(f,M,m);return wr(k,t[0],mt,vt)}r.valToIdx=f=>wr(f,t[0]),r.posToIdx=Vv,r.posToVal=Bn,r.valToPos=(f,m,k)=>O[m].ori==0?o(f,O[m],k?C:ye,k?h:0):s(f,O[m],k?j:te,k?S:0);function Uv(f){f(r),Hr()}r.batch=Uv,r.setCursor=(f,m,k)=>{be=f.left,De=f.top,Vr(null,m,k)};function Sd(f,m){He(Si,El,It.left=f),He(Si,qi,It.width=m)}function Ed(f,m){He(Si,Bi,It.top=f),He(Si,Ki,It.height=m)}let Ti=z.ori==0?Sd:Ed,Pi=z.ori==1?Sd:Ed;function Wv(){if(me&&Y.live)for(let f=l==2?1:0;f{re[E]=k}):Sx(f.idx)||re.fill(f.idx),Y.idx=re[0]);for(let k=0;k0||l==1&&!st)&&qv(k,re[k]);me&&Y.live&&Wv(),Qe=!1,m!==!1&&Ot("setLegend")}r.setLegend=lu;function qv(f,m){let k=w[f],E=f==0&&H==2?Pn:t[f],N;st?N=k.values(r,f,m)??dn:(N=k.value(r,m==null?null:E[m],f,m),N=N==null?dn:{_:N}),Y.values[f]=N}function Vr(f,m,k){xd=be,kd=De,[be,De]=de.move(r,be,De),de.show&&(qo&&Cl(qo,Nt(be),0,ye,te),Ko&&Cl(Ko,0,Nt(De),ye,te));let E,N=mt>vt;wl=ke;let A=z.ori==0?ye:te,B=z.ori==1?ye:te;if(be<0||Tt==0||N){E=null;for(let W=0;W0&&ht.length>1&&Cl(ht[W],-10,-10,ye,te);pr&&In(null,_l,!0,f==null&&rt.setSeries),Y.live&&(re.fill(E),Qe=!0)}else{let W,Z,ie;l==1&&(W=z.ori==0?be:De,Z=Bn(W,M),E=wr(Z,t[0],mt,vt),ie=K(t[0][E],z,A,0));for(let V=l==2?1:0;V0&&le.show){let Me=Ce==null?-10:si(oe(Ce,l==1?O[le.scale]:O[le.facets[1].scale],B,0),1);if(pr&&Me>=0&&l==1){let ze=_t(Me-De);if(ze=0?1:-1,On=Xe>=0?1:-1;On==Bt&&(On==1?lt==1?Ce>=Xe:Ce<=Xe:lt==1?Ce<=Xe:Ce>=Xe)&&(wl=ze,Ei=V)}else wl=ze,Ei=V}}let qe,Wt;if(z.ori==0?(qe=Ee,Wt=Me):(qe=Me,Wt=Ee),Qe&&ht.length>1){fx(ht[V],de.points.fill(r,V),de.points.stroke(r,V));let ze,lt,jt,Xe,Bt=!0,On=de.points.bbox;if(On!=null){Bt=!1;let gr=On(r,V);jt=gr.left,Xe=gr.top,ze=gr.width,lt=gr.height}else jt=qe,Xe=Wt,ze=lt=de.points.size(r,V);dx(ht[V],ze,lt,Bt),Cl(ht[V],jt,Xe,ye,te)}}}}if(de.idx=E,de.left=be,de.top=De,Qe&&(Y.idx=E,lu()),It.show&&mr)if(f!=null){let[W,Z]=rt.scales,[ie,V]=rt.match,[le,ge]=f.cursor.sync.scales,Ze=f.cursor.drag;if(gt=Ze._x,yt=Ze._y,gt||yt){let{left:_e,top:Ce,width:Ee,height:Me}=f.select,qe=f.scales[W].ori,Wt=f.posToVal,ze,lt,jt,Xe,Bt,On=W!=null&&ie(W,le),gr=Z!=null&&V(Z,ge);On&>?(qe==0?(ze=_e,lt=Ee):(ze=Ce,lt=Me),jt=O[W],Xe=K(Wt(ze,le),jt,A,0),Bt=K(Wt(ze+lt,le),jt,A,0),Ti(nn(Xe,Bt),_t(Bt-Xe))):Ti(0,A),gr&&yt?(qe==1?(ze=_e,lt=Ee):(ze=Ce,lt=Me),jt=O[Z],Xe=oe(Wt(ze,ge),jt,B,0),Bt=oe(Wt(ze+lt,ge),jt,B,0),Pi(nn(Xe,Bt),_t(Bt-Xe))):Pi(0,B)}else Yo()}else{let W=_t(xd-wd),Z=_t(kd-_d);if(z.ori==1){let ge=W;W=Z,Z=ge}gt=Pt.x&&W>=Pt.dist,yt=Pt.y&&Z>=Pt.dist;let ie=Pt.uni;ie!=null?gt&&yt&&(gt=W>=ie,yt=Z>=ie,!gt&&!yt&&(Z>W?yt=!0:gt=!0)):Pt.x&&Pt.y&&(gt||yt)&&(gt=yt=!0);let V,le;gt&&(z.ori==0?(V=vl,le=be):(V=gl,le=De),Ti(nn(V,le),_t(le-V)),yt||Pi(0,B)),yt&&(z.ori==1?(V=vl,le=be):(V=gl,le=De),Pi(nn(V,le),_t(le-V)),gt||Ti(0,A)),!gt&&!yt&&(Ti(0,0),Pi(0,0))}if(Pt._x=gt,Pt._y=yt,f==null){if(k){if(Dd!=null){let[W,Z]=rt.scales;rt.values[0]=W!=null?Bn(z.ori==0?be:De,W):null,rt.values[1]=Z!=null?Bn(z.ori==1?be:De,Z):null}Ni(_0,r,be,De,ye,te,E)}if(pr){let W=k&&rt.setSeries,Z=Jn.prox;Ci==null?wl<=Z&&In(Ei,_l,!0,W):wl>Z?In(null,_l,!0,W):Ei!=Ci&&In(Ei,_l,!0,W)}}m!==!1&&Ot("setCursor")}let vr=null;Object.defineProperty(r,"rect",{get(){return vr==null&&Oi(!1),vr}});function Oi(f=!1){f?vr=null:(vr=x.getBoundingClientRect(),Ot("syncRect",vr))}function Cd(f,m,k,E,N,A,B){de._lock||mr&&f!=null&&f.movementX==0&&f.movementY==0||(iu(f,m,k,E,N,A,B,!1,f!=null),f!=null?Vr(null,!0,!0):Vr(m,!0,!1))}function iu(f,m,k,E,N,A,B,W,Z){if(vr==null&&Oi(!1),ut(f),f!=null)k=f.clientX-vr.left,E=f.clientY-vr.top;else{if(k<0||E<0){be=-10,De=-10;return}let[ie,V]=rt.scales,le=m.cursor.sync,[ge,Ze]=le.values,[_e,Ce]=le.scales,[Ee,Me]=rt.match,qe=m.axes[0].side%2==1,Wt=z.ori==0?ye:te,ze=z.ori==1?ye:te,lt=qe?A:N,jt=qe?N:A,Xe=qe?E:k,Bt=qe?k:E;if(_e!=null?k=Ee(ie,_e)?u(ge,O[ie],Wt,0):-10:k=Wt*(Xe/lt),Ce!=null?E=Me(V,Ce)?u(Ze,O[V],ze,0):-10:E=ze*(Bt/jt),z.ori==1){let On=k;k=E,E=On}}Z&&((k<=1||k>=ye-1)&&(k=Gr(k,ye)),(E<=1||E>=te-1)&&(E=Gr(E,te))),W?(wd=k,_d=E,[vl,gl]=de.move(r,k,E)):(be=k,De=E)}const Td={width:0,height:0,left:0,top:0};function Yo(){Go(Td,!1)}let Pd,Od,Nd,Md;function Rd(f,m,k,E,N,A,B){mr=!0,gt=yt=Pt._x=Pt._y=!1,iu(f,m,k,E,N,A,B,!0,!1),f!=null&&(pt(Fu,$c,Ld,!1),Ni(x0,r,vl,gl,ye,te,null));let{left:W,top:Z,width:ie,height:V}=It;Pd=W,Od=Z,Nd=ie,Md=V,Yo()}function Ld(f,m,k,E,N,A,B){mr=Pt._x=Pt._y=!1,iu(f,m,k,E,N,A,B,!1,!0);let{left:W,top:Z,width:ie,height:V}=It,le=ie>0||V>0,ge=Pd!=W||Od!=Z||Nd!=ie||Md!=V;if(le&&ge&&Go(It),Pt.setScale&&le&&ge){let Ze=W,_e=ie,Ce=Z,Ee=V;if(z.ori==1&&(Ze=Z,_e=V,Ce=W,Ee=ie),gt&&yl(M,Bn(Ze,M),Bn(Ze+_e,M)),yt)for(let Me in O){let qe=O[Me];Me!=M&&qe.from==null&&qe.min!=ke&&yl(Me,Bn(Ce+Ee,Me),Bn(Ce,Me))}Yo()}else de.lock&&(de._lock=!de._lock,de._lock||Vr(null,!0,!1));f!=null&&(ue(Fu,$c),Ni(Fu,r,be,De,ye,te,null))}function Kv(f,m,k,E,N,A,B){if(de._lock)return;ut(f);let W=mr;if(mr){let Z=!0,ie=!0,V=10,le,ge;z.ori==0?(le=gt,ge=yt):(le=yt,ge=gt),le&&ge&&(Z=be<=V||be>=ye-V,ie=De<=V||De>=te-V),le&&Z&&(be=be{let N=rt.match[2];k=N(r,m,k),k!=-1&&In(k,E,!0,!1)},de.show&&(pt(x0,x,Rd),pt(_0,x,Cd),pt(k0,x,f=>{ut(f),Oi(!1)}),pt(S0,x,Kv),pt(E0,x,jd),Kc.add(r),r.syncRect=Oi);const Qo=r.hooks=e.hooks||{};function Ot(f,m,k){f in Qo&&Qo[f].forEach(E=>{E.call(null,r,m,k)})}(e.plugins||[]).forEach(f=>{for(let m in f.hooks)Qo[m]=(Qo[m]||[]).concat(f.hooks[m])});const bd=(f,m,k)=>k,rt=it({key:null,setSeries:!1,filters:{pub:A0,sub:A0},scales:[M,w[1]?w[1].scale:null],match:[b0,b0,bd],values:[null,null]},de.sync);rt.match.length==2&&rt.match.push(bd),de.sync=rt;const Dd=rt.key,ou=dv(Dd);function Ni(f,m,k,E,N,A,B){rt.filters.pub(f,m,k,E,N,A,B)&&ou.pub(f,m,k,E,N,A,B)}ou.sub(r);function Gv(f,m,k,E,N,A,B){rt.filters.sub(f,m,k,E,N,A,B)&&xl[f](null,m,k,E,N,A,B)}r.pub=Gv;function Yv(){ou.unsub(r),Kc.delete(r),hn.clear(),Uc(ua,Wl,Ad),c.remove(),pe==null||pe.remove(),Ot("destroy")}r.destroy=Yv;function su(){Ot("init",e,t),pd(t||e.data,!1),se[M]?tu(M,se[M]):Va(),at=It.show,he=Qe=!0,We(e.width,e.height)}return w.forEach($r),T.forEach(Pv),n?n instanceof HTMLElement?(n.appendChild(c),su()):n(r,su):su(),r}Et.assign=it;Et.fmtNum=id;Et.rangeNum=ca;Et.rangeLog=ja;Et.rangeAsinh=rd;Et.orient=hl;Et.pxRatio=Te;Et.join=Nx;Et.fmtDate=od,Et.tzDate=Bx;Et.sync=dv;{Et.addGap=Ek,Et.clipGaps=Da;let e=Et.paths={points:yv};e.linear=_v,e.stepped=Pk,e.bars=Ok,e.spline=Mk}const $k=Object.freeze(Object.defineProperty({__proto__:null,default:Et},Symbol.toStringTag,{value:"Module"}));function Hk(e,t){let[n,r]=H3(e,{formatSubMilliseconds:!0,compact:t}).split(" ").slice(0,2);return n.match(/[0-9]+s/)&&!t?(n=n.replace("s","."),r?r=r.substring(0,1):r="0",n+r+"s"):(r&&(n+=" "+r),n)}function rh(e){return F3(e)}var Vk=Et.fmtDate("{YYYY}-{MM}-{DD} {HH}:{mm}:{ss}");function Ba(e,t,n=!1){switch(e){case Kr.duration:return Hk(t,n);case Kr.bytes:return rh(t);case Kr.bps:return rh(t)+"/s";case Kr.counter:return m0(t).format("0.[0]a");case Kr.rps:return m0(t).format("0.[00]a")+"/s";case Kr.timestamp:return Vk(new Date(t*1e3));default:return isNaN(t)||t==null?"0":t.toFixed(2)}}function Uk(e){return function(t,n,r,l){return l==null?"--":n==null?"":Ba(e,n)}}var Ev=class{constructor(e,t,n){ve(this,"samples");ve(this,"series");const r=t.series.map(l=>l.query);this.samples=e.samples.select(r),this.samples.empty||(this.series=this.buildSeries(t.series,n))}get empty(){return this.samples.empty}get data(){const e=new Array;for(let t=0;t0&&(i=e[r].legend),n.push({stroke:t[l].stroke,fill:t[l].fill,value:Uk(this.samples[r].unit),points:{show:!1},label:i,scale:this.samples[r].unit})}return n}};function Wk(e){let t;function n(i){t=document.createElement("div");const o={display:"none",position:"absolute",padding:"0.2rem",border:"1px solid #7b65fa",zIndex:"10",pointerEvents:"none",margin:"0.5rem",fontSize:"1.25rem"};Object.assign(t.style,o),i.over.appendChild(t),i.over.onmouseleave=()=>{t.style.display="none"},i.over.onmouseenter=()=>{t.style.display="block"}}function r(i){l(i)}function l(i){const o=i.over.getBoundingClientRect();t.style.background=e;const s=qk(i);if(!s){t.style.display="none";return}t.innerHTML=s;const{left:u,top:a}=i.cursor,c=u??0,p=a??0;t.innerHTML=s,ci.over.focus()}}}function qk(e){const{idx:t}=e.cursor;if(t==null)return"";let n;e.legend.values?n=e.legend.values[0]._:n="";let r=``;for(let l=1;l`}return r+="
${n}
${Kk(i,o)}${s}${u}
",r}function Kk(e,t){return``}var zs=(e=>(e.chart="chart",e.stat="stat",e.summary="summary",e))(zs||{}),Gk=class{constructor(e,t){ve(this,"view");ve(this,"metrics");this.metrics=t.metrics;const n=e.series.map(r=>r.query);this.view=t.summary.select(n)}get empty(){return this.view.empty}get cols(){return this.view.aggregates.length}get header(){return new Array("metric",...this.view.aggregates.map(e=>e))}get body(){const e=new Array;for(let t=0;tthis.format(this.view[t],r))),e.push(n)}return e}format(e,t){var n;const r=this.metrics.unit(((n=e.metric)==null?void 0:n.name)??"",t);return Ba(r,e.values[t],!0)}};function Yk(e,t){for(let n=0;nr.query)).empty}function Jk(e,t){return t.summary.select(e.series.map(r=>r.query)).empty}var Xk=bo({conditions:void 0,styles:{borderRadius:{values:{true:{defaultClass:"_1c9nzq10"},false:{defaultClass:"_1c9nzq11"}}}}}),eS="_1c9nzq14",tS="_1c9nzq12",nS="_1c9nzq13";const rS=({children:e,title:t,isOpen:n,onClick:r})=>D.jsxs("div",{children:[D.jsxs(St,{as:"button",align:"center","aria-expanded":n,className:Yn(tS,Xk({borderRadius:String(n)})),width:"100%",onClick:r,children:[n?D.jsx(Kn,{name:"chevron-up"}):D.jsx(Kn,{name:"chevron-down"}),D.jsx("h2",{className:nS,children:t})]}),n&&D.jsx("div",{className:eS,children:e})]});var lS=bo({conditions:{defaultCondition:"xs",conditionNames:["xs","sm","md","lg","xl","xxl"],responsiveArray:void 0},styles:{gridColumn:{values:{1:{conditions:{xs:"ag5hlo6",sm:"ag5hlo7",md:"ag5hlo8",lg:"ag5hlo9",xl:"ag5hloa",xxl:"ag5hlob"},defaultClass:"ag5hlo6"},2:{conditions:{xs:"ag5hloc",sm:"ag5hlod",md:"ag5hloe",lg:"ag5hlof",xl:"ag5hlog",xxl:"ag5hloh"},defaultClass:"ag5hloc"},3:{conditions:{xs:"ag5hloi",sm:"ag5hloj",md:"ag5hlok",lg:"ag5hlol",xl:"ag5hlom",xxl:"ag5hlon"},defaultClass:"ag5hloi"},4:{conditions:{xs:"ag5hloo",sm:"ag5hlop",md:"ag5hloq",lg:"ag5hlor",xl:"ag5hlos",xxl:"ag5hlot"},defaultClass:"ag5hloo"},5:{conditions:{xs:"ag5hlou",sm:"ag5hlov",md:"ag5hlow",lg:"ag5hlox",xl:"ag5hloy",xxl:"ag5hloz"},defaultClass:"ag5hlou"},6:{conditions:{xs:"ag5hlo10",sm:"ag5hlo11",md:"ag5hlo12",lg:"ag5hlo13",xl:"ag5hlo14",xxl:"ag5hlo15"},defaultClass:"ag5hlo10"},7:{conditions:{xs:"ag5hlo16",sm:"ag5hlo17",md:"ag5hlo18",lg:"ag5hlo19",xl:"ag5hlo1a",xxl:"ag5hlo1b"},defaultClass:"ag5hlo16"},8:{conditions:{xs:"ag5hlo1c",sm:"ag5hlo1d",md:"ag5hlo1e",lg:"ag5hlo1f",xl:"ag5hlo1g",xxl:"ag5hlo1h"},defaultClass:"ag5hlo1c"},9:{conditions:{xs:"ag5hlo1i",sm:"ag5hlo1j",md:"ag5hlo1k",lg:"ag5hlo1l",xl:"ag5hlo1m",xxl:"ag5hlo1n"},defaultClass:"ag5hlo1i"},10:{conditions:{xs:"ag5hlo1o",sm:"ag5hlo1p",md:"ag5hlo1q",lg:"ag5hlo1r",xl:"ag5hlo1s",xxl:"ag5hlo1t"},defaultClass:"ag5hlo1o"},11:{conditions:{xs:"ag5hlo1u",sm:"ag5hlo1v",md:"ag5hlo1w",lg:"ag5hlo1x",xl:"ag5hlo1y",xxl:"ag5hlo1z"},defaultClass:"ag5hlo1u"},12:{conditions:{xs:"ag5hlo20",sm:"ag5hlo21",md:"ag5hlo22",lg:"ag5hlo23",xl:"ag5hlo24",xxl:"ag5hlo25"},defaultClass:"ag5hlo20"}}}}}),lh={root:"ag5hlo1",variants:bo({conditions:void 0,styles:{gap:{values:{1:{defaultClass:"ag5hlo2"},2:{defaultClass:"ag5hlo3"},3:{defaultClass:"ag5hlo4"},4:{defaultClass:"ag5hlo5"}}}}})};function iS({as:e="div",gap:t=3,children:n,className:r,...l},i){return D.jsx(e,{ref:i,className:Yn(r,lh.root,lh.variants({gap:t})),...l,children:n})}function oS({children:e,as:t="div",className:n,xs:r=12,sm:l,md:i,lg:o,xl:s,xxl:u,...a},c){return D.jsx(t,{ref:c,className:Yn(n,lS({gridColumn:{xs:r,sm:l,md:i,lg:o,xl:s,xxl:u}})),...a,children:e})}const $a=Object.assign(U.forwardRef(iS),{Column:U.forwardRef(oS)});var Cv={exports:{}};const sS=Xv($k);(function(e,t){(function(r,l){e.exports=l(U,sS)})(self,(n,r)=>(()=>{var l={"./common/index.ts":(u,a,c)=>{c.r(a),c.d(a,{dataMatch:()=>g,optionsUpdateState:()=>d});var p=function(_,x){var P={};for(var y in _)Object.prototype.hasOwnProperty.call(_,y)&&x.indexOf(y)<0&&(P[y]=_[y]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,y=Object.getOwnPropertySymbols(_);v{u.exports=n},uplot:u=>{u.exports=r}},i={};function o(u){var a=i[u];if(a!==void 0)return a.exports;var c=i[u]={exports:{}};return l[u](c,c.exports,o),c.exports}o.n=u=>{var a=u&&u.__esModule?()=>u.default:()=>u;return o.d(a,{a}),a},o.d=(u,a)=>{for(var c in a)o.o(a,c)&&!o.o(u,c)&&Object.defineProperty(u,c,{enumerable:!0,get:a[c]})},o.o=(u,a)=>Object.prototype.hasOwnProperty.call(u,a),o.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var s={};return(()=>{/*!*******************************!*\ !*** ./react/uplot-react.tsx ***! \*******************************/o.r(s),o.d(s,{default:()=>g});var u=o("react"),a=o.n(u),c=o("uplot"),p=o.n(c),d=o("./common/index.ts");function g(_){var x=_.options,P=_.data,y=_.target,v=_.onDelete,w=v===void 0?function(){}:v,T=_.onCreate,O=T===void 0?function(){}:T,R=_.resetScales,M=R===void 0?!0:R,L=(0,u.useRef)(null),I=(0,u.useRef)(null);function b(K){K&&(w(K),K.destroy(),L.current=null)}function z(){var K=new(p())(x,P,y||I.current);L.current=K,O(K)}(0,u.useEffect)(function(){return z(),function(){b(L.current)}},[]);var H=(0,u.useRef)({options:x,data:P,target:y}).current;return(0,u.useEffect)(function(){if(H.options!==x){var K=(0,d.optionsUpdateState)(H.options,x);!L.current||K==="create"?(b(L.current),z()):K==="update"&&L.current.setSize({width:x.width,height:x.height})}return H.data!==P&&(L.current?(0,d.dataMatch)(H.data,P)||(M?L.current.setData(P,!0):(L.current.setData(P,!1),L.current.redraw())):z()),H.target!==y&&(b(L.current),z()),function(){H.options=x,H.data=P,H.target=y}},[x,P,y,M]),y?null:a().createElement("div",{ref:I})}})(),s=s.default,s})())})(Cv);var aS=Cv.exports;const Tv=pa(aS);var uS="_14dhllh0",cS="_14dhllh1",fS="_14dhllh3",dS="_14dhllh2";const pS=1,hS=70,mS=250,vS=Et.sync("chart"),gS=[[3600*24*365,"0",null,null,null,null,null,null,1],[3600*24*28,"0",null,null,null,null,null,null,1],[3600*24,"{HH}:{mm}:{ss}",null,null,null,null,null,null,1],[3600,"{HH}:{mm}:{ss}",null,null,null,null,null,null,1],[60,"{HH}:{mm}:{ss}",null,null,null,null,null,null,1],[1,"{HH}:{mm}:{ss}",null,null,null,null,null,null,1],[.001,"{HH}:{mm}:{ss}",null,null,null,null,null,null,1]],yS=e=>({tooltip:e==="dark"?Jp[900]:Au.white,grid:e==="dark"?Jp[700]:P1[300],axes:e==="dark"?Au.white:Au.black}),wS=(e,t)=>t===0?gS:(n,r)=>r.map(l=>Ba(e,l)),_S=(e,t)=>(n,r)=>{const l={stroke:e.axes,grid:{stroke:e.grid,width:1},ticks:{stroke:e.grid},values:wS(n,r),scale:n,space:n==="timestamp"?60:40};return r===2&&t>2&&(l.side=pS),r!==0&&(l.size=hS),l},xS=({hooks:e,plot:t,theme:n,width:r})=>{const l=yS(n),i=t.samples.units,o=i.map(_S(l,i.length));return{class:dS,width:r,height:mS,hooks:e,cursor:{sync:{key:vS.key}},legend:{live:!1},series:t.series,axes:o,plugins:[Wk(l.tooltip)]}},kS=sw(["show"]),SS=(e=[],t=[])=>e.map((n,r)=>kS(n,t[r])),ES=({plot:e,theme:t,width:n})=>{const[r,l]=U.useState(e.series),i={...e,series:SS(e.series,r)};return xS({hooks:{setSeries:[s=>l(s.series)]},plot:i,theme:t,width:n})};function CS({panel:e,container:t}){const n=pl(),{theme:r}=pi(),[l,{width:i}]=E1(),o=new Ev(n,e,O1(r)),s=!o.empty&&o.data[0].length>1,u=s?o.data:[],a=ES({plot:o,theme:r,width:i}),c=t?U.Fragment:La;function p(d){const g=r=="dark"?"#60606080":"#d0d0d080",_=d.root.querySelector(".u-select");_&&(_.style.background=g)}return D.jsx($a.Column,{xs:12,lg:e.fullWidth?12:6,children:D.jsx(c,{children:D.jsxs("div",{ref:l,children:[D.jsxs(St,{align:"center",gap:1,children:[D.jsx("h3",{className:fS,children:e.title}),D.jsx(Bc,{title:e.summary,children:D.jsx(Kn,{name:"info",width:"20px",height:"20px"})})]}),D.jsxs("div",{className:uS,children:[!s&&D.jsx("p",{className:cS,children:"no data"}),D.jsx(Tv,{options:a,data:u,onCreate:p})]})]})})})}var TS="ova0r31",PS="ova0r32",OS="ova0r30";const NS=32,MS=({digest:e,panel:t,plot:n,width:r})=>{const l=t.series[0].query,i=e.samples.query(l);let o;return i&&Array.isArray(i.values)&&i.values.length!==0&&(o=Ba(i.unit,Number(i.values.slice(-1)),!0)),{class:OS,width:r,height:NS,title:o,series:n.series,axes:[{show:!1},{show:!1}],legend:{show:!1},cursor:{show:!1}}};function RS({panel:e}){const t=pl(),{theme:n}=pi(),[r,{width:l}]=E1(),i=new Ev(t,e,O1(n));if(i.empty)return null;const o=MS({digest:t,panel:e,plot:i,width:l});return D.jsx($a.Column,{xs:6,md:4,lg:2,children:D.jsx(La,{className:TS,children:D.jsxs(St,{direction:"column",justify:"end",gap:0,height:"100%",children:[D.jsx("p",{className:PS,children:e.title}),D.jsx("div",{ref:r,children:D.jsx(Tv,{options:o,data:i.data})})]})})})}var LS="_12owwid0",jS="_12owwid4",AS="_12owwid1",bS={thead:"_12owwid2",tbody:"_12owwid3"};function DS({children:e,...t}){return D.jsx("table",{className:LS,...t,children:e})}function zS({children:e,...t}){return D.jsx("thead",{...t,children:e})}function FS({children:e,...t}){return D.jsx("tbody",{...t,children:e})}function IS({children:e,...t}){return D.jsx("th",{className:AS,...t,children:e})}function BS({children:e,isHead:t=!1,...n}){return D.jsx("tr",{className:bS[t?"thead":"tbody"],...n,children:e})}function $S({children:e,...t}){return D.jsx("td",{className:jS,...t,children:e})}function HS({children:e,...t}){return D.jsx("tfoot",{...t,children:e})}const Ur=Object.assign(DS,{Body:FS,Cell:$S,Footer:HS,Head:zS,Header:IS,Row:BS});var VS="_57i9sh1",US="_57i9sh0";var WS="_1jb2mvv0",qS="_1jb2mvv2",KS="_1jb2mvv1";function GS({children:e,className:t,title:n,...r},l){return D.jsxs(La,{ref:l,className:Yn(WS,t),...r,children:[n&&D.jsx("h3",{className:KS,children:n}),D.jsx("div",{className:qS,children:e})]})}const YS=U.forwardRef(GS);function QS({panel:e}){const t=pl(),n=new Gk(e,t);if(n.empty)return D.jsx("div",{});const r=n.view.aggregates.length,l=r>6?12:r>1?6:3,i=r>6||r>1?12:6;return D.jsx($a.Column,{xs:12,md:i,lg:l,children:D.jsx(YS,{className:US,title:e.title,children:D.jsx("div",{className:VS,children:D.jsxs(Ur,{children:[D.jsx(Ur.Head,{children:D.jsx(Ur.Row,{isHead:!0,children:n.header.map((o,s)=>D.jsx(Ur.Header,{align:s==0?"left":"right",children:o},e.id+"header"+o))})}),D.jsx(Ur.Body,{children:n.body.map((o,s)=>D.jsx(Ur.Row,{children:o.map((u,a)=>D.jsx(Ur.Cell,{align:a==0?"left":"right",children:u},e.id+"_value_"+s+"_"+a))},e.id+"row"+s))})]})})},e.id)})}function ZS({container:e,panel:t}){switch(t.kind){case zs.chart:return D.jsx(CS,{panel:t,container:e});case zs.stat:return D.jsx(RS,{panel:t});case zs.summary:return D.jsx(QS,{panel:t});default:return null}}var JS="_1ls5syl0";function ih({container:e,section:t}){return D.jsx($a,{gap:e?4:3,children:t.panels.map(n=>D.jsx(ZS,{panel:n,container:e},n.id))})}function XS({section:e}){const[t,n]=U.useState(!0),r=pl();return Yk(e,r)?null:e.title?D.jsx(St,{direction:"column",children:D.jsx(rS,{title:e.title,isOpen:t,onClick:()=>n(!t),children:D.jsx(ih,{container:!0,section:e})})}):D.jsxs(St,{direction:"column",children:[e.summary&&D.jsx("p",{className:JS,children:e.summary}),D.jsx(ih,{section:e})]})}var e5="_1t22owt0",t5="_1t22owt1";function n5(){const e=pl(),{themeClassName:t}=pi(),[n,r]=U.useState(0),l=!!e.samples.length;return D.jsxs(St,{className:`${t} ${e5}`,direction:"column",gap:0,children:[D.jsx(O3,{config:e.config,tab:n,onTabChange:r}),D.jsx(St,{as:"main",className:t5,direction:"column",grow:l?0:1,children:D.jsx(L3,{isLoading:!l,message:"Loading...",children:e.config.tabs.map((i,o)=>D.jsx(r5,{active:n,idx:o,children:i.sections.map(s=>D.jsx(XS,{section:s},s.id))},i.id))})})]})}function r5({children:e,active:t,idx:n}){return t!==n?null:D.jsx(St,{direction:"column",gap:3,children:e})}const l5=new URLSearchParams(window.location.search).get("endpoint")||"http://localhost:5665/",i5=document.getElementById("root");Vu.createRoot(i5).render(D.jsx(L2,{endpoint:l5+"events",children:D.jsx(F2,{children:D.jsx(n5,{})})})); diff --git a/dashboard/assets/packages/ui/dist/assets/index-fa41f432.css b/dashboard/assets/packages/ui/dist/assets/index-98e3ee4e.css similarity index 50% rename from dashboard/assets/packages/ui/dist/assets/index-fa41f432.css rename to dashboard/assets/packages/ui/dist/assets/index-98e3ee4e.css index e9e43f8..1cf777f 100644 --- a/dashboard/assets/packages/ui/dist/assets/index-fa41f432.css +++ b/dashboard/assets/packages/ui/dist/assets/index-98e3ee4e.css @@ -1 +1 @@ -*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}*{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif}html{font-size:62.5%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{letter-spacing:.075em;line-height:1.5;text-rendering:optimizeLegibility}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{font-size:1.25rem}#root{isolation:isolate}@keyframes ughkw70{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--_1dwurlb0: 3px;--_1dwurlb1: 5px;--_1dwurlb2: 10px;--_1dwurlb3: 25px;--_1dwurlb4: .25rem;--_1dwurlb5: .5rem;--_1dwurlb6: .75rem;--_1dwurlb7: 1rem;--_1dwurlb8: 1.25rem;--_1dwurlb9: 1.5rem;--_1dwurlba: 1.75rem;--_1dwurlbb: 2rem;--_1dwurlbc: 3rem;--_1dwurlbd: 4rem;--_1dwurlbe: 5rem;--_1dwurlbf: 0px;--_1dwurlbg: 480px;--_1dwurlbh: 768px;--_1dwurlbi: 1024px;--_1dwurlbj: 1440px;--_1dwurlbk: 1920px;--_1dwurlbl: ughkw70;--_1dwurlbm: .5rem;--_1dwurlbn: .75rem;--_1dwurlbo: 1rem;--_1dwurlbp: 1.1rem;--_1dwurlbq: 1.25rem;--_1dwurlbr: 1.5rem;--_1dwurlbs: 2rem;--_1dwurlbt: 2.5rem;--_1dwurlbu: 3rem;--_1dwurlbv: 3.5rem;--_1dwurlbw: 100;--_1dwurlbx: 200;--_1dwurlby: 300;--_1dwurlbz: 400;--_1dwurlb10: 500;--_1dwurlb11: 600;--_1dwurlb12: 700;--_1dwurlb13: 800;--_1dwurlb14: 900;--_1dwurlb15: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;--_1dwurlb16: ui-serif,serif;--_1dwurlb17: Dank Mono,Operator Mono,Inconsolata,Fira Mono,ui-monospace,SF Mono,Monaco,Droid Sans Mono,Source Code Pro,monospace;--_1dwurlb18: -.05em;--_1dwurlb19: .025em;--_1dwurlb1a: .05em;--_1dwurlb1b: .075em;--_1dwurlb1c: .15em;--_1dwurlb1d: .5em;--_1dwurlb1e: .75em;--_1dwurlb1f: 1em;--_1dwurlb1g: .95;--_1dwurlb1h: 1.1;--_1dwurlb1i: 1.25;--_1dwurlb1j: 1.375;--_1dwurlb1k: 1.5;--_1dwurlb1l: 1.75;--_1dwurlb1m: 2}._1dwurlb24{--_1dwurlb1n: #000000;--_1dwurlb1o: #ffffff;--_1dwurlb1p: #8e7de5;--_1dwurlb1q: #6e59de;--_1dwurlb1r: #604ec2;--_1dwurlb1s: #ffffff;--_1dwurlb1t: #fafafa;--_1dwurlb1u: #eeeeee;--_1dwurlb1v: #212121;--_1dwurlb1w: #616161;--_1dwurlb1x: #bdbdbd;--_1dwurlb1y: #9e9e9e;--_1dwurlb1z: #e0e0e0;--_1dwurlb20: #eeeeee;--_1dwurlb21: #e0e0e0;--_1dwurlb22: #e0e0e0;--_1dwurlb23: #eeeeee}._1dwurlb25{--_1dwurlb1n: #000000;--_1dwurlb1o: #ffffff;--_1dwurlb1p: #8e7de5;--_1dwurlb1q: #6e59de;--_1dwurlb1r: #604ec2;--_1dwurlb1s: #394160;--_1dwurlb1t: #2c324b;--_1dwurlb1u: #1F2537;--_1dwurlb1v: #ffffff;--_1dwurlb1w: #D6DCFF;--_1dwurlb1x: #3f486b;--_1dwurlb1y: #ffffff;--_1dwurlb1z: #3f486b;--_1dwurlb20: #394160;--_1dwurlb21: #1F2537;--_1dwurlb22: #394160;--_1dwurlb23: #3f486b}.wy7gkc0{flex-direction:row}.wy7gkc1{flex-direction:column}.wy7gkc2{flex-wrap:nowrap}.wy7gkc3{flex-wrap:wrap}.wy7gkc4{flex-wrap:wrap-reverse}.wy7gkc5{align-items:flex-start}.wy7gkc6{align-items:flex-end}.wy7gkc7{align-items:stretch}.wy7gkc8{align-items:center}.wy7gkc9{align-items:baseline}.wy7gkca{align-items:start}.wy7gkcb{align-items:end}.wy7gkcc{align-items:self-start}.wy7gkcd{align-items:self-end}.wy7gkce{justify-content:flex-start}.wy7gkcf{justify-content:flex-end}.wy7gkcg{justify-content:start}.wy7gkch{justify-content:end}.wy7gkci{justify-content:left}.wy7gkcj{justify-content:right}.wy7gkck{justify-content:center}.wy7gkcl{justify-content:space-between}.wy7gkcm{justify-content:space-around}.wy7gkcn{justify-content:space-evenly}.wy7gkco{gap:0}.wy7gkcp{gap:var(--_1dwurlb4)}.wy7gkcq{gap:var(--_1dwurlb5)}.wy7gkcr{gap:var(--_1dwurlb9)}.wy7gkcs{gap:var(--_1dwurlbc)}.wy7gkct{gap:var(--_1dwurlbe)}.wy7gkcu{padding:0}.wy7gkcv{padding:var(--_1dwurlb4)}.wy7gkcw{padding:var(--_1dwurlb5)}.wy7gkcx{padding:var(--_1dwurlb9)}.wy7gkcy{padding:var(--_1dwurlbc)}.wy7gkcz{padding:var(--_1dwurlbe)}.wy7gkc15{display:flex;flex-grow:var(--wy7gkc10);flex-shrink:var(--wy7gkc11);flex-basis:var(--wy7gkc12);height:var(--wy7gkc13);width:var(--wy7gkc14)}._17y8ldl0{background-color:transparent;border:none;color:var(--_1dwurlb1v);font-size:var(--_1dwurlbq);font-weight:var(--_1dwurlb10)}._17y8ldl0:is(:disabled){opacity:.5;cursor:not-allowed}._17y8ldl0:not(:disabled){cursor:pointer}._17y8ldl1{background-color:var(--_1dwurlb1q);border-radius:var(--_1dwurlb0);color:var(--_1dwurlb1o);font-weight:var(--_1dwurlb11);letter-spacing:var(--_1dwurlb1c);padding:var(--_1dwurlb6) var(--_1dwurlbc);text-transform:uppercase}._17y8ldl1:hover:not(:active){background-color:var(--_1dwurlb1p)}._17y8ldl1:active{background-color:var(--_1dwurlb1r)}._17unuvp0{background-color:var(--_1dwurlb22);height:3px}.iy2n4g0{padding:var(--_1dwurlb4) var(--_1dwurlb4);position:relative}.iy2n4g0:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:100%;transform:scale(0);transition:transform .2s ease-in-out;z-index:-1}.iy2n4g0:hover:before{background-color:var(--_1dwurlb20);transform:scale(1)}.iy2n4g0:active:before{background-color:var(--_1dwurlb1z)}.iy2n4g2{color:var(--_1dwurlb1v)}._1sxwks00{background-color:var(--_1dwurlb1t);border-radius:var(--_1dwurlb1);padding:var(--_1dwurlbb)}._1x45rmb0{background-color:var(--_1dwurlb1t);border:1px solid var(--_1dwurlb1q);padding:0;min-width:150px;overflow:hidden;z-index:10}._1x45rmb1{box-shadow:0 0 8px #00000026}._1x45rmb2{box-shadow:0 0 8px #000c}._1x45rmb3{cursor:pointer;font-size:var(--_1dwurlb8);padding:var(--_1dwurlb6)}._1x45rmb3:hover{background-color:var(--_1dwurlb20)}.tz5dd50{background:var(--_1dwurlb1t);overflow:auto;padding:var(--_1dwurlb5) var(--_1dwurlb9)}.tz5dd51{display:none}.tz5dd53{display:block}.tz5dd55{padding:var(--_1dwurlb6) var(--_1dwurlba);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10);position:relative;cursor:pointer;z-index:1}.tz5dd55:before{content:"";position:absolute;left:0;top:0;bottom:0;margin:auto;width:100%;height:80%;border-radius:var(--_1dwurlb1);z-index:-1}.tz5dd56{color:var(--_1dwurlb1v)}.tz5dd56:before{background:var(--_1dwurlb20)}.tz5dd57{color:var(--_1dwurlb1w)}.tz5dd57:hover:before{color:var(--_1dwurlb1v);background:var(--_1dwurlb20);opacity:.7}@media screen and (min-width: 1024px){.tz5dd50{padding:0 var(--_1dwurlba)}}@media (min-width: 1024px){.tz5dd52{display:none}.tz5dd54{display:block}}@keyframes _1e0qizf0{0%{background-position:200% 0}to{background-position:-200% 0}}._1e0qizf1{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;overflow:hidden;width:100%;height:100%;top:0;left:0;z-index:0}._1e0qizf1::-webkit-progress-bar{background-color:var(--_1dwurlb22)}._1e0qizf1::-webkit-progress-value{background-color:var(--_1dwurlb1q);transition:1s width}._1e0qizf1:indeterminate{animation:_1e0qizf0 1.5s linear infinite;background-color:var(--_1dwurlb22);background-image:linear-gradient(to right,var(--_1dwurlb1q) 30%,var(--_1dwurlb22) 30%);background-position:top left;background-repeat:no-repeat;background-size:150% 150%}._1e0qizf1:indeterminate._1e0qizf1::-webkit-progress-bar{background-color:transparent}._1e0qizf3:indeterminate{background-image:none}._1e0qizf4{position:relative;bottom:0;left:0;height:3px;width:100%}._1e0qizf5{color:#fff;position:relative;padding:calc(var(--_1dwurlb8) / 2);z-index:1;text-align:center;font-size:var(--_1dwurlbq)}.kfrms70{background-color:var(--_1dwurlb1t);box-shadow:0 0 10px var(--_1dwurlb21);position:sticky;top:0;z-index:1}.kfrms71{padding:var(--_1dwurlb6) var(--_1dwurlb9)}.kfrms72{padding:0}.kfrms74{border:2px solid var(--_1dwurlb22);padding:var(--_1dwurlb6) var(--_1dwurlb8);border-radius:var(--_1dwurlb1)}@media (min-width: 1024px){.kfrms73{display:none}}._1lpb9zp0{border:1px solid var(--_1dwurlb1q);border-radius:0;padding:var(--_1dwurlb5);z-index:10}._1lpb9zp1{background-color:var(--_1dwurlb1s)}._1lpb9zp2{background-color:var(--_1dwurlb1u)}._1lpb9zp3{position:absolute;width:8px;height:8px;background:inherit;visibility:hidden}._1lpb9zp3:before{content:"";position:absolute;border:1px solid transparent;width:8px;height:8px;background:inherit;visibility:visible;transform:rotate(45deg)}._1lpb9zp4{bottom:-4px}._1lpb9zp4:before{border-bottom-color:var(--_1dwurlb1q);border-right-color:var(--_1dwurlb1q)}._1lpb9zp5{top:-4px}._1lpb9zp5:before{border-top-color:var(--_1dwurlb1q);border-left-color:var(--_1dwurlb1q)}._1lpb9zp6{right:-4px}._1lpb9zp6:before{border-top-color:var(--_1dwurlb1q);border-right-color:var(--_1dwurlb1q)}._1lpb9zp7{left:-4px}._1lpb9zp7:before{border-bottom-color:var(--_1dwurlb1q);border-left-color:var(--_1dwurlb1q)}._1isundr0{animation:var(--_1dwurlbl) 1s linear infinite;color:var(--_1dwurlb1w)}._1c9nzq10{border-radius:var(--_1dwurlb1) var(--_1dwurlb1) 0 0}._1c9nzq11{border-radius:var(--_1dwurlb1)}._1c9nzq12{color:var(--_1dwurlb1w);padding:var(--_1dwurlb9);background-color:var(--_1dwurlb1s);cursor:pointer;border:none}._1c9nzq13{font-size:var(--_1dwurlbs);font-weight:var(--_1dwurlb10)}._1c9nzq14{padding:var(--_1dwurlbb);background-color:var(--_1dwurlb1t)}.ag5hlo1{container-name:ag5hlo0;container-type:inline-size;display:grid;grid-template-rows:auto;grid-template-columns:repeat(12,1fr)}.ag5hlo2{gap:var(--_1dwurlb4)}.ag5hlo3{gap:clamp(var(--_1dwurlb4),4vw,var(--_1dwurlb5))}.ag5hlo4{gap:clamp(var(--_1dwurlb4),4vw,var(--_1dwurlb9))}.ag5hlo5{gap:clamp(var(--_1dwurlb4),4vw,var(--_1dwurlbe))}@container ag5hlo0 (min-width: 0px){.ag5hlo6{grid-column:span 1}.ag5hloc{grid-column:span 2}.ag5hloi{grid-column:span 3}.ag5hloo{grid-column:span 4}.ag5hlou{grid-column:span 5}.ag5hlo10{grid-column:span 6}.ag5hlo16{grid-column:span 7}.ag5hlo1c{grid-column:span 8}.ag5hlo1i{grid-column:span 9}.ag5hlo1o{grid-column:span 10}.ag5hlo1u{grid-column:span 11}.ag5hlo20{grid-column:span 12}}@container ag5hlo0 (min-width: 480px){.ag5hlo7{grid-column:span 1}.ag5hlod{grid-column:span 2}.ag5hloj{grid-column:span 3}.ag5hlop{grid-column:span 4}.ag5hlov{grid-column:span 5}.ag5hlo11{grid-column:span 6}.ag5hlo17{grid-column:span 7}.ag5hlo1d{grid-column:span 8}.ag5hlo1j{grid-column:span 9}.ag5hlo1p{grid-column:span 10}.ag5hlo1v{grid-column:span 11}.ag5hlo21{grid-column:span 12}}@container ag5hlo0 (min-width: 768px){.ag5hlo8{grid-column:span 1}.ag5hloe{grid-column:span 2}.ag5hlok{grid-column:span 3}.ag5hloq{grid-column:span 4}.ag5hlow{grid-column:span 5}.ag5hlo12{grid-column:span 6}.ag5hlo18{grid-column:span 7}.ag5hlo1e{grid-column:span 8}.ag5hlo1k{grid-column:span 9}.ag5hlo1q{grid-column:span 10}.ag5hlo1w{grid-column:span 11}.ag5hlo22{grid-column:span 12}}@container ag5hlo0 (min-width: 1024px){.ag5hlo9{grid-column:span 1}.ag5hlof{grid-column:span 2}.ag5hlol{grid-column:span 3}.ag5hlor{grid-column:span 4}.ag5hlox{grid-column:span 5}.ag5hlo13{grid-column:span 6}.ag5hlo19{grid-column:span 7}.ag5hlo1f{grid-column:span 8}.ag5hlo1l{grid-column:span 9}.ag5hlo1r{grid-column:span 10}.ag5hlo1x{grid-column:span 11}.ag5hlo23{grid-column:span 12}}@container ag5hlo0 (min-width: 1440px){.ag5hloa{grid-column:span 1}.ag5hlog{grid-column:span 2}.ag5hlom{grid-column:span 3}.ag5hlos{grid-column:span 4}.ag5hloy{grid-column:span 5}.ag5hlo14{grid-column:span 6}.ag5hlo1a{grid-column:span 7}.ag5hlo1g{grid-column:span 8}.ag5hlo1m{grid-column:span 9}.ag5hlo1s{grid-column:span 10}.ag5hlo1y{grid-column:span 11}.ag5hlo24{grid-column:span 12}}@container ag5hlo0 (min-width: 1920px){.ag5hlob{grid-column:span 1}.ag5hloh{grid-column:span 2}.ag5hlon{grid-column:span 3}.ag5hlot{grid-column:span 4}.ag5hloz{grid-column:span 5}.ag5hlo15{grid-column:span 6}.ag5hlo1b{grid-column:span 7}.ag5hlo1h{grid-column:span 8}.ag5hlo1n{grid-column:span 9}.ag5hlo1t{grid-column:span 10}.ag5hlo1z{grid-column:span 11}.ag5hlo25{grid-column:span 12}}.uplot,.uplot *,.uplot *:before,.uplot *:after{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5;width:min-content}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{position:relative;-webkit-user-select:none;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;position:relative;width:100%;height:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:rgba(0,0,0,.07);position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}._14dhllh0{position:relative}._14dhllh1{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10);padding:var(--_1dwurlb5) var(--_1dwurlbb);border:1px dashed var(--_1dwurlb22)}._14dhllh2{break-inside:avoid}._14dhllh3{color:var(--_1dwurlb1w);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10)}._14dhllh2>.u-title{font-size:var(--_1dwurlbs);font-weight:var(--_1dwurlby)!important}._14dhllh2 .u-label{font-weight:var(--_1dwurlby)!important}.ova0r30{min-height:100%}.ova0r30>.u-title{color:var(--_1dwurlb1v);font-size:var(--_1dwurlbt);font-weight:var(--_1dwurlbz)!important;white-space:nowrap}.ova0r31{padding:var(--_1dwurlb8);height:100%}.ova0r32{font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10);color:var(--_1dwurlb1w);padding-top:var(--_1dwurlb8);text-align:center}._12owwid0{border-collapse:collapse;width:100%}._12owwid1{padding:var(--_1dwurlb6);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb11)}._12owwid3:hover{background-color:var(--_1dwurlb23)}._12owwid3:nth-child(odd):not(:hover){background-color:var(--_1dwurlb1s)}._12owwid3:nth-child(2n):not(:hover){background-color:var(--_1dwurlb1t)}._12owwid4{padding:var(--_1dwurlb6);font-size:var(--_1dwurlbq)}._57i9sh0{min-height:100%}._57i9sh1{overflow-x:auto}._1jb2mvv0{padding:0}._1jb2mvv1{background-color:var(--_1dwurlb1s);border-radius:var(--_1dwurlb1) var(--_1dwurlb1) 0 0;color:var(--_1dwurlb1w);padding:var(--_1dwurlb9) var(--_1dwurlbb);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10)}._1jb2mvv2{padding:var(--_1dwurlb8)}._1ls5syl0{margin-bottom:var(--_1dwurlb9)}._1t22owt0{background-color:var(--_1dwurlb1u);color:var(--_1dwurlb1v);min-height:100vh}._1t22owt1{padding:var(--_1dwurlb9)} +*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}*{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif}html{font-size:62.5%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{letter-spacing:.075em;line-height:1.5;text-rendering:optimizeLegibility}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{font-size:1.25rem}#root{isolation:isolate}@keyframes ughkw70{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--_1dwurlb0: 3px;--_1dwurlb1: 5px;--_1dwurlb2: 10px;--_1dwurlb3: 25px;--_1dwurlb4: .25rem;--_1dwurlb5: .5rem;--_1dwurlb6: .75rem;--_1dwurlb7: 1rem;--_1dwurlb8: 1.25rem;--_1dwurlb9: 1.5rem;--_1dwurlba: 1.75rem;--_1dwurlbb: 2rem;--_1dwurlbc: 3rem;--_1dwurlbd: 4rem;--_1dwurlbe: 5rem;--_1dwurlbf: 0px;--_1dwurlbg: 480px;--_1dwurlbh: 768px;--_1dwurlbi: 1024px;--_1dwurlbj: 1440px;--_1dwurlbk: 1920px;--_1dwurlbl: ughkw70;--_1dwurlbm: .5rem;--_1dwurlbn: .75rem;--_1dwurlbo: 1rem;--_1dwurlbp: 1.1rem;--_1dwurlbq: 1.25rem;--_1dwurlbr: 1.5rem;--_1dwurlbs: 2rem;--_1dwurlbt: 2.5rem;--_1dwurlbu: 3rem;--_1dwurlbv: 3.5rem;--_1dwurlbw: 100;--_1dwurlbx: 200;--_1dwurlby: 300;--_1dwurlbz: 400;--_1dwurlb10: 500;--_1dwurlb11: 600;--_1dwurlb12: 700;--_1dwurlb13: 800;--_1dwurlb14: 900;--_1dwurlb15: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;--_1dwurlb16: ui-serif,serif;--_1dwurlb17: Dank Mono,Operator Mono,Inconsolata,Fira Mono,ui-monospace,SF Mono,Monaco,Droid Sans Mono,Source Code Pro,monospace;--_1dwurlb18: -.05em;--_1dwurlb19: .025em;--_1dwurlb1a: .05em;--_1dwurlb1b: .075em;--_1dwurlb1c: .15em;--_1dwurlb1d: .5em;--_1dwurlb1e: .75em;--_1dwurlb1f: 1em;--_1dwurlb1g: .95;--_1dwurlb1h: 1.1;--_1dwurlb1i: 1.25;--_1dwurlb1j: 1.375;--_1dwurlb1k: 1.5;--_1dwurlb1l: 1.75;--_1dwurlb1m: 2}._1dwurlb24{--_1dwurlb1n: #000000;--_1dwurlb1o: #ffffff;--_1dwurlb1p: #8e7de5;--_1dwurlb1q: #6e59de;--_1dwurlb1r: #604ec2;--_1dwurlb1s: #ffffff;--_1dwurlb1t: #fafafa;--_1dwurlb1u: #eeeeee;--_1dwurlb1v: #212121;--_1dwurlb1w: #616161;--_1dwurlb1x: #bdbdbd;--_1dwurlb1y: #9e9e9e;--_1dwurlb1z: #e0e0e0;--_1dwurlb20: #eeeeee;--_1dwurlb21: #e0e0e0;--_1dwurlb22: #e0e0e0;--_1dwurlb23: #eeeeee}._1dwurlb25{--_1dwurlb1n: #000000;--_1dwurlb1o: #ffffff;--_1dwurlb1p: #8e7de5;--_1dwurlb1q: #6e59de;--_1dwurlb1r: #604ec2;--_1dwurlb1s: #394160;--_1dwurlb1t: #2c324b;--_1dwurlb1u: #1F2537;--_1dwurlb1v: #ffffff;--_1dwurlb1w: #D6DCFF;--_1dwurlb1x: #3f486b;--_1dwurlb1y: #ffffff;--_1dwurlb1z: #3f486b;--_1dwurlb20: #394160;--_1dwurlb21: #1F2537;--_1dwurlb22: #394160;--_1dwurlb23: #3f486b}.wy7gkc0{flex-direction:row}.wy7gkc1{flex-direction:column}.wy7gkc2{flex-wrap:nowrap}.wy7gkc3{flex-wrap:wrap}.wy7gkc4{flex-wrap:wrap-reverse}.wy7gkc5{align-items:flex-start}.wy7gkc6{align-items:flex-end}.wy7gkc7{align-items:stretch}.wy7gkc8{align-items:center}.wy7gkc9{align-items:baseline}.wy7gkca{align-items:start}.wy7gkcb{align-items:end}.wy7gkcc{align-items:self-start}.wy7gkcd{align-items:self-end}.wy7gkce{justify-content:flex-start}.wy7gkcf{justify-content:flex-end}.wy7gkcg{justify-content:start}.wy7gkch{justify-content:end}.wy7gkci{justify-content:left}.wy7gkcj{justify-content:right}.wy7gkck{justify-content:center}.wy7gkcl{justify-content:space-between}.wy7gkcm{justify-content:space-around}.wy7gkcn{justify-content:space-evenly}.wy7gkco{gap:0}.wy7gkcp{gap:var(--_1dwurlb4)}.wy7gkcq{gap:var(--_1dwurlb5)}.wy7gkcr{gap:var(--_1dwurlb9)}.wy7gkcs{gap:var(--_1dwurlbc)}.wy7gkct{gap:var(--_1dwurlbe)}.wy7gkcu{padding:0}.wy7gkcv{padding:var(--_1dwurlb4)}.wy7gkcw{padding:var(--_1dwurlb5)}.wy7gkcx{padding:var(--_1dwurlb9)}.wy7gkcy{padding:var(--_1dwurlbc)}.wy7gkcz{padding:var(--_1dwurlbe)}.wy7gkc15{display:flex;flex-grow:var(--wy7gkc10);flex-shrink:var(--wy7gkc11);flex-basis:var(--wy7gkc12);height:var(--wy7gkc13);width:var(--wy7gkc14)}._17y8ldl0{background-color:transparent;border:none;color:var(--_1dwurlb1v);font-size:var(--_1dwurlbq);font-weight:var(--_1dwurlb10)}._17y8ldl0:is(:disabled){opacity:.5;cursor:not-allowed}._17y8ldl0:not(:disabled){cursor:pointer}._17y8ldl1{background-color:var(--_1dwurlb1q);border-radius:var(--_1dwurlb0);color:var(--_1dwurlb1o);font-weight:var(--_1dwurlb11);letter-spacing:var(--_1dwurlb1c);padding:var(--_1dwurlb6) var(--_1dwurlbc);text-transform:uppercase}._17y8ldl1:hover:not(:active){background-color:var(--_1dwurlb1p)}._17y8ldl1:active{background-color:var(--_1dwurlb1r)}._17unuvp0{background-color:var(--_1dwurlb22);height:3px}.iy2n4g0{padding:var(--_1dwurlb4) var(--_1dwurlb4);position:relative}.iy2n4g0:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:100%;transform:scale(0);transition:transform .2s ease-in-out;z-index:-1}.iy2n4g0:hover:before{background-color:var(--_1dwurlb20);transform:scale(1)}.iy2n4g0:active:before{background-color:var(--_1dwurlb1z)}.iy2n4g2{color:var(--_1dwurlb1v)}._1sxwks00{background-color:var(--_1dwurlb1t);border-radius:var(--_1dwurlb1);padding:var(--_1dwurlbb)}._1x45rmb0{background-color:var(--_1dwurlb1t);border:1px solid var(--_1dwurlb1q);padding:0;min-width:150px;overflow:hidden;z-index:10}._1x45rmb1{box-shadow:0 0 8px #00000026}._1x45rmb2{box-shadow:0 0 8px #000c}._1x45rmb3{cursor:pointer;font-size:var(--_1dwurlb8);padding:var(--_1dwurlb6)}._1x45rmb3:hover{background-color:var(--_1dwurlb20)}.tz5dd50{background:var(--_1dwurlb1t);overflow:auto;padding:var(--_1dwurlb5) var(--_1dwurlb9)}.tz5dd51{display:none}.tz5dd53{display:block}.tz5dd55{padding:var(--_1dwurlb6) var(--_1dwurlba);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10);position:relative;cursor:pointer;z-index:1}.tz5dd55:before{content:"";position:absolute;left:0;top:0;bottom:0;margin:auto;width:100%;height:80%;border-radius:var(--_1dwurlb1);z-index:-1}.tz5dd56{color:var(--_1dwurlb1v)}.tz5dd56:before{background:var(--_1dwurlb20)}.tz5dd57{color:var(--_1dwurlb1w)}.tz5dd57:hover:before{color:var(--_1dwurlb1v);background:var(--_1dwurlb20);opacity:.7}@media screen and (min-width: 1024px){.tz5dd50{padding:0 var(--_1dwurlba)}}@media (min-width: 1024px){.tz5dd52{display:none}.tz5dd54{display:block}}@keyframes _1e0qizf0{0%{background-position:200% 0}to{background-position:-200% 0}}._1e0qizf1{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;overflow:hidden;width:100%;height:100%;top:0;left:0;z-index:0}._1e0qizf1::-webkit-progress-bar{background-color:var(--_1dwurlb22)}._1e0qizf1::-webkit-progress-value{background-color:var(--_1dwurlb1q);transition:1s width}._1e0qizf1:indeterminate{animation:_1e0qizf0 1.5s linear infinite;background-color:var(--_1dwurlb22);background-image:linear-gradient(to right,var(--_1dwurlb1q) 30%,var(--_1dwurlb22) 30%);background-position:top left;background-repeat:no-repeat;background-size:150% 150%}._1e0qizf1:indeterminate._1e0qizf1::-webkit-progress-bar{background-color:transparent}._1e0qizf3:indeterminate{background-image:none}._1e0qizf4{position:relative;bottom:0;left:0;height:3px;width:100%}._1e0qizf5{color:#fff;position:relative;padding:calc(var(--_1dwurlb8) / 2);z-index:1;text-align:center;font-size:var(--_1dwurlbq)}.kfrms70{background-color:var(--_1dwurlb1t);box-shadow:0 0 10px var(--_1dwurlb21);position:sticky;top:0;z-index:1}.kfrms71{padding:var(--_1dwurlb6) var(--_1dwurlb9)}.kfrms72{padding:0}.kfrms74{border:2px solid var(--_1dwurlb22);padding:var(--_1dwurlb6) var(--_1dwurlb8);border-radius:var(--_1dwurlb1)}@media (min-width: 1024px){.kfrms73{display:none}}._1lpb9zp0{border:1px solid var(--_1dwurlb1q);border-radius:0;font-size:var(--_1dwurlbq);max-width:600px;padding:var(--_1dwurlb7);z-index:10}._1lpb9zp1{background-color:var(--_1dwurlb1s)}._1lpb9zp2{background-color:var(--_1dwurlb1u)}._1lpb9zp3{position:absolute;width:8px;height:8px;background:inherit;visibility:hidden}._1lpb9zp3:before{content:"";position:absolute;border:1px solid transparent;width:8px;height:8px;background:inherit;visibility:visible;transform:rotate(45deg)}._1lpb9zp4{bottom:-4px}._1lpb9zp4:before{border-bottom-color:var(--_1dwurlb1q);border-right-color:var(--_1dwurlb1q)}._1lpb9zp5{top:-4px}._1lpb9zp5:before{border-top-color:var(--_1dwurlb1q);border-left-color:var(--_1dwurlb1q)}._1lpb9zp6{right:-4px}._1lpb9zp6:before{border-top-color:var(--_1dwurlb1q);border-right-color:var(--_1dwurlb1q)}._1lpb9zp7{left:-4px}._1lpb9zp7:before{border-bottom-color:var(--_1dwurlb1q);border-left-color:var(--_1dwurlb1q)}._1isundr0{animation:var(--_1dwurlbl) 1s linear infinite;color:var(--_1dwurlb1w)}._1c9nzq10{border-radius:var(--_1dwurlb1) var(--_1dwurlb1) 0 0}._1c9nzq11{border-radius:var(--_1dwurlb1)}._1c9nzq12{color:var(--_1dwurlb1w);padding:var(--_1dwurlb9);background-color:var(--_1dwurlb1s);cursor:pointer;border:none}._1c9nzq13{font-size:var(--_1dwurlbs);font-weight:var(--_1dwurlb10)}._1c9nzq14{padding:var(--_1dwurlbb);background-color:var(--_1dwurlb1t)}.ag5hlo1{container-name:ag5hlo0;container-type:inline-size;display:grid;grid-template-rows:auto;grid-template-columns:repeat(12,1fr)}.ag5hlo2{gap:var(--_1dwurlb4)}.ag5hlo3{gap:clamp(var(--_1dwurlb4),4vw,var(--_1dwurlb5))}.ag5hlo4{gap:clamp(var(--_1dwurlb4),4vw,var(--_1dwurlb9))}.ag5hlo5{gap:clamp(var(--_1dwurlb4),4vw,var(--_1dwurlbe))}@container ag5hlo0 (min-width: 0px){.ag5hlo6{grid-column:span 1}.ag5hloc{grid-column:span 2}.ag5hloi{grid-column:span 3}.ag5hloo{grid-column:span 4}.ag5hlou{grid-column:span 5}.ag5hlo10{grid-column:span 6}.ag5hlo16{grid-column:span 7}.ag5hlo1c{grid-column:span 8}.ag5hlo1i{grid-column:span 9}.ag5hlo1o{grid-column:span 10}.ag5hlo1u{grid-column:span 11}.ag5hlo20{grid-column:span 12}}@container ag5hlo0 (min-width: 480px){.ag5hlo7{grid-column:span 1}.ag5hlod{grid-column:span 2}.ag5hloj{grid-column:span 3}.ag5hlop{grid-column:span 4}.ag5hlov{grid-column:span 5}.ag5hlo11{grid-column:span 6}.ag5hlo17{grid-column:span 7}.ag5hlo1d{grid-column:span 8}.ag5hlo1j{grid-column:span 9}.ag5hlo1p{grid-column:span 10}.ag5hlo1v{grid-column:span 11}.ag5hlo21{grid-column:span 12}}@container ag5hlo0 (min-width: 768px){.ag5hlo8{grid-column:span 1}.ag5hloe{grid-column:span 2}.ag5hlok{grid-column:span 3}.ag5hloq{grid-column:span 4}.ag5hlow{grid-column:span 5}.ag5hlo12{grid-column:span 6}.ag5hlo18{grid-column:span 7}.ag5hlo1e{grid-column:span 8}.ag5hlo1k{grid-column:span 9}.ag5hlo1q{grid-column:span 10}.ag5hlo1w{grid-column:span 11}.ag5hlo22{grid-column:span 12}}@container ag5hlo0 (min-width: 1024px){.ag5hlo9{grid-column:span 1}.ag5hlof{grid-column:span 2}.ag5hlol{grid-column:span 3}.ag5hlor{grid-column:span 4}.ag5hlox{grid-column:span 5}.ag5hlo13{grid-column:span 6}.ag5hlo19{grid-column:span 7}.ag5hlo1f{grid-column:span 8}.ag5hlo1l{grid-column:span 9}.ag5hlo1r{grid-column:span 10}.ag5hlo1x{grid-column:span 11}.ag5hlo23{grid-column:span 12}}@container ag5hlo0 (min-width: 1440px){.ag5hloa{grid-column:span 1}.ag5hlog{grid-column:span 2}.ag5hlom{grid-column:span 3}.ag5hlos{grid-column:span 4}.ag5hloy{grid-column:span 5}.ag5hlo14{grid-column:span 6}.ag5hlo1a{grid-column:span 7}.ag5hlo1g{grid-column:span 8}.ag5hlo1m{grid-column:span 9}.ag5hlo1s{grid-column:span 10}.ag5hlo1y{grid-column:span 11}.ag5hlo24{grid-column:span 12}}@container ag5hlo0 (min-width: 1920px){.ag5hlob{grid-column:span 1}.ag5hloh{grid-column:span 2}.ag5hlon{grid-column:span 3}.ag5hlot{grid-column:span 4}.ag5hloz{grid-column:span 5}.ag5hlo15{grid-column:span 6}.ag5hlo1b{grid-column:span 7}.ag5hlo1h{grid-column:span 8}.ag5hlo1n{grid-column:span 9}.ag5hlo1t{grid-column:span 10}.ag5hlo1z{grid-column:span 11}.ag5hlo25{grid-column:span 12}}.uplot,.uplot *,.uplot *:before,.uplot *:after{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5;width:min-content}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{position:relative;-webkit-user-select:none;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;position:relative;width:100%;height:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:rgba(0,0,0,.07);position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}._14dhllh0{position:relative}._14dhllh1{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10);padding:var(--_1dwurlb5) var(--_1dwurlbb);border:1px dashed var(--_1dwurlb22)}._14dhllh2{break-inside:avoid}._14dhllh3{color:var(--_1dwurlb1w);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10)}._14dhllh2>.u-title{font-size:var(--_1dwurlbs);font-weight:var(--_1dwurlby)!important}._14dhllh2 .u-label{font-weight:var(--_1dwurlby)!important}.ova0r30{min-height:100%}.ova0r30>.u-title{color:var(--_1dwurlb1v);font-size:var(--_1dwurlbt);font-weight:var(--_1dwurlbz)!important;white-space:nowrap}.ova0r31{padding:var(--_1dwurlb8);height:100%}.ova0r32{font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10);color:var(--_1dwurlb1w);padding-top:var(--_1dwurlb8);text-align:center}._12owwid0{border-collapse:collapse;width:100%}._12owwid1{padding:var(--_1dwurlb6);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb11)}._12owwid3:hover{background-color:var(--_1dwurlb23)}._12owwid3:nth-child(odd):not(:hover){background-color:var(--_1dwurlb1s)}._12owwid3:nth-child(2n):not(:hover){background-color:var(--_1dwurlb1t)}._12owwid4{padding:var(--_1dwurlb6);font-size:var(--_1dwurlbq)}._57i9sh0{min-height:100%}._57i9sh1{overflow-x:auto}._1jb2mvv0{padding:0}._1jb2mvv1{background-color:var(--_1dwurlb1s);border-radius:var(--_1dwurlb1) var(--_1dwurlb1) 0 0;color:var(--_1dwurlb1w);padding:var(--_1dwurlb9) var(--_1dwurlbb);font-size:var(--_1dwurlbr);font-weight:var(--_1dwurlb10)}._1jb2mvv2{padding:var(--_1dwurlb8)}._1ls5syl0{margin-bottom:var(--_1dwurlb9)}._1t22owt0{background-color:var(--_1dwurlb1u);color:var(--_1dwurlb1v);min-height:100vh}._1t22owt1{padding:var(--_1dwurlb9)} diff --git a/dashboard/assets/packages/ui/dist/index.html b/dashboard/assets/packages/ui/dist/index.html index 7b82295..300f48e 100644 --- a/dashboard/assets/packages/ui/dist/index.html +++ b/dashboard/assets/packages/ui/dist/index.html @@ -11,8 +11,8 @@ k6 dashboard - - + + diff --git a/dashboard/assets/packages/ui/src/components/Tooltip/Tooltip.css.ts b/dashboard/assets/packages/ui/src/components/Tooltip/Tooltip.css.ts index ae05adb..50892ed 100644 --- a/dashboard/assets/packages/ui/src/components/Tooltip/Tooltip.css.ts +++ b/dashboard/assets/packages/ui/src/components/Tooltip/Tooltip.css.ts @@ -8,7 +8,9 @@ import { vars } from "theme" const popperBase = style({ border: `1px solid ${vars.colors.primary.main}`, borderRadius: 0, - padding: vars.sizes.size2, + fontSize: vars.fontSizes.size4, + maxWidth: "600px", + padding: vars.sizes.size4, zIndex: 10 }) diff --git a/dashboard/assets/packages/view/dist/index.js b/dashboard/assets/packages/view/dist/index.js index f6dbd4a..c2547c6 100644 --- a/dashboard/assets/packages/view/dist/index.js +++ b/dashboard/assets/packages/view/dist/index.js @@ -114,12 +114,11 @@ function tooltipPlugin(background) { const style = { display: "none", position: "absolute", - padding: "0.2rem", + padding: "1rem", border: "1px solid #7b65fa", zIndex: "10", pointerEvents: "none", - margin: "0.5rem", - fontSize: "smaller" + fontSize: "1.25rem" }; Object.assign(tooltip.style, style); u.over.appendChild(tooltip); diff --git a/dashboard/assets/packages/view/src/tooltip.ts b/dashboard/assets/packages/view/src/tooltip.ts index 6a8f027..a4464ca 100644 --- a/dashboard/assets/packages/view/src/tooltip.ts +++ b/dashboard/assets/packages/view/src/tooltip.ts @@ -11,16 +11,17 @@ export function tooltipPlugin(background: string) { function init(u: uPlot) { tooltip = document.createElement("div") + const style: Record = { display: "none", position: "absolute", - padding: "0.2rem", + padding: "1rem", border: "1px solid #7b65fa", zIndex: "10", pointerEvents: "none", - margin: "0.5rem", - fontSize: "smaller" + fontSize: "1.25rem" } + Object.assign(tooltip.style, style) u.over.appendChild(tooltip)