import{b as Wa,d as Ua}from"./chunk-P42HNYSU.min.js";var _c=Wa((Ha,Ya)=>{(function(t,e){typeof Ha=="object"&&typeof Ya<"u"?Ya.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(Ha,function(){"use strict";var t=1e3,e=6e4,r=36e5,i="millisecond",n="second",o="minute",a="hour",s="day",l="week",c="month",u="quarter",h="year",f="date",p="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|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,w={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:function(C){var T=["th","st","nd","rd"],g=C%100;return"["+C+(T[(g-20)%10]||T[g]||T[0])+"]"}},M=function(C,T,g){var v=String(C);return!v||v.length>=T?C:""+Array(T+1-v.length).join(g)+C},_={s:M,z:function(C){var T=-C.utcOffset(),g=Math.abs(T),v=Math.floor(g/60),A=g%60;return(T<=0?"+":"-")+M(v,2,"0")+":"+M(A,2,"0")},m:function C(T,g){if(T.date()<g.date())return-C(g,T);var v=12*(g.year()-T.year())+(g.month()-T.month()),A=T.clone().add(v,c),P=g-A<0,D=T.clone().add(v+(P?-1:1),c);return+(-(v+(g-A)/(P?A-D:D-A))||0)},a:function(C){return C<0?Math.ceil(C)||0:Math.floor(C)},p:function(C){return{M:c,y:h,w:l,d:s,D:f,h:a,m:o,s:n,ms:i,Q:u}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},F="en",N={};N[F]=w;var O=function(C){return C instanceof rt},B=function C(T,g,v){var A;if(!T)return F;if(typeof T=="string"){var P=T.toLowerCase();N[P]&&(A=P),g&&(N[P]=g,A=P);var D=T.split("-");if(!A&&D.length>1)return C(D[0])}else{var j=T.name;N[j]=T,A=j}return!v&&A&&(F=A),A||!v&&F},y=function(C,T){if(O(C))return C.clone();var g=typeof T=="object"?T:{};return g.date=C,g.args=arguments,new rt(g)},q=_;q.l=B,q.i=O,q.w=function(C,T){return y(C,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var rt=function(){function C(g){this.$L=B(g.locale,null,!0),this.parse(g)}var T=C.prototype;return T.parse=function(g){this.$d=function(v){var A=v.date,P=v.utc;if(A===null)return new Date(NaN);if(q.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var D=A.match(x);if(D){var j=D[2]-1||0,V=(D[7]||"0").substring(0,3);return P?new Date(Date.UTC(D[1],j,D[3]||1,D[4]||0,D[5]||0,D[6]||0,V)):new Date(D[1],j,D[3]||1,D[4]||0,D[5]||0,D[6]||0,V)}}return new Date(A)}(g),this.$x=g.x||{},this.init()},T.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},T.$utils=function(){return q},T.isValid=function(){return this.$d.toString()!==p},T.isSame=function(g,v){var A=y(g);return this.startOf(v)<=A&&A<=this.endOf(v)},T.isAfter=function(g,v){return y(g)<this.startOf(v)},T.isBefore=function(g,v){return this.endOf(v)<y(g)},T.$g=function(g,v,A){return q.u(g)?this[v]:this.set(A,g)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(g,v){var A=this,P=!!q.u(v)||v,D=q.p(g),j=function(Rt,ht){var It=q.w(A.$u?Date.UTC(A.$y,ht,Rt):new Date(A.$y,ht,Rt),A);return P?It:It.endOf(s)},V=function(Rt,ht){return q.w(A.toDate()[Rt].apply(A.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(ht)),A)},Z=this.$W,at=this.$M,Bt=this.$D,Ft="set"+(this.$u?"UTC":"");switch(D){case h:return P?j(1,0):j(31,11);case c:return P?j(1,at):j(0,at+1);case l:var Gt=this.$locale().weekStart||0,gt=(Z<Gt?Z+7:Z)-Gt;return j(P?Bt-gt:Bt+(6-gt),at);case s:case f:return V(Ft+"Hours",0);case a:return V(Ft+"Minutes",1);case o:return V(Ft+"Seconds",2);case n:return V(Ft+"Milliseconds",3);default:return this.clone()}},T.endOf=function(g){return this.startOf(g,!1)},T.$set=function(g,v){var A,P=q.p(g),D="set"+(this.$u?"UTC":""),j=(A={},A[s]=D+"Date",A[f]=D+"Date",A[c]=D+"Month",A[h]=D+"FullYear",A[a]=D+"Hours",A[o]=D+"Minutes",A[n]=D+"Seconds",A[i]=D+"Milliseconds",A)[P],V=P===s?this.$D+(v-this.$W):v;if(P===c||P===h){var Z=this.clone().set(f,1);Z.$d[j](V),Z.init(),this.$d=Z.set(f,Math.min(this.$D,Z.daysInMonth())).$d}else j&&this.$d[j](V);return this.init(),this},T.set=function(g,v){return this.clone().$set(g,v)},T.get=function(g){return this[q.p(g)]()},T.add=function(g,v){var A,P=this;g=Number(g);var D=q.p(v),j=function(at){var Bt=y(P);return q.w(Bt.date(Bt.date()+Math.round(at*g)),P)};if(D===c)return this.set(c,this.$M+g);if(D===h)return this.set(h,this.$y+g);if(D===s)return j(1);if(D===l)return j(7);var V=(A={},A[o]=e,A[a]=r,A[n]=t,A)[D]||1,Z=this.$d.getTime()+g*V;return q.w(Z,this)},T.subtract=function(g,v){return this.add(-1*g,v)},T.format=function(g){var v=this,A=this.$locale();if(!this.isValid())return A.invalidDate||p;var P=g||"YYYY-MM-DDTHH:mm:ssZ",D=q.z(this),j=this.$H,V=this.$m,Z=this.$M,at=A.weekdays,Bt=A.months,Ft=function(ht,It,E,G){return ht&&(ht[It]||ht(v,P))||E[It].slice(0,G)},Gt=function(ht){return q.s(j%12||12,ht,"0")},gt=A.meridiem||function(ht,It,E){var G=ht<12?"AM":"PM";return E?G.toLowerCase():G},Rt={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Z+1,MM:q.s(Z+1,2,"0"),MMM:Ft(A.monthsShort,Z,Bt,3),MMMM:Ft(Bt,Z),D:this.$D,DD:q.s(this.$D,2,"0"),d:String(this.$W),dd:Ft(A.weekdaysMin,this.$W,at,2),ddd:Ft(A.weekdaysShort,this.$W,at,3),dddd:at[this.$W],H:String(j),HH:q.s(j,2,"0"),h:Gt(1),hh:Gt(2),a:gt(j,V,!0),A:gt(j,V,!1),m:String(V),mm:q.s(V,2,"0"),s:String(this.$s),ss:q.s(this.$s,2,"0"),SSS:q.s(this.$ms,3,"0"),Z:D};return P.replace(b,function(ht,It){return It||Rt[ht]||D.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(g,v,A){var P,D=q.p(v),j=y(g),V=(j.utcOffset()-this.utcOffset())*e,Z=this-j,at=q.m(this,j);return at=(P={},P[h]=at/12,P[c]=at,P[u]=at/3,P[l]=(Z-V)/6048e5,P[s]=(Z-V)/864e5,P[a]=Z/r,P[o]=Z/e,P[n]=Z/t,P)[D]||Z,A?at:q.a(at)},T.daysInMonth=function(){return this.endOf(c).$D},T.$locale=function(){return N[this.$L]},T.locale=function(g,v){if(!g)return this.$L;var A=this.clone(),P=B(g,v,!0);return P&&(A.$L=P),A},T.clone=function(){return q.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},C}(),et=rt.prototype;return y.prototype=et,[["$ms",i],["$s",n],["$m",o],["$H",a],["$W",s],["$M",c],["$y",h],["$D",f]].forEach(function(C){et[C[1]]=function(T){return this.$g(T,C[0],C[1])}}),y.extend=function(C,T){return C.$i||(C(T,rt,y),C.$i=!0),y},y.locale=B,y.isDayjs=O,y.unix=function(C){return y(1e3*C)},y.en=N[F],y.Ls=N,y.p={},y})});var bc=Wa(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.sanitizeUrl=void 0;var jg=/^([^\w]*)(javascript|data|vbscript)/im,Gg=/&#(\w+)(^\w|;)?/g,Vg=/&(newline|tab);/gi,Xg=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,Kg=/^.+(:|&colon;)/gim,Zg=[".","/"];function Qg(t){return Zg.indexOf(t[0])>-1}function Jg(t){return t.replace(Gg,function(e,r){return String.fromCharCode(r)})}function t0(t){var e=Jg(t||"").replace(Vg,"").replace(Xg,"").trim();if(!e)return"about:blank";if(Qg(e))return e;var r=e.match(Kg);if(!r)return e;var i=r[0];return jg.test(i)?"about:blank":e}wn.sanitizeUrl=t0});var Yf=Wa((pl,dl)=>{(function(t,e){typeof pl=="object"&&typeof dl<"u"?dl.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.DOMPurify=e())})(pl,function(){"use strict";let{entries:t,setPrototypeOf:e,isFrozen:r,getPrototypeOf:i,getOwnPropertyDescriptor:n}=Object,{freeze:o,seal:a,create:s}=Object,{apply:l,construct:c}=typeof Reflect<"u"&&Reflect;l||(l=function(R,Q,J){return R.apply(Q,J)}),o||(o=function(R){return R}),a||(a=function(R){return R}),c||(c=function(R,Q){return new R(...Q)});let u=O(Array.prototype.forEach),h=O(Array.prototype.pop),f=O(Array.prototype.push),p=O(String.prototype.toLowerCase),x=O(String.prototype.toString),b=O(String.prototype.match),w=O(String.prototype.replace),M=O(String.prototype.indexOf),_=O(String.prototype.trim),F=O(RegExp.prototype.test),N=B(TypeError);function O(X){return function(R){for(var Q=arguments.length,J=new Array(Q>1?Q-1:0),bt=1;bt<Q;bt++)J[bt-1]=arguments[bt];return l(X,R,J)}}function B(X){return function(){for(var R=arguments.length,Q=new Array(R),J=0;J<R;J++)Q[J]=arguments[J];return c(X,Q)}}function y(X,R,Q){var J;Q=(J=Q)!==null&&J!==void 0?J:p,e&&e(X,null);let bt=R.length;for(;bt--;){let te=R[bt];if(typeof te=="string"){let le=Q(te);le!==te&&(r(R)||(R[bt]=le),te=le)}X[te]=!0}return X}function q(X){let R=s(null);for(let[Q,J]of t(X))R[Q]=J;return R}function rt(X,R){for(;X!==null;){let J=n(X,R);if(J){if(J.get)return O(J.get);if(typeof J.value=="function")return O(J.value)}X=i(X)}function Q(J){return console.warn("fallback value for",J),null}return Q}let et=o(["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"]),C=o(["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"]),T=o(["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"]),g=o(["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"]),v=o(["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"]),A=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),D=o(["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","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","xmlns","slot"]),j=o(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),V=o(["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"]),Z=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),at=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Bt=a(/<%[\w\W]*|[\w\W]*%>/gm),Ft=a(/\${[\w\W]*}/gm),Gt=a(/^data-[\-\w.\u00B7-\uFFFF]/),gt=a(/^aria-[\-\w]+$/),Rt=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ht=a(/^(?:\w+script|data):/i),It=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),E=a(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:at,ERB_EXPR:Bt,TMPLIT_EXPR:Ft,DATA_ATTR:Gt,ARIA_ATTR:gt,IS_ALLOWED_URI:Rt,IS_SCRIPT_OR_DATA:ht,ATTR_WHITESPACE:It,DOCTYPE_NAME:E});let K=()=>typeof window>"u"?null:window,S=function(R,Q){if(typeof R!="object"||typeof R.createPolicy!="function")return null;let J=null,bt="data-tt-policy-suffix";Q&&Q.hasAttribute(bt)&&(J=Q.getAttribute(bt));let te="dompurify"+(J?"#"+J:"");try{return R.createPolicy(te,{createHTML(le){return le},createScriptURL(le){return le}})}catch{return console.warn("TrustedTypes policy "+te+" could not be created."),null}};function At(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:K(),R=U=>At(U);if(R.version="3.0.5",R.removed=[],!X||!X.document||X.document.nodeType!==9)return R.isSupported=!1,R;let Q=X.document,J=Q.currentScript,{document:bt}=X,{DocumentFragment:te,HTMLTemplateElement:le,Node:va,Element:Vl,NodeFilter:Sa,NamedNodeMap:Sg=X.NamedNodeMap||X.MozNamedAttrMap,HTMLFormElement:kg,DOMParser:wg,trustedTypes:yn}=X,_n=Vl.prototype,Bg=rt(_n,"cloneNode"),Fg=rt(_n,"nextSibling"),Ag=rt(_n,"childNodes"),ka=rt(_n,"parentNode");if(typeof le=="function"){let U=bt.createElement("template");U.content&&U.content.ownerDocument&&(bt=U.content.ownerDocument)}let Pt,Si="",{implementation:wa,createNodeIterator:Mg,createDocumentFragment:Lg,getElementsByTagName:Eg}=bt,{importNode:Og}=Q,ce={};R.isSupported=typeof t=="function"&&typeof ka=="function"&&wa&&wa.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Ba,ERB_EXPR:Fa,TMPLIT_EXPR:Aa,DATA_ATTR:Ig,ARIA_ATTR:Dg,IS_SCRIPT_OR_DATA:Ng,ATTR_WHITESPACE:Xl}=G,{IS_ALLOWED_URI:Kl}=G,Ct=null,Zl=y({},[...et,...C,...T,...v,...P]),Tt=null,Ql=y({},[...D,...j,...V,...Z]),ft=Object.seal(Object.create(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}})),ki=null,Ma=null,Jl=!0,La=!0,tc=!1,ec=!0,Or=!1,er=!1,Ea=!1,Oa=!1,Ir=!1,bn=!1,Cn=!1,rc=!0,ic=!1,Rg="user-content-",Ia=!0,wi=!1,Dr={},Nr=null,nc=y({},["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"]),oc=null,ac=y({},["audio","video","img","source","image","track"]),Da=null,sc=y({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Tn="http://www.w3.org/1998/Math/MathML",vn="http://www.w3.org/2000/svg",_e="http://www.w3.org/1999/xhtml",Rr=_e,Na=!1,Ra=null,Pg=y({},[Tn,vn,_e],x),rr,$g=["application/xhtml+xml","text/html"],zg="text/html",vt,Pr=null,qg=bt.createElement("form"),lc=function(d){return d instanceof RegExp||d instanceof Function},Pa=function(d){if(!(Pr&&Pr===d)){if((!d||typeof d!="object")&&(d={}),d=q(d),rr=$g.indexOf(d.PARSER_MEDIA_TYPE)===-1?rr=zg:rr=d.PARSER_MEDIA_TYPE,vt=rr==="application/xhtml+xml"?x:p,Ct="ALLOWED_TAGS"in d?y({},d.ALLOWED_TAGS,vt):Zl,Tt="ALLOWED_ATTR"in d?y({},d.ALLOWED_ATTR,vt):Ql,Ra="ALLOWED_NAMESPACES"in d?y({},d.ALLOWED_NAMESPACES,x):Pg,Da="ADD_URI_SAFE_ATTR"in d?y(q(sc),d.ADD_URI_SAFE_ATTR,vt):sc,oc="ADD_DATA_URI_TAGS"in d?y(q(ac),d.ADD_DATA_URI_TAGS,vt):ac,Nr="FORBID_CONTENTS"in d?y({},d.FORBID_CONTENTS,vt):nc,ki="FORBID_TAGS"in d?y({},d.FORBID_TAGS,vt):{},Ma="FORBID_ATTR"in d?y({},d.FORBID_ATTR,vt):{},Dr="USE_PROFILES"in d?d.USE_PROFILES:!1,Jl=d.ALLOW_ARIA_ATTR!==!1,La=d.ALLOW_DATA_ATTR!==!1,tc=d.ALLOW_UNKNOWN_PROTOCOLS||!1,ec=d.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Or=d.SAFE_FOR_TEMPLATES||!1,er=d.WHOLE_DOCUMENT||!1,Ir=d.RETURN_DOM||!1,bn=d.RETURN_DOM_FRAGMENT||!1,Cn=d.RETURN_TRUSTED_TYPE||!1,Oa=d.FORCE_BODY||!1,rc=d.SANITIZE_DOM!==!1,ic=d.SANITIZE_NAMED_PROPS||!1,Ia=d.KEEP_CONTENT!==!1,wi=d.IN_PLACE||!1,Kl=d.ALLOWED_URI_REGEXP||Rt,Rr=d.NAMESPACE||_e,ft=d.CUSTOM_ELEMENT_HANDLING||{},d.CUSTOM_ELEMENT_HANDLING&&lc(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ft.tagNameCheck=d.CUSTOM_ELEMENT_HANDLING.tagNameCheck),d.CUSTOM_ELEMENT_HANDLING&&lc(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ft.attributeNameCheck=d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),d.CUSTOM_ELEMENT_HANDLING&&typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ft.allowCustomizedBuiltInElements=d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Or&&(La=!1),bn&&(Ir=!0),Dr&&(Ct=y({},[...P]),Tt=[],Dr.html===!0&&(y(Ct,et),y(Tt,D)),Dr.svg===!0&&(y(Ct,C),y(Tt,j),y(Tt,Z)),Dr.svgFilters===!0&&(y(Ct,T),y(Tt,j),y(Tt,Z)),Dr.mathMl===!0&&(y(Ct,v),y(Tt,V),y(Tt,Z))),d.ADD_TAGS&&(Ct===Zl&&(Ct=q(Ct)),y(Ct,d.ADD_TAGS,vt)),d.ADD_ATTR&&(Tt===Ql&&(Tt=q(Tt)),y(Tt,d.ADD_ATTR,vt)),d.ADD_URI_SAFE_ATTR&&y(Da,d.ADD_URI_SAFE_ATTR,vt),d.FORBID_CONTENTS&&(Nr===nc&&(Nr=q(Nr)),y(Nr,d.FORBID_CONTENTS,vt)),Ia&&(Ct["#text"]=!0),er&&y(Ct,["html","head","body"]),Ct.table&&(y(Ct,["tbody"]),delete ki.tbody),d.TRUSTED_TYPES_POLICY){if(typeof d.TRUSTED_TYPES_POLICY.createHTML!="function")throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof d.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Pt=d.TRUSTED_TYPES_POLICY,Si=Pt.createHTML("")}else Pt===void 0&&(Pt=S(yn,J)),Pt!==null&&typeof Si=="string"&&(Si=Pt.createHTML(""));o&&o(d),Pr=d}},cc=y({},["mi","mo","mn","ms","mtext"]),uc=y({},["foreignobject","desc","title","annotation-xml"]),Wg=y({},["title","style","font","a","script"]),Sn=y({},C);y(Sn,T),y(Sn,g);let $a=y({},v);y($a,A);let Ug=function(d){let k=ka(d);(!k||!k.tagName)&&(k={namespaceURI:Rr,tagName:"template"});let I=p(d.tagName),nt=p(k.tagName);return Ra[d.namespaceURI]?d.namespaceURI===vn?k.namespaceURI===_e?I==="svg":k.namespaceURI===Tn?I==="svg"&&(nt==="annotation-xml"||cc[nt]):!!Sn[I]:d.namespaceURI===Tn?k.namespaceURI===_e?I==="math":k.namespaceURI===vn?I==="math"&&uc[nt]:!!$a[I]:d.namespaceURI===_e?k.namespaceURI===vn&&!uc[nt]||k.namespaceURI===Tn&&!cc[nt]?!1:!$a[I]&&(Wg[I]||!Sn[I]):!!(rr==="application/xhtml+xml"&&Ra[d.namespaceURI]):!1},ir=function(d){f(R.removed,{element:d});try{d.parentNode.removeChild(d)}catch{d.remove()}},za=function(d,k){try{f(R.removed,{attribute:k.getAttributeNode(d),from:k})}catch{f(R.removed,{attribute:null,from:k})}if(k.removeAttribute(d),d==="is"&&!Tt[d])if(Ir||bn)try{ir(k)}catch{}else try{k.setAttribute(d,"")}catch{}},hc=function(d){let k,I;if(Oa)d="<remove></remove>"+d;else{let Xt=b(d,/^[\r\n\t ]+/);I=Xt&&Xt[0]}rr==="application/xhtml+xml"&&Rr===_e&&(d='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+d+"</body></html>");let nt=Pt?Pt.createHTML(d):d;if(Rr===_e)try{k=new wg().parseFromString(nt,rr)}catch{}if(!k||!k.documentElement){k=wa.createDocument(Rr,"template",null);try{k.documentElement.innerHTML=Na?Si:nt}catch{}}let St=k.body||k.documentElement;return d&&I&&St.insertBefore(bt.createTextNode(I),St.childNodes[0]||null),Rr===_e?Eg.call(k,er?"html":"body")[0]:er?k.documentElement:St},fc=function(d){return Mg.call(d.ownerDocument||d,d,Sa.SHOW_ELEMENT|Sa.SHOW_COMMENT|Sa.SHOW_TEXT,null,!1)},Hg=function(d){return d instanceof kg&&(typeof d.nodeName!="string"||typeof d.textContent!="string"||typeof d.removeChild!="function"||!(d.attributes instanceof Sg)||typeof d.removeAttribute!="function"||typeof d.setAttribute!="function"||typeof d.namespaceURI!="string"||typeof d.insertBefore!="function"||typeof d.hasChildNodes!="function")},kn=function(d){return typeof va=="object"?d instanceof va:d&&typeof d=="object"&&typeof d.nodeType=="number"&&typeof d.nodeName=="string"},be=function(d,k,I){ce[d]&&u(ce[d],nt=>{nt.call(R,k,I,Pr)})},pc=function(d){let k;if(be("beforeSanitizeElements",d,null),Hg(d))return ir(d),!0;let I=vt(d.nodeName);if(be("uponSanitizeElement",d,{tagName:I,allowedTags:Ct}),d.hasChildNodes()&&!kn(d.firstElementChild)&&(!kn(d.content)||!kn(d.content.firstElementChild))&&F(/<[/\w]/g,d.innerHTML)&&F(/<[/\w]/g,d.textContent))return ir(d),!0;if(!Ct[I]||ki[I]){if(!ki[I]&&mc(I)&&(ft.tagNameCheck instanceof RegExp&&F(ft.tagNameCheck,I)||ft.tagNameCheck instanceof Function&&ft.tagNameCheck(I)))return!1;if(Ia&&!Nr[I]){let nt=ka(d)||d.parentNode,St=Ag(d)||d.childNodes;if(St&&nt){let Xt=St.length;for(let ut=Xt-1;ut>=0;--ut)nt.insertBefore(Bg(St[ut],!0),Fg(d))}}return ir(d),!0}return d instanceof Vl&&!Ug(d)||(I==="noscript"||I==="noembed"||I==="noframes")&&F(/<\/no(script|embed|frames)/i,d.innerHTML)?(ir(d),!0):(Or&&d.nodeType===3&&(k=d.textContent,k=w(k,Ba," "),k=w(k,Fa," "),k=w(k,Aa," "),d.textContent!==k&&(f(R.removed,{element:d.cloneNode()}),d.textContent=k)),be("afterSanitizeElements",d,null),!1)},dc=function(d,k,I){if(rc&&(k==="id"||k==="name")&&(I in bt||I in qg))return!1;if(!(La&&!Ma[k]&&F(Ig,k))){if(!(Jl&&F(Dg,k))){if(!Tt[k]||Ma[k]){if(!(mc(d)&&(ft.tagNameCheck instanceof RegExp&&F(ft.tagNameCheck,d)||ft.tagNameCheck instanceof Function&&ft.tagNameCheck(d))&&(ft.attributeNameCheck instanceof RegExp&&F(ft.attributeNameCheck,k)||ft.attributeNameCheck instanceof Function&&ft.attributeNameCheck(k))||k==="is"&&ft.allowCustomizedBuiltInElements&&(ft.tagNameCheck instanceof RegExp&&F(ft.tagNameCheck,I)||ft.tagNameCheck instanceof Function&&ft.tagNameCheck(I))))return!1}else if(!Da[k]){if(!F(Kl,w(I,Xl,""))){if(!((k==="src"||k==="xlink:href"||k==="href")&&d!=="script"&&M(I,"data:")===0&&oc[d])){if(!(tc&&!F(Ng,w(I,Xl,"")))){if(I)return!1}}}}}}return!0},mc=function(d){return d.indexOf("-")>0},gc=function(d){let k,I,nt,St;be("beforeSanitizeAttributes",d,null);let{attributes:Xt}=d;if(!Xt)return;let ut={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Tt};for(St=Xt.length;St--;){k=Xt[St];let{name:ue,namespaceURI:qa}=k;if(I=ue==="value"?k.value:_(k.value),nt=vt(ue),ut.attrName=nt,ut.attrValue=I,ut.keepAttr=!0,ut.forceKeepAttr=void 0,be("uponSanitizeAttribute",d,ut),I=ut.attrValue,ut.forceKeepAttr||(za(ue,d),!ut.keepAttr))continue;if(!ec&&F(/\/>/i,I)){za(ue,d);continue}Or&&(I=w(I,Ba," "),I=w(I,Fa," "),I=w(I,Aa," "));let xc=vt(d.nodeName);if(dc(xc,nt,I)){if(ic&&(nt==="id"||nt==="name")&&(za(ue,d),I=Rg+I),Pt&&typeof yn=="object"&&typeof yn.getAttributeType=="function"&&!qa)switch(yn.getAttributeType(xc,nt)){case"TrustedHTML":{I=Pt.createHTML(I);break}case"TrustedScriptURL":{I=Pt.createScriptURL(I);break}}try{qa?d.setAttributeNS(qa,ue,I):d.setAttribute(ue,I),h(R.removed)}catch{}}}be("afterSanitizeAttributes",d,null)},Yg=function U(d){let k,I=fc(d);for(be("beforeSanitizeShadowDOM",d,null);k=I.nextNode();)be("uponSanitizeShadowNode",k,null),!pc(k)&&(k.content instanceof te&&U(k.content),gc(k));be("afterSanitizeShadowDOM",d,null)};return R.sanitize=function(U){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k,I,nt,St;if(Na=!U,Na&&(U="<!-->"),typeof U!="string"&&!kn(U))if(typeof U.toString=="function"){if(U=U.toString(),typeof U!="string")throw N("dirty is not a string, aborting")}else throw N("toString is not a function");if(!R.isSupported)return U;if(Ea||Pa(d),R.removed=[],typeof U=="string"&&(wi=!1),wi){if(U.nodeName){let ue=vt(U.nodeName);if(!Ct[ue]||ki[ue])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(U instanceof va)k=hc("<!---->"),I=k.ownerDocument.importNode(U,!0),I.nodeType===1&&I.nodeName==="BODY"||I.nodeName==="HTML"?k=I:k.appendChild(I);else{if(!Ir&&!Or&&!er&&U.indexOf("<")===-1)return Pt&&Cn?Pt.createHTML(U):U;if(k=hc(U),!k)return Ir?null:Cn?Si:""}k&&Oa&&ir(k.firstChild);let Xt=fc(wi?U:k);for(;nt=Xt.nextNode();)pc(nt)||(nt.content instanceof te&&Yg(nt.content),gc(nt));if(wi)return U;if(Ir){if(bn)for(St=Lg.call(k.ownerDocument);k.firstChild;)St.appendChild(k.firstChild);else St=k;return(Tt.shadowroot||Tt.shadowrootmode)&&(St=Og.call(Q,St,!0)),St}let ut=er?k.outerHTML:k.innerHTML;return er&&Ct["!doctype"]&&k.ownerDocument&&k.ownerDocument.doctype&&k.ownerDocument.doctype.name&&F(E,k.ownerDocument.doctype.name)&&(ut="<!DOCTYPE "+k.ownerDocument.doctype.name+`>
`+ut),Or&&(ut=w(ut,Ba," "),ut=w(ut,Fa," "),ut=w(ut,Aa," ")),Pt&&Cn?Pt.createHTML(ut):ut},R.setConfig=function(U){Pa(U),Ea=!0},R.clearConfig=function(){Pr=null,Ea=!1},R.isValidAttribute=function(U,d,k){Pr||Pa({});let I=vt(U),nt=vt(d);return dc(I,nt,k)},R.addHook=function(U,d){typeof d=="function"&&(ce[U]=ce[U]||[],f(ce[U],d))},R.removeHook=function(U){if(ce[U])return h(ce[U])},R.removeHooks=function(U){ce[U]&&(ce[U]=[])},R.removeAllHooks=function(){ce={}},R}var it=At();return it})});function yc(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var i=Array.from(typeof t=="string"?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var n=i.reduce(function(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var h,f;return(f=(h=u.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&f!==void 0?f:0})):s},[]);if(n.length){var o=new RegExp(`
[	 ]{`+Math.min.apply(Math,n)+"}","g");i=i.map(function(s){return s.replace(o,`
`)})}i[0]=i[0].replace(/^\r?\n/,"");var a=i[0];return e.forEach(function(s,l){var c=a.match(/(?:^|\n)( *)$/),u=c?c[1]:"",h=s;typeof s=="string"&&s.includes(`
`)&&(h=String(s).split(`
`).map(function(f,p){return p===0?f:""+u+f}).join(`
`)),a+=h+i[l+1]}),a}function Cc(t,e){let r;if(e===void 0)for(let i of t)i!=null&&(r<i||r===void 0&&i>=i)&&(r=i);else{let i=-1;for(let n of t)(n=e(n,++i,t))!=null&&(r<n||r===void 0&&n>=n)&&(r=n)}return r}function Tc(t,e){let r;if(e===void 0)for(let i of t)i!=null&&(r>i||r===void 0&&i>=i)&&(r=i);else{let i=-1;for(let n of t)(n=e(n,++i,t))!=null&&(r>n||r===void 0&&n>=n)&&(r=n)}return r}function nr(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function ja(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function or(t){let e,r,i;t.length!==2?(e=nr,r=(s,l)=>nr(t(s),l),i=(s,l)=>t(s)-l):(e=t===nr||t===ja?t:e0,r=t,i=t);function n(s,l,c=0,u=s.length){if(c<u){if(e(l,l)!==0)return u;do{let h=c+u>>>1;r(s[h],l)<0?c=h+1:u=h}while(c<u)}return c}function o(s,l,c=0,u=s.length){if(c<u){if(e(l,l)!==0)return u;do{let h=c+u>>>1;r(s[h],l)<=0?c=h+1:u=h}while(c<u)}return c}function a(s,l,c=0,u=s.length){let h=n(s,l,c,u-1);return h>c&&i(s[h-1],l)>-i(s[h],l)?h-1:h}return{left:n,center:a,right:o}}function e0(){return 0}function Ga(t){return t===null?NaN:+t}var vc=or(nr),Sc=vc.right,r0=vc.left,i0=or(Ga).center,Va=Sc;var $r=class extends Map{constructor(e,r=a0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(let[i,n]of e)this.set(i,n)}get(e){return super.get(kc(this,e))}has(e){return super.has(kc(this,e))}set(e,r){return super.set(n0(this,e),r)}delete(e){return super.delete(o0(this,e))}};function kc({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):r}function n0({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):(t.set(i,r),r)}function o0({_intern:t,_key:e},r){let i=e(r);return t.has(i)&&(r=t.get(i),t.delete(i)),r}function a0(t){return t!==null&&typeof t=="object"?t.valueOf():t}var s0=Math.sqrt(50),l0=Math.sqrt(10),c0=Math.sqrt(2);function Bn(t,e,r){let i=(e-t)/Math.max(0,r),n=Math.floor(Math.log10(i)),o=i/Math.pow(10,n),a=o>=s0?10:o>=l0?5:o>=c0?2:1,s,l,c;return n<0?(c=Math.pow(10,-n)/a,s=Math.round(t*c),l=Math.round(e*c),s/c<t&&++s,l/c>e&&--l,c=-c):(c=Math.pow(10,n)*a,s=Math.round(t/c),l=Math.round(e/c),s*c<t&&++s,l*c>e&&--l),l<s&&.5<=r&&r<2?Bn(t,e,r*2):[s,l,c]}function Fn(t,e,r){if(e=+e,t=+t,r=+r,!(r>0))return[];if(t===e)return[t];let i=e<t,[n,o,a]=i?Bn(e,t,r):Bn(t,e,r);if(!(o>=n))return[];let s=o-n+1,l=new Array(s);if(i)if(a<0)for(let c=0;c<s;++c)l[c]=(o-c)/-a;else for(let c=0;c<s;++c)l[c]=(o-c)*a;else if(a<0)for(let c=0;c<s;++c)l[c]=(n+c)/-a;else for(let c=0;c<s;++c)l[c]=(n+c)*a;return l}function Bi(t,e,r){return e=+e,t=+t,r=+r,Bn(t,e,r)[2]}function zr(t,e,r){e=+e,t=+t,r=+r;let i=e<t,n=i?Bi(e,t,r):Bi(t,e,r);return(i?-1:1)*(n<0?1/-n:n)}function wc(t){return t}var Mn=1,Xa=2,Ka=3,An=4,Bc=1e-6;function u0(t){return"translate("+t+",0)"}function h0(t){return"translate(0,"+t+")"}function f0(t){return e=>+t(e)}function p0(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function d0(){return!this.__axis}function Fc(t,e){var r=[],i=null,n=null,o=6,a=6,s=3,l=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=t===Mn||t===An?-1:1,u=t===An||t===Xa?"x":"y",h=t===Mn||t===Ka?u0:h0;function f(p){var x=i??(e.ticks?e.ticks.apply(e,r):e.domain()),b=n??(e.tickFormat?e.tickFormat.apply(e,r):wc),w=Math.max(o,0)+s,M=e.range(),_=+M[0]+l,F=+M[M.length-1]+l,N=(e.bandwidth?p0:f0)(e.copy(),l),O=p.selection?p.selection():p,B=O.selectAll(".domain").data([null]),y=O.selectAll(".tick").data(x,e).order(),q=y.exit(),rt=y.enter().append("g").attr("class","tick"),et=y.select("line"),C=y.select("text");B=B.merge(B.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),y=y.merge(rt),et=et.merge(rt.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),C=C.merge(rt.append("text").attr("fill","currentColor").attr(u,c*w).attr("dy",t===Mn?"0em":t===Ka?"0.71em":"0.32em")),p!==O&&(B=B.transition(p),y=y.transition(p),et=et.transition(p),C=C.transition(p),q=q.transition(p).attr("opacity",Bc).attr("transform",function(T){return isFinite(T=N(T))?h(T+l):this.getAttribute("transform")}),rt.attr("opacity",Bc).attr("transform",function(T){var g=this.parentNode.__axis;return h((g&&isFinite(g=g(T))?g:N(T))+l)})),q.remove(),B.attr("d",t===An||t===Xa?a?"M"+c*a+","+_+"H"+l+"V"+F+"H"+c*a:"M"+l+","+_+"V"+F:a?"M"+_+","+c*a+"V"+l+"H"+F+"V"+c*a:"M"+_+","+l+"H"+F),y.attr("opacity",1).attr("transform",function(T){return h(N(T)+l)}),et.attr(u+"2",c*o),C.attr(u,c*w).text(b),O.filter(d0).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Xa?"start":t===An?"end":"middle"),O.each(function(){this.__axis=N})}return f.scale=function(p){return arguments.length?(e=p,f):e},f.ticks=function(){return r=Array.from(arguments),f},f.tickArguments=function(p){return arguments.length?(r=p==null?[]:Array.from(p),f):r.slice()},f.tickValues=function(p){return arguments.length?(i=p==null?null:Array.from(p),f):i&&i.slice()},f.tickFormat=function(p){return arguments.length?(n=p,f):n},f.tickSize=function(p){return arguments.length?(o=a=+p,f):o},f.tickSizeInner=function(p){return arguments.length?(o=+p,f):o},f.tickSizeOuter=function(p){return arguments.length?(a=+p,f):a},f.tickPadding=function(p){return arguments.length?(s=+p,f):s},f.offset=function(p){return arguments.length?(l=+p,f):l},f}function m0(t){return Fc(Mn,t)}function g0(t){return Fc(Ka,t)}function x0(){}function ar(t){return t==null?x0:function(){return this.querySelector(t)}}function Ac(t){typeof t!="function"&&(t=ar(t));for(var e=this._groups,r=e.length,i=new Array(r),n=0;n<r;++n)for(var o=e[n],a=o.length,s=i[n]=new Array(a),l,c,u=0;u<a;++u)(l=o[u])&&(c=t.call(l,l.__data__,u,o))&&("__data__"in l&&(c.__data__=l.__data__),s[u]=c);return new st(i,this._parents)}function Fi(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function y0(){return[]}function Ai(t){return t==null?y0:function(){return this.querySelectorAll(t)}}function _0(t){return function(){return Fi(t.apply(this,arguments))}}function Mc(t){typeof t=="function"?t=_0(t):t=Ai(t);for(var e=this._groups,r=e.length,i=[],n=[],o=0;o<r;++o)for(var a=e[o],s=a.length,l,c=0;c<s;++c)(l=a[c])&&(i.push(t.call(l,l.__data__,c,a)),n.push(l));return new st(i,n)}function Mi(t){return function(){return this.matches(t)}}function Ln(t){return function(e){return e.matches(t)}}var b0=Array.prototype.find;function C0(t){return function(){return b0.call(this.children,t)}}function T0(){return this.firstElementChild}function Lc(t){return this.select(t==null?T0:C0(typeof t=="function"?t:Ln(t)))}var v0=Array.prototype.filter;function S0(){return Array.from(this.children)}function k0(t){return function(){return v0.call(this.children,t)}}function Ec(t){return this.selectAll(t==null?S0:k0(typeof t=="function"?t:Ln(t)))}function Oc(t){typeof t!="function"&&(t=Mi(t));for(var e=this._groups,r=e.length,i=new Array(r),n=0;n<r;++n)for(var o=e[n],a=o.length,s=i[n]=[],l,c=0;c<a;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&s.push(l);return new st(i,this._parents)}function En(t){return new Array(t.length)}function Ic(){return new st(this._enter||this._groups.map(En),this._parents)}function Li(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Li.prototype={constructor:Li,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function Dc(t){return function(){return t}}function w0(t,e,r,i,n,o){for(var a=0,s,l=e.length,c=o.length;a<c;++a)(s=e[a])?(s.__data__=o[a],i[a]=s):r[a]=new Li(t,o[a]);for(;a<l;++a)(s=e[a])&&(n[a]=s)}function B0(t,e,r,i,n,o,a){var s,l,c=new Map,u=e.length,h=o.length,f=new Array(u),p;for(s=0;s<u;++s)(l=e[s])&&(f[s]=p=a.call(l,l.__data__,s,e)+"",c.has(p)?n[s]=l:c.set(p,l));for(s=0;s<h;++s)p=a.call(t,o[s],s,o)+"",(l=c.get(p))?(i[s]=l,l.__data__=o[s],c.delete(p)):r[s]=new Li(t,o[s]);for(s=0;s<u;++s)(l=e[s])&&c.get(f[s])===l&&(n[s]=l)}function F0(t){return t.__data__}function Nc(t,e){if(!arguments.length)return Array.from(this,F0);var r=e?B0:w0,i=this._parents,n=this._groups;typeof t!="function"&&(t=Dc(t));for(var o=n.length,a=new Array(o),s=new Array(o),l=new Array(o),c=0;c<o;++c){var u=i[c],h=n[c],f=h.length,p=A0(t.call(u,u&&u.__data__,c,i)),x=p.length,b=s[c]=new Array(x),w=a[c]=new Array(x),M=l[c]=new Array(f);r(u,h,b,w,M,p,e);for(var _=0,F=0,N,O;_<x;++_)if(N=b[_]){for(_>=F&&(F=_+1);!(O=w[F])&&++F<x;);N._next=O||null}}return a=new st(a,i),a._enter=s,a._exit=l,a}function A0(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Rc(){return new st(this._exit||this._groups.map(En),this._parents)}function Pc(t,e,r){var i=this.enter(),n=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(n=e(n),n&&(n=n.selection())),r==null?o.remove():r(o),i&&n?i.merge(n).order():n}function $c(t){for(var e=t.selection?t.selection():t,r=this._groups,i=e._groups,n=r.length,o=i.length,a=Math.min(n,o),s=new Array(n),l=0;l<a;++l)for(var c=r[l],u=i[l],h=c.length,f=s[l]=new Array(h),p,x=0;x<h;++x)(p=c[x]||u[x])&&(f[x]=p);for(;l<n;++l)s[l]=r[l];return new st(s,this._parents)}function zc(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var i=t[e],n=i.length-1,o=i[n],a;--n>=0;)(a=i[n])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function qc(t){t||(t=M0);function e(h,f){return h&&f?t(h.__data__,f.__data__):!h-!f}for(var r=this._groups,i=r.length,n=new Array(i),o=0;o<i;++o){for(var a=r[o],s=a.length,l=n[o]=new Array(s),c,u=0;u<s;++u)(c=a[u])&&(l[u]=c);l.sort(e)}return new st(n,this._parents).order()}function M0(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Wc(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Uc(){return Array.from(this)}function Hc(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var i=t[e],n=0,o=i.length;n<o;++n){var a=i[n];if(a)return a}return null}function Yc(){let t=0;for(let e of this)++t;return t}function jc(){return!this.node()}function Gc(t){for(var e=this._groups,r=0,i=e.length;r<i;++r)for(var n=e[r],o=0,a=n.length,s;o<a;++o)(s=n[o])&&t.call(s,s.__data__,o,n);return this}var On="http://www.w3.org/1999/xhtml",Za={svg:"http://www.w3.org/2000/svg",xhtml:On,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ce(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),Za.hasOwnProperty(e)?{space:Za[e],local:t}:t}function L0(t){return function(){this.removeAttribute(t)}}function E0(t){return function(){this.removeAttributeNS(t.space,t.local)}}function O0(t,e){return function(){this.setAttribute(t,e)}}function I0(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function D0(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function N0(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)}}function Vc(t,e){var r=Ce(t);if(arguments.length<2){var i=this.node();return r.local?i.getAttributeNS(r.space,r.local):i.getAttribute(r)}return this.each((e==null?r.local?E0:L0:typeof e=="function"?r.local?N0:D0:r.local?I0:O0)(r,e))}function In(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function R0(t){return function(){this.style.removeProperty(t)}}function P0(t,e,r){return function(){this.style.setProperty(t,e,r)}}function $0(t,e,r){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,r)}}function Xc(t,e,r){return arguments.length>1?this.each((e==null?R0:typeof e=="function"?$0:P0)(t,e,r??"")):Ie(this.node(),t)}function Ie(t,e){return t.style.getPropertyValue(e)||In(t).getComputedStyle(t,null).getPropertyValue(e)}function z0(t){return function(){delete this[t]}}function q0(t,e){return function(){this[t]=e}}function W0(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function Kc(t,e){return arguments.length>1?this.each((e==null?z0:typeof e=="function"?W0:q0)(t,e)):this.node()[t]}function Zc(t){return t.trim().split(/^|\s+/)}function Qa(t){return t.classList||new Qc(t)}function Qc(t){this._node=t,this._names=Zc(t.getAttribute("class")||"")}Qc.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Jc(t,e){for(var r=Qa(t),i=-1,n=e.length;++i<n;)r.add(e[i])}function tu(t,e){for(var r=Qa(t),i=-1,n=e.length;++i<n;)r.remove(e[i])}function U0(t){return function(){Jc(this,t)}}function H0(t){return function(){tu(this,t)}}function Y0(t,e){return function(){(e.apply(this,arguments)?Jc:tu)(this,t)}}function eu(t,e){var r=Zc(t+"");if(arguments.length<2){for(var i=Qa(this.node()),n=-1,o=r.length;++n<o;)if(!i.contains(r[n]))return!1;return!0}return this.each((typeof e=="function"?Y0:e?U0:H0)(r,e))}function j0(){this.textContent=""}function G0(t){return function(){this.textContent=t}}function V0(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function ru(t){return arguments.length?this.each(t==null?j0:(typeof t=="function"?V0:G0)(t)):this.node().textContent}function X0(){this.innerHTML=""}function K0(t){return function(){this.innerHTML=t}}function Z0(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function iu(t){return arguments.length?this.each(t==null?X0:(typeof t=="function"?Z0:K0)(t)):this.node().innerHTML}function Q0(){this.nextSibling&&this.parentNode.appendChild(this)}function nu(){return this.each(Q0)}function J0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ou(){return this.each(J0)}function tx(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===On&&e.documentElement.namespaceURI===On?e.createElement(t):e.createElementNS(r,t)}}function ex(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Dn(t){var e=Ce(t);return(e.local?ex:tx)(e)}function au(t){var e=typeof t=="function"?t:Dn(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function rx(){return null}function su(t,e){var r=typeof t=="function"?t:Dn(t),i=e==null?rx:typeof e=="function"?e:ar(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),i.apply(this,arguments)||null)})}function ix(){var t=this.parentNode;t&&t.removeChild(this)}function lu(){return this.each(ix)}function nx(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ox(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function cu(t){return this.select(t?ox:nx)}function uu(t){return arguments.length?this.property("__data__",t):this.node().__data__}function ax(t){return function(e){t.call(this,e,this.__data__)}}function sx(t){return t.trim().split(/^|\s+/).map(function(e){var r="",i=e.indexOf(".");return i>=0&&(r=e.slice(i+1),e=e.slice(0,i)),{type:e,name:r}})}function lx(t){return function(){var e=this.__on;if(e){for(var r=0,i=-1,n=e.length,o;r<n;++r)o=e[r],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function cx(t,e,r){return function(){var i=this.__on,n,o=ax(e);if(i){for(var a=0,s=i.length;a<s;++a)if((n=i[a]).type===t.type&&n.name===t.name){this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=o,n.options=r),n.value=e;return}}this.addEventListener(t.type,o,r),n={type:t.type,name:t.name,value:e,listener:o,options:r},i?i.push(n):this.__on=[n]}}function hu(t,e,r){var i=sx(t+""),n,o=i.length,a;if(arguments.length<2){var s=this.node().__on;if(s){for(var l=0,c=s.length,u;l<c;++l)for(n=0,u=s[l];n<o;++n)if((a=i[n]).type===u.type&&a.name===u.name)return u.value}return}for(s=e?cx:lx,n=0;n<o;++n)this.each(s(i[n],e,r));return this}function fu(t,e,r){var i=In(t),n=i.CustomEvent;typeof n=="function"?n=new n(e,r):(n=i.document.createEvent("Event"),r?(n.initEvent(e,r.bubbles,r.cancelable),n.detail=r.detail):n.initEvent(e,!1,!1)),t.dispatchEvent(n)}function ux(t,e){return function(){return fu(this,t,e)}}function hx(t,e){return function(){return fu(this,t,e.apply(this,arguments))}}function pu(t,e){return this.each((typeof e=="function"?hx:ux)(t,e))}function*du(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var i=t[e],n=0,o=i.length,a;n<o;++n)(a=i[n])&&(yield a)}var Ei=[null];function st(t,e){this._groups=t,this._parents=e}function mu(){return new st([[document.documentElement]],Ei)}function fx(){return this}st.prototype=mu.prototype={constructor:st,select:Ac,selectAll:Mc,selectChild:Lc,selectChildren:Ec,filter:Oc,data:Nc,enter:Ic,exit:Rc,join:Pc,merge:$c,selection:fx,order:zc,sort:qc,call:Wc,nodes:Uc,node:Hc,size:Yc,empty:jc,each:Gc,attr:Vc,style:Xc,property:Kc,classed:eu,text:ru,html:iu,raise:nu,lower:ou,append:au,insert:su,remove:lu,clone:cu,datum:uu,on:hu,dispatch:pu,[Symbol.iterator]:du};var Te=mu;function Wt(t){return typeof t=="string"?new st([[document.querySelector(t)]],[document.documentElement]):new st([[t]],Ei)}function px(t){return typeof t=="string"?new st([document.querySelectorAll(t)],[document.documentElement]):new st([Fi(t)],Ei)}function sr(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function qr(t,e){var r=Object.create(t.prototype);for(var i in e)r[i]=e[i];return r}function De(){}var Oi=.7,Pn=1/Oi,Wr="\\s*([+-]?\\d+)\\s*",Ii="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",he="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",dx=/^#([0-9a-f]{3,8})$/,mx=new RegExp(`^rgb\\(${Wr},${Wr},${Wr}\\)$`),gx=new RegExp(`^rgb\\(${he},${he},${he}\\)$`),xx=new RegExp(`^rgba\\(${Wr},${Wr},${Wr},${Ii}\\)$`),yx=new RegExp(`^rgba\\(${he},${he},${he},${Ii}\\)$`),_x=new RegExp(`^hsl\\(${Ii},${he},${he}\\)$`),bx=new RegExp(`^hsla\\(${Ii},${he},${he},${Ii}\\)$`),gu={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};sr(De,re,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:xu,formatHex:xu,formatHex8:Cx,formatHsl:Tx,formatRgb:yu,toString:yu});function xu(){return this.rgb().formatHex()}function Cx(){return this.rgb().formatHex8()}function Tx(){return Su(this).formatHsl()}function yu(){return this.rgb().formatRgb()}function re(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=dx.exec(t))?(r=e[1].length,e=parseInt(e[1],16),r===6?_u(e):r===3?new Mt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?Nn(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?Nn(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=mx.exec(t))?new Mt(e[1],e[2],e[3],1):(e=gx.exec(t))?new Mt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=xx.exec(t))?Nn(e[1],e[2],e[3],e[4]):(e=yx.exec(t))?Nn(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=_x.exec(t))?Tu(e[1],e[2]/100,e[3]/100,1):(e=bx.exec(t))?Tu(e[1],e[2]/100,e[3]/100,e[4]):gu.hasOwnProperty(t)?_u(gu[t]):t==="transparent"?new Mt(NaN,NaN,NaN,0):null}function _u(t){return new Mt(t>>16&255,t>>8&255,t&255,1)}function Nn(t,e,r,i){return i<=0&&(t=e=r=NaN),new Mt(t,e,r,i)}function ts(t){return t instanceof De||(t=re(t)),t?(t=t.rgb(),new Mt(t.r,t.g,t.b,t.opacity)):new Mt}function Ur(t,e,r,i){return arguments.length===1?ts(t):new Mt(t,e,r,i??1)}function Mt(t,e,r,i){this.r=+t,this.g=+e,this.b=+r,this.opacity=+i}sr(Mt,Ur,qr(De,{brighter(t){return t=t==null?Pn:Math.pow(Pn,t),new Mt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Oi:Math.pow(Oi,t),new Mt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Mt(cr(this.r),cr(this.g),cr(this.b),$n(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:bu,formatHex:bu,formatHex8:vx,formatRgb:Cu,toString:Cu}));function bu(){return`#${lr(this.r)}${lr(this.g)}${lr(this.b)}`}function vx(){return`#${lr(this.r)}${lr(this.g)}${lr(this.b)}${lr((isNaN(this.opacity)?1:this.opacity)*255)}`}function Cu(){let t=$n(this.opacity);return`${t===1?"rgb(":"rgba("}${cr(this.r)}, ${cr(this.g)}, ${cr(this.b)}${t===1?")":`, ${t})`}`}function $n(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function cr(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function lr(t){return t=cr(t),(t<16?"0":"")+t.toString(16)}function Tu(t,e,r,i){return i<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new ee(t,e,r,i)}function Su(t){if(t instanceof ee)return new ee(t.h,t.s,t.l,t.opacity);if(t instanceof De||(t=re(t)),!t)return new ee;if(t instanceof ee)return t;t=t.rgb();var e=t.r/255,r=t.g/255,i=t.b/255,n=Math.min(e,r,i),o=Math.max(e,r,i),a=NaN,s=o-n,l=(o+n)/2;return s?(e===o?a=(r-i)/s+(r<i)*6:r===o?a=(i-e)/s+2:a=(e-r)/s+4,s/=l<.5?o+n:2-o-n,a*=60):s=l>0&&l<1?0:a,new ee(a,s,l,t.opacity)}function ku(t,e,r,i){return arguments.length===1?Su(t):new ee(t,e,r,i??1)}function ee(t,e,r,i){this.h=+t,this.s=+e,this.l=+r,this.opacity=+i}sr(ee,ku,qr(De,{brighter(t){return t=t==null?Pn:Math.pow(Pn,t),new ee(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Oi:Math.pow(Oi,t),new ee(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,i=r+(r<.5?r:1-r)*e,n=2*r-i;return new Mt(Ja(t>=240?t-240:t+120,n,i),Ja(t,n,i),Ja(t<120?t+240:t-120,n,i),this.opacity)},clamp(){return new ee(vu(this.h),Rn(this.s),Rn(this.l),$n(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=$n(this.opacity);return`${t===1?"hsl(":"hsla("}${vu(this.h)}, ${Rn(this.s)*100}%, ${Rn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function vu(t){return t=(t||0)%360,t<0?t+360:t}function Rn(t){return Math.max(0,Math.min(1,t||0))}function Ja(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}var wu=Math.PI/180,Bu=180/Math.PI;var zn=18,Fu=.96422,Au=1,Mu=.82521,Lu=4/29,Hr=6/29,Eu=3*Hr*Hr,Sx=Hr*Hr*Hr;function Ou(t){if(t instanceof fe)return new fe(t.l,t.a,t.b,t.opacity);if(t instanceof ve)return Iu(t);t instanceof Mt||(t=ts(t));var e=ns(t.r),r=ns(t.g),i=ns(t.b),n=es((.2225045*e+.7168786*r+.0606169*i)/Au),o,a;return e===r&&r===i?o=a=n:(o=es((.4360747*e+.3850649*r+.1430804*i)/Fu),a=es((.0139322*e+.0971045*r+.7141733*i)/Mu)),new fe(116*n-16,500*(o-n),200*(n-a),t.opacity)}function os(t,e,r,i){return arguments.length===1?Ou(t):new fe(t,e,r,i??1)}function fe(t,e,r,i){this.l=+t,this.a=+e,this.b=+r,this.opacity=+i}sr(fe,os,qr(De,{brighter(t){return new fe(this.l+zn*(t??1),this.a,this.b,this.opacity)},darker(t){return new fe(this.l-zn*(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=Fu*rs(e),t=Au*rs(t),r=Mu*rs(r),new Mt(is(3.1338561*e-1.6168667*t-.4906146*r),is(-.9787684*e+1.9161415*t+.033454*r),is(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));function es(t){return t>Sx?Math.pow(t,1/3):t/Eu+Lu}function rs(t){return t>Hr?t*t*t:Eu*(t-Lu)}function is(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ns(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function kx(t){if(t instanceof ve)return new ve(t.h,t.c,t.l,t.opacity);if(t instanceof fe||(t=Ou(t)),t.a===0&&t.b===0)return new ve(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Bu;return new ve(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Di(t,e,r,i){return arguments.length===1?kx(t):new ve(t,e,r,i??1)}function ve(t,e,r,i){this.h=+t,this.c=+e,this.l=+r,this.opacity=+i}function Iu(t){if(isNaN(t.h))return new fe(t.l,0,0,t.opacity);var e=t.h*wu;return new fe(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}sr(ve,Di,qr(De,{brighter(t){return new ve(this.h,this.c,this.l+zn*(t??1),this.opacity)},darker(t){return new ve(this.h,this.c,this.l-zn*(t??1),this.opacity)},rgb(){return Iu(this).rgb()}}));var Yr=t=>()=>t;function Du(t,e){return function(r){return t+r*e}}function wx(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(i){return Math.pow(t+i*e,r)}}function Nu(t,e){var r=e-t;return r?Du(t,r>180||r<-180?r-360*Math.round(r/360):r):Yr(isNaN(t)?e:t)}function Ru(t){return(t=+t)==1?Se:function(e,r){return r-e?wx(e,r,t):Yr(isNaN(e)?r:e)}}function Se(t,e){var r=e-t;return r?Du(t,r):Yr(isNaN(t)?e:t)}function Pu(t){return function(e,r){var i=t((e=Di(e)).h,(r=Di(r)).h),n=Se(e.c,r.c),o=Se(e.l,r.l),a=Se(e.opacity,r.opacity);return function(s){return e.h=i(s),e.c=n(s),e.l=o(s),e.opacity=a(s),e+""}}}var Bx=Pu(Nu),Fx=Pu(Se);function as(t,e,r,i,n){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*r+(1+3*t+3*o-3*a)*i+a*n)/6}function $u(t){var e=t.length-1;return function(r){var i=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),n=t[i],o=t[i+1],a=i>0?t[i-1]:2*n-o,s=i<e-1?t[i+2]:2*o-n;return as((r-i/e)*e,a,n,o,s)}}function zu(t){var e=t.length;return function(r){var i=Math.floor(((r%=1)<0?++r:r)*e),n=t[(i+e-1)%e],o=t[i%e],a=t[(i+1)%e],s=t[(i+2)%e];return as((r-i/e)*e,n,o,a,s)}}var ur=function t(e){var r=Ru(e);function i(n,o){var a=r((n=Ur(n)).r,(o=Ur(o)).r),s=r(n.g,o.g),l=r(n.b,o.b),c=Se(n.opacity,o.opacity);return function(u){return n.r=a(u),n.g=s(u),n.b=l(u),n.opacity=c(u),n+""}}return i.gamma=t,i}(1);function qu(t){return function(e){var r=e.length,i=new Array(r),n=new Array(r),o=new Array(r),a,s;for(a=0;a<r;++a)s=Ur(e[a]),i[a]=s.r||0,n[a]=s.g||0,o[a]=s.b||0;return i=t(i),n=t(n),o=t(o),s.opacity=1,function(l){return s.r=i(l),s.g=n(l),s.b=o(l),s+""}}}var Ax=qu($u),Mx=qu(zu);function Wu(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,i=e.slice(),n;return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function Uu(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Hu(t,e){var r=e?e.length:0,i=t?Math.min(r,t.length):0,n=new Array(i),o=new Array(r),a;for(a=0;a<i;++a)n[a]=hr(t[a],e[a]);for(;a<r;++a)o[a]=e[a];return function(s){for(a=0;a<i;++a)o[a]=n[a](s);return o}}function Yu(t,e){var r=new Date;return t=+t,e=+e,function(i){return r.setTime(t*(1-i)+e*i),r}}function Lt(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function ju(t,e){var r={},i={},n;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(n in e)n in t?r[n]=hr(t[n],e[n]):i[n]=e[n];return function(o){for(n in r)i[n]=r[n](o);return i}}var ls=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ss=new RegExp(ls.source,"g");function Lx(t){return function(){return t}}function Ex(t){return function(e){return t(e)+""}}function Ni(t,e){var r=ls.lastIndex=ss.lastIndex=0,i,n,o,a=-1,s=[],l=[];for(t=t+"",e=e+"";(i=ls.exec(t))&&(n=ss.exec(e));)(o=n.index)>r&&(o=e.slice(r,o),s[a]?s[a]+=o:s[++a]=o),(i=i[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:Lt(i,n)})),r=ss.lastIndex;return r<e.length&&(o=e.slice(r),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?Ex(l[0].x):Lx(e):(e=l.length,function(c){for(var u=0,h;u<e;++u)s[(h=l[u]).i]=h.x(c);return s.join("")})}function hr(t,e){var r=typeof e,i;return e==null||r==="boolean"?Yr(e):(r==="number"?Lt:r==="string"?(i=re(e))?(e=i,ur):Ni:e instanceof re?ur:e instanceof Date?Yu:Uu(e)?Wu:Array.isArray(e)?Hu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?ju:Lt)(t,e)}function cs(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}var Gu=180/Math.PI,qn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function us(t,e,r,i,n,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*r+e*i)&&(r-=t*l,i-=e*l),(s=Math.sqrt(r*r+i*i))&&(r/=s,i/=s,l/=s),t*i<e*r&&(t=-t,e=-e,l=-l,a=-a),{translateX:n,translateY:o,rotate:Math.atan2(e,t)*Gu,skewX:Math.atan(l)*Gu,scaleX:a,scaleY:s}}var Wn;function Vu(t){let e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?qn:us(e.a,e.b,e.c,e.d,e.e,e.f)}function Xu(t){return t==null?qn:(Wn||(Wn=document.createElementNS("http://www.w3.org/2000/svg","g")),Wn.setAttribute("transform",t),(t=Wn.transform.baseVal.consolidate())?(t=t.matrix,us(t.a,t.b,t.c,t.d,t.e,t.f)):qn)}function Ku(t,e,r,i){function n(c){return c.length?c.pop()+" ":""}function o(c,u,h,f,p,x){if(c!==h||u!==f){var b=p.push("translate(",null,e,null,r);x.push({i:b-4,x:Lt(c,h)},{i:b-2,x:Lt(u,f)})}else(h||f)&&p.push("translate("+h+e+f+r)}function a(c,u,h,f){c!==u?(c-u>180?u+=360:u-c>180&&(c+=360),f.push({i:h.push(n(h)+"rotate(",null,i)-2,x:Lt(c,u)})):u&&h.push(n(h)+"rotate("+u+i)}function s(c,u,h,f){c!==u?f.push({i:h.push(n(h)+"skewX(",null,i)-2,x:Lt(c,u)}):u&&h.push(n(h)+"skewX("+u+i)}function l(c,u,h,f,p,x){if(c!==h||u!==f){var b=p.push(n(p)+"scale(",null,",",null,")");x.push({i:b-4,x:Lt(c,h)},{i:b-2,x:Lt(u,f)})}else(h!==1||f!==1)&&p.push(n(p)+"scale("+h+","+f+")")}return function(c,u){var h=[],f=[];return c=t(c),u=t(u),o(c.translateX,c.translateY,u.translateX,u.translateY,h,f),a(c.rotate,u.rotate,h,f),s(c.skewX,u.skewX,h,f),l(c.scaleX,c.scaleY,u.scaleX,u.scaleY,h,f),c=u=null,function(p){for(var x=-1,b=f.length,w;++x<b;)h[(w=f[x]).i]=w.x(p);return h.join("")}}}var hs=Ku(Vu,"px, ","px)","deg)"),fs=Ku(Xu,", ",")",")");function jr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}var ps=Symbol("implicit");function ds(){var t=new $r,e=[],r=[],i=ps;function n(o){let a=t.get(o);if(a===void 0){if(i!==ps)return i;t.set(o,a=e.push(o)-1)}return r[a%r.length]}return n.domain=function(o){if(!arguments.length)return e.slice();e=[],t=new $r;for(let a of o)t.has(a)||t.set(a,e.push(a)-1);return n},n.range=function(o){return arguments.length?(r=Array.from(o),n):r.slice()},n.unknown=function(o){return arguments.length?(i=o,n):i},n.copy=function(){return ds(e,r).unknown(i)},jr.apply(n,arguments),n}function ms(t){return function(){return t}}function gs(t){return+t}var Zu=[0,1];function Gr(t){return t}function xs(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:ms(isNaN(e)?NaN:.5)}function Ox(t,e){var r;return t>e&&(r=t,t=e,e=r),function(i){return Math.max(t,Math.min(e,i))}}function Ix(t,e,r){var i=t[0],n=t[1],o=e[0],a=e[1];return n<i?(i=xs(n,i),o=r(a,o)):(i=xs(i,n),o=r(o,a)),function(s){return o(i(s))}}function Dx(t,e,r){var i=Math.min(t.length,e.length)-1,n=new Array(i),o=new Array(i),a=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<i;)n[a]=xs(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(s){var l=Va(t,s,1,i)-1;return o[l](n[l](s))}}function Un(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Nx(){var t=Zu,e=Zu,r=hr,i,n,o,a=Gr,s,l,c;function u(){var f=Math.min(t.length,e.length);return a!==Gr&&(a=Ox(t[0],t[f-1])),s=f>2?Dx:Ix,l=c=null,h}function h(f){return f==null||isNaN(f=+f)?o:(l||(l=s(t.map(i),e,r)))(i(a(f)))}return h.invert=function(f){return a(n((c||(c=s(e,t.map(i),Lt)))(f)))},h.domain=function(f){return arguments.length?(t=Array.from(f,gs),u()):t.slice()},h.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},h.rangeRound=function(f){return e=Array.from(f),r=cs,u()},h.clamp=function(f){return arguments.length?(a=f?!0:Gr,u()):a!==Gr},h.interpolate=function(f){return arguments.length?(r=f,u()):r},h.unknown=function(f){return arguments.length?(o=f,h):o},function(f,p){return i=f,n=p,u()}}function Ri(){return Nx()(Gr,Gr)}function Qu(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function fr(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,i=t.slice(0,r);return[i.length>1?i[0]+i.slice(2):i,+t.slice(r+1)]}function pe(t){return t=fr(Math.abs(t)),t?t[1]:NaN}function Ju(t,e){return function(r,i){for(var n=r.length,o=[],a=0,s=t[0],l=0;n>0&&s>0&&(l+s+1>i&&(s=Math.max(1,i-l)),o.push(r.substring(n-=s,n+s)),!((l+=s+1)>i));)s=t[a=(a+1)%t.length];return o.reverse().join(e)}}function th(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}var Rx=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ne(t){if(!(e=Rx.exec(t)))throw new Error("invalid format: "+t);var e;return new Hn({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]})}Ne.prototype=Hn.prototype;function Hn(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+""}Hn.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 eh(t){t:for(var e=t.length,r=1,i=-1,n;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":i===0&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(n+1):t}var ys;function rh(t,e){var r=fr(t,e);if(!r)return t+"";var i=r[0],n=r[1],o=n-(ys=Math.max(-8,Math.min(8,Math.floor(n/3)))*3)+1,a=i.length;return o===a?i:o>a?i+new Array(o-a+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+fr(t,Math.max(0,e+o-1))[0]}function _s(t,e){var r=fr(t,e);if(!r)return t+"";var i=r[0],n=r[1];return n<0?"0."+new Array(-n).join("0")+i:i.length>n+1?i.slice(0,n+1)+"."+i.slice(n+1):i+new Array(n-i.length+2).join("0")}var bs={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Qu,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>_s(t*100,e),r:_s,s:rh,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Cs(t){return t}var ih=Array.prototype.map,nh=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function oh(t){var e=t.grouping===void 0||t.thousands===void 0?Cs:Ju(ih.call(t.grouping,Number),t.thousands+""),r=t.currency===void 0?"":t.currency[0]+"",i=t.currency===void 0?"":t.currency[1]+"",n=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?Cs:th(ih.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",s=t.minus===void 0?"\u2212":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function c(h){h=Ne(h);var f=h.fill,p=h.align,x=h.sign,b=h.symbol,w=h.zero,M=h.width,_=h.comma,F=h.precision,N=h.trim,O=h.type;O==="n"?(_=!0,O="g"):bs[O]||(F===void 0&&(F=12),N=!0,O="g"),(w||f==="0"&&p==="=")&&(w=!0,f="0",p="=");var B=b==="$"?r:b==="#"&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",y=b==="$"?i:/[%p]/.test(O)?a:"",q=bs[O],rt=/[defgprs%]/.test(O);F=F===void 0?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,F)):Math.max(0,Math.min(20,F));function et(C){var T=B,g=y,v,A,P;if(O==="c")g=q(C)+g,C="";else{C=+C;var D=C<0||1/C<0;if(C=isNaN(C)?l:q(Math.abs(C),F),N&&(C=eh(C)),D&&+C==0&&x!=="+"&&(D=!1),T=(D?x==="("?x:s:x==="-"||x==="("?"":x)+T,g=(O==="s"?nh[8+ys/3]:"")+g+(D&&x==="("?")":""),rt){for(v=-1,A=C.length;++v<A;)if(P=C.charCodeAt(v),48>P||P>57){g=(P===46?n+C.slice(v+1):C.slice(v))+g,C=C.slice(0,v);break}}}_&&!w&&(C=e(C,1/0));var j=T.length+C.length+g.length,V=j<M?new Array(M-j+1).join(f):"";switch(_&&w&&(C=e(V+C,V.length?M-g.length:1/0),V=""),p){case"<":C=T+C+g+V;break;case"=":C=T+V+C+g;break;case"^":C=V.slice(0,j=V.length>>1)+T+C+g+V.slice(j);break;default:C=V+T+C+g;break}return o(C)}return et.toString=function(){return h+""},et}function u(h,f){var p=c((h=Ne(h),h.type="f",h)),x=Math.max(-8,Math.min(8,Math.floor(pe(f)/3)))*3,b=Math.pow(10,-x),w=nh[8+x/3];return function(M){return p(b*M)+w}}return{format:c,formatPrefix:u}}var Yn,jn,Gn;Ts({thousands:",",grouping:[3],currency:["$",""]});function Ts(t){return Yn=oh(t),jn=Yn.format,Gn=Yn.formatPrefix,Yn}function vs(t){return Math.max(0,-pe(Math.abs(t)))}function Ss(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(pe(e)/3)))*3-pe(Math.abs(t)))}function ks(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,pe(e)-pe(t))+1}function ws(t,e,r,i){var n=zr(t,e,r),o;switch(i=Ne(i??",f"),i.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=Ss(n,a))&&(i.precision=o),Gn(i,a)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=ks(n,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=vs(n))&&(i.precision=o-(i.type==="%")*2);break}}return jn(i)}function Px(t){var e=t.domain;return t.ticks=function(r){var i=e();return Fn(i[0],i[i.length-1],r??10)},t.tickFormat=function(r,i){var n=e();return ws(n[0],n[n.length-1],r??10,i)},t.nice=function(r){r==null&&(r=10);var i=e(),n=0,o=i.length-1,a=i[n],s=i[o],l,c,u=10;for(s<a&&(c=a,a=s,s=c,c=n,n=o,o=c);u-- >0;){if(c=Bi(a,s,r),c===l)return i[n]=a,i[o]=s,e(i);if(c>0)a=Math.floor(a/c)*c,s=Math.ceil(s/c)*c;else if(c<0)a=Math.ceil(a*c)/c,s=Math.floor(s*c)/c;else break;l=c}return t},t}function Bs(){var t=Ri();return t.copy=function(){return Un(t,Bs())},jr.apply(t,arguments),Px(t)}var Fs=new Date,As=new Date;function ot(t,e,r,i){function n(o){return t(o=arguments.length===0?new Date:new Date(+o)),o}return n.floor=o=>(t(o=new Date(+o)),o),n.ceil=o=>(t(o=new Date(o-1)),e(o,1),t(o),o),n.round=o=>{let a=n(o),s=n.ceil(o);return o-a<s-o?a:s},n.offset=(o,a)=>(e(o=new Date(+o),a==null?1:Math.floor(a)),o),n.range=(o,a,s)=>{let l=[];if(o=n.ceil(o),s=s==null?1:Math.floor(s),!(o<a)||!(s>0))return l;let c;do l.push(c=new Date(+o)),e(o,s),t(o);while(c<o&&o<a);return l},n.filter=o=>ot(a=>{if(a>=a)for(;t(a),!o(a);)a.setTime(a-1)},(a,s)=>{if(a>=a)if(s<0)for(;++s<=0;)for(;e(a,-1),!o(a););else for(;--s>=0;)for(;e(a,1),!o(a););}),r&&(n.count=(o,a)=>(Fs.setTime(+o),As.setTime(+a),t(Fs),t(As),Math.floor(r(Fs,As))),n.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?n.filter(i?a=>i(a)%o===0:a=>n.count(0,a)%o===0):n)),n}var Vr=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()),$x=Vr.range,Vn=ot(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes()),zx=Vn.range;var Xr=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()),qx=Xr.range,Xn=ot(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours()),Wx=Xn.range;var ke=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),Ux=ke.range,$i=ot(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1),Hx=$i.range,Kn=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)),Yx=Kn.range;function mr(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)}var we=mr(0),Kr=mr(1),sh=mr(2),lh=mr(3),Re=mr(4),ch=mr(5),uh=mr(6),hh=we.range,jx=Kr.range,Gx=sh.range,Vx=lh.range,Xx=Re.range,Kx=ch.range,Zx=uh.range;function gr(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)}var xr=gr(0),Zr=gr(1),fh=gr(2),ph=gr(3),Pe=gr(4),dh=gr(5),mh=gr(6),gh=xr.range,Qx=Zr.range,Jx=fh.range,ty=ph.range,ey=Pe.range,ry=dh.range,iy=mh.range;var Qr=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()),ny=Qr.range,Zn=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()),oy=Zn.range;var zi=ot(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);zi.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):zi);var zE=zi.range;var me=ot(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*1e3)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds()),xh=me.range;var Vt=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());Vt.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 ay=Vt.range,ie=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());ie.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 sy=ie.range;function _h(t,e,r,i,n,o){let a=[[me,1,1e3],[me,5,5*1e3],[me,15,15*1e3],[me,30,30*1e3],[o,1,6e4],[o,5,5*6e4],[o,15,15*6e4],[o,30,30*6e4],[n,1,36e5],[n,3,3*36e5],[n,6,6*36e5],[n,12,12*36e5],[i,1,864e5],[i,2,2*864e5],[r,1,6048e5],[e,1,2592e6],[e,3,3*2592e6],[t,1,31536e6]];function s(c,u,h){let f=u<c;f&&([c,u]=[u,c]);let p=h&&typeof h.range=="function"?h:l(c,u,h),x=p?p.range(c,+u+1):[];return f?x.reverse():x}function l(c,u,h){let f=Math.abs(u-c)/h,p=or(([,,w])=>w).right(a,f);if(p===a.length)return t.every(zr(c/31536e6,u/31536e6,h));if(p===0)return zi.every(Math.max(zr(c,u,h),1));let[x,b]=a[f/a[p-1][2]<a[p][2]/f?p-1:p];return x.every(b)}return[s,l]}var[cy,uy]=_h(ie,Zn,xr,Kn,Xn,Vn),[Ms,Ls]=_h(Vt,Qr,we,ke,Xr,Vr);function Es(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)}function Os(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))}function qi(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function Is(t){var e=t.dateTime,r=t.date,i=t.time,n=t.periods,o=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,c=Wi(n),u=Ui(n),h=Wi(o),f=Ui(o),p=Wi(a),x=Ui(a),b=Wi(s),w=Ui(s),M=Wi(l),_=Ui(l),F={a:D,A:j,b:V,B:Z,c:null,d:kh,e:kh,f:Oy,g:Uy,G:Yy,H:My,I:Ly,j:Ey,L:Mh,m:Iy,M:Dy,p:at,q:Bt,Q:Fh,s:Ah,S:Ny,u:Ry,U:Py,V:$y,w:zy,W:qy,x:null,X:null,y:Wy,Y:Hy,Z:jy,"%":Bh},N={a:Ft,A:Gt,b:gt,B:Rt,c:null,d:wh,e:wh,f:Ky,g:a_,G:l_,H:Gy,I:Vy,j:Xy,L:Eh,m:Zy,M:Qy,p:ht,q:It,Q:Fh,s:Ah,S:Jy,u:t_,U:e_,V:r_,w:i_,W:n_,x:null,X:null,y:o_,Y:s_,Z:c_,"%":Bh},O={a:et,A:C,b:T,B:g,c:v,d:vh,e:vh,f:wy,g:Th,G:Ch,H:Sh,I:Sh,j:Ty,L:ky,m:Cy,M:vy,p:rt,q:by,Q:Fy,s:Ay,S:Sy,u:my,U:gy,V:xy,w:dy,W:yy,x:A,X:P,y:Th,Y:Ch,Z:_y,"%":By};F.x=B(r,F),F.X=B(i,F),F.c=B(e,F),N.x=B(r,N),N.X=B(i,N),N.c=B(e,N);function B(E,G){return function(K){var S=[],At=-1,it=0,X=E.length,R,Q,J;for(K instanceof Date||(K=new Date(+K));++At<X;)E.charCodeAt(At)===37&&(S.push(E.slice(it,At)),(Q=bh[R=E.charAt(++At)])!=null?R=E.charAt(++At):Q=R==="e"?" ":"0",(J=G[R])&&(R=J(K,Q)),S.push(R),it=At+1);return S.push(E.slice(it,At)),S.join("")}}function y(E,G){return function(K){var S=qi(1900,void 0,1),At=q(S,E,K+="",0),it,X;if(At!=K.length)return null;if("Q"in S)return new Date(S.Q);if("s"in S)return new Date(S.s*1e3+("L"in S?S.L:0));if(G&&!("Z"in S)&&(S.Z=0),"p"in S&&(S.H=S.H%12+S.p*12),S.m===void 0&&(S.m="q"in S?S.q:0),"V"in S){if(S.V<1||S.V>53)return null;"w"in S||(S.w=1),"Z"in S?(it=Os(qi(S.y,0,1)),X=it.getUTCDay(),it=X>4||X===0?Zr.ceil(it):Zr(it),it=$i.offset(it,(S.V-1)*7),S.y=it.getUTCFullYear(),S.m=it.getUTCMonth(),S.d=it.getUTCDate()+(S.w+6)%7):(it=Es(qi(S.y,0,1)),X=it.getDay(),it=X>4||X===0?Kr.ceil(it):Kr(it),it=ke.offset(it,(S.V-1)*7),S.y=it.getFullYear(),S.m=it.getMonth(),S.d=it.getDate()+(S.w+6)%7)}else("W"in S||"U"in S)&&("w"in S||(S.w="u"in S?S.u%7:"W"in S?1:0),X="Z"in S?Os(qi(S.y,0,1)).getUTCDay():Es(qi(S.y,0,1)).getDay(),S.m=0,S.d="W"in S?(S.w+6)%7+S.W*7-(X+5)%7:S.w+S.U*7-(X+6)%7);return"Z"in S?(S.H+=S.Z/100|0,S.M+=S.Z%100,Os(S)):Es(S)}}function q(E,G,K,S){for(var At=0,it=G.length,X=K.length,R,Q;At<it;){if(S>=X)return-1;if(R=G.charCodeAt(At++),R===37){if(R=G.charAt(At++),Q=O[R in bh?G.charAt(At++):R],!Q||(S=Q(E,K,S))<0)return-1}else if(R!=K.charCodeAt(S++))return-1}return S}function rt(E,G,K){var S=c.exec(G.slice(K));return S?(E.p=u.get(S[0].toLowerCase()),K+S[0].length):-1}function et(E,G,K){var S=p.exec(G.slice(K));return S?(E.w=x.get(S[0].toLowerCase()),K+S[0].length):-1}function C(E,G,K){var S=h.exec(G.slice(K));return S?(E.w=f.get(S[0].toLowerCase()),K+S[0].length):-1}function T(E,G,K){var S=M.exec(G.slice(K));return S?(E.m=_.get(S[0].toLowerCase()),K+S[0].length):-1}function g(E,G,K){var S=b.exec(G.slice(K));return S?(E.m=w.get(S[0].toLowerCase()),K+S[0].length):-1}function v(E,G,K){return q(E,e,G,K)}function A(E,G,K){return q(E,r,G,K)}function P(E,G,K){return q(E,i,G,K)}function D(E){return a[E.getDay()]}function j(E){return o[E.getDay()]}function V(E){return l[E.getMonth()]}function Z(E){return s[E.getMonth()]}function at(E){return n[+(E.getHours()>=12)]}function Bt(E){return 1+~~(E.getMonth()/3)}function Ft(E){return a[E.getUTCDay()]}function Gt(E){return o[E.getUTCDay()]}function gt(E){return l[E.getUTCMonth()]}function Rt(E){return s[E.getUTCMonth()]}function ht(E){return n[+(E.getUTCHours()>=12)]}function It(E){return 1+~~(E.getUTCMonth()/3)}return{format:function(E){var G=B(E+="",F);return G.toString=function(){return E},G},parse:function(E){var G=y(E+="",!1);return G.toString=function(){return E},G},utcFormat:function(E){var G=B(E+="",N);return G.toString=function(){return E},G},utcParse:function(E){var G=y(E+="",!0);return G.toString=function(){return E},G}}}var bh={"-":"",_:" ",0:"0"},kt=/^\s*\d+/,hy=/^%/,fy=/[\\^$*+?|[\]().{}]/g;function tt(t,e,r){var i=t<0?"-":"",n=(i?-t:t)+"",o=n.length;return i+(o<r?new Array(r-o+1).join(e)+n:n)}function py(t){return t.replace(fy,"\\$&")}function Wi(t){return new RegExp("^(?:"+t.map(py).join("|")+")","i")}function Ui(t){return new Map(t.map((e,r)=>[e.toLowerCase(),r]))}function dy(t,e,r){var i=kt.exec(e.slice(r,r+1));return i?(t.w=+i[0],r+i[0].length):-1}function my(t,e,r){var i=kt.exec(e.slice(r,r+1));return i?(t.u=+i[0],r+i[0].length):-1}function gy(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.U=+i[0],r+i[0].length):-1}function xy(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.V=+i[0],r+i[0].length):-1}function yy(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.W=+i[0],r+i[0].length):-1}function Ch(t,e,r){var i=kt.exec(e.slice(r,r+4));return i?(t.y=+i[0],r+i[0].length):-1}function Th(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),r+i[0].length):-1}function _y(t,e,r){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),r+i[0].length):-1}function by(t,e,r){var i=kt.exec(e.slice(r,r+1));return i?(t.q=i[0]*3-3,r+i[0].length):-1}function Cy(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.m=i[0]-1,r+i[0].length):-1}function vh(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.d=+i[0],r+i[0].length):-1}function Ty(t,e,r){var i=kt.exec(e.slice(r,r+3));return i?(t.m=0,t.d=+i[0],r+i[0].length):-1}function Sh(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.H=+i[0],r+i[0].length):-1}function vy(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.M=+i[0],r+i[0].length):-1}function Sy(t,e,r){var i=kt.exec(e.slice(r,r+2));return i?(t.S=+i[0],r+i[0].length):-1}function ky(t,e,r){var i=kt.exec(e.slice(r,r+3));return i?(t.L=+i[0],r+i[0].length):-1}function wy(t,e,r){var i=kt.exec(e.slice(r,r+6));return i?(t.L=Math.floor(i[0]/1e3),r+i[0].length):-1}function By(t,e,r){var i=hy.exec(e.slice(r,r+1));return i?r+i[0].length:-1}function Fy(t,e,r){var i=kt.exec(e.slice(r));return i?(t.Q=+i[0],r+i[0].length):-1}function Ay(t,e,r){var i=kt.exec(e.slice(r));return i?(t.s=+i[0],r+i[0].length):-1}function kh(t,e){return tt(t.getDate(),e,2)}function My(t,e){return tt(t.getHours(),e,2)}function Ly(t,e){return tt(t.getHours()%12||12,e,2)}function Ey(t,e){return tt(1+ke.count(Vt(t),t),e,3)}function Mh(t,e){return tt(t.getMilliseconds(),e,3)}function Oy(t,e){return Mh(t,e)+"000"}function Iy(t,e){return tt(t.getMonth()+1,e,2)}function Dy(t,e){return tt(t.getMinutes(),e,2)}function Ny(t,e){return tt(t.getSeconds(),e,2)}function Ry(t){var e=t.getDay();return e===0?7:e}function Py(t,e){return tt(we.count(Vt(t)-1,t),e,2)}function Lh(t){var e=t.getDay();return e>=4||e===0?Re(t):Re.ceil(t)}function $y(t,e){return t=Lh(t),tt(Re.count(Vt(t),t)+(Vt(t).getDay()===4),e,2)}function zy(t){return t.getDay()}function qy(t,e){return tt(Kr.count(Vt(t)-1,t),e,2)}function Wy(t,e){return tt(t.getFullYear()%100,e,2)}function Uy(t,e){return t=Lh(t),tt(t.getFullYear()%100,e,2)}function Hy(t,e){return tt(t.getFullYear()%1e4,e,4)}function Yy(t,e){var r=t.getDay();return t=r>=4||r===0?Re(t):Re.ceil(t),tt(t.getFullYear()%1e4,e,4)}function jy(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+tt(e/60|0,"0",2)+tt(e%60,"0",2)}function wh(t,e){return tt(t.getUTCDate(),e,2)}function Gy(t,e){return tt(t.getUTCHours(),e,2)}function Vy(t,e){return tt(t.getUTCHours()%12||12,e,2)}function Xy(t,e){return tt(1+$i.count(ie(t),t),e,3)}function Eh(t,e){return tt(t.getUTCMilliseconds(),e,3)}function Ky(t,e){return Eh(t,e)+"000"}function Zy(t,e){return tt(t.getUTCMonth()+1,e,2)}function Qy(t,e){return tt(t.getUTCMinutes(),e,2)}function Jy(t,e){return tt(t.getUTCSeconds(),e,2)}function t_(t){var e=t.getUTCDay();return e===0?7:e}function e_(t,e){return tt(xr.count(ie(t)-1,t),e,2)}function Oh(t){var e=t.getUTCDay();return e>=4||e===0?Pe(t):Pe.ceil(t)}function r_(t,e){return t=Oh(t),tt(Pe.count(ie(t),t)+(ie(t).getUTCDay()===4),e,2)}function i_(t){return t.getUTCDay()}function n_(t,e){return tt(Zr.count(ie(t)-1,t),e,2)}function o_(t,e){return tt(t.getUTCFullYear()%100,e,2)}function a_(t,e){return t=Oh(t),tt(t.getUTCFullYear()%100,e,2)}function s_(t,e){return tt(t.getUTCFullYear()%1e4,e,4)}function l_(t,e){var r=t.getUTCDay();return t=r>=4||r===0?Pe(t):Pe.ceil(t),tt(t.getUTCFullYear()%1e4,e,4)}function c_(){return"+0000"}function Bh(){return"%"}function Fh(t){return+t}function Ah(t){return Math.floor(+t/1e3)}var Jr,Qn,Ih,Dh,Nh;Ds({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 Ds(t){return Jr=Is(t),Qn=Jr.format,Ih=Jr.parse,Dh=Jr.utcFormat,Nh=Jr.utcParse,Jr}function Ns(t,e){t=t.slice();var r=0,i=t.length-1,n=t[r],o=t[i],a;return o<n&&(a=r,r=i,i=a,a=n,n=o,o=a),t[r]=e.floor(n),t[i]=e.ceil(o),t}function u_(t){return new Date(t)}function h_(t){return t instanceof Date?+t:+new Date(+t)}function Rh(t,e,r,i,n,o,a,s,l,c){var u=Ri(),h=u.invert,f=u.domain,p=c(".%L"),x=c(":%S"),b=c("%I:%M"),w=c("%I %p"),M=c("%a %d"),_=c("%b %d"),F=c("%B"),N=c("%Y");function O(B){return(l(B)<B?p:s(B)<B?x:a(B)<B?b:o(B)<B?w:i(B)<B?n(B)<B?M:_:r(B)<B?F:N)(B)}return u.invert=function(B){return new Date(h(B))},u.domain=function(B){return arguments.length?f(Array.from(B,h_)):f().map(u_)},u.ticks=function(B){var y=f();return t(y[0],y[y.length-1],B??10)},u.tickFormat=function(B,y){return y==null?O:c(y)},u.nice=function(B){var y=f();return(!B||typeof B.range!="function")&&(B=e(y[0],y[y.length-1],B??10)),B?f(Ns(y,B)):u},u.copy=function(){return Un(u,Rh(t,e,r,i,n,o,a,s,l,c))},u}function Ph(){return jr.apply(Rh(Ms,Ls,Vt,Qr,we,ke,Xr,Vr,me,Qn).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function $h(t){for(var e=t.length/6|0,r=new Array(e),i=0;i<e;)r[i]="#"+t.slice(i*6,++i*6);return r}var f_=$h("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function ct(t){return function(){return t}}var Rs=Math.abs,Et=Math.atan2,$e=Math.cos,zh=Math.max,Jn=Math.min,ne=Math.sin,yr=Math.sqrt,wt=1e-12,ti=Math.PI,Hi=ti/2,ei=2*ti;function qh(t){return t>1?0:t<-1?ti:Math.acos(t)}function Ps(t){return t>=1?Hi:t<=-1?-Hi:Math.asin(t)}var $s=Math.PI,zs=2*$s,_r=1e-6,p_=zs-_r;function Wh(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}function d_(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Wh;let r=10**e;return function(i){this._+=i[0];for(let n=1,o=i.length;n<o;++n)this._+=Math.round(arguments[n]*r)/r+i[n]}}var br=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?Wh:d_(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,i,n){this._append`Q${+e},${+r},${this._x1=+i},${this._y1=+n}`}bezierCurveTo(e,r,i,n,o,a){this._append`C${+e},${+r},${+i},${+n},${this._x1=+o},${this._y1=+a}`}arcTo(e,r,i,n,o){if(e=+e,r=+r,i=+i,n=+n,o=+o,o<0)throw new Error(`negative radius: ${o}`);let a=this._x1,s=this._y1,l=i-e,c=n-r,u=a-e,h=s-r,f=u*u+h*h;if(this._x1===null)this._append`M${this._x1=e},${this._y1=r}`;else if(f>_r)if(!(Math.abs(h*l-c*u)>_r)||!o)this._append`L${this._x1=e},${this._y1=r}`;else{let p=i-a,x=n-s,b=l*l+c*c,w=p*p+x*x,M=Math.sqrt(b),_=Math.sqrt(f),F=o*Math.tan(($s-Math.acos((b+f-w)/(2*M*_)))/2),N=F/_,O=F/M;Math.abs(N-1)>_r&&this._append`L${e+N*u},${r+N*h}`,this._append`A${o},${o},0,0,${+(h*p>u*x)},${this._x1=e+O*l},${this._y1=r+O*c}`}}arc(e,r,i,n,o,a){if(e=+e,r=+r,i=+i,a=!!a,i<0)throw new Error(`negative radius: ${i}`);let s=i*Math.cos(n),l=i*Math.sin(n),c=e+s,u=r+l,h=1^a,f=a?n-o:o-n;this._x1===null?this._append`M${c},${u}`:(Math.abs(this._x1-c)>_r||Math.abs(this._y1-u)>_r)&&this._append`L${c},${u}`,i&&(f<0&&(f=f%zs+zs),f>p_?this._append`A${i},${i},0,1,${h},${e-s},${r-l}A${i},${i},0,1,${h},${this._x1=c},${this._y1=u}`:f>_r&&this._append`A${i},${i},0,${+(f>=$s)},${h},${this._x1=e+i*Math.cos(o)},${this._y1=r+i*Math.sin(o)}`)}rect(e,r,i,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${i=+i}v${+n}h${-i}Z`}toString(){return this._}};function Uh(){return new br}Uh.prototype=br.prototype;function to(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{let i=Math.floor(r);if(!(i>=0))throw new RangeError(`invalid digits: ${r}`);e=i}return t},()=>new br(e)}function m_(t){return t.innerRadius}function g_(t){return t.outerRadius}function x_(t){return t.startAngle}function y_(t){return t.endAngle}function __(t){return t&&t.padAngle}function b_(t,e,r,i,n,o,a,s){var l=r-t,c=i-e,u=a-n,h=s-o,f=h*l-u*c;if(!(f*f<wt))return f=(u*(e-o)-h*(t-n))/f,[t+f*l,e+f*c]}function eo(t,e,r,i,n,o,a){var s=t-r,l=e-i,c=(a?o:-o)/yr(s*s+l*l),u=c*l,h=-c*s,f=t+u,p=e+h,x=r+u,b=i+h,w=(f+x)/2,M=(p+b)/2,_=x-f,F=b-p,N=_*_+F*F,O=n-o,B=f*b-x*p,y=(F<0?-1:1)*yr(zh(0,O*O*N-B*B)),q=(B*F-_*y)/N,rt=(-B*_-F*y)/N,et=(B*F+_*y)/N,C=(-B*_+F*y)/N,T=q-w,g=rt-M,v=et-w,A=C-M;return T*T+g*g>v*v+A*A&&(q=et,rt=C),{cx:q,cy:rt,x01:-u,y01:-h,x11:q*(n/O-1),y11:rt*(n/O-1)}}function C_(){var t=m_,e=g_,r=ct(0),i=null,n=x_,o=y_,a=__,s=null,l=to(c);function c(){var u,h,f=+t.apply(this,arguments),p=+e.apply(this,arguments),x=n.apply(this,arguments)-Hi,b=o.apply(this,arguments)-Hi,w=Rs(b-x),M=b>x;if(s||(s=u=l()),p<f&&(h=p,p=f,f=h),!(p>wt))s.moveTo(0,0);else if(w>ei-wt)s.moveTo(p*$e(x),p*ne(x)),s.arc(0,0,p,x,b,!M),f>wt&&(s.moveTo(f*$e(b),f*ne(b)),s.arc(0,0,f,b,x,M));else{var _=x,F=b,N=x,O=b,B=w,y=w,q=a.apply(this,arguments)/2,rt=q>wt&&(i?+i.apply(this,arguments):yr(f*f+p*p)),et=Jn(Rs(p-f)/2,+r.apply(this,arguments)),C=et,T=et,g,v;if(rt>wt){var A=Ps(rt/f*ne(q)),P=Ps(rt/p*ne(q));(B-=A*2)>wt?(A*=M?1:-1,N+=A,O-=A):(B=0,N=O=(x+b)/2),(y-=P*2)>wt?(P*=M?1:-1,_+=P,F-=P):(y=0,_=F=(x+b)/2)}var D=p*$e(_),j=p*ne(_),V=f*$e(O),Z=f*ne(O);if(et>wt){var at=p*$e(F),Bt=p*ne(F),Ft=f*$e(N),Gt=f*ne(N),gt;if(w<ti)if(gt=b_(D,j,Ft,Gt,at,Bt,V,Z)){var Rt=D-gt[0],ht=j-gt[1],It=at-gt[0],E=Bt-gt[1],G=1/ne(qh((Rt*It+ht*E)/(yr(Rt*Rt+ht*ht)*yr(It*It+E*E)))/2),K=yr(gt[0]*gt[0]+gt[1]*gt[1]);C=Jn(et,(f-K)/(G-1)),T=Jn(et,(p-K)/(G+1))}else C=T=0}y>wt?T>wt?(g=eo(Ft,Gt,D,j,p,T,M),v=eo(at,Bt,V,Z,p,T,M),s.moveTo(g.cx+g.x01,g.cy+g.y01),T<et?s.arc(g.cx,g.cy,T,Et(g.y01,g.x01),Et(v.y01,v.x01),!M):(s.arc(g.cx,g.cy,T,Et(g.y01,g.x01),Et(g.y11,g.x11),!M),s.arc(0,0,p,Et(g.cy+g.y11,g.cx+g.x11),Et(v.cy+v.y11,v.cx+v.x11),!M),s.arc(v.cx,v.cy,T,Et(v.y11,v.x11),Et(v.y01,v.x01),!M))):(s.moveTo(D,j),s.arc(0,0,p,_,F,!M)):s.moveTo(D,j),!(f>wt)||!(B>wt)?s.lineTo(V,Z):C>wt?(g=eo(V,Z,at,Bt,f,-C,M),v=eo(D,j,Ft,Gt,f,-C,M),s.lineTo(g.cx+g.x01,g.cy+g.y01),C<et?s.arc(g.cx,g.cy,C,Et(g.y01,g.x01),Et(v.y01,v.x01),!M):(s.arc(g.cx,g.cy,C,Et(g.y01,g.x01),Et(g.y11,g.x11),!M),s.arc(0,0,f,Et(g.cy+g.y11,g.cx+g.x11),Et(v.cy+v.y11,v.cx+v.x11),M),s.arc(v.cx,v.cy,C,Et(v.y11,v.x11),Et(v.y01,v.x01),!M))):s.arc(0,0,f,O,N,M)}if(s.closePath(),u)return s=null,u+""||null}return c.centroid=function(){var u=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,h=(+n.apply(this,arguments)+ +o.apply(this,arguments))/2-ti/2;return[$e(h)*u,ne(h)*u]},c.innerRadius=function(u){return arguments.length?(t=typeof u=="function"?u:ct(+u),c):t},c.outerRadius=function(u){return arguments.length?(e=typeof u=="function"?u:ct(+u),c):e},c.cornerRadius=function(u){return arguments.length?(r=typeof u=="function"?u:ct(+u),c):r},c.padRadius=function(u){return arguments.length?(i=u==null?null:typeof u=="function"?u:ct(+u),c):i},c.startAngle=function(u){return arguments.length?(n=typeof u=="function"?u:ct(+u),c):n},c.endAngle=function(u){return arguments.length?(o=typeof u=="function"?u:ct(+u),c):o},c.padAngle=function(u){return arguments.length?(a=typeof u=="function"?u:ct(+u),c):a},c.context=function(u){return arguments.length?(s=u??null,c):s},c}function Hh(t){this._context=t}Hh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point: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}}};function Yi(t){return new Hh(t)}var j2=Array.prototype.slice;function ro(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Yh(t){return t[0]}function jh(t){return t[1]}function T_(t,e){var r=ct(!0),i=null,n=Yi,o=null,a=to(s);t=typeof t=="function"?t:t===void 0?Yh:ct(t),e=typeof e=="function"?e:e===void 0?jh:ct(e);function s(l){var c,u=(l=ro(l)).length,h,f=!1,p;for(i==null&&(o=n(p=a())),c=0;c<=u;++c)!(c<u&&r(h=l[c],c,l))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(h,c,l),+e(h,c,l));if(p)return o=null,p+""||null}return s.x=function(l){return arguments.length?(t=typeof l=="function"?l:ct(+l),s):t},s.y=function(l){return arguments.length?(e=typeof l=="function"?l:ct(+l),s):e},s.defined=function(l){return arguments.length?(r=typeof l=="function"?l:ct(!!l),s):r},s.curve=function(l){return arguments.length?(n=l,i!=null&&(o=n(i)),s):n},s.context=function(l){return arguments.length?(l==null?i=o=null:o=n(i=l),s):i},s}function Gh(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function Vh(t){return t}function v_(){var t=Vh,e=Gh,r=null,i=ct(0),n=ct(ei),o=ct(0);function a(s){var l,c=(s=ro(s)).length,u,h,f=0,p=new Array(c),x=new Array(c),b=+i.apply(this,arguments),w=Math.min(ei,Math.max(-ei,n.apply(this,arguments)-b)),M,_=Math.min(Math.abs(w)/c,o.apply(this,arguments)),F=_*(w<0?-1:1),N;for(l=0;l<c;++l)(N=x[p[l]=l]=+t(s[l],l,s))>0&&(f+=N);for(e!=null?p.sort(function(O,B){return e(x[O],x[B])}):r!=null&&p.sort(function(O,B){return r(s[O],s[B])}),l=0,h=f?(w-c*F)/f:0;l<c;++l,b=M)u=p[l],N=x[u],M=b+(N>0?N*h:0)+F,x[u]={data:s[u],index:l,value:N,startAngle:b,endAngle:M,padAngle:_};return x}return a.value=function(s){return arguments.length?(t=typeof s=="function"?s:ct(+s),a):t},a.sortValues=function(s){return arguments.length?(e=s,r=null,a):e},a.sort=function(s){return arguments.length?(r=s,e=null,a):r},a.startAngle=function(s){return arguments.length?(i=typeof s=="function"?s:ct(+s),a):i},a.endAngle=function(s){return arguments.length?(n=typeof s=="function"?s:ct(+s),a):n},a.padAngle=function(s){return arguments.length?(o=typeof s=="function"?s:ct(+s),a):o},a}function ri(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)}function ji(t){this._context=t}ji.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ri(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},point: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:ri(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function qs(t){return new ji(t)}var io=class{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 Ws(t){return new io(t,!0)}function Us(t){return new io(t,!1)}function Kt(){}function Xh(t){this._context=t}Xh.prototype={areaStart:Kt,areaEnd:Kt,lineStart: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},lineEnd: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}}},point: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:ri(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Hs(t){return new Xh(t)}function Kh(t){this._context=t}Kh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point: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,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:ri(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Ys(t){return new Kh(t)}function Zh(t,e){this._basis=new ji(t),this._beta=e}Zh.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var i=t[0],n=e[0],o=t[r]-i,a=e[r]-n,s=-1,l;++s<=r;)l=s/r,this._basis.point(this._beta*t[s]+(1-this._beta)*(i+l*o),this._beta*e[s]+(1-this._beta)*(n+l*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var js=function t(e){function r(i){return e===1?new ji(i):new Zh(i,e)}return r.beta=function(i){return t(+i)},r}(.85);function ii(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)}function no(t,e){this._context=t,this._k=(1-e)/6}no.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ii(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point: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:ii(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}};var Gs=function t(e){function r(i){return new no(i,e)}return r.tension=function(i){return t(+i)},r}(0);function oo(t,e){this._context=t,this._k=(1-e)/6}oo.prototype={areaStart:Kt,areaEnd:Kt,lineStart: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},lineEnd: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}}},point: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:ii(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}};var Vs=function t(e){function r(i){return new oo(i,e)}return r.tension=function(i){return t(+i)},r}(0);function ao(t,e){this._context=t,this._k=(1-e)/6}ao.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point: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:ii(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}};var Xs=function t(e){function r(i){return new ao(i,e)}return r.tension=function(i){return t(+i)},r}(0);function Gi(t,e,r){var i=t._x1,n=t._y1,o=t._x2,a=t._y2;if(t._l01_a>wt){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>wt){var c=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);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/u,a=(a*c+t._y1*t._l23_2a-r*t._l12_2a)/u}t._context.bezierCurveTo(i,n,o,a,t._x2,t._y2)}function Qh(t,e){this._context=t,this._alpha=e}Qh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart: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},lineEnd: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},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,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:Gi(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}};var Ks=function t(e){function r(i){return e?new Qh(i,e):new no(i,0)}return r.alpha=function(i){return t(+i)},r}(.5);function Jh(t,e){this._context=t,this._alpha=e}Jh.prototype={areaStart:Kt,areaEnd:Kt,lineStart: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},lineEnd: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}}},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,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:Gi(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}};var Zs=function t(e){function r(i){return e?new Jh(i,e):new oo(i,0)}return r.alpha=function(i){return t(+i)},r}(.5);function tf(t,e){this._context=t,this._alpha=e}tf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart: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},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,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:Gi(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}};var Qs=function t(e){function r(i){return e?new tf(i,e):new ao(i,0)}return r.alpha=function(i){return t(+i)},r}(.5);function ef(t){this._context=t}ef.prototype={areaStart:Kt,areaEnd:Kt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Js(t){return new ef(t)}function rf(t){return t<0?-1:1}function nf(t,e,r){var i=t._x1-t._x0,n=e-t._x1,o=(t._y1-t._y0)/(i||n<0&&-0),a=(r-t._y1)/(n||i<0&&-0),s=(o*n+a*i)/(i+n);return(rf(o)+rf(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function of(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function tl(t,e,r){var i=t._x0,n=t._y0,o=t._x1,a=t._y1,s=(o-i)/3;t._context.bezierCurveTo(i+s,n+s*e,o-s,a-s*r,o,a)}function so(t){this._context=t}so.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:tl(this,this._t0,of(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point: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,tl(this,of(this,r=nf(this,t,e)),r);break;default:tl(this,this._t0,r=nf(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}};function af(t){this._context=new sf(t)}(af.prototype=Object.create(so.prototype)).point=function(t,e){so.prototype.point.call(this,e,t)};function sf(t){this._context=t}sf.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,i,n,o){this._context.bezierCurveTo(e,t,i,r,o,n)}};function el(t){return new so(t)}function rl(t){return new af(t)}function cf(t){this._context=t}cf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd: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 i=lf(t),n=lf(e),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(i[0][o],n[0][o],i[1][o],n[1][o],t[a],e[a]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function lf(t){var e,r=t.length-1,i,n=new Array(r),o=new Array(r),a=new Array(r);for(n[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)n[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(n[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)i=n[e]/o[e-1],o[e]-=i,a[e]-=i*a[e-1];for(n[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)n[e]=(a[e]-n[e+1])/o[e];for(o[r-1]=(t[r]+n[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-n[e+1];return[n,o]}function il(t){return new cf(t)}function lo(t,e){this._context=t,this._t=e}lo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd: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)},point: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}};function nl(t){return new lo(t,.5)}function ol(t){return new lo(t,0)}function al(t){return new lo(t,1)}var S_={value:()=>{}};function hf(){for(var t=0,e=arguments.length,r={},i;t<e;++t){if(!(i=arguments[t]+"")||i in r||/[\s.]/.test(i))throw new Error("illegal type: "+i);r[i]=[]}return new co(r)}function co(t){this._=t}function k_(t,e){return t.trim().split(/^|\s+/).map(function(r){var i="",n=r.indexOf(".");if(n>=0&&(i=r.slice(n+1),r=r.slice(0,n)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:i}})}co.prototype=hf.prototype={constructor:co,on:function(t,e){var r=this._,i=k_(t+"",r),n,o=-1,a=i.length;if(arguments.length<2){for(;++o<a;)if((n=(t=i[o]).type)&&(n=w_(r[n],t.name)))return n;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=uf(r[n],t.name,e);else if(e==null)for(n in r)r[n]=uf(r[n],t.name,null);return this},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new co(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var r=new Array(n),i=0,n,o;i<n;++i)r[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,n=o.length;i<n;++i)o[i].value.apply(e,r)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],n=0,o=i.length;n<o;++n)i[n].value.apply(e,r)}};function w_(t,e){for(var r=0,i=t.length,n;r<i;++r)if((n=t[r]).name===e)return n.value}function uf(t,e,r){for(var i=0,n=t.length;i<n;++i)if(t[i].name===e){t[i]=S_,t=t.slice(0,i).concat(t.slice(i+1));break}return r!=null&&t.push({name:e,value:r}),t}var sl=hf;var ni=0,Xi=0,Vi=0,pf=1e3,uo,Ki,ho=0,Cr=0,fo=0,Zi=typeof performance=="object"&&performance.now?performance:Date,df=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Ji(){return Cr||(df(B_),Cr=Zi.now()+fo)}function B_(){Cr=0}function Qi(){this._call=this._time=this._next=null}Qi.prototype=po.prototype={constructor:Qi,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?Ji():+r)+(e==null?0:+e),!this._next&&Ki!==this&&(Ki?Ki._next=this:uo=this,Ki=this),this._call=t,this._time=r,ll()},stop:function(){this._call&&(this._call=null,this._time=1/0,ll())}};function po(t,e,r){var i=new Qi;return i.restart(t,e,r),i}function mf(){Ji(),++ni;for(var t=uo,e;t;)(e=Cr-t._time)>=0&&t._call.call(void 0,e),t=t._next;--ni}function ff(){Cr=(ho=Zi.now())+fo,ni=Xi=0;try{mf()}finally{ni=0,A_(),Cr=0}}function F_(){var t=Zi.now(),e=t-ho;e>pf&&(fo-=e,ho=t)}function A_(){for(var t,e=uo,r,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(r=e._next,e._next=null,e=t?t._next=r:uo=r);Ki=t,ll(i)}function ll(t){if(!ni){Xi&&(Xi=clearTimeout(Xi));var e=t-Cr;e>24?(t<1/0&&(Xi=setTimeout(ff,t-Zi.now()-fo)),Vi&&(Vi=clearInterval(Vi))):(Vi||(ho=Zi.now(),Vi=setInterval(F_,pf)),ni=1,df(ff))}}function mo(t,e,r){var i=new Qi;return e=e==null?0:+e,i.restart(n=>{i.stop(),t(n+e)},e,r),i}var M_=sl("start","end","cancel","interrupt"),L_=[],yf=0,gf=1,xo=2,go=3,xf=4,yo=5,tn=6;function ze(t,e,r,i,n,o){var a=t.__transition;if(!a)t.__transition={};else if(r in a)return;E_(t,r,{name:e,index:i,group:n,on:M_,tween:L_,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:yf})}function en(t,e){var r=xt(t,e);if(r.state>yf)throw new Error("too late; already scheduled");return r}function Ot(t,e){var r=xt(t,e);if(r.state>go)throw new Error("too late; already running");return r}function xt(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function E_(t,e,r){var i=t.__transition,n;i[e]=r,r.timer=po(o,0,r.time);function o(c){r.state=gf,r.timer.restart(a,r.delay,r.time),r.delay<=c&&a(c-r.delay)}function a(c){var u,h,f,p;if(r.state!==gf)return l();for(u in i)if(p=i[u],p.name===r.name){if(p.state===go)return mo(a);p.state===xf?(p.state=tn,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete i[u]):+u<e&&(p.state=tn,p.timer.stop(),p.on.call("cancel",t,t.__data__,p.index,p.group),delete i[u])}if(mo(function(){r.state===go&&(r.state=xf,r.timer.restart(s,r.delay,r.time),s(c))}),r.state=xo,r.on.call("start",t,t.__data__,r.index,r.group),r.state===xo){for(r.state=go,n=new Array(f=r.tween.length),u=0,h=-1;u<f;++u)(p=r.tween[u].value.call(t,t.__data__,r.index,r.group))&&(n[++h]=p);n.length=h+1}}function s(c){for(var u=c<r.duration?r.ease.call(null,c/r.duration):(r.timer.restart(l),r.state=yo,1),h=-1,f=n.length;++h<f;)n[h].call(t,u);r.state===yo&&(r.on.call("end",t,t.__data__,r.index,r.group),l())}function l(){r.state=tn,r.timer.stop(),delete i[e];for(var c in i)return;delete t.__transition}}function _o(t,e){var r=t.__transition,i,n,o=!0,a;if(r){e=e==null?null:e+"";for(a in r){if((i=r[a]).name!==e){o=!1;continue}n=i.state>xo&&i.state<yo,i.state=tn,i.timer.stop(),i.on.call(n?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete r[a]}o&&delete t.__transition}}function _f(t){return this.each(function(){_o(this,t)})}function O_(t,e){var r,i;return function(){var n=Ot(this,t),o=n.tween;if(o!==r){i=r=o;for(var a=0,s=i.length;a<s;++a)if(i[a].name===e){i=i.slice(),i.splice(a,1);break}}n.tween=i}}function I_(t,e,r){var i,n;if(typeof r!="function")throw new Error;return function(){var o=Ot(this,t),a=o.tween;if(a!==i){n=(i=a).slice();for(var s={name:e,value:r},l=0,c=n.length;l<c;++l)if(n[l].name===e){n[l]=s;break}l===c&&n.push(s)}o.tween=n}}function bf(t,e){var r=this._id;if(t+="",arguments.length<2){for(var i=xt(this.node(),r).tween,n=0,o=i.length,a;n<o;++n)if((a=i[n]).name===t)return a.value;return null}return this.each((e==null?O_:I_)(r,t,e))}function oi(t,e,r){var i=t._id;return t.each(function(){var n=Ot(this,i);(n.value||(n.value={}))[e]=r.apply(this,arguments)}),function(n){return xt(n,i).value[e]}}function bo(t,e){var r;return(typeof e=="number"?Lt:e instanceof re?ur:(r=re(e))?(e=r,ur):Ni)(t,e)}function D_(t){return function(){this.removeAttribute(t)}}function N_(t){return function(){this.removeAttributeNS(t.space,t.local)}}function R_(t,e,r){var i,n=r+"",o;return function(){var a=this.getAttribute(t);return a===n?null:a===i?o:o=e(i=a,r)}}function P_(t,e,r){var i,n=r+"",o;return function(){var a=this.getAttributeNS(t.space,t.local);return a===n?null:a===i?o:o=e(i=a,r)}}function $_(t,e,r){var i,n,o;return function(){var a,s=r(this),l;return s==null?void this.removeAttribute(t):(a=this.getAttribute(t),l=s+"",a===l?null:a===i&&l===n?o:(n=l,o=e(i=a,s)))}}function z_(t,e,r){var i,n,o;return function(){var a,s=r(this),l;return s==null?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),l=s+"",a===l?null:a===i&&l===n?o:(n=l,o=e(i=a,s)))}}function Cf(t,e){var r=Ce(t),i=r==="transform"?fs:bo;return this.attrTween(t,typeof e=="function"?(r.local?z_:$_)(r,i,oi(this,"attr."+t,e)):e==null?(r.local?N_:D_)(r):(r.local?P_:R_)(r,i,e))}function q_(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}function W_(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}function U_(t,e){var r,i;function n(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&W_(t,o)),r}return n._value=e,n}function H_(t,e){var r,i;function n(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&q_(t,o)),r}return n._value=e,n}function Tf(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 i=Ce(t);return this.tween(r,(i.local?U_:H_)(i,e))}function Y_(t,e){return function(){en(this,t).delay=+e.apply(this,arguments)}}function j_(t,e){return e=+e,function(){en(this,t).delay=e}}function vf(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Y_:j_)(e,t)):xt(this.node(),e).delay}function G_(t,e){return function(){Ot(this,t).duration=+e.apply(this,arguments)}}function V_(t,e){return e=+e,function(){Ot(this,t).duration=e}}function Sf(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?G_:V_)(e,t)):xt(this.node(),e).duration}function X_(t,e){if(typeof e!="function")throw new Error;return function(){Ot(this,t).ease=e}}function kf(t){var e=this._id;return arguments.length?this.each(X_(e,t)):xt(this.node(),e).ease}function K_(t,e){return function(){var r=e.apply(this,arguments);if(typeof r!="function")throw new Error;Ot(this,t).ease=r}}function wf(t){if(typeof t!="function")throw new Error;return this.each(K_(this._id,t))}function Bf(t){typeof t!="function"&&(t=Mi(t));for(var e=this._groups,r=e.length,i=new Array(r),n=0;n<r;++n)for(var o=e[n],a=o.length,s=i[n]=[],l,c=0;c<a;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&s.push(l);return new $t(i,this._parents,this._name,this._id)}function Ff(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,i=e.length,n=r.length,o=Math.min(i,n),a=new Array(i),s=0;s<o;++s)for(var l=e[s],c=r[s],u=l.length,h=a[s]=new Array(u),f,p=0;p<u;++p)(f=l[p]||c[p])&&(h[p]=f);for(;s<i;++s)a[s]=e[s];return new $t(a,this._parents,this._name,this._id)}function Z_(t){return(t+"").trim().split(/^|\s+/).every(function(e){var r=e.indexOf(".");return r>=0&&(e=e.slice(0,r)),!e||e==="start"})}function Q_(t,e,r){var i,n,o=Z_(e)?en:Ot;return function(){var a=o(this,t),s=a.on;s!==i&&(n=(i=s).copy()).on(e,r),a.on=n}}function Af(t,e){var r=this._id;return arguments.length<2?xt(this.node(),r).on.on(t):this.each(Q_(r,t,e))}function J_(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}function Mf(){return this.on("end.remove",J_(this._id))}function Lf(t){var e=this._name,r=this._id;typeof t!="function"&&(t=ar(t));for(var i=this._groups,n=i.length,o=new Array(n),a=0;a<n;++a)for(var s=i[a],l=s.length,c=o[a]=new Array(l),u,h,f=0;f<l;++f)(u=s[f])&&(h=t.call(u,u.__data__,f,s))&&("__data__"in u&&(h.__data__=u.__data__),c[f]=h,ze(c[f],e,r,f,c,xt(u,r)));return new $t(o,this._parents,e,r)}function Ef(t){var e=this._name,r=this._id;typeof t!="function"&&(t=Ai(t));for(var i=this._groups,n=i.length,o=[],a=[],s=0;s<n;++s)for(var l=i[s],c=l.length,u,h=0;h<c;++h)if(u=l[h]){for(var f=t.call(u,u.__data__,h,l),p,x=xt(u,r),b=0,w=f.length;b<w;++b)(p=f[b])&&ze(p,e,r,b,f,x);o.push(f),a.push(u)}return new $t(o,a,e,r)}var t1=Te.prototype.constructor;function Of(){return new t1(this._groups,this._parents)}function e1(t,e){var r,i,n;return function(){var o=Ie(this,t),a=(this.style.removeProperty(t),Ie(this,t));return o===a?null:o===r&&a===i?n:n=e(r=o,i=a)}}function If(t){return function(){this.style.removeProperty(t)}}function r1(t,e,r){var i,n=r+"",o;return function(){var a=Ie(this,t);return a===n?null:a===i?o:o=e(i=a,r)}}function i1(t,e,r){var i,n,o;return function(){var a=Ie(this,t),s=r(this),l=s+"";return s==null&&(l=s=(this.style.removeProperty(t),Ie(this,t))),a===l?null:a===i&&l===n?o:(n=l,o=e(i=a,s))}}function n1(t,e){var r,i,n,o="style."+e,a="end."+o,s;return function(){var l=Ot(this,t),c=l.on,u=l.value[o]==null?s||(s=If(e)):void 0;(c!==r||n!==u)&&(i=(r=c).copy()).on(a,n=u),l.on=i}}function Df(t,e,r){var i=(t+="")=="transform"?hs:bo;return e==null?this.styleTween(t,e1(t,i)).on("end.style."+t,If(t)):typeof e=="function"?this.styleTween(t,i1(t,i,oi(this,"style."+t,e))).each(n1(this._id,t)):this.styleTween(t,r1(t,i,e),r).on("end.style."+t,null)}function o1(t,e,r){return function(i){this.style.setProperty(t,e.call(this,i),r)}}function a1(t,e,r){var i,n;function o(){var a=e.apply(this,arguments);return a!==n&&(i=(n=a)&&o1(t,a,r)),i}return o._value=e,o}function Nf(t,e,r){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(e==null)return this.tween(i,null);if(typeof e!="function")throw new Error;return this.tween(i,a1(t,e,r??""))}function s1(t){return function(){this.textContent=t}}function l1(t){return function(){var e=t(this);this.textContent=e??""}}function Rf(t){return this.tween("text",typeof t=="function"?l1(oi(this,"text",t)):s1(t==null?"":t+""))}function c1(t){return function(e){this.textContent=t.call(this,e)}}function u1(t){var e,r;function i(){var n=t.apply(this,arguments);return n!==r&&(e=(r=n)&&c1(n)),e}return i._value=t,i}function Pf(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,u1(t))}function $f(){for(var t=this._name,e=this._id,r=Co(),i=this._groups,n=i.length,o=0;o<n;++o)for(var a=i[o],s=a.length,l,c=0;c<s;++c)if(l=a[c]){var u=xt(l,e);ze(l,t,r,c,a,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new $t(i,this._parents,t,r)}function zf(){var t,e,r=this,i=r._id,n=r.size();return new Promise(function(o,a){var s={value:a},l={value:function(){--n===0&&o()}};r.each(function(){var c=Ot(this,i),u=c.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(s),e._.interrupt.push(s),e._.end.push(l)),c.on=e}),n===0&&o()})}var h1=0;function $t(t,e,r,i){this._groups=t,this._parents=e,this._name=r,this._id=i}function qf(t){return Te().transition(t)}function Co(){return++h1}var Be=Te.prototype;$t.prototype=qf.prototype={constructor:$t,select:Lf,selectAll:Ef,selectChild:Be.selectChild,selectChildren:Be.selectChildren,filter:Bf,merge:Ff,selection:Of,transition:$f,call:Be.call,nodes:Be.nodes,node:Be.node,size:Be.size,empty:Be.empty,each:Be.each,on:Af,attr:Cf,attrTween:Tf,style:Df,styleTween:Nf,text:Rf,textTween:Pf,remove:Mf,tween:bf,delay:vf,duration:Sf,ease:kf,easeVarying:wf,end:zf,[Symbol.iterator]:Be[Symbol.iterator]};function To(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var f1={time:null,delay:0,duration:250,ease:To};function p1(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}function Wf(t){var e,r;t instanceof $t?(e=t._id,t=t._name):(e=Co(),(r=f1).time=Ji(),t=t==null?null:t+"");for(var i=this._groups,n=i.length,o=0;o<n;++o)for(var a=i[o],s=a.length,l,c=0;c<s;++c)(l=a[c])&&ze(l,t,e,c,a,r||p1(l,e));return new $t(i,this._parents,t,e)}Te.prototype.interrupt=_f;Te.prototype.transition=Wf;var{abs:m6,max:g6,min:x6}=Math;function Uf(t){return[+t[0],+t[1]]}function d1(t){return[Uf(t[0]),Uf(t[1])]}var y6={name:"x",handles:["w","e"].map(cl),input:function(t,e){return t==null?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},_6={name:"y",handles:["n","s"].map(cl),input:function(t,e){return t==null?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},b6={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(cl),input:function(t){return t==null?null:d1(t)},output:function(t){return t}};function cl(t){return{type:t}}function m1(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Hf(t,e){return fetch(t,e).then(m1)}function ul(t){return(e,r)=>Hf(e,r).then(i=>new DOMParser().parseFromString(i,t))}var g1=ul("application/xml"),x1=ul("text/html"),y1=ul("image/svg+xml");function qe(t,e,r){this.k=t,this.x=e,this.y=r}qe.prototype={constructor:qe,scale:function(t){return t===1?this:new qe(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new qe(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var hl=new qe(1,0,0);fl.prototype=qe.prototype;function fl(t){for(;!t.__zoom;)if(!(t=t.parentNode))return hl;return t.__zoom}var vo={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:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(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),hsl2rgb:({h:t,s:e,l:r},i)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;let n=r<.5?r*(1+e):r+e-r*e,o=2*r-n;switch(i){case"r":return vo.hue2rgb(o,n,t+.3333333333333333)*255;case"g":return vo.hue2rgb(o,n,t)*255;case"b":return vo.hue2rgb(o,n,t-.3333333333333333)*255}},rgb2hsl:({r:t,g:e,b:r},i)=>{t/=255,e/=255,r/=255;let n=Math.max(t,e,r),o=Math.min(t,e,r),a=(n+o)/2;if(i==="l")return a*100;if(n===o)return 0;let s=n-o,l=a>.5?s/(2-n-o):s/(n+o);if(i==="s")return l*100;switch(n){case t:return((e-r)/s+(e<r?6:0))*60;case e:return((r-t)/s+2)*60;case r:return((t-e)/s+4)*60;default:return-1}}},jf=vo;var _1={clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(t*1e10)/1e10},Gf=_1;var b1={dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}},Vf=b1;var C1={channel:jf,lang:Gf,unit:Vf},W=C1;var Fe={};for(let t=0;t<=255;t++)Fe[t]=W.unit.dec2hex(t);var yt={ALL:0,RGB:1,HSL:2};var ml=class{constructor(){this.type=yt.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=yt.ALL}is(e){return this.type===e}},Xf=ml;var gl=class{constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new Xf}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=yt.ALL,this}_ensureHSL(){let e=this.data,{h:r,s:i,l:n}=e;r===void 0&&(e.h=W.channel.rgb2hsl(e,"h")),i===void 0&&(e.s=W.channel.rgb2hsl(e,"s")),n===void 0&&(e.l=W.channel.rgb2hsl(e,"l"))}_ensureRGB(){let e=this.data,{r,g:i,b:n}=e;r===void 0&&(e.r=W.channel.hsl2rgb(e,"r")),i===void 0&&(e.g=W.channel.hsl2rgb(e,"g")),n===void 0&&(e.b=W.channel.hsl2rgb(e,"b"))}get r(){let e=this.data,r=e.r;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),W.channel.hsl2rgb(e,"r"))}get g(){let e=this.data,r=e.g;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),W.channel.hsl2rgb(e,"g"))}get b(){let e=this.data,r=e.b;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),W.channel.hsl2rgb(e,"b"))}get h(){let e=this.data,r=e.h;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),W.channel.rgb2hsl(e,"h"))}get s(){let e=this.data,r=e.s;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),W.channel.rgb2hsl(e,"s"))}get l(){let e=this.data,r=e.l;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),W.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(yt.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(yt.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(yt.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(yt.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(yt.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(yt.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}},Kf=gl;var T1=new Kf({r:0,g:0,b:0,a:0},"transparent"),We=T1;var Zf={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;let e=t.match(Zf.re);if(!e)return;let r=e[1],i=parseInt(r,16),n=r.length,o=n%4===0,a=n>4,s=a?1:17,l=a?8:4,c=o?0:-1,u=a?255:15;return We.set({r:(i>>l*(c+3)&u)*s,g:(i>>l*(c+2)&u)*s,b:(i>>l*(c+1)&u)*s,a:o?(i&u)*s/255:1},t)},stringify:t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`#${Fe[Math.round(e)]}${Fe[Math.round(r)]}${Fe[Math.round(i)]}${Fe[Math.round(n*255)]}`:`#${Fe[Math.round(e)]}${Fe[Math.round(r)]}${Fe[Math.round(i)]}`}},Tr=Zf;var So={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:t=>{let e=t.match(So.hueRe);if(e){let[,r,i]=e;switch(i){case"grad":return W.channel.clamp.h(parseFloat(r)*.9);case"rad":return W.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return W.channel.clamp.h(parseFloat(r)*360)}}return W.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(e!==104&&e!==72)return;let r=t.match(So.re);if(!r)return;let[,i,n,o,a,s]=r;return We.set({h:So._hue2deg(i),s:W.channel.clamp.s(parseFloat(n)),l:W.channel.clamp.l(parseFloat(o)),a:a?W.channel.clamp.a(s?parseFloat(a)/100:parseFloat(a)):1},t)},stringify:t=>{let{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${W.lang.round(e)}, ${W.lang.round(r)}%, ${W.lang.round(i)}%, ${n})`:`hsl(${W.lang.round(e)}, ${W.lang.round(r)}%, ${W.lang.round(i)}%)`}},rn=So;var ko={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:t=>{t=t.toLowerCase();let e=ko.colors[t];if(e)return Tr.parse(e)},stringify:t=>{let e=Tr.stringify(t);for(let r in ko.colors)if(ko.colors[r]===e)return r}},xl=ko;var Qf={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:t=>{let e=t.charCodeAt(0);if(e!==114&&e!==82)return;let r=t.match(Qf.re);if(!r)return;let[,i,n,o,a,s,l,c,u]=r;return We.set({r:W.channel.clamp.r(n?parseFloat(i)*2.55:parseFloat(i)),g:W.channel.clamp.g(a?parseFloat(o)*2.55:parseFloat(o)),b:W.channel.clamp.b(l?parseFloat(s)*2.55:parseFloat(s)),a:c?W.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${W.lang.round(e)}, ${W.lang.round(r)}, ${W.lang.round(i)}, ${W.lang.round(n)})`:`rgb(${W.lang.round(e)}, ${W.lang.round(r)}, ${W.lang.round(i)})`}},nn=Qf;var v1={format:{keyword:xl,hex:Tr,rgb:nn,rgba:nn,hsl:rn,hsla:rn},parse:t=>{if(typeof t!="string")return t;let e=Tr.parse(t)||nn.parse(t)||rn.parse(t)||xl.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(yt.HSL)||t.data.r===void 0?rn.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?nn.stringify(t):Tr.stringify(t)},_t=v1;var S1=t=>{let{r:e,g:r,b:i}=_t.parse(t),n=.2126*W.channel.toLinear(e)+.7152*W.channel.toLinear(r)+.0722*W.channel.toLinear(i);return W.lang.round(n)},Jf=S1;var k1=t=>Jf(t)>=.5,tp=k1;var w1=t=>!tp(t),vr=w1;var B1=(t,e,r)=>{let i=_t.parse(t),n=i[e],o=W.channel.clamp[e](n+r);return n!==o&&(i[e]=o),_t.stringify(i)},wo=B1;var F1=(t,e)=>wo(t,"l",e),$=F1;var A1=(t,e)=>wo(t,"l",-e),Y=A1;var M1=(t,e)=>{let r=_t.parse(t);for(let i in e)r[i]=W.channel.clamp[i](e[i]);return _t.stringify(r)},Bo=M1;var L1=(t,e,r=0,i=1)=>{if(typeof t!="number")return Bo(t,{a:e});let n=We.set({r:W.channel.clamp.r(t),g:W.channel.clamp.g(e),b:W.channel.clamp.b(r),a:W.channel.clamp.a(i)});return _t.stringify(n)},Ue=L1;var E1=(t,e)=>W.lang.round(_t.parse(t)[e]),O1=E1;var I1=(t,e)=>{let r=_t.parse(t),i={};for(let n in e)e[n]&&(i[n]=r[n]+e[n]);return Bo(t,i)},m=I1;var D1=(t,e,r=50)=>{let{r:i,g:n,b:o,a}=_t.parse(t),{r:s,g:l,b:c,a:u}=_t.parse(e),h=r/100,f=h*2-1,p=a-u,b=((f*p===-1?f:(f+p)/(1+f*p))+1)/2,w=1-b,M=i*b+s*w,_=n*b+l*w,F=o*b+c*w,N=a*h+u*(1-h);return Ue(M,_,F,N)},ep=D1;var N1=(t,e=100)=>{let r=_t.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,ep(r,t,e)},L=N1;var R1=typeof global=="object"&&global&&global.Object===Object&&global,Fo=R1;var P1=typeof self=="object"&&self&&self.Object===Object&&self,$1=Fo||P1||Function("return this")(),pt=$1;var z1=pt.Symbol,ai=z1;var rp=Object.prototype,q1=rp.hasOwnProperty,W1=rp.toString,on=ai?ai.toStringTag:void 0;function U1(t){var e=q1.call(t,on),r=t[on];try{t[on]=void 0;var i=!0}catch{}var n=W1.call(t);return i&&(e?t[on]=r:delete t[on]),n}var ip=U1;var H1=Object.prototype,Y1=H1.toString;function j1(t){return Y1.call(t)}var np=j1;var G1="[object Null]",V1="[object Undefined]",op=ai?ai.toStringTag:void 0;function X1(t){return t==null?t===void 0?V1:G1:op&&op in Object(t)?ip(t):np(t)}var oe=X1;function K1(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ut=K1;var Z1="[object AsyncFunction]",Q1="[object Function]",J1="[object GeneratorFunction]",tb="[object Proxy]";function eb(t){if(!Ut(t))return!1;var e=oe(t);return e==Q1||e==J1||e==Z1||e==tb}var si=eb;var rb=pt["__core-js_shared__"],Ao=rb;var ap=function(){var t=/[^.]+$/.exec(Ao&&Ao.keys&&Ao.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function ib(t){return!!ap&&ap in t}var sp=ib;var nb=Function.prototype,ob=nb.toString;function ab(t){if(t!=null){try{return ob.call(t)}catch{}try{return t+""}catch{}}return""}var Ae=ab;var sb=/[\\^$.*+?()[\]{}|]/g,lb=/^\[object .+?Constructor\]$/,cb=Function.prototype,ub=Object.prototype,hb=cb.toString,fb=ub.hasOwnProperty,pb=RegExp("^"+hb.call(fb).replace(sb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function db(t){if(!Ut(t)||sp(t))return!1;var e=si(t)?pb:lb;return e.test(Ae(t))}var lp=db;function mb(t,e){return t?.[e]}var cp=mb;function gb(t,e){var r=cp(t,e);return lp(r)?r:void 0}var Ht=gb;var xb=Ht(Object,"create"),Me=xb;function yb(){this.__data__=Me?Me(null):{},this.size=0}var up=yb;function _b(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var hp=_b;var bb="__lodash_hash_undefined__",Cb=Object.prototype,Tb=Cb.hasOwnProperty;function vb(t){var e=this.__data__;if(Me){var r=e[t];return r===bb?void 0:r}return Tb.call(e,t)?e[t]:void 0}var fp=vb;var Sb=Object.prototype,kb=Sb.hasOwnProperty;function wb(t){var e=this.__data__;return Me?e[t]!==void 0:kb.call(e,t)}var pp=wb;var Bb="__lodash_hash_undefined__";function Fb(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Me&&e===void 0?Bb:e,this}var dp=Fb;function li(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}li.prototype.clear=up;li.prototype.delete=hp;li.prototype.get=fp;li.prototype.has=pp;li.prototype.set=dp;var yl=li;function Ab(){this.__data__=[],this.size=0}var mp=Ab;function Mb(t,e){return t===e||t!==t&&e!==e}var He=Mb;function Lb(t,e){for(var r=t.length;r--;)if(He(t[r][0],e))return r;return-1}var Ye=Lb;var Eb=Array.prototype,Ob=Eb.splice;function Ib(t){var e=this.__data__,r=Ye(e,t);if(r<0)return!1;var i=e.length-1;return r==i?e.pop():Ob.call(e,r,1),--this.size,!0}var gp=Ib;function Db(t){var e=this.__data__,r=Ye(e,t);return r<0?void 0:e[r][1]}var xp=Db;function Nb(t){return Ye(this.__data__,t)>-1}var yp=Nb;function Rb(t,e){var r=this.__data__,i=Ye(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}var _p=Rb;function ci(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}ci.prototype.clear=mp;ci.prototype.delete=gp;ci.prototype.get=xp;ci.prototype.has=yp;ci.prototype.set=_p;var je=ci;var Pb=Ht(pt,"Map"),Ge=Pb;function $b(){this.size=0,this.__data__={hash:new yl,map:new(Ge||je),string:new yl}}var bp=$b;function zb(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Cp=zb;function qb(t,e){var r=t.__data__;return Cp(e)?r[typeof e=="string"?"string":"hash"]:r.map}var Ve=qb;function Wb(t){var e=Ve(this,t).delete(t);return this.size-=e?1:0,e}var Tp=Wb;function Ub(t){return Ve(this,t).get(t)}var vp=Ub;function Hb(t){return Ve(this,t).has(t)}var Sp=Hb;function Yb(t,e){var r=Ve(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}var kp=Yb;function ui(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}ui.prototype.clear=bp;ui.prototype.delete=Tp;ui.prototype.get=vp;ui.prototype.has=Sp;ui.prototype.set=kp;var an=ui;var jb="Expected a function";function _l(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(jb);var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],o=r.cache;if(o.has(n))return o.get(n);var a=t.apply(this,i);return r.cache=o.set(n,a)||o,a};return r.cache=new(_l.Cache||an),r}_l.Cache=an;var Mo=_l;function Gb(){this.__data__=new je,this.size=0}var wp=Gb;function Vb(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Bp=Vb;function Xb(t){return this.__data__.get(t)}var Fp=Xb;function Kb(t){return this.__data__.has(t)}var Ap=Kb;var Zb=200;function Qb(t,e){var r=this.__data__;if(r instanceof je){var i=r.__data__;if(!Ge||i.length<Zb-1)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new an(i)}return r.set(t,e),this.size=r.size,this}var Mp=Qb;function hi(t){var e=this.__data__=new je(t);this.size=e.size}hi.prototype.clear=wp;hi.prototype.delete=Bp;hi.prototype.get=Fp;hi.prototype.has=Ap;hi.prototype.set=Mp;var Lp=hi;var Jb=function(){try{var t=Ht(Object,"defineProperty");return t({},"",{}),t}catch{}}(),fi=Jb;function tC(t,e,r){e=="__proto__"&&fi?fi(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var pi=tC;function eC(t,e,r){(r!==void 0&&!He(t[e],r)||r===void 0&&!(e in t))&&pi(t,e,r)}var sn=eC;function rC(t){return function(e,r,i){for(var n=-1,o=Object(e),a=i(e),s=a.length;s--;){var l=a[t?s:++n];if(r(o[l],l,o)===!1)break}return e}}var Ep=rC;var iC=Ep(),Op=iC;var Rp=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ip=Rp&&typeof module=="object"&&module&&!module.nodeType&&module,nC=Ip&&Ip.exports===Rp,Dp=nC?pt.Buffer:void 0,Np=Dp?Dp.allocUnsafe:void 0;function oC(t,e){if(e)return t.slice();var r=t.length,i=Np?Np(r):new t.constructor(r);return t.copy(i),i}var Pp=oC;var aC=pt.Uint8Array,bl=aC;function sC(t){var e=new t.constructor(t.byteLength);return new bl(e).set(new bl(t)),e}var $p=sC;function lC(t,e){var r=e?$p(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var zp=lC;function cC(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r<i;)e[r]=t[r];return e}var qp=cC;var Wp=Object.create,uC=function(){function t(){}return function(e){if(!Ut(e))return{};if(Wp)return Wp(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),Up=uC;function hC(t,e){return function(r){return t(e(r))}}var Lo=hC;var fC=Lo(Object.getPrototypeOf,Object),Eo=fC;var pC=Object.prototype;function dC(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||pC;return t===r}var Xe=dC;function mC(t){return typeof t.constructor=="function"&&!Xe(t)?Up(Eo(t)):{}}var Hp=mC;function gC(t){return t!=null&&typeof t=="object"}var ge=gC;var xC="[object Arguments]";function yC(t){return ge(t)&&oe(t)==xC}var Cl=yC;var Yp=Object.prototype,_C=Yp.hasOwnProperty,bC=Yp.propertyIsEnumerable,CC=Cl(function(){return arguments}())?Cl:function(t){return ge(t)&&_C.call(t,"callee")&&!bC.call(t,"callee")},Sr=CC;var TC=Array.isArray,kr=TC;var vC=9007199254740991;function SC(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=vC}var Oo=SC;function kC(t){return t!=null&&Oo(t.length)&&!si(t)}var Ke=kC;function wC(t){return ge(t)&&Ke(t)}var jp=wC;function BC(){return!1}var Gp=BC;var Kp=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vp=Kp&&typeof module=="object"&&module&&!module.nodeType&&module,FC=Vp&&Vp.exports===Kp,Xp=FC?pt.Buffer:void 0,AC=Xp?Xp.isBuffer:void 0,MC=AC||Gp,di=MC;var LC="[object Object]",EC=Function.prototype,OC=Object.prototype,Zp=EC.toString,IC=OC.hasOwnProperty,DC=Zp.call(Object);function NC(t){if(!ge(t)||oe(t)!=LC)return!1;var e=Eo(t);if(e===null)return!0;var r=IC.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Zp.call(r)==DC}var Qp=NC;var RC="[object Arguments]",PC="[object Array]",$C="[object Boolean]",zC="[object Date]",qC="[object Error]",WC="[object Function]",UC="[object Map]",HC="[object Number]",YC="[object Object]",jC="[object RegExp]",GC="[object Set]",VC="[object String]",XC="[object WeakMap]",KC="[object ArrayBuffer]",ZC="[object DataView]",QC="[object Float32Array]",JC="[object Float64Array]",tT="[object Int8Array]",eT="[object Int16Array]",rT="[object Int32Array]",iT="[object Uint8Array]",nT="[object Uint8ClampedArray]",oT="[object Uint16Array]",aT="[object Uint32Array]",lt={};lt[QC]=lt[JC]=lt[tT]=lt[eT]=lt[rT]=lt[iT]=lt[nT]=lt[oT]=lt[aT]=!0;lt[RC]=lt[PC]=lt[KC]=lt[$C]=lt[ZC]=lt[zC]=lt[qC]=lt[WC]=lt[UC]=lt[HC]=lt[YC]=lt[jC]=lt[GC]=lt[VC]=lt[XC]=!1;function sT(t){return ge(t)&&Oo(t.length)&&!!lt[oe(t)]}var Jp=sT;function lT(t){return function(e){return t(e)}}var td=lT;var ed=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ln=ed&&typeof module=="object"&&module&&!module.nodeType&&module,cT=ln&&ln.exports===ed,Tl=cT&&Fo.process,uT=function(){try{var t=ln&&ln.require&&ln.require("util").types;return t||Tl&&Tl.binding&&Tl.binding("util")}catch{}}(),vl=uT;var rd=vl&&vl.isTypedArray,hT=rd?td(rd):Jp,mi=hT;function fT(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var cn=fT;var pT=Object.prototype,dT=pT.hasOwnProperty;function mT(t,e,r){var i=t[e];(!(dT.call(t,e)&&He(i,r))||r===void 0&&!(e in t))&&pi(t,e,r)}var id=mT;function gT(t,e,r,i){var n=!r;r||(r={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=i?i(r[s],t[s],s,r,t):void 0;l===void 0&&(l=t[s]),n?pi(r,s,l):id(r,s,l)}return r}var nd=gT;function xT(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}var od=xT;var yT=9007199254740991,_T=/^(?:0|[1-9]\d*)$/;function bT(t,e){var r=typeof t;return e=e??yT,!!e&&(r=="number"||r!="symbol"&&_T.test(t))&&t>-1&&t%1==0&&t<e}var Io=bT;var CT=Object.prototype,TT=CT.hasOwnProperty;function vT(t,e){var r=kr(t),i=!r&&Sr(t),n=!r&&!i&&di(t),o=!r&&!i&&!n&&mi(t),a=r||i||n||o,s=a?od(t.length,String):[],l=s.length;for(var c in t)(e||TT.call(t,c))&&!(a&&(c=="length"||n&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Io(c,l)))&&s.push(c);return s}var ad=vT;function ST(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var sd=ST;var kT=Object.prototype,wT=kT.hasOwnProperty;function BT(t){if(!Ut(t))return sd(t);var e=Xe(t),r=[];for(var i in t)i=="constructor"&&(e||!wT.call(t,i))||r.push(i);return r}var ld=BT;function FT(t){return Ke(t)?ad(t,!0):ld(t)}var Do=FT;function AT(t){return nd(t,Do(t))}var cd=AT;function MT(t,e,r,i,n,o,a){var s=cn(t,r),l=cn(e,r),c=a.get(l);if(c){sn(t,r,c);return}var u=o?o(s,l,r+"",t,e,a):void 0,h=u===void 0;if(h){var f=kr(l),p=!f&&di(l),x=!f&&!p&&mi(l);u=l,f||p||x?kr(s)?u=s:jp(s)?u=qp(s):p?(h=!1,u=Pp(l,!0)):x?(h=!1,u=zp(l,!0)):u=[]:Qp(l)||Sr(l)?(u=s,Sr(s)?u=cd(s):(!Ut(s)||si(s))&&(u=Hp(l))):h=!1}h&&(a.set(l,u),n(u,l,i,o,a),a.delete(l)),sn(t,r,u)}var ud=MT;function hd(t,e,r,i,n){t!==e&&Op(e,function(o,a){if(n||(n=new Lp),Ut(o))ud(t,e,a,r,hd,i,n);else{var s=i?i(cn(t,a),o,a+"",t,e,n):void 0;s===void 0&&(s=o),sn(t,a,s)}},Do)}var fd=hd;function LT(t){return t}var No=LT;function ET(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var pd=ET;var dd=Math.max;function OT(t,e,r){return e=dd(e===void 0?t.length-1:e,0),function(){for(var i=arguments,n=-1,o=dd(i.length-e,0),a=Array(o);++n<o;)a[n]=i[e+n];n=-1;for(var s=Array(e+1);++n<e;)s[n]=i[n];return s[e]=r(a),pd(t,this,s)}}var md=OT;function IT(t){return function(){return t}}var gd=IT;var DT=fi?function(t,e){return fi(t,"toString",{configurable:!0,enumerable:!1,value:gd(e),writable:!0})}:No,xd=DT;var NT=800,RT=16,PT=Date.now;function $T(t){var e=0,r=0;return function(){var i=PT(),n=RT-(i-r);if(r=i,n>0){if(++e>=NT)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var yd=$T;var zT=yd(xd),_d=zT;function qT(t,e){return _d(md(t,e,No),t+"")}var bd=qT;function WT(t,e,r){if(!Ut(r))return!1;var i=typeof e;return(i=="number"?Ke(r)&&Io(e,r.length):i=="string"&&e in r)?He(r[e],t):!1}var Cd=WT;function UT(t){return bd(function(e,r){var i=-1,n=r.length,o=n>1?r[n-1]:void 0,a=n>2?r[2]:void 0;for(o=t.length>3&&typeof o=="function"?(n--,o):void 0,a&&Cd(r[0],r[1],a)&&(o=n<3?void 0:o,n=1),e=Object(e);++i<n;){var s=r[i];s&&t(e,s,i,o)}return e})}var Td=UT;var HT=Td(function(t,e,r){fd(t,e,r)}),vd=HT;var YT=Lo(Object.keys,Object),Sd=YT;var jT=Object.prototype,GT=jT.hasOwnProperty;function VT(t){if(!Xe(t))return Sd(t);var e=[];for(var r in Object(t))GT.call(t,r)&&r!="constructor"&&e.push(r);return e}var kd=VT;var XT=Ht(pt,"DataView"),Ro=XT;var KT=Ht(pt,"Promise"),Po=KT;var ZT=Ht(pt,"Set"),$o=ZT;var QT=Ht(pt,"WeakMap"),zo=QT;var wd="[object Map]",JT="[object Object]",Bd="[object Promise]",Fd="[object Set]",Ad="[object WeakMap]",Md="[object DataView]",tv=Ae(Ro),ev=Ae(Ge),rv=Ae(Po),iv=Ae($o),nv=Ae(zo),wr=oe;(Ro&&wr(new Ro(new ArrayBuffer(1)))!=Md||Ge&&wr(new Ge)!=wd||Po&&wr(Po.resolve())!=Bd||$o&&wr(new $o)!=Fd||zo&&wr(new zo)!=Ad)&&(wr=function(t){var e=oe(t),r=e==JT?t.constructor:void 0,i=r?Ae(r):"";if(i)switch(i){case tv:return Md;case ev:return wd;case rv:return Bd;case iv:return Fd;case nv:return Ad}return e});var Ld=wr;var ov="[object Map]",av="[object Set]",sv=Object.prototype,lv=sv.hasOwnProperty;function cv(t){if(t==null)return!0;if(Ke(t)&&(kr(t)||typeof t=="string"||typeof t.splice=="function"||di(t)||mi(t)||Sr(t)))return!t.length;var e=Ld(t);if(e==ov||e==av)return!t.size;if(Xe(t))return!kd(t).length;for(var r in t)if(lv.call(t,r))return!1;return!0}var qo=cv;var um=Ua(_c(),1),hm=Ua(bc(),1);var pn=Ua(Yf(),1);var Wo="comm",Uo="rule",Ho="decl";var Ed="@import";var Od="@keyframes";var Id=Math.abs,un=String.fromCharCode;function Yo(t){return t.trim()}function jo(t,e,r){return t.replace(e,r)}function Dd(t,e){return t.indexOf(e)}function Br(t,e){return t.charCodeAt(e)|0}function Fr(t,e,r){return t.slice(e,r)}function ae(t){return t.length}function Go(t){return t.length}function gi(t,e){return e.push(t),t}var Vo=1,xi=1,Nd=0,Zt=0,dt=0,yi="";function Xo(t,e,r,i,n,o,a){return{value:t,root:e,parent:r,type:i,props:n,children:o,line:Vo,column:xi,length:a,return:""}}function Rd(){return dt}function Pd(){return dt=Zt>0?Br(yi,--Zt):0,xi--,dt===10&&(xi=1,Vo--),dt}function Qt(){return dt=Zt<Nd?Br(yi,Zt++):0,xi++,dt===10&&(xi=1,Vo++),dt}function Ze(){return Br(yi,Zt)}function hn(){return Zt}function Ko(t,e){return Fr(yi,t,e)}function Sl(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $d(t){return Vo=xi=1,Nd=ae(yi=t),Zt=0,[]}function zd(t){return yi="",t}function Zo(t){return Yo(Ko(Zt-1,kl(t===91?t+2:t===40?t+1:t)))}function qd(t){for(;(dt=Ze())&&dt<33;)Qt();return Sl(t)>2||Sl(dt)>3?"":" "}function Wd(t,e){for(;--e&&Qt()&&!(dt<48||dt>102||dt>57&&dt<65||dt>70&&dt<97););return Ko(t,hn()+(e<6&&Ze()==32&&Qt()==32))}function kl(t){for(;Qt();)switch(dt){case t:return Zt;case 34:case 39:t!==34&&t!==39&&kl(dt);break;case 40:t===41&&kl(t);break;case 92:Qt();break}return Zt}function Ud(t,e){for(;Qt()&&t+dt!==47+10;)if(t+dt===42+42&&Ze()===47)break;return"/*"+Ko(e,Zt-1)+"*"+un(t===47?t:Qt())}function Hd(t){for(;!Sl(Ze());)Qt();return Ko(t,Zt)}function Gd(t){return zd(Qo("",null,null,null,[""],t=$d(t),0,[0],t))}function Qo(t,e,r,i,n,o,a,s,l){for(var c=0,u=0,h=a,f=0,p=0,x=0,b=1,w=1,M=1,_=0,F="",N=n,O=o,B=i,y=F;w;)switch(x=_,_=Qt()){case 40:if(x!=108&&Br(y,h-1)==58){Dd(y+=jo(Zo(_),"&","&\f"),"&\f")!=-1&&(M=-1);break}case 34:case 39:case 91:y+=Zo(_);break;case 9:case 10:case 13:case 32:y+=qd(x);break;case 92:y+=Wd(hn()-1,7);continue;case 47:switch(Ze()){case 42:case 47:gi(uv(Ud(Qt(),hn()),e,r),l);break;default:y+="/"}break;case 123*b:s[c++]=ae(y)*M;case 125*b:case 59:case 0:switch(_){case 0:case 125:w=0;case 59+u:p>0&&ae(y)-h&&gi(p>32?jd(y+";",i,r,h-1):jd(jo(y," ","")+";",i,r,h-2),l);break;case 59:y+=";";default:if(gi(B=Yd(y,e,r,c,u,n,s,F,N=[],O=[],h),o),_===123)if(u===0)Qo(y,e,B,B,N,o,h,s,O);else switch(f===99&&Br(y,3)===110?100:f){case 100:case 109:case 115:Qo(t,B,B,i&&gi(Yd(t,B,B,0,0,n,s,F,n,N=[],h),O),n,O,h,s,i?N:O);break;default:Qo(y,B,B,B,[""],O,0,s,O)}}c=u=p=0,b=M=1,F=y="",h=a;break;case 58:h=1+ae(y),p=x;default:if(b<1){if(_==123)--b;else if(_==125&&b++==0&&Pd()==125)continue}switch(y+=un(_),_*b){case 38:M=u>0?1:(y+="\f",-1);break;case 44:s[c++]=(ae(y)-1)*M,M=1;break;case 64:Ze()===45&&(y+=Zo(Qt())),f=Ze(),u=h=ae(F=y+=Hd(hn())),_++;break;case 45:x===45&&ae(y)==2&&(b=0)}}return o}function Yd(t,e,r,i,n,o,a,s,l,c,u){for(var h=n-1,f=n===0?o:[""],p=Go(f),x=0,b=0,w=0;x<i;++x)for(var M=0,_=Fr(t,h+1,h=Id(b=a[x])),F=t;M<p;++M)(F=Yo(b>0?f[M]+" "+_:jo(_,/&\f/g,f[M])))&&(l[w++]=F);return Xo(t,e,r,n===0?Uo:s,l,c,u)}function uv(t,e,r){return Xo(t,e,r,Wo,un(Rd()),Fr(t,2,-2),0)}function jd(t,e,r,i){return Xo(t,e,r,Ho,Fr(t,0,i),Fr(t,i+1,-1),i)}function Jo(t,e){for(var r="",i=Go(t),n=0;n<i;n++)r+=e(t[n],n,t,e)||"";return r}function Vd(t,e,r,i){switch(t.type){case Ed:case Ho:return t.return=t.return||t.value;case Wo:return"";case Od:return t.return=t.value+"{"+Jo(t.children,i)+"}";case Uo:t.value=t.props.join(",")}return ae(r=Jo(t.children,i))?t.return=t.value+"{"+r+"}":""}var Le={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},z={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},Dl=function(t="fatal"){let e=Le.fatal;typeof t=="string"?(t=t.toLowerCase(),t in Le&&(e=Le[t])):typeof t=="number"&&(e=t),z.trace=()=>{},z.debug=()=>{},z.info=()=>{},z.warn=()=>{},z.error=()=>{},z.fatal=()=>{},e<=Le.fatal&&(z.fatal=console.error?console.error.bind(console,Jt("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Jt("FATAL"))),e<=Le.error&&(z.error=console.error?console.error.bind(console,Jt("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Jt("ERROR"))),e<=Le.warn&&(z.warn=console.warn?console.warn.bind(console,Jt("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Jt("WARN"))),e<=Le.info&&(z.info=console.info?console.info.bind(console,Jt("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Jt("INFO"))),e<=Le.debug&&(z.debug=console.debug?console.debug.bind(console,Jt("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Jt("DEBUG"))),e<=Le.trace&&(z.trace=console.debug?console.debug.bind(console,Jt("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Jt("TRACE")))},Jt=t=>`%c${(0,um.default)().format("ss.SSS")} : ${t} : `,ga=/<br\s*\/?>/gi,hv=t=>t?pm(t).replace(/\\n/g,"#br#").split("#br#"):[""],fm=t=>pn.default.sanitize(t),Xd=(t,e)=>{var r;if(((r=e.flowchart)==null?void 0:r.htmlLabels)!==!1){let i=e.securityLevel;i==="antiscript"||i==="strict"?t=fm(t):i!=="loose"&&(t=pm(t),t=t.replace(/</g,"&lt;").replace(/>/g,"&gt;"),t=t.replace(/=/g,"&equals;"),t=mv(t))}return t},dn=(t,e)=>t&&(e.dompurifyConfig?t=pn.default.sanitize(Xd(t,e),e.dompurifyConfig).toString():t=pn.default.sanitize(Xd(t,e),{FORBID_TAGS:["style"]}).toString(),t),fv=(t,e)=>typeof t=="string"?dn(t,e):t.flat().map(r=>dn(r,e)),pv=t=>ga.test(t),dv=t=>t.split(ga),mv=t=>t.replace(/#br#/g,"<br/>"),pm=t=>t.replace(ga,"#br#"),gv=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},dm=t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),xv=function(...t){let e=t.filter(r=>!isNaN(r));return Math.max(...e)},yv=function(...t){let e=t.filter(r=>!isNaN(r));return Math.min(...e)},_v=function(t){let e=t;if(t.split("~").length-1>=2){let r=e;do e=r,r=e.replace(/~([^\s,:;]+)~/,"<$1>");while(r!=e);return _v(r)}else return e},Nl={getRows:hv,sanitizeText:dn,sanitizeTextOrArray:fv,hasBreaks:pv,splitBreaks:dv,lineBreakRegex:ga,removeScript:fm,getUrl:gv,evaluate:dm,getMax:xv,getMin:yv},qt=(t,e)=>e?m(t,{s:-40,l:10}):m(t,{s:-40,l:-10}),xa="#ffffff",ya="#f2f2f2",bv=class{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||m(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||m(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||qt(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||qt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||qt(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||qt(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||L(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||L(this.tertiaryColor),this.lineColor=this.lineColor||L(this.background),this.arrowheadColor=this.arrowheadColor||L(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?Y(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||"grey",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||Y(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||L(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||$(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||m(this.primaryColor,{h:30}),this.cScale4=this.cScale4||m(this.primaryColor,{h:60}),this.cScale5=this.cScale5||m(this.primaryColor,{h:90}),this.cScale6=this.cScale6||m(this.primaryColor,{h:120}),this.cScale7=this.cScale7||m(this.primaryColor,{h:150}),this.cScale8=this.cScale8||m(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||m(this.primaryColor,{h:270}),this.cScale10=this.cScale10||m(this.primaryColor,{h:300}),this.cScale11=this.cScale11||m(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Y(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Y(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||L(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||$(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||Y(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]||m(this.mainBkg,{h:180,s:-15,l:e*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||m(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||m(this.primaryColor,{h:64}),this.fillType3=this.fillType3||m(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||m(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||m(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||m(this.primaryColor,{h:128}),this.fillType7=this.fillType7||m(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||m(this.primaryColor,{l:-10}),this.pie5=this.pie5||m(this.secondaryColor,{l:-10}),this.pie6=this.pie6||m(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||m(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||m(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||m(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||m(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||m(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||m(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.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||m(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||m(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||m(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||m(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||m(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||m(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||vr(this.quadrant1Fill)?$(this.quadrant1Fill):Y(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.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?Y(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||m(this.primaryColor,{h:-30}),this.git4=this.git4||m(this.primaryColor,{h:-60}),this.git5=this.git5||m(this.primaryColor,{h:-90}),this.git6=this.git6||m(this.primaryColor,{h:60}),this.git7=this.git7||m(this.primaryColor,{h:120}),this.darkMode?(this.git0=$(this.git0,25),this.git1=$(this.git1,25),this.git2=$(this.git2,25),this.git3=$(this.git3,25),this.git4=$(this.git4,25),this.git5=$(this.git5,25),this.git6=$(this.git6,25),this.git7=$(this.git7,25)):(this.git0=Y(this.git0,25),this.git1=Y(this.git1,25),this.git2=Y(this.git2,25),this.git3=Y(this.git3,25),this.git4=Y(this.git4,25),this.git5=Y(this.git5,25),this.git6=Y(this.git6,25),this.git7=Y(this.git7,25)),this.gitInv0=this.gitInv0||L(this.git0),this.gitInv1=this.gitInv1||L(this.git1),this.gitInv2=this.gitInv2||L(this.git2),this.gitInv3=this.gitInv3||L(this.git3),this.gitInv4=this.gitInv4||L(this.git4),this.gitInv5=this.gitInv5||L(this.git5),this.gitInv6=this.gitInv6||L(this.git6),this.gitInv7=this.gitInv7||L(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||xa,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ya}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(i=>{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},Cv=t=>{let e=new bv;return e.calculate(t),e},Tv=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=$(this.primaryColor,16),this.tertiaryColor=m(this.primaryColor,{h:-160}),this.primaryBorderColor=L(this.background),this.secondaryBorderColor=qt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=qt(this.tertiaryColor,this.darkMode),this.primaryTextColor=L(this.primaryColor),this.secondaryTextColor=L(this.secondaryColor),this.tertiaryTextColor=L(this.tertiaryColor),this.lineColor=L(this.background),this.textColor=L(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=$(L("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=Ue(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=Y("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=Y(this.sectionBkgColor,10),this.taskBorderColor=Ue(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Ue(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.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=$(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=$(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,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=$(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.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=m(this.primaryColor,{h:64}),this.fillType3=m(this.secondaryColor,{h:64}),this.fillType4=m(this.primaryColor,{h:-64}),this.fillType5=m(this.secondaryColor,{h:-64}),this.fillType6=m(this.primaryColor,{h:128}),this.fillType7=m(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||m(this.primaryColor,{h:30}),this.cScale4=this.cScale4||m(this.primaryColor,{h:60}),this.cScale5=this.cScale5||m(this.primaryColor,{h:90}),this.cScale6=this.cScale6||m(this.primaryColor,{h:120}),this.cScale7=this.cScale7||m(this.primaryColor,{h:150}),this.cScale8=this.cScale8||m(this.primaryColor,{h:210}),this.cScale9=this.cScale9||m(this.primaryColor,{h:270}),this.cScale10=this.cScale10||m(this.primaryColor,{h:300}),this.cScale11=this.cScale11||m(this.primaryColor,{h:330});for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||L(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScalePeer"+e]=this["cScalePeer"+e]||$(this["cScale"+e],10);for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||m(this.mainBkg,{h:30,s:-30,l:-(-10+e*4)}),this["surfacePeer"+e]=this["surfacePeer"+e]||m(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||m(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||m(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||m(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||m(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||m(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||m(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||vr(this.quadrant1Fill)?$(this.quadrant1Fill):Y(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.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?Y(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=$(this.secondaryColor,20),this.git1=$(this.pie2||this.secondaryColor,20),this.git2=$(this.pie3||this.tertiaryColor,20),this.git3=$(this.pie4||m(this.primaryColor,{h:-30}),20),this.git4=$(this.pie5||m(this.primaryColor,{h:-60}),20),this.git5=$(this.pie6||m(this.primaryColor,{h:-90}),10),this.git6=$(this.pie7||m(this.primaryColor,{h:60}),10),this.git7=$(this.pie8||m(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||L(this.git0),this.gitInv1=this.gitInv1||L(this.git1),this.gitInv2=this.gitInv2||L(this.git2),this.gitInv3=this.gitInv3||L(this.git3),this.gitInv4=this.gitInv4||L(this.git4),this.gitInv5=this.gitInv5||L(this.git5),this.gitInv6=this.gitInv6||L(this.git6),this.gitInv7=this.gitInv7||L(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||L(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||L(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||$(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||$(this.background,2)}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(i=>{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},vv=t=>{let e=new Tv;return e.calculate(t),e},Sv=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=m(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=m(this.primaryColor,{h:-160}),this.primaryBorderColor=qt(this.primaryColor,this.darkMode),this.secondaryBorderColor=qt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=qt(this.tertiaryColor,this.darkMode),this.primaryTextColor=L(this.primaryColor),this.secondaryTextColor=L(this.secondaryColor),this.tertiaryTextColor=L(this.tertiaryColor),this.lineColor=L(this.background),this.textColor=L(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="#e8e8e8",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="grey",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=Ue(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.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||m(this.primaryColor,{h:30}),this.cScale4=this.cScale4||m(this.primaryColor,{h:60}),this.cScale5=this.cScale5||m(this.primaryColor,{h:90}),this.cScale6=this.cScale6||m(this.primaryColor,{h:120}),this.cScale7=this.cScale7||m(this.primaryColor,{h:150}),this.cScale8=this.cScale8||m(this.primaryColor,{h:210}),this.cScale9=this.cScale9||m(this.primaryColor,{h:270}),this.cScale10=this.cScale10||m(this.primaryColor,{h:300}),this.cScale11=this.cScale11||m(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Y(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Y(this.tertiaryColor,40);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=Y(this["cScale"+e],10),this["cScalePeer"+e]=this["cScalePeer"+e]||Y(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||m(this["cScale"+e],{h:180});for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||m(this.mainBkg,{h:30,l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||m(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||L(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||L(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=$(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.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,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=m(this.primaryColor,{h:64}),this.fillType3=m(this.secondaryColor,{h:64}),this.fillType4=m(this.primaryColor,{h:-64}),this.fillType5=m(this.secondaryColor,{h:-64}),this.fillType6=m(this.primaryColor,{h:128}),this.fillType7=m(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||m(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||m(this.primaryColor,{l:-10}),this.pie5=this.pie5||m(this.secondaryColor,{l:-30}),this.pie6=this.pie6||m(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||m(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||m(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||m(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||m(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||m(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||m(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||m(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||m(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||m(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||m(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||m(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||m(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||vr(this.quadrant1Fill)?$(this.quadrant1Fill):Y(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.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||m(this.primaryColor,{h:-30}),this.git4=this.git4||m(this.primaryColor,{h:-60}),this.git5=this.git5||m(this.primaryColor,{h:-90}),this.git6=this.git6||m(this.primaryColor,{h:60}),this.git7=this.git7||m(this.primaryColor,{h:120}),this.darkMode?(this.git0=$(this.git0,25),this.git1=$(this.git1,25),this.git2=$(this.git2,25),this.git3=$(this.git3,25),this.git4=$(this.git4,25),this.git5=$(this.git5,25),this.git6=$(this.git6,25),this.git7=$(this.git7,25)):(this.git0=Y(this.git0,25),this.git1=Y(this.git1,25),this.git2=Y(this.git2,25),this.git3=Y(this.git3,25),this.git4=Y(this.git4,25),this.git5=Y(this.git5,25),this.git6=Y(this.git6,25),this.git7=Y(this.git7,25)),this.gitInv0=this.gitInv0||Y(L(this.git0),25),this.gitInv1=this.gitInv1||L(this.git1),this.gitInv2=this.gitInv2||L(this.git2),this.gitInv3=this.gitInv3||L(this.git3),this.gitInv4=this.gitInv4||L(this.git4),this.gitInv5=this.gitInv5||L(this.git5),this.gitInv6=this.gitInv6||L(this.git6),this.gitInv7=this.gitInv7||L(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||L(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||L(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||xa,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ya}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(i=>{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},kv=t=>{let e=new Sv;return e.calculate(t),e},wv=class{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=$("#cde498",10),this.primaryBorderColor=qt(this.primaryColor,this.darkMode),this.secondaryBorderColor=qt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=qt(this.tertiaryColor,this.darkMode),this.primaryTextColor=L(this.primaryColor),this.secondaryTextColor=L(this.secondaryColor),this.tertiaryTextColor=L(this.primaryColor),this.lineColor=L(this.background),this.textColor=L(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="grey",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.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=Y(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.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||m(this.primaryColor,{h:30}),this.cScale4=this.cScale4||m(this.primaryColor,{h:60}),this.cScale5=this.cScale5||m(this.primaryColor,{h:90}),this.cScale6=this.cScale6||m(this.primaryColor,{h:120}),this.cScale7=this.cScale7||m(this.primaryColor,{h:150}),this.cScale8=this.cScale8||m(this.primaryColor,{h:210}),this.cScale9=this.cScale9||m(this.primaryColor,{h:270}),this.cScale10=this.cScale10||m(this.primaryColor,{h:300}),this.cScale11=this.cScale11||m(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Y(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Y(this.tertiaryColor,40);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=Y(this["cScale"+e],10),this["cScalePeer"+e]=this["cScalePeer"+e]||Y(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||m(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]||m(this.mainBkg,{h:30,s:-30,l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||m(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.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=m(this.primaryColor,{h:64}),this.fillType3=m(this.secondaryColor,{h:64}),this.fillType4=m(this.primaryColor,{h:-64}),this.fillType5=m(this.secondaryColor,{h:-64}),this.fillType6=m(this.primaryColor,{h:128}),this.fillType7=m(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||m(this.primaryColor,{l:-30}),this.pie5=this.pie5||m(this.secondaryColor,{l:-30}),this.pie6=this.pie6||m(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||m(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||m(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||m(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||m(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||m(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||m(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||m(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||m(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||m(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||m(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||m(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||m(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||vr(this.quadrant1Fill)?$(this.quadrant1Fill):Y(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.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||m(this.primaryColor,{h:-30}),this.git4=this.git4||m(this.primaryColor,{h:-60}),this.git5=this.git5||m(this.primaryColor,{h:-90}),this.git6=this.git6||m(this.primaryColor,{h:60}),this.git7=this.git7||m(this.primaryColor,{h:120}),this.darkMode?(this.git0=$(this.git0,25),this.git1=$(this.git1,25),this.git2=$(this.git2,25),this.git3=$(this.git3,25),this.git4=$(this.git4,25),this.git5=$(this.git5,25),this.git6=$(this.git6,25),this.git7=$(this.git7,25)):(this.git0=Y(this.git0,25),this.git1=Y(this.git1,25),this.git2=Y(this.git2,25),this.git3=Y(this.git3,25),this.git4=Y(this.git4,25),this.git5=Y(this.git5,25),this.git6=Y(this.git6,25),this.git7=Y(this.git7,25)),this.gitInv0=this.gitInv0||L(this.git0),this.gitInv1=this.gitInv1||L(this.git1),this.gitInv2=this.gitInv2||L(this.git2),this.gitInv3=this.gitInv3||L(this.git3),this.gitInv4=this.gitInv4||L(this.git4),this.gitInv5=this.gitInv5||L(this.git5),this.gitInv6=this.gitInv6||L(this.git6),this.gitInv7=this.gitInv7||L(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||L(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||L(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||xa,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ya}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(i=>{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},Bv=t=>{let e=new wv;return e.calculate(t),e},Ml=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=$(this.contrast,55),this.background="#ffffff",this.tertiaryColor=m(this.primaryColor,{h:-160}),this.primaryBorderColor=qt(this.primaryColor,this.darkMode),this.secondaryBorderColor=qt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=qt(this.tertiaryColor,this.darkMode),this.primaryTextColor=L(this.primaryColor),this.secondaryTextColor=L(this.secondaryColor),this.tertiaryTextColor=L(this.tertiaryColor),this.lineColor=L(this.background),this.textColor=L(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="calculated",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.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=$(this.contrast,55),this.border2=this.contrast,this.actorBorder=$(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,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]||L(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this.darkMode?this["cScalePeer"+e]=this["cScalePeer"+e]||$(this["cScale"+e],10):this["cScalePeer"+e]=this["cScalePeer"+e]||Y(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]||m(this.mainBkg,{l:-(5+e*5)}),this["surfacePeer"+e]=this["surfacePeer"+e]||m(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=$(this.contrast,30),this.sectionBkgColor2=$(this.contrast,30),this.taskBorderColor=Y(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=$(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=Y(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,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=m(this.primaryColor,{h:64}),this.fillType3=m(this.secondaryColor,{h:64}),this.fillType4=m(this.primaryColor,{h:-64}),this.fillType5=m(this.secondaryColor,{h:-64}),this.fillType6=m(this.primaryColor,{h:128}),this.fillType7=m(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||m(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||m(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||m(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||m(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||m(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||m(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||vr(this.quadrant1Fill)?$(this.quadrant1Fill):Y(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.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=Y(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||m(this.primaryColor,{h:-30}),this.git4=this.pie5||m(this.primaryColor,{h:-60}),this.git5=this.pie6||m(this.primaryColor,{h:-90}),this.git6=this.pie7||m(this.primaryColor,{h:60}),this.git7=this.pie8||m(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||L(this.git0),this.gitInv1=this.gitInv1||L(this.git1),this.gitInv2=this.gitInv2||L(this.git2),this.gitInv3=this.gitInv3||L(this.git3),this.gitInv4=this.gitInv4||L(this.git4),this.gitInv5=this.gitInv5||L(this.git5),this.gitInv6=this.gitInv6||L(this.git6),this.gitInv7=this.gitInv7||L(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||xa,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ya}calculate(e){if(typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(i=>{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},Fv=t=>{let e=new Ml;return e.calculate(t),e},Oe={base:{getThemeVariables:Cv},dark:{getThemeVariables:vv},default:{getThemeVariables:kv},forest:{getThemeVariables:Bv},neutral:{getThemeVariables:Fv}},Qe={flowchart:{useMaxWidth:!0,titleTopMargin:25,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},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},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},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,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:""},theme:"default",maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,fontSize:16},mm={...Qe,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:Oe.default.getThemeVariables(),sequence:{...Qe.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...Qe.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Qe.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...Qe.pie,useWidth:984},requirement:{...Qe.requirement,useWidth:void 0},gitGraph:{...Qe.gitGraph,useMaxWidth:!1},sankey:{...Qe.sankey,useMaxWidth:!1}},gm=(t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:typeof t[i]=="object"&&t[i]!==null?[...r,e+i,...gm(t[i],"")]:[...r,e+i],[]),Av=new Set(gm(mm,"")),Mv=mm,xm=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,ea=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Lv=/\s*%%.*\n/gm,na=class extends Error{constructor(e){super(e),this.name="UnknownDiagramError"}},Ci={},_a=function(t,e){t=t.replace(xm,"").replace(ea,"").replace(Lv,`
`);for(let[r,{detector:i}]of Object.entries(Ci))if(i(t,e))return r;throw new na(`No diagram type detected matching given configuration for text: ${t}`)},ym=(...t)=>{for(let{id:e,detector:r,loader:i}of t)_m(e,r,i)},_m=(t,e,r)=>{Ci[t]?z.error(`Detector with key ${t} already exists`):Ci[t]={detector:e,loader:r},z.debug(`Detector with key ${t} added${r?" with loader":""}`)},Ev=t=>Ci[t].loader,Ll=(t,e,{depth:r=2,clobber:i=!1}={})=>{let n={depth:r,clobber:i};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(o=>Ll(t,o,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(o=>{t.includes(o)||t.push(o)}),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(o=>{typeof e[o]=="object"&&(t[o]===void 0||typeof t[o]=="object")?(t[o]===void 0&&(t[o]=Array.isArray(e[o])?[]:{}),t[o]=Ll(t[o],e[o],{depth:r-1,clobber:i})):(i||typeof t[o]!="object"&&typeof e[o]!="object")&&(t[o]=e[o])}),t)},Dt=Ll,Ov="\u200B",Iv={curveBasis:qs,curveBasisClosed:Hs,curveBasisOpen:Ys,curveBumpX:Ws,curveBumpY:Us,curveBundle:js,curveCardinalClosed:Vs,curveCardinalOpen:Xs,curveCardinal:Gs,curveCatmullRomClosed:Zs,curveCatmullRomOpen:Qs,curveCatmullRom:Ks,curveLinear:Yi,curveLinearClosed:Js,curveMonotoneX:el,curveMonotoneY:rl,curveNatural:il,curveStep:nl,curveStepAfter:al,curveStepBefore:ol},Dv=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Nv=function(t,e){let r=bm(t,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let o=r.map(a=>a.args);mn(o),i=Dt(i,[...o])}else i=r.args;if(!i)return;let n=_a(t,e);return["config"].forEach(o=>{i[o]!==void 0&&(n==="flowchart-v2"&&(n="flowchart"),i[n]=i[o],delete i[o])}),i},bm=function(t,e=null){try{let r=new RegExp(`[%]{2}(?![{]${Dv.source})(?=[}][%]{2}).*
`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),z.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let i,n=[];for(;(i=ea.exec(t))!==null;)if(i.index===ea.lastIndex&&ea.lastIndex++,i&&!e||e&&i[1]&&i[1].match(e)||e&&i[2]&&i[2].match(e)){let o=i[1]?i[1]:i[2],a=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;n.push({type:o,args:a})}return n.length===0&&n.push({type:t,args:null}),n.length===1?n[0]:n}catch(r){return z.error(`ERROR: ${r.message} - Unable to parse directive
      ${e!==null?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}},Rv=function(t,e){for(let[r,i]of e.entries())if(i.match(t))return r;return-1};function Pv(t,e){if(!t)return e;let r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Iv[r]||e}function $v(t,e){let r=t.trim();if(r)return e.securityLevel!=="loose"?(0,hm.sanitizeUrl)(r):r}var zv=(t,...e)=>{let r=t.split("."),i=r.length-1,n=r[i],o=window;for(let a=0;a<i;a++)if(o=o[r[a]],!o)return;o[n](...e)};function oa(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function qv(t){let e,r=0;t.forEach(o=>{r+=oa(o,e),e=o});let i=r/2,n;return e=void 0,t.forEach(o=>{if(e&&!n){let a=oa(o,e);if(a<i)i-=a;else{let s=i/a;s<=0&&(n=e),s>=1&&(n={x:o.x,y:o.y}),s>0&&s<1&&(n={x:(1-s)*e.x+s*o.x,y:(1-s)*e.y+s*o.y})}}e=o}),n}function Wv(t){return t.length===1?t[0]:qv(t)}var Uv=(t,e,r)=>{let i;z.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let o=25,a;i=void 0,e.forEach(u=>{if(i&&!a){let h=oa(u,i);if(h<o)o-=h;else{let f=o/h;f<=0&&(a=i),f>=1&&(a={x:u.x,y:u.y}),f>0&&f<1&&(a={x:(1-f)*i.x+f*u.x,y:(1-f)*i.y+f*u.y})}}i=u});let s=t?10:5,l=Math.atan2(e[0].y-a.y,e[0].x-a.x),c={x:0,y:0};return c.x=Math.sin(l)*s+(e[0].x+a.x)/2,c.y=-Math.cos(l)*s+(e[0].y+a.y)/2,c};function Hv(t,e,r){let i=JSON.parse(JSON.stringify(r)),n;z.info("our points",i),e!=="start_left"&&e!=="start_right"&&(i=i.reverse()),i.forEach(h=>{n=h});let a=25+t,s;n=void 0,i.forEach(h=>{if(n&&!s){let f=oa(h,n);if(f<a)a-=f;else{let p=a/f;p<=0&&(s=n),p>=1&&(s={x:h.x,y:h.y}),p>0&&p<1&&(s={x:(1-p)*n.x+p*h.x,y:(1-p)*n.y+p*h.y})}}n=h});let l=10+t*.5,c=Math.atan2(i[0].y-s.y,i[0].x-s.x),u={x:0,y:0};return u.x=Math.sin(c)*l+(i[0].x+s.x)/2,u.y=-Math.cos(c)*l+(i[0].y+s.y)/2,e==="start_left"&&(u.x=Math.sin(c+Math.PI)*l+(i[0].x+s.x)/2,u.y=-Math.cos(c+Math.PI)*l+(i[0].y+s.y)/2),e==="end_right"&&(u.x=Math.sin(c-Math.PI)*l+(i[0].x+s.x)/2-5,u.y=-Math.cos(c-Math.PI)*l+(i[0].y+s.y)/2-5),e==="end_left"&&(u.x=Math.sin(c)*l+(i[0].x+s.x)/2-5,u.y=-Math.cos(c)*l+(i[0].y+s.y)/2-5),u}function Yv(t){let e="",r="";for(let i of t)i!==void 0&&(i.startsWith("color:")||i.startsWith("text-align:")?r=r+i+";":e=e+i+";");return{style:e,labelStyle:r}}var Kd=0,jv=()=>(Kd++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Kd);function Gv(t){let e="",r="0123456789abcdef",i=r.length;for(let n=0;n<t;n++)e+=r.charAt(Math.floor(Math.random()*i));return e}var Vv=t=>Gv(t.length),Xv=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0}},Kv=function(t,e){let r=e.text.replace(Nl.lineBreakRegex," "),[,i]=Pl(e.fontSize),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.style("text-anchor",e.anchor),n.style("font-family",e.fontFamily),n.style("font-size",i),n.style("font-weight",e.fontWeight),n.attr("fill",e.fill),e.class!==void 0&&n.attr("class",e.class);let o=n.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(r),n},Zv=Mo((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),Nl.lineBreakRegex.test(t)))return t;let i=t.split(" "),n=[],o="";return i.forEach((a,s)=>{let l=aa(`${a} `,r),c=aa(o,r);if(l>e){let{hyphenatedStrings:f,remainingWord:p}=Qv(a,e,"-",r);n.push(o,...f),o=p}else c+l>=e?(n.push(o),o=a):o=[o,a].filter(Boolean).join(" ");s+1===i.length&&n.push(o)}),n.filter(a=>a!=="").join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),Qv=Mo((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);let n=[...t],o=[],a="";return n.forEach((s,l)=>{let c=`${a}${s}`;if(aa(c,i)>=e){let h=l+1,f=n.length===h,p=`${c}${r}`;o.push(f?c:p),a=""}else a=c}),{hyphenatedStrings:o,remainingWord:a}},(t,e,r="-",i)=>`${t}${e}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function Jv(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),Rl(t,e).height}function aa(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),Rl(t,e).width}var Rl=Mo((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);let{fontSize:r,fontFamily:i,fontWeight:n}=e;if(!t)return{width:0,height:0};let[,o]=Pl(r),a=["sans-serif",i],s=t.split(Nl.lineBreakRegex),l=[],c=Wt("body");if(!c.remove)return{width:0,height:0,lineHeight:0};let u=c.append("svg");for(let f of a){let p=0,x={width:0,height:0,lineHeight:0};for(let b of s){let w=Xv();w.text=b||Ov;let M=Kv(u,w).style("font-size",o).style("font-weight",n).style("font-family",f),_=(M._groups||M)[0][0].getBBox();if(_.width===0&&_.height===0)throw new Error("svg element not in render tree");x.width=Math.round(Math.max(x.width,_.width)),p=Math.round(_.height),x.height+=p,x.lineHeight=Math.round(Math.max(x.lineHeight,p))}l.push(x)}u.remove();let h=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[h]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),tS=class{constructor(e,r){this.deterministic=e,this.seed=r,this.count=r?r.length:0}next(){return this.deterministic?this.count++:Date.now()}},ta,eS=function(t){return ta=ta||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),ta.innerHTML=t,unescape(ta.textContent)},mn=t=>{if(z.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>mn(e));return}for(let e of Object.keys(t)){if(z.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Av.has(e)||t[e]==null){z.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){z.debug("sanitizing object",e),mn(t[e]);continue}let r=["themeCSS","fontFamily","altFontFamily"];for(let i of r)e.includes(i)&&(z.debug("sanitizing css option",e),t[e]=Cm(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]="")}z.debug("After sanitization",t)}},Cm=t=>{let e=0,r=0;for(let i of t){if(e<r)return"{ /* ERROR: Unbalanced CSS */ }";i==="{"?e++:i==="}"&&r++}return e!==r?"{ /* ERROR: Unbalanced CSS */ }":t};function Tm(t){return"str"in t}var rS=(t,e,r,i)=>{if(!i)return;let n=t.node().getBBox();t.append("text").text(i).attr("x",n.x+n.width/2).attr("y",-r).attr("class",e)},Pl=t=>{if(typeof t=="number")return[t,t+"px"];let e=parseInt(t,10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function iS(t,e){return vd({},t,e)}var ra={assignWithDepth:Dt,wrapLabel:Zv,calculateTextHeight:Jv,calculateTextWidth:aa,calculateTextDimensions:Rl,cleanAndMerge:iS,detectInit:Nv,detectDirective:bm,isSubstringInArray:Rv,interpolateToCurve:Pv,calcLabelPosition:Wv,calcCardinalityPosition:Uv,calcTerminalLabelPosition:Hv,formatUrl:$v,getStylesFromArray:Yv,generateId:jv,random:Vv,runFunc:zv,entityDecode:eS,initIdGenerator:tS,sanitizeDirective:mn,sanitizeCss:Cm,insertTitle:rS,parseFontSize:Pl},Zd="10.4.0",gn=Object.freeze(Mv),Yt=Dt({},gn),vm,Ti=[],fn=Dt({},gn),ba=(t,e)=>{let r=Dt({},t),i={};for(let n of e)km(n),i=Dt(i,n);if(r=Dt(r,i),i.theme&&i.theme in Oe){let n=Dt({},vm),o=Dt(n.themeVariables||{},i.themeVariables);r.theme&&r.theme in Oe&&(r.themeVariables=Oe[r.theme].getThemeVariables(o))}return fn=r,wm(fn),fn},nS=t=>(Yt=Dt({},gn),Yt=Dt(Yt,t),t.theme&&Oe[t.theme]&&(Yt.themeVariables=Oe[t.theme].getThemeVariables(t.themeVariables)),ba(Yt,Ti),Yt),oS=t=>{vm=Dt({},t)},aS=t=>(Yt=Dt(Yt,t),ba(Yt,Ti),Yt),Sm=()=>Dt({},Yt),sS=t=>(wm(t),Dt(fn,t),se()),se=()=>Dt({},fn),km=t=>{t&&(["secure",...Yt.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(z.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"&&km(t[e])}))},sa=t=>{mn(t),t.fontFamily&&(!t.themeVariables||!t.themeVariables.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),Ti.push(t),ba(Yt,Ti)},la=(t=Yt)=>{Ti=[],ba(t,Ti)},lS={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Qd={},cS=t=>{Qd[t]||(z.warn(lS[t]),Qd[t]=!0)},wm=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&cS("LAZY_LOAD_DEPRECATED")},Bm="c4",uS=t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),hS=async()=>{let{diagram:t}=await import("./c4Diagram-c0b17d02-ZBCGQ7YY.min.js");return{id:Bm,diagram:t}},fS={id:Bm,detector:uS,loader:hS},pS=fS,Fm="flowchart",dS=(t,e)=>{var r,i;return((r=e?.flowchart)==null?void 0:r.defaultRenderer)==="dagre-wrapper"||((i=e?.flowchart)==null?void 0:i.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},mS=async()=>{let{diagram:t}=await import("./flowDiagram-d6f8fe3a-AG745K43.min.js");return{id:Fm,diagram:t}},gS={id:Fm,detector:dS,loader:mS},xS=gS,Am="flowchart-v2",yS=(t,e)=>{var r,i,n;return((r=e?.flowchart)==null?void 0:r.defaultRenderer)==="dagre-d3"||((i=e?.flowchart)==null?void 0:i.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)&&((n=e?.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)},_S=async()=>{let{diagram:t}=await import("./flowDiagram-v2-58f49b84-7H5SAYF6.min.js");return{id:Am,diagram:t}},bS={id:Am,detector:yS,loader:_S},CS=bS,Mm="er",TS=t=>/^\s*erDiagram/.test(t),vS=async()=>{let{diagram:t}=await import("./erDiagram-dedf2781-Q2Y2LWZP.min.js");return{id:Mm,diagram:t}},SS={id:Mm,detector:TS,loader:vS},kS=SS,Lm="gitGraph",wS=t=>/^\s*gitGraph/.test(t),BS=async()=>{let{diagram:t}=await import("./gitGraphDiagram-e0ffc2d1-HYWTEHTB.min.js");return{id:Lm,diagram:t}},FS={id:Lm,detector:wS,loader:BS},AS=FS,Em="gantt",MS=t=>/^\s*gantt/.test(t),LS=async()=>{let{diagram:t}=await import("./ganttDiagram-088dbd90-UQKBW6OE.min.js");return{id:Em,diagram:t}},ES={id:Em,detector:MS,loader:LS},OS=ES,Om="info",IS=t=>/^\s*info/.test(t),DS=async()=>{let{diagram:t}=await import("./infoDiagram-64895a6e-MQ2S4K2K.min.js");return{id:Om,diagram:t}},NS={id:Om,detector:IS,loader:DS},Im="pie",RS=t=>/^\s*pie/.test(t),PS=async()=>{let{diagram:t}=await import("./pieDiagram-3fca7ce7-O7VT65XQ.min.js");return{id:Im,diagram:t}},$S={id:Im,detector:RS,loader:PS},Dm="quadrantChart",zS=t=>/^\s*quadrantChart/.test(t),qS=async()=>{let{diagram:t}=await import("./quadrantDiagram-0ca4be02-B3GDMHUK.min.js");return{id:Dm,diagram:t}},WS={id:Dm,detector:zS,loader:qS},US=WS,Nm="requirement",HS=t=>/^\s*requirement(Diagram)?/.test(t),YS=async()=>{let{diagram:t}=await import("./requirementDiagram-e13af0f0-JISW5VYB.min.js");return{id:Nm,diagram:t}},jS={id:Nm,detector:HS,loader:YS},GS=jS,Rm="sequence",VS=t=>/^\s*sequenceDiagram/.test(t),XS=async()=>{let{diagram:t}=await import("./sequenceDiagram-84aa38e3-KQQQ54TM.min.js");return{id:Rm,diagram:t}},KS={id:Rm,detector:VS,loader:XS},ZS=KS,Pm="class",QS=(t,e)=>{var r;return((r=e?.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},JS=async()=>{let{diagram:t}=await import("./classDiagram-a8cc8886-QMC5ATKO.min.js");return{id:Pm,diagram:t}},tk={id:Pm,detector:QS,loader:JS},ek=tk,$m="classDiagram",rk=(t,e)=>{var r;return/^\s*classDiagram/.test(t)&&((r=e?.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},ik=async()=>{let{diagram:t}=await import("./classDiagram-v2-802a48d3-DVZMOQWE.min.js");return{id:$m,diagram:t}},nk={id:$m,detector:rk,loader:ik},ok=nk,zm="state",ak=(t,e)=>{var r;return((r=e?.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},sk=async()=>{let{diagram:t}=await import("./stateDiagram-9a586ac6-6TCK5EZW.min.js");return{id:zm,diagram:t}},lk={id:zm,detector:ak,loader:sk},ck=lk,qm="stateDiagram",uk=(t,e)=>{var r;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((r=e?.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},hk=async()=>{let{diagram:t}=await import("./stateDiagram-v2-96f2b9df-5FO6F55E.min.js");return{id:qm,diagram:t}},fk={id:qm,detector:uk,loader:hk},pk=fk,Wm="journey",dk=t=>/^\s*journey/.test(t),mk=async()=>{let{diagram:t}=await import("./journeyDiagram-adaa34f8-UMRA3YOL.min.js");return{id:Wm,diagram:t}},gk={id:Wm,detector:dk,loader:mk},xk=gk,yk=t=>{var e;let{securityLevel:r}=se(),i=Wt("body");if(r==="sandbox"){let a=((e=Wt(`#i${t}`).node())==null?void 0:e.contentDocument)??document;i=Wt(a.body)}return i.select(`#${t}`)},_k=function(t,e){for(let r of e)t.attr(r[0],r[1])},bk=function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},Um=function(t,e,r,i){let n=bk(e,r,i);_k(t,n)},Ck=function(t,e,r,i){let n=e.node().getBBox(),o=n.width,a=n.height;z.info(`SVG bounds: ${o}x${a}`,n);let s=0,l=0;z.info(`Graph bounds: ${s}x${l}`,t),s=o+r*2,l=a+r*2,z.info(`Calculated bounds: ${s}x${l}`),Um(e,l,s,i);let c=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",c)},Tk=(t,e,r)=>{z.debug(`renering svg for syntax error
`);let i=yk(e);i.attr("viewBox","0 0 2412 512"),Um(i,100,512,!0);let n=i.append("g");n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},Hm={draw:Tk},vk=Hm,Sk={db:{},renderer:Hm,parser:{parser:{yy:{}},parse:()=>{}}},kk=Sk,Ym="flowchart-elk",wk=(t,e)=>{var r;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((r=e?.flowchart)==null?void 0:r.defaultRenderer)==="elk")},Bk=async()=>{let{diagram:t}=await import("./flowchart-elk-definition-56584a6c-5O7PL47I.min.js");return{id:Ym,diagram:t}},Fk={id:Ym,detector:wk,loader:Bk},Ak=Fk,jm="timeline",Mk=t=>/^\s*timeline/.test(t),Lk=async()=>{let{diagram:t}=await import("./timeline-definition-1a90b03d-HQU2RWXG.min.js");return{id:jm,diagram:t}},Ek={id:jm,detector:Mk,loader:Lk},Ok=Ek,Gm="mindmap",Ik=t=>/^\s*mindmap/.test(t),Dk=async()=>{let{diagram:t}=await import("./mindmap-definition-57868176-RJA5CHHA.min.js");return{id:Gm,diagram:t}},Nk={id:Gm,detector:Ik,loader:Dk},Rk=Nk,Vm="sankey",Pk=t=>/^\s*sankey-beta/.test(t),$k=async()=>{let{diagram:t}=await import("./sankeyDiagram-a7f8e230-TNNMDSPM.min.js");return{id:Vm,diagram:t}},zk={id:Vm,detector:Pk,loader:$k},qk=zk,ia={},Wk=(t,e,r)=>{let i="";return t in ia&&ia[t]?i=ia[t](r):z.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: 2px;
  }
  & .edge-thickness-thick {
    stroke-width: 3.5px
  }
  & .edge-pattern-solid {
    stroke-dasharray: 0;
  }

  & .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};
  }

  ${i}

  ${e}
`},Uk=(t,e)=>{e!==void 0&&(ia[t]=e)},Hk=Wk,$l="",Ca="",zl="",ql=t=>dn(t,se()),Xm=function(){$l="",zl="",Ca=""},Km=function(t){$l=ql(t).replace(/^\s+/g,"")},Zm=function(){return $l||Ca},Qm=function(t){zl=ql(t).replace(/\n\s+/g,`
`)},Jm=function(){return zl},tg=function(t){Ca=ql(t)},eg=function(){return Ca},Yk={getAccTitle:Zm,setAccTitle:Km,getDiagramTitle:eg,setDiagramTitle:tg,getAccDescription:Jm,setAccDescription:Qm,clear:Xm},jk=Object.freeze(Object.defineProperty({__proto__:null,clear:Xm,default:Yk,getAccDescription:Jm,getAccTitle:Zm,getDiagramTitle:eg,setAccDescription:Qm,setAccTitle:Km,setDiagramTitle:tg},Symbol.toStringTag,{value:"Module"})),Ar={},rg=function(t,e,r,i){z.debug("parseDirective is being called",e,r,i);try{if(e!==void 0)switch(e=e.trim(),r){case"open_directive":Ar={};break;case"type_directive":if(!Ar)throw new Error("currentDirective is undefined");Ar.type=e.toLowerCase();break;case"arg_directive":if(!Ar)throw new Error("currentDirective is undefined");Ar.args=JSON.parse(e);break;case"close_directive":Gk(t,Ar,i),Ar=void 0;break}}catch(n){z.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${r}`),z.error(n.message)}},Gk=function(t,e,r){switch(z.info(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":{["config"].forEach(i=>{e.args[i]!==void 0&&(r==="flowchart-v2"&&(r="flowchart"),e.args[r]=e.args[i],delete e.args[i])}),sa(e.args);break}case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap(e.type==="wrap");break;case"themeCss":z.warn("themeCss encountered");break;default:z.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e);break}},Vk=z,Xk=Dl,ig=se,Kk=t=>dn(t,ig()),Zk=Ck,Qk=()=>jk,Jk=(t,e,r,i)=>rg(t,e,r,i),ca={},ua=(t,e,r)=>{if(ca[t])throw new Error(`Diagram ${t} already registered.`);ca[t]=e,r&&_m(t,r),Uk(t,e.styles),e.injectUtils&&e.injectUtils(Vk,Xk,ig,Kk,Zk,Qk(),Jk)},Wl=t=>{if(t in ca)return ca[t];throw new El(t)},El=class extends Error{constructor(e){super(`Diagram ${e} not found.`)}},Jd=!1,Ul=()=>{Jd||(Jd=!0,ua("error",kk,t=>t.toLowerCase().trim()==="error"),ua("---",{db:{clear:()=>{}},styles:{},renderer:{},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),ym(pS,ok,ek,kS,OS,NS,$S,GS,ZS,Ak,CS,xS,Rk,Ok,AS,pk,ck,xk,US,qk))};function ng(t){return typeof t>"u"||t===null}function tw(t){return typeof t=="object"&&t!==null}function ew(t){return Array.isArray(t)?t:ng(t)?[]:[t]}function rw(t,e){var r,i,n,o;if(e)for(o=Object.keys(e),r=0,i=o.length;r<i;r+=1)n=o[r],t[n]=e[n];return t}function iw(t,e){var r="",i;for(i=0;i<e;i+=1)r+=t;return r}function nw(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var ow=ng,aw=tw,sw=ew,lw=iw,cw=nw,uw=rw,zt={isNothing:ow,isObject:aw,toArray:sw,repeat:lw,isNegativeZero:cw,extend:uw};function og(t,e){var r="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+=`

`+t.mark.snippet),i+" "+r):i}function xn(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=og(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}xn.prototype=Object.create(Error.prototype);xn.prototype.constructor=xn;xn.prototype.toString=function(e){return this.name+": "+og(this,e)};var Ee=xn;function wl(t,e,r,i,n){var o="",a="",s=Math.floor(n/2)-1;return i-e>s&&(o=" ... ",e=i-s+o.length),r-i>s&&(a=" ...",r=i+s-a.length),{str:o+t.slice(e,r).replace(/\t/g,"\u2192")+a,pos:i-e+o.length}}function Bl(t,e){return zt.repeat(" ",e-t.length)+t}function hw(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,i=[0],n=[],o,a=-1;o=r.exec(t.buffer);)n.push(o.index),i.push(o.index+o[0].length),t.position<=o.index&&a<0&&(a=i.length-2);a<0&&(a=i.length-1);var s="",l,c,u=Math.min(t.line+e.linesAfter,n.length).toString().length,h=e.maxLength-(e.indent+u+3);for(l=1;l<=e.linesBefore&&!(a-l<0);l++)c=wl(t.buffer,i[a-l],n[a-l],t.position-(i[a]-i[a-l]),h),s=zt.repeat(" ",e.indent)+Bl((t.line-l+1).toString(),u)+" | "+c.str+`
`+s;for(c=wl(t.buffer,i[a],n[a],t.position,h),s+=zt.repeat(" ",e.indent)+Bl((t.line+1).toString(),u)+" | "+c.str+`
`,s+=zt.repeat("-",e.indent+u+3+c.pos)+`^
`,l=1;l<=e.linesAfter&&!(a+l>=n.length);l++)c=wl(t.buffer,i[a+l],n[a+l],t.position-(i[a]-i[a+l]),h),s+=zt.repeat(" ",e.indent)+Bl((t.line+l+1).toString(),u)+" | "+c.str+`
`;return s.replace(/\n$/,"")}var fw=hw,pw=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],dw=["scalar","sequence","mapping"];function mw(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(i){e[String(i)]=r})}),e}function gw(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(pw.indexOf(r)===-1)throw new Ee('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=mw(e.styleAliases||null),dw.indexOf(this.kind)===-1)throw new Ee('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var Nt=gw;function tm(t,e){var r=[];return t[e].forEach(function(i){var n=r.length;r.forEach(function(o,a){o.tag===i.tag&&o.kind===i.kind&&o.multi===i.multi&&(n=a)}),r[n]=i}),r}function xw(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function i(n){n.multi?(t.multi[n.kind].push(n),t.multi.fallback.push(n)):t[n.kind][n.tag]=t.fallback[n.tag]=n}for(e=0,r=arguments.length;e<r;e+=1)arguments[e].forEach(i);return t}function Ol(t){return this.extend(t)}Ol.prototype.extend=function(e){var r=[],i=[];if(e instanceof Nt)i.push(e);else if(Array.isArray(e))i=i.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(i=i.concat(e.explicit));else throw new Ee("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(o){if(!(o instanceof Nt))throw new Ee("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(o.loadKind&&o.loadKind!=="scalar")throw new Ee("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(o.multi)throw new Ee("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(o){if(!(o instanceof Nt))throw new Ee("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(Ol.prototype);return n.implicit=(this.implicit||[]).concat(r),n.explicit=(this.explicit||[]).concat(i),n.compiledImplicit=tm(n,"implicit"),n.compiledExplicit=tm(n,"explicit"),n.compiledTypeMap=xw(n.compiledImplicit,n.compiledExplicit),n};var yw=Ol,_w=new Nt("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),bw=new Nt("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),Cw=new Nt("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),Tw=new yw({explicit:[_w,bw,Cw]});function vw(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function Sw(){return null}function kw(t){return t===null}var ww=new Nt("tag:yaml.org,2002:null",{kind:"scalar",resolve:vw,construct:Sw,predicate:kw,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Bw(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function Fw(t){return t==="true"||t==="True"||t==="TRUE"}function Aw(t){return Object.prototype.toString.call(t)==="[object Boolean]"}var Mw=new Nt("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Bw,construct:Fw,predicate:Aw,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function Lw(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function Ew(t){return 48<=t&&t<=55}function Ow(t){return 48<=t&&t<=57}function Iw(t){if(t===null)return!1;var e=t.length,r=0,i=!1,n;if(!e)return!1;if(n=t[r],(n==="-"||n==="+")&&(n=t[++r]),n==="0"){if(r+1===e)return!0;if(n=t[++r],n==="b"){for(r++;r<e;r++)if(n=t[r],n!=="_"){if(n!=="0"&&n!=="1")return!1;i=!0}return i&&n!=="_"}if(n==="x"){for(r++;r<e;r++)if(n=t[r],n!=="_"){if(!Lw(t.charCodeAt(r)))return!1;i=!0}return i&&n!=="_"}if(n==="o"){for(r++;r<e;r++)if(n=t[r],n!=="_"){if(!Ew(t.charCodeAt(r)))return!1;i=!0}return i&&n!=="_"}}if(n==="_")return!1;for(;r<e;r++)if(n=t[r],n!=="_"){if(!Ow(t.charCodeAt(r)))return!1;i=!0}return!(!i||n==="_")}function Dw(t){var e=t,r=1,i;if(e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),i=e[0],(i==="-"||i==="+")&&(i==="-"&&(r=-1),e=e.slice(1),i=e[0]),e==="0")return 0;if(i==="0"){if(e[1]==="b")return r*parseInt(e.slice(2),2);if(e[1]==="x")return r*parseInt(e.slice(2),16);if(e[1]==="o")return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)}function Nw(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!zt.isNegativeZero(t)}var Rw=new Nt("tag:yaml.org,2002:int",{kind:"scalar",resolve:Iw,construct:Dw,predicate:Nw,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Pw=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function $w(t){return!(t===null||!Pw.test(t)||t[t.length-1]==="_")}function zw(t){var e,r;return e=t.replace(/_/g,"").toLowerCase(),r=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:r*parseFloat(e,10)}var qw=/^[-+]?[0-9]+e/;function Ww(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(zt.isNegativeZero(t))return"-0.0";return r=t.toString(10),qw.test(r)?r.replace("e",".e"):r}function Uw(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||zt.isNegativeZero(t))}var Hw=new Nt("tag:yaml.org,2002:float",{kind:"scalar",resolve:$w,construct:zw,predicate:Uw,represent:Ww,defaultStyle:"lowercase"}),ag=Tw.extend({implicit:[ww,Mw,Rw,Hw]}),Yw=ag,sg=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),lg=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function jw(t){return t===null?!1:sg.exec(t)!==null||lg.exec(t)!==null}function Gw(t){var e,r,i,n,o,a,s,l=0,c=null,u,h,f;if(e=sg.exec(t),e===null&&(e=lg.exec(t)),e===null)throw new Error("Date resolve error");if(r=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(r,i,n));if(o=+e[4],a=+e[5],s=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],h=+(e[11]||0),c=(u*60+h)*6e4,e[9]==="-"&&(c=-c)),f=new Date(Date.UTC(r,i,n,o,a,s,l)),c&&f.setTime(f.getTime()-c),f}function Vw(t){return t.toISOString()}var Xw=new Nt("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:jw,construct:Gw,instanceOf:Date,represent:Vw});function Kw(t){return t==="<<"||t===null}var Zw=new Nt("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Kw}),Hl=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function Qw(t){if(t===null)return!1;var e,r,i=0,n=t.length,o=Hl;for(r=0;r<n;r++)if(e=o.indexOf(t.charAt(r)),!(e>64)){if(e<0)return!1;i+=6}return i%8===0}function Jw(t){var e,r,i=t.replace(/[\r\n=]/g,""),n=i.length,o=Hl,a=0,s=[];for(e=0;e<n;e++)e%4===0&&e&&(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)),a=a<<6|o.indexOf(i.charAt(e));return r=n%4*6,r===0?(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)):r===18?(s.push(a>>10&255),s.push(a>>2&255)):r===12&&s.push(a>>4&255),new Uint8Array(s)}function tB(t){var e="",r=0,i,n,o=t.length,a=Hl;for(i=0;i<o;i++)i%3===0&&i&&(e+=a[r>>18&63],e+=a[r>>12&63],e+=a[r>>6&63],e+=a[r&63]),r=(r<<8)+t[i];return n=o%3,n===0?(e+=a[r>>18&63],e+=a[r>>12&63],e+=a[r>>6&63],e+=a[r&63]):n===2?(e+=a[r>>10&63],e+=a[r>>4&63],e+=a[r<<2&63],e+=a[64]):n===1&&(e+=a[r>>2&63],e+=a[r<<4&63],e+=a[64],e+=a[64]),e}function eB(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var rB=new Nt("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Qw,construct:Jw,predicate:eB,represent:tB}),iB=Object.prototype.hasOwnProperty,nB=Object.prototype.toString;function oB(t){if(t===null)return!0;var e=[],r,i,n,o,a,s=t;for(r=0,i=s.length;r<i;r+=1){if(n=s[r],a=!1,nB.call(n)!=="[object Object]")return!1;for(o in n)if(iB.call(n,o))if(!a)a=!0;else return!1;if(!a)return!1;if(e.indexOf(o)===-1)e.push(o);else return!1}return!0}function aB(t){return t!==null?t:[]}var sB=new Nt("tag:yaml.org,2002:omap",{kind:"sequence",resolve:oB,construct:aB}),lB=Object.prototype.toString;function cB(t){if(t===null)return!0;var e,r,i,n,o,a=t;for(o=new Array(a.length),e=0,r=a.length;e<r;e+=1){if(i=a[e],lB.call(i)!=="[object Object]"||(n=Object.keys(i),n.length!==1))return!1;o[e]=[n[0],i[n[0]]]}return!0}function uB(t){if(t===null)return[];var e,r,i,n,o,a=t;for(o=new Array(a.length),e=0,r=a.length;e<r;e+=1)i=a[e],n=Object.keys(i),o[e]=[n[0],i[n[0]]];return o}var hB=new Nt("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:cB,construct:uB}),fB=Object.prototype.hasOwnProperty;function pB(t){if(t===null)return!0;var e,r=t;for(e in r)if(fB.call(r,e)&&r[e]!==null)return!1;return!0}function dB(t){return t!==null?t:{}}var mB=new Nt("tag:yaml.org,2002:set",{kind:"mapping",resolve:pB,construct:dB}),gB=Yw.extend({implicit:[Xw,Zw],explicit:[rB,sB,hB,mB]}),tr=Object.prototype.hasOwnProperty,ha=1,cg=2,ug=3,fa=4,Fl=1,xB=2,em=3,yB=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,_B=/[\x85\u2028\u2029]/,bB=/[,\[\]\{\}]/,hg=/^(?:!|!!|![a-z\-]+!)$/i,fg=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function rm(t){return Object.prototype.toString.call(t)}function xe(t){return t===10||t===13}function Lr(t){return t===9||t===32}function jt(t){return t===9||t===32||t===10||t===13}function _i(t){return t===44||t===91||t===93||t===123||t===125}function CB(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}function TB(t){return t===120?2:t===117?4:t===85?8:0}function vB(t){return 48<=t&&t<=57?t-48:-1}function im(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?"	":t===110?`
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"\x85":t===95?"\xA0":t===76?"\u2028":t===80?"\u2029":""}function SB(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var pg=new Array(256),dg=new Array(256);for(Mr=0;Mr<256;Mr++)pg[Mr]=im(Mr)?1:0,dg[Mr]=im(Mr);var Mr;function kB(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||gB,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function mg(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=fw(r),new Ee(e,r)}function H(t,e){throw mg(t,e)}function pa(t,e){t.onWarning&&t.onWarning.call(null,mg(t,e))}var nm={YAML:function(e,r,i){var n,o,a;e.version!==null&&H(e,"duplication of %YAML directive"),i.length!==1&&H(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),n===null&&H(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),a=parseInt(n[2],10),o!==1&&H(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&pa(e,"unsupported YAML version of the document")},TAG:function(e,r,i){var n,o;i.length!==2&&H(e,"TAG directive accepts exactly two arguments"),n=i[0],o=i[1],hg.test(n)||H(e,"ill-formed tag handle (first argument) of the TAG directive"),tr.call(e.tagMap,n)&&H(e,'there is a previously declared suffix for "'+n+'" tag handle'),fg.test(o)||H(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{H(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function Je(t,e,r,i){var n,o,a,s;if(e<r){if(s=t.input.slice(e,r),i)for(n=0,o=s.length;n<o;n+=1)a=s.charCodeAt(n),a===9||32<=a&&a<=1114111||H(t,"expected valid JSON character");else yB.test(s)&&H(t,"the stream contains non-printable characters");t.result+=s}}function om(t,e,r,i){var n,o,a,s;for(zt.isObject(r)||H(t,"cannot merge mappings; the provided source object is unacceptable"),n=Object.keys(r),a=0,s=n.length;a<s;a+=1)o=n[a],tr.call(e,o)||(e[o]=r[o],i[o]=!0)}function bi(t,e,r,i,n,o,a,s,l){var c,u;if(Array.isArray(n))for(n=Array.prototype.slice.call(n),c=0,u=n.length;c<u;c+=1)Array.isArray(n[c])&&H(t,"nested arrays are not supported inside keys"),typeof n=="object"&&rm(n[c])==="[object Object]"&&(n[c]="[object Object]");if(typeof n=="object"&&rm(n)==="[object Object]"&&(n="[object Object]"),n=String(n),e===null&&(e={}),i==="tag:yaml.org,2002:merge")if(Array.isArray(o))for(c=0,u=o.length;c<u;c+=1)om(t,e,o[c],r);else om(t,e,o,r);else!t.json&&!tr.call(r,n)&&tr.call(e,n)&&(t.line=a||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,H(t,"duplicated mapping key")),n==="__proto__"?Object.defineProperty(e,n,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[n]=o,delete r[n];return e}function Yl(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):H(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function mt(t,e,r){for(var i=0,n=t.input.charCodeAt(t.position);n!==0;){for(;Lr(n);)n===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),n=t.input.charCodeAt(++t.position);if(e&&n===35)do n=t.input.charCodeAt(++t.position);while(n!==10&&n!==13&&n!==0);if(xe(n))for(Yl(t),n=t.input.charCodeAt(t.position),i++,t.lineIndent=0;n===32;)t.lineIndent++,n=t.input.charCodeAt(++t.position);else break}return r!==-1&&i!==0&&t.lineIndent<r&&pa(t,"deficient indentation"),i}function Ta(t){var e=t.position,r;return r=t.input.charCodeAt(e),!!((r===45||r===46)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,r=t.input.charCodeAt(e),r===0||jt(r)))}function jl(t,e){e===1?t.result+=" ":e>1&&(t.result+=zt.repeat(`
`,e-1))}function wB(t,e,r){var i,n,o,a,s,l,c,u,h=t.kind,f=t.result,p;if(p=t.input.charCodeAt(t.position),jt(p)||_i(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(n=t.input.charCodeAt(t.position+1),jt(n)||r&&_i(n)))return!1;for(t.kind="scalar",t.result="",o=a=t.position,s=!1;p!==0;){if(p===58){if(n=t.input.charCodeAt(t.position+1),jt(n)||r&&_i(n))break}else if(p===35){if(i=t.input.charCodeAt(t.position-1),jt(i))break}else{if(t.position===t.lineStart&&Ta(t)||r&&_i(p))break;if(xe(p))if(l=t.line,c=t.lineStart,u=t.lineIndent,mt(t,!1,-1),t.lineIndent>=e){s=!0,p=t.input.charCodeAt(t.position);continue}else{t.position=a,t.line=l,t.lineStart=c,t.lineIndent=u;break}}s&&(Je(t,o,a,!1),jl(t,t.line-l),o=a=t.position,s=!1),Lr(p)||(a=t.position+1),p=t.input.charCodeAt(++t.position)}return Je(t,o,a,!1),t.result?!0:(t.kind=h,t.result=f,!1)}function BB(t,e){var r,i,n;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind="scalar",t.result="",t.position++,i=n=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if(Je(t,i,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)i=t.position,t.position++,n=t.position;else return!0;else xe(r)?(Je(t,i,n,!0),jl(t,mt(t,!1,e)),i=n=t.position):t.position===t.lineStart&&Ta(t)?H(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);H(t,"unexpected end of the stream within a single quoted scalar")}function FB(t,e){var r,i,n,o,a,s;if(s=t.input.charCodeAt(t.position),s!==34)return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;(s=t.input.charCodeAt(t.position))!==0;){if(s===34)return Je(t,r,t.position,!0),t.position++,!0;if(s===92){if(Je(t,r,t.position,!0),s=t.input.charCodeAt(++t.position),xe(s))mt(t,!1,e);else if(s<256&&pg[s])t.result+=dg[s],t.position++;else if((a=TB(s))>0){for(n=a,o=0;n>0;n--)s=t.input.charCodeAt(++t.position),(a=CB(s))>=0?o=(o<<4)+a:H(t,"expected hexadecimal character");t.result+=SB(o),t.position++}else H(t,"unknown escape sequence");r=i=t.position}else xe(s)?(Je(t,r,i,!0),jl(t,mt(t,!1,e)),r=i=t.position):t.position===t.lineStart&&Ta(t)?H(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}H(t,"unexpected end of the stream within a double quoted scalar")}function AB(t,e){var r=!0,i,n,o,a=t.tag,s,l=t.anchor,c,u,h,f,p,x=Object.create(null),b,w,M,_;if(_=t.input.charCodeAt(t.position),_===91)u=93,p=!1,s=[];else if(_===123)u=125,p=!0,s={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=s),_=t.input.charCodeAt(++t.position);_!==0;){if(mt(t,!0,e),_=t.input.charCodeAt(t.position),_===u)return t.position++,t.tag=a,t.anchor=l,t.kind=p?"mapping":"sequence",t.result=s,!0;r?_===44&&H(t,"expected the node content, but found ','"):H(t,"missed comma between flow collection entries"),w=b=M=null,h=f=!1,_===63&&(c=t.input.charCodeAt(t.position+1),jt(c)&&(h=f=!0,t.position++,mt(t,!0,e))),i=t.line,n=t.lineStart,o=t.position,vi(t,e,ha,!1,!0),w=t.tag,b=t.result,mt(t,!0,e),_=t.input.charCodeAt(t.position),(f||t.line===i)&&_===58&&(h=!0,_=t.input.charCodeAt(++t.position),mt(t,!0,e),vi(t,e,ha,!1,!0),M=t.result),p?bi(t,s,x,w,b,M,i,n,o):h?s.push(bi(t,null,x,w,b,M,i,n,o)):s.push(b),mt(t,!0,e),_=t.input.charCodeAt(t.position),_===44?(r=!0,_=t.input.charCodeAt(++t.position)):r=!1}H(t,"unexpected end of the stream within a flow collection")}function MB(t,e){var r,i,n=Fl,o=!1,a=!1,s=e,l=0,c=!1,u,h;if(h=t.input.charCodeAt(t.position),h===124)i=!1;else if(h===62)i=!0;else return!1;for(t.kind="scalar",t.result="";h!==0;)if(h=t.input.charCodeAt(++t.position),h===43||h===45)Fl===n?n=h===43?em:xB:H(t,"repeat of a chomping mode identifier");else if((u=vB(h))>=0)u===0?H(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?H(t,"repeat of an indentation width identifier"):(s=e+u-1,a=!0);else break;if(Lr(h)){do h=t.input.charCodeAt(++t.position);while(Lr(h));if(h===35)do h=t.input.charCodeAt(++t.position);while(!xe(h)&&h!==0)}for(;h!==0;){for(Yl(t),t.lineIndent=0,h=t.input.charCodeAt(t.position);(!a||t.lineIndent<s)&&h===32;)t.lineIndent++,h=t.input.charCodeAt(++t.position);if(!a&&t.lineIndent>s&&(s=t.lineIndent),xe(h)){l++;continue}if(t.lineIndent<s){n===em?t.result+=zt.repeat(`
`,o?1+l:l):n===Fl&&o&&(t.result+=`
`);break}for(i?Lr(h)?(c=!0,t.result+=zt.repeat(`
`,o?1+l:l)):c?(c=!1,t.result+=zt.repeat(`
`,l+1)):l===0?o&&(t.result+=" "):t.result+=zt.repeat(`
`,l):t.result+=zt.repeat(`
`,o?1+l:l),o=!0,a=!0,l=0,r=t.position;!xe(h)&&h!==0;)h=t.input.charCodeAt(++t.position);Je(t,r,t.position,!1)}return!0}function am(t,e){var r,i=t.tag,n=t.anchor,o=[],a,s=!1,l;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=o),l=t.input.charCodeAt(t.position);l!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,H(t,"tab characters must not be used in indentation")),!(l!==45||(a=t.input.charCodeAt(t.position+1),!jt(a))));){if(s=!0,t.position++,mt(t,!0,-1)&&t.lineIndent<=e){o.push(null),l=t.input.charCodeAt(t.position);continue}if(r=t.line,vi(t,e,ug,!1,!0),o.push(t.result),mt(t,!0,-1),l=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&l!==0)H(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return s?(t.tag=i,t.anchor=n,t.kind="sequence",t.result=o,!0):!1}function LB(t,e,r){var i,n,o,a,s,l,c=t.tag,u=t.anchor,h={},f=Object.create(null),p=null,x=null,b=null,w=!1,M=!1,_;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=h),_=t.input.charCodeAt(t.position);_!==0;){if(!w&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,H(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),o=t.line,(_===63||_===58)&&jt(i))_===63?(w&&(bi(t,h,f,p,x,null,a,s,l),p=x=b=null),M=!0,w=!0,n=!0):w?(w=!1,n=!0):H(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,_=i;else{if(a=t.line,s=t.lineStart,l=t.position,!vi(t,r,cg,!1,!0))break;if(t.line===o){for(_=t.input.charCodeAt(t.position);Lr(_);)_=t.input.charCodeAt(++t.position);if(_===58)_=t.input.charCodeAt(++t.position),jt(_)||H(t,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(bi(t,h,f,p,x,null,a,s,l),p=x=b=null),M=!0,w=!1,n=!1,p=t.tag,x=t.result;else if(M)H(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=c,t.anchor=u,!0}else if(M)H(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=c,t.anchor=u,!0}if((t.line===o||t.lineIndent>e)&&(w&&(a=t.line,s=t.lineStart,l=t.position),vi(t,e,fa,!0,n)&&(w?x=t.result:b=t.result),w||(bi(t,h,f,p,x,b,a,s,l),p=x=b=null),mt(t,!0,-1),_=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&_!==0)H(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return w&&bi(t,h,f,p,x,null,a,s,l),M&&(t.tag=c,t.anchor=u,t.kind="mapping",t.result=h),M}function EB(t){var e,r=!1,i=!1,n,o,a;if(a=t.input.charCodeAt(t.position),a!==33)return!1;if(t.tag!==null&&H(t,"duplication of a tag property"),a=t.input.charCodeAt(++t.position),a===60?(r=!0,a=t.input.charCodeAt(++t.position)):a===33?(i=!0,n="!!",a=t.input.charCodeAt(++t.position)):n="!",e=t.position,r){do a=t.input.charCodeAt(++t.position);while(a!==0&&a!==62);t.position<t.length?(o=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):H(t,"unexpected end of the stream within a verbatim tag")}else{for(;a!==0&&!jt(a);)a===33&&(i?H(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),hg.test(n)||H(t,"named tag handle cannot contain such characters"),i=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);o=t.input.slice(e,t.position),bB.test(o)&&H(t,"tag suffix cannot contain flow indicator characters")}o&&!fg.test(o)&&H(t,"tag name cannot contain such characters: "+o);try{o=decodeURIComponent(o)}catch{H(t,"tag name is malformed: "+o)}return r?t.tag=o:tr.call(t.tagMap,n)?t.tag=t.tagMap[n]+o:n==="!"?t.tag="!"+o:n==="!!"?t.tag="tag:yaml.org,2002:"+o:H(t,'undeclared tag handle "'+n+'"'),!0}function OB(t){var e,r;if(r=t.input.charCodeAt(t.position),r!==38)return!1;for(t.anchor!==null&&H(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!jt(r)&&!_i(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&H(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function IB(t){var e,r,i;if(i=t.input.charCodeAt(t.position),i!==42)return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;i!==0&&!jt(i)&&!_i(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&H(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),tr.call(t.anchorMap,r)||H(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],mt(t,!0,-1),!0}function vi(t,e,r,i,n){var o,a,s,l=1,c=!1,u=!1,h,f,p,x,b,w;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=a=s=fa===r||ug===r,i&&mt(t,!0,-1)&&(c=!0,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent<e&&(l=-1)),l===1)for(;EB(t)||OB(t);)mt(t,!0,-1)?(c=!0,s=o,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent<e&&(l=-1)):s=!1;if(s&&(s=c||n),(l===1||fa===r)&&(ha===r||cg===r?b=e:b=e+1,w=t.position-t.lineStart,l===1?s&&(am(t,w)||LB(t,w,b))||AB(t,b)?u=!0:(a&&MB(t,b)||BB(t,b)||FB(t,b)?u=!0:IB(t)?(u=!0,(t.tag!==null||t.anchor!==null)&&H(t,"alias node should not have any properties")):wB(t,b,ha===r)&&(u=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):l===0&&(u=s&&am(t,w))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&H(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),h=0,f=t.implicitTypes.length;h<f;h+=1)if(x=t.implicitTypes[h],x.resolve(t.result)){t.result=x.construct(t.result),t.tag=x.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(tr.call(t.typeMap[t.kind||"fallback"],t.tag))x=t.typeMap[t.kind||"fallback"][t.tag];else for(x=null,p=t.typeMap.multi[t.kind||"fallback"],h=0,f=p.length;h<f;h+=1)if(t.tag.slice(0,p[h].tag.length)===p[h].tag){x=p[h];break}x||H(t,"unknown tag !<"+t.tag+">"),t.result!==null&&x.kind!==t.kind&&H(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+x.kind+'", not "'+t.kind+'"'),x.resolve(t.result,t.tag)?(t.result=x.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):H(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||u}function DB(t){var e=t.position,r,i,n,o=!1,a;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(a=t.input.charCodeAt(t.position))!==0&&(mt(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0||a!==37));){for(o=!0,a=t.input.charCodeAt(++t.position),r=t.position;a!==0&&!jt(a);)a=t.input.charCodeAt(++t.position);for(i=t.input.slice(r,t.position),n=[],i.length<1&&H(t,"directive name must not be less than one character in length");a!==0;){for(;Lr(a);)a=t.input.charCodeAt(++t.position);if(a===35){do a=t.input.charCodeAt(++t.position);while(a!==0&&!xe(a));break}if(xe(a))break;for(r=t.position;a!==0&&!jt(a);)a=t.input.charCodeAt(++t.position);n.push(t.input.slice(r,t.position))}a!==0&&Yl(t),tr.call(nm,i)?nm[i](t,i,n):pa(t,'unknown document directive "'+i+'"')}if(mt(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,mt(t,!0,-1)):o&&H(t,"directives end mark is expected"),vi(t,t.lineIndent-1,fa,!1,!0),mt(t,!0,-1),t.checkLineBreaks&&_B.test(t.input.slice(e,t.position))&&pa(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Ta(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,mt(t,!0,-1));return}if(t.position<t.length-1)H(t,"end of the stream or a document separator is expected");else return}function gg(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`
`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new kB(t,e),i=t.indexOf("\0");for(i!==-1&&(r.position=i,H(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)DB(r);return r.documents}function NB(t,e,r){e!==null&&typeof e=="object"&&typeof r>"u"&&(r=e,e=null);var i=gg(t,r);if(typeof e!="function")return i;for(var n=0,o=i.length;n<o;n+=1)e(i[n])}function RB(t,e){var r=gg(t,e);if(r.length!==0){if(r.length===1)return r[0];throw new Ee("expected a single document in the stream, but found more")}}var PB=NB,$B=RB,zB={loadAll:PB,load:$B},qB=ag,WB=zB.load;function xg(t,e,r){var i,n;let o=t.match(xm);if(!o)return t;let a=WB(o[1],{schema:qB});return a?.title&&((i=e.setDiagramTitle)==null||i.call(e,a.title.toString())),a?.displayMode&&((n=e.setDisplayMode)==null||n.call(e,a.displayMode.toString())),a?.config&&r?.(a.config),t.slice(o[0].length)}var UB=t=>t.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm,""),da=class{constructor(e){this.text=e,this.type="graph",this.text+=`
`;let r=se();try{this.type=_a(e,r)}catch(o){this.type="error",this.detectError=o}let i=Wl(this.type);z.debug("Type "+this.type),this.db=i.db,this.renderer=i.renderer,this.parser=i.parser;let n=this.parser.parse.bind(this.parser);this.parser.parse=o=>n(UB(xg(o,this.db,sa))),this.parser.parser.yy=this.db,this.init=i.init,this.parse()}parse(){var e,r,i;if(this.detectError)throw this.detectError;(r=(e=this.db).clear)==null||r.call(e),(i=this.init)==null||i.call(this,se()),this.parser.parse(this.text)}async render(e,r){await this.renderer.draw(this.text,e,r,this)}getParser(){return this.parser}getType(){return this.type}},Gl=async t=>{let e=_a(t,se());try{Wl(e)}catch{let i=Ev(e);if(!i)throw new na(`Diagram ${e} not found.`);let{id:n,diagram:o}=await i();ua(n,o)}return new da(t)},Il=[],Iz=t=>{Il.push(t)},HB=()=>{Il.forEach(t=>{t()}),Il=[]},YB="graphics-document document";function jB(t,e){t.attr("role",YB),e!==""&&t.attr("aria-roledescription",e)}function GB(t,e,r,i){if(t.insert!==void 0){if(r){let n=`chart-desc-${i}`;t.attr("aria-describedby",n),t.insert("desc",":first-child").attr("id",n).text(r)}if(e){let n=`chart-title-${i}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}var yg=["graph","flowchart","flowchart-v2","flowchart-elk","stateDiagram","stateDiagram-v2"],VB=5e4,XB="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",KB="sandbox",ZB="loose",QB="http://www.w3.org/2000/svg",JB="http://www.w3.org/1999/xlink",tF="http://www.w3.org/1999/xhtml",eF="100%",rF="100%",iF="border:0;margin:0;",nF="margin:0",oF="allow-top-navigation-by-user-activation allow-popups",aF='The "iframe" tag is not supported by your browser.',sF=["foreignobject"],lF=["dominant-baseline"];async function cF(t,e){Ul();try{await Gl(t)}catch(r){if(e?.suppressErrors)return!1;throw r}return!0}var uF=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/#\w+;/g,function(r){let i=r.substring(1,r.length-1);return/^\+?\d+$/.test(i)?"\uFB02\xB0\xB0"+i+"\xB6\xDF":"\uFB02\xB0"+i+"\xB6\xDF"}),e},hF=function(t){return t.replace(/ﬂ°°/g,"&#").replace(/ﬂ°/g,"&").replace(/¶ß/g,";")},sm=(t,e,r=[])=>`
.${t} ${e} { ${r.join(" !important; ")} !important; }`,fF=(t,e,r={})=>{var i;let n="";if(t.themeCSS!==void 0&&(n+=`
${t.themeCSS}`),t.fontFamily!==void 0&&(n+=`
:root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(n+=`
:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!qo(r)&&yg.includes(e)){let l=t.htmlLabels||((i=t.flowchart)==null?void 0:i.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(let c in r){let u=r[c];qo(u.styles)||l.forEach(h=>{n+=sm(u.id,h,u.styles)}),qo(u.textStyles)||(n+=sm(u.id,"tspan",u.textStyles))}}return n},pF=(t,e,r,i)=>{let n=fF(t,e,r),o=Hk(e,n,t.themeVariables);return Jo(Gd(`${i}{${o}}`),Vd)},dF=(t="",e,r)=>{let i=t;return!r&&!e&&(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=hF(i),i=i.replace(/<br>/g,"<br/>"),i},mF=(t="",e)=>{var r,i;let n=(i=(r=e?.viewBox)==null?void 0:r.baseVal)!=null&&i.height?e.viewBox.baseVal.height+"px":rF,o=btoa('<body style="'+nF+'">'+t+"</body>");return`<iframe style="width:${eF};height:${n};${iF}" src="data:text/html;base64,${o}" sandbox="${oF}">
  ${aF}
</iframe>`},lm=(t,e,r,i,n)=>{let o=t.append("div");o.attr("id",r),i&&o.attr("style",i);let a=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns",QB);return n&&a.attr("xmlns:xlink",n),a.append("g"),t};function cm(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}var gF=(t,e,r,i)=>{var n,o,a;(n=t.getElementById(e))==null||n.remove(),(o=t.getElementById(r))==null||o.remove(),(a=t.getElementById(i))==null||a.remove()},xF=async function(t,e,r){var i,n,o,a;Ul(),la(),xg(e,{},sa);let s=ra.detectInit(e);s&&sa(s);let l=se();z.debug(l),e.length>(l?.maxTextSize??VB)&&(e=XB),e=e.replace(/\r\n?/g,`
`),e=e.replace(/<(\w+)([^>]*)>/g,(D,j,V)=>"<"+j+V.replace(/="([^"]*)"/g,"='$1'")+">");let c="#"+t,u="i"+t,h="#"+u,f="d"+t,p="#"+f,x=Wt("body"),b=l.securityLevel===KB,w=l.securityLevel===ZB,M=l.fontFamily;if(r!==void 0){if(r&&(r.innerHTML=""),b){let D=cm(Wt(r),u);x=Wt(D.nodes()[0].contentDocument.body),x.node().style.margin=0}else x=Wt(r);lm(x,t,f,`font-family: ${M}`,JB)}else{if(gF(document,t,f,u),b){let D=cm(Wt("body"),u);x=Wt(D.nodes()[0].contentDocument.body),x.node().style.margin=0}else x=Wt("body");lm(x,t,f)}e=uF(e);let _,F;try{_=await Gl(e)}catch(D){_=new da("error"),F=D}let N=x.select(p).node(),O=_.type,B=N.firstChild,y=B.firstChild,q=yg.includes(O)?_.renderer.getClasses(e,_):{},rt=pF(l,O,q,c),et=document.createElement("style");et.innerHTML=rt,B.insertBefore(et,y);try{await _.renderer.draw(e,t,Zd,_)}catch(D){throw vk.draw(e,t,Zd),D}let C=x.select(`${p} svg`),T=(n=(i=_.db).getAccTitle)==null?void 0:n.call(i),g=(a=(o=_.db).getAccDescription)==null?void 0:a.call(o);_F(O,C,T,g),x.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",tF);let v=x.select(p).node().innerHTML;if(z.debug("config.arrowMarkerAbsolute",l.arrowMarkerAbsolute),v=dF(v,b,dm(l.arrowMarkerAbsolute)),b){let D=x.select(p+" svg").node();v=mF(v,D)}else w||(v=pn.default.sanitize(v,{ADD_TAGS:sF,ADD_ATTR:lF}));if(HB(),F)throw F;let P=Wt(b?h:p).node();return P&&"remove"in P&&P.remove(),{svg:v,bindFunctions:_.db.bindFunctions}};function yF(t={}){var e;t?.fontFamily&&!((e=t.themeVariables)!=null&&e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),oS(t),t?.theme&&t.theme in Oe?t.themeVariables=Oe[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Oe.default.getThemeVariables(t.themeVariables));let r=typeof t=="object"?nS(t):Sm();Dl(r.logLevel),Ul()}function _F(t,e,r,i){jB(e,t),GB(e,r,i,e.attr("id"))}var Er=Object.freeze({render:xF,parse:cF,parseDirective:rg,getDiagramFromText:Gl,initialize:yF,getConfig:se,setConfig:sS,getSiteConfig:Sm,updateSiteConfig:aS,reset:()=>{la()},globalReset:()=>{la(gn)},defaultConfig:gn});Dl(se().logLevel);la(se());var bF=async()=>{z.debug("Loading registered diagrams");let e=(await Promise.allSettled(Object.entries(Ci).map(async([r,{detector:i,loader:n}])=>{if(n)try{Wl(r)}catch{try{let{diagram:a,id:s}=await n();ua(s,a,i)}catch(a){throw z.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Ci[r],a}}}))).filter(r=>r.status==="rejected");if(e.length>0){z.error(`Failed to load ${e.length} external diagrams`);for(let r of e)z.error(r);throw new Error(`Failed to load ${e.length} external diagrams`)}},CF=(t,e,r)=>{z.warn(t),Tm(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},_g=async function(t={querySelector:".mermaid"}){try{await TF(t)}catch(e){if(Tm(e)&&z.error(e.str),ye.parseError&&ye.parseError(e),!t.suppressErrors)throw z.error("Use the suppressErrors option to suppress these errors"),e}},TF=async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let i=Er.getConfig();z.debug(`${t?"":"No "}Callback function found`);let n;if(r)n=r;else if(e)n=document.querySelectorAll(e);else throw new Error("Nodes and querySelector are both undefined");z.debug(`Found ${n.length} diagrams`),i?.startOnLoad!==void 0&&(z.debug("Start On Load: "+i?.startOnLoad),Er.updateSiteConfig({startOnLoad:i?.startOnLoad}));let o=new ra.initIdGenerator(i.deterministicIds,i.deterministicIDSeed),a,s=[];for(let l of Array.from(n)){z.info("Rendering diagram: "+l.id);if(l.getAttribute("data-processed"))continue;l.setAttribute("data-processed","true");let c=`mermaid-${o.next()}`;a=l.innerHTML,a=yc(ra.entityDecode(a)).trim().replace(/<br\s*\/?>/gi,"<br/>");let u=ra.detectInit(a);u&&z.debug("Detected early reinit: ",u);try{let{svg:h,bindFunctions:f}=await vg(c,a,l);l.innerHTML=h,t&&await t(c),f&&f(l)}catch(h){CF(h,s,ye.parseError)}}if(s.length>0)throw s[0]},bg=function(t){Er.initialize(t)},vF=async function(t,e,r){z.warn("mermaid.init is deprecated. Please use run instead."),t&&bg(t);let i={postRenderCallback:r,querySelector:".mermaid"};typeof e=="string"?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await _g(i)},SF=async(t,{lazyLoad:e=!0}={})=>{ym(...t),e===!1&&await bF()},Cg=function(){if(ye.startOnLoad){let{startOnLoad:t}=Er.getConfig();t&&ye.run().catch(e=>z.error("Mermaid failed to initialize",e))}};if(typeof document<"u"){window.addEventListener("load",Cg,!1)}var kF=function(t){ye.parseError=t},ma=[],Al=!1,Tg=async()=>{if(!Al){for(Al=!0;ma.length>0;){let t=ma.shift();if(t)try{await t()}catch(e){z.error("Error executing queue",e)}}Al=!1}},wF=async(t,e)=>new Promise((r,i)=>{let n=()=>new Promise((o,a)=>{Er.parse(t,e).then(s=>{o(s),r(s)},s=>{var l;z.error("Error parsing",s),(l=ye.parseError)==null||l.call(ye,s),a(s),i(s)})});ma.push(n),Tg().catch(i)}),vg=(t,e,r)=>new Promise((i,n)=>{let o=()=>new Promise((a,s)=>{Er.render(t,e,r).then(l=>{a(l),i(l)},l=>{var c;z.error("Error parsing",l),(c=ye.parseError)==null||c.call(ye,l),s(l),n(l)})});ma.push(o),Tg().catch(n)}),ye={startOnLoad:!0,mermaidAPI:Er,parse:wF,render:vg,init:vF,run:_g,registerExternalDiagrams:SF,initialize:bg,parseError:void 0,contentLoaded:Cg,setParseErrorHandler:kF,detectType:_a};export{yc as a,_c as b,bc as c,Cc as d,Tc as e,m0 as f,g0 as g,Wt as h,px as i,Bx as j,y1 as k,ds as l,Bs as m,Vr as n,Xr as o,ke as p,we as q,Kr as r,sh as s,lh as t,Re as u,ch as v,uh as w,Qr as x,Qn as y,Ph as z,f_ as A,C_ as B,Yi as C,T_ as D,v_ as E,qs as F,Yf as G,Ue as H,O1 as I,vr as J,$ as K,Y as L,pt as M,ai as N,oe as O,Ut as P,si as Q,He as R,an as S,Mo as T,Lp as U,pi as V,Op as W,Pp as X,bl as Y,$p as Z,zp as _,qp as $,Eo as aa,Hp as ba,ge as ca,Sr as da,kr as ea,Oo as fa,Ke as ga,jp as ha,di as ia,Qp as ja,td as ka,vl as la,mi as ma,id as na,nd as oa,Io as pa,ad as qa,Do as ra,No as sa,md as ta,gd as ua,_d as va,bd as wa,Cd as xa,vd as ya,kd as za,$o as Aa,Ld as Ba,qo as Ca,z as Da,ga as Ea,dn as Fa,dm as Ga,_v as Ha,Nl as Ia,kv as Ja,Mv as Ka,Dt as La,Ov as Ma,Pv as Na,Yv as Oa,jv as Pa,Vv as Qa,Zv as Ra,Jv as Sa,aa as Ta,Pl as Ua,iS as Va,ra as Wa,gn as Xa,sS as Ya,se as Za,yk as _a,Um as $a,Ck as ab,Xm as bb,Km as cb,Zm as db,Qm as eb,Jm as fb,tg as gb,eg as hb,jk as ib,rg as jb,ig as kb,Zk as lb,Iz as mb,hF as nb,Er as ob,ye as pb};
/*! Bundled license information:

dompurify/dist/purify.js:
  (*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE *)

mermaid/dist/mermaid-768dc893.js:
  (*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
  (*! Check if previously processed *)
  (*!
   * Wait for document loaded before starting the execution
   *)
*/
//# sourceMappingURL=chunk-PBNKOM7K.min.js.map
