diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 14:37:33 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 14:37:33 +0300 |
commit | 47fc02a8c71af4926148beb5d5cc0fc221aa5429 (patch) | |
tree | e2e5922b7fc16f3d25b02cd345ad534991d38629 /static/js/chunks/mermaid.esm.min/chunk-OR2G2HG5.mjs | |
parent | 017c7b792f3e679f61b004ec132a36f866b39e9b (diff) |
Auto-commit 2024-12-15
Diffstat (limited to 'static/js/chunks/mermaid.esm.min/chunk-OR2G2HG5.mjs')
-rw-r--r-- | static/js/chunks/mermaid.esm.min/chunk-OR2G2HG5.mjs | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/static/js/chunks/mermaid.esm.min/chunk-OR2G2HG5.mjs b/static/js/chunks/mermaid.esm.min/chunk-OR2G2HG5.mjs new file mode 100644 index 0000000..1dae0c1 --- /dev/null +++ b/static/js/chunks/mermaid.esm.min/chunk-OR2G2HG5.mjs @@ -0,0 +1,64 @@ +import{a as i,b as fu,c as mu,e as pu}from"./chunk-GTKDMUJJ.mjs";var Ya=fu((qo,zo)=>{"use strict";(function(t,e){typeof qo=="object"&&typeof zo<"u"?zo.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(qo,function(){"use strict";var t=1e3,e=6e4,r=36e5,o="millisecond",n="second",s="minute",a="hour",l="day",c="week",h="month",u="quarter",d="year",f="date",g="Invalid Date",T=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,L=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:i(function(k){var x=["th","st","nd","rd"],y=k%100;return"["+k+(x[(y-20)%10]||x[y]||x[0])+"]"},"ordinal")},z=i(function(k,x,y){var F=String(k);return!F||F.length>=x?k:""+Array(x+1-F.length).join(y)+k},"m"),G={s:z,z:i(function(k){var x=-k.utcOffset(),y=Math.abs(x),F=Math.floor(y/60),S=y%60;return(x<=0?"+":"-")+z(F,2,"0")+":"+z(S,2,"0")},"z"),m:i(function k(x,y){if(x.date()<y.date())return-k(y,x);var F=12*(y.year()-x.year())+(y.month()-x.month()),S=x.clone().add(F,h),N=y-S<0,O=x.clone().add(F+(N?-1:1),h);return+(-(F+(y-S)/(N?S-O:O-S))||0)},"t"),a:i(function(k){return k<0?Math.ceil(k)||0:Math.floor(k)},"a"),p:i(function(k){return{M:h,y:d,w:c,d:l,D:f,h:a,m:s,s:n,ms:o,Q:u}[k]||String(k||"").toLowerCase().replace(/s$/,"")},"p"),u:i(function(k){return k===void 0},"u")},E="en",B={};B[E]=$;var P="$isDayjsObject",w=i(function(k){return k instanceof it||!(!k||!k[P])},"S"),X=i(function k(x,y,F){var S;if(!x)return E;if(typeof x=="string"){var N=x.toLowerCase();B[N]&&(S=N),y&&(B[N]=y,S=N);var O=x.split("-");if(!S&&O.length>1)return k(O[0])}else{var U=x.name;B[U]=x,S=U}return!F&&S&&(E=S),S||!F&&E},"t"),j=i(function(k,x){if(w(k))return k.clone();var y=typeof x=="object"?x:{};return y.date=k,y.args=arguments,new it(y)},"O"),W=G;W.l=X,W.i=w,W.w=function(k,x){return j(k,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var it=function(){function k(y){this.$L=X(y.locale,null,!0),this.parse(y),this.$x=this.$x||y.x||{},this[P]=!0}i(k,"M");var x=k.prototype;return x.parse=function(y){this.$d=function(F){var S=F.date,N=F.utc;if(S===null)return new Date(NaN);if(W.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var O=S.match(T);if(O){var U=O[2]-1||0,rt=(O[7]||"0").substring(0,3);return N?new Date(Date.UTC(O[1],U,O[3]||1,O[4]||0,O[5]||0,O[6]||0,rt)):new Date(O[1],U,O[3]||1,O[4]||0,O[5]||0,O[6]||0,rt)}}return new Date(S)}(y),this.init()},x.init=function(){var y=this.$d;this.$y=y.getFullYear(),this.$M=y.getMonth(),this.$D=y.getDate(),this.$W=y.getDay(),this.$H=y.getHours(),this.$m=y.getMinutes(),this.$s=y.getSeconds(),this.$ms=y.getMilliseconds()},x.$utils=function(){return W},x.isValid=function(){return this.$d.toString()!==g},x.isSame=function(y,F){var S=j(y);return this.startOf(F)<=S&&S<=this.endOf(F)},x.isAfter=function(y,F){return j(y)<this.startOf(F)},x.isBefore=function(y,F){return this.endOf(F)<j(y)},x.$g=function(y,F,S){return W.u(y)?this[F]:this.set(S,y)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(y,F){var S=this,N=!!W.u(F)||F,O=W.p(y),U=i(function(_t,lt){var v=W.w(S.$u?Date.UTC(S.$y,lt,_t):new Date(S.$y,lt,_t),S);return N?v:v.endOf(l)},"l"),rt=i(function(_t,lt){return W.w(S.toDate()[_t].apply(S.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(lt)),S)},"$"),Y=this.$W,nt=this.$M,K=this.$D,Ft="set"+(this.$u?"UTC":"");switch(O){case d:return N?U(1,0):U(31,11);case h:return N?U(1,nt):U(0,nt+1);case c:var Z=this.$locale().weekStart||0,Ct=(Y<Z?Y+7:Y)-Z;return U(N?K-Ct:K+(6-Ct),nt);case l:case f:return rt(Ft+"Hours",0);case a:return rt(Ft+"Minutes",1);case s:return rt(Ft+"Seconds",2);case n:return rt(Ft+"Milliseconds",3);default:return this.clone()}},x.endOf=function(y){return this.startOf(y,!1)},x.$set=function(y,F){var S,N=W.p(y),O="set"+(this.$u?"UTC":""),U=(S={},S[l]=O+"Date",S[f]=O+"Date",S[h]=O+"Month",S[d]=O+"FullYear",S[a]=O+"Hours",S[s]=O+"Minutes",S[n]=O+"Seconds",S[o]=O+"Milliseconds",S)[N],rt=N===l?this.$D+(F-this.$W):F;if(N===h||N===d){var Y=this.clone().set(f,1);Y.$d[U](rt),Y.init(),this.$d=Y.set(f,Math.min(this.$D,Y.daysInMonth())).$d}else U&&this.$d[U](rt);return this.init(),this},x.set=function(y,F){return this.clone().$set(y,F)},x.get=function(y){return this[W.p(y)]()},x.add=function(y,F){var S,N=this;y=Number(y);var O=W.p(F),U=i(function(nt){var K=j(N);return W.w(K.date(K.date()+Math.round(nt*y)),N)},"y");if(O===h)return this.set(h,this.$M+y);if(O===d)return this.set(d,this.$y+y);if(O===l)return U(1);if(O===c)return U(7);var rt=(S={},S[s]=e,S[a]=r,S[n]=t,S)[O]||1,Y=this.$d.getTime()+y*rt;return W.w(Y,this)},x.subtract=function(y,F){return this.add(-1*y,F)},x.format=function(y){var F=this,S=this.$locale();if(!this.isValid())return S.invalidDate||g;var N=y||"YYYY-MM-DDTHH:mm:ssZ",O=W.z(this),U=this.$H,rt=this.$m,Y=this.$M,nt=S.weekdays,K=S.months,Ft=S.meridiem,Z=i(function(lt,v,H,V){return lt&&(lt[v]||lt(F,N))||H[v].slice(0,V)},"h"),Ct=i(function(lt){return W.s(U%12||12,lt,"0")},"d"),_t=Ft||function(lt,v,H){var V=lt<12?"AM":"PM";return H?V.toLowerCase():V};return N.replace(L,function(lt,v){return v||function(H){switch(H){case"YY":return String(F.$y).slice(-2);case"YYYY":return W.s(F.$y,4,"0");case"M":return Y+1;case"MM":return W.s(Y+1,2,"0");case"MMM":return Z(S.monthsShort,Y,K,3);case"MMMM":return Z(K,Y);case"D":return F.$D;case"DD":return W.s(F.$D,2,"0");case"d":return String(F.$W);case"dd":return Z(S.weekdaysMin,F.$W,nt,2);case"ddd":return Z(S.weekdaysShort,F.$W,nt,3);case"dddd":return nt[F.$W];case"H":return String(U);case"HH":return W.s(U,2,"0");case"h":return Ct(1);case"hh":return Ct(2);case"a":return _t(U,rt,!0);case"A":return _t(U,rt,!1);case"m":return String(rt);case"mm":return W.s(rt,2,"0");case"s":return String(F.$s);case"ss":return W.s(F.$s,2,"0");case"SSS":return W.s(F.$ms,3,"0");case"Z":return O}return null}(lt)||O.replace(":","")})},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(y,F,S){var N,O=this,U=W.p(F),rt=j(y),Y=(rt.utcOffset()-this.utcOffset())*e,nt=this-rt,K=i(function(){return W.m(O,rt)},"D");switch(U){case d:N=K()/12;break;case h:N=K();break;case u:N=K()/3;break;case c:N=(nt-Y)/6048e5;break;case l:N=(nt-Y)/864e5;break;case a:N=nt/r;break;case s:N=nt/e;break;case n:N=nt/t;break;default:N=nt}return S?N:W.a(N)},x.daysInMonth=function(){return this.endOf(h).$D},x.$locale=function(){return B[this.$L]},x.locale=function(y,F){if(!y)return this.$L;var S=this.clone(),N=X(y,F,!0);return N&&(S.$L=N),S},x.clone=function(){return W.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},k}(),M=it.prototype;return j.prototype=M,[["$ms",o],["$s",n],["$m",s],["$H",a],["$W",l],["$M",h],["$y",d],["$D",f]].forEach(function(k){M[k[1]]=function(x){return this.$g(x,k[0],k[1])}}),j.extend=function(k,x){return k.$i||(k(x,it,j),k.$i=!0),j},j.locale=X,j.isDayjs=w,j.unix=function(k){return j(1e3*k)},j.en=B[E],j.Ls=B,j.p={},j})});var Ga=pu(Ya(),1);var oe={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},tt={trace:i((...t)=>{},"trace"),debug:i((...t)=>{},"debug"),info:i((...t)=>{},"info"),warn:i((...t)=>{},"warn"),error:i((...t)=>{},"error"),fatal:i((...t)=>{},"fatal")},Va=i(function(t="fatal"){let e=oe.fatal;typeof t=="string"?t.toLowerCase()in oe&&(e=oe[t]):typeof t=="number"&&(e=t),tt.trace=()=>{},tt.debug=()=>{},tt.info=()=>{},tt.warn=()=>{},tt.error=()=>{},tt.fatal=()=>{},e<=oe.fatal&&(tt.fatal=console.error?console.error.bind(console,Pt("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Pt("FATAL"))),e<=oe.error&&(tt.error=console.error?console.error.bind(console,Pt("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Pt("ERROR"))),e<=oe.warn&&(tt.warn=console.warn?console.warn.bind(console,Pt("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Pt("WARN"))),e<=oe.info&&(tt.info=console.info?console.info.bind(console,Pt("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Pt("INFO"))),e<=oe.debug&&(tt.debug=console.debug?console.debug.bind(console,Pt("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Pt("DEBUG"))),e<=oe.trace&&(tt.trace=console.debug?console.debug.bind(console,Pt("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Pt("TRACE")))},"setLogLevel"),Pt=i(t=>`%c${(0,Ga.default)().format("ss.SSS")} : ${t} : `,"format");var Xa=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,ja=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Za=/\s*%%.*\n/gm;var bi=class extends Error{static{i(this,"UnknownDiagramError")}constructor(e){super(e),this.name="UnknownDiagramError"}};var Ti={},cx=i(function(t,e){t=t.replace(Xa,"").replace(ja,"").replace(Za,` +`);for(let[r,{detector:o}]of Object.entries(Ti))if(o(t,e))return r;throw new bi(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),ux=i((...t)=>{for(let{id:e,detector:r,loader:o}of t)Po(e,r,o)},"registerLazyLoadedDiagrams"),Po=i((t,e,r)=>{Ti[t]&&tt.warn(`Detector with key ${t} already exists. Overwriting.`),Ti[t]={detector:e,loader:r},tt.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),fx=i(t=>Ti[t].loader,"getDiagramLoader");var $o=i((t,e,{depth:r=2,clobber:o=!1}={})=>{let n={depth:r,clobber:o};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(s=>$o(t,s,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(s=>{t.includes(s)||t.push(s)}),t):t===void 0||r<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(s=>{typeof e[s]=="object"&&(t[s]===void 0||typeof t[s]=="object")?(t[s]===void 0&&(t[s]=Array.isArray(e[s])?[]:{}),t[s]=$o(t[s],e[s],{depth:r-1,clobber:o})):(o||typeof t[s]!="object"&&typeof e[s]!="object")&&(t[s]=e[s])}),t)},"assignWithDepth"),Lt=$o;var ki={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:i(t=>t>=255?255:t<0?0:t,"r"),g:i(t=>t>=255?255:t<0?0:t,"g"),b:i(t=>t>=255?255:t<0?0:t,"b"),h:i(t=>t%360,"h"),s:i(t=>t>=100?100:t<0?0:t,"s"),l:i(t=>t>=100?100:t<0?0:t,"l"),a:i(t=>t>=1?1:t<0?0:t,"a")},toLinear:i(t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},"toLinear"),hue2rgb:i((t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<.16666666666666666?t+(e-t)*6*r:r<.5?e:r<.6666666666666666?t+(e-t)*(.6666666666666666-r)*6:t),"hue2rgb"),hsl2rgb:i(({h:t,s:e,l:r},o)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;let n=r<.5?r*(1+e):r+e-r*e,s=2*r-n;switch(o){case"r":return ki.hue2rgb(s,n,t+.3333333333333333)*255;case"g":return ki.hue2rgb(s,n,t)*255;case"b":return ki.hue2rgb(s,n,t-.3333333333333333)*255}},"hsl2rgb"),rgb2hsl:i(({r:t,g:e,b:r},o)=>{t/=255,e/=255,r/=255;let n=Math.max(t,e,r),s=Math.min(t,e,r),a=(n+s)/2;if(o==="l")return a*100;if(n===s)return 0;let l=n-s,c=a>.5?l/(2-n-s):l/(n+s);if(o==="s")return c*100;switch(n){case t:return((e-r)/l+(e<r?6:0))*60;case e:return((r-t)/l+2)*60;case r:return((t-e)/l+4)*60;default:return-1}},"rgb2hsl")},Ka=ki;var du={clamp:i((t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),"clamp"),round:i(t=>Math.round(t*1e10)/1e10,"round")},Qa=du;var gu={dec2hex:i(t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`},"dec2hex")},Ja=gu;var xu={channel:Ka,lang:Qa,unit:Ja},q=xu;var ne={};for(let t=0;t<=255;t++)ne[t]=q.unit.dec2hex(t);var ut={ALL:0,RGB:1,HSL:2};var Wo=class{static{i(this,"Type")}constructor(){this.type=ut.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=ut.ALL}is(e){return this.type===e}},tl=Wo;var Ho=class{static{i(this,"Channels")}constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new tl}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=ut.ALL,this}_ensureHSL(){let e=this.data,{h:r,s:o,l:n}=e;r===void 0&&(e.h=q.channel.rgb2hsl(e,"h")),o===void 0&&(e.s=q.channel.rgb2hsl(e,"s")),n===void 0&&(e.l=q.channel.rgb2hsl(e,"l"))}_ensureRGB(){let e=this.data,{r,g:o,b:n}=e;r===void 0&&(e.r=q.channel.hsl2rgb(e,"r")),o===void 0&&(e.g=q.channel.hsl2rgb(e,"g")),n===void 0&&(e.b=q.channel.hsl2rgb(e,"b"))}get r(){let e=this.data,r=e.r;return!this.type.is(ut.HSL)&&r!==void 0?r:(this._ensureHSL(),q.channel.hsl2rgb(e,"r"))}get g(){let e=this.data,r=e.g;return!this.type.is(ut.HSL)&&r!==void 0?r:(this._ensureHSL(),q.channel.hsl2rgb(e,"g"))}get b(){let e=this.data,r=e.b;return!this.type.is(ut.HSL)&&r!==void 0?r:(this._ensureHSL(),q.channel.hsl2rgb(e,"b"))}get h(){let e=this.data,r=e.h;return!this.type.is(ut.RGB)&&r!==void 0?r:(this._ensureRGB(),q.channel.rgb2hsl(e,"h"))}get s(){let e=this.data,r=e.s;return!this.type.is(ut.RGB)&&r!==void 0?r:(this._ensureRGB(),q.channel.rgb2hsl(e,"s"))}get l(){let e=this.data,r=e.l;return!this.type.is(ut.RGB)&&r!==void 0?r:(this._ensureRGB(),q.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(ut.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(ut.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(ut.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(ut.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(ut.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(ut.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}},el=Ho;var yu=new el({r:0,g:0,b:0,a:0},"transparent"),de=yu;var rl={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:i(t=>{if(t.charCodeAt(0)!==35)return;let e=t.match(rl.re);if(!e)return;let r=e[1],o=parseInt(r,16),n=r.length,s=n%4===0,a=n>4,l=a?1:17,c=a?8:4,h=s?0:-1,u=a?255:15;return de.set({r:(o>>c*(h+3)&u)*l,g:(o>>c*(h+2)&u)*l,b:(o>>c*(h+1)&u)*l,a:s?(o&u)*l/255:1},t)},"parse"),stringify:i(t=>{let{r:e,g:r,b:o,a:n}=t;return n<1?`#${ne[Math.round(e)]}${ne[Math.round(r)]}${ne[Math.round(o)]}${ne[Math.round(n*255)]}`:`#${ne[Math.round(e)]}${ne[Math.round(r)]}${ne[Math.round(o)]}`},"stringify")},Ae=rl;var Si={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:i(t=>{let e=t.match(Si.hueRe);if(e){let[,r,o]=e;switch(o){case"grad":return q.channel.clamp.h(parseFloat(r)*.9);case"rad":return q.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return q.channel.clamp.h(parseFloat(r)*360)}}return q.channel.clamp.h(parseFloat(t))},"_hue2deg"),parse:i(t=>{let e=t.charCodeAt(0);if(e!==104&&e!==72)return;let r=t.match(Si.re);if(!r)return;let[,o,n,s,a,l]=r;return de.set({h:Si._hue2deg(o),s:q.channel.clamp.s(parseFloat(n)),l:q.channel.clamp.l(parseFloat(s)),a:a?q.channel.clamp.a(l?parseFloat(a)/100:parseFloat(a)):1},t)},"parse"),stringify:i(t=>{let{h:e,s:r,l:o,a:n}=t;return n<1?`hsla(${q.lang.round(e)}, ${q.lang.round(r)}%, ${q.lang.round(o)}%, ${n})`:`hsl(${q.lang.round(e)}, ${q.lang.round(r)}%, ${q.lang.round(o)}%)`},"stringify")},Fr=Si;var vi={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:i(t=>{t=t.toLowerCase();let e=vi.colors[t];if(e)return Ae.parse(e)},"parse"),stringify:i(t=>{let e=Ae.stringify(t);for(let r in vi.colors)if(vi.colors[r]===e)return r},"stringify")},Uo=vi;var il={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:i(t=>{let e=t.charCodeAt(0);if(e!==114&&e!==82)return;let r=t.match(il.re);if(!r)return;let[,o,n,s,a,l,c,h,u]=r;return de.set({r:q.channel.clamp.r(n?parseFloat(o)*2.55:parseFloat(o)),g:q.channel.clamp.g(a?parseFloat(s)*2.55:parseFloat(s)),b:q.channel.clamp.b(c?parseFloat(l)*2.55:parseFloat(l)),a:h?q.channel.clamp.a(u?parseFloat(h)/100:parseFloat(h)):1},t)},"parse"),stringify:i(t=>{let{r:e,g:r,b:o,a:n}=t;return n<1?`rgba(${q.lang.round(e)}, ${q.lang.round(r)}, ${q.lang.round(o)}, ${q.lang.round(n)})`:`rgb(${q.lang.round(e)}, ${q.lang.round(r)}, ${q.lang.round(o)})`},"stringify")},Mr=il;var Cu={format:{keyword:Uo,hex:Ae,rgb:Mr,rgba:Mr,hsl:Fr,hsla:Fr},parse:i(t=>{if(typeof t!="string")return t;let e=Ae.parse(t)||Mr.parse(t)||Fr.parse(t)||Uo.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},"parse"),stringify:i(t=>!t.changed&&t.color?t.color:t.type.is(ut.HSL)||t.data.r===void 0?Fr.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?Mr.stringify(t):Ae.stringify(t),"stringify")},ft=Cu;var _u=i((t,e)=>{let r=ft.parse(t);for(let o in e)r[o]=q.channel.clamp[o](e[o]);return ft.stringify(r)},"change"),wi=_u;var bu=i((t,e,r=0,o=1)=>{if(typeof t!="number")return wi(t,{a:e});let n=de.set({r:q.channel.clamp.r(t),g:q.channel.clamp.g(e),b:q.channel.clamp.b(r),a:q.channel.clamp.a(o)});return ft.stringify(n)},"rgba"),se=bu;var Tu=i((t,e)=>q.lang.round(ft.parse(t)[e]),"channel"),ku=Tu;var Su=i(t=>{let{r:e,g:r,b:o}=ft.parse(t),n=.2126*q.channel.toLinear(e)+.7152*q.channel.toLinear(r)+.0722*q.channel.toLinear(o);return q.lang.round(n)},"luminance"),ol=Su;var vu=i(t=>ol(t)>=.5,"isLight"),nl=vu;var wu=i(t=>!nl(t),"isDark"),Wt=wu;var Bu=i((t,e,r)=>{let o=ft.parse(t),n=o[e],s=q.channel.clamp[e](n+r);return n!==s&&(o[e]=s),ft.stringify(o)},"adjustChannel"),Bi=Bu;var Fu=i((t,e)=>Bi(t,"l",e),"lighten"),A=Fu;var Mu=i((t,e)=>Bi(t,"l",-e),"darken"),R=Mu;var Lu=i((t,e)=>{let r=ft.parse(t),o={};for(let n in e)e[n]&&(o[n]=r[n]+e[n]);return wi(t,o)},"adjust"),p=Lu;var Au=i((t,e,r=50)=>{let{r:o,g:n,b:s,a}=ft.parse(t),{r:l,g:c,b:h,a:u}=ft.parse(e),d=r/100,f=d*2-1,g=a-u,L=((f*g===-1?f:(f+g)/(1+f*g))+1)/2,$=1-L,z=o*L+l*$,G=n*L+c*$,E=s*L+h*$,B=a*d+u*(1-d);return se(z,G,E,B)},"mix"),sl=Au;var Eu=i((t,e=100)=>{let r=ft.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,sl(r,t,e)},"invert"),b=Eu;var ge="#ffffff",xe="#f2f2f2";var ct=i((t,e)=>e?p(t,{s:-40,l:10}):p(t,{s:-40,l:-10}),"mkBorder");var Yo=class{static{i(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||p(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||p(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ct(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ct(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ct(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ct(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||b(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||b(this.tertiaryColor),this.lineColor=this.lineColor||b(this.background),this.arrowheadColor=this.arrowheadColor||b(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?R(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||R(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||b(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||A(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||p(this.primaryColor,{h:30}),this.cScale4=this.cScale4||p(this.primaryColor,{h:60}),this.cScale5=this.cScale5||p(this.primaryColor,{h:90}),this.cScale6=this.cScale6||p(this.primaryColor,{h:120}),this.cScale7=this.cScale7||p(this.primaryColor,{h:150}),this.cScale8=this.cScale8||p(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||p(this.primaryColor,{h:270}),this.cScale10=this.cScale10||p(this.primaryColor,{h:300}),this.cScale11=this.cScale11||p(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=R(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=R(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||b(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||A(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||R(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=this["cScaleLabel"+r]||this.scaleLabelColor;let e=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||p(this.mainBkg,{h:180,s:-15,l:e*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||p(this.mainBkg,{h:180,s:-15,l:e*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||p(this.primaryColor,{h:64}),this.fillType3=this.fillType3||p(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||p(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||p(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||p(this.primaryColor,{h:128}),this.fillType7=this.fillType7||p(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||p(this.primaryColor,{l:-10}),this.pie5=this.pie5||p(this.secondaryColor,{l:-10}),this.pie6=this.pie6||p(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||p(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||p(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||p(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||p(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||p(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||p(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||p(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||p(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||p(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||p(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||p(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||p(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Wt(this.quadrant1Fill)?A(this.quadrant1Fill):R(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?R(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||p(this.primaryColor,{h:-30}),this.git4=this.git4||p(this.primaryColor,{h:-60}),this.git5=this.git5||p(this.primaryColor,{h:-90}),this.git6=this.git6||p(this.primaryColor,{h:60}),this.git7=this.git7||p(this.primaryColor,{h:120}),this.darkMode?(this.git0=A(this.git0,25),this.git1=A(this.git1,25),this.git2=A(this.git2,25),this.git3=A(this.git3,25),this.git4=A(this.git4,25),this.git5=A(this.git5,25),this.git6=A(this.git6,25),this.git7=A(this.git7,25)):(this.git0=R(this.git0,25),this.git1=R(this.git1,25),this.git2=R(this.git2,25),this.git3=R(this.git3,25),this.git4=R(this.git4,25),this.git5=R(this.git5,25),this.git6=R(this.git6,25),this.git7=R(this.git7,25)),this.gitInv0=this.gitInv0||b(this.git0),this.gitInv1=this.gitInv1||b(this.git1),this.gitInv2=this.gitInv2||b(this.git2),this.gitInv3=this.gitInv3||b(this.git3),this.gitInv4=this.gitInv4||b(this.git4),this.gitInv5=this.gitInv5||b(this.git5),this.gitInv6=this.gitInv6||b(this.git6),this.gitInv7=this.gitInv7||b(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ge,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||xe}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(o=>{this[o]=e[o]}),this.updateColors(),r.forEach(o=>{this[o]=e[o]})}},al=i(t=>{let e=new Yo;return e.calculate(t),e},"getThemeVariables");var Go=class{static{i(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=A(this.primaryColor,16),this.tertiaryColor=p(this.primaryColor,{h:-160}),this.primaryBorderColor=b(this.background),this.secondaryBorderColor=ct(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ct(this.tertiaryColor,this.darkMode),this.primaryTextColor=b(this.primaryColor),this.secondaryTextColor=b(this.secondaryColor),this.tertiaryTextColor=b(this.tertiaryColor),this.lineColor=b(this.background),this.textColor=b(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=A(b("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=se(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=R("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=R(this.sectionBkgColor,10),this.taskBorderColor=se(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=se(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=A(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=A(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=A(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=p(this.primaryColor,{h:64}),this.fillType3=p(this.secondaryColor,{h:64}),this.fillType4=p(this.primaryColor,{h:-64}),this.fillType5=p(this.secondaryColor,{h:-64}),this.fillType6=p(this.primaryColor,{h:128}),this.fillType7=p(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||p(this.primaryColor,{h:30}),this.cScale4=this.cScale4||p(this.primaryColor,{h:60}),this.cScale5=this.cScale5||p(this.primaryColor,{h:90}),this.cScale6=this.cScale6||p(this.primaryColor,{h:120}),this.cScale7=this.cScale7||p(this.primaryColor,{h:150}),this.cScale8=this.cScale8||p(this.primaryColor,{h:210}),this.cScale9=this.cScale9||p(this.primaryColor,{h:270}),this.cScale10=this.cScale10||p(this.primaryColor,{h:300}),this.cScale11=this.cScale11||p(this.primaryColor,{h:330});for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||b(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScalePeer"+e]=this["cScalePeer"+e]||A(this["cScale"+e],10);for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||p(this.mainBkg,{h:30,s:-30,l:-(-10+e*4)}),this["surfacePeer"+e]=this["surfacePeer"+e]||p(this.mainBkg,{h:30,s:-30,l:-(-7+e*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["pie"+e]=this["cScale"+e];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||p(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||p(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||p(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||p(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||p(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||p(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Wt(this.quadrant1Fill)?A(this.quadrant1Fill):R(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?R(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=A(this.secondaryColor,20),this.git1=A(this.pie2||this.secondaryColor,20),this.git2=A(this.pie3||this.tertiaryColor,20),this.git3=A(this.pie4||p(this.primaryColor,{h:-30}),20),this.git4=A(this.pie5||p(this.primaryColor,{h:-60}),20),this.git5=A(this.pie6||p(this.primaryColor,{h:-90}),10),this.git6=A(this.pie7||p(this.primaryColor,{h:60}),10),this.git7=A(this.pie8||p(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||b(this.git0),this.gitInv1=this.gitInv1||b(this.git1),this.gitInv2=this.gitInv2||b(this.git2),this.gitInv3=this.gitInv3||b(this.git3),this.gitInv4=this.gitInv4||b(this.git4),this.gitInv5=this.gitInv5||b(this.git5),this.gitInv6=this.gitInv6||b(this.git6),this.gitInv7=this.gitInv7||b(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||b(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||b(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||A(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||A(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(o=>{this[o]=e[o]}),this.updateColors(),r.forEach(o=>{this[o]=e[o]})}},ll=i(t=>{let e=new Go;return e.calculate(t),e},"getThemeVariables");var Vo=class{static{i(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=p(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=p(this.primaryColor,{h:-160}),this.primaryBorderColor=ct(this.primaryColor,this.darkMode),this.secondaryBorderColor=ct(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ct(this.tertiaryColor,this.darkMode),this.primaryTextColor=b(this.primaryColor),this.secondaryTextColor=b(this.secondaryColor),this.tertiaryTextColor=b(this.tertiaryColor),this.lineColor=b(this.background),this.textColor=b(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=se(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||p(this.primaryColor,{h:30}),this.cScale4=this.cScale4||p(this.primaryColor,{h:60}),this.cScale5=this.cScale5||p(this.primaryColor,{h:90}),this.cScale6=this.cScale6||p(this.primaryColor,{h:120}),this.cScale7=this.cScale7||p(this.primaryColor,{h:150}),this.cScale8=this.cScale8||p(this.primaryColor,{h:210}),this.cScale9=this.cScale9||p(this.primaryColor,{h:270}),this.cScale10=this.cScale10||p(this.primaryColor,{h:300}),this.cScale11=this.cScale11||p(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||R(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||R(this.tertiaryColor,40);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=R(this["cScale"+e],10),this["cScalePeer"+e]=this["cScalePeer"+e]||R(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||p(this["cScale"+e],{h:180});for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||p(this.mainBkg,{h:30,l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||p(this.mainBkg,{h:30,l:-(7+e*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||b(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||b(this.labelTextColor);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=A(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=p(this.primaryColor,{h:64}),this.fillType3=p(this.secondaryColor,{h:64}),this.fillType4=p(this.primaryColor,{h:-64}),this.fillType5=p(this.secondaryColor,{h:-64}),this.fillType6=p(this.primaryColor,{h:128}),this.fillType7=p(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||p(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||p(this.primaryColor,{l:-10}),this.pie5=this.pie5||p(this.secondaryColor,{l:-30}),this.pie6=this.pie6||p(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||p(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||p(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||p(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||p(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||p(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||p(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||p(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||p(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||p(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||p(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||p(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||p(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Wt(this.quadrant1Fill)?A(this.quadrant1Fill):R(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||p(this.primaryColor,{h:-30}),this.git4=this.git4||p(this.primaryColor,{h:-60}),this.git5=this.git5||p(this.primaryColor,{h:-90}),this.git6=this.git6||p(this.primaryColor,{h:60}),this.git7=this.git7||p(this.primaryColor,{h:120}),this.darkMode?(this.git0=A(this.git0,25),this.git1=A(this.git1,25),this.git2=A(this.git2,25),this.git3=A(this.git3,25),this.git4=A(this.git4,25),this.git5=A(this.git5,25),this.git6=A(this.git6,25),this.git7=A(this.git7,25)):(this.git0=R(this.git0,25),this.git1=R(this.git1,25),this.git2=R(this.git2,25),this.git3=R(this.git3,25),this.git4=R(this.git4,25),this.git5=R(this.git5,25),this.git6=R(this.git6,25),this.git7=R(this.git7,25)),this.gitInv0=this.gitInv0||R(b(this.git0),25),this.gitInv1=this.gitInv1||b(this.git1),this.gitInv2=this.gitInv2||b(this.git2),this.gitInv3=this.gitInv3||b(this.git3),this.gitInv4=this.gitInv4||b(this.git4),this.gitInv5=this.gitInv5||b(this.git5),this.gitInv6=this.gitInv6||b(this.git6),this.gitInv7=this.gitInv7||b(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||b(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||b(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ge,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||xe}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(o=>{this[o]=e[o]}),this.updateColors(),r.forEach(o=>{this[o]=e[o]})}},hl=i(t=>{let e=new Vo;return e.calculate(t),e},"getThemeVariables");var Xo=class{static{i(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=A("#cde498",10),this.primaryBorderColor=ct(this.primaryColor,this.darkMode),this.secondaryBorderColor=ct(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ct(this.tertiaryColor,this.darkMode),this.primaryTextColor=b(this.primaryColor),this.secondaryTextColor=b(this.secondaryColor),this.tertiaryTextColor=b(this.primaryColor),this.lineColor=b(this.background),this.textColor=b(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=R(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||p(this.primaryColor,{h:30}),this.cScale4=this.cScale4||p(this.primaryColor,{h:60}),this.cScale5=this.cScale5||p(this.primaryColor,{h:90}),this.cScale6=this.cScale6||p(this.primaryColor,{h:120}),this.cScale7=this.cScale7||p(this.primaryColor,{h:150}),this.cScale8=this.cScale8||p(this.primaryColor,{h:210}),this.cScale9=this.cScale9||p(this.primaryColor,{h:270}),this.cScale10=this.cScale10||p(this.primaryColor,{h:300}),this.cScale11=this.cScale11||p(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||R(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||R(this.tertiaryColor,40);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=R(this["cScale"+e],10),this["cScalePeer"+e]=this["cScalePeer"+e]||R(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||p(this["cScale"+e],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||p(this.mainBkg,{h:30,s:-30,l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||p(this.mainBkg,{h:30,s:-30,l:-(8+e*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=p(this.primaryColor,{h:64}),this.fillType3=p(this.secondaryColor,{h:64}),this.fillType4=p(this.primaryColor,{h:-64}),this.fillType5=p(this.secondaryColor,{h:-64}),this.fillType6=p(this.primaryColor,{h:128}),this.fillType7=p(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||p(this.primaryColor,{l:-30}),this.pie5=this.pie5||p(this.secondaryColor,{l:-30}),this.pie6=this.pie6||p(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||p(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||p(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||p(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||p(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||p(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||p(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||p(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||p(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||p(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||p(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||p(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||p(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Wt(this.quadrant1Fill)?A(this.quadrant1Fill):R(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||p(this.primaryColor,{h:-30}),this.git4=this.git4||p(this.primaryColor,{h:-60}),this.git5=this.git5||p(this.primaryColor,{h:-90}),this.git6=this.git6||p(this.primaryColor,{h:60}),this.git7=this.git7||p(this.primaryColor,{h:120}),this.darkMode?(this.git0=A(this.git0,25),this.git1=A(this.git1,25),this.git2=A(this.git2,25),this.git3=A(this.git3,25),this.git4=A(this.git4,25),this.git5=A(this.git5,25),this.git6=A(this.git6,25),this.git7=A(this.git7,25)):(this.git0=R(this.git0,25),this.git1=R(this.git1,25),this.git2=R(this.git2,25),this.git3=R(this.git3,25),this.git4=R(this.git4,25),this.git5=R(this.git5,25),this.git6=R(this.git6,25),this.git7=R(this.git7,25)),this.gitInv0=this.gitInv0||b(this.git0),this.gitInv1=this.gitInv1||b(this.git1),this.gitInv2=this.gitInv2||b(this.git2),this.gitInv3=this.gitInv3||b(this.git3),this.gitInv4=this.gitInv4||b(this.git4),this.gitInv5=this.gitInv5||b(this.git5),this.gitInv6=this.gitInv6||b(this.git6),this.gitInv7=this.gitInv7||b(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||b(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||b(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ge,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||xe}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(o=>{this[o]=e[o]}),this.updateColors(),r.forEach(o=>{this[o]=e[o]})}},cl=i(t=>{let e=new Xo;return e.calculate(t),e},"getThemeVariables");var jo=class{static{i(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=A(this.contrast,55),this.background="#ffffff",this.tertiaryColor=p(this.primaryColor,{h:-160}),this.primaryBorderColor=ct(this.primaryColor,this.darkMode),this.secondaryBorderColor=ct(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ct(this.tertiaryColor,this.darkMode),this.primaryTextColor=b(this.primaryColor),this.secondaryTextColor=b(this.secondaryColor),this.tertiaryTextColor=b(this.tertiaryColor),this.lineColor=b(this.background),this.textColor=b(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=A(this.contrast,55),this.border2=this.contrast,this.actorBorder=A(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||b(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this.darkMode?this["cScalePeer"+e]=this["cScalePeer"+e]||A(this["cScale"+e],10):this["cScalePeer"+e]=this["cScalePeer"+e]||R(this["cScale"+e],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||p(this.mainBkg,{l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||p(this.mainBkg,{l:-(8+e*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=A(this.contrast,30),this.sectionBkgColor2=A(this.contrast,30),this.taskBorderColor=R(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=A(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=R(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=p(this.primaryColor,{h:64}),this.fillType3=p(this.secondaryColor,{h:64}),this.fillType4=p(this.primaryColor,{h:-64}),this.fillType5=p(this.secondaryColor,{h:-64}),this.fillType6=p(this.primaryColor,{h:128}),this.fillType7=p(this.secondaryColor,{h:128});for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["pie"+e]=this["cScale"+e];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||p(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||p(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||p(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||p(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||p(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||p(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Wt(this.quadrant1Fill)?A(this.quadrant1Fill):R(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=R(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||p(this.primaryColor,{h:-30}),this.git4=this.pie5||p(this.primaryColor,{h:-60}),this.git5=this.pie6||p(this.primaryColor,{h:-90}),this.git6=this.pie7||p(this.primaryColor,{h:60}),this.git7=this.pie8||p(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||b(this.git0),this.gitInv1=this.gitInv1||b(this.git1),this.gitInv2=this.gitInv2||b(this.git2),this.gitInv3=this.gitInv3||b(this.git3),this.gitInv4=this.gitInv4||b(this.git4),this.gitInv5=this.gitInv5||b(this.git5),this.gitInv6=this.gitInv6||b(this.git6),this.gitInv7=this.gitInv7||b(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ge,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||xe}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(o=>{this[o]=e[o]}),this.updateColors(),r.forEach(o=>{this[o]=e[o]})}},ul=i(t=>{let e=new jo;return e.calculate(t),e},"getThemeVariables");var ye={base:{getThemeVariables:al},dark:{getThemeVariables:ll},default:{getThemeVariables:hl},forest:{getThemeVariables:cl},neutral:{getThemeVariables:ul}};var ae={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1};var fl={...ae,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:ye.default.getThemeVariables(),sequence:{...ae.sequence,messageFont:i(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:i(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:i(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...ae.gantt,tickInterval:void 0,useWidth:void 0},c4:{...ae.c4,useWidth:void 0,personFont:i(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:i(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:i(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:i(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:i(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:i(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:i(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:i(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:i(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:i(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:i(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:i(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:i(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:i(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:i(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:i(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:i(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:i(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:i(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:i(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:i(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:i(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...ae.pie,useWidth:984},xyChart:{...ae.xyChart,useWidth:void 0},requirement:{...ae.requirement,useWidth:void 0},packet:{...ae.packet}},ml=i((t,e="")=>Object.keys(t).reduce((r,o)=>Array.isArray(t[o])?r:typeof t[o]=="object"&&t[o]!==null?[...r,e+o,...ml(t[o],"")]:[...r,e+o],[]),"keyify"),pl=new Set(ml(fl,"")),dl=fl;var Fi=i(t=>{if(tt.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>Fi(e));return}for(let e of Object.keys(t)){if(tt.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!pl.has(e)||t[e]==null){tt.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){tt.debug("sanitizing object",e),Fi(t[e]);continue}let r=["themeCSS","fontFamily","altFontFamily"];for(let o of r)e.includes(o)&&(tt.debug("sanitizing css option",e),t[e]=Du(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}tt.debug("After sanitization",t)}},"sanitizeDirective"),Du=i(t=>{let e=0,r=0;for(let o of t){if(e<r)return"{ /* ERROR: Unbalanced CSS */ }";o==="{"?e++:o==="}"&&r++}return e!==r?"{ /* ERROR: Unbalanced CSS */ }":t},"sanitizeCss");var Ar=Object.freeze(dl),Rt=Lt({},Ar),xl,tr=[],Lr=Lt({},Ar),Mi=i((t,e)=>{let r=Lt({},t),o={};for(let n of e)Cl(n),o=Lt(o,n);if(r=Lt(r,o),o.theme&&o.theme in ye){let n=Lt({},xl),s=Lt(n.themeVariables||{},o.themeVariables);r.theme&&r.theme in ye&&(r.themeVariables=ye[r.theme].getThemeVariables(s))}return Lr=r,_l(Lr),Lr},"updateCurrentConfig"),Ou=i(t=>(Rt=Lt({},Ar),Rt=Lt(Rt,t),t.theme&&ye[t.theme]&&(Rt.themeVariables=ye[t.theme].getThemeVariables(t.themeVariables)),Mi(Rt,tr),Rt),"setSiteConfig"),eC=i(t=>{xl=Lt({},t)},"saveConfigFromInitialize"),rC=i(t=>(Rt=Lt(Rt,t),Mi(Rt,tr),Rt),"updateSiteConfig"),iC=i(()=>Lt({},Rt),"getSiteConfig"),yl=i(t=>(_l(t),Lt(Lr,t),Er()),"setConfig"),Er=i(()=>Lt({},Lr),"getConfig"),Cl=i(t=>{t&&(["secure",...Rt.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(tt.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&Cl(t[e])}))},"sanitize"),oC=i(t=>{Fi(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),tr.push(t),Mi(Rt,tr)},"addDirective"),nC=i((t=Rt)=>{tr=[],Mi(t,tr)},"reset"),Iu={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},gl={},Ru=i(t=>{gl[t]||(tt.warn(Iu[t]),gl[t]=!0)},"issueWarning"),_l=i(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Ru("LAZY_LOAD_DEPRECATED")},"checkConfig");var{entries:Ml,setPrototypeOf:bl,isFrozen:Nu,getPrototypeOf:qu,getOwnPropertyDescriptor:zu}=Object,{freeze:Et,seal:$t,create:Ll}=Object,{apply:en,construct:rn}=typeof Reflect<"u"&&Reflect;Et||(Et=i(function(e){return e},"freeze"));$t||($t=i(function(e){return e},"seal"));en||(en=i(function(e,r,o){return e.apply(r,o)},"apply"));rn||(rn=i(function(e,r){return new e(...r)},"construct"));var Li=Nt(Array.prototype.forEach),Tl=Nt(Array.prototype.pop),Dr=Nt(Array.prototype.push),Ei=Nt(String.prototype.toLowerCase),Zo=Nt(String.prototype.toString),kl=Nt(String.prototype.match),Or=Nt(String.prototype.replace),Pu=Nt(String.prototype.indexOf),$u=Nt(String.prototype.trim),Ht=Nt(Object.prototype.hasOwnProperty),At=Nt(RegExp.prototype.test),Ir=Wu(TypeError);function Nt(t){return function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];return en(t,e,o)}}i(Nt,"unapply");function Wu(t){return function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return rn(t,r)}}i(Wu,"unconstruct");function Q(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ei;bl&&bl(t,null);let o=e.length;for(;o--;){let n=e[o];if(typeof n=="string"){let s=r(n);s!==n&&(Nu(e)||(e[o]=s),n=s)}t[n]=!0}return t}i(Q,"addToSet");function Hu(t){for(let e=0;e<t.length;e++)Ht(t,e)||(t[e]=null);return t}i(Hu,"cleanArray");function Ee(t){let e=Ll(null);for(let[r,o]of Ml(t))Ht(t,r)&&(Array.isArray(o)?e[r]=Hu(o):o&&typeof o=="object"&&o.constructor===Object?e[r]=Ee(o):e[r]=o);return e}i(Ee,"clone");function Rr(t,e){for(;t!==null;){let o=zu(t,e);if(o){if(o.get)return Nt(o.get);if(typeof o.value=="function")return Nt(o.value)}t=qu(t)}function r(){return null}return i(r,"fallbackValue"),r}i(Rr,"lookupGetter");var Sl=Et(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ko=Et(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Qo=Et(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Uu=Et(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Jo=Et(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Yu=Et(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),vl=Et(["#text"]),wl=Et(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),tn=Et(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Bl=Et(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ai=Et(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Gu=$t(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Vu=$t(/<%[\w\W]*|[\w\W]*%>/gm),Xu=$t(/\${[\w\W]*}/gm),ju=$t(/^data-[\-\w.\u00B7-\uFFFF]/),Zu=$t(/^aria-[\-\w]+$/),Al=$t(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ku=$t(/^(?:\w+script|data):/i),Qu=$t(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),El=$t(/^html$/i),Ju=$t(/^[a-z][.\w]*(-[.\w]+)+$/i),Fl=Object.freeze({__proto__:null,ARIA_ATTR:Zu,ATTR_WHITESPACE:Qu,CUSTOM_ELEMENT:Ju,DATA_ATTR:ju,DOCTYPE_NAME:El,ERB_EXPR:Vu,IS_ALLOWED_URI:Al,IS_SCRIPT_OR_DATA:Ku,MUSTACHE_EXPR:Gu,TMPLIT_EXPR:Xu}),Nr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},tf=i(function(){return typeof window>"u"?null:window},"getGlobal"),ef=i(function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let o=null,n="data-tt-policy-suffix";r&&r.hasAttribute(n)&&(o=r.getAttribute(n));let s="dompurify"+(o?"#"+o:"");try{return e.createPolicy(s,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},"_createTrustedTypesPolicy");function Dl(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tf(),e=i(I=>Dl(I),"DOMPurify");if(e.version="3.2.1",e.removed=[],!t||!t.document||t.document.nodeType!==Nr.document)return e.isSupported=!1,e;let{document:r}=t,o=r,n=o.currentScript,{DocumentFragment:s,HTMLTemplateElement:a,Node:l,Element:c,NodeFilter:h,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:g}=t,T=c.prototype,L=Rr(T,"cloneNode"),$=Rr(T,"remove"),z=Rr(T,"nextSibling"),G=Rr(T,"childNodes"),E=Rr(T,"parentNode");if(typeof a=="function"){let I=r.createElement("template");I.content&&I.content.ownerDocument&&(r=I.content.ownerDocument)}let B,P="",{implementation:w,createNodeIterator:X,createDocumentFragment:j,getElementsByTagName:W}=r,{importNode:it}=o,M={};e.isSupported=typeof Ml=="function"&&typeof E=="function"&&w&&w.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:k,ERB_EXPR:x,TMPLIT_EXPR:y,DATA_ATTR:F,ARIA_ATTR:S,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:O,CUSTOM_ELEMENT:U}=Fl,{IS_ALLOWED_URI:rt}=Fl,Y=null,nt=Q({},[...Sl,...Ko,...Qo,...Jo,...vl]),K=null,Ft=Q({},[...wl,...tn,...Bl,...Ai]),Z=Object.seal(Ll(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ct=null,_t=null,lt=!0,v=!0,H=!1,V=!0,C=!1,pt=!0,J=!1,bt=!1,Tt=!1,Ot=!1,Le=!1,di=!1,wa=!0,Ba=!1,ou="user-content-",Do=!0,vr=!1,Ze={},Ke=null,Fa=Q({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ma=null,La=Q({},["audio","video","img","source","image","track"]),Oo=null,Aa=Q({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),gi="http://www.w3.org/1998/Math/MathML",xi="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml",Qe=re,Io=!1,Ro=null,nu=Q({},[gi,xi,re],Zo),yi=Q({},["mi","mo","mn","ms","mtext"]),Ci=Q({},["annotation-xml"]),su=Q({},["title","style","font","a","script"]),wr=null,au=["application/xhtml+xml","text/html"],lu="text/html",dt=null,Je=null,hu=r.createElement("form"),Ea=i(function(m){return m instanceof RegExp||m instanceof Function},"isRegexOrFunction"),No=i(function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Je&&Je===m)){if((!m||typeof m!="object")&&(m={}),m=Ee(m),wr=au.indexOf(m.PARSER_MEDIA_TYPE)===-1?lu:m.PARSER_MEDIA_TYPE,dt=wr==="application/xhtml+xml"?Zo:Ei,Y=Ht(m,"ALLOWED_TAGS")?Q({},m.ALLOWED_TAGS,dt):nt,K=Ht(m,"ALLOWED_ATTR")?Q({},m.ALLOWED_ATTR,dt):Ft,Ro=Ht(m,"ALLOWED_NAMESPACES")?Q({},m.ALLOWED_NAMESPACES,Zo):nu,Oo=Ht(m,"ADD_URI_SAFE_ATTR")?Q(Ee(Aa),m.ADD_URI_SAFE_ATTR,dt):Aa,Ma=Ht(m,"ADD_DATA_URI_TAGS")?Q(Ee(La),m.ADD_DATA_URI_TAGS,dt):La,Ke=Ht(m,"FORBID_CONTENTS")?Q({},m.FORBID_CONTENTS,dt):Fa,Ct=Ht(m,"FORBID_TAGS")?Q({},m.FORBID_TAGS,dt):{},_t=Ht(m,"FORBID_ATTR")?Q({},m.FORBID_ATTR,dt):{},Ze=Ht(m,"USE_PROFILES")?m.USE_PROFILES:!1,lt=m.ALLOW_ARIA_ATTR!==!1,v=m.ALLOW_DATA_ATTR!==!1,H=m.ALLOW_UNKNOWN_PROTOCOLS||!1,V=m.ALLOW_SELF_CLOSE_IN_ATTR!==!1,C=m.SAFE_FOR_TEMPLATES||!1,pt=m.SAFE_FOR_XML!==!1,J=m.WHOLE_DOCUMENT||!1,Ot=m.RETURN_DOM||!1,Le=m.RETURN_DOM_FRAGMENT||!1,di=m.RETURN_TRUSTED_TYPE||!1,Tt=m.FORCE_BODY||!1,wa=m.SANITIZE_DOM!==!1,Ba=m.SANITIZE_NAMED_PROPS||!1,Do=m.KEEP_CONTENT!==!1,vr=m.IN_PLACE||!1,rt=m.ALLOWED_URI_REGEXP||Al,Qe=m.NAMESPACE||re,yi=m.MATHML_TEXT_INTEGRATION_POINTS||yi,Ci=m.HTML_INTEGRATION_POINTS||Ci,Z=m.CUSTOM_ELEMENT_HANDLING||{},m.CUSTOM_ELEMENT_HANDLING&&Ea(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Z.tagNameCheck=m.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m.CUSTOM_ELEMENT_HANDLING&&Ea(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Z.attributeNameCheck=m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m.CUSTOM_ELEMENT_HANDLING&&typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Z.allowCustomizedBuiltInElements=m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),C&&(v=!1),Le&&(Ot=!0),Ze&&(Y=Q({},vl),K=[],Ze.html===!0&&(Q(Y,Sl),Q(K,wl)),Ze.svg===!0&&(Q(Y,Ko),Q(K,tn),Q(K,Ai)),Ze.svgFilters===!0&&(Q(Y,Qo),Q(K,tn),Q(K,Ai)),Ze.mathMl===!0&&(Q(Y,Jo),Q(K,Bl),Q(K,Ai))),m.ADD_TAGS&&(Y===nt&&(Y=Ee(Y)),Q(Y,m.ADD_TAGS,dt)),m.ADD_ATTR&&(K===Ft&&(K=Ee(K)),Q(K,m.ADD_ATTR,dt)),m.ADD_URI_SAFE_ATTR&&Q(Oo,m.ADD_URI_SAFE_ATTR,dt),m.FORBID_CONTENTS&&(Ke===Fa&&(Ke=Ee(Ke)),Q(Ke,m.FORBID_CONTENTS,dt)),Do&&(Y["#text"]=!0),J&&Q(Y,["html","head","body"]),Y.table&&(Q(Y,["tbody"]),delete Ct.tbody),m.TRUSTED_TYPES_POLICY){if(typeof m.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ir('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ir('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');B=m.TRUSTED_TYPES_POLICY,P=B.createHTML("")}else B===void 0&&(B=ef(g,n)),B!==null&&typeof P=="string"&&(P=B.createHTML(""));Et&&Et(m),Je=m}},"_parseConfig"),Da=Q({},[...Ko,...Qo,...Uu]),Oa=Q({},[...Jo,...Yu]),cu=i(function(m){let _=E(m);(!_||!_.tagName)&&(_={namespaceURI:Qe,tagName:"template"});let D=Ei(m.tagName),at=Ei(_.tagName);return Ro[m.namespaceURI]?m.namespaceURI===xi?_.namespaceURI===re?D==="svg":_.namespaceURI===gi?D==="svg"&&(at==="annotation-xml"||yi[at]):!!Da[D]:m.namespaceURI===gi?_.namespaceURI===re?D==="math":_.namespaceURI===xi?D==="math"&&Ci[at]:!!Oa[D]:m.namespaceURI===re?_.namespaceURI===xi&&!Ci[at]||_.namespaceURI===gi&&!yi[at]?!1:!Oa[D]&&(su[D]||!Da[D]):!!(wr==="application/xhtml+xml"&&Ro[m.namespaceURI]):!1},"_checkValidNamespace"),jt=i(function(m){Dr(e.removed,{element:m});try{E(m).removeChild(m)}catch{$(m)}},"_forceRemove"),_i=i(function(m,_){try{Dr(e.removed,{attribute:_.getAttributeNode(m),from:_})}catch{Dr(e.removed,{attribute:null,from:_})}if(_.removeAttribute(m),m==="is"&&!K[m])if(Ot||Le)try{jt(_)}catch{}else try{_.setAttribute(m,"")}catch{}},"_removeAttribute"),Ia=i(function(m){let _=null,D=null;if(Tt)m="<remove></remove>"+m;else{let kt=kl(m,/^[\r\n\t ]+/);D=kt&&kt[0]}wr==="application/xhtml+xml"&&Qe===re&&(m='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+m+"</body></html>");let at=B?B.createHTML(m):m;if(Qe===re)try{_=new f().parseFromString(at,wr)}catch{}if(!_||!_.documentElement){_=w.createDocument(Qe,"template",null);try{_.documentElement.innerHTML=Io?P:at}catch{}}let Bt=_.body||_.documentElement;return m&&D&&Bt.insertBefore(r.createTextNode(D),Bt.childNodes[0]||null),Qe===re?W.call(_,J?"html":"body")[0]:J?_.documentElement:Bt},"_initDocument"),Ra=i(function(m){return X.call(m.ownerDocument||m,m,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},"_createNodeIterator"),Na=i(function(m){return m instanceof d&&(typeof m.nodeName!="string"||typeof m.textContent!="string"||typeof m.removeChild!="function"||!(m.attributes instanceof u)||typeof m.removeAttribute!="function"||typeof m.setAttribute!="function"||typeof m.namespaceURI!="string"||typeof m.insertBefore!="function"||typeof m.hasChildNodes!="function")},"_isClobbered"),qa=i(function(m){return typeof l=="function"&&m instanceof l},"_isNode");function ie(I,m,_){M[I]&&Li(M[I],D=>{D.call(e,m,_,Je)})}i(ie,"_executeHook");let za=i(function(m){let _=null;if(ie("beforeSanitizeElements",m,null),Na(m))return jt(m),!0;let D=dt(m.nodeName);if(ie("uponSanitizeElement",m,{tagName:D,allowedTags:Y}),m.hasChildNodes()&&!qa(m.firstElementChild)&&At(/<[/\w]/g,m.innerHTML)&&At(/<[/\w]/g,m.textContent)||m.nodeType===Nr.progressingInstruction||pt&&m.nodeType===Nr.comment&&At(/<[/\w]/g,m.data))return jt(m),!0;if(!Y[D]||Ct[D]){if(!Ct[D]&&$a(D)&&(Z.tagNameCheck instanceof RegExp&&At(Z.tagNameCheck,D)||Z.tagNameCheck instanceof Function&&Z.tagNameCheck(D)))return!1;if(Do&&!Ke[D]){let at=E(m)||m.parentNode,Bt=G(m)||m.childNodes;if(Bt&&at){let kt=Bt.length;for(let It=kt-1;It>=0;--It){let Zt=L(Bt[It],!0);Zt.__removalCount=(m.__removalCount||0)+1,at.insertBefore(Zt,z(m))}}}return jt(m),!0}return m instanceof c&&!cu(m)||(D==="noscript"||D==="noembed"||D==="noframes")&&At(/<\/no(script|embed|frames)/i,m.innerHTML)?(jt(m),!0):(C&&m.nodeType===Nr.text&&(_=m.textContent,Li([k,x,y],at=>{_=Or(_,at," ")}),m.textContent!==_&&(Dr(e.removed,{element:m.cloneNode()}),m.textContent=_)),ie("afterSanitizeElements",m,null),!1)},"_sanitizeElements"),Pa=i(function(m,_,D){if(wa&&(_==="id"||_==="name")&&(D in r||D in hu))return!1;if(!(v&&!_t[_]&&At(F,_))){if(!(lt&&At(S,_))){if(!K[_]||_t[_]){if(!($a(m)&&(Z.tagNameCheck instanceof RegExp&&At(Z.tagNameCheck,m)||Z.tagNameCheck instanceof Function&&Z.tagNameCheck(m))&&(Z.attributeNameCheck instanceof RegExp&&At(Z.attributeNameCheck,_)||Z.attributeNameCheck instanceof Function&&Z.attributeNameCheck(_))||_==="is"&&Z.allowCustomizedBuiltInElements&&(Z.tagNameCheck instanceof RegExp&&At(Z.tagNameCheck,D)||Z.tagNameCheck instanceof Function&&Z.tagNameCheck(D))))return!1}else if(!Oo[_]){if(!At(rt,Or(D,O,""))){if(!((_==="src"||_==="xlink:href"||_==="href")&&m!=="script"&&Pu(D,"data:")===0&&Ma[m])){if(!(H&&!At(N,Or(D,O,"")))){if(D)return!1}}}}}}return!0},"_isValidAttribute"),$a=i(function(m){return m!=="annotation-xml"&&kl(m,U)},"_isBasicCustomElement"),Wa=i(function(m){ie("beforeSanitizeAttributes",m,null);let{attributes:_}=m;if(!_)return;let D={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0},at=_.length;for(;at--;){let Bt=_[at],{name:kt,namespaceURI:It,value:Zt}=Bt,Br=dt(kt),Mt=kt==="value"?Zt:$u(Zt);if(D.attrName=Br,D.attrValue=Mt,D.keepAttr=!0,D.forceKeepAttr=void 0,ie("uponSanitizeAttribute",m,D),Mt=D.attrValue,Ba&&(Br==="id"||Br==="name")&&(_i(kt,m),Mt=ou+Mt),pt&&At(/((--!?|])>)|<\/(style|title)/i,Mt)){_i(kt,m);continue}if(D.forceKeepAttr||(_i(kt,m),!D.keepAttr))continue;if(!V&&At(/\/>/i,Mt)){_i(kt,m);continue}C&&Li([k,x,y],Ua=>{Mt=Or(Mt,Ua," ")});let Ha=dt(m.nodeName);if(Pa(Ha,Br,Mt)){if(B&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!It)switch(g.getAttributeType(Ha,Br)){case"TrustedHTML":{Mt=B.createHTML(Mt);break}case"TrustedScriptURL":{Mt=B.createScriptURL(Mt);break}}try{It?m.setAttributeNS(It,kt,Mt):m.setAttribute(kt,Mt),Na(m)?jt(m):Tl(e.removed)}catch{}}}ie("afterSanitizeAttributes",m,null)},"_sanitizeAttributes"),uu=i(function I(m){let _=null,D=Ra(m);for(ie("beforeSanitizeShadowDOM",m,null);_=D.nextNode();)ie("uponSanitizeShadowNode",_,null),!za(_)&&(_.content instanceof s&&I(_.content),Wa(_));ie("afterSanitizeShadowDOM",m,null)},"_sanitizeShadowDOM");return e.sanitize=function(I){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=null,D=null,at=null,Bt=null;if(Io=!I,Io&&(I="<!-->"),typeof I!="string"&&!qa(I))if(typeof I.toString=="function"){if(I=I.toString(),typeof I!="string")throw Ir("dirty is not a string, aborting")}else throw Ir("toString is not a function");if(!e.isSupported)return I;if(bt||No(m),e.removed=[],typeof I=="string"&&(vr=!1),vr){if(I.nodeName){let Zt=dt(I.nodeName);if(!Y[Zt]||Ct[Zt])throw Ir("root node is forbidden and cannot be sanitized in-place")}}else if(I instanceof l)_=Ia("<!---->"),D=_.ownerDocument.importNode(I,!0),D.nodeType===Nr.element&&D.nodeName==="BODY"||D.nodeName==="HTML"?_=D:_.appendChild(D);else{if(!Ot&&!C&&!J&&I.indexOf("<")===-1)return B&&di?B.createHTML(I):I;if(_=Ia(I),!_)return Ot?null:di?P:""}_&&Tt&&jt(_.firstChild);let kt=Ra(vr?I:_);for(;at=kt.nextNode();)za(at)||(at.content instanceof s&&uu(at.content),Wa(at));if(vr)return I;if(Ot){if(Le)for(Bt=j.call(_.ownerDocument);_.firstChild;)Bt.appendChild(_.firstChild);else Bt=_;return(K.shadowroot||K.shadowrootmode)&&(Bt=it.call(o,Bt,!0)),Bt}let It=J?_.outerHTML:_.innerHTML;return J&&Y["!doctype"]&&_.ownerDocument&&_.ownerDocument.doctype&&_.ownerDocument.doctype.name&&At(El,_.ownerDocument.doctype.name)&&(It="<!DOCTYPE "+_.ownerDocument.doctype.name+`> +`+It),C&&Li([k,x,y],Zt=>{It=Or(It,Zt," ")}),B&&di?B.createHTML(It):It},e.setConfig=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};No(I),bt=!0},e.clearConfig=function(){Je=null,bt=!1},e.isValidAttribute=function(I,m,_){Je||No({});let D=dt(I),at=dt(m);return Pa(D,at,_)},e.addHook=function(I,m){typeof m=="function"&&(M[I]=M[I]||[],Dr(M[I],m))},e.removeHook=function(I){if(M[I])return Tl(M[I])},e.removeHooks=function(I){M[I]&&(M[I]=[])},e.removeAllHooks=function(){M={}},e}i(Dl,"createDOMPurify");var er=Dl();var qr=/<br\s*\/?>/gi,rf=i(t=>t?ql(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),of=(()=>{let t=!1;return()=>{t||(nf(),t=!0)}})();function nf(){let t="data-temp-href-target";er.addHook("beforeSanitizeAttributes",e=>{e instanceof Element&&e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),er.addHook("afterSanitizeAttributes",e=>{e instanceof Element&&e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}i(nf,"setupDompurifyHooks");var Nl=i(t=>(of(),er.sanitize(t)),"removeScript"),Ol=i((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;r==="antiscript"||r==="strict"?t=Nl(t):r!=="loose"&&(t=ql(t),t=t.replace(/</g,"<").replace(/>/g,">"),t=t.replace(/=/g,"="),t=hf(t))}return t},"sanitizeMore"),De=i((t,e)=>t&&(e.dompurifyConfig?t=er.sanitize(Ol(t,e),e.dompurifyConfig).toString():t=er.sanitize(Ol(t,e),{FORBID_TAGS:["style"]}).toString(),t),"sanitizeText"),sf=i((t,e)=>typeof t=="string"?De(t,e):t.flat().map(r=>De(r,e)),"sanitizeTextOrArray"),af=i(t=>qr.test(t),"hasBreaks"),lf=i(t=>t.split(qr),"splitBreaks"),hf=i(t=>t.replace(/#br#/g,"<br/>"),"placeholderToBreak"),ql=i(t=>t.replace(qr,"#br#"),"breakToPlaceholder"),cf=i(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},"getUrl"),uf=i(t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),ff=i(function(...t){let e=t.filter(r=>!isNaN(r));return Math.max(...e)},"getMax"),mf=i(function(...t){let e=t.filter(r=>!isNaN(r));return Math.min(...e)},"getMin"),uC=i(function(t){let e=t.split(/(,)/),r=[];for(let o=0;o<e.length;o++){let n=e[o];if(n===","&&o>0&&o+1<e.length){let s=e[o-1],a=e[o+1];pf(s,a)&&(n=s+","+a,o++,r.pop())}r.push(df(n))}return r.join("")},"parseGenericTypes"),on=i((t,e)=>Math.max(0,t.split(e).length-1),"countOccurrence"),pf=i((t,e)=>{let r=on(t,"~"),o=on(e,"~");return r===1&&o===1},"shouldCombineSets"),df=i(t=>{let e=on(t,"~"),r=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let o=[...t],n=o.indexOf("~"),s=o.lastIndexOf("~");for(;n!==-1&&s!==-1&&n!==s;)o[n]="<",o[s]=">",n=o.indexOf("~"),s=o.lastIndexOf("~");return r&&o.unshift("~"),o.join("")},"processSet"),Il=i(()=>window.MathMLElement!==void 0,"isMathMLSupported"),nn=/\$\$(.*)\$\$/g,Rl=i(t=>(t.match(nn)?.length??0)>0,"hasKatex"),fC=i(async(t,e)=>{t=await gf(t,e);let r=document.createElement("div");r.innerHTML=t,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",document.querySelector("body")?.insertAdjacentElement("beforeend",r);let n={width:r.clientWidth,height:r.clientHeight};return r.remove(),n},"calculateMathMLDimensions"),gf=i(async(t,e)=>{if(!Rl(t))return t;if(!(Il()||e.legacyMathML||e.forceLegacyMathML))return t.replace(nn,"MathML is unsupported in this environment.");let{default:r}=await import("./katex-SWYD7GD6.mjs"),o=e.forceLegacyMathML||!Il()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(qr).map(n=>Rl(n)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${n}</div>`:`<div>${n}</div>`).join("").replace(nn,(n,s)=>r.renderToString(s,{throwOnError:!0,displayMode:!0,output:o}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))},"renderKatex"),mC={getRows:rf,sanitizeText:De,sanitizeTextOrArray:sf,hasBreaks:af,splitBreaks:lf,lineBreakRegex:qr,removeScript:Nl,getUrl:cf,evaluate:uf,getMax:ff,getMin:mf};var xf=i(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),yf=i(function(t,e,r){let o=new Map;return r?(o.set("width","100%"),o.set("style",`max-width: ${e}px;`)):(o.set("height",t),o.set("width",e)),o},"calculateSvgSizeAttrs"),Cf=i(function(t,e,r,o){let n=yf(e,r,o);xf(t,n)},"configureSvgSize"),zl=i(function(t,e,r,o){let n=e.node().getBBox(),s=n.width,a=n.height;tt.info(`SVG bounds: ${s}x${a}`,n);let l=0,c=0;tt.info(`Graph bounds: ${l}x${c}`,t),l=s+r*2,c=a+r*2,tt.info(`Calculated bounds: ${l}x${c}`),Cf(e,c,l,o);let h=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",h)},"setupGraphViewbox");var Di={},_f=i((t,e,r)=>{let o="";return t in Di&&Di[t]?o=Di[t](r):tt.warn(`No theme found for ${t}`),` & { + font-family: ${r.fontFamily}; + font-size: ${r.fontSize}; + fill: ${r.textColor} + } + + /* Classes common for multiple diagrams */ + + & .error-icon { + fill: ${r.errorBkgColor}; + } + & .error-text { + fill: ${r.errorTextColor}; + stroke: ${r.errorTextColor}; + } + + & .edge-thickness-normal { + stroke-width: 1px; + } + & .edge-thickness-thick { + stroke-width: 3.5px + } + & .edge-pattern-solid { + stroke-dasharray: 0; + } + & .edge-thickness-invisible { + stroke-width: 0; + fill: none; + } + & .edge-pattern-dashed{ + stroke-dasharray: 3; + } + .edge-pattern-dotted { + stroke-dasharray: 2; + } + + & .marker { + fill: ${r.lineColor}; + stroke: ${r.lineColor}; + } + & .marker.cross { + stroke: ${r.lineColor}; + } + + & svg { + font-family: ${r.fontFamily}; + font-size: ${r.fontSize}; + } + & p { + margin: 0 + } + + ${o} + + ${e} +`},"getStyles"),Pl=i((t,e)=>{e!==void 0&&(Di[t]=e)},"addStylesForDiagram"),_C=_f;var cn={};mu(cn,{clear:()=>bf,getAccDescription:()=>vf,getAccTitle:()=>kf,getDiagramTitle:()=>Bf,setAccDescription:()=>Sf,setAccTitle:()=>Tf,setDiagramTitle:()=>wf});var sn="",an="",ln="",hn=i(t=>De(t,Er()),"sanitizeText"),bf=i(()=>{sn="",ln="",an=""},"clear"),Tf=i(t=>{sn=hn(t).replace(/^\s+/g,"")},"setAccTitle"),kf=i(()=>sn,"getAccTitle"),Sf=i(t=>{ln=hn(t).replace(/\n\s+/g,` +`)},"setAccDescription"),vf=i(()=>ln,"getAccDescription"),wf=i(t=>{an=hn(t)},"setDiagramTitle"),Bf=i(()=>an,"getDiagramTitle");var $l=tt,Ff=Va,Wl=Er,EC=yl,DC=Ar;var Mf=i(t=>De(t,Wl()),"sanitizeText"),Lf=zl,Af=i(()=>cn,"getCommonDb"),Oi={},OC=i((t,e,r)=>{Oi[t]&&$l.warn(`Diagram with id ${t} already registered. Overwriting.`),Oi[t]=e,r&&Po(t,r),Pl(t,e.styles),e.injectUtils?.($l,Ff,Wl,Mf,Lf,Af(),()=>{})},"registerDiagram"),IC=i(t=>{if(t in Oi)return Oi[t];throw new un(t)},"getDiagram"),un=class extends Error{static{i(this,"DiagramNotFoundError")}constructor(e){super(`Diagram ${e} not found.`)}};function Hl(t,e){let r;if(e===void 0)for(let o of t)o!=null&&(r<o||r===void 0&&o>=o)&&(r=o);else{let o=-1;for(let n of t)(n=e(n,++o,t))!=null&&(r<n||r===void 0&&n>=n)&&(r=n)}return r}i(Hl,"max");function Ul(t,e){let r;if(e===void 0)for(let o of t)o!=null&&(r>o||r===void 0&&o>=o)&&(r=o);else{let o=-1;for(let n of t)(n=e(n,++o,t))!=null&&(r>n||r===void 0&&n>=n)&&(r=n)}return r}i(Ul,"min");function Oe(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}i(Oe,"ascending");function fn(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}i(fn,"descending");function Ie(t){let e,r,o;t.length!==2?(e=Oe,r=i((l,c)=>Oe(t(l),c),"compare2"),o=i((l,c)=>t(l)-c,"delta")):(e=t===Oe||t===fn?t:Ef,r=t,o=t);function n(l,c,h=0,u=l.length){if(h<u){if(e(c,c)!==0)return u;do{let d=h+u>>>1;r(l[d],c)<0?h=d+1:u=d}while(h<u)}return h}i(n,"left");function s(l,c,h=0,u=l.length){if(h<u){if(e(c,c)!==0)return u;do{let d=h+u>>>1;r(l[d],c)<=0?h=d+1:u=d}while(h<u)}return h}i(s,"right");function a(l,c,h=0,u=l.length){let d=n(l,c,h,u-1);return d>h&&o(l[d-1],c)>-o(l[d],c)?d-1:d}return i(a,"center"),{left:n,center:a,right:s}}i(Ie,"bisector");function Ef(){return 0}i(Ef,"zero");function mn(t){return t===null?NaN:+t}i(mn,"number");var Yl=Ie(Oe),Gl=Yl.right,Df=Yl.left,Of=Ie(mn).center,pn=Gl;var rr=class extends Map{static{i(this,"InternMap")}constructor(e,r=Nf){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(let[o,n]of e)this.set(o,n)}get(e){return super.get(Vl(this,e))}has(e){return super.has(Vl(this,e))}set(e,r){return super.set(If(this,e),r)}delete(e){return super.delete(Rf(this,e))}};function Vl({_intern:t,_key:e},r){let o=e(r);return t.has(o)?t.get(o):r}i(Vl,"intern_get");function If({_intern:t,_key:e},r){let o=e(r);return t.has(o)?t.get(o):(t.set(o,r),r)}i(If,"intern_set");function Rf({_intern:t,_key:e},r){let o=e(r);return t.has(o)&&(r=t.get(o),t.delete(o)),r}i(Rf,"intern_delete");function Nf(t){return t!==null&&typeof t=="object"?t.valueOf():t}i(Nf,"keyof");var qf=Math.sqrt(50),zf=Math.sqrt(10),Pf=Math.sqrt(2);function Ii(t,e,r){let o=(e-t)/Math.max(0,r),n=Math.floor(Math.log10(o)),s=o/Math.pow(10,n),a=s>=qf?10:s>=zf?5:s>=Pf?2:1,l,c,h;return n<0?(h=Math.pow(10,-n)/a,l=Math.round(t*h),c=Math.round(e*h),l/h<t&&++l,c/h>e&&--c,h=-h):(h=Math.pow(10,n)*a,l=Math.round(t/h),c=Math.round(e/h),l*h<t&&++l,c*h>e&&--c),c<l&&.5<=r&&r<2?Ii(t,e,r*2):[l,c,h]}i(Ii,"tickSpec");function Ri(t,e,r){if(e=+e,t=+t,r=+r,!(r>0))return[];if(t===e)return[t];let o=e<t,[n,s,a]=o?Ii(e,t,r):Ii(t,e,r);if(!(s>=n))return[];let l=s-n+1,c=new Array(l);if(o)if(a<0)for(let h=0;h<l;++h)c[h]=(s-h)/-a;else for(let h=0;h<l;++h)c[h]=(s-h)*a;else if(a<0)for(let h=0;h<l;++h)c[h]=(n+h)/-a;else for(let h=0;h<l;++h)c[h]=(n+h)*a;return c}i(Ri,"ticks");function zr(t,e,r){return e=+e,t=+t,r=+r,Ii(t,e,r)[2]}i(zr,"tickIncrement");function ir(t,e,r){e=+e,t=+t,r=+r;let o=e<t,n=o?zr(e,t,r):zr(t,e,r);return(o?-1:1)*(n<0?1/-n:n)}i(ir,"tickStep");function Ni(t,e,r){t=+t,e=+e,r=(n=arguments.length)<2?(e=t,t=0,1):n<3?1:+r;for(var o=-1,n=Math.max(0,Math.ceil((e-t)/r))|0,s=new Array(n);++o<n;)s[o]=t+o*r;return s}i(Ni,"range");function dn(t){return t}i(dn,"default");var zi=1,gn=2,xn=3,qi=4,Xl=1e-6;function $f(t){return"translate("+t+",0)"}i($f,"translateX");function Wf(t){return"translate(0,"+t+")"}i(Wf,"translateY");function Hf(t){return e=>+t(e)}i(Hf,"number");function Uf(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}i(Uf,"center");function Yf(){return!this.__axis}i(Yf,"entering");function jl(t,e){var r=[],o=null,n=null,s=6,a=6,l=3,c=typeof window<"u"&&window.devicePixelRatio>1?0:.5,h=t===zi||t===qi?-1:1,u=t===qi||t===gn?"x":"y",d=t===zi||t===xn?$f:Wf;function f(g){var T=o??(e.ticks?e.ticks.apply(e,r):e.domain()),L=n??(e.tickFormat?e.tickFormat.apply(e,r):dn),$=Math.max(s,0)+l,z=e.range(),G=+z[0]+c,E=+z[z.length-1]+c,B=(e.bandwidth?Uf:Hf)(e.copy(),c),P=g.selection?g.selection():g,w=P.selectAll(".domain").data([null]),X=P.selectAll(".tick").data(T,e).order(),j=X.exit(),W=X.enter().append("g").attr("class","tick"),it=X.select("line"),M=X.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),X=X.merge(W),it=it.merge(W.append("line").attr("stroke","currentColor").attr(u+"2",h*s)),M=M.merge(W.append("text").attr("fill","currentColor").attr(u,h*$).attr("dy",t===zi?"0em":t===xn?"0.71em":"0.32em")),g!==P&&(w=w.transition(g),X=X.transition(g),it=it.transition(g),M=M.transition(g),j=j.transition(g).attr("opacity",Xl).attr("transform",function(k){return isFinite(k=B(k))?d(k+c):this.getAttribute("transform")}),W.attr("opacity",Xl).attr("transform",function(k){var x=this.parentNode.__axis;return d((x&&isFinite(x=x(k))?x:B(k))+c)})),j.remove(),w.attr("d",t===qi||t===gn?a?"M"+h*a+","+G+"H"+c+"V"+E+"H"+h*a:"M"+c+","+G+"V"+E:a?"M"+G+","+h*a+"V"+c+"H"+E+"V"+h*a:"M"+G+","+c+"H"+E),X.attr("opacity",1).attr("transform",function(k){return d(B(k)+c)}),it.attr(u+"2",h*s),M.attr(u,h*$).text(L),P.filter(Yf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===gn?"start":t===qi?"end":"middle"),P.each(function(){this.__axis=B})}return i(f,"axis"),f.scale=function(g){return arguments.length?(e=g,f):e},f.ticks=function(){return r=Array.from(arguments),f},f.tickArguments=function(g){return arguments.length?(r=g==null?[]:Array.from(g),f):r.slice()},f.tickValues=function(g){return arguments.length?(o=g==null?null:Array.from(g),f):o&&o.slice()},f.tickFormat=function(g){return arguments.length?(n=g,f):n},f.tickSize=function(g){return arguments.length?(s=a=+g,f):s},f.tickSizeInner=function(g){return arguments.length?(s=+g,f):s},f.tickSizeOuter=function(g){return arguments.length?(a=+g,f):a},f.tickPadding=function(g){return arguments.length?(l=+g,f):l},f.offset=function(g){return arguments.length?(c=+g,f):c},f}i(jl,"axis");function Gf(t){return jl(zi,t)}i(Gf,"axisTop");function Vf(t){return jl(xn,t)}i(Vf,"axisBottom");function Xf(){}i(Xf,"none");function Ce(t){return t==null?Xf:function(){return this.querySelector(t)}}i(Ce,"default");function yn(t){typeof t!="function"&&(t=Ce(t));for(var e=this._groups,r=e.length,o=new Array(r),n=0;n<r;++n)for(var s=e[n],a=s.length,l=o[n]=new Array(a),c,h,u=0;u<a;++u)(c=s[u])&&(h=t.call(c,c.__data__,u,s))&&("__data__"in c&&(h.__data__=c.__data__),l[u]=h);return new ht(o,this._parents)}i(yn,"default");function Cn(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}i(Cn,"array");function jf(){return[]}i(jf,"empty");function or(t){return t==null?jf:function(){return this.querySelectorAll(t)}}i(or,"default");function Zf(t){return function(){return Cn(t.apply(this,arguments))}}i(Zf,"arrayAll");function _n(t){typeof t=="function"?t=Zf(t):t=or(t);for(var e=this._groups,r=e.length,o=[],n=[],s=0;s<r;++s)for(var a=e[s],l=a.length,c,h=0;h<l;++h)(c=a[h])&&(o.push(t.call(c,c.__data__,h,a)),n.push(c));return new ht(o,n)}i(_n,"default");function nr(t){return function(){return this.matches(t)}}i(nr,"default");function Pi(t){return function(e){return e.matches(t)}}i(Pi,"childMatcher");var Kf=Array.prototype.find;function Qf(t){return function(){return Kf.call(this.children,t)}}i(Qf,"childFind");function Jf(){return this.firstElementChild}i(Jf,"childFirst");function bn(t){return this.select(t==null?Jf:Qf(typeof t=="function"?t:Pi(t)))}i(bn,"default");var tm=Array.prototype.filter;function em(){return Array.from(this.children)}i(em,"children");function rm(t){return function(){return tm.call(this.children,t)}}i(rm,"childrenFilter");function Tn(t){return this.selectAll(t==null?em:rm(typeof t=="function"?t:Pi(t)))}i(Tn,"default");function kn(t){typeof t!="function"&&(t=nr(t));for(var e=this._groups,r=e.length,o=new Array(r),n=0;n<r;++n)for(var s=e[n],a=s.length,l=o[n]=[],c,h=0;h<a;++h)(c=s[h])&&t.call(c,c.__data__,h,s)&&l.push(c);return new ht(o,this._parents)}i(kn,"default");function Pr(t){return new Array(t.length)}i(Pr,"default");function Sn(){return new ht(this._enter||this._groups.map(Pr),this._parents)}i(Sn,"default");function $r(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}i($r,"EnterNode");$r.prototype={constructor:$r,appendChild:i(function(t){return this._parent.insertBefore(t,this._next)},"appendChild"),insertBefore:i(function(t,e){return this._parent.insertBefore(t,e)},"insertBefore"),querySelector:i(function(t){return this._parent.querySelector(t)},"querySelector"),querySelectorAll:i(function(t){return this._parent.querySelectorAll(t)},"querySelectorAll")};function vn(t){return function(){return t}}i(vn,"default");function im(t,e,r,o,n,s){for(var a=0,l,c=e.length,h=s.length;a<h;++a)(l=e[a])?(l.__data__=s[a],o[a]=l):r[a]=new $r(t,s[a]);for(;a<c;++a)(l=e[a])&&(n[a]=l)}i(im,"bindIndex");function om(t,e,r,o,n,s,a){var l,c,h=new Map,u=e.length,d=s.length,f=new Array(u),g;for(l=0;l<u;++l)(c=e[l])&&(f[l]=g=a.call(c,c.__data__,l,e)+"",h.has(g)?n[l]=c:h.set(g,c));for(l=0;l<d;++l)g=a.call(t,s[l],l,s)+"",(c=h.get(g))?(o[l]=c,c.__data__=s[l],h.delete(g)):r[l]=new $r(t,s[l]);for(l=0;l<u;++l)(c=e[l])&&h.get(f[l])===c&&(n[l]=c)}i(om,"bindKey");function nm(t){return t.__data__}i(nm,"datum");function wn(t,e){if(!arguments.length)return Array.from(this,nm);var r=e?om:im,o=this._parents,n=this._groups;typeof t!="function"&&(t=vn(t));for(var s=n.length,a=new Array(s),l=new Array(s),c=new Array(s),h=0;h<s;++h){var u=o[h],d=n[h],f=d.length,g=sm(t.call(u,u&&u.__data__,h,o)),T=g.length,L=l[h]=new Array(T),$=a[h]=new Array(T),z=c[h]=new Array(f);r(u,d,L,$,z,g,e);for(var G=0,E=0,B,P;G<T;++G)if(B=L[G]){for(G>=E&&(E=G+1);!(P=$[E])&&++E<T;);B._next=P||null}}return a=new ht(a,o),a._enter=l,a._exit=c,a}i(wn,"default");function sm(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}i(sm,"arraylike");function Bn(){return new ht(this._exit||this._groups.map(Pr),this._parents)}i(Bn,"default");function Fn(t,e,r){var o=this.enter(),n=this,s=this.exit();return typeof t=="function"?(o=t(o),o&&(o=o.selection())):o=o.append(t+""),e!=null&&(n=e(n),n&&(n=n.selection())),r==null?s.remove():r(s),o&&n?o.merge(n).order():n}i(Fn,"default");function Mn(t){for(var e=t.selection?t.selection():t,r=this._groups,o=e._groups,n=r.length,s=o.length,a=Math.min(n,s),l=new Array(n),c=0;c<a;++c)for(var h=r[c],u=o[c],d=h.length,f=l[c]=new Array(d),g,T=0;T<d;++T)(g=h[T]||u[T])&&(f[T]=g);for(;c<n;++c)l[c]=r[c];return new ht(l,this._parents)}i(Mn,"default");function Ln(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var o=t[e],n=o.length-1,s=o[n],a;--n>=0;)(a=o[n])&&(s&&a.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(a,s),s=a);return this}i(Ln,"default");function An(t){t||(t=am);function e(d,f){return d&&f?t(d.__data__,f.__data__):!d-!f}i(e,"compareNode");for(var r=this._groups,o=r.length,n=new Array(o),s=0;s<o;++s){for(var a=r[s],l=a.length,c=n[s]=new Array(l),h,u=0;u<l;++u)(h=a[u])&&(c[u]=h);c.sort(e)}return new ht(n,this._parents).order()}i(An,"default");function am(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}i(am,"ascending");function En(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}i(En,"default");function Dn(){return Array.from(this)}i(Dn,"default");function On(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var o=t[e],n=0,s=o.length;n<s;++n){var a=o[n];if(a)return a}return null}i(On,"default");function In(){let t=0;for(let e of this)++t;return t}i(In,"default");function Rn(){return!this.node()}i(Rn,"default");function Nn(t){for(var e=this._groups,r=0,o=e.length;r<o;++r)for(var n=e[r],s=0,a=n.length,l;s<a;++s)(l=n[s])&&t.call(l,l.__data__,s,n);return this}i(Nn,"default");var $i="http://www.w3.org/1999/xhtml",qn={svg:"http://www.w3.org/2000/svg",xhtml:$i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Kt(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),qn.hasOwnProperty(e)?{space:qn[e],local:t}:t}i(Kt,"default");function lm(t){return function(){this.removeAttribute(t)}}i(lm,"attrRemove");function hm(t){return function(){this.removeAttributeNS(t.space,t.local)}}i(hm,"attrRemoveNS");function cm(t,e){return function(){this.setAttribute(t,e)}}i(cm,"attrConstant");function um(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}i(um,"attrConstantNS");function fm(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}i(fm,"attrFunction");function mm(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}i(mm,"attrFunctionNS");function zn(t,e){var r=Kt(t);if(arguments.length<2){var o=this.node();return r.local?o.getAttributeNS(r.space,r.local):o.getAttribute(r)}return this.each((e==null?r.local?hm:lm:typeof e=="function"?r.local?mm:fm:r.local?um:cm)(r,e))}i(zn,"default");function Wr(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}i(Wr,"default");function pm(t){return function(){this.style.removeProperty(t)}}i(pm,"styleRemove");function dm(t,e,r){return function(){this.style.setProperty(t,e,r)}}i(dm,"styleConstant");function gm(t,e,r){return function(){var o=e.apply(this,arguments);o==null?this.style.removeProperty(t):this.style.setProperty(t,o,r)}}i(gm,"styleFunction");function Pn(t,e,r){return arguments.length>1?this.each((e==null?pm:typeof e=="function"?gm:dm)(t,e,r??"")):_e(this.node(),t)}i(Pn,"default");function _e(t,e){return t.style.getPropertyValue(e)||Wr(t).getComputedStyle(t,null).getPropertyValue(e)}i(_e,"styleValue");function xm(t){return function(){delete this[t]}}i(xm,"propertyRemove");function ym(t,e){return function(){this[t]=e}}i(ym,"propertyConstant");function Cm(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}i(Cm,"propertyFunction");function $n(t,e){return arguments.length>1?this.each((e==null?xm:typeof e=="function"?Cm:ym)(t,e)):this.node()[t]}i($n,"default");function Zl(t){return t.trim().split(/^|\s+/)}i(Zl,"classArray");function Wn(t){return t.classList||new Kl(t)}i(Wn,"classList");function Kl(t){this._node=t,this._names=Zl(t.getAttribute("class")||"")}i(Kl,"ClassList");Kl.prototype={add:i(function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},"add"),remove:i(function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},"remove"),contains:i(function(t){return this._names.indexOf(t)>=0},"contains")};function Ql(t,e){for(var r=Wn(t),o=-1,n=e.length;++o<n;)r.add(e[o])}i(Ql,"classedAdd");function Jl(t,e){for(var r=Wn(t),o=-1,n=e.length;++o<n;)r.remove(e[o])}i(Jl,"classedRemove");function _m(t){return function(){Ql(this,t)}}i(_m,"classedTrue");function bm(t){return function(){Jl(this,t)}}i(bm,"classedFalse");function Tm(t,e){return function(){(e.apply(this,arguments)?Ql:Jl)(this,t)}}i(Tm,"classedFunction");function Hn(t,e){var r=Zl(t+"");if(arguments.length<2){for(var o=Wn(this.node()),n=-1,s=r.length;++n<s;)if(!o.contains(r[n]))return!1;return!0}return this.each((typeof e=="function"?Tm:e?_m:bm)(r,e))}i(Hn,"default");function km(){this.textContent=""}i(km,"textRemove");function Sm(t){return function(){this.textContent=t}}i(Sm,"textConstant");function vm(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}i(vm,"textFunction");function Un(t){return arguments.length?this.each(t==null?km:(typeof t=="function"?vm:Sm)(t)):this.node().textContent}i(Un,"default");function wm(){this.innerHTML=""}i(wm,"htmlRemove");function Bm(t){return function(){this.innerHTML=t}}i(Bm,"htmlConstant");function Fm(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}i(Fm,"htmlFunction");function Yn(t){return arguments.length?this.each(t==null?wm:(typeof t=="function"?Fm:Bm)(t)):this.node().innerHTML}i(Yn,"default");function Mm(){this.nextSibling&&this.parentNode.appendChild(this)}i(Mm,"raise");function Gn(){return this.each(Mm)}i(Gn,"default");function Lm(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}i(Lm,"lower");function Vn(){return this.each(Lm)}i(Vn,"default");function Am(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===$i&&e.documentElement.namespaceURI===$i?e.createElement(t):e.createElementNS(r,t)}}i(Am,"creatorInherit");function Em(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}i(Em,"creatorFixed");function Hr(t){var e=Kt(t);return(e.local?Em:Am)(e)}i(Hr,"default");function Xn(t){var e=typeof t=="function"?t:Hr(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}i(Xn,"default");function Dm(){return null}i(Dm,"constantNull");function jn(t,e){var r=typeof t=="function"?t:Hr(t),o=e==null?Dm:typeof e=="function"?e:Ce(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),o.apply(this,arguments)||null)})}i(jn,"default");function Om(){var t=this.parentNode;t&&t.removeChild(this)}i(Om,"remove");function Zn(){return this.each(Om)}i(Zn,"default");function Im(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}i(Im,"selection_cloneShallow");function Rm(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}i(Rm,"selection_cloneDeep");function Kn(t){return this.select(t?Rm:Im)}i(Kn,"default");function Qn(t){return arguments.length?this.property("__data__",t):this.node().__data__}i(Qn,"default");function Nm(t){return function(e){t.call(this,e,this.__data__)}}i(Nm,"contextListener");function qm(t){return t.trim().split(/^|\s+/).map(function(e){var r="",o=e.indexOf(".");return o>=0&&(r=e.slice(o+1),e=e.slice(0,o)),{type:e,name:r}})}i(qm,"parseTypenames");function zm(t){return function(){var e=this.__on;if(e){for(var r=0,o=-1,n=e.length,s;r<n;++r)s=e[r],(!t.type||s.type===t.type)&&s.name===t.name?this.removeEventListener(s.type,s.listener,s.options):e[++o]=s;++o?e.length=o:delete this.__on}}}i(zm,"onRemove");function Pm(t,e,r){return function(){var o=this.__on,n,s=Nm(e);if(o){for(var a=0,l=o.length;a<l;++a)if((n=o[a]).type===t.type&&n.name===t.name){this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=s,n.options=r),n.value=e;return}}this.addEventListener(t.type,s,r),n={type:t.type,name:t.name,value:e,listener:s,options:r},o?o.push(n):this.__on=[n]}}i(Pm,"onAdd");function Jn(t,e,r){var o=qm(t+""),n,s=o.length,a;if(arguments.length<2){var l=this.node().__on;if(l){for(var c=0,h=l.length,u;c<h;++c)for(n=0,u=l[c];n<s;++n)if((a=o[n]).type===u.type&&a.name===u.name)return u.value}return}for(l=e?Pm:zm,n=0;n<s;++n)this.each(l(o[n],e,r));return this}i(Jn,"default");function th(t,e,r){var o=Wr(t),n=o.CustomEvent;typeof n=="function"?n=new n(e,r):(n=o.document.createEvent("Event"),r?(n.initEvent(e,r.bubbles,r.cancelable),n.detail=r.detail):n.initEvent(e,!1,!1)),t.dispatchEvent(n)}i(th,"dispatchEvent");function $m(t,e){return function(){return th(this,t,e)}}i($m,"dispatchConstant");function Wm(t,e){return function(){return th(this,t,e.apply(this,arguments))}}i(Wm,"dispatchFunction");function ts(t,e){return this.each((typeof e=="function"?Wm:$m)(t,e))}i(ts,"default");function*es(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var o=t[e],n=0,s=o.length,a;n<s;++n)(a=o[n])&&(yield a)}i(es,"default");var rs=[null];function ht(t,e){this._groups=t,this._parents=e}i(ht,"Selection");function eh(){return new ht([[document.documentElement]],rs)}i(eh,"selection");function Hm(){return this}i(Hm,"selection_selection");ht.prototype=eh.prototype={constructor:ht,select:yn,selectAll:_n,selectChild:bn,selectChildren:Tn,filter:kn,data:wn,enter:Sn,exit:Bn,join:Fn,merge:Mn,selection:Hm,order:Ln,sort:An,call:En,nodes:Dn,node:On,size:In,empty:Rn,each:Nn,attr:zn,style:Pn,property:$n,classed:Hn,text:Un,html:Yn,raise:Gn,lower:Vn,append:Xn,insert:jn,remove:Zn,clone:Kn,datum:Qn,on:Jn,dispatch:ts,[Symbol.iterator]:es};var le=eh;function rh(t){return typeof t=="string"?new ht([[document.querySelector(t)]],[document.documentElement]):new ht([[t]],rs)}i(rh,"default");function be(t,e,r){t.prototype=e.prototype=r,r.constructor=t}i(be,"default");function sr(t,e){var r=Object.create(t.prototype);for(var o in e)r[o]=e[o];return r}i(sr,"extend");function Te(){}i(Te,"Color");var Ur=.7,Ui=1/Ur,ar="\\s*([+-]?\\d+)\\s*",Yr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Qt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Um=/^#([0-9a-f]{3,8})$/,Ym=new RegExp(`^rgb\\(${ar},${ar},${ar}\\)$`),Gm=new RegExp(`^rgb\\(${Qt},${Qt},${Qt}\\)$`),Vm=new RegExp(`^rgba\\(${ar},${ar},${ar},${Yr}\\)$`),Xm=new RegExp(`^rgba\\(${Qt},${Qt},${Qt},${Yr}\\)$`),jm=new RegExp(`^hsl\\(${Yr},${Qt},${Qt}\\)$`),Zm=new RegExp(`^hsla\\(${Yr},${Qt},${Qt},${Yr}\\)$`),ih={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};be(Te,Yt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:oh,formatHex:oh,formatHex8:Km,formatHsl:Qm,formatRgb:nh,toString:nh});function oh(){return this.rgb().formatHex()}i(oh,"color_formatHex");function Km(){return this.rgb().formatHex8()}i(Km,"color_formatHex8");function Qm(){return uh(this).formatHsl()}i(Qm,"color_formatHsl");function nh(){return this.rgb().formatRgb()}i(nh,"color_formatRgb");function Yt(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=Um.exec(t))?(r=e[1].length,e=parseInt(e[1],16),r===6?sh(e):r===3?new St(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?Wi(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?Wi(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Ym.exec(t))?new St(e[1],e[2],e[3],1):(e=Gm.exec(t))?new St(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Vm.exec(t))?Wi(e[1],e[2],e[3],e[4]):(e=Xm.exec(t))?Wi(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=jm.exec(t))?hh(e[1],e[2]/100,e[3]/100,1):(e=Zm.exec(t))?hh(e[1],e[2]/100,e[3]/100,e[4]):ih.hasOwnProperty(t)?sh(ih[t]):t==="transparent"?new St(NaN,NaN,NaN,0):null}i(Yt,"color");function sh(t){return new St(t>>16&255,t>>8&255,t&255,1)}i(sh,"rgbn");function Wi(t,e,r,o){return o<=0&&(t=e=r=NaN),new St(t,e,r,o)}i(Wi,"rgba");function os(t){return t instanceof Te||(t=Yt(t)),t?(t=t.rgb(),new St(t.r,t.g,t.b,t.opacity)):new St}i(os,"rgbConvert");function lr(t,e,r,o){return arguments.length===1?os(t):new St(t,e,r,o??1)}i(lr,"rgb");function St(t,e,r,o){this.r=+t,this.g=+e,this.b=+r,this.opacity=+o}i(St,"Rgb");be(St,lr,sr(Te,{brighter(t){return t=t==null?Ui:Math.pow(Ui,t),new St(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Ur:Math.pow(Ur,t),new St(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new St(Ne(this.r),Ne(this.g),Ne(this.b),Yi(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ah,formatHex:ah,formatHex8:Jm,formatRgb:lh,toString:lh}));function ah(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}`}i(ah,"rgb_formatHex");function Jm(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}${Re((isNaN(this.opacity)?1:this.opacity)*255)}`}i(Jm,"rgb_formatHex8");function lh(){let t=Yi(this.opacity);return`${t===1?"rgb(":"rgba("}${Ne(this.r)}, ${Ne(this.g)}, ${Ne(this.b)}${t===1?")":`, ${t})`}`}i(lh,"rgb_formatRgb");function Yi(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}i(Yi,"clampa");function Ne(t){return Math.max(0,Math.min(255,Math.round(t)||0))}i(Ne,"clampi");function Re(t){return t=Ne(t),(t<16?"0":"")+t.toString(16)}i(Re,"hex");function hh(t,e,r,o){return o<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Ut(t,e,r,o)}i(hh,"hsla");function uh(t){if(t instanceof Ut)return new Ut(t.h,t.s,t.l,t.opacity);if(t instanceof Te||(t=Yt(t)),!t)return new Ut;if(t instanceof Ut)return t;t=t.rgb();var e=t.r/255,r=t.g/255,o=t.b/255,n=Math.min(e,r,o),s=Math.max(e,r,o),a=NaN,l=s-n,c=(s+n)/2;return l?(e===s?a=(r-o)/l+(r<o)*6:r===s?a=(o-e)/l+2:a=(e-r)/l+4,l/=c<.5?s+n:2-s-n,a*=60):l=c>0&&c<1?0:a,new Ut(a,l,c,t.opacity)}i(uh,"hslConvert");function fh(t,e,r,o){return arguments.length===1?uh(t):new Ut(t,e,r,o??1)}i(fh,"hsl");function Ut(t,e,r,o){this.h=+t,this.s=+e,this.l=+r,this.opacity=+o}i(Ut,"Hsl");be(Ut,fh,sr(Te,{brighter(t){return t=t==null?Ui:Math.pow(Ui,t),new Ut(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Ur:Math.pow(Ur,t),new Ut(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,o=r+(r<.5?r:1-r)*e,n=2*r-o;return new St(is(t>=240?t-240:t+120,n,o),is(t,n,o),is(t<120?t+240:t-120,n,o),this.opacity)},clamp(){return new Ut(ch(this.h),Hi(this.s),Hi(this.l),Yi(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=Yi(this.opacity);return`${t===1?"hsl(":"hsla("}${ch(this.h)}, ${Hi(this.s)*100}%, ${Hi(this.l)*100}%${t===1?")":`, ${t})`}`}}));function ch(t){return t=(t||0)%360,t<0?t+360:t}i(ch,"clamph");function Hi(t){return Math.max(0,Math.min(1,t||0))}i(Hi,"clampt");function is(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}i(is,"hsl2rgb");var mh=Math.PI/180,ph=180/Math.PI;var Gi=18,dh=.96422,gh=1,xh=.82521,yh=4/29,hr=6/29,Ch=3*hr*hr,tp=hr*hr*hr;function _h(t){if(t instanceof Jt)return new Jt(t.l,t.a,t.b,t.opacity);if(t instanceof he)return bh(t);t instanceof St||(t=os(t));var e=ls(t.r),r=ls(t.g),o=ls(t.b),n=ns((.2225045*e+.7168786*r+.0606169*o)/gh),s,a;return e===r&&r===o?s=a=n:(s=ns((.4360747*e+.3850649*r+.1430804*o)/dh),a=ns((.0139322*e+.0971045*r+.7141733*o)/xh)),new Jt(116*n-16,500*(s-n),200*(n-a),t.opacity)}i(_h,"labConvert");function hs(t,e,r,o){return arguments.length===1?_h(t):new Jt(t,e,r,o??1)}i(hs,"lab");function Jt(t,e,r,o){this.l=+t,this.a=+e,this.b=+r,this.opacity=+o}i(Jt,"Lab");be(Jt,hs,sr(Te,{brighter(t){return new Jt(this.l+Gi*(t??1),this.a,this.b,this.opacity)},darker(t){return new Jt(this.l-Gi*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=dh*ss(e),t=gh*ss(t),r=xh*ss(r),new St(as(3.1338561*e-1.6168667*t-.4906146*r),as(-.9787684*e+1.9161415*t+.033454*r),as(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));function ns(t){return t>tp?Math.pow(t,1/3):t/Ch+yh}i(ns,"xyz2lab");function ss(t){return t>hr?t*t*t:Ch*(t-yh)}i(ss,"lab2xyz");function as(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}i(as,"lrgb2rgb");function ls(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}i(ls,"rgb2lrgb");function ep(t){if(t instanceof he)return new he(t.h,t.c,t.l,t.opacity);if(t instanceof Jt||(t=_h(t)),t.a===0&&t.b===0)return new he(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ph;return new he(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}i(ep,"hclConvert");function Gr(t,e,r,o){return arguments.length===1?ep(t):new he(t,e,r,o??1)}i(Gr,"hcl");function he(t,e,r,o){this.h=+t,this.c=+e,this.l=+r,this.opacity=+o}i(he,"Hcl");function bh(t){if(isNaN(t.h))return new Jt(t.l,0,0,t.opacity);var e=t.h*mh;return new Jt(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}i(bh,"hcl2lab");be(he,Gr,sr(Te,{brighter(t){return new he(this.h,this.c,this.l+Gi*(t??1),this.opacity)},darker(t){return new he(this.h,this.c,this.l-Gi*(t??1),this.opacity)},rgb(){return bh(this).rgb()}}));var cr=i(t=>()=>t,"default");function Th(t,e){return function(r){return t+r*e}}i(Th,"linear");function rp(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(o){return Math.pow(t+o*e,r)}}i(rp,"exponential");function kh(t,e){var r=e-t;return r?Th(t,r>180||r<-180?r-360*Math.round(r/360):r):cr(isNaN(t)?e:t)}i(kh,"hue");function Sh(t){return(t=+t)==1?ce:function(e,r){return r-e?rp(e,r,t):cr(isNaN(e)?r:e)}}i(Sh,"gamma");function ce(t,e){var r=e-t;return r?Th(t,r):cr(isNaN(t)?e:t)}i(ce,"nogamma");function vh(t){return function(e,r){var o=t((e=Gr(e)).h,(r=Gr(r)).h),n=ce(e.c,r.c),s=ce(e.l,r.l),a=ce(e.opacity,r.opacity);return function(l){return e.h=o(l),e.c=n(l),e.l=s(l),e.opacity=a(l),e+""}}}i(vh,"hcl");var ip=vh(kh),op=vh(ce);function cs(t,e,r,o,n){var s=t*t,a=s*t;return((1-3*t+3*s-a)*e+(4-6*s+3*a)*r+(1+3*t+3*s-3*a)*o+a*n)/6}i(cs,"basis");function us(t){var e=t.length-1;return function(r){var o=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),n=t[o],s=t[o+1],a=o>0?t[o-1]:2*n-s,l=o<e-1?t[o+2]:2*s-n;return cs((r-o/e)*e,a,n,s,l)}}i(us,"default");function fs(t){var e=t.length;return function(r){var o=Math.floor(((r%=1)<0?++r:r)*e),n=t[(o+e-1)%e],s=t[o%e],a=t[(o+1)%e],l=t[(o+2)%e];return cs((r-o/e)*e,n,s,a,l)}}i(fs,"default");var qe=i(function t(e){var r=Sh(e);function o(n,s){var a=r((n=lr(n)).r,(s=lr(s)).r),l=r(n.g,s.g),c=r(n.b,s.b),h=ce(n.opacity,s.opacity);return function(u){return n.r=a(u),n.g=l(u),n.b=c(u),n.opacity=h(u),n+""}}return i(o,"rgb"),o.gamma=t,o},"rgbGamma")(1);function wh(t){return function(e){var r=e.length,o=new Array(r),n=new Array(r),s=new Array(r),a,l;for(a=0;a<r;++a)l=lr(e[a]),o[a]=l.r||0,n[a]=l.g||0,s[a]=l.b||0;return o=t(o),n=t(n),s=t(s),l.opacity=1,function(c){return l.r=o(c),l.g=n(c),l.b=s(c),l+""}}}i(wh,"rgbSpline");var np=wh(us),sp=wh(fs);function ms(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,o=e.slice(),n;return function(s){for(n=0;n<r;++n)o[n]=t[n]*(1-s)+e[n]*s;return o}}i(ms,"default");function Bh(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}i(Bh,"isNumberArray");function Fh(t,e){var r=e?e.length:0,o=t?Math.min(r,t.length):0,n=new Array(o),s=new Array(r),a;for(a=0;a<o;++a)n[a]=ke(t[a],e[a]);for(;a<r;++a)s[a]=e[a];return function(l){for(a=0;a<o;++a)s[a]=n[a](l);return s}}i(Fh,"genericArray");function ps(t,e){var r=new Date;return t=+t,e=+e,function(o){return r.setTime(t*(1-o)+e*o),r}}i(ps,"default");function gt(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}i(gt,"default");function ds(t,e){var r={},o={},n;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(n in e)n in t?r[n]=ke(t[n],e[n]):o[n]=e[n];return function(s){for(n in r)o[n]=r[n](s);return o}}i(ds,"default");var xs=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,gs=new RegExp(xs.source,"g");function ap(t){return function(){return t}}i(ap,"zero");function lp(t){return function(e){return t(e)+""}}i(lp,"one");function ur(t,e){var r=xs.lastIndex=gs.lastIndex=0,o,n,s,a=-1,l=[],c=[];for(t=t+"",e=e+"";(o=xs.exec(t))&&(n=gs.exec(e));)(s=n.index)>r&&(s=e.slice(r,s),l[a]?l[a]+=s:l[++a]=s),(o=o[0])===(n=n[0])?l[a]?l[a]+=n:l[++a]=n:(l[++a]=null,c.push({i:a,x:gt(o,n)})),r=gs.lastIndex;return r<e.length&&(s=e.slice(r),l[a]?l[a]+=s:l[++a]=s),l.length<2?c[0]?lp(c[0].x):ap(e):(e=c.length,function(h){for(var u=0,d;u<e;++u)l[(d=c[u]).i]=d.x(h);return l.join("")})}i(ur,"default");function ke(t,e){var r=typeof e,o;return e==null||r==="boolean"?cr(e):(r==="number"?gt:r==="string"?(o=Yt(e))?(e=o,qe):ur:e instanceof Yt?qe:e instanceof Date?ps:Bh(e)?ms:Array.isArray(e)?Fh:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?ds:gt)(t,e)}i(ke,"default");function Vi(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}i(Vi,"default");var Mh=180/Math.PI,Xi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ji(t,e,r,o,n,s){var a,l,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*r+e*o)&&(r-=t*c,o-=e*c),(l=Math.sqrt(r*r+o*o))&&(r/=l,o/=l,c/=l),t*o<e*r&&(t=-t,e=-e,c=-c,a=-a),{translateX:n,translateY:s,rotate:Math.atan2(e,t)*Mh,skewX:Math.atan(c)*Mh,scaleX:a,scaleY:l}}i(ji,"default");var Zi;function Lh(t){let e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Xi:ji(e.a,e.b,e.c,e.d,e.e,e.f)}i(Lh,"parseCss");function Ah(t){return t==null?Xi:(Zi||(Zi=document.createElementNS("http://www.w3.org/2000/svg","g")),Zi.setAttribute("transform",t),(t=Zi.transform.baseVal.consolidate())?(t=t.matrix,ji(t.a,t.b,t.c,t.d,t.e,t.f)):Xi)}i(Ah,"parseSvg");function Eh(t,e,r,o){function n(h){return h.length?h.pop()+" ":""}i(n,"pop");function s(h,u,d,f,g,T){if(h!==d||u!==f){var L=g.push("translate(",null,e,null,r);T.push({i:L-4,x:gt(h,d)},{i:L-2,x:gt(u,f)})}else(d||f)&&g.push("translate("+d+e+f+r)}i(s,"translate");function a(h,u,d,f){h!==u?(h-u>180?u+=360:u-h>180&&(h+=360),f.push({i:d.push(n(d)+"rotate(",null,o)-2,x:gt(h,u)})):u&&d.push(n(d)+"rotate("+u+o)}i(a,"rotate");function l(h,u,d,f){h!==u?f.push({i:d.push(n(d)+"skewX(",null,o)-2,x:gt(h,u)}):u&&d.push(n(d)+"skewX("+u+o)}i(l,"skewX");function c(h,u,d,f,g,T){if(h!==d||u!==f){var L=g.push(n(g)+"scale(",null,",",null,")");T.push({i:L-4,x:gt(h,d)},{i:L-2,x:gt(u,f)})}else(d!==1||f!==1)&&g.push(n(g)+"scale("+d+","+f+")")}return i(c,"scale"),function(h,u){var d=[],f=[];return h=t(h),u=t(u),s(h.translateX,h.translateY,u.translateX,u.translateY,d,f),a(h.rotate,u.rotate,d,f),l(h.skewX,u.skewX,d,f),c(h.scaleX,h.scaleY,u.scaleX,u.scaleY,d,f),h=u=null,function(g){for(var T=-1,L=f.length,$;++T<L;)d[($=f[T]).i]=$.x(g);return d.join("")}}}i(Eh,"interpolateTransform");var ys=Eh(Lh,"px, ","px)","deg)"),Cs=Eh(Ah,", ",")",")");function Se(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}i(Se,"initRange");var _s=Symbol("implicit");function Vr(){var t=new rr,e=[],r=[],o=_s;function n(s){let a=t.get(s);if(a===void 0){if(o!==_s)return o;t.set(s,a=e.push(s)-1)}return r[a%r.length]}return i(n,"scale"),n.domain=function(s){if(!arguments.length)return e.slice();e=[],t=new rr;for(let a of s)t.has(a)||t.set(a,e.push(a)-1);return n},n.range=function(s){return arguments.length?(r=Array.from(s),n):r.slice()},n.unknown=function(s){return arguments.length?(o=s,n):o},n.copy=function(){return Vr(e,r).unknown(o)},Se.apply(n,arguments),n}i(Vr,"ordinal");function bs(t){return function(){return t}}i(bs,"constants");function Ts(t){return+t}i(Ts,"number");var Dh=[0,1];function fr(t){return t}i(fr,"identity");function ks(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:bs(isNaN(e)?NaN:.5)}i(ks,"normalize");function hp(t,e){var r;return t>e&&(r=t,t=e,e=r),function(o){return Math.max(t,Math.min(e,o))}}i(hp,"clamper");function cp(t,e,r){var o=t[0],n=t[1],s=e[0],a=e[1];return n<o?(o=ks(n,o),s=r(a,s)):(o=ks(o,n),s=r(s,a)),function(l){return s(o(l))}}i(cp,"bimap");function up(t,e,r){var o=Math.min(t.length,e.length)-1,n=new Array(o),s=new Array(o),a=-1;for(t[o]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<o;)n[a]=ks(t[a],t[a+1]),s[a]=r(e[a],e[a+1]);return function(l){var c=pn(t,l,1,o)-1;return s[c](n[c](l))}}i(up,"polymap");function Ki(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}i(Ki,"copy");function fp(){var t=Dh,e=Dh,r=ke,o,n,s,a=fr,l,c,h;function u(){var f=Math.min(t.length,e.length);return a!==fr&&(a=hp(t[0],t[f-1])),l=f>2?up:cp,c=h=null,d}i(u,"rescale");function d(f){return f==null||isNaN(f=+f)?s:(c||(c=l(t.map(o),e,r)))(o(a(f)))}return i(d,"scale"),d.invert=function(f){return a(n((h||(h=l(e,t.map(o),gt)))(f)))},d.domain=function(f){return arguments.length?(t=Array.from(f,Ts),u()):t.slice()},d.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},d.rangeRound=function(f){return e=Array.from(f),r=Vi,u()},d.clamp=function(f){return arguments.length?(a=f?!0:fr,u()):a!==fr},d.interpolate=function(f){return arguments.length?(r=f,u()):r},d.unknown=function(f){return arguments.length?(s=f,d):s},function(f,g){return o=f,n=g,u()}}i(fp,"transformer");function Xr(){return fp()(fr,fr)}i(Xr,"continuous");function Ss(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}i(Ss,"default");function ze(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,o=t.slice(0,r);return[o.length>1?o[0]+o.slice(2):o,+t.slice(r+1)]}i(ze,"formatDecimalParts");function Gt(t){return t=ze(Math.abs(t)),t?t[1]:NaN}i(Gt,"default");function vs(t,e){return function(r,o){for(var n=r.length,s=[],a=0,l=t[0],c=0;n>0&&l>0&&(c+l+1>o&&(l=Math.max(1,o-c)),s.push(r.substring(n-=l,n+l)),!((c+=l+1)>o));)l=t[a=(a+1)%t.length];return s.reverse().join(e)}}i(vs,"default");function ws(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}i(ws,"default");var mp=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ve(t){if(!(e=mp.exec(t)))throw new Error("invalid format: "+t);var e;return new Qi({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}i(ve,"formatSpecifier");ve.prototype=Qi.prototype;function Qi(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}i(Qi,"FormatSpecifier");Qi.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Bs(t){t:for(var e=t.length,r=1,o=-1,n;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":o===0&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0);break}return o>0?t.slice(0,o)+t.slice(n+1):t}i(Bs,"default");var Fs;function Ms(t,e){var r=ze(t,e);if(!r)return t+"";var o=r[0],n=r[1],s=n-(Fs=Math.max(-8,Math.min(8,Math.floor(n/3)))*3)+1,a=o.length;return s===a?o:s>a?o+new Array(s-a+1).join("0"):s>0?o.slice(0,s)+"."+o.slice(s):"0."+new Array(1-s).join("0")+ze(t,Math.max(0,e+s-1))[0]}i(Ms,"default");function Ji(t,e){var r=ze(t,e);if(!r)return t+"";var o=r[0],n=r[1];return n<0?"0."+new Array(-n).join("0")+o:o.length>n+1?o.slice(0,n+1)+"."+o.slice(n+1):o+new Array(n-o.length+2).join("0")}i(Ji,"default");var Ls={"%":i((t,e)=>(t*100).toFixed(e),"%"),b:i(t=>Math.round(t).toString(2),"b"),c:i(t=>t+"","c"),d:Ss,e:i((t,e)=>t.toExponential(e),"e"),f:i((t,e)=>t.toFixed(e),"f"),g:i((t,e)=>t.toPrecision(e),"g"),o:i(t=>Math.round(t).toString(8),"o"),p:i((t,e)=>Ji(t*100,e),"p"),r:Ji,s:Ms,X:i(t=>Math.round(t).toString(16).toUpperCase(),"X"),x:i(t=>Math.round(t).toString(16),"x")};function to(t){return t}i(to,"default");var Oh=Array.prototype.map,Ih=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function As(t){var e=t.grouping===void 0||t.thousands===void 0?to:vs(Oh.call(t.grouping,Number),t.thousands+""),r=t.currency===void 0?"":t.currency[0]+"",o=t.currency===void 0?"":t.currency[1]+"",n=t.decimal===void 0?".":t.decimal+"",s=t.numerals===void 0?to:ws(Oh.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",l=t.minus===void 0?"\u2212":t.minus+"",c=t.nan===void 0?"NaN":t.nan+"";function h(d){d=ve(d);var f=d.fill,g=d.align,T=d.sign,L=d.symbol,$=d.zero,z=d.width,G=d.comma,E=d.precision,B=d.trim,P=d.type;P==="n"?(G=!0,P="g"):Ls[P]||(E===void 0&&(E=12),B=!0,P="g"),($||f==="0"&&g==="=")&&($=!0,f="0",g="=");var w=L==="$"?r:L==="#"&&/[boxX]/.test(P)?"0"+P.toLowerCase():"",X=L==="$"?o:/[%p]/.test(P)?a:"",j=Ls[P],W=/[defgprs%]/.test(P);E=E===void 0?6:/[gprs]/.test(P)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E));function it(M){var k=w,x=X,y,F,S;if(P==="c")x=j(M)+x,M="";else{M=+M;var N=M<0||1/M<0;if(M=isNaN(M)?c:j(Math.abs(M),E),B&&(M=Bs(M)),N&&+M==0&&T!=="+"&&(N=!1),k=(N?T==="("?T:l:T==="-"||T==="("?"":T)+k,x=(P==="s"?Ih[8+Fs/3]:"")+x+(N&&T==="("?")":""),W){for(y=-1,F=M.length;++y<F;)if(S=M.charCodeAt(y),48>S||S>57){x=(S===46?n+M.slice(y+1):M.slice(y))+x,M=M.slice(0,y);break}}}G&&!$&&(M=e(M,1/0));var O=k.length+M.length+x.length,U=O<z?new Array(z-O+1).join(f):"";switch(G&&$&&(M=e(U+M,U.length?z-x.length:1/0),U=""),g){case"<":M=k+M+x+U;break;case"=":M=k+U+M+x;break;case"^":M=U.slice(0,O=U.length>>1)+k+M+x+U.slice(O);break;default:M=U+k+M+x;break}return s(M)}return i(it,"format"),it.toString=function(){return d+""},it}i(h,"newFormat");function u(d,f){var g=h((d=ve(d),d.type="f",d)),T=Math.max(-8,Math.min(8,Math.floor(Gt(f)/3)))*3,L=Math.pow(10,-T),$=Ih[8+T/3];return function(z){return g(L*z)+$}}return i(u,"formatPrefix"),{format:h,formatPrefix:u}}i(As,"default");var eo,ro,io;Es({thousands:",",grouping:[3],currency:["$",""]});function Es(t){return eo=As(t),ro=eo.format,io=eo.formatPrefix,eo}i(Es,"defaultLocale");function oo(t){return Math.max(0,-Gt(Math.abs(t)))}i(oo,"default");function no(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Gt(e)/3)))*3-Gt(Math.abs(t)))}i(no,"default");function so(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Gt(e)-Gt(t))+1}i(so,"default");function Ds(t,e,r,o){var n=ir(t,e,r),s;switch(o=ve(o??",f"),o.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(e));return o.precision==null&&!isNaN(s=no(n,a))&&(o.precision=s),io(o,a)}case"":case"e":case"g":case"p":case"r":{o.precision==null&&!isNaN(s=so(n,Math.max(Math.abs(t),Math.abs(e))))&&(o.precision=s-(o.type==="e"));break}case"f":case"%":{o.precision==null&&!isNaN(s=oo(n))&&(o.precision=s-(o.type==="%")*2);break}}return ro(o)}i(Ds,"tickFormat");function pp(t){var e=t.domain;return t.ticks=function(r){var o=e();return Ri(o[0],o[o.length-1],r??10)},t.tickFormat=function(r,o){var n=e();return Ds(n[0],n[n.length-1],r??10,o)},t.nice=function(r){r==null&&(r=10);var o=e(),n=0,s=o.length-1,a=o[n],l=o[s],c,h,u=10;for(l<a&&(h=a,a=l,l=h,h=n,n=s,s=h);u-- >0;){if(h=zr(a,l,r),h===c)return o[n]=a,o[s]=l,e(o);if(h>0)a=Math.floor(a/h)*h,l=Math.ceil(l/h)*h;else if(h<0)a=Math.ceil(a*h)/h,l=Math.floor(l*h)/h;else break;c=h}return t},t}i(pp,"linearish");function Os(){var t=Xr();return t.copy=function(){return Ki(t,Os())},Se.apply(t,arguments),pp(t)}i(Os,"linear");var Is=new Date,Rs=new Date;function ot(t,e,r,o){function n(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return i(n,"interval"),n.floor=s=>(t(s=new Date(+s)),s),n.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),n.round=s=>{let a=n(s),l=n.ceil(s);return s-a<l-s?a:l},n.offset=(s,a)=>(e(s=new Date(+s),a==null?1:Math.floor(a)),s),n.range=(s,a,l)=>{let c=[];if(s=n.ceil(s),l=l==null?1:Math.floor(l),!(s<a)||!(l>0))return c;let h;do c.push(h=new Date(+s)),e(s,l),t(s);while(h<s&&s<a);return c},n.filter=s=>ot(a=>{if(a>=a)for(;t(a),!s(a);)a.setTime(a-1)},(a,l)=>{if(a>=a)if(l<0)for(;++l<=0;)for(;e(a,-1),!s(a););else for(;--l>=0;)for(;e(a,1),!s(a););}),r&&(n.count=(s,a)=>(Is.setTime(+s),Rs.setTime(+a),t(Is),t(Rs),Math.floor(r(Is,Rs))),n.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?n.filter(o?a=>o(a)%s===0:a=>n.count(0,a)%s===0):n)),n}i(ot,"timeInterval");var Pe=ot(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Pe.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?ot(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):Pe);var Rh=Pe.range;var te=ot(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*1e3)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds()),Nh=te.range;var mr=ot(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getMinutes()),dp=mr.range,ao=ot(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes()),gp=ao.range;var pr=ot(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3-t.getMinutes()*6e4)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getHours()),xp=pr.range,lo=ot(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours()),yp=lo.range;var ue=ot(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1),Cp=ue.range,Zr=ot(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1),_p=Zr.range,ho=ot(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5)),bp=ho.range;function He(t){return ot(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,r)=>{e.setDate(e.getDate()+r*7)},(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5)}i(He,"timeWeekday");var fe=He(0),dr=He(1),zh=He(2),Ph=He(3),we=He(4),$h=He(5),Wh=He(6),Hh=fe.range,Tp=dr.range,kp=zh.range,Sp=Ph.range,vp=we.range,wp=$h.range,Bp=Wh.range;function Ue(t){return ot(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r*7)},(e,r)=>(r-e)/6048e5)}i(Ue,"utcWeekday");var Ye=Ue(0),gr=Ue(1),Uh=Ue(2),Yh=Ue(3),Be=Ue(4),Gh=Ue(5),Vh=Ue(6),Xh=Ye.range,Fp=gr.range,Mp=Uh.range,Lp=Yh.range,Ap=Be.range,Ep=Gh.range,Dp=Vh.range;var xr=ot(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth()),Op=xr.range,co=ot(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth()),Ip=co.range;var qt=ot(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());qt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:ot(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)});var Rp=qt.range,Vt=ot(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());Vt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:ot(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)});var Np=Vt.range;function Zh(t,e,r,o,n,s){let a=[[te,1,1e3],[te,5,5*1e3],[te,15,15*1e3],[te,30,30*1e3],[s,1,6e4],[s,5,5*6e4],[s,15,15*6e4],[s,30,30*6e4],[n,1,36e5],[n,3,3*36e5],[n,6,6*36e5],[n,12,12*36e5],[o,1,864e5],[o,2,2*864e5],[r,1,6048e5],[e,1,2592e6],[e,3,3*2592e6],[t,1,31536e6]];function l(h,u,d){let f=u<h;f&&([h,u]=[u,h]);let g=d&&typeof d.range=="function"?d:c(h,u,d),T=g?g.range(h,+u+1):[];return f?T.reverse():T}i(l,"ticks");function c(h,u,d){let f=Math.abs(u-h)/d,g=Ie(([,,$])=>$).right(a,f);if(g===a.length)return t.every(ir(h/31536e6,u/31536e6,d));if(g===0)return Pe.every(Math.max(ir(h,u,d),1));let[T,L]=a[f/a[g-1][2]<a[g][2]/f?g-1:g];return T.every(L)}return i(c,"tickInterval"),[l,c]}i(Zh,"ticker");var[zp,Pp]=Zh(Vt,co,Ye,ho,lo,ao),[Ns,qs]=Zh(qt,xr,fe,ue,pr,mr);function zs(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}i(zs,"localDate");function Ps(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}i(Ps,"utcDate");function Kr(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}i(Kr,"newDate");function $s(t){var e=t.dateTime,r=t.date,o=t.time,n=t.periods,s=t.days,a=t.shortDays,l=t.months,c=t.shortMonths,h=Qr(n),u=Jr(n),d=Qr(s),f=Jr(s),g=Qr(a),T=Jr(a),L=Qr(l),$=Jr(l),z=Qr(c),G=Jr(c),E={a:N,A:O,b:U,B:rt,c:null,d:rc,e:rc,f:hd,g:Cd,G:bd,H:sd,I:ad,j:ld,L:ac,m:cd,M:ud,p:Y,q:nt,Q:nc,s:sc,S:fd,u:md,U:pd,V:dd,w:gd,W:xd,x:null,X:null,y:yd,Y:_d,Z:Td,"%":oc},B={a:K,A:Ft,b:Z,B:Ct,c:null,d:ic,e:ic,f:wd,g:Rd,G:qd,H:kd,I:Sd,j:vd,L:hc,m:Bd,M:Fd,p:_t,q:lt,Q:nc,s:sc,S:Md,u:Ld,U:Ad,V:Ed,w:Dd,W:Od,x:null,X:null,y:Id,Y:Nd,Z:zd,"%":oc},P={a:it,A:M,b:k,B:x,c:y,d:tc,e:tc,f:rd,g:Jh,G:Qh,H:ec,I:ec,j:Qp,L:ed,m:Kp,M:Jp,p:W,q:Zp,Q:od,s:nd,S:td,u:Yp,U:Gp,V:Vp,w:Up,W:Xp,x:F,X:S,y:Jh,Y:Qh,Z:jp,"%":id};E.x=w(r,E),E.X=w(o,E),E.c=w(e,E),B.x=w(r,B),B.X=w(o,B),B.c=w(e,B);function w(v,H){return function(V){var C=[],pt=-1,J=0,bt=v.length,Tt,Ot,Le;for(V instanceof Date||(V=new Date(+V));++pt<bt;)v.charCodeAt(pt)===37&&(C.push(v.slice(J,pt)),(Ot=Kh[Tt=v.charAt(++pt)])!=null?Tt=v.charAt(++pt):Ot=Tt==="e"?" ":"0",(Le=H[Tt])&&(Tt=Le(V,Ot)),C.push(Tt),J=pt+1);return C.push(v.slice(J,pt)),C.join("")}}i(w,"newFormat");function X(v,H){return function(V){var C=Kr(1900,void 0,1),pt=j(C,v,V+="",0),J,bt;if(pt!=V.length)return null;if("Q"in C)return new Date(C.Q);if("s"in C)return new Date(C.s*1e3+("L"in C?C.L:0));if(H&&!("Z"in C)&&(C.Z=0),"p"in C&&(C.H=C.H%12+C.p*12),C.m===void 0&&(C.m="q"in C?C.q:0),"V"in C){if(C.V<1||C.V>53)return null;"w"in C||(C.w=1),"Z"in C?(J=Ps(Kr(C.y,0,1)),bt=J.getUTCDay(),J=bt>4||bt===0?gr.ceil(J):gr(J),J=Zr.offset(J,(C.V-1)*7),C.y=J.getUTCFullYear(),C.m=J.getUTCMonth(),C.d=J.getUTCDate()+(C.w+6)%7):(J=zs(Kr(C.y,0,1)),bt=J.getDay(),J=bt>4||bt===0?dr.ceil(J):dr(J),J=ue.offset(J,(C.V-1)*7),C.y=J.getFullYear(),C.m=J.getMonth(),C.d=J.getDate()+(C.w+6)%7)}else("W"in C||"U"in C)&&("w"in C||(C.w="u"in C?C.u%7:"W"in C?1:0),bt="Z"in C?Ps(Kr(C.y,0,1)).getUTCDay():zs(Kr(C.y,0,1)).getDay(),C.m=0,C.d="W"in C?(C.w+6)%7+C.W*7-(bt+5)%7:C.w+C.U*7-(bt+6)%7);return"Z"in C?(C.H+=C.Z/100|0,C.M+=C.Z%100,Ps(C)):zs(C)}}i(X,"newParse");function j(v,H,V,C){for(var pt=0,J=H.length,bt=V.length,Tt,Ot;pt<J;){if(C>=bt)return-1;if(Tt=H.charCodeAt(pt++),Tt===37){if(Tt=H.charAt(pt++),Ot=P[Tt in Kh?H.charAt(pt++):Tt],!Ot||(C=Ot(v,V,C))<0)return-1}else if(Tt!=V.charCodeAt(C++))return-1}return C}i(j,"parseSpecifier");function W(v,H,V){var C=h.exec(H.slice(V));return C?(v.p=u.get(C[0].toLowerCase()),V+C[0].length):-1}i(W,"parsePeriod");function it(v,H,V){var C=g.exec(H.slice(V));return C?(v.w=T.get(C[0].toLowerCase()),V+C[0].length):-1}i(it,"parseShortWeekday");function M(v,H,V){var C=d.exec(H.slice(V));return C?(v.w=f.get(C[0].toLowerCase()),V+C[0].length):-1}i(M,"parseWeekday");function k(v,H,V){var C=z.exec(H.slice(V));return C?(v.m=G.get(C[0].toLowerCase()),V+C[0].length):-1}i(k,"parseShortMonth");function x(v,H,V){var C=L.exec(H.slice(V));return C?(v.m=$.get(C[0].toLowerCase()),V+C[0].length):-1}i(x,"parseMonth");function y(v,H,V){return j(v,e,H,V)}i(y,"parseLocaleDateTime");function F(v,H,V){return j(v,r,H,V)}i(F,"parseLocaleDate");function S(v,H,V){return j(v,o,H,V)}i(S,"parseLocaleTime");function N(v){return a[v.getDay()]}i(N,"formatShortWeekday");function O(v){return s[v.getDay()]}i(O,"formatWeekday");function U(v){return c[v.getMonth()]}i(U,"formatShortMonth");function rt(v){return l[v.getMonth()]}i(rt,"formatMonth");function Y(v){return n[+(v.getHours()>=12)]}i(Y,"formatPeriod");function nt(v){return 1+~~(v.getMonth()/3)}i(nt,"formatQuarter");function K(v){return a[v.getUTCDay()]}i(K,"formatUTCShortWeekday");function Ft(v){return s[v.getUTCDay()]}i(Ft,"formatUTCWeekday");function Z(v){return c[v.getUTCMonth()]}i(Z,"formatUTCShortMonth");function Ct(v){return l[v.getUTCMonth()]}i(Ct,"formatUTCMonth");function _t(v){return n[+(v.getUTCHours()>=12)]}i(_t,"formatUTCPeriod");function lt(v){return 1+~~(v.getUTCMonth()/3)}return i(lt,"formatUTCQuarter"),{format:i(function(v){var H=w(v+="",E);return H.toString=function(){return v},H},"format"),parse:i(function(v){var H=X(v+="",!1);return H.toString=function(){return v},H},"parse"),utcFormat:i(function(v){var H=w(v+="",B);return H.toString=function(){return v},H},"utcFormat"),utcParse:i(function(v){var H=X(v+="",!0);return H.toString=function(){return v},H},"utcParse")}}i($s,"formatLocale");var Kh={"-":"",_:" ",0:"0"},xt=/^\s*\d+/,$p=/^%/,Wp=/[\\^$*+?|[\]().{}]/g;function et(t,e,r){var o=t<0?"-":"",n=(o?-t:t)+"",s=n.length;return o+(s<r?new Array(r-s+1).join(e)+n:n)}i(et,"pad");function Hp(t){return t.replace(Wp,"\\$&")}i(Hp,"requote");function Qr(t){return new RegExp("^(?:"+t.map(Hp).join("|")+")","i")}i(Qr,"formatRe");function Jr(t){return new Map(t.map((e,r)=>[e.toLowerCase(),r]))}i(Jr,"formatLookup");function Up(t,e,r){var o=xt.exec(e.slice(r,r+1));return o?(t.w=+o[0],r+o[0].length):-1}i(Up,"parseWeekdayNumberSunday");function Yp(t,e,r){var o=xt.exec(e.slice(r,r+1));return o?(t.u=+o[0],r+o[0].length):-1}i(Yp,"parseWeekdayNumberMonday");function Gp(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.U=+o[0],r+o[0].length):-1}i(Gp,"parseWeekNumberSunday");function Vp(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.V=+o[0],r+o[0].length):-1}i(Vp,"parseWeekNumberISO");function Xp(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.W=+o[0],r+o[0].length):-1}i(Xp,"parseWeekNumberMonday");function Qh(t,e,r){var o=xt.exec(e.slice(r,r+4));return o?(t.y=+o[0],r+o[0].length):-1}i(Qh,"parseFullYear");function Jh(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.y=+o[0]+(+o[0]>68?1900:2e3),r+o[0].length):-1}i(Jh,"parseYear");function jp(t,e,r){var o=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return o?(t.Z=o[1]?0:-(o[2]+(o[3]||"00")),r+o[0].length):-1}i(jp,"parseZone");function Zp(t,e,r){var o=xt.exec(e.slice(r,r+1));return o?(t.q=o[0]*3-3,r+o[0].length):-1}i(Zp,"parseQuarter");function Kp(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.m=o[0]-1,r+o[0].length):-1}i(Kp,"parseMonthNumber");function tc(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.d=+o[0],r+o[0].length):-1}i(tc,"parseDayOfMonth");function Qp(t,e,r){var o=xt.exec(e.slice(r,r+3));return o?(t.m=0,t.d=+o[0],r+o[0].length):-1}i(Qp,"parseDayOfYear");function ec(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.H=+o[0],r+o[0].length):-1}i(ec,"parseHour24");function Jp(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.M=+o[0],r+o[0].length):-1}i(Jp,"parseMinutes");function td(t,e,r){var o=xt.exec(e.slice(r,r+2));return o?(t.S=+o[0],r+o[0].length):-1}i(td,"parseSeconds");function ed(t,e,r){var o=xt.exec(e.slice(r,r+3));return o?(t.L=+o[0],r+o[0].length):-1}i(ed,"parseMilliseconds");function rd(t,e,r){var o=xt.exec(e.slice(r,r+6));return o?(t.L=Math.floor(o[0]/1e3),r+o[0].length):-1}i(rd,"parseMicroseconds");function id(t,e,r){var o=$p.exec(e.slice(r,r+1));return o?r+o[0].length:-1}i(id,"parseLiteralPercent");function od(t,e,r){var o=xt.exec(e.slice(r));return o?(t.Q=+o[0],r+o[0].length):-1}i(od,"parseUnixTimestamp");function nd(t,e,r){var o=xt.exec(e.slice(r));return o?(t.s=+o[0],r+o[0].length):-1}i(nd,"parseUnixTimestampSeconds");function rc(t,e){return et(t.getDate(),e,2)}i(rc,"formatDayOfMonth");function sd(t,e){return et(t.getHours(),e,2)}i(sd,"formatHour24");function ad(t,e){return et(t.getHours()%12||12,e,2)}i(ad,"formatHour12");function ld(t,e){return et(1+ue.count(qt(t),t),e,3)}i(ld,"formatDayOfYear");function ac(t,e){return et(t.getMilliseconds(),e,3)}i(ac,"formatMilliseconds");function hd(t,e){return ac(t,e)+"000"}i(hd,"formatMicroseconds");function cd(t,e){return et(t.getMonth()+1,e,2)}i(cd,"formatMonthNumber");function ud(t,e){return et(t.getMinutes(),e,2)}i(ud,"formatMinutes");function fd(t,e){return et(t.getSeconds(),e,2)}i(fd,"formatSeconds");function md(t){var e=t.getDay();return e===0?7:e}i(md,"formatWeekdayNumberMonday");function pd(t,e){return et(fe.count(qt(t)-1,t),e,2)}i(pd,"formatWeekNumberSunday");function lc(t){var e=t.getDay();return e>=4||e===0?we(t):we.ceil(t)}i(lc,"dISO");function dd(t,e){return t=lc(t),et(we.count(qt(t),t)+(qt(t).getDay()===4),e,2)}i(dd,"formatWeekNumberISO");function gd(t){return t.getDay()}i(gd,"formatWeekdayNumberSunday");function xd(t,e){return et(dr.count(qt(t)-1,t),e,2)}i(xd,"formatWeekNumberMonday");function yd(t,e){return et(t.getFullYear()%100,e,2)}i(yd,"formatYear");function Cd(t,e){return t=lc(t),et(t.getFullYear()%100,e,2)}i(Cd,"formatYearISO");function _d(t,e){return et(t.getFullYear()%1e4,e,4)}i(_d,"formatFullYear");function bd(t,e){var r=t.getDay();return t=r>=4||r===0?we(t):we.ceil(t),et(t.getFullYear()%1e4,e,4)}i(bd,"formatFullYearISO");function Td(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+et(e/60|0,"0",2)+et(e%60,"0",2)}i(Td,"formatZone");function ic(t,e){return et(t.getUTCDate(),e,2)}i(ic,"formatUTCDayOfMonth");function kd(t,e){return et(t.getUTCHours(),e,2)}i(kd,"formatUTCHour24");function Sd(t,e){return et(t.getUTCHours()%12||12,e,2)}i(Sd,"formatUTCHour12");function vd(t,e){return et(1+Zr.count(Vt(t),t),e,3)}i(vd,"formatUTCDayOfYear");function hc(t,e){return et(t.getUTCMilliseconds(),e,3)}i(hc,"formatUTCMilliseconds");function wd(t,e){return hc(t,e)+"000"}i(wd,"formatUTCMicroseconds");function Bd(t,e){return et(t.getUTCMonth()+1,e,2)}i(Bd,"formatUTCMonthNumber");function Fd(t,e){return et(t.getUTCMinutes(),e,2)}i(Fd,"formatUTCMinutes");function Md(t,e){return et(t.getUTCSeconds(),e,2)}i(Md,"formatUTCSeconds");function Ld(t){var e=t.getUTCDay();return e===0?7:e}i(Ld,"formatUTCWeekdayNumberMonday");function Ad(t,e){return et(Ye.count(Vt(t)-1,t),e,2)}i(Ad,"formatUTCWeekNumberSunday");function cc(t){var e=t.getUTCDay();return e>=4||e===0?Be(t):Be.ceil(t)}i(cc,"UTCdISO");function Ed(t,e){return t=cc(t),et(Be.count(Vt(t),t)+(Vt(t).getUTCDay()===4),e,2)}i(Ed,"formatUTCWeekNumberISO");function Dd(t){return t.getUTCDay()}i(Dd,"formatUTCWeekdayNumberSunday");function Od(t,e){return et(gr.count(Vt(t)-1,t),e,2)}i(Od,"formatUTCWeekNumberMonday");function Id(t,e){return et(t.getUTCFullYear()%100,e,2)}i(Id,"formatUTCYear");function Rd(t,e){return t=cc(t),et(t.getUTCFullYear()%100,e,2)}i(Rd,"formatUTCYearISO");function Nd(t,e){return et(t.getUTCFullYear()%1e4,e,4)}i(Nd,"formatUTCFullYear");function qd(t,e){var r=t.getUTCDay();return t=r>=4||r===0?Be(t):Be.ceil(t),et(t.getUTCFullYear()%1e4,e,4)}i(qd,"formatUTCFullYearISO");function zd(){return"+0000"}i(zd,"formatUTCZone");function oc(){return"%"}i(oc,"formatLiteralPercent");function nc(t){return+t}i(nc,"formatUnixTimestamp");function sc(t){return Math.floor(+t/1e3)}i(sc,"formatUnixTimestampSeconds");var yr,uo,uc,fc,mc;Ws({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Ws(t){return yr=$s(t),uo=yr.format,uc=yr.parse,fc=yr.utcFormat,mc=yr.utcParse,yr}i(Ws,"defaultLocale");function Hs(t,e){t=t.slice();var r=0,o=t.length-1,n=t[r],s=t[o],a;return s<n&&(a=r,r=o,o=a,a=n,n=s,s=a),t[r]=e.floor(n),t[o]=e.ceil(s),t}i(Hs,"nice");function Pd(t){return new Date(t)}i(Pd,"date");function $d(t){return t instanceof Date?+t:+new Date(+t)}i($d,"number");function pc(t,e,r,o,n,s,a,l,c,h){var u=Xr(),d=u.invert,f=u.domain,g=h(".%L"),T=h(":%S"),L=h("%I:%M"),$=h("%I %p"),z=h("%a %d"),G=h("%b %d"),E=h("%B"),B=h("%Y");function P(w){return(c(w)<w?g:l(w)<w?T:a(w)<w?L:s(w)<w?$:o(w)<w?n(w)<w?z:G:r(w)<w?E:B)(w)}return i(P,"tickFormat"),u.invert=function(w){return new Date(d(w))},u.domain=function(w){return arguments.length?f(Array.from(w,$d)):f().map(Pd)},u.ticks=function(w){var X=f();return t(X[0],X[X.length-1],w??10)},u.tickFormat=function(w,X){return X==null?P:h(X)},u.nice=function(w){var X=f();return(!w||typeof w.range!="function")&&(w=e(X[0],X[X.length-1],w??10)),w?f(Hs(X,w)):u},u.copy=function(){return Ki(u,pc(t,e,r,o,n,s,a,l,c,h))},u}i(pc,"calendar");function dc(){return Se.apply(pc(Ns,qs,qt,xr,fe,ue,pr,mr,te,uo).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}i(dc,"time");function Us(){var t=Vr().unknown(void 0),e=t.domain,r=t.range,o=0,n=1,s,a,l=!1,c=0,h=0,u=.5;delete t.unknown;function d(){var f=e().length,g=n<o,T=g?n:o,L=g?o:n;s=(L-T)/Math.max(1,f-c+h*2),l&&(s=Math.floor(s)),T+=(L-T-s*(f-c))*u,a=s*(1-c),l&&(T=Math.round(T),a=Math.round(a));var $=Ni(f).map(function(z){return T+s*z});return r(g?$.reverse():$)}return i(d,"rescale"),t.domain=function(f){return arguments.length?(e(f),d()):e()},t.range=function(f){return arguments.length?([o,n]=f,o=+o,n=+n,d()):[o,n]},t.rangeRound=function(f){return[o,n]=f,o=+o,n=+n,l=!0,d()},t.bandwidth=function(){return a},t.step=function(){return s},t.round=function(f){return arguments.length?(l=!!f,d()):l},t.padding=function(f){return arguments.length?(c=Math.min(1,h=+f),d()):c},t.paddingInner=function(f){return arguments.length?(c=Math.min(1,f),d()):c},t.paddingOuter=function(f){return arguments.length?(h=+f,d()):h},t.align=function(f){return arguments.length?(u=Math.max(0,Math.min(1,f)),d()):u},t.copy=function(){return Us(e(),[o,n]).round(l).paddingInner(c).paddingOuter(h).align(u)},Se.apply(d(),arguments)}i(Us,"band");function Ys(t){for(var e=t.length/6|0,r=new Array(e),o=0;o<e;)r[o]="#"+t.slice(o*6,++o*6);return r}i(Ys,"default");var Wd=Ys("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function st(t){return i(function(){return t},"constant")}i(st,"default");var Gs=Math.abs,vt=Math.atan2,Fe=Math.cos,gc=Math.max,fo=Math.min,Xt=Math.sin,Ge=Math.sqrt,yt=1e-12,Cr=Math.PI,ti=Cr/2,_r=2*Cr;function xc(t){return t>1?0:t<-1?Cr:Math.acos(t)}i(xc,"acos");function Vs(t){return t>=1?ti:t<=-1?-ti:Math.asin(t)}i(Vs,"asin");var Xs=Math.PI,js=2*Xs,Ve=1e-6,Hd=js-Ve;function yc(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}i(yc,"append");function Ud(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return yc;let r=10**e;return function(o){this._+=o[0];for(let n=1,s=o.length;n<s;++n)this._+=Math.round(arguments[n]*r)/r+o[n]}}i(Ud,"appendRound");var Xe=class{static{i(this,"Path")}constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?yc:Ud(e)}moveTo(e,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,r){this._append`L${this._x1=+e},${this._y1=+r}`}quadraticCurveTo(e,r,o,n){this._append`Q${+e},${+r},${this._x1=+o},${this._y1=+n}`}bezierCurveTo(e,r,o,n,s,a){this._append`C${+e},${+r},${+o},${+n},${this._x1=+s},${this._y1=+a}`}arcTo(e,r,o,n,s){if(e=+e,r=+r,o=+o,n=+n,s=+s,s<0)throw new Error(`negative radius: ${s}`);let a=this._x1,l=this._y1,c=o-e,h=n-r,u=a-e,d=l-r,f=u*u+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=r}`;else if(f>Ve)if(!(Math.abs(d*c-h*u)>Ve)||!s)this._append`L${this._x1=e},${this._y1=r}`;else{let g=o-a,T=n-l,L=c*c+h*h,$=g*g+T*T,z=Math.sqrt(L),G=Math.sqrt(f),E=s*Math.tan((Xs-Math.acos((L+f-$)/(2*z*G)))/2),B=E/G,P=E/z;Math.abs(B-1)>Ve&&this._append`L${e+B*u},${r+B*d}`,this._append`A${s},${s},0,0,${+(d*g>u*T)},${this._x1=e+P*c},${this._y1=r+P*h}`}}arc(e,r,o,n,s,a){if(e=+e,r=+r,o=+o,a=!!a,o<0)throw new Error(`negative radius: ${o}`);let l=o*Math.cos(n),c=o*Math.sin(n),h=e+l,u=r+c,d=1^a,f=a?n-s:s-n;this._x1===null?this._append`M${h},${u}`:(Math.abs(this._x1-h)>Ve||Math.abs(this._y1-u)>Ve)&&this._append`L${h},${u}`,o&&(f<0&&(f=f%js+js),f>Hd?this._append`A${o},${o},0,1,${d},${e-l},${r-c}A${o},${o},0,1,${d},${this._x1=h},${this._y1=u}`:f>Ve&&this._append`A${o},${o},0,${+(f>=Xs)},${d},${this._x1=e+o*Math.cos(s)},${this._y1=r+o*Math.sin(s)}`)}rect(e,r,o,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${o=+o}v${+n}h${-o}Z`}toString(){return this._}};function Cc(){return new Xe}i(Cc,"path");Cc.prototype=Xe.prototype;function mo(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{let o=Math.floor(r);if(!(o>=0))throw new RangeError(`invalid digits: ${r}`);e=o}return t},()=>new Xe(e)}i(mo,"withPath");function Yd(t){return t.innerRadius}i(Yd,"arcInnerRadius");function Gd(t){return t.outerRadius}i(Gd,"arcOuterRadius");function Vd(t){return t.startAngle}i(Vd,"arcStartAngle");function Xd(t){return t.endAngle}i(Xd,"arcEndAngle");function jd(t){return t&&t.padAngle}i(jd,"arcPadAngle");function Zd(t,e,r,o,n,s,a,l){var c=r-t,h=o-e,u=a-n,d=l-s,f=d*c-u*h;if(!(f*f<yt))return f=(u*(e-s)-d*(t-n))/f,[t+f*c,e+f*h]}i(Zd,"intersect");function po(t,e,r,o,n,s,a){var l=t-r,c=e-o,h=(a?s:-s)/Ge(l*l+c*c),u=h*c,d=-h*l,f=t+u,g=e+d,T=r+u,L=o+d,$=(f+T)/2,z=(g+L)/2,G=T-f,E=L-g,B=G*G+E*E,P=n-s,w=f*L-T*g,X=(E<0?-1:1)*Ge(gc(0,P*P*B-w*w)),j=(w*E-G*X)/B,W=(-w*G-E*X)/B,it=(w*E+G*X)/B,M=(-w*G+E*X)/B,k=j-$,x=W-z,y=it-$,F=M-z;return k*k+x*x>y*y+F*F&&(j=it,W=M),{cx:j,cy:W,x01:-u,y01:-d,x11:j*(n/P-1),y11:W*(n/P-1)}}i(po,"cornerTangents");function _c(){var t=Yd,e=Gd,r=st(0),o=null,n=Vd,s=Xd,a=jd,l=null,c=mo(h);function h(){var u,d,f=+t.apply(this,arguments),g=+e.apply(this,arguments),T=n.apply(this,arguments)-ti,L=s.apply(this,arguments)-ti,$=Gs(L-T),z=L>T;if(l||(l=u=c()),g<f&&(d=g,g=f,f=d),!(g>yt))l.moveTo(0,0);else if($>_r-yt)l.moveTo(g*Fe(T),g*Xt(T)),l.arc(0,0,g,T,L,!z),f>yt&&(l.moveTo(f*Fe(L),f*Xt(L)),l.arc(0,0,f,L,T,z));else{var G=T,E=L,B=T,P=L,w=$,X=$,j=a.apply(this,arguments)/2,W=j>yt&&(o?+o.apply(this,arguments):Ge(f*f+g*g)),it=fo(Gs(g-f)/2,+r.apply(this,arguments)),M=it,k=it,x,y;if(W>yt){var F=Vs(W/f*Xt(j)),S=Vs(W/g*Xt(j));(w-=F*2)>yt?(F*=z?1:-1,B+=F,P-=F):(w=0,B=P=(T+L)/2),(X-=S*2)>yt?(S*=z?1:-1,G+=S,E-=S):(X=0,G=E=(T+L)/2)}var N=g*Fe(G),O=g*Xt(G),U=f*Fe(P),rt=f*Xt(P);if(it>yt){var Y=g*Fe(E),nt=g*Xt(E),K=f*Fe(B),Ft=f*Xt(B),Z;if($<Cr)if(Z=Zd(N,O,K,Ft,Y,nt,U,rt)){var Ct=N-Z[0],_t=O-Z[1],lt=Y-Z[0],v=nt-Z[1],H=1/Xt(xc((Ct*lt+_t*v)/(Ge(Ct*Ct+_t*_t)*Ge(lt*lt+v*v)))/2),V=Ge(Z[0]*Z[0]+Z[1]*Z[1]);M=fo(it,(f-V)/(H-1)),k=fo(it,(g-V)/(H+1))}else M=k=0}X>yt?k>yt?(x=po(K,Ft,N,O,g,k,z),y=po(Y,nt,U,rt,g,k,z),l.moveTo(x.cx+x.x01,x.cy+x.y01),k<it?l.arc(x.cx,x.cy,k,vt(x.y01,x.x01),vt(y.y01,y.x01),!z):(l.arc(x.cx,x.cy,k,vt(x.y01,x.x01),vt(x.y11,x.x11),!z),l.arc(0,0,g,vt(x.cy+x.y11,x.cx+x.x11),vt(y.cy+y.y11,y.cx+y.x11),!z),l.arc(y.cx,y.cy,k,vt(y.y11,y.x11),vt(y.y01,y.x01),!z))):(l.moveTo(N,O),l.arc(0,0,g,G,E,!z)):l.moveTo(N,O),!(f>yt)||!(w>yt)?l.lineTo(U,rt):M>yt?(x=po(U,rt,Y,nt,f,-M,z),y=po(N,O,K,Ft,f,-M,z),l.lineTo(x.cx+x.x01,x.cy+x.y01),M<it?l.arc(x.cx,x.cy,M,vt(x.y01,x.x01),vt(y.y01,y.x01),!z):(l.arc(x.cx,x.cy,M,vt(x.y01,x.x01),vt(x.y11,x.x11),!z),l.arc(0,0,f,vt(x.cy+x.y11,x.cx+x.x11),vt(y.cy+y.y11,y.cx+y.x11),z),l.arc(y.cx,y.cy,M,vt(y.y11,y.x11),vt(y.y01,y.x01),!z))):l.arc(0,0,f,P,B,z)}if(l.closePath(),u)return l=null,u+""||null}return i(h,"arc"),h.centroid=function(){var u=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,d=(+n.apply(this,arguments)+ +s.apply(this,arguments))/2-Cr/2;return[Fe(d)*u,Xt(d)*u]},h.innerRadius=function(u){return arguments.length?(t=typeof u=="function"?u:st(+u),h):t},h.outerRadius=function(u){return arguments.length?(e=typeof u=="function"?u:st(+u),h):e},h.cornerRadius=function(u){return arguments.length?(r=typeof u=="function"?u:st(+u),h):r},h.padRadius=function(u){return arguments.length?(o=u==null?null:typeof u=="function"?u:st(+u),h):o},h.startAngle=function(u){return arguments.length?(n=typeof u=="function"?u:st(+u),h):n},h.endAngle=function(u){return arguments.length?(s=typeof u=="function"?u:st(+u),h):s},h.padAngle=function(u){return arguments.length?(a=typeof u=="function"?u:st(+u),h):a},h.context=function(u){return arguments.length?(l=u??null,h):l},h}i(_c,"default");function bc(t){this._context=t}i(bc,"Linear");bc.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._point=0},"lineStart"),lineEnd:i(function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}},"point")};function go(t){return new bc(t)}i(go,"default");var hw=Array.prototype.slice;function ei(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}i(ei,"default");function Tc(t){return t[0]}i(Tc,"x");function kc(t){return t[1]}i(kc,"y");function Sc(t,e){var r=st(!0),o=null,n=go,s=null,a=mo(l);t=typeof t=="function"?t:t===void 0?Tc:st(t),e=typeof e=="function"?e:e===void 0?kc:st(e);function l(c){var h,u=(c=ei(c)).length,d,f=!1,g;for(o==null&&(s=n(g=a())),h=0;h<=u;++h)!(h<u&&r(d=c[h],h,c))===f&&((f=!f)?s.lineStart():s.lineEnd()),f&&s.point(+t(d,h,c),+e(d,h,c));if(g)return s=null,g+""||null}return i(l,"line"),l.x=function(c){return arguments.length?(t=typeof c=="function"?c:st(+c),l):t},l.y=function(c){return arguments.length?(e=typeof c=="function"?c:st(+c),l):e},l.defined=function(c){return arguments.length?(r=typeof c=="function"?c:st(!!c),l):r},l.curve=function(c){return arguments.length?(n=c,o!=null&&(s=n(o)),l):n},l.context=function(c){return arguments.length?(c==null?o=s=null:s=n(o=c),l):o},l}i(Sc,"default");function Zs(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}i(Zs,"default");function Ks(t){return t}i(Ks,"default");function vc(){var t=Ks,e=Zs,r=null,o=st(0),n=st(_r),s=st(0);function a(l){var c,h=(l=ei(l)).length,u,d,f=0,g=new Array(h),T=new Array(h),L=+o.apply(this,arguments),$=Math.min(_r,Math.max(-_r,n.apply(this,arguments)-L)),z,G=Math.min(Math.abs($)/h,s.apply(this,arguments)),E=G*($<0?-1:1),B;for(c=0;c<h;++c)(B=T[g[c]=c]=+t(l[c],c,l))>0&&(f+=B);for(e!=null?g.sort(function(P,w){return e(T[P],T[w])}):r!=null&&g.sort(function(P,w){return r(l[P],l[w])}),c=0,d=f?($-h*E)/f:0;c<h;++c,L=z)u=g[c],B=T[u],z=L+(B>0?B*d:0)+E,T[u]={data:l[u],index:c,value:B,startAngle:L,endAngle:z,padAngle:G};return T}return i(a,"pie"),a.value=function(l){return arguments.length?(t=typeof l=="function"?l:st(+l),a):t},a.sortValues=function(l){return arguments.length?(e=l,r=null,a):e},a.sort=function(l){return arguments.length?(r=l,e=null,a):r},a.startAngle=function(l){return arguments.length?(o=typeof l=="function"?l:st(+l),a):o},a.endAngle=function(l){return arguments.length?(n=typeof l=="function"?l:st(+l),a):n},a.padAngle=function(l){return arguments.length?(s=typeof l=="function"?l:st(+l),a):s},a}i(vc,"default");var xo=class{static{i(this,"Bump")}constructor(e,r){this._context=e,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,r){switch(e=+e,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,r,e,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,e,this._y0,e,r);break}}this._x0=e,this._y0=r}};function Kd(t){return new xo(t,!0)}i(Kd,"bumpX");function Qd(t){return new xo(t,!1)}i(Qd,"bumpY");function br(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}i(br,"point");function ri(t){this._context=t}i(ri,"Basis");ri.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 3:br(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:br(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};function wc(t){return new ri(t)}i(wc,"default");function zt(){}i(zt,"default");function Bc(t){this._context=t}i(Bc,"BasisClosed");Bc.prototype={areaStart:zt,areaEnd:zt,lineStart:i(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},"lineEnd"),point:i(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:br(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};function Fc(t){return new Bc(t)}i(Fc,"default");function Mc(t){this._context=t}i(Mc,"BasisOpen");Mc.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:i(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,o=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,o):this._context.moveTo(r,o);break;case 3:this._point=4;default:br(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};function Lc(t){return new Mc(t)}i(Lc,"default");function Ac(t,e){this._basis=new ri(t),this._beta=e}i(Ac,"Bundle");Ac.prototype={lineStart:i(function(){this._x=[],this._y=[],this._basis.lineStart()},"lineStart"),lineEnd:i(function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var o=t[0],n=e[0],s=t[r]-o,a=e[r]-n,l=-1,c;++l<=r;)c=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(o+c*s),this._beta*e[l]+(1-this._beta)*(n+c*a));this._x=this._y=null,this._basis.lineEnd()},"lineEnd"),point:i(function(t,e){this._x.push(+t),this._y.push(+e)},"point")};var Jd=i(function t(e){function r(o){return e===1?new ri(o):new Ac(o,e)}return i(r,"bundle"),r.beta=function(o){return t(+o)},r},"custom")(.85);function Tr(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}i(Tr,"point");function yo(t,e){this._context=t,this._k=(1-e)/6}i(yo,"Cardinal");yo.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Tr(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Tr(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};var tg=i(function t(e){function r(o){return new yo(o,e)}return i(r,"cardinal"),r.tension=function(o){return t(+o)},r},"custom")(0);function Co(t,e){this._context=t,this._k=(1-e)/6}i(Co,"CardinalClosed");Co.prototype={areaStart:zt,areaEnd:zt,lineStart:i(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:i(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Tr(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};var eg=i(function t(e){function r(o){return new Co(o,e)}return i(r,"cardinal"),r.tension=function(o){return t(+o)},r},"custom")(0);function _o(t,e){this._context=t,this._k=(1-e)/6}i(_o,"CardinalOpen");_o.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:i(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Tr(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};var rg=i(function t(e){function r(o){return new _o(o,e)}return i(r,"cardinal"),r.tension=function(o){return t(+o)},r},"custom")(0);function ii(t,e,r){var o=t._x1,n=t._y1,s=t._x2,a=t._y2;if(t._l01_a>yt){var l=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);o=(o*l-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,n=(n*l-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>yt){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);s=(s*h+t._x1*t._l23_2a-e*t._l12_2a)/u,a=(a*h+t._y1*t._l23_2a-r*t._l12_2a)/u}t._context.bezierCurveTo(o,n,s,a,t._x2,t._y2)}i(ii,"point");function Ec(t,e){this._context=t,this._alpha=e}i(Ec,"CatmullRom");Ec.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,o=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:ii(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};var ig=i(function t(e){function r(o){return e?new Ec(o,e):new yo(o,0)}return i(r,"catmullRom"),r.alpha=function(o){return t(+o)},r},"custom")(.5);function Dc(t,e){this._context=t,this._alpha=e}i(Dc,"CatmullRomClosed");Dc.prototype={areaStart:zt,areaEnd:zt,lineStart:i(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:i(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,o=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ii(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};var og=i(function t(e){function r(o){return e?new Dc(o,e):new Co(o,0)}return i(r,"catmullRom"),r.alpha=function(o){return t(+o)},r},"custom")(.5);function Oc(t,e){this._context=t,this._alpha=e}i(Oc,"CatmullRomOpen");Oc.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:i(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,o=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+o*o,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ii(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};var ng=i(function t(e){function r(o){return e?new Oc(o,e):new _o(o,0)}return i(r,"catmullRom"),r.alpha=function(o){return t(+o)},r},"custom")(.5);function Ic(t){this._context=t}i(Ic,"LinearClosed");Ic.prototype={areaStart:zt,areaEnd:zt,lineStart:i(function(){this._point=0},"lineStart"),lineEnd:i(function(){this._point&&this._context.closePath()},"lineEnd"),point:i(function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))},"point")};function Rc(t){return new Ic(t)}i(Rc,"default");function Nc(t){return t<0?-1:1}i(Nc,"sign");function qc(t,e,r){var o=t._x1-t._x0,n=e-t._x1,s=(t._y1-t._y0)/(o||n<0&&-0),a=(r-t._y1)/(n||o<0&&-0),l=(s*n+a*o)/(o+n);return(Nc(s)+Nc(a))*Math.min(Math.abs(s),Math.abs(a),.5*Math.abs(l))||0}i(qc,"slope3");function zc(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}i(zc,"slope2");function Qs(t,e,r){var o=t._x0,n=t._y0,s=t._x1,a=t._y1,l=(s-o)/3;t._context.bezierCurveTo(o+l,n+l*e,s-l,a-l*r,s,a)}i(Qs,"point");function bo(t){this._context=t}i(bo,"MonotoneX");bo.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Qs(this,this._t0,zc(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,e){var r=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Qs(this,zc(this,r=qc(this,t,e)),r);break;default:Qs(this,this._t0,r=qc(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}},"point")};function Pc(t){this._context=new $c(t)}i(Pc,"MonotoneY");(Pc.prototype=Object.create(bo.prototype)).point=function(t,e){bo.prototype.point.call(this,e,t)};function $c(t){this._context=t}i($c,"ReflectContext");$c.prototype={moveTo:i(function(t,e){this._context.moveTo(e,t)},"moveTo"),closePath:i(function(){this._context.closePath()},"closePath"),lineTo:i(function(t,e){this._context.lineTo(e,t)},"lineTo"),bezierCurveTo:i(function(t,e,r,o,n,s){this._context.bezierCurveTo(e,t,o,r,s,n)},"bezierCurveTo")};function sg(t){return new bo(t)}i(sg,"monotoneX");function ag(t){return new Pc(t)}i(ag,"monotoneY");function Hc(t){this._context=t}i(Hc,"Natural");Hc.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x=[],this._y=[]},"lineStart"),lineEnd:i(function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),r===2)this._context.lineTo(t[1],e[1]);else for(var o=Wc(t),n=Wc(e),s=0,a=1;a<r;++s,++a)this._context.bezierCurveTo(o[0][s],n[0][s],o[1][s],n[1][s],t[a],e[a]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},"lineEnd"),point:i(function(t,e){this._x.push(+t),this._y.push(+e)},"point")};function Wc(t){var e,r=t.length-1,o,n=new Array(r),s=new Array(r),a=new Array(r);for(n[0]=0,s[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)n[e]=1,s[e]=4,a[e]=4*t[e]+2*t[e+1];for(n[r-1]=2,s[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)o=n[e]/s[e-1],s[e]-=o,a[e]-=o*a[e-1];for(n[r-1]=a[r-1]/s[r-1],e=r-2;e>=0;--e)n[e]=(a[e]-n[e+1])/s[e];for(s[r-1]=(t[r]+n[r-1])/2,e=0;e<r-1;++e)s[e]=2*t[e+1]-n[e+1];return[n,s]}i(Wc,"controlPoints");function Uc(t){return new Hc(t)}i(Uc,"default");function To(t,e){this._context=t,this._t=e}i(To,"Step");To.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x=this._y=NaN,this._point=0},"lineStart"),lineEnd:i(function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},"lineEnd"),point:i(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}break}}this._x=t,this._y=e},"point")};function Yc(t){return new To(t,.5)}i(Yc,"default");function lg(t){return new To(t,0)}i(lg,"stepBefore");function hg(t){return new To(t,1)}i(hg,"stepAfter");var cg={value:i(()=>{},"value")};function Vc(){for(var t=0,e=arguments.length,r={},o;t<e;++t){if(!(o=arguments[t]+"")||o in r||/[\s.]/.test(o))throw new Error("illegal type: "+o);r[o]=[]}return new ko(r)}i(Vc,"dispatch");function ko(t){this._=t}i(ko,"Dispatch");function ug(t,e){return t.trim().split(/^|\s+/).map(function(r){var o="",n=r.indexOf(".");if(n>=0&&(o=r.slice(n+1),r=r.slice(0,n)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:o}})}i(ug,"parseTypenames");ko.prototype=Vc.prototype={constructor:ko,on:i(function(t,e){var r=this._,o=ug(t+"",r),n,s=-1,a=o.length;if(arguments.length<2){for(;++s<a;)if((n=(t=o[s]).type)&&(n=fg(r[n],t.name)))return n;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++s<a;)if(n=(t=o[s]).type)r[n]=Gc(r[n],t.name,e);else if(e==null)for(n in r)r[n]=Gc(r[n],t.name,null);return this},"on"),copy:i(function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new ko(t)},"copy"),call:i(function(t,e){if((n=arguments.length-2)>0)for(var r=new Array(n),o=0,n,s;o<n;++o)r[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=this._[t],o=0,n=s.length;o<n;++o)s[o].value.apply(e,r)},"call"),apply:i(function(t,e,r){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var o=this._[t],n=0,s=o.length;n<s;++n)o[n].value.apply(e,r)},"apply")};function fg(t,e){for(var r=0,o=t.length,n;r<o;++r)if((n=t[r]).name===e)return n.value}i(fg,"get");function Gc(t,e,r){for(var o=0,n=t.length;o<n;++o)if(t[o].name===e){t[o]=cg,t=t.slice(0,o).concat(t.slice(o+1));break}return r!=null&&t.push({name:e,value:r}),t}i(Gc,"set");var Js=Vc;var kr=0,ni=0,oi=0,jc=1e3,So,si,vo=0,je=0,wo=0,ai=typeof performance=="object"&&performance.now?performance:Date,Zc=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function hi(){return je||(Zc(mg),je=ai.now()+wo)}i(hi,"now");function mg(){je=0}i(mg,"clearNow");function li(){this._call=this._time=this._next=null}i(li,"Timer");li.prototype=Bo.prototype={constructor:li,restart:i(function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?hi():+r)+(e==null?0:+e),!this._next&&si!==this&&(si?si._next=this:So=this,si=this),this._call=t,this._time=r,ta()},"restart"),stop:i(function(){this._call&&(this._call=null,this._time=1/0,ta())},"stop")};function Bo(t,e,r){var o=new li;return o.restart(t,e,r),o}i(Bo,"timer");function Kc(){hi(),++kr;for(var t=So,e;t;)(e=je-t._time)>=0&&t._call.call(void 0,e),t=t._next;--kr}i(Kc,"timerFlush");function Xc(){je=(vo=ai.now())+wo,kr=ni=0;try{Kc()}finally{kr=0,dg(),je=0}}i(Xc,"wake");function pg(){var t=ai.now(),e=t-vo;e>jc&&(wo-=e,vo=t)}i(pg,"poke");function dg(){for(var t,e=So,r,o=1/0;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(r=e._next,e._next=null,e=t?t._next=r:So=r);si=t,ta(o)}i(dg,"nap");function ta(t){if(!kr){ni&&(ni=clearTimeout(ni));var e=t-je;e>24?(t<1/0&&(ni=setTimeout(Xc,t-ai.now()-wo)),oi&&(oi=clearInterval(oi))):(oi||(vo=ai.now(),oi=setInterval(pg,jc)),kr=1,Zc(Xc))}}i(ta,"sleep");function ci(t,e,r){var o=new li;return e=e==null?0:+e,o.restart(n=>{o.stop(),t(n+e)},e,r),o}i(ci,"default");var gg=Js("start","end","cancel","interrupt"),xg=[],tu=0,Qc=1,Mo=2,Fo=3,Jc=4,Lo=5,ui=6;function me(t,e,r,o,n,s){var a=t.__transition;if(!a)t.__transition={};else if(r in a)return;yg(t,r,{name:e,index:o,group:n,on:gg,tween:xg,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:tu})}i(me,"default");function fi(t,e){var r=mt(t,e);if(r.state>tu)throw new Error("too late; already scheduled");return r}i(fi,"init");function wt(t,e){var r=mt(t,e);if(r.state>Fo)throw new Error("too late; already running");return r}i(wt,"set");function mt(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}i(mt,"get");function yg(t,e,r){var o=t.__transition,n;o[e]=r,r.timer=Bo(s,0,r.time);function s(h){r.state=Qc,r.timer.restart(a,r.delay,r.time),r.delay<=h&&a(h-r.delay)}i(s,"schedule");function a(h){var u,d,f,g;if(r.state!==Qc)return c();for(u in o)if(g=o[u],g.name===r.name){if(g.state===Fo)return ci(a);g.state===Jc?(g.state=ui,g.timer.stop(),g.on.call("interrupt",t,t.__data__,g.index,g.group),delete o[u]):+u<e&&(g.state=ui,g.timer.stop(),g.on.call("cancel",t,t.__data__,g.index,g.group),delete o[u])}if(ci(function(){r.state===Fo&&(r.state=Jc,r.timer.restart(l,r.delay,r.time),l(h))}),r.state=Mo,r.on.call("start",t,t.__data__,r.index,r.group),r.state===Mo){for(r.state=Fo,n=new Array(f=r.tween.length),u=0,d=-1;u<f;++u)(g=r.tween[u].value.call(t,t.__data__,r.index,r.group))&&(n[++d]=g);n.length=d+1}}i(a,"start");function l(h){for(var u=h<r.duration?r.ease.call(null,h/r.duration):(r.timer.restart(c),r.state=Lo,1),d=-1,f=n.length;++d<f;)n[d].call(t,u);r.state===Lo&&(r.on.call("end",t,t.__data__,r.index,r.group),c())}i(l,"tick");function c(){r.state=ui,r.timer.stop(),delete o[e];for(var h in o)return;delete t.__transition}i(c,"stop")}i(yg,"create");function mi(t,e){var r=t.__transition,o,n,s=!0,a;if(r){e=e==null?null:e+"";for(a in r){if((o=r[a]).name!==e){s=!1;continue}n=o.state>Mo&&o.state<Lo,o.state=ui,o.timer.stop(),o.on.call(n?"interrupt":"cancel",t,t.__data__,o.index,o.group),delete r[a]}s&&delete t.__transition}}i(mi,"default");function ea(t){return this.each(function(){mi(this,t)})}i(ea,"default");function Cg(t,e){var r,o;return function(){var n=wt(this,t),s=n.tween;if(s!==r){o=r=s;for(var a=0,l=o.length;a<l;++a)if(o[a].name===e){o=o.slice(),o.splice(a,1);break}}n.tween=o}}i(Cg,"tweenRemove");function _g(t,e,r){var o,n;if(typeof r!="function")throw new Error;return function(){var s=wt(this,t),a=s.tween;if(a!==o){n=(o=a).slice();for(var l={name:e,value:r},c=0,h=n.length;c<h;++c)if(n[c].name===e){n[c]=l;break}c===h&&n.push(l)}s.tween=n}}i(_g,"tweenFunction");function ra(t,e){var r=this._id;if(t+="",arguments.length<2){for(var o=mt(this.node(),r).tween,n=0,s=o.length,a;n<s;++n)if((a=o[n]).name===t)return a.value;return null}return this.each((e==null?Cg:_g)(r,t,e))}i(ra,"default");function Sr(t,e,r){var o=t._id;return t.each(function(){var n=wt(this,o);(n.value||(n.value={}))[e]=r.apply(this,arguments)}),function(n){return mt(n,o).value[e]}}i(Sr,"tweenValue");function pi(t,e){var r;return(typeof e=="number"?gt:e instanceof Yt?qe:(r=Yt(e))?(e=r,qe):ur)(t,e)}i(pi,"default");function bg(t){return function(){this.removeAttribute(t)}}i(bg,"attrRemove");function Tg(t){return function(){this.removeAttributeNS(t.space,t.local)}}i(Tg,"attrRemoveNS");function kg(t,e,r){var o,n=r+"",s;return function(){var a=this.getAttribute(t);return a===n?null:a===o?s:s=e(o=a,r)}}i(kg,"attrConstant");function Sg(t,e,r){var o,n=r+"",s;return function(){var a=this.getAttributeNS(t.space,t.local);return a===n?null:a===o?s:s=e(o=a,r)}}i(Sg,"attrConstantNS");function vg(t,e,r){var o,n,s;return function(){var a,l=r(this),c;return l==null?void this.removeAttribute(t):(a=this.getAttribute(t),c=l+"",a===c?null:a===o&&c===n?s:(n=c,s=e(o=a,l)))}}i(vg,"attrFunction");function wg(t,e,r){var o,n,s;return function(){var a,l=r(this),c;return l==null?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),c=l+"",a===c?null:a===o&&c===n?s:(n=c,s=e(o=a,l)))}}i(wg,"attrFunctionNS");function ia(t,e){var r=Kt(t),o=r==="transform"?Cs:pi;return this.attrTween(t,typeof e=="function"?(r.local?wg:vg)(r,o,Sr(this,"attr."+t,e)):e==null?(r.local?Tg:bg)(r):(r.local?Sg:kg)(r,o,e))}i(ia,"default");function Bg(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}i(Bg,"attrInterpolate");function Fg(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}i(Fg,"attrInterpolateNS");function Mg(t,e){var r,o;function n(){var s=e.apply(this,arguments);return s!==o&&(r=(o=s)&&Fg(t,s)),r}return i(n,"tween"),n._value=e,n}i(Mg,"attrTweenNS");function Lg(t,e){var r,o;function n(){var s=e.apply(this,arguments);return s!==o&&(r=(o=s)&&Bg(t,s)),r}return i(n,"tween"),n._value=e,n}i(Lg,"attrTween");function oa(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;var o=Kt(t);return this.tween(r,(o.local?Mg:Lg)(o,e))}i(oa,"default");function Ag(t,e){return function(){fi(this,t).delay=+e.apply(this,arguments)}}i(Ag,"delayFunction");function Eg(t,e){return e=+e,function(){fi(this,t).delay=e}}i(Eg,"delayConstant");function na(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Ag:Eg)(e,t)):mt(this.node(),e).delay}i(na,"default");function Dg(t,e){return function(){wt(this,t).duration=+e.apply(this,arguments)}}i(Dg,"durationFunction");function Og(t,e){return e=+e,function(){wt(this,t).duration=e}}i(Og,"durationConstant");function sa(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Dg:Og)(e,t)):mt(this.node(),e).duration}i(sa,"default");function Ig(t,e){if(typeof e!="function")throw new Error;return function(){wt(this,t).ease=e}}i(Ig,"easeConstant");function aa(t){var e=this._id;return arguments.length?this.each(Ig(e,t)):mt(this.node(),e).ease}i(aa,"default");function Rg(t,e){return function(){var r=e.apply(this,arguments);if(typeof r!="function")throw new Error;wt(this,t).ease=r}}i(Rg,"easeVarying");function la(t){if(typeof t!="function")throw new Error;return this.each(Rg(this._id,t))}i(la,"default");function ha(t){typeof t!="function"&&(t=nr(t));for(var e=this._groups,r=e.length,o=new Array(r),n=0;n<r;++n)for(var s=e[n],a=s.length,l=o[n]=[],c,h=0;h<a;++h)(c=s[h])&&t.call(c,c.__data__,h,s)&&l.push(c);return new Dt(o,this._parents,this._name,this._id)}i(ha,"default");function ca(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,o=e.length,n=r.length,s=Math.min(o,n),a=new Array(o),l=0;l<s;++l)for(var c=e[l],h=r[l],u=c.length,d=a[l]=new Array(u),f,g=0;g<u;++g)(f=c[g]||h[g])&&(d[g]=f);for(;l<o;++l)a[l]=e[l];return new Dt(a,this._parents,this._name,this._id)}i(ca,"default");function Ng(t){return(t+"").trim().split(/^|\s+/).every(function(e){var r=e.indexOf(".");return r>=0&&(e=e.slice(0,r)),!e||e==="start"})}i(Ng,"start");function qg(t,e,r){var o,n,s=Ng(e)?fi:wt;return function(){var a=s(this,t),l=a.on;l!==o&&(n=(o=l).copy()).on(e,r),a.on=n}}i(qg,"onFunction");function ua(t,e){var r=this._id;return arguments.length<2?mt(this.node(),r).on.on(t):this.each(qg(r,t,e))}i(ua,"default");function zg(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}i(zg,"removeFunction");function fa(){return this.on("end.remove",zg(this._id))}i(fa,"default");function ma(t){var e=this._name,r=this._id;typeof t!="function"&&(t=Ce(t));for(var o=this._groups,n=o.length,s=new Array(n),a=0;a<n;++a)for(var l=o[a],c=l.length,h=s[a]=new Array(c),u,d,f=0;f<c;++f)(u=l[f])&&(d=t.call(u,u.__data__,f,l))&&("__data__"in u&&(d.__data__=u.__data__),h[f]=d,me(h[f],e,r,f,h,mt(u,r)));return new Dt(s,this._parents,e,r)}i(ma,"default");function pa(t){var e=this._name,r=this._id;typeof t!="function"&&(t=or(t));for(var o=this._groups,n=o.length,s=[],a=[],l=0;l<n;++l)for(var c=o[l],h=c.length,u,d=0;d<h;++d)if(u=c[d]){for(var f=t.call(u,u.__data__,d,c),g,T=mt(u,r),L=0,$=f.length;L<$;++L)(g=f[L])&&me(g,e,r,L,f,T);s.push(f),a.push(u)}return new Dt(s,a,e,r)}i(pa,"default");var Pg=le.prototype.constructor;function da(){return new Pg(this._groups,this._parents)}i(da,"default");function $g(t,e){var r,o,n;return function(){var s=_e(this,t),a=(this.style.removeProperty(t),_e(this,t));return s===a?null:s===r&&a===o?n:n=e(r=s,o=a)}}i($g,"styleNull");function eu(t){return function(){this.style.removeProperty(t)}}i(eu,"styleRemove");function Wg(t,e,r){var o,n=r+"",s;return function(){var a=_e(this,t);return a===n?null:a===o?s:s=e(o=a,r)}}i(Wg,"styleConstant");function Hg(t,e,r){var o,n,s;return function(){var a=_e(this,t),l=r(this),c=l+"";return l==null&&(c=l=(this.style.removeProperty(t),_e(this,t))),a===c?null:a===o&&c===n?s:(n=c,s=e(o=a,l))}}i(Hg,"styleFunction");function Ug(t,e){var r,o,n,s="style."+e,a="end."+s,l;return function(){var c=wt(this,t),h=c.on,u=c.value[s]==null?l||(l=eu(e)):void 0;(h!==r||n!==u)&&(o=(r=h).copy()).on(a,n=u),c.on=o}}i(Ug,"styleMaybeRemove");function ga(t,e,r){var o=(t+="")=="transform"?ys:pi;return e==null?this.styleTween(t,$g(t,o)).on("end.style."+t,eu(t)):typeof e=="function"?this.styleTween(t,Hg(t,o,Sr(this,"style."+t,e))).each(Ug(this._id,t)):this.styleTween(t,Wg(t,o,e),r).on("end.style."+t,null)}i(ga,"default");function Yg(t,e,r){return function(o){this.style.setProperty(t,e.call(this,o),r)}}i(Yg,"styleInterpolate");function Gg(t,e,r){var o,n;function s(){var a=e.apply(this,arguments);return a!==n&&(o=(n=a)&&Yg(t,a,r)),o}return i(s,"tween"),s._value=e,s}i(Gg,"styleTween");function xa(t,e,r){var o="style."+(t+="");if(arguments.length<2)return(o=this.tween(o))&&o._value;if(e==null)return this.tween(o,null);if(typeof e!="function")throw new Error;return this.tween(o,Gg(t,e,r??""))}i(xa,"default");function Vg(t){return function(){this.textContent=t}}i(Vg,"textConstant");function Xg(t){return function(){var e=t(this);this.textContent=e??""}}i(Xg,"textFunction");function ya(t){return this.tween("text",typeof t=="function"?Xg(Sr(this,"text",t)):Vg(t==null?"":t+""))}i(ya,"default");function jg(t){return function(e){this.textContent=t.call(this,e)}}i(jg,"textInterpolate");function Zg(t){var e,r;function o(){var n=t.apply(this,arguments);return n!==r&&(e=(r=n)&&jg(n)),e}return i(o,"tween"),o._value=t,o}i(Zg,"textTween");function Ca(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,Zg(t))}i(Ca,"default");function _a(){for(var t=this._name,e=this._id,r=Ao(),o=this._groups,n=o.length,s=0;s<n;++s)for(var a=o[s],l=a.length,c,h=0;h<l;++h)if(c=a[h]){var u=mt(c,e);me(c,t,r,h,a,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Dt(o,this._parents,t,r)}i(_a,"default");function ba(){var t,e,r=this,o=r._id,n=r.size();return new Promise(function(s,a){var l={value:a},c={value:i(function(){--n===0&&s()},"value")};r.each(function(){var h=wt(this,o),u=h.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(l),e._.interrupt.push(l),e._.end.push(c)),h.on=e}),n===0&&s()})}i(ba,"default");var Kg=0;function Dt(t,e,r,o){this._groups=t,this._parents=e,this._name=r,this._id=o}i(Dt,"Transition");function ru(t){return le().transition(t)}i(ru,"transition");function Ao(){return++Kg}i(Ao,"newId");var pe=le.prototype;Dt.prototype=ru.prototype={constructor:Dt,select:ma,selectAll:pa,selectChild:pe.selectChild,selectChildren:pe.selectChildren,filter:ha,merge:ca,selection:da,transition:_a,call:pe.call,nodes:pe.nodes,node:pe.node,size:pe.size,empty:pe.empty,each:pe.each,on:ua,attr:ia,attrTween:oa,style:ga,styleTween:xa,text:ya,textTween:Ca,remove:fa,tween:ra,delay:na,duration:sa,ease:aa,easeVarying:la,end:ba,[Symbol.iterator]:pe[Symbol.iterator]};function Eo(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}i(Eo,"cubicInOut");var Qg={time:null,delay:0,duration:250,ease:Eo};function Jg(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}i(Jg,"inherit");function Ta(t){var e,r;t instanceof Dt?(e=t._id,t=t._name):(e=Ao(),(r=Qg).time=hi(),t=t==null?null:t+"");for(var o=this._groups,n=o.length,s=0;s<n;++s)for(var a=o[s],l=a.length,c,h=0;h<l;++h)(c=a[h])&&me(c,t,e,h,a,r||Jg(c,e));return new Dt(o,this._parents,t,e)}i(Ta,"default");le.prototype.interrupt=ea;le.prototype.transition=Ta;var{abs:DL,max:OL,min:IL}=Math;function iu(t){return[+t[0],+t[1]]}i(iu,"number1");function tx(t){return[iu(t[0]),iu(t[1])]}i(tx,"number2");var RL={name:"x",handles:["w","e"].map(ka),input:i(function(t,e){return t==null?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},"input"),output:i(function(t){return t&&[t[0][0],t[1][0]]},"output")},NL={name:"y",handles:["n","s"].map(ka),input:i(function(t,e){return t==null?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},"input"),output:i(function(t){return t&&[t[0][1],t[1][1]]},"output")},qL={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(ka),input:i(function(t){return t==null?null:tx(t)},"input"),output:i(function(t){return t},"output")};function ka(t){return{type:t}}i(ka,"type");function Me(t,e,r){this.k=t,this.x=e,this.y=r}i(Me,"Transform");Me.prototype={constructor:Me,scale:i(function(t){return t===1?this:new Me(this.k*t,this.x,this.y)},"scale"),translate:i(function(t,e){return t===0&e===0?this:new Me(this.k,this.x+this.k*t,this.y+this.k*e)},"translate"),apply:i(function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},"apply"),applyX:i(function(t){return t*this.k+this.x},"applyX"),applyY:i(function(t){return t*this.k+this.y},"applyY"),invert:i(function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},"invert"),invertX:i(function(t){return(t-this.x)/this.k},"invertX"),invertY:i(function(t){return(t-this.y)/this.k},"invertY"),rescaleX:i(function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},"rescaleX"),rescaleY:i(function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},"rescaleY"),toString:i(function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"},"toString")};var Sa=new Me(1,0,0);va.prototype=Me.prototype;function va(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Sa;return t.__zoom}i(va,"transform");export{Ya as a,tt as b,Va as c,Xa as d,ja as e,bi as f,Ti as g,cx as h,ux as i,fx as j,Lt as k,se as l,ku as m,Wt as n,A as o,R as p,hl as q,ye as r,dl as s,Fi as t,Ar as u,Ou as v,eC as w,rC as x,iC as y,yl as z,Er as A,oC as B,nC as C,er as D,qr as E,De as F,uf as G,uC as H,Rl as I,fC as J,gf as K,mC as L,Cf as M,zl as N,_C as O,bf as P,Tf as Q,kf as R,Sf as S,vf as T,wf as U,Bf as V,cn as W,Wl as X,EC as Y,DC as Z,Mf as _,Lf as $,OC as aa,IC as ba,Hl as ca,Ul as da,Gf as ea,Vf as fa,rh as ga,ip as ha,Vr as ia,Us as ja,Os as ka,Pe as la,te as ma,mr as na,pr as oa,ue as pa,fe as qa,dr as ra,zh as sa,Ph as ta,we as ua,$h as va,Wh as wa,xr as xa,uo as ya,dc as za,Wd as Aa,_c as Ba,go as Ca,Sc as Da,vc as Ea,Kd as Fa,Qd as Ga,wc as Ha,Fc as Ia,Lc as Ja,Jd as Ka,tg as La,eg as Ma,rg as Na,ig as Oa,og as Pa,ng as Qa,Rc as Ra,sg as Sa,ag as Ta,Uc as Ua,Yc as Va,lg as Wa,hg as Xa}; +/*! Bundled license information: + +dompurify/dist/purify.es.mjs: + (*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE *) +*/ |