All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webapp.index.799e4e81.js Maven / Gradle / Ivy

There is a newer version: 1.0-20241113
Show newest version
function t(t){return t&&t.__esModule?t.default:t}function e(t,e,i,r){Object.defineProperty(t,e,{get:i,set:r,enumerable:!0,configurable:!0})}var i=globalThis,r={},n={},o=i.parcelRequire0031;null==o&&((o=function(t){if(t in r)return r[t].exports;if(t in n){var e=n[t];delete n[t];var i={id:t,exports:{}};return r[t]=i,e.call(i.exports,i,i.exports),i.exports}var o=Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}).register=function(t,e){n[t]=e},i.parcelRequire0031=o);var a=o.register;a("4jcZX",function(i,r){let n,a,l;e(i.exports,"l",()=>j),e(i.exports,"J",()=>W),e(i.exports,"d",()=>V),e(i.exports,"m",()=>Z),e(i.exports,"x",()=>Q),e(i.exports,"G",()=>tr),e(i.exports,"H",()=>tn),e(i.exports,"r",()=>to),e(i.exports,"e",()=>ta),e(i.exports,"E",()=>td),e(i.exports,"B",()=>tv),e(i.exports,"f",()=>tI),e(i.exports,"Z",()=>tD),e(i.exports,"n",()=>tP),e(i.exports,"k",()=>tW),e(i.exports,"I",()=>tH),e(i.exports,"y",()=>tU),e(i.exports,"D",()=>tK),e(i.exports,"w",()=>tX),e(i.exports,"h",()=>tQ),e(i.exports,"j",()=>tZ),e(i.exports,"C",()=>t0),e(i.exports,"u",()=>t1),e(i.exports,"M",()=>t5),e(i.exports,"F",()=>en),e(i.exports,"i",()=>e4),e(i.exports,"o",()=>e6),e(i.exports,"v",()=>io),e(i.exports,"s",()=>ia),e(i.exports,"g",()=>il),e(i.exports,"b",()=>is),e(i.exports,"a",()=>iu),e(i.exports,"q",()=>ih),e(i.exports,"t",()=>ic),e(i.exports,"L",()=>id),e(i.exports,"c",()=>ip),e(i.exports,"p",()=>ig),e(i.exports,"K",()=>im),e(i.exports,"z",()=>ix),e(i.exports,"A",()=>iT),e(i.exports,"N",()=>np);var s=o("eJNXH"),u=o("gngdn"),h=o("2ujND");o("2YFJl");var c=o("6QL1t"),f=o("2515N"),d=o("e1bEB"),p=o("gpIrV"),g=o("l8Mye"),m=o("hga9n"),y=o("9XrSP"),x=o("dUIyz"),C=o("6FEsA"),b=o("loyNQ"),v=o("4tc8L"),_=o("gEcf1"),k=o("4CT3t"),T=o("hp3ls"),S=o("kjPWc"),w=o("1zRZO"),B=o("hOxpW"),F=o("i8Fxz"),A=o("7Mv8O"),L=o("c94qS"),M=o("1LW8F"),E=o("75Ue8"),O=o("1Ez1E"),I=o("b1Vti"),D=o("e21Zk"),N=o("gocXo"),z=o("fm8kz"),q=o("02tYw");let P={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},j={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},R=function(t="fatal"){let e=P.fatal;"string"==typeof t?(t=t.toLowerCase())in P&&(e=P[t]):"number"==typeof t&&(e=t),j.trace=()=>{},j.debug=()=>{},j.info=()=>{},j.warn=()=>{},j.error=()=>{},j.fatal=()=>{},e<=P.fatal&&(j.fatal=console.error?console.error.bind(console,$("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",$("FATAL"))),e<=P.error&&(j.error=console.error?console.error.bind(console,$("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",$("ERROR"))),e<=P.warn&&(j.warn=console.warn?console.warn.bind(console,$("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,$("WARN"))),e<=P.info&&(j.info=console.info?console.info.bind(console,$("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",$("INFO"))),e<=P.debug&&(j.debug=console.debug?console.debug.bind(console,$("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",$("DEBUG"))),e<=P.trace&&(j.trace=console.debug?console.debug.bind(console,$("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",$("TRACE")))},$=e=>{let i=t(u)().format("ss.SSS");return`%c${i} : ${e} : `},W=//gi,Y=(l=!1,()=>{l||(function(){let e="data-temp-href-target";t(F).addHook("beforeSanitizeAttributes",t=>{"A"===t.tagName&&t.hasAttribute("target")&&t.setAttribute(e,t.getAttribute("target")||"")}),t(F).addHook("afterSanitizeAttributes",t=>{"A"===t.tagName&&t.hasAttribute(e)&&(t.setAttribute("target",t.getAttribute(e)||""),t.removeAttribute(e),"_blank"===t.getAttribute("target")&&t.setAttribute("rel","noopener"))})}(),l=!0)}),H=e=>(Y(),t(F).sanitize(e)),U=(t,e)=>{var i;if((null==(i=e.flowchart)?void 0:i.htmlLabels)!==!1){let i=e.securityLevel;"antiscript"===i||"strict"===i?t=H(t):"loose"!==i&&(t=X(t=(t=(t=G(t)).replace(//g,">")).replace(/=/g,"=")))}return t},V=(e,i)=>e?e=i.dompurifyConfig?t(F).sanitize(U(e,i),i.dompurifyConfig).toString():t(F).sanitize(U(e,i),{FORBID_TAGS:["style"]}).toString():e,X=t=>t.replace(/#br#/g,"
"),G=t=>t.replace(W,"#br#"),Z=t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),Q=function(t){let e=t.split(/(,)/),i=[];for(let t=0;t0&&t+1Math.max(0,t.split(e).length-1),K=(t,e)=>{let i=J(t,"~"),r=J(e,"~");return 1===i&&1===r},tt=t=>{let e=J(t,"~"),i=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),i=!0);let r=[...t],n=r.indexOf("~"),o=r.lastIndexOf("~");for(;-1!==n&&-1!==o&&n!==o;)r[n]="<",r[o]=">",n=r.indexOf("~"),o=r.lastIndexOf("~");return i&&r.unshift("~"),r.join("")},te=()=>void 0!==window.MathMLElement,ti=/\$\$(.*)\$\$/g,tr=t=>{var e;return((null==(e=t.match(ti))?void 0:e.length)??0)>0},tn=async(t,e)=>{t=await to(t,e);let i=document.createElement("div");i.innerHTML=t,i.id="katex-temp",i.style.visibility="hidden",i.style.position="absolute",i.style.top="0";let r=document.querySelector("body");null==r||r.insertAdjacentElement("beforeend",i);let n={width:i.clientWidth,height:i.clientHeight};return i.remove(),n},to=async(t,e)=>{if(!tr(t))return t;if(!te()&&!e.legacyMathML)return t.replace(ti,"MathML is unsupported in this environment.");let{default:i}=await o("GTJEH");return t.split(W).map(t=>tr(t)?`
${t}
`:`
${t}
`).join("").replace(ti,(t,e)=>i.renderToString(e,{throwOnError:!0,displayMode:!0,output:te()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(//g,""))},ta={getRows:t=>t?G(t).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:V,sanitizeTextOrArray:(t,e)=>"string"==typeof t?V(t,e):t.flat().map(t=>V(t,e)),hasBreaks:t=>W.test(t),splitBreaks:t=>t.split(W),lineBreakRegex:W,removeScript:H,getUrl:t=>{let e="";return t&&(e=(e=(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replaceAll(/\(/g,"\\(")).replaceAll(/\)/g,"\\)")),e},evaluate:Z,getMax:function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},getMin:function(...t){return Math.min(...t.filter(t=>!isNaN(t)))}},tl=(t,e)=>e?(0,A.default)(t,{s:-40,l:10}):(0,A.default)(t,{s:-40,l:-10}),ts="#ffffff",tu="#f2f2f2",th=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(){var t,e,i,r,n,o,a,l,s,u,h;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||(0,A.default)(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||(0,A.default)(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||tl(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||tl(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||tl(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||tl(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||(0,M.default)(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||(0,M.default)(this.tertiaryColor),this.lineColor=this.lineColor||(0,M.default)(this.background),this.arrowheadColor=this.arrowheadColor||(0,M.default)(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?(0,L.default)(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||(0,L.default)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||(0,M.default)(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||(0,O.default)(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||(0,A.default)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,A.default)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,A.default)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,A.default)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,A.default)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,A.default)(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||(0,A.default)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,A.default)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,A.default)(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},tc=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,O.default)(this.primaryColor,16),this.tertiaryColor=(0,A.default)(this.primaryColor,{h:-160}),this.primaryBorderColor=(0,M.default)(this.background),this.secondaryBorderColor=tl(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=tl(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,M.default)(this.primaryColor),this.secondaryTextColor=(0,M.default)(this.secondaryColor),this.tertiaryTextColor=(0,M.default)(this.tertiaryColor),this.lineColor=(0,M.default)(this.background),this.textColor=(0,M.default)(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,O.default)((0,M.default)("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,I.default)(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=(0,L.default)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,L.default)(this.sectionBkgColor,10),this.taskBorderColor=(0,I.default)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,I.default)(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(){var t,e,i,r,n,o,a,l,s,u,h;this.secondBkg=(0,O.default)(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=(0,O.default)(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=(0,O.default)(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=(0,A.default)(this.primaryColor,{h:64}),this.fillType3=(0,A.default)(this.secondaryColor,{h:64}),this.fillType4=(0,A.default)(this.primaryColor,{h:-64}),this.fillType5=(0,A.default)(this.secondaryColor,{h:-64}),this.fillType6=(0,A.default)(this.primaryColor,{h:128}),this.fillType7=(0,A.default)(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||(0,A.default)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,A.default)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,A.default)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,A.default)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,A.default)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,A.default)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,A.default)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,A.default)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,A.default)(this.primaryColor,{h:330});for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},tf=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=(0,A.default)(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=(0,A.default)(this.primaryColor,{h:-160}),this.primaryBorderColor=tl(this.primaryColor,this.darkMode),this.secondaryBorderColor=tl(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=tl(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,M.default)(this.primaryColor),this.secondaryTextColor=(0,M.default)(this.secondaryColor),this.tertiaryTextColor=(0,M.default)(this.tertiaryColor),this.lineColor=(0,M.default)(this.background),this.textColor=(0,M.default)(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=(0,I.default)(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(){var t,e,i,r,n,o,a,l,s,u,h;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,A.default)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,A.default)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,A.default)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,A.default)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,A.default)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,A.default)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,A.default)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,A.default)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,A.default)(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,L.default)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,L.default)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},td=t=>{let e=new tf;return e.calculate(t),e},tp=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=(0,O.default)("#cde498",10),this.primaryBorderColor=tl(this.primaryColor,this.darkMode),this.secondaryBorderColor=tl(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=tl(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,M.default)(this.primaryColor),this.secondaryTextColor=(0,M.default)(this.secondaryColor),this.tertiaryTextColor=(0,M.default)(this.primaryColor),this.lineColor=(0,M.default)(this.background),this.textColor=(0,M.default)(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(){var t,e,i,r,n,o,a,l,s,u,h;this.actorBorder=(0,L.default)(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||(0,A.default)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,A.default)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,A.default)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,A.default)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,A.default)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,A.default)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,A.default)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,A.default)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,A.default)(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,L.default)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,L.default)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}};class tg{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,O.default)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=(0,A.default)(this.primaryColor,{h:-160}),this.primaryBorderColor=tl(this.primaryColor,this.darkMode),this.secondaryBorderColor=tl(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=tl(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,M.default)(this.primaryColor),this.secondaryTextColor=(0,M.default)(this.secondaryColor),this.tertiaryTextColor=(0,M.default)(this.tertiaryColor),this.lineColor=(0,M.default)(this.background),this.textColor=(0,M.default)(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(){var t,e,i,r,n,o,a,l,s,u,h;this.secondBkg=(0,O.default)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,O.default)(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 t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}}let tm={base:{getThemeVariables:t=>{let e=new th;return e.calculate(t),e}},dark:{getThemeVariables:t=>{let e=new tc;return e.calculate(t),e}},default:{getThemeVariables:td},forest:{getThemeVariables:t=>{let e=new tp;return e.calculate(t),e}},neutral:{getThemeVariables:t=>{let e=new tg;return e.calculate(t),e}}},ty={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},tx={...ty,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:tm.default.getThemeVariables(),sequence:{...ty.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:{...ty.gantt,tickInterval:void 0,useWidth:void 0},c4:{...ty.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:{...ty.pie,useWidth:984},xyChart:{...ty.xyChart,useWidth:void 0},requirement:{...ty.requirement,useWidth:void 0},gitGraph:{...ty.gitGraph,useMaxWidth:!1},sankey:{...ty.sankey,useMaxWidth:!1}},tC=(t,e="")=>Object.keys(t).reduce((i,r)=>Array.isArray(t[r])?i:"object"==typeof t[r]&&null!==t[r]?[...i,e+r,...tC(t[r],"")]:[...i,e+r],[]),tb=new Set(tC(tx,"")),tv=tx,t_=t=>{if(j.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t)){t.forEach(t=>t_(t));return}for(let e of Object.keys(t)){if(j.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!tb.has(e)||null==t[e]){j.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){j.debug("sanitizing object",e),t_(t[e]);continue}for(let i of["themeCSS","fontFamily","altFontFamily"])e.includes(i)&&(j.debug("sanitizing css option",e),t[e]=tk(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let i=t.themeVariables[e];(null==i?void 0:i.match)&&!i.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}j.debug("After sanitization",t)}},tk=t=>{let e=0,i=0;for(let r of t){if(e{for(let{id:e,detector:i,loader:r}of t)tM(e,i,r)},tM=(t,e,i)=>{tF[t]?j.error(`Detector with key ${t} already exists`):tF[t]={detector:e,loader:i},j.debug(`Detector with key ${t} added${i?" with loader":""}`)},tE=t=>tF[t].loader,tO=(t,e,{depth:i=2,clobber:r=!1}={})=>{let n={depth:i,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(e=>tO(t,e,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(e=>{t.includes(e)||t.push(e)}),t):void 0===t||i<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach(n=>{"object"==typeof e[n]&&(void 0===t[n]||"object"==typeof t[n])?(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=tO(t[n],e[n],{depth:i-1,clobber:r})):(r||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n])}),t)},tI=tO,tD="​",tN={curveBasis:c.default,curveBasisClosed:f.default,curveBasisOpen:d.default,curveBumpX:p.bumpX,curveBumpY:p.bumpY,curveBundle:g.default,curveCardinalClosed:y.default,curveCardinalOpen:x.default,curveCardinal:m.default,curveCatmullRomClosed:b.default,curveCatmullRomOpen:v.default,curveCatmullRom:C.default,curveLinear:_.default,curveLinearClosed:k.default,curveMonotoneX:T.monotoneX,curveMonotoneY:T.monotoneY,curveNatural:S.default,curveStep:w.default,curveStepAfter:w.stepAfter,curveStepBefore:w.stepBefore},tz=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,tq=function(t,e=null){try{let i;let r=RegExp(`[%]{2}(?![{]${tz.source})(?=[}][%]{2}).* `,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),j.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let n=[];for(;null!==(i=tS.exec(t));)if(i.index===tS.lastIndex&&tS.lastIndex++,i&&!e||e&&i[1]&&i[1].match(e)||e&&i[2]&&i[2].match(e)){let t=i[1]?i[1]:i[2],e=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;n.push({type:t,args:e})}if(0===n.length)return{type:t,args:null};return 1===n.length?n[0]:n}catch(i){return j.error(`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}};function tP(t,e){return t?tN[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function tj(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}let tR=(t,e=2)=>{let i=Math.pow(10,e);return Math.round(t*i)/i},t$=(t,e)=>{let i;let r=e;for(let e of t){if(i){let t=tj(e,i);if(t=1)return{x:e.x,y:e.y};if(n>0&&n<1)return{x:tR((1-n)*i.x+n*e.x,5),y:tR((1-n)*i.y+n*e.y,5)}}}i=e}throw Error("Could not find a suitable point for the given distance")};function tW(t){let e="",i="";for(let r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let tY=0,tH=()=>(tY++,"id-"+Math.random().toString(36).substr(2,12)+"-"+tY),tU=t=>(function(t){let e="",i="0123456789abcdef",r=i.length;for(let n=0;n{if(!t||(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},i),ta.lineBreakRegex.test(t)))return t;let r=t.split(" "),n=[],o="";return r.forEach((t,a)=>{let l=tQ(`${t} `,i),s=tQ(o,i);if(l>e){let{hyphenatedStrings:r,remainingWord:a}=tG(t,e,"-",i);n.push(o,...r),o=a}else s+l>=e?(n.push(o),o=t):o=[o,t].filter(Boolean).join(" ");a+1===r.length&&n.push(o)}),n.filter(t=>""!==t).join(i.joinWith)},(t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`),tG=(0,D.default)((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);let n=[...t],o=[],a="";return n.forEach((t,l)=>{let s=`${a}${t}`;if(tQ(s,r)>=e){let t=n.length===l+1,e=`${s}${i}`;o.push(t?s:e),a=""}else a=s}),{hyphenatedStrings:o,remainingWord:a}},(t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function tZ(t,e){return tJ(t,e).height}function tQ(t,e){return tJ(t,e).width}let tJ=(0,D.default)((t,e)=>{let{fontSize:i=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};let[,o]=tK(i),a=t.split(ta.lineBreakRegex),l=[],s=(0,B.default)("body");if(!s.remove)return{width:0,height:0,lineHeight:0};let u=s.append("svg");for(let t of["sans-serif",r]){let e=0,i={width:0,height:0,lineHeight:0};for(let r of a){let a={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""};a.text=r||tD;let l=tV(u,a).style("font-size",o).style("font-weight",n).style("font-family",t),s=(l._groups||l)[0][0].getBBox();if(0===s.width&&0===s.height)throw Error("svg element not in render tree");i.width=Math.round(Math.max(i.width,s.width)),e=Math.round(s.height),i.height+=e,i.lineHeight=Math.round(Math.max(i.lineHeight,e))}l.push(i)}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}`),tK=t=>{if("number"==typeof t)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 t0(t,e){return(0,N.default)({},t,e)}let t1={assignWithDepth:tI,wrapLabel:tX,calculateTextHeight:tZ,calculateTextWidth:tQ,calculateTextDimensions:tJ,cleanAndMerge:t0,detectInit:function(t,e){let i=tq(t,/(?:init\b)|(?:initialize\b)/),r={};if(Array.isArray(i)){let t=i.map(t=>t.args);t_(t),r=tI(r,[...t])}else r=i.args;if(!r)return;let n=tA(t,e),o="config";return void 0!==r[o]&&("flowchart-v2"===n&&(n="flowchart"),r[n]=r[o],delete r[o]),r},detectDirective:tq,isSubstringInArray:function(t,e){for(let[i,r]of e.entries())if(r.match(t))return i;return -1},interpolateToCurve:tP,calcLabelPosition:function(t){let e,i;return 1===t.length?t[0]:(i=0,t.forEach(t=>{i+=tj(t,e),e=t}),t$(t,i/2))},calcCardinalityPosition:(t,e,i)=>{j.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());let r=t$(e,25),n=t?10:5,o=Math.atan2(e[0].y-r.y,e[0].x-r.x),a={x:0,y:0};return a.x=Math.sin(o)*n+(e[0].x+r.x)/2,a.y=-Math.cos(o)*n+(e[0].y+r.y)/2,a},calcTerminalLabelPosition:function(t,e,i){let r=structuredClone(i);j.info("our points",r),"start_left"!==e&&"start_right"!==e&&r.reverse();let n=t$(r,25+t),o=10+.5*t,a=Math.atan2(r[0].y-n.y,r[0].x-n.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(a+Math.PI)*o+(r[0].x+n.x)/2,l.y=-Math.cos(a+Math.PI)*o+(r[0].y+n.y)/2):"end_right"===e?(l.x=Math.sin(a-Math.PI)*o+(r[0].x+n.x)/2-5,l.y=-Math.cos(a-Math.PI)*o+(r[0].y+n.y)/2-5):"end_left"===e?(l.x=Math.sin(a)*o+(r[0].x+n.x)/2-5,l.y=-Math.cos(a)*o+(r[0].y+n.y)/2-5):(l.x=Math.sin(a)*o+(r[0].x+n.x)/2,l.y=-Math.cos(a)*o+(r[0].y+n.y)/2),l},formatUrl:function(t,e){let i=t.trim();if(i)return"loose"!==e.securityLevel?(0,h.sanitizeUrl)(i):i},getStylesFromArray:tW,generateId:tH,random:tU,runFunc:(t,...e)=>{let i=t.split("."),r=i.length-1,n=i[r],o=window;for(let e=0;e{var n;if(!r)return;let o=null==(n=t.node())?void 0:n.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-i).attr("class",e)},parseFontSize:tK,InitIDGenerator:class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}}},t2=function(t){let e=t;return(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})},t5=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},t3="10.9.1",t4=Object.freeze(tv),t6=tI({},t4),t8=[],t9=tI({},t4),t7=(t,e)=>{let i=tI({},t),r={};for(let t of e)eo(t),r=tI(r,t);if(i=tI(i,r),r.theme&&r.theme in tm){let t=tI({},a),e=tI(t.themeVariables||{},r.themeVariables);i.theme&&i.theme in tm&&(i.themeVariables=tm[i.theme].getThemeVariables(e))}return ec(t9=i),t9},et=t=>(t6=tI({},t4),t6=tI(t6,t),t.theme&&tm[t.theme]&&(t6.themeVariables=tm[t.theme].getThemeVariables(t.themeVariables)),t7(t6,t8),t6),ee=t=>{a=tI({},t)},ei=()=>tI({},t6),er=t=>(ec(t),tI(t9,t),en()),en=()=>tI({},t9),eo=t=>{t&&(["secure",...t6.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(j.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=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&eo(t[e])}))},ea=t=>{t_(t),!t.fontFamily||t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily}),t8.push(t),t7(t6,t8)},el=(t=t6)=>{t7(t,t8=[])},es={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},eu={},eh=t=>{eu[t]||(j.warn(es[t]),eu[t]=!0)},ec=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&eh("LAZY_LOAD_DEPRECATED")},ef={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{let{diagram:t}=await o("ke74H");return{id:"c4",diagram:t}}},ed="flowchart",ep=async()=>{let{diagram:t}=await o("f92Jn");return{id:ed,diagram:t}},eg={id:ed,detector:(t,e)=>{var i,r;return(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)!=="dagre-wrapper"&&(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)!=="elk"&&/^\s*graph/.test(t)},loader:ep},em="flowchart-v2",ey=async()=>{let{diagram:t}=await o("89vfZ");return{id:em,diagram:t}},ex={id:em,detector:(t,e)=>{var i,r,n;return(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)!=="dagre-d3"&&(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)!=="elk"&&(!!/^\s*graph/.test(t)&&(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)==="dagre-wrapper"||/^\s*flowchart/.test(t))},loader:ey},eC={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{let{diagram:t}=await o("6luqy");return{id:"er",diagram:t}}},eb="gitGraph",ev=async()=>{let{diagram:t}=await o("4cZYj");return{id:eb,diagram:t}},e_={id:eb,detector:t=>/^\s*gitGraph/.test(t),loader:ev},ek="gantt",eT=async()=>{let{diagram:t}=await o("kIYGO");return{id:ek,diagram:t}},eS={id:ek,detector:t=>/^\s*gantt/.test(t),loader:eT},ew="info",eB=async()=>{let{diagram:t}=await o("7WN6W");return{id:ew,diagram:t}},eF={id:ew,detector:t=>/^\s*info/.test(t),loader:eB},eA={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{let{diagram:t}=await o("gb84Y");return{id:"pie",diagram:t}}},eL="quadrantChart",eM=async()=>{let{diagram:t}=await o("igoBI");return{id:eL,diagram:t}},eE={id:eL,detector:t=>/^\s*quadrantChart/.test(t),loader:eM},eO="xychart",eI=async()=>{let{diagram:t}=await o("9vyZW");return{id:eO,diagram:t}},eD={id:eO,detector:t=>/^\s*xychart-beta/.test(t),loader:eI},eN="requirement",ez=async()=>{let{diagram:t}=await o("5h08f");return{id:eN,diagram:t}},eq={id:eN,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:ez},eP="sequence",ej=async()=>{let{diagram:t}=await o("51O7N");return{id:eP,diagram:t}},eR={id:eP,detector:t=>/^\s*sequenceDiagram/.test(t),loader:ej},e$="class",eW=async()=>{let{diagram:t}=await o("7N3tY");return{id:e$,diagram:t}},eY={id:e$,detector:(t,e)=>{var i;return(null==(i=null==e?void 0:e.class)?void 0:i.defaultRenderer)!=="dagre-wrapper"&&/^\s*classDiagram/.test(t)},loader:eW},eH="classDiagram",eU=async()=>{let{diagram:t}=await o("d1gTF");return{id:eH,diagram:t}},eV={id:eH,detector:(t,e)=>{var i;return!!/^\s*classDiagram/.test(t)&&(null==(i=null==e?void 0:e.class)?void 0:i.defaultRenderer)==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t)},loader:eU},eX="state",eG=async()=>{let{diagram:t}=await o("f3vwN");return{id:eX,diagram:t}},eZ={id:eX,detector:(t,e)=>{var i;return(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer)!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t)},loader:eG},eQ="stateDiagram",eJ=async()=>{let{diagram:t}=await o("4tmwl");return{id:eQ,diagram:t}},eK={id:eQ,detector:(t,e)=>{var i;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer)==="dagre-wrapper")},loader:eJ},e0="journey",e1=async()=>{let{diagram:t}=await o("dsViw");return{id:e0,diagram:t}},e2={id:e0,detector:t=>/^\s*journey/.test(t),loader:e1},e5=function(t,e){for(let i of e)t.attr(i[0],i[1])},e3=function(t,e,i){let r=new Map;return i?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r},e4=function(t,e,i,r){e5(t,e3(e,i,r))},e6=function(t,e,i,r){let n=e.node().getBBox(),o=n.width,a=n.height;j.info(`SVG bounds: ${o}x${a}`,n);let l=0,s=0;j.info(`Graph bounds: ${l}x${s}`,t),l=o+2*i,s=a+2*i,j.info(`Calculated bounds: ${l}x${s}`),e4(e,s,l,r);let u=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",u)},e8={},e9=(t,e)=>{void 0!==e&&(e8[t]=e)},e7=(t,e,i)=>{let r="";return t in e8&&e8[t]?r=e8[t](i):j.warn(`No theme found for ${t}`),` & { font-family: ${i.fontFamily}; font-size: ${i.fontSize}; fill: ${i.textColor} } /* Classes common for multiple diagrams */ & .error-icon { fill: ${i.errorBkgColor}; } & .error-text { fill: ${i.errorTextColor}; stroke: ${i.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: ${i.lineColor}; stroke: ${i.lineColor}; } & .marker.cross { stroke: ${i.lineColor}; } & svg { font-family: ${i.fontFamily}; font-size: ${i.fontSize}; } ${r} ${e} `},it="",ie="",ii="",ir=t=>V(t,en()),io=()=>{it="",ii="",ie=""},ia=t=>{it=ir(t).replace(/^\s+/g,"")},il=()=>it,is=t=>{ii=ir(t).replace(/\n\s+/g,"\n")},iu=()=>ii,ih=t=>{ie=ir(t)},ic=()=>ie,id=Object.freeze(Object.defineProperty({__proto__:null,clear:io,getAccDescription:iu,getAccTitle:il,getDiagramTitle:ic,setAccDescription:is,setAccTitle:ia,setDiagramTitle:ih},Symbol.toStringTag,{value:"Module"})),ip=en,ig=er,im=t4,iy=t=>V(t,ip()),ix=e6,iC=()=>id,ib={},iv=(t,e,i)=>{var r;if(ib[t])throw Error(`Diagram ${t} already registered.`);ib[t]=e,i&&tM(t,i),e9(t,e.styles),null==(r=e.injectUtils)||r.call(e,j,R,ip,iy,ix,iC(),()=>{})},i_=t=>{if(t in ib)return ib[t];throw new ik(t)};class ik extends Error{constructor(t){super(`Diagram ${t} not found.`)}}let iT=t=>{var e;let{securityLevel:i}=ip(),r=(0,B.default)("body");if("sandbox"===i){let i=(null==(e=(0,B.default)(`#i${t}`).node())?void 0:e.contentDocument)??document;r=(0,B.default)(i.body)}return r.select(`#${t}`)},iS={draw:(t,e,i)=>{j.debug("rendering svg for syntax error\n");let r=iT(e),n=r.append("g");r.attr("viewBox","0 0 2412 512"),e4(r,100,512,!0),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 ${i}`)}},iw={db:{},renderer:iS,parser:{parser:{yy:{}},parse:()=>{}}},iB="flowchart-elk",iF=async()=>{let{diagram:t}=await o("gDY1I");return{id:iB,diagram:t}},iA={id:iB,detector:(t,e)=>{var i;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)==="elk")},loader:iF},iL="timeline",iM=async()=>{let{diagram:t}=await o("a9KN7");return{id:iL,diagram:t}},iE={id:iL,detector:t=>/^\s*timeline/.test(t),loader:iM},iO="mindmap",iI=async()=>{let{diagram:t}=await o("7zSbK");return{id:iO,diagram:t}},iD={id:iO,detector:t=>/^\s*mindmap/.test(t),loader:iI},iN="sankey",iz=async()=>{let{diagram:t}=await o("bWluA");return{id:iN,diagram:t}},iq={id:iN,detector:t=>/^\s*sankey-beta/.test(t),loader:iz},iP="block",ij=async()=>{let{diagram:t}=await o("8RFnL");return{id:iP,diagram:t}},iR={id:iP,detector:t=>/^\s*block-beta/.test(t),loader:ij},i$=!1,iW=()=>{i$||(i$=!0,iv("error",iw,t=>"error"===t.toLowerCase().trim()),iv("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw 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("---")),tL(ef,eV,eY,eC,eS,eF,eA,eq,eR,iA,ex,eg,iD,iE,e_,eK,eZ,e2,eE,iq,eD,iR))};class iY{constructor(t,e={}){this.text=t,this.metadata=e,this.type="graph",this.text=t2(t),this.text+="\n";let i=en();try{this.type=tA(t,i)}catch(t){this.type="error",this.detectError=t}let r=i_(this.type);j.debug("Type "+this.type),this.db=r.db,this.renderer=r.renderer,this.parser=r.parser,this.parser.parser.yy=this.db,this.init=r.init,this.parse()}parse(){var t,e,i,r,n;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t);let o=en();null==(i=this.init)||i.call(this,o),this.metadata.title&&(null==(n=(r=this.db).setDiagramTitle)||n.call(r,this.metadata.title)),this.parser.parse(this.text)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}}let iH=async(t,e={})=>{let i=tA(t,en());try{i_(i)}catch(n){let t=tE(i);if(!t)throw new tB(`Diagram ${i} not found.`);let{id:e,diagram:r}=await t();iv(e,r)}return new iY(t,e)},iU=[],iV=()=>{iU.forEach(t=>{t()}),iU=[]},iX=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();var iG={isObject:function(t){return"object"==typeof t&&null!==t},repeat:function(t,e){var i,r="";for(i=0;il&&(e=r-l+(o=" ... ").length),i-r>l&&(i=r+l-(a=" ...").length),{str:o+t.slice(e,i).replace(/\t/g,"→")+a,pos:r-e+o.length}}function iK(t,e){return iG.repeat(" ",e-t.length)+t}iQ.prototype=Object.create(Error.prototype),iQ.prototype.constructor=iQ,iQ.prototype.toString=function(t){return this.name+": "+iZ(this,t)};var i0=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var i=/\r?\n|\r|\0/g,r=[0],n=[],o=-1;a=i.exec(t.buffer);)n.push(a.index),r.push(a.index+a[0].length),t.position<=a.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var a,l,s,u="",h=Math.min(t.line+e.linesAfter,n.length).toString().length,c=e.maxLength-(e.indent+h+3);for(l=1;l<=e.linesBefore&&!(o-l<0);l++)s=iJ(t.buffer,r[o-l],n[o-l],t.position-(r[o]-r[o-l]),c),u=iG.repeat(" ",e.indent)+iK((t.line-l+1).toString(),h)+" | "+s.str+"\n"+u;for(s=iJ(t.buffer,r[o],n[o],t.position,c),u+=iG.repeat(" ",e.indent)+iK((t.line+1).toString(),h)+" | "+s.str+"\n"+iG.repeat("-",e.indent+h+3+s.pos)+"^\n",l=1;l<=e.linesAfter&&!(o+l>=n.length);l++)s=iJ(t.buffer,r[o+l],n[o+l],t.position-(r[o]-r[o+l]),c),u+=iG.repeat(" ",e.indent)+iK((t.line+l+1).toString(),h)+" | "+s.str+"\n";return u.replace(/\n$/,"")},i1=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],i2=["scalar","sequence","mapping"],i5=function(t,e){var i,r;if(Object.keys(e=e||{}).forEach(function(e){if(-1===i1.indexOf(e))throw new iQ('Unknown option "'+e+'" 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(t){return t},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=(i=e.styleAliases||null,r={},null!==i&&Object.keys(i).forEach(function(t){i[t].forEach(function(e){r[String(e)]=t})}),r),-1===i2.indexOf(this.kind))throw new iQ('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function i3(t,e){var i=[];return t[e].forEach(function(t){var e=i.length;i.forEach(function(i,r){i.tag===t.tag&&i.kind===t.kind&&i.multi===t.multi&&(e=r)}),i[e]=t}),i}function i4(t){return this.extend(t)}i4.prototype.extend=function(t){var e=[],i=[];if(t instanceof i5)i.push(t);else if(Array.isArray(t))i=i.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(i=i.concat(t.explicit));else throw new iQ("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.forEach(function(t){if(!(t instanceof i5))throw new iQ("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new iQ("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new iQ("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(t){if(!(t instanceof i5))throw new iQ("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(i4.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(i),r.compiledImplicit=i3(r,"implicit"),r.compiledExplicit=i3(r,"explicit"),r.compiledTypeMap=function(){var t,e,i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(i.multi[t.kind].push(t),i.multi.fallback.push(t)):i[t.kind][t.tag]=i.fallback[t.tag]=t}for(t=0,e=arguments.length;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"]}}),rt=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),re=/^[-+]?[0-9]+e/,ri=new i5("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return!!(null!==t&&rt.test(t)&&"_"!==t[t.length-1])},construct:function(t){var e,i;return(i="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===i?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:i*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||iG.isNegativeZero(t))},represent:function(t,e){var i;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(iG.isNegativeZero(t))return"-0.0";return i=t.toString(10),re.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"}),rr=i6.extend({implicit:[i8,i9,i7,ri]}),rn=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ro=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]))?))?$"),ra=new i5("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==rn.exec(t)||null!==ro.exec(t))},construct:function(t){var e,i,r,n,o,a,l,s,u=0,h=null;if(null===(e=rn.exec(t))&&(e=ro.exec(t)),null===e)throw Error("Date resolve error");if(i=+e[1],r=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(i,r,n));if(o=+e[4],a=+e[5],l=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u}return e[9]&&(h=(60*+e[10]+ +(e[11]||0))*6e4,"-"===e[9]&&(h=-h)),s=new Date(Date.UTC(i,r,n,o,a,l,u)),h&&s.setTime(s.getTime()-h),s},instanceOf:Date,represent:function(t){return t.toISOString()}}),rl=new i5("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),rs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",ru=new i5("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,i,r=0,n=t.length;for(i=0;i64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,i,r=t.replace(/[\r\n=]/g,""),n=r.length,o=0,a=[];for(e=0;e>16&255),a.push(o>>8&255),a.push(255&o)),o=o<<6|rs.indexOf(r.charAt(e));return 0==(i=n%4*6)?(a.push(o>>16&255),a.push(o>>8&255),a.push(255&o)):18===i?(a.push(o>>10&255),a.push(o>>2&255)):12===i&&a.push(o>>4&255),new Uint8Array(a)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,i,r="",n=0,o=t.length;for(e=0;e>18&63]+rs[n>>12&63]+rs[n>>6&63]+rs[63&n]),n=(n<<8)+t[e];return 0==(i=o%3)?r+=rs[n>>18&63]+rs[n>>12&63]+rs[n>>6&63]+rs[63&n]:2===i?r+=rs[n>>10&63]+rs[n>>4&63]+rs[n<<2&63]+rs[64]:1===i&&(r+=rs[n>>2&63]+rs[n<<4&63]+rs[64]+rs[64]),r}}),rh=Object.prototype.hasOwnProperty,rc=Object.prototype.toString,rf=new i5("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,i,r,n,o,a=[];for(e=0,i=t.length;e1&&(t.result+=iG.repeat("\n",e-1))}function rH(t,e){var i,r,n=t.tag,o=t.anchor,a=[],l=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,rD(t,"tab characters must not be used in indentation")),45===r&&rB(t.input.charCodeAt(t.position+1)));){if(l=!0,t.position++,r$(t,!0,-1)&&t.lineIndent<=e){a.push(null),r=t.input.charCodeAt(t.position);continue}if(i=t.line,rU(t,e,3,!1,!0),a.push(t.result),r$(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===i||t.lineIndent>e)&&0!==r)rD(t,"bad indentation of a sequence entry");else if(t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente)&&(y&&(a=t.line,l=t.lineStart,s=t.position),rU(t,e,4,!0,n)&&(y?g=t.result:m=t.result),y||(rj(t,f,d,p,g,m,a,l,s),p=g=m=null),r$(t,!0,-1),u=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==u)rD(t,"bad indentation of a mapping entry");else if(t.lineIndent=0)0===o?rD(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?rD(t,"repeat of an indentation width identifier"):(h=e+o-1,u=!0);else break;if(rw(a)){do a=t.input.charCodeAt(++t.position);while(rw(a))if(35===a)do a=t.input.charCodeAt(++t.position);while(!rS(a)&&0!==a)}for(;0!==a;){for(rR(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!u||t.lineIndenth&&(h=t.lineIndent),rS(a)){c++;continue}if(t.lineIndent0){for(n=a,o=0;n>0;n--)(a=function(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}(l=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+a:rD(t,"expected hexadecimal character");t.result+=(u=o)<=65535?String.fromCharCode(u):String.fromCharCode((u-65536>>10)+55296,(u-65536&1023)+56320),t.position++}else rD(t,"unknown escape sequence");i=r=t.position}else rS(l)?(rq(t,i,r,!0),rY(t,r$(t,!1,e)),i=r=t.position):t.position===t.lineStart&&rW(t)?rD(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}rD(t,"unexpected end of the stream within a double quoted scalar")}(t,f)?m=!0:function(t){var e,i,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!rB(r)&&!rF(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&rD(t,"name of an alias node must contain at least one character"),i=t.input.slice(e,t.position),rx.call(t.anchorMap,i)||rD(t,'unidentified alias "'+i+'"'),t.result=t.anchorMap[i],r$(t,!0,-1),!0}(t)?(m=!0,(null!==t.tag||null!==t.anchor)&&rD(t,"alias node should not have any properties")):function(t,e,i){var r,n,o,a,l,s,u,h,c=t.kind,f=t.result;if(rB(h=t.input.charCodeAt(t.position))||rF(h)||35===h||38===h||42===h||33===h||124===h||62===h||39===h||34===h||37===h||64===h||96===h||(63===h||45===h)&&(rB(r=t.input.charCodeAt(t.position+1))||i&&rF(r)))return!1;for(t.kind="scalar",t.result="",n=o=t.position,a=!1;0!==h;){if(58===h){if(rB(r=t.input.charCodeAt(t.position+1))||i&&rF(r))break}else if(35===h){if(rB(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&rW(t)||i&&rF(h))break;else if(rS(h)){if(l=t.line,s=t.lineStart,u=t.lineIndent,r$(t,!1,-1),t.lineIndent>=e){a=!0,h=t.input.charCodeAt(t.position);continue}t.position=o,t.line=l,t.lineStart=s,t.lineIndent=u;break}a&&(rq(t,n,o,!1),rY(t,t.line-l),n=o=t.position,a=!1),rw(h)||(o=t.position+1),h=t.input.charCodeAt(++t.position)}return rq(t,n,o,!1),!!t.result||(t.kind=c,t.result=f,!1)}(t,f,1===i)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(m=l&&rH(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&rD(t,'unacceptable node kind for ! tag; it should be "scalar", not "'+t.kind+'"'),s=0,u=t.implicitTypes.length;s"),null!==t.result&&c.kind!==t.kind&&rD(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+c.kind+'", not "'+t.kind+'"'),c.resolve(t.result,t.tag)?(t.result=c.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):rD(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}var rV=function(t,e){var i=function(t,e){t=String(t),e=e||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var i=new rO(t,e),r=t.indexOf("\0");for(-1!==r&&(i.position=r,rD(i,"null byte is not allowed in input")),i.input+="\0";32===i.input.charCodeAt(i.position);)i.lineIndent+=1,i.position+=1;for(;i.position0)&&37===n);){for(a=!0,n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!rB(n);)n=t.input.charCodeAt(++t.position);for(i=t.input.slice(e,t.position),r=[],i.length<1&&rD(t,"directive name must not be less than one character in length");0!==n;){for(;rw(n);)n=t.input.charCodeAt(++t.position);if(35===n){do n=t.input.charCodeAt(++t.position);while(0!==n&&!rS(n))break}if(rS(n))break;for(e=t.position;0!==n&&!rB(n);)n=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==n&&rR(t),rx.call(rz,i)?rz[i](t,i,r):rN(t,'unknown document directive "'+i+'"')}if(r$(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,r$(t,!0,-1)):a&&rD(t,"directives end mark is expected"),rU(t,t.lineIndent-1,4,!1,!0),r$(t,!0,-1),t.checkLineBreaks&&rb.test(t.input.slice(o,t.position))&&rN(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&rW(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,r$(t,!0,-1));return}t.positiont.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,i)=>"<"+e+i.replace(/="([^"]*)"/g,"='$1'")+">"),rG=t=>{let{text:e,metadata:i}=function(t){let e=t.match(tT);if(!e)return{text:t,metadata:{}};let i=rV(e[1],{schema:rr})??{};i="object"!=typeof i||Array.isArray(i)?{}:i;let r={};return i.displayMode&&(r.displayMode=i.displayMode.toString()),i.title&&(r.title=i.title.toString()),i.config&&(r.config=i.config),{text:t.slice(e[0].length),metadata:r}}(t),{displayMode:r,title:n,config:o={}}=i;return r&&(o.gantt||(o.gantt={}),o.gantt.displayMode=r),{title:n,config:o,text:e}},rZ=t=>{let e=t1.detectInit(t)??{},i=t1.detectDirective(t,"wrap");return Array.isArray(i)?e.wrap=i.some(({type:t})=>{}):(null==i?void 0:i.type)==="wrap"&&(e.wrap=!0),{text:t.replace(tS,""),directive:e}};function rQ(t){let e=rG(rX(t)),i=rZ(e.text),r=t0(e.config,i.directive);return{code:t=iX(i.text),title:e.title,config:r}}let rJ=["foreignobject"],rK=["dominant-baseline"];function r0(t){let e=rQ(t);return el(),ea(e.config??{}),e}let r1=(t,e,i=[])=>` .${t} ${e} { ${i.join(" !important; ")} !important; }`,r2=(t,e={})=>{var i;let r="";if(void 0!==t.themeCSS&&(r+=` ${t.themeCSS}`),void 0!==t.fontFamily&&(r+=` :root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=` :root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,q.default)(e)){let n=t.htmlLabels||(null==(i=t.flowchart)?void 0:i.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(let t in e){let i=e[t];(0,q.default)(i.styles)||n.forEach(t=>{r+=r1(i.id,t,i.styles)}),(0,q.default)(i.textStyles)||(r+=r1(i.id,"tspan",i.textStyles))}}return r},r5=(t,e,i,r)=>{let n=e7(e,r2(t,i),t.themeVariables);return(0,z.serialize)((0,z.compile)(`${r}{${n}}`),z.stringify)},r3=(t="",e,i)=>{let r=t;return i||e||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=(r=t5(r)).replace(/
/g,"
")},r4=(t="",e)=>{var i,r;let n=(null==(r=null==(i=null==e?void 0:e.viewBox)?void 0:i.baseVal)?void 0:r.height)?e.viewBox.baseVal.height+"px":"100%",o=btoa(''+t+"");return``},r6=(t,e,i,r,n)=>{let o=t.append("div");o.attr("id",i),r&&o.attr("style",r);let a=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return n&&a.attr("xmlns:xlink",n),a.append("g"),t};function r8(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}let r9=(t,e,i,r)=>{var n,o,a;null==(n=t.getElementById(e))||n.remove(),null==(o=t.getElementById(i))||o.remove(),null==(a=t.getElementById(r))||a.remove()},r7=(t,e={})=>{let{code:i}=rQ(t);return iH(i,e)},nt=Object.freeze({render:async function(e,i,r){var n,o,a,l,s,u,h,c,f,d;let p,g;iW();let m=r0(i);i=m.code;let y=en();j.debug(y),i.length>((null==y?void 0:y.maxTextSize)??5e4)&&(i="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let x="#"+e,C="i"+e,b="d"+e,v="#"+b,_=(0,B.default)("body"),k="sandbox"===y.securityLevel,T="loose"===y.securityLevel,S=y.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),k){let t=r8((0,B.default)(r),C);(_=(0,B.default)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else _=(0,B.default)(r);r6(_,e,b,`font-family: ${S}`,"http://www.w3.org/1999/xlink")}else{if(r9(document,e,b,C),k){let t=r8((0,B.default)("body"),C);(_=(0,B.default)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else _=(0,B.default)("body");r6(_,e,b)}try{p=await r7(i,{title:m.title})}catch(t){p=new iY("error"),g=t}let w=_.select(v).node(),A=p.type,L=w.firstChild,M=L.firstChild,E=r5(y,A,null==(o=(n=p.renderer).getClasses)?void 0:o.call(n,i,p),x),O=document.createElement("style");O.innerHTML=E,L.insertBefore(O,M);try{await p.renderer.draw(i,e,t3,p)}catch(t){throw iS.draw(i,e,t3),t}let I=_.select(`${v} svg`);h=A,c=I,f=null==(l=(a=p.db).getAccTitle)?void 0:l.call(a),d=null==(u=(s=p.db).getAccDescription)?void 0:u.call(s),c.attr("role","graphics-document document"),""!==h&&c.attr("aria-roledescription",h),function(t,e,i,r){if(void 0!==t.insert){if(i){let e=`chart-desc-${r}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(i)}if(e){let i=`chart-title-${r}`;t.attr("aria-labelledby",i),t.insert("title",":first-child").attr("id",i).text(e)}}}(c,f,d,c.attr("id")),_.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let D=_.select(v).node().innerHTML;if(j.debug("config.arrowMarkerAbsolute",y.arrowMarkerAbsolute),D=r3(D,k,Z(y.arrowMarkerAbsolute)),k?D=r4(D,_.select(v+" svg").node()):T||(D=t(F).sanitize(D,{ADD_TAGS:rJ,ADD_ATTR:rK})),iV(),g)throw g;let N=k?"#"+C:v,z=(0,B.default)(N).node();return z&&"remove"in z&&z.remove(),{svg:D,bindFunctions:p.db.bindFunctions}},parse:async function(t,e){iW(),t=r0(t).code;try{await r7(t)}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}return!0},getDiagramFromText:r7,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),ee(t),(null==t?void 0:t.theme)&&t.theme in tm?t.themeVariables=tm[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=tm.default.getThemeVariables(t.themeVariables)),R(("object"==typeof t?et(t):ei()).logLevel),iW()},getConfig:en,setConfig:er,getSiteConfig:ei,updateSiteConfig:t=>(t6=tI(t6,t),t7(t6,t8),t6),reset:()=>{el()},globalReset:()=>{el(t4)},defaultConfig:t4});R(en().logLevel),el(en());let ne=async()=>{j.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(tF).map(async([t,{detector:e,loader:i}])=>{if(i)try{i_(t)}catch(r){try{let{diagram:t,id:r}=await i();iv(r,t,e)}catch(e){throw j.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete tF[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(j.error(`Failed to load ${t.length} external diagrams`),t))j.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},ni=(t,e,i)=>{(j.warn(t),"str"in t)?(i&&i(t.str,t.hash),e.push({...t,message:t.str,error:t})):(i&&i(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},nr=async function(t={querySelector:".mermaid"}){try{await nn(t)}catch(e){if("str"in e&&j.error(e.str),np.parseError&&np.parseError(e),!t.suppressErrors)throw j.error("Use the suppressErrors option to suppress these errors"),e}},nn=async function({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){let r,n;let o=nt.getConfig();if(j.debug(`${t?"":"No "}Callback function found`),i)r=i;else if(e)r=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");j.debug(`Found ${r.length} diagrams`),(null==o?void 0:o.startOnLoad)!==void 0&&(j.debug("Start On Load: "+(null==o?void 0:o.startOnLoad)),nt.updateSiteConfig({startOnLoad:null==o?void 0:o.startOnLoad}));let a=new t1.InitIDGenerator(o.deterministicIds,o.deterministicIDSeed),l=[];for(let e of Array.from(r)){/*! Check if previously processed */if(j.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let i=`mermaid-${a.next()}`;n=e.innerHTML,n=(0,s.dedent)(t1.entityDecode(n)).trim().replace(//gi,"
");let r=t1.detectInit(n);r&&j.debug("Detected early reinit: ",r);try{let{svg:r,bindFunctions:o}=await nd(i,n,e);e.innerHTML=r,t&&await t(i),o&&o(e)}catch(t){ni(t,l,np.parseError)}}if(l.length>0)throw l[0]},no=function(t){nt.initialize(t)},na=async function(t,e,i){j.warn("mermaid.init is deprecated. Please use run instead."),t&&no(t);let r={postRenderCallback:i,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await nr(r)},nl=async(t,{lazyLoad:e=!0}={})=>{tL(...t),!1===e&&await ne()},ns=function(){if(np.startOnLoad){let{startOnLoad:t}=nt.getConfig();t&&np.run().catch(t=>j.error("Mermaid failed to initialize",t))}};"undefined"!=typeof document&&/*! * Wait for document loaded before starting the execution */window.addEventListener("load",ns,!1);let nu=[],nh=!1,nc=async()=>{if(!nh){for(nh=!0;nu.length>0;){let t=nu.shift();if(t)try{await t()}catch(t){j.error("Error executing queue",t)}}nh=!1}},nf=async(t,e)=>new Promise((i,r)=>{nu.push(()=>new Promise((n,o)=>{nt.parse(t,e).then(t=>{n(t),i(t)},t=>{var e;j.error("Error parsing",t),null==(e=np.parseError)||e.call(np,t),o(t),r(t)})})),nc().catch(r)}),nd=(t,e,i)=>new Promise((r,n)=>{nu.push(()=>new Promise((o,a)=>{nt.render(t,e,i).then(t=>{o(t),r(t)},t=>{var e;j.error("Error parsing",t),null==(e=np.parseError)||e.call(np,t),a(t),n(t)})})),nc().catch(n)}),np={startOnLoad:!0,mermaidAPI:nt,parse:nf,render:nd,init:na,run:nr,registerExternalDiagrams:nl,initialize:no,parseError:void 0,contentLoaded:ns,setParseErrorHandler:function(t){np.parseError=t},detectType:tA}}),a("eJNXH",function(t,i){e(t.exports,"dedent",()=>r);function r(t){for(var e=[],i=1;i=e?t:""+Array(e+1-r.length).join(i)+t},d="en",p={};p[d]={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(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||"th")+"]"}};var g="$isDayjsObject",m=function(t){return t instanceof b||!(!t||!t[g])},y=function t(e,i,r){var n;if(!e)return d;if("string"==typeof e){var o=e.toLowerCase();p[o]&&(n=o),i&&(p[o]=i,n=o);var a=e.split("-");if(!n&&a.length>1)return t(a[0])}else{var l=e.name;p[l]=e,n=l}return!r&&n&&(d=n),n||!r&&d},x=function(t,e){if(m(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new b(i)},C={s:f,z:function(t){var e=-t.utcOffset(),i=Math.abs(e);return(e<=0?"+":"-")+f(Math.floor(i/60),2,"0")+":"+f(i%60,2,"0")},m:function t(e,i){if(e.date()-1)return s;var u=s.match(a);if(!u)return s;var h=u[0];return i.test(h)?t.exports.BLANK_URL:s}}),a("2YFJl",function(t,i){e(t.exports,"axisBottom",()=>o("bgSbI").axisBottom),e(t.exports,"axisTop",()=>o("bgSbI").axisTop),e(t.exports,"svg",()=>o("lAcF9").svg),e(t.exports,"timeDay",()=>o("72rFk").timeDay),e(t.exports,"timeFriday",()=>o("aW15j").timeFriday),e(t.exports,"timeMonday",()=>o("aW15j").timeMonday),e(t.exports,"timeSaturday",()=>o("aW15j").timeSaturday),e(t.exports,"timeSunday",()=>o("aW15j").timeSunday),e(t.exports,"timeThursday",()=>o("aW15j").timeThursday),e(t.exports,"timeTuesday",()=>o("aW15j").timeTuesday),e(t.exports,"timeWednesday",()=>o("aW15j").timeWednesday),e(t.exports,"timeHour",()=>o("cKbL9").timeHour),e(t.exports,"timeMinute",()=>o("3wXBo").timeMinute),e(t.exports,"timeMonth",()=>o("gyimR").timeMonth),e(t.exports,"timeFormat",()=>o("UutV9").timeFormat),e(t.exports,"zoom",()=>o("cwuwP").default),e(t.exports,"max",()=>o("7MbYq").default),e(t.exports,"min",()=>o("fzQB8").default),e(t.exports,"interpolateHcl",()=>o("bvJ3W").default),e(t.exports,"scaleBand",()=>o("gEnYl").default),e(t.exports,"scaleLinear",()=>o("iOlPi").default),e(t.exports,"scaleOrdinal",()=>o("4PqgM").default),e(t.exports,"scaleTime",()=>o("48U7R").default),e(t.exports,"schemeTableau10",()=>o("6RbN1").default),e(t.exports,"select",()=>o("hOxpW").default),e(t.exports,"selectAll",()=>o("jJCd9").default),e(t.exports,"arc",()=>o("ffiwJ").default),e(t.exports,"curveBasis",()=>o("6QL1t").default),e(t.exports,"curveBasisClosed",()=>o("2515N").default),e(t.exports,"curveBasisOpen",()=>o("e1bEB").default),e(t.exports,"curveBumpX",()=>o("gpIrV").bumpX),e(t.exports,"curveBumpY",()=>o("gpIrV").bumpY),e(t.exports,"curveBundle",()=>o("l8Mye").default),e(t.exports,"curveCardinal",()=>o("hga9n").default),e(t.exports,"curveCardinalClosed",()=>o("9XrSP").default),e(t.exports,"curveCardinalOpen",()=>o("dUIyz").default),e(t.exports,"curveCatmullRom",()=>o("6FEsA").default),e(t.exports,"curveCatmullRomClosed",()=>o("loyNQ").default),e(t.exports,"curveCatmullRomOpen",()=>o("4tc8L").default),e(t.exports,"curveLinear",()=>o("gEcf1").default),e(t.exports,"curveLinearClosed",()=>o("4CT3t").default),e(t.exports,"curveMonotoneX",()=>o("hp3ls").monotoneX),e(t.exports,"curveMonotoneY",()=>o("hp3ls").monotoneY),e(t.exports,"curveNatural",()=>o("kjPWc").default),e(t.exports,"curveStep",()=>o("1zRZO").default),e(t.exports,"curveStepAfter",()=>o("1zRZO").stepAfter),e(t.exports,"curveStepBefore",()=>o("1zRZO").stepBefore),e(t.exports,"line",()=>o("5ti2H").default),e(t.exports,"pie",()=>o("fo0l5").default),e(t.exports,"timeMillisecond",()=>o("asZKP").millisecond),e(t.exports,"timeSecond",()=>o("6gR0W").second),o("7MbYq"),o("fzQB8"),o("bgSbI"),o("im8sd"),o("lAcF9"),o("bvJ3W"),o("gEnYl"),o("iOlPi"),o("4PqgM"),o("48U7R"),o("6RbN1"),o("hOxpW"),o("jJCd9"),o("ffiwJ"),o("6QL1t"),o("2515N"),o("e1bEB"),o("gpIrV"),o("l8Mye"),o("hga9n"),o("9XrSP"),o("dUIyz"),o("6FEsA"),o("loyNQ"),o("4tc8L"),o("gEcf1"),o("4CT3t"),o("hp3ls"),o("kjPWc"),o("1zRZO"),o("5ti2H"),o("fo0l5"),o("72rFk"),o("aW15j"),o("cKbL9"),o("asZKP"),o("3wXBo"),o("gyimR"),o("6gR0W"),o("UutV9"),o("dxJVY"),o("fOARq")}),a("7MbYq",function(t,i){e(t.exports,"default",()=>r);function r(t,e){let i;if(void 0===e)for(let e of t)null!=e&&(i=e)&&(i=e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(i=n)&&(i=n)}return i}}),a("fzQB8",function(t,i){e(t.exports,"default",()=>r);function r(t,e){let i;if(void 0===e)for(let e of t)null!=e&&(i>e||void 0===i&&e>=e)&&(i=e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(i>n||void 0===i&&n>=n)&&(i=n)}return i}}),a("bgSbI",function(t,i){e(t.exports,"axisTop",()=>u),e(t.exports,"axisBottom",()=>h);var r=o("7v1sx");function n(t){return"translate("+t+",0)"}function a(t){return"translate(0,"+t+")"}function l(){return!this.__axis}function s(t,e){var i=[],o=null,s=null,u=6,h=6,c=3,f="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,d=1===t||4===t?-1:1,p=4===t||2===t?"x":"y",g=1===t||3===t?n:a;function m(n){var a=null==o?e.ticks?e.ticks.apply(e,i):e.domain():o,m=null==s?e.tickFormat?e.tickFormat.apply(e,i):r.default:s,y=Math.max(u,0)+c,x=e.range(),C=+x[0]+f,b=+x[x.length-1]+f,v=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),i=>+t(i)+e}:function(t){return e=>+t(e)})(e.copy(),f),_=n.selection?n.selection():n,k=_.selectAll(".domain").data([null]),T=_.selectAll(".tick").data(a,e).order(),S=T.exit(),w=T.enter().append("g").attr("class","tick"),B=T.select("line"),F=T.select("text");k=k.merge(k.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(w),B=B.merge(w.append("line").attr("stroke","currentColor").attr(p+"2",d*u)),F=F.merge(w.append("text").attr("fill","currentColor").attr(p,d*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),n!==_&&(k=k.transition(n),T=T.transition(n),B=B.transition(n),F=F.transition(n),S=S.transition(n).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=v(t))?g(t+f):this.getAttribute("transform")}),w.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:v(t))+f)})),S.remove(),k.attr("d",4===t||2===t?h?"M"+d*h+","+C+"H"+f+"V"+b+"H"+d*h:"M"+f+","+C+"V"+b:h?"M"+C+","+d*h+"V"+f+"H"+b+"V"+d*h:"M"+C+","+f+"H"+b),T.attr("opacity",1).attr("transform",function(t){return g(v(t)+f)}),B.attr(p+"2",d*u),F.attr(p,d*y).text(m),_.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),_.each(function(){this.__axis=v})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return i=Array.from(arguments),m},m.tickArguments=function(t){return arguments.length?(i=null==t?[]:Array.from(t),m):i.slice()},m.tickValues=function(t){return arguments.length?(o=null==t?null:Array.from(t),m):o&&o.slice()},m.tickFormat=function(t){return arguments.length?(s=t,m):s},m.tickSize=function(t){return arguments.length?(u=h=+t,m):u},m.tickSizeInner=function(t){return arguments.length?(u=+t,m):u},m.tickSizeOuter=function(t){return arguments.length?(h=+t,m):h},m.tickPadding=function(t){return arguments.length?(c=+t,m):c},m.offset=function(t){return arguments.length?(f=+t,m):f},m}function u(t){return s(1,t)}function h(t){return s(3,t)}}),a("7v1sx",function(t,i){e(t.exports,"default",()=>r);function r(t){return t}}),a("im8sd",function(t,e){o("7Wzrn")}),a("7Wzrn",function(t,e){o("aFEgl"),o("cohyw"),o("bi4KR"),o("2oxcP"),o("hOxpW"),o("dxJVY"),o("f8M3T"),o("6QApF"),o("j3W5K"),o("6fYbl");let{abs:i,max:r,min:n}=Math;function a(t){return{type:t}}["w","e"].map(a),["n","s"].map(a),["n","w","e","s","nw","ne","sw","se"].map(a)}),a("aFEgl",function(t,i){e(t.exports,"default",()=>l);var r={value:()=>{}};function n(){for(var t,e=0,i=arguments.length,r={};e=0&&(e=t.slice(i+1),t=t.slice(0,i)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),o=-1,l=n.length;if(arguments.length<2){for(;++o0)for(var i,r,n=Array(i),o=0;oa),e(t.exports,"yesdrag",()=>l);var r=o("hOxpW"),n=o("cttdm");function a(t){var e=t.document.documentElement,i=(0,r.default)(t).on("dragstart.drag",n.default,n.nonpassivecapture);"onselectstart"in e?i.on("selectstart.drag",n.default,n.nonpassivecapture):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function l(t,e){var i=t.document.documentElement,o=(0,r.default)(t).on("dragstart.drag",null);e&&(o.on("click.drag",n.default,n.nonpassivecapture),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in i?o.on("selectstart.drag",null):(i.style.MozUserSelect=i.__noselect,delete i.__noselect)}}),a("hOxpW",function(t,i){e(t.exports,"default",()=>n);var r=o("3us5W");function n(t){return"string"==typeof t?new r.Selection([[document.querySelector(t)]],[document.documentElement]):new r.Selection([[t]],r.root)}}),a("3us5W",function(t,i){e(t.exports,"root",()=>q),e(t.exports,"Selection",()=>P),e(t.exports,"default",()=>R);var r=o("4dcxD"),n=o("e48mM"),a=o("4i911"),l=o("cP92U"),s=o("kePFY"),u=o("hOWaJ"),h=o("5ndv3"),c=o("94na1"),f=o("b4sDG"),d=o("8yR9d"),p=o("awsX1"),g=o("lxGnS"),m=o("lv7c7"),y=o("gJ79D"),x=o("hryK9"),C=o("c7pKF"),b=o("5ouhg"),v=o("6neWh"),_=o("bZhEJ"),k=o("9a8q4"),T=o("3I2BK"),S=o("8G4xj"),w=o("34eax"),B=o("iju2Z"),F=o("h3vbL"),A=o("62NTp"),L=o("03tNP"),M=o("5WMZy"),E=o("ikClj"),O=o("4odnA"),I=o("hSH4f"),D=o("iZ2is"),N=o("3pIv8"),z=o("d4eXd"),q=[null];function P(t,e){this._groups=t,this._parents=e}function j(){return new P([[document.documentElement]],q)}P.prototype=j.prototype={constructor:P,select:r.default,selectAll:n.default,selectChild:a.default,selectChildren:l.default,filter:s.default,data:u.default,enter:h.default,exit:c.default,join:f.default,merge:d.default,selection:function(){return this},order:p.default,sort:g.default,call:m.default,nodes:y.default,node:x.default,size:C.default,empty:b.default,each:v.default,attr:_.default,style:k.default,property:T.default,classed:S.default,text:w.default,html:B.default,raise:F.default,lower:A.default,append:L.default,insert:M.default,remove:E.default,clone:O.default,datum:I.default,on:D.default,dispatch:N.default,[Symbol.iterator]:z.default};var R=j}),a("4dcxD",function(t,i){e(t.exports,"default",()=>a);var r=o("3us5W"),n=o("9rOh8");function a(t){"function"!=typeof t&&(t=(0,n.default)(t));for(var e=this._groups,i=e.length,o=Array(i),a=0;an)}),a("e48mM",function(t,i){e(t.exports,"default",()=>l);var r=o("3us5W"),n=o("hpRkj"),a=o("aMqra");function l(t){if("function"==typeof t){var e;e=t,t=function(){return(0,n.default)(e.apply(this,arguments))}}else t=(0,a.default)(t);for(var i=this._groups,o=i.length,l=[],s=[],u=0;ur);function r(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}}),a("aMqra",function(t,i){function r(){return[]}function n(t){return null==t?r:function(){return this.querySelectorAll(t)}}e(t.exports,"default",()=>n)}),a("4i911",function(t,i){e(t.exports,"default",()=>l);var r=o("8doa3"),n=Array.prototype.find;function a(){return this.firstElementChild}function l(t){var e;return this.select(null==t?a:(e="function"==typeof t?t:(0,r.childMatcher)(t),function(){return n.call(this.children,e)}))}}),a("8doa3",function(t,i){function r(t){return function(){return this.matches(t)}}function n(t){return function(e){return e.matches(t)}}e(t.exports,"default",()=>r),e(t.exports,"childMatcher",()=>n)}),a("cP92U",function(t,i){e(t.exports,"default",()=>l);var r=o("8doa3"),n=Array.prototype.filter;function a(){return Array.from(this.children)}function l(t){var e;return this.selectAll(null==t?a:(e="function"==typeof t?t:(0,r.childMatcher)(t),function(){return n.call(this.children,e)}))}}),a("kePFY",function(t,i){e(t.exports,"default",()=>a);var r=o("3us5W"),n=o("8doa3");function a(t){"function"!=typeof t&&(t=(0,n.default)(t));for(var e=this._groups,i=e.length,o=Array(i),a=0;ah);var r=o("3us5W"),n=o("5ndv3"),a=o("iCdMC");function l(t,e,i,r,o,a){for(var l,s=0,u=e.length,h=a.length;s=w&&(w=S+1);!(T=v[w])&&++wa),e(t.exports,"EnterNode",()=>l);var r=o("jUPKb"),n=o("3us5W");function a(){return new n.Selection(this._enter||this._groups.map(r.default),this._parents)}function l(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}l.prototype={constructor:l,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)}}}),a("jUPKb",function(t,i){e(t.exports,"default",()=>r);function r(t){return Array(t.length)}}),a("iCdMC",function(t,i){e(t.exports,"default",()=>r);function r(t){return function(){return t}}}),a("94na1",function(t,i){e(t.exports,"default",()=>a);var r=o("jUPKb"),n=o("3us5W");function a(){return new n.Selection(this._exit||this._groups.map(r.default),this._parents)}}),a("b4sDG",function(t,i){e(t.exports,"default",()=>r);function r(t,e,i){var r=this.enter(),n=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(n=e(n))&&(n=n.selection()),null==i?o.remove():i(o),r&&n?r.merge(n).order():n}}),a("8yR9d",function(t,i){e(t.exports,"default",()=>n);var r=o("3us5W");function n(t){for(var e=t.selection?t.selection():t,i=this._groups,n=e._groups,o=i.length,a=n.length,l=Math.min(o,a),s=Array(o),u=0;ur);function r(){for(var t=this._groups,e=-1,i=t.length;++e=0;)(r=n[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this}}),a("lxGnS",function(t,i){e(t.exports,"default",()=>n);var r=o("3us5W");function n(t){function e(e,i){return e&&i?t(e.__data__,i.__data__):!e-!i}t||(t=a);for(var i=this._groups,n=i.length,o=Array(n),l=0;le?1:t>=e?0:NaN}}),a("lv7c7",function(t,i){e(t.exports,"default",()=>r);function r(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}}),a("gJ79D",function(t,i){e(t.exports,"default",()=>r);function r(){return Array.from(this)}}),a("hryK9",function(t,i){e(t.exports,"default",()=>r);function r(){for(var t=this._groups,e=0,i=t.length;er);function r(){let t=0;for(let e of this)++t;return t}}),a("5ouhg",function(t,i){e(t.exports,"default",()=>r);function r(){return!this.node()}}),a("6neWh",function(t,i){e(t.exports,"default",()=>r);function r(t){for(var e=this._groups,i=0,r=e.length;in);var r=o("fEEcv");function n(t,e){var i=(0,r.default)(t);if(arguments.length<2){var n=this.node();return i.local?n.getAttributeNS(i.space,i.local):n.getAttribute(i)}return this.each((null==e?i.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?i.local?function(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}:function(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttribute(t):this.setAttribute(t,i)}}:i.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(i,e))}}),a("fEEcv",function(t,i){e(t.exports,"default",()=>n);var r=o("7cQXC");function n(t){var e=t+="",i=e.indexOf(":");return i>=0&&"xmlns"!==(e=t.slice(0,i))&&(t=t.slice(i+1)),(0,r.default).hasOwnProperty(e)?{space:r.default[e],local:t}:t}}),a("7cQXC",function(t,i){e(t.exports,"xhtml",()=>r),e(t.exports,"default",()=>n);var r="http://www.w3.org/1999/xhtml",n={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}}),a("9a8q4",function(t,i){e(t.exports,"default",()=>n),e(t.exports,"styleValue",()=>a);var r=o("bQhLV");function n(t,e,i){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,i){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,i)}}:function(t,e,i){return function(){this.style.setProperty(t,e,i)}})(t,e,null==i?"":i)):a(this.node(),t)}function a(t,e){return t.style.getPropertyValue(e)||(0,r.default)(t).getComputedStyle(t,null).getPropertyValue(e)}}),a("bQhLV",function(t,i){e(t.exports,"default",()=>r);function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}}),a("3I2BK",function(t,i){e(t.exports,"default",()=>r);function r(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var i=e.apply(this,arguments);null==i?delete this[t]:this[t]=i}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]}}),a("8G4xj",function(t,i){function r(t){return t.trim().split(/^|\s+/)}function n(t){return t.classList||new o(t)}function o(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function a(t,e){for(var i=n(t),r=-1,o=e.length;++rs),o.prototype={add:function(t){0>this._names.indexOf(t)&&(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}}}),a("34eax",function(t,i){function r(){this.textContent=""}function n(t){return arguments.length?this.each(null==t?r:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent}e(t.exports,"default",()=>n)}),a("iju2Z",function(t,i){function r(){this.innerHTML=""}function n(t){return arguments.length?this.each(null==t?r:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML}e(t.exports,"default",()=>n)}),a("h3vbL",function(t,i){function r(){this.nextSibling&&this.parentNode.appendChild(this)}function n(){return this.each(r)}e(t.exports,"default",()=>n)}),a("62NTp",function(t,i){function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function n(){return this.each(r)}e(t.exports,"default",()=>n)}),a("03tNP",function(t,i){e(t.exports,"default",()=>n);var r=o("bkOxa");function n(t){var e="function"==typeof t?t:(0,r.default)(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}}),a("bkOxa",function(t,i){e(t.exports,"default",()=>a);var r=o("fEEcv"),n=o("7cQXC");function a(t){var e=(0,r.default)(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,i=this.namespaceURI;return i===n.xhtml&&e.documentElement.namespaceURI===n.xhtml?e.createElement(t):e.createElementNS(i,t)}})(e)}}),a("5WMZy",function(t,i){e(t.exports,"default",()=>l);var r=o("bkOxa"),n=o("9rOh8");function a(){return null}function l(t,e){var i="function"==typeof t?t:(0,r.default)(t),o=null==e?a:"function"==typeof e?e:(0,n.default)(e);return this.select(function(){return this.insertBefore(i.apply(this,arguments),o.apply(this,arguments)||null)})}}),a("ikClj",function(t,i){function r(){var t=this.parentNode;t&&t.removeChild(this)}function n(){return this.each(r)}e(t.exports,"default",()=>n)}),a("4odnA",function(t,i){function r(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function n(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function o(t){return this.select(t?n:r)}e(t.exports,"default",()=>o)}),a("hSH4f",function(t,i){e(t.exports,"default",()=>r);function r(t){return arguments.length?this.property("__data__",t):this.node().__data__}}),a("iZ2is",function(t,i){function r(t){return function(){var e=this.__on;if(e){for(var i,r=0,n=-1,o=e.length;r=0&&(e=t.slice(i+1),t=t.slice(0,i)),{type:t,name:e}}),s=l.length;if(arguments.length<2){var u=this.node().__on;if(u){for(var h,c=0,f=u.length;co)}),a("3pIv8",function(t,i){e(t.exports,"default",()=>a);var r=o("bQhLV");function n(t,e,i){var n=(0,r.default)(t),o=n.CustomEvent;"function"==typeof o?o=new o(e,i):(o=n.document.createEvent("Event"),i?(o.initEvent(e,i.bubbles,i.cancelable),o.detail=i.detail):o.initEvent(e,!1,!1)),t.dispatchEvent(o)}function a(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return n(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return n(this,t,e)}})(t,e))}}),a("d4eXd",function(t,i){e(t.exports,"default",()=>r);function*r(){for(var t=this._groups,e=0,i=t.length;er),e(t.exports,"default",()=>n);let r={capture:!0,passive:!1};function n(t){t.preventDefault(),t.stopImmediatePropagation()}}),a("bi4KR",function(t,i){e(t.exports,"default",()=>d);var r=o("bYoiY"),n=o("jUrtA"),a=o("34d8K"),l=o("xcrgO"),s=o("gnkFs"),u=o("hNADL"),h=o("aPLyh"),c=o("amdqR"),f=o("aE1fz");function d(t,e){var i,o=typeof e;return null==e||"boolean"===o?(0,c.default)(e):("number"===o?(0,s.default):"string"===o?(i=(0,r.default)(e))?(e=i,n.default):(0,h.default):e instanceof(0,r.default)?(0,n.default):e instanceof Date?(0,l.default):(0,f.isNumberArray)(e)?(0,f.default):Array.isArray(e)?(0,a.genericArray):"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?(0,u.default):(0,s.default))(t,e)}}),a("bYoiY",function(t,i){e(t.exports,"Color",()=>n),e(t.exports,"darker",()=>a),e(t.exports,"brighter",()=>l),e(t.exports,"default",()=>v),e(t.exports,"hslConvert",()=>O),e(t.exports,"Rgb",()=>w),e(t.exports,"rgbConvert",()=>T),e(t.exports,"rgb",()=>S),e(t.exports,"hsl",()=>I);var r=o("bfWFq");function n(){}var a=.7,l=1.4285714285714286,s="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",h="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,f=RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=RegExp(`^rgb\\(${h},${h},${h}\\)$`),p=RegExp(`^rgba\\(${s},${s},${s},${u}\\)$`),g=RegExp(`^rgba\\(${h},${h},${h},${u}\\)$`),m=RegExp(`^hsl\\(${u},${h},${h}\\)$`),y=RegExp(`^hsla\\(${u},${h},${h},${u}\\)$`),x={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};function C(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function v(t){var e,i;return t=(t+"").trim().toLowerCase(),(e=c.exec(t))?(i=e[1].length,e=parseInt(e[1],16),6===i?_(e):3===i?new w(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===i?k(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===i?k(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new w(e[1],e[2],e[3],1):(e=d.exec(t))?new w(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=p.exec(t))?k(e[1],e[2],e[3],e[4]):(e=g.exec(t))?k(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=m.exec(t))?E(e[1],e[2]/100,e[3]/100,1):(e=y.exec(t))?E(e[1],e[2]/100,e[3]/100,e[4]):x.hasOwnProperty(t)?_(x[t]):"transparent"===t?new w(NaN,NaN,NaN,0):null}function _(t){return new w(t>>16&255,t>>8&255,255&t,1)}function k(t,e,i,r){return r<=0&&(t=e=i=NaN),new w(t,e,i,r)}function T(t){return(t instanceof n||(t=v(t)),t)?new w((t=t.rgb()).r,t.g,t.b,t.opacity):new w}function S(t,e,i,r){return 1==arguments.length?T(t):new w(t,e,i,null==r?1:r)}function w(t,e,i,r){this.r=+t,this.g=+e,this.b=+i,this.opacity=+r}function B(){return`#${M(this.r)}${M(this.g)}${M(this.b)}`}function F(){let t=A(this.opacity);return`${1===t?"rgb(":"rgba("}${L(this.r)}, ${L(this.g)}, ${L(this.b)}${1===t?")":`, ${t})`}`}function A(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function L(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function M(t){return((t=L(t))<16?"0":"")+t.toString(16)}function E(t,e,i,r){return r<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new D(t,e,i,r)}function O(t){if(t instanceof D)return new D(t.h,t.s,t.l,t.opacity);if(t instanceof n||(t=v(t)),!t)return new D;if(t instanceof D)return t;var e=(t=t.rgb()).r/255,i=t.g/255,r=t.b/255,o=Math.min(e,i,r),a=Math.max(e,i,r),l=NaN,s=a-o,u=(a+o)/2;return s?(l=e===a?(i-r)/s+(i0&&u<1?0:l,new D(l,s,u,t.opacity)}function I(t,e,i,r){return 1==arguments.length?O(t):new D(t,e,i,null==r?1:r)}function D(t,e,i,r){this.h=+t,this.s=+e,this.l=+i,this.opacity=+r}function N(t){return(t=(t||0)%360)<0?t+360:t}function z(t){return Math.max(0,Math.min(1,t||0))}function q(t,e,i){return(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)*255}(0,r.default)(n,v,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:C,formatHex:C,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return O(this).formatHsl()},formatRgb:b,toString:b}),(0,r.default)(w,S,(0,r.extend)(n,{brighter(t){return t=null==t?l:Math.pow(l,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?a:Math.pow(a,t),new w(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new w(L(this.r),L(this.g),L(this.b),A(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:B,formatHex:B,formatHex8:function(){return`#${M(this.r)}${M(this.g)}${M(this.b)}${M((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:F,toString:F})),(0,r.default)(D,I,(0,r.extend)(n,{brighter(t){return t=null==t?l:Math.pow(l,t),new D(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?a:Math.pow(a,t),new D(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,i=this.l,r=i+(i<.5?i:1-i)*e,n=2*i-r;return new w(q(t>=240?t-240:t+120,n,r),q(t,n,r),q(t<120?t+240:t-120,n,r),this.opacity)},clamp(){return new D(N(this.h),z(this.s),z(this.l),A(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=A(this.opacity);return`${1===t?"hsl(":"hsla("}${N(this.h)}, ${100*z(this.s)}%, ${100*z(this.l)}%${1===t?")":`, ${t})`}`}}))}),a("bfWFq",function(t,i){function r(t,e,i){t.prototype=e.prototype=i,i.constructor=t}function n(t,e){var i=Object.create(t.prototype);for(var r in e)i[r]=e[r];return i}e(t.exports,"default",()=>r),e(t.exports,"extend",()=>n)}),a("jUrtA",function(t,i){e(t.exports,"default",()=>s);var r=o("bYoiY"),n=o("j0bQ2"),a=o("8XYWK"),l=o("75Lq4"),s=function t(e){var i=(0,l.gamma)(e);function n(t,e){var n=i((t=(0,r.rgb)(t)).r,(e=(0,r.rgb)(e)).r),o=i(t.g,e.g),a=i(t.b,e.b),s=(0,l.default)(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=a(e),t.opacity=s(e),t+""}}return n.gamma=t,n}(1);function u(t){return function(e){var i,n,o=e.length,a=Array(o),l=Array(o),s=Array(o);for(i=0;i=1?(i=1,e-1):Math.floor(i*e),o=t[n],a=t[n+1],l=n>0?t[n-1]:2*o-a,s=nr),e(t.exports,"default",()=>n)}),a("8XYWK",function(t,i){e(t.exports,"default",()=>n);var r=o("j0bQ2");function n(t){var e=t.length;return function(i){var n=Math.floor(((i%=1)<0?++i:i)*e),o=t[(n+e-1)%e],a=t[n%e],l=t[(n+1)%e],s=t[(n+2)%e];return(0,r.basis)((i-n/e)*e,o,a,l,s)}}}),a("75Lq4",function(t,i){e(t.exports,"hue",()=>a),e(t.exports,"gamma",()=>l),e(t.exports,"default",()=>s);var r=o("amdqR");function n(t,e){return function(i){return t+i*e}}function a(t,e){var i=e-t;return i?n(t,i>180||i<-180?i-360*Math.round(i/360):i):(0,r.default)(isNaN(t)?e:t)}function l(t){return 1==(t=+t)?s:function(e,i){var n,o,a;return i-e?(n=e,o=i,n=Math.pow(n,a=t),o=Math.pow(o,a)-n,a=1/a,function(t){return Math.pow(n+t*o,a)}):(0,r.default)(isNaN(e)?i:e)}}function s(t,e){var i=e-t;return i?n(t,i):(0,r.default)(isNaN(t)?e:t)}}),a("amdqR",function(t,i){e(t.exports,"default",()=>r);var r=t=>()=>t}),a("34d8K",function(t,i){e(t.exports,"genericArray",()=>n);var r=o("bi4KR");function n(t,e){var i,n=e?e.length:0,o=t?Math.min(n,t.length):0,a=Array(o),l=Array(n);for(i=0;ir),e(t.exports,"isNumberArray",()=>n)}),a("xcrgO",function(t,i){e(t.exports,"default",()=>r);function r(t,e){var i=new Date;return t=+t,e=+e,function(r){return i.setTime(t*(1-r)+e*r),i}}}),a("gnkFs",function(t,i){e(t.exports,"default",()=>r);function r(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}}),a("hNADL",function(t,i){e(t.exports,"default",()=>n);var r=o("bi4KR");function n(t,e){var i,n={},o={};for(i in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)i in t?n[i]=(0,r.default)(t[i],e[i]):o[i]=e[i];return function(t){for(i in n)o[i]=n[i](t);return o}}}),a("aPLyh",function(t,i){e(t.exports,"default",()=>l);var r=o("gnkFs"),n=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=RegExp(n.source,"g");function l(t,e){var i,o,l,s,u,h=n.lastIndex=a.lastIndex=0,c=-1,f=[],d=[];for(t+="",e+="";(l=n.exec(t))&&(s=a.exec(e));)(u=s.index)>h&&(u=e.slice(h,u),f[c]?f[c]+=u:f[++c]=u),(l=l[0])===(s=s[0])?f[c]?f[c]+=s:f[++c]=s:(f[++c]=null,d.push({i:c,x:(0,r.default)(l,s)})),h=a.lastIndex;return hn);var r=o("gQNdD");function n(t,e){if(t=(0,r.default)(t),void 0===e&&(e=t.currentTarget),e){var i=e.ownerSVGElement||e;if(i.createSVGPoint){var n=i.createSVGPoint();return n.x=t.clientX,n.y=t.clientY,[(n=n.matrixTransform(e.getScreenCTM().inverse())).x,n.y]}if(e.getBoundingClientRect){var o=e.getBoundingClientRect();return[t.clientX-o.left-e.clientLeft,t.clientY-o.top-e.clientTop]}}return[t.pageX,t.pageY]}}),a("gQNdD",function(t,i){e(t.exports,"default",()=>r);function r(t){let e;for(;e=t.sourceEvent;)t=e;return t}}),a("dxJVY",function(t,i){e(t.exports,"interrupt",()=>o("f8M3T").default),o("2k9Hs"),o("f8M3T")}),a("2k9Hs",function(t,e){var i=o("3us5W"),r=o("gDVVi"),n=o("fBcKd");i.default.prototype.interrupt=r.default,i.default.prototype.transition=n.default}),a("gDVVi",function(t,i){e(t.exports,"default",()=>n);var r=o("f8M3T");function n(t){return this.each(function(){(0,r.default)(this,t)})}}),a("f8M3T",function(t,i){e(t.exports,"default",()=>n);var r=o("1O1wu");function n(t,e){var i,n,o,a=t.__transition,l=!0;if(a){for(o in e=null==e?null:e+"",a){if((i=a[o]).name!==e){l=!1;continue}n=i.state>r.STARTING&&i.stateu),e(t.exports,"ENDING",()=>h),e(t.exports,"ENDED",()=>c),e(t.exports,"default",()=>f),e(t.exports,"init",()=>d),e(t.exports,"get",()=>g),e(t.exports,"set",()=>p);var r=o("aFEgl"),n=o("hYquC"),a=o("jSjsP"),l=(0,r.default)("start","end","cancel","interrupt"),s=[],u=2,h=5,c=6;function f(t,e,i,r,o,f){var d=t.__transition;if(d){if(i in d)return}else t.__transition={};(function(t,e,i){var r,o=t.__transition;function l(a){var h,d,p,g;if(1!==i.state)return f();for(h in o)if((g=o[h]).name===i.name){if(3===g.state)return(0,n.default)(l);4===g.state?(g.state=c,g.timer.stop(),g.on.call("interrupt",t,t.__data__,g.index,g.group),delete o[h]):+h0)throw Error("too late; already scheduled");return i}function p(t,e){var i=g(t,e);if(i.state>3)throw Error("too late; already running");return i}function g(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw Error("transition not found");return i}}),a("hYquC",function(t,i){e(t.exports,"default",()=>n);var r=o("jSjsP");function n(t,e,i){var n=new r.Timer;return e=null==e?0:+e,n.restart(i=>{n.stop(),t(i+e)},e,i),n}}),a("jSjsP",function(t,i){e(t.exports,"now",()=>d),e(t.exports,"Timer",()=>g),e(t.exports,"timer",()=>m);var r,n,o=0,a=0,l=0,s=0,u=0,h=0,c="object"==typeof performance&&performance.now?performance:Date,f="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function d(){return u||(f(p),u=c.now()+h)}function p(){u=0}function g(){this._call=this._time=this._next=null}function m(t,e,i){var r=new g;return r.restart(t,e,i),r}function y(){u=(s=c.now())+h,o=a=0;try{!function(){d(),++o;for(var t,e=r;e;)(t=u-e._time)>=0&&e._call.call(void 0,t),e=e._next;--o}()}finally{o=0,function(){for(var t,e,i=r,o=1/0;i;)i._call?(o>i._time&&(o=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:r=e);n=t,C(o)}(),u=0}}function x(){var t=c.now(),e=t-s;e>1e3&&(h-=e,s=t)}function C(t){!o&&(a&&(a=clearTimeout(a)),t-u>24?(t<1/0&&(a=setTimeout(y,t-c.now()-h)),l&&(l=clearInterval(l))):(l||(s=c.now(),l=setInterval(x,1e3)),o=1,f(y)))}g.prototype=m.prototype={constructor:g,restart:function(t,e,i){if("function"!=typeof t)throw TypeError("callback is not a function");i=(null==i?d():+i)+(null==e?0:+e),this._next||n===this||(n?n._next=this:r=this,n=this),this._call=t,this._time=i,C()},stop:function(){this._call&&(this._call=null,this._time=1/0,C())}}}),a("fBcKd",function(t,i){e(t.exports,"default",()=>u);var r=o("e9pyf"),n=o("1O1wu"),a=o("7OMS0"),l=o("jSjsP"),s={time:null,delay:0,duration:250,ease:a.cubicInOut};function u(t){var e,i;t instanceof r.Transition?(e=t._id,t=t._name):(e=(0,r.newId)(),(i=s).time=(0,l.now)(),t=null==t?null:t+"");for(var o=this._groups,a=o.length,u=0;uw),e(t.exports,"newId",()=>B);var r=o("3us5W"),n=o("3DFnF"),a=o("hpADm"),l=o("QaWfs"),s=o("drGTC"),u=o("cflrC"),h=o("dudkO"),c=o("gE3NB"),f=o("jUpER"),d=o("lKQ2g"),p=o("fAKgz"),g=o("dp6Bd"),m=o("asVWM"),y=o("1H5R6"),x=o("hV9BK"),C=o("bhsa4"),b=o("jLbDc"),v=o("8EN5J"),_=o("jZTje"),k=o("cy9mc"),T=o("73a8S"),S=0;function w(t,e,i,r){this._groups=t,this._parents=e,this._name=i,this._id=r}function B(){return++S}var F=r.default.prototype;w.prototype=(function(t){return(0,r.default)().transition(t)}).prototype={constructor:w,select:g.default,selectAll:m.default,selectChild:F.selectChild,selectChildren:F.selectChildren,filter:c.default,merge:f.default,selection:y.default,transition:_.default,call:F.call,nodes:F.nodes,node:F.node,size:F.size,empty:F.empty,each:F.each,on:d.default,attr:n.default,attrTween:a.default,style:x.default,styleTween:C.default,text:b.default,textTween:v.default,remove:p.default,tween:k.default,delay:l.default,duration:s.default,ease:u.default,easeVarying:h.default,end:T.default,[Symbol.iterator]:F[Symbol.iterator]}}),a("3DFnF",function(t,i){e(t.exports,"default",()=>s);var r=o("jDZQw"),n=o("fEEcv"),a=o("cy9mc"),l=o("bSVkw");function s(t,e){var i=(0,n.default)(t),o="transform"===i?r.interpolateTransformSvg:l.default;return this.attrTween(t,"function"==typeof e?(i.local?function(t,e,i){var r,n,o;return function(){var a,l,s=i(this);return null==s?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(l=s+"")?null:a===r&&l===n?o:(n=l,o=e(r=a,s))}}:function(t,e,i){var r,n,o;return function(){var a,l,s=i(this);return null==s?void this.removeAttribute(t):(a=this.getAttribute(t))===(l=s+"")?null:a===r&&l===n?o:(n=l,o=e(r=a,s))}})(i,o,(0,a.tweenValue)(this,"attr."+t,e)):null==e?(i.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(i):(i.local?function(t,e,i){var r,n,o=i+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?n:n=e(r=a,i)}}:function(t,e,i){var r,n,o=i+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?n:n=e(r=a,i)}})(i,o,e))}}),a("jDZQw",function(t,i){e(t.exports,"interpolateTransformCss",()=>l),e(t.exports,"interpolateTransformSvg",()=>s);var r=o("gnkFs"),n=o("6lTYu");function a(t,e,i,n){function o(t){return t.length?t.pop()+" ":""}return function(a,l){var s,u,h,c,f=[],d=[];return a=t(a),l=t(l),function(t,n,o,a,l,s){if(t!==o||n!==a){var u=l.push("translate(",null,e,null,i);s.push({i:u-4,x:(0,r.default)(t,o)},{i:u-2,x:(0,r.default)(n,a)})}else(o||a)&&l.push("translate("+o+e+a+i)}(a.translateX,a.translateY,l.translateX,l.translateY,f,d),(s=a.rotate)!==(u=l.rotate)?(s-u>180?u+=360:u-s>180&&(s+=360),d.push({i:f.push(o(f)+"rotate(",null,n)-2,x:(0,r.default)(s,u)})):u&&f.push(o(f)+"rotate("+u+n),(h=a.skewX)!==(c=l.skewX)?d.push({i:f.push(o(f)+"skewX(",null,n)-2,x:(0,r.default)(h,c)}):c&&f.push(o(f)+"skewX("+c+n),function(t,e,i,n,a,l){if(t!==i||e!==n){var s=a.push(o(a)+"scale(",null,",",null,")");l.push({i:s-4,x:(0,r.default)(t,i)},{i:s-2,x:(0,r.default)(e,n)})}else(1!==i||1!==n)&&a.push(o(a)+"scale("+i+","+n+")")}(a.scaleX,a.scaleY,l.scaleX,l.scaleY,f,d),a=l=null,function(t){for(var e,i=-1,r=d.length;++ia),e(t.exports,"parseSvg",()=>l);var r,n=o("3xqrJ");function a(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?n.identity:(0,n.default)(e.a,e.b,e.c,e.d,e.e,e.f)}function l(t){return null==t?n.identity:(r||(r=document.createElementNS("http://www.w3.org/2000/svg","g")),r.setAttribute("transform",t),t=r.transform.baseVal.consolidate())?(t=t.matrix,(0,n.default)(t.a,t.b,t.c,t.d,t.e,t.f)):n.identity}}),a("3xqrJ",function(t,i){e(t.exports,"identity",()=>n),e(t.exports,"default",()=>o);var r=180/Math.PI,n={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function o(t,e,i,n,o,a){var l,s,u;return(l=Math.sqrt(t*t+e*e))&&(t/=l,e/=l),(u=t*i+e*n)&&(i-=t*u,n-=e*u),(s=Math.sqrt(i*i+n*n))&&(i/=s,n/=s,u/=s),t*nn),e(t.exports,"tweenValue",()=>a);var r=o("1O1wu");function n(t,e){var i=this._id;if(t+="",arguments.length<2){for(var n,o=(0,r.get)(this.node(),i).tween,a=0,l=o.length;as);var r=o("bYoiY"),n=o("gnkFs"),a=o("jUrtA"),l=o("aPLyh");function s(t,e){var i;return("number"==typeof e?(0,n.default):e instanceof(0,r.default)?(0,a.default):(i=(0,r.default)(e))?(e=i,a.default):(0,l.default))(t,e)}}),a("hpADm",function(t,i){e(t.exports,"default",()=>n);var r=o("fEEcv");function n(t,e){var i="attr."+t;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw Error();var n=(0,r.default)(t);return this.tween(i,(n.local?function(t,e){var i,r;function n(){var n=e.apply(this,arguments);return n!==r&&(i=(r=n)&&function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}),i}return n._value=e,n}:function(t,e){var i,r;function n(){var n=e.apply(this,arguments);return n!==r&&(i=(r=n)&&function(e){this.setAttribute(t,n.call(this,e))}),i}return n._value=e,n})(n,e))}}),a("QaWfs",function(t,i){e(t.exports,"default",()=>n);var r=o("1O1wu");function n(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){(0,r.init)(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){(0,r.init)(this,t).delay=e}})(e,t)):(0,r.get)(this.node(),e).delay}}),a("drGTC",function(t,i){e(t.exports,"default",()=>n);var r=o("1O1wu");function n(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){(0,r.set)(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){(0,r.set)(this,t).duration=e}})(e,t)):(0,r.get)(this.node(),e).duration}}),a("cflrC",function(t,i){e(t.exports,"default",()=>n);var r=o("1O1wu");function n(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){(0,r.set)(this,t).ease=e}}(e,t)):(0,r.get)(this.node(),e).ease}}),a("dudkO",function(t,i){e(t.exports,"default",()=>n);var r=o("1O1wu");function n(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var i=t.apply(this,arguments);if("function"!=typeof i)throw Error();(0,r.set)(this,e).ease=i}))}}),a("gE3NB",function(t,i){e(t.exports,"default",()=>a);var r=o("8doa3"),n=o("e9pyf");function a(t){"function"!=typeof t&&(t=(0,r.default)(t));for(var e=this._groups,i=e.length,o=Array(i),a=0;an);var r=o("e9pyf");function n(t){if(t._id!==this._id)throw Error();for(var e=this._groups,i=t._groups,n=e.length,o=i.length,a=Math.min(n,o),l=Array(n),s=0;sn);var r=o("1O1wu");function n(t,e){var i,n,o,a=this._id;return arguments.length<2?(0,r.get)(this.node(),a).on.on(t):this.each((o=(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?r.init:r.set,function(){var r=o(this,a),l=r.on;l!==i&&(n=(i=l).copy()).on(t,e),r.on=n}))}}),a("fAKgz",function(t,i){e(t.exports,"default",()=>r);function r(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var i in this.__transition)if(+i!==t)return;e&&e.removeChild(this)}))}}),a("dp6Bd",function(t,i){e(t.exports,"default",()=>l);var r=o("9rOh8"),n=o("e9pyf"),a=o("1O1wu");function l(t){var e=this._name,i=this._id;"function"!=typeof t&&(t=(0,r.default)(t));for(var o=this._groups,l=o.length,s=Array(l),u=0;ul);var r=o("aMqra"),n=o("e9pyf"),a=o("1O1wu");function l(t){var e=this._name,i=this._id;"function"!=typeof t&&(t=(0,r.default)(t));for(var o=this._groups,l=o.length,s=[],u=[],h=0;hn);var r=o("3us5W").default.prototype.constructor;function n(){return new r(this._groups,this._parents)}}),a("hV9BK",function(t,i){e(t.exports,"default",()=>h);var r=o("jDZQw"),n=o("9a8q4"),a=o("1O1wu"),l=o("cy9mc"),s=o("bSVkw");function u(t){return function(){this.style.removeProperty(t)}}function h(t,e,i){var o,h,c,f,d,p,g,m,y,x,C,b,v,_,k,T,S,w,B,F,A,L="transform"==(t+="")?r.interpolateTransformCss:s.default;return null==e?this.styleTween(t,(o=t,function(){var t=(0,n.styleValue)(this,o),e=(this.style.removeProperty(o),(0,n.styleValue)(this,o));return t===e?null:t===h&&e===c?f:f=L(h=t,c=e)})).on("end.style."+t,u(t)):"function"==typeof e?this.styleTween(t,(d=t,p=(0,l.tweenValue)(this,"style."+t,e),function(){var t=(0,n.styleValue)(this,d),e=p(this),i=e+"";return null==e&&(this.style.removeProperty(d),i=e=(0,n.styleValue)(this,d)),t===i?null:t===g&&i===m?y:(m=i,y=L(g=t,e))})).each((x=this._id,S="end."+(T="style."+(C=t)),function(){var t=(0,a.set)(this,x),e=t.on,i=null==t.value[T]?k||(k=u(C)):void 0;(e!==b||_!==i)&&(v=(b=e).copy()).on(S,_=i),t.on=v})):this.styleTween(t,(w=t,A=e+"",function(){var t=(0,n.styleValue)(this,w);return t===A?null:t===B?F:F=L(B=t,e)}),i).on("end.style."+t,null)}}),a("bhsa4",function(t,i){e(t.exports,"default",()=>r);function r(t,e,i){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,i){var r,n;function o(){var o=e.apply(this,arguments);return o!==n&&(r=(n=o)&&function(e){this.style.setProperty(t,o.call(this,e),i)}),r}return o._value=e,o}(t,e,null==i?"":i))}}),a("jLbDc",function(t,i){e(t.exports,"default",()=>n);var r=o("cy9mc");function n(t){var e,i;return this.tween("text","function"==typeof t?(e=(0,r.tweenValue)(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(i=null==t?"":t+"",function(){this.textContent=i}))}}),a("8EN5J",function(t,i){e(t.exports,"default",()=>r);function r(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,i;function r(){var r=t.apply(this,arguments);return r!==i&&(e=(i=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))}}),a("jZTje",function(t,i){e(t.exports,"default",()=>a);var r=o("e9pyf"),n=o("1O1wu");function a(){for(var t=this._name,e=this._id,i=(0,r.newId)(),o=this._groups,a=o.length,l=0;ln);var r=o("1O1wu");function n(){var t,e,i=this,n=i._id,o=i.size();return new Promise(function(a,l){var s={value:l},u={value:function(){0==--o&&a()}};i.each(function(){var i=(0,r.set)(this,n),o=i.on;o!==t&&((e=(t=o).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(u)),i.on=e}),0===o&&a()})}}),a("7OMS0",function(t,i){e(t.exports,"cubicInOut",()=>r);function r(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}}),a("6QApF",function(t,i){e(t.exports,"default",()=>r);var r=t=>()=>t}),a("j3W5K",function(t,i){e(t.exports,"default",()=>r);function r(t,{sourceEvent:e,target:i,selection:r,mode:n,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:n,enumerable:!0,configurable:!0},_:{value:o}})}}),a("6fYbl",function(t,i){function r(t){t.stopImmediatePropagation()}function n(t){t.preventDefault(),t.stopImmediatePropagation()}e(t.exports,"nopropagation",()=>r),e(t.exports,"default",()=>n)}),a("lAcF9",function(t,i){e(t.exports,"svg",()=>a);var r=o("iKoDh");function n(t){return(e,i)=>(0,r.default)(e,i).then(e=>(new DOMParser).parseFromString(e,t))}n("application/xml"),n("text/html");var a=n("image/svg+xml")}),a("iKoDh",function(t,i){function r(t){if(!t.ok)throw Error(t.status+" "+t.statusText);return t.text()}function n(t,e){return fetch(t,e).then(r)}e(t.exports,"default",()=>n)}),a("bvJ3W",function(t,i){e(t.exports,"default",()=>l);var r=o("b48rH"),n=o("75Lq4");function a(t){return function(e,i){var o=t((e=(0,r.hcl)(e)).h,(i=(0,r.hcl)(i)).h),a=(0,n.default)(e.c,i.c),l=(0,n.default)(e.l,i.l),s=(0,n.default)(e.opacity,i.opacity);return function(t){return e.h=o(t),e.c=a(t),e.l=l(t),e.opacity=s(t),e+""}}}var l=a(n.hue);a(n.default)}),a("b48rH",function(t,i){e(t.exports,"hcl",()=>y);var r=o("bfWFq"),n=o("bYoiY"),a=o("9DZrZ");let l=4/29,s=6/29,u=6/29*3*(6/29),h=6/29*(6/29)*(6/29);function c(t){if(t instanceof f)return new f(t.l,t.a,t.b,t.opacity);if(t instanceof x)return C(t);t instanceof n.Rgb||(t=(0,n.rgbConvert)(t));var e,i,r=m(t.r),o=m(t.g),a=m(t.b),l=d((.2225045*r+.7168786*o+.0606169*a)/1);return r===o&&o===a?e=i=l:(e=d((.4360747*r+.3850649*o+.1430804*a)/.96422),i=d((.0139322*r+.0971045*o+.7141733*a)/.82521)),new f(116*l-16,500*(e-l),200*(l-i),t.opacity)}function f(t,e,i,r){this.l=+t,this.a=+e,this.b=+i,this.opacity=+r}function d(t){return t>h?Math.pow(t,1/3):t/u+l}function p(t){return t>s?t*t*t:u*(t-l)}function g(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function y(t,e,i,r){return 1==arguments.length?function(t){if(t instanceof x)return new x(t.h,t.c,t.l,t.opacity);if(t instanceof f||(t=c(t)),0===t.a&&0===t.b)return new x(NaN,0r),e(t.exports,"degrees",()=>n);let r=Math.PI/180,n=180/Math.PI}),a("gEnYl",function(t,i){e(t.exports,"default",()=>function t(){var e,i,o=(0,a.default)().unknown(void 0),l=o.domain,s=o.range,u=0,h=1,c=!1,f=0,d=0,p=.5;function g(){var t=l().length,n=hr);function r(t,e,i){t=+t,e=+e,i=(n=arguments.length)<2?(e=t,t=0,1):n<3?1:+i;for(var r=-1,n=0|Math.max(0,Math.ceil((e-t)/i)),o=Array(n);++rr);function r(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}}),a("4PqgM",function(t,i){e(t.exports,"default",()=>function t(){var e=new r.InternMap,i=[],o=[],l=a;function s(t){let r=e.get(t);if(void 0===r){if(l!==a)return l;e.set(t,r=i.push(t)-1)}return o[r%o.length]}return s.domain=function(t){if(!arguments.length)return i.slice();for(let n of(i=[],e=new r.InternMap,t))e.has(n)||e.set(n,i.push(n)-1);return s},s.range=function(t){return arguments.length?(o=Array.from(t),s):o.slice()},s.unknown=function(t){return arguments.length?(l=t,s):l},s.copy=function(){return t(i,o).unknown(l)},(0,n.initRange).apply(s,arguments),s});var r=o("4ePtk"),n=o("7QzZn");let a=Symbol("implicit")}),a("4ePtk",function(t,i){e(t.exports,"InternMap",()=>r);class r extends Map{constructor(t,e=o){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,i]of t)this.set(e,i)}get(t){return super.get(n(this,t))}has(t){return super.has(n(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},i){let r=e(i);return t.has(r)?t.get(r):(t.set(r,i),i)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},i){let r=e(i);return t.has(r)&&(i=t.get(i),t.delete(r)),i}(this,t))}}function n({_intern:t,_key:e},i){let r=e(i);return t.has(r)?t.get(r):i}function o(t){return null!==t&&"object"==typeof t?t.valueOf():t}}),a("iOlPi",function(t,i){e(t.exports,"default",()=>function t(){var e,i=(0,n.default)();return i.copy=function(){return(0,n.copy)(i,t())},(0,a.initRange).apply(i,arguments),e=i.domain,i.ticks=function(t){var i=e();return(0,r.default)(i[0],i[i.length-1],null==t?10:t)},i.tickFormat=function(t,i){var r=e();return(0,l.default)(r[0],r[r.length-1],null==t?10:t,i)},i.nice=function(t){null==t&&(t=10);var n,o,a=e(),l=0,s=a.length-1,u=a[l],h=a[s],c=10;for(h0;){if((o=(0,r.tickIncrement)(u,h,t))===n)return a[l]=u,a[s]=h,e(a);if(o>0)u=Math.floor(u/o)*o,h=Math.ceil(h/o)*o;else if(o<0)u=Math.ceil(u*o)/o,h=Math.floor(h*o)/o;else break;n=o}return i},i});var r=o("aE6k7"),n=o("f6dVf"),a=o("7QzZn"),l=o("fabdk")}),a("aE6k7",function(t,i){e(t.exports,"default",()=>l),e(t.exports,"tickIncrement",()=>s),e(t.exports,"tickStep",()=>u);let r=Math.sqrt(50),n=Math.sqrt(10),o=Math.sqrt(2);function a(t,e,i){let l,s,u;let h=(e-t)/Math.max(0,i),c=Math.floor(Math.log10(h)),f=h/Math.pow(10,c),d=f>=r?10:f>=n?5:f>=o?2:1;return(c<0?(l=Math.round(t*(u=Math.pow(10,-c)/d)),s=Math.round(e*u),l/ue&&--s,u=-u):(l=Math.round(t/(u=Math.pow(10,c)*d)),s=Math.round(e/u),l*ue&&--s),s0))return[];if(t===e)return[t];let r=e=n))return[];let s=o-n+1,u=Array(s);if(r){if(l<0)for(let t=0;tg),e(t.exports,"default",()=>m);var r=o("ekiL6"),n=o("bi4KR"),a=o("gnkFs"),l=o("gzbhl"),s=o("ePWrs"),u=o("9krIo"),h=[0,1];function c(t){return t}function f(t,e){return(e-=t=+t)?function(i){return(i-t)/e}:(0,s.default)(isNaN(e)?NaN:.5)}function d(t,e,i){var r=t[0],n=t[1],o=e[0],a=e[1];return ne&&(i=t,t=e,e=i),y=function(i){return Math.max(t,Math.min(e,i))}),r=n>2?p:d,o=s=null,C}function C(e){return null==e||isNaN(e=+e)?i:(o||(o=r(f.map(t),g,m)))(t(y(e)))}return C.invert=function(i){return y(e((s||(s=r(g,f.map(t),a.default)))(i)))},C.domain=function(t){return arguments.length?(f=Array.from(t,u.default),x()):f.slice()},C.range=function(t){return arguments.length?(g=Array.from(t),x()):g.slice()},C.rangeRound=function(t){return g=Array.from(t),m=l.default,x()},C.clamp=function(t){return arguments.length?(y=!!t||c,x()):y!==c},C.interpolate=function(t){return arguments.length?(m=t,x()):m},C.unknown=function(t){return arguments.length?(i=t,C):i},function(i,r){return t=i,e=r,x()}})()(c,c)}}),a("ekiL6",function(t,i){e(t.exports,"default",()=>u);var r=o("8zdji"),n=o("W4CTv"),a=o("7EiNs");let l=(0,n.default)(r.default),s=l.right;l.left,(0,n.default)(a.default).center;var u=s}),a("8zdji",function(t,i){e(t.exports,"default",()=>r);function r(t,e){return null==t||null==e?NaN:te?1:t>=e?0:NaN}}),a("W4CTv",function(t,i){e(t.exports,"default",()=>a);var r=o("8zdji"),n=o("5303J");function a(t){let e,i,o;function a(t,r,n=0,o=t.length){if(n>>1;0>i(t[e],r)?n=e+1:o=e}while(n(0,r.default)(t(e),i),o=(e,i)=>t(e)-i):(e=t===r.default||t===n.default?t:l,i=t,o=t),{left:a,center:function(t,e,i=0,r=t.length){let n=a(t,e,i,r-1);return n>i&&o(t[n-1],e)>-o(t[n],e)?n-1:n},right:function(t,r,n=0,o=t.length){if(n>>1;0>=i(t[e],r)?n=e+1:o=e}while(nr);function r(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}}),a("7EiNs",function(t,i){e(t.exports,"default",()=>r);function r(t){return null===t?NaN:+t}}),a("gzbhl",function(t,i){e(t.exports,"default",()=>r);function r(t,e){return t=+t,e=+e,function(i){return Math.round(t*(1-i)+e*i)}}}),a("ePWrs",function(t,i){e(t.exports,"default",()=>r);function r(t){return function(){return t}}}),a("9krIo",function(t,i){e(t.exports,"default",()=>r);function r(t){return+t}}),a("fabdk",function(t,i){e(t.exports,"default",()=>h);var r=o("aE6k7"),n=o("7gBNf"),a=o("ikvwP"),l=o("l1vM3"),s=o("1TXup"),u=o("i4t6x");function h(t,e,i,o){var h,c=(0,r.tickStep)(t,e,i);switch((o=(0,a.default)(null==o?",f":o)).type){case"s":var f=Math.max(Math.abs(t),Math.abs(e));return null!=o.precision||isNaN(h=(0,s.default)(c,f))||(o.precision=h),(0,n.formatPrefix)(o,f);case"":case"e":case"g":case"p":case"r":null!=o.precision||isNaN(h=(0,u.default)(c,Math.max(Math.abs(t),Math.abs(e))))||(o.precision=h-("e"===o.type));break;case"f":case"%":null!=o.precision||isNaN(h=(0,l.default)(c))||(o.precision=h-("%"===o.type)*2)}return(0,n.format)(o)}}),a("7gBNf",function(t,i){var r,n,a,l;e(t.exports,"format",()=>a),e(t.exports,"formatPrefix",()=>l),r={thousands:",",grouping:[3],currency:["$",""]},a=(n=(0,o("jYBVj").default)(r)).format,l=n.formatPrefix}),a("jYBVj",function(t,i){e(t.exports,"default",()=>p);var r=o("1QDsO"),n=o("l0OJc"),a=o("cRZ1i"),l=o("ikvwP"),s=o("j0yhO"),u=o("kGAxb"),h=o("lPyuV"),c=o("2nOSB"),f=Array.prototype.map,d=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function p(t){var e=void 0===t.grouping||void 0===t.thousands?c.default:(0,n.default)(f.call(t.grouping,Number),t.thousands+""),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",p=void 0===t.decimal?".":t.decimal+"",g=void 0===t.numerals?c.default:(0,a.default)(f.call(t.numerals,String)),m=void 0===t.percent?"%":t.percent+"",y=void 0===t.minus?"−":t.minus+"",x=void 0===t.nan?"NaN":t.nan+"";function C(t){var r=(t=(0,l.default)(t)).fill,n=t.align,a=t.sign,c=t.symbol,f=t.zero,C=t.width,b=t.comma,v=t.precision,_=t.trim,k=t.type;"n"===k?(b=!0,k="g"):u.default[k]||(void 0===v&&(v=12),_=!0,k="g"),(f||"0"===r&&"="===n)&&(f=!0,r="0",n="=");var T="$"===c?i:"#"===c&&/[boxX]/.test(k)?"0"+k.toLowerCase():"",S="$"===c?o:/[%p]/.test(k)?m:"",w=u.default[k],B=/[defgprs%]/.test(k);function F(t){var i,o,l,u=T,c=S;if("c"===k)c=w(t)+c,t="";else{var m=(t=+t)<0||1/t<0;if(t=isNaN(t)?x:w(Math.abs(t),v),_&&(t=(0,s.default)(t)),m&&0==+t&&"+"!==a&&(m=!1),u=(m?"("===a?a:y:"-"===a||"("===a?"":a)+u,c=("s"===k?d[8+h.prefixExponent/3]:"")+c+(m&&"("===a?")":""),B){for(i=-1,o=t.length;++i(l=t.charCodeAt(i))||l>57){c=(46===l?p+t.slice(i+1):t.slice(i))+c,t=t.slice(0,i);break}}}b&&!f&&(t=e(t,1/0));var F=u.length+t.length+c.length,A=F>1)+u+t+c+A.slice(F);break;default:t=A+u+t+c}return g(t)}return v=void 0===v?6:/[gprs]/.test(k)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),F.toString=function(){return t+""},F}return{format:C,formatPrefix:function(t,e){var i=C(((t=(0,l.default)(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(e)/3))),o=Math.pow(10,-n),a=d[8+n/3];return function(t){return i(o*t)+a}}}}}),a("1QDsO",function(t,i){e(t.exports,"default",()=>n);var r=o("1fLhe");function n(t){return(t=(0,r.formatDecimalParts)(Math.abs(t)))?t[1]:NaN}}),a("1fLhe",function(t,i){function r(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function n(t,e){if((i=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var i,r=t.slice(0,i);return[r.length>1?r[0]+r.slice(2):r,+t.slice(i+1)]}e(t.exports,"default",()=>r),e(t.exports,"formatDecimalParts",()=>n)}),a("l0OJc",function(t,i){e(t.exports,"default",()=>r);function r(t,e){return function(i,r){for(var n=i.length,o=[],a=0,l=t[0],s=0;n>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),o.push(i.substring(n-=l,n+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return o.reverse().join(e)}}}),a("cRZ1i",function(t,i){e(t.exports,"default",()=>r);function r(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}}),a("ikvwP",function(t,i){e(t.exports,"default",()=>n);var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function n(t){var e;if(!(e=r.exec(t)))throw Error("invalid format: "+t);return new o({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]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}n.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}}),a("j0yhO",function(t,i){e(t.exports,"default",()=>r);function r(t){t:for(var e,i=t.length,r=1,n=-1;r0&&(n=0)}return n>0?t.slice(0,n)+t.slice(e+1):t}}),a("kGAxb",function(t,i){e(t.exports,"default",()=>l);var r=o("1fLhe"),n=o("lPyuV"),a=o("5YhaN"),l={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:r.default,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)=>(0,a.default)(100*t,e),r:a.default,s:n.default,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)}}),a("lPyuV",function(t,i){e(t.exports,"prefixExponent",()=>r),e(t.exports,"default",()=>a);var r,n=o("1fLhe");function a(t,e){var i=(0,n.formatDecimalParts)(t,e);if(!i)return t+"";var o=i[0],a=i[1],l=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,s=o.length;return l===s?o:l>s?o+Array(l-s+1).join("0"):l>0?o.slice(0,l)+"."+o.slice(l):"0."+Array(1-l).join("0")+(0,n.formatDecimalParts)(t,Math.max(0,e+l-1))[0]}}),a("5YhaN",function(t,i){e(t.exports,"default",()=>n);var r=o("1fLhe");function n(t,e){var i=(0,r.formatDecimalParts)(t,e);if(!i)return t+"";var n=i[0],o=i[1];return o<0?"0."+Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+Array(o-n.length+2).join("0")}}),a("2nOSB",function(t,i){e(t.exports,"default",()=>r);function r(t){return t}}),a("l1vM3",function(t,i){e(t.exports,"default",()=>n);var r=o("1QDsO");function n(t){return Math.max(0,-(0,r.default)(Math.abs(t)))}}),a("1TXup",function(t,i){e(t.exports,"default",()=>n);var r=o("1QDsO");function n(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.default)(e)/3)))-(0,r.default)(Math.abs(t)))}}),a("i4t6x",function(t,i){e(t.exports,"default",()=>n);var r=o("1QDsO");function n(t,e){return e=Math.abs(e)-(t=Math.abs(t)),Math.max(0,(0,r.default)(e)-(0,r.default)(t))+1}}),a("48U7R",function(t,i){e(t.exports,"default",()=>x);var r=o("72rFk"),n=o("cKbL9"),a=o("3wXBo"),l=o("gyimR"),s=o("6gR0W"),u=o("nRuo6"),h=o("aW15j"),c=o("j0Fj9"),f=o("UutV9"),d=o("f6dVf"),p=o("7QzZn"),g=o("13gv1");function m(t){return new Date(t)}function y(t){return t instanceof Date?+t:+new Date(+t)}function x(){return(0,p.initRange).apply((function t(e,i,r,n,o,a,l,s,u,h){var c=(0,d.default)(),f=c.invert,p=c.domain,x=h(".%L"),C=h(":%S"),b=h("%I:%M"),v=h("%I %p"),_=h("%a %d"),k=h("%b %d"),T=h("%B"),S=h("%Y");function w(t){return(u(t)a),e(t.exports,"utcDay",()=>l),e(t.exports,"unixDay",()=>s);var r=o("kOu3f"),n=o("dXf4A");let a=(0,r.timeInterval)(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*n.durationMinute)/n.durationDay,t=>t.getDate()-1);a.range;let l=(0,r.timeInterval)(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/n.durationDay,t=>t.getUTCDate()-1);l.range;let s=(0,r.timeInterval)(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/n.durationDay,t=>Math.floor(t/n.durationDay));s.range}),a("kOu3f",function(t,i){e(t.exports,"timeInterval",()=>function t(e,i,o,a){function l(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return l.floor=t=>(e(t=new Date(+t)),t),l.ceil=t=>(e(t=new Date(t-1)),i(t,1),e(t),t),l.round=t=>{let e=l(t),i=l.ceil(t);return t-e(i(t=new Date(+t),null==e?1:Math.floor(e)),t),l.range=(t,r,n)=>{let o;let a=[];if(t=l.ceil(t),n=null==n?1:Math.floor(n),!(t0))return a;do a.push(o=new Date(+t)),i(t,n),e(t);while(ot(t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)},(t,e)=>{if(t>=t){if(e<0)for(;++e<=0;)for(;i(t,-1),!r(t););else for(;--e>=0;)for(;i(t,1),!r(t););}}),o&&(l.count=(t,i)=>(r.setTime(+t),n.setTime(+i),e(r),e(n),Math.floor(o(r,n))),l.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?l.filter(a?e=>a(e)%t==0:e=>l.count(0,e)%t==0):l:null),l});let r=new Date,n=new Date}),a("dXf4A",function(t,i){e(t.exports,"durationSecond",()=>r),e(t.exports,"durationMinute",()=>n),e(t.exports,"durationHour",()=>o),e(t.exports,"durationDay",()=>a),e(t.exports,"durationWeek",()=>l),e(t.exports,"durationMonth",()=>s),e(t.exports,"durationYear",()=>u);let r=1e3,n=6e4,o=36e5,a=864e5,l=6048e5,s=2592e6,u=31536e6}),a("cKbL9",function(t,i){e(t.exports,"timeHour",()=>a),e(t.exports,"utcHour",()=>l);var r=o("kOu3f"),n=o("dXf4A");let a=(0,r.timeInterval)(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*n.durationSecond-t.getMinutes()*n.durationMinute)},(t,e)=>{t.setTime(+t+e*n.durationHour)},(t,e)=>(e-t)/n.durationHour,t=>t.getHours());a.range;let l=(0,r.timeInterval)(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*n.durationHour)},(t,e)=>(e-t)/n.durationHour,t=>t.getUTCHours());l.range}),a("3wXBo",function(t,i){e(t.exports,"timeMinute",()=>a),e(t.exports,"utcMinute",()=>l);var r=o("kOu3f"),n=o("dXf4A");let a=(0,r.timeInterval)(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*n.durationSecond)},(t,e)=>{t.setTime(+t+e*n.durationMinute)},(t,e)=>(e-t)/n.durationMinute,t=>t.getMinutes());a.range;let l=(0,r.timeInterval)(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*n.durationMinute)},(t,e)=>(e-t)/n.durationMinute,t=>t.getUTCMinutes());l.range}),a("gyimR",function(t,i){e(t.exports,"timeMonth",()=>n),e(t.exports,"utcMonth",()=>a);var r=o("kOu3f");let n=(0,r.timeInterval)(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());n.range;let a=(0,r.timeInterval)(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());a.range}),a("6gR0W",function(t,i){e(t.exports,"second",()=>a);var r=o("kOu3f"),n=o("dXf4A");let a=(0,r.timeInterval)(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*n.durationSecond)},(t,e)=>(e-t)/n.durationSecond,t=>t.getUTCSeconds());a.range}),a("nRuo6",function(t,i){e(t.exports,"timeTicks",()=>x),e(t.exports,"timeTickInterval",()=>C);var r=o("W4CTv"),n=o("aE6k7"),a=o("dXf4A"),l=o("asZKP"),s=o("6gR0W"),u=o("3wXBo"),h=o("cKbL9"),c=o("72rFk"),f=o("aW15j"),d=o("gyimR"),p=o("j0Fj9");function g(t,e,i,o,u,h){let c=[[s.second,1,a.durationSecond],[s.second,5,5*a.durationSecond],[s.second,15,15*a.durationSecond],[s.second,30,30*a.durationSecond],[h,1,a.durationMinute],[h,5,5*a.durationMinute],[h,15,15*a.durationMinute],[h,30,30*a.durationMinute],[u,1,a.durationHour],[u,3,3*a.durationHour],[u,6,6*a.durationHour],[u,12,12*a.durationHour],[o,1,a.durationDay],[o,2,2*a.durationDay],[i,1,a.durationWeek],[e,1,a.durationMonth],[e,3,3*a.durationMonth],[t,1,a.durationYear]];function f(e,i,o){let s=Math.abs(i-e)/o,u=(0,r.default)(([,,t])=>t).right(c,s);if(u===c.length)return t.every((0,n.tickStep)(e/a.durationYear,i/a.durationYear,o));if(0===u)return(0,l.millisecond).every(Math.max((0,n.tickStep)(e,i,o),1));let[h,f]=c[s/c[u-1][2]n);var r=o("kOu3f");let n=(0,r.timeInterval)(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);n.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?(0,r.timeInterval)(e=>{e.setTime(Math.floor(e/t)*t)},(e,i)=>{e.setTime(+e+i*t)},(e,i)=>(i-e)/t):n:null,n.range}),a("aW15j",function(t,i){e(t.exports,"timeSunday",()=>l),e(t.exports,"timeMonday",()=>s),e(t.exports,"timeTuesday",()=>u),e(t.exports,"timeWednesday",()=>h),e(t.exports,"timeThursday",()=>c),e(t.exports,"timeFriday",()=>f),e(t.exports,"timeSaturday",()=>d),e(t.exports,"utcSunday",()=>g),e(t.exports,"utcMonday",()=>m),e(t.exports,"utcThursday",()=>C);var r=o("kOu3f"),n=o("dXf4A");function a(t){return(0,r.timeInterval)(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*n.durationMinute)/n.durationWeek)}let l=a(0),s=a(1),u=a(2),h=a(3),c=a(4),f=a(5),d=a(6);function p(t){return(0,r.timeInterval)(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/n.durationWeek)}l.range,s.range,u.range,h.range,c.range,f.range,d.range;let g=p(0),m=p(1),y=p(2),x=p(3),C=p(4),b=p(5),v=p(6);g.range,m.range,y.range,x.range,C.range,b.range,v.range}),a("j0Fj9",function(t,i){e(t.exports,"timeYear",()=>n),e(t.exports,"utcYear",()=>a);var r=o("kOu3f");let n=(0,r.timeInterval)(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());n.every=t=>isFinite(t=Math.floor(t))&&t>0?(0,r.timeInterval)(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,i)=>{e.setFullYear(e.getFullYear()+i*t)}):null,n.range;let a=(0,r.timeInterval)(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());a.every=t=>isFinite(t=Math.floor(t))&&t>0?(0,r.timeInterval)(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,i)=>{e.setUTCFullYear(e.getUTCFullYear()+i*t)}):null,a.range}),a("UutV9",function(t,i){var r,n,a;e(t.exports,"timeFormat",()=>a),r={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"]},a=(n=(0,o("61I4u").default)(r)).format,n.parse,n.utcFormat,n.utcParse}),a("61I4u",function(t,i){e(t.exports,"default",()=>h);var r=o("72rFk"),n=o("aW15j"),a=o("j0Fj9");function l(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 s(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 u(t,e,i){return{y:t,m:e,d:i,H:0,M:0,S:0,L:0}}function h(t){var e=t.dateTime,i=t.date,o=t.time,a=t.periods,h=t.days,f=t.shortDays,d=t.months,p=t.shortMonths,g=y(a),m=x(a),Z=y(h),tm=x(h),tF=y(f),tA=x(f),tL=y(d),tM=x(d),tE=y(p),tO=x(p),tI={a:function(t){return f[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return p[t.getMonth()]},B:function(t){return d[t.getMonth()]},c:null,d:P,e:P,f:Y,g:te,G:tr,H:j,I:R,j:$,L:W,m:H,M:U,p:function(t){return a[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:tw,s:tB,S:V,u:X,U:G,V:Q,w:J,W:K,x:null,X:null,y:tt,Y:ti,Z:tn,"%":tS},tD={a:function(t){return f[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return p[t.getUTCMonth()]},B:function(t){return d[t.getUTCMonth()]},c:null,d:to,e:to,f:th,g:tv,G:tk,H:ta,I:tl,j:ts,L:tu,m:tc,M:tf,p:function(t){return a[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:tw,s:tB,S:td,u:tp,U:tg,V:ty,w:tx,W:tC,x:null,X:null,y:tb,Y:t_,Z:tT,"%":tS},tN={a:function(t,e,i){var r=tF.exec(e.slice(i));return r?(t.w=tA.get(r[0].toLowerCase()),i+r[0].length):-1},A:function(t,e,i){var r=Z.exec(e.slice(i));return r?(t.w=tm.get(r[0].toLowerCase()),i+r[0].length):-1},b:function(t,e,i){var r=tE.exec(e.slice(i));return r?(t.m=tO.get(r[0].toLowerCase()),i+r[0].length):-1},B:function(t,e,i){var r=tL.exec(e.slice(i));return r?(t.m=tM.get(r[0].toLowerCase()),i+r[0].length):-1},c:function(t,i,r){return tP(t,e,i,r)},d:A,e:A,f:D,g:S,G:T,H:M,I:M,j:L,L:I,m:F,M:E,p:function(t,e,i){var r=g.exec(e.slice(i));return r?(t.p=m.get(r[0].toLowerCase()),i+r[0].length):-1},q:B,Q:z,s:q,S:O,u:b,U:v,V:_,w:C,W:k,x:function(t,e,r){return tP(t,i,e,r)},X:function(t,e,i){return tP(t,o,e,i)},y:S,Y:T,Z:w,"%":N};function tz(t,e){return function(i){var r,n,o,a=[],l=-1,s=0,u=t.length;for(i instanceof Date||(i=new Date(+i));++l53)return null;"w"in h||(h.w=1),"Z"in h?(o=(a=(o=s(u(h.y,0,1))).getUTCDay())>4||0===a?(0,n.utcMonday).ceil(o):(0,n.utcMonday)(o),o=(0,r.utcDay).offset(o,(h.V-1)*7),h.y=o.getUTCFullYear(),h.m=o.getUTCMonth(),h.d=o.getUTCDate()+(h.w+6)%7):(o=(a=(o=l(u(h.y,0,1))).getDay())>4||0===a?(0,n.timeMonday).ceil(o):(0,n.timeMonday)(o),o=(0,r.timeDay).offset(o,(h.V-1)*7),h.y=o.getFullYear(),h.m=o.getMonth(),h.d=o.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),a="Z"in h?s(u(h.y,0,1)).getUTCDay():l(u(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(a+5)%7:h.w+7*h.U-(a+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,s(h)):l(h)}}function tP(t,e,i,r){for(var n,o,a=0,l=e.length,s=i.length;a=s)return -1;if(37===(n=e.charCodeAt(a++))){if(!(o=tN[(n=e.charAt(a++))in c?e.charAt(a++):n])||(r=o(t,i,r))<0)return -1}else if(n!=i.charCodeAt(r++))return -1}return r}return tI.x=tz(i,tI),tI.X=tz(o,tI),tI.c=tz(e,tI),tD.x=tz(i,tD),tD.X=tz(o,tD),tD.c=tz(e,tD),{format:function(t){var e=tz(t+="",tI);return e.toString=function(){return t},e},parse:function(t){var e=tq(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=tz(t+="",tD);return e.toString=function(){return t},e},utcParse:function(t){var e=tq(t+="",!0);return e.toString=function(){return t},e}}}var c={"-":"",_:" ",0:"0"},f=/^\s*\d+/,d=/^%/,p=/[\\^$*+?|[\]().{}]/g;function g(t,e,i){var r=t<0?"-":"",n=(r?-t:t)+"",o=n.length;return r+(o[t.toLowerCase(),e]))}function C(t,e,i){var r=f.exec(e.slice(i,i+1));return r?(t.w=+r[0],i+r[0].length):-1}function b(t,e,i){var r=f.exec(e.slice(i,i+1));return r?(t.u=+r[0],i+r[0].length):-1}function v(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.U=+r[0],i+r[0].length):-1}function _(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.V=+r[0],i+r[0].length):-1}function k(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.W=+r[0],i+r[0].length):-1}function T(t,e,i){var r=f.exec(e.slice(i,i+4));return r?(t.y=+r[0],i+r[0].length):-1}function S(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),i+r[0].length):-1}function w(t,e,i){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(i,i+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),i+r[0].length):-1}function B(t,e,i){var r=f.exec(e.slice(i,i+1));return r?(t.q=3*r[0]-3,i+r[0].length):-1}function F(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.m=r[0]-1,i+r[0].length):-1}function A(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.d=+r[0],i+r[0].length):-1}function L(t,e,i){var r=f.exec(e.slice(i,i+3));return r?(t.m=0,t.d=+r[0],i+r[0].length):-1}function M(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.H=+r[0],i+r[0].length):-1}function E(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.M=+r[0],i+r[0].length):-1}function O(t,e,i){var r=f.exec(e.slice(i,i+2));return r?(t.S=+r[0],i+r[0].length):-1}function I(t,e,i){var r=f.exec(e.slice(i,i+3));return r?(t.L=+r[0],i+r[0].length):-1}function D(t,e,i){var r=f.exec(e.slice(i,i+6));return r?(t.L=Math.floor(r[0]/1e3),i+r[0].length):-1}function N(t,e,i){var r=d.exec(e.slice(i,i+1));return r?i+r[0].length:-1}function z(t,e,i){var r=f.exec(e.slice(i));return r?(t.Q=+r[0],i+r[0].length):-1}function q(t,e,i){var r=f.exec(e.slice(i));return r?(t.s=+r[0],i+r[0].length):-1}function P(t,e){return g(t.getDate(),e,2)}function j(t,e){return g(t.getHours(),e,2)}function R(t,e){return g(t.getHours()%12||12,e,2)}function $(t,e){return g(1+(0,r.timeDay).count((0,a.timeYear)(t),t),e,3)}function W(t,e){return g(t.getMilliseconds(),e,3)}function Y(t,e){return W(t,e)+"000"}function H(t,e){return g(t.getMonth()+1,e,2)}function U(t,e){return g(t.getMinutes(),e,2)}function V(t,e){return g(t.getSeconds(),e,2)}function X(t){var e=t.getDay();return 0===e?7:e}function G(t,e){return g((0,n.timeSunday).count((0,a.timeYear)(t)-1,t),e,2)}function Z(t){var e=t.getDay();return e>=4||0===e?(0,n.timeThursday)(t):(0,n.timeThursday).ceil(t)}function Q(t,e){return t=Z(t),g((0,n.timeThursday).count((0,a.timeYear)(t),t)+(4===(0,a.timeYear)(t).getDay()),e,2)}function J(t){return t.getDay()}function K(t,e){return g((0,n.timeMonday).count((0,a.timeYear)(t)-1,t),e,2)}function tt(t,e){return g(t.getFullYear()%100,e,2)}function te(t,e){return g((t=Z(t)).getFullYear()%100,e,2)}function ti(t,e){return g(t.getFullYear()%1e4,e,4)}function tr(t,e){var i=t.getDay();return g((t=i>=4||0===i?(0,n.timeThursday)(t):(0,n.timeThursday).ceil(t)).getFullYear()%1e4,e,4)}function tn(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+g(e/60|0,"0",2)+g(e%60,"0",2)}function to(t,e){return g(t.getUTCDate(),e,2)}function ta(t,e){return g(t.getUTCHours(),e,2)}function tl(t,e){return g(t.getUTCHours()%12||12,e,2)}function ts(t,e){return g(1+(0,r.utcDay).count((0,a.utcYear)(t),t),e,3)}function tu(t,e){return g(t.getUTCMilliseconds(),e,3)}function th(t,e){return tu(t,e)+"000"}function tc(t,e){return g(t.getUTCMonth()+1,e,2)}function tf(t,e){return g(t.getUTCMinutes(),e,2)}function td(t,e){return g(t.getUTCSeconds(),e,2)}function tp(t){var e=t.getUTCDay();return 0===e?7:e}function tg(t,e){return g((0,n.utcSunday).count((0,a.utcYear)(t)-1,t),e,2)}function tm(t){var e=t.getUTCDay();return e>=4||0===e?(0,n.utcThursday)(t):(0,n.utcThursday).ceil(t)}function ty(t,e){return t=tm(t),g((0,n.utcThursday).count((0,a.utcYear)(t),t)+(4===(0,a.utcYear)(t).getUTCDay()),e,2)}function tx(t){return t.getUTCDay()}function tC(t,e){return g((0,n.utcMonday).count((0,a.utcYear)(t)-1,t),e,2)}function tb(t,e){return g(t.getUTCFullYear()%100,e,2)}function tv(t,e){return g((t=tm(t)).getUTCFullYear()%100,e,2)}function t_(t,e){return g(t.getUTCFullYear()%1e4,e,4)}function tk(t,e){var i=t.getUTCDay();return g((t=i>=4||0===i?(0,n.utcThursday)(t):(0,n.utcThursday).ceil(t)).getUTCFullYear()%1e4,e,4)}function tT(){return"+0000"}function tS(){return"%"}function tw(t){return+t}function tB(t){return Math.floor(+t/1e3)}}),a("13gv1",function(t,i){e(t.exports,"default",()=>r);function r(t,e){t=t.slice();var i,r=0,n=t.length-1,o=t[r],a=t[n];return ar);var r=(0,o("lQv9d").default)("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab")}),a("lQv9d",function(t,i){e(t.exports,"default",()=>r);function r(t){for(var e=t.length/6|0,i=Array(e),r=0;ra);var r=o("hpRkj"),n=o("3us5W");function a(t){return"string"==typeof t?new n.Selection([document.querySelectorAll(t)],[document.documentElement]):new n.Selection([(0,r.default)(t)],n.root)}}),a("ffiwJ",function(t,i){e(t.exports,"default",()=>d);var r=o("7HXTO"),n=o("kDiOX"),a=o("7UVQV");function l(t){return t.innerRadius}function s(t){return t.outerRadius}function u(t){return t.startAngle}function h(t){return t.endAngle}function c(t){return t&&t.padAngle}function f(t,e,i,r,o,a,l){var s=t-i,u=e-r,h=(l?a:-a)/(0,n.sqrt)(s*s+u*u),c=h*u,f=-h*s,d=t+c,p=e+f,g=i+c,m=r+f,y=(d+g)/2,x=(p+m)/2,C=g-d,b=m-p,v=C*C+b*b,_=o-a,k=d*m-g*p,T=(b<0?-1:1)*(0,n.sqrt)((0,n.max)(0,_*_*v-k*k)),S=(k*b-C*T)/v,w=(-k*C-b*T)/v,B=(k*b+C*T)/v,F=(-k*C+b*T)/v,A=S-y,L=w-x,M=B-y,E=F-x;return A*A+L*L>M*M+E*E&&(S=B,w=F),{cx:S,cy:w,x01:-c,y01:-f,x11:S*(o/_-1),y11:w*(o/_-1)}}function d(){var t=l,e=s,i=(0,r.default)(0),o=null,d=u,p=h,g=c,m=null,y=(0,a.withPath)(x);function x(){var r,a,l=+t.apply(this,arguments),s=+e.apply(this,arguments),u=d.apply(this,arguments)-n.halfPi,h=p.apply(this,arguments)-n.halfPi,c=(0,n.abs)(h-u),x=h>u;if(m||(m=r=y()),sn.epsilon){if(c>n.tau-n.epsilon)m.moveTo(s*(0,n.cos)(u),s*(0,n.sin)(u)),m.arc(0,0,s,u,h,!x),l>n.epsilon&&(m.moveTo(l*(0,n.cos)(h),l*(0,n.sin)(h)),m.arc(0,0,l,h,u,x));else{var C,b,v=u,_=h,k=u,T=h,S=c,w=c,B=g.apply(this,arguments)/2,F=B>n.epsilon&&(o?+o.apply(this,arguments):(0,n.sqrt)(l*l+s*s)),A=(0,n.min)((0,n.abs)(s-l)/2,+i.apply(this,arguments)),L=A,M=A;if(F>n.epsilon){var E=(0,n.asin)(F/l*(0,n.sin)(B)),O=(0,n.asin)(F/s*(0,n.sin)(B));(S-=2*E)>n.epsilon?(E*=x?1:-1,k+=E,T-=E):(S=0,k=T=(u+h)/2),(w-=2*O)>n.epsilon?(O*=x?1:-1,v+=O,_-=O):(w=0,v=_=(u+h)/2)}var I=s*(0,n.cos)(v),D=s*(0,n.sin)(v),N=l*(0,n.cos)(T),z=l*(0,n.sin)(T);if(A>n.epsilon){var q,P=s*(0,n.cos)(_),j=s*(0,n.sin)(_),R=l*(0,n.cos)(k),$=l*(0,n.sin)(k);if(cn.epsilon?M>n.epsilon?(C=f(R,$,I,D,s,M,x),b=f(P,j,N,z,s,M,x),m.moveTo(C.cx+C.x01,C.cy+C.y01),Mn.epsilon&&S>n.epsilon?L>n.epsilon?(C=f(N,z,P,j,l,-L,x),b=f(I,D,R,$,l,-L,x),m.lineTo(C.cx+C.x01,C.cy+C.y01),Lr);function r(t){return function(){return t}}}),a("kDiOX",function(t,i){e(t.exports,"abs",()=>r),e(t.exports,"atan2",()=>n),e(t.exports,"cos",()=>o),e(t.exports,"max",()=>a),e(t.exports,"min",()=>l),e(t.exports,"sin",()=>s),e(t.exports,"sqrt",()=>u),e(t.exports,"epsilon",()=>h),e(t.exports,"pi",()=>c),e(t.exports,"halfPi",()=>f),e(t.exports,"tau",()=>d),e(t.exports,"acos",()=>p),e(t.exports,"asin",()=>g);let r=Math.abs,n=Math.atan2,o=Math.cos,a=Math.max,l=Math.min,s=Math.sin,u=Math.sqrt,h=1e-12,c=Math.PI,f=c/2,d=2*c;function p(t){return t>1?0:t<-1?c:Math.acos(t)}function g(t){return t>=1?f:t<=-1?-f:Math.asin(t)}}),a("7UVQV",function(t,i){e(t.exports,"withPath",()=>n);var r=o("hl2Bj");function n(t){let e=3;return t.digits=function(i){if(!arguments.length)return e;if(null==i)e=null;else{let t=Math.floor(i);if(!(t>=0))throw RangeError(`invalid digits: ${i}`);e=t}return t},()=>new r.Path(e)}}),a("hl2Bj",function(t,i){e(t.exports,"Path",()=>l);let r=Math.PI,n=2*r,o=n-1e-6;function a(t){this._+=t[0];for(let e=1,i=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return a;let i=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e1e-6){if(Math.abs(c*s-u*h)>1e-6&&o){let d=i-a,p=n-l,g=s*s+u*u,m=Math.sqrt(g),y=Math.sqrt(f),x=o*Math.tan((r-Math.acos((g+f-(d*d+p*p))/(2*m*y)))/2),C=x/y,b=x/m;Math.abs(C-1)>1e-6&&this._append`L${t+C*h},${e+C*c}`,this._append`A${o},${o},0,0,${+(c*d>h*p)},${this._x1=t+b*s},${this._y1=e+b*u}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,i,a,l,s){if(t=+t,e=+e,s=!!s,(i=+i)<0)throw Error(`negative radius: ${i}`);let u=i*Math.cos(a),h=i*Math.sin(a),c=t+u,f=e+h,d=1^s,p=s?a-l:l-a;null===this._x1?this._append`M${c},${f}`:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-f)>1e-6)&&this._append`L${c},${f}`,i&&(p<0&&(p=p%n+n),p>o?this._append`A${i},${i},0,1,${d},${t-u},${e-h}A${i},${i},0,1,${d},${this._x1=c},${this._y1=f}`:p>1e-6&&this._append`A${i},${i},0,${+(p>=r)},${d},${this._x1=t+i*Math.cos(l)},${this._y1=e+i*Math.sin(l)}`)}rect(t,e,i,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}l.prototype}),a("6QL1t",function(t,i){function r(t,e,i){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+i)/6)}function n(t){this._context=t}function o(t){return new n(t)}e(t.exports,"point",()=>r),e(t.exports,"Basis",()=>n),e(t.exports,"default",()=>o),n.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:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&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:r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}}),a("2515N",function(t,i){e(t.exports,"default",()=>l);var r=o("9R4F2"),n=o("6QL1t");function a(t){this._context=t}function l(t){return new a(t)}a.prototype={areaStart:r.default,areaEnd:r.default,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)}},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:(0,n.point)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}}),a("9R4F2",function(t,i){e(t.exports,"default",()=>r);function r(){}}),a("e1bEB",function(t,i){e(t.exports,"default",()=>a);var r=o("6QL1t");function n(t){this._context=t}function a(t){return new n(t)}n.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||0!==this._line&&3===this._point)&&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 i=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,n):this._context.moveTo(i,n);break;case 3:this._point=4;default:(0,r.point)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}}),a("gpIrV",function(t,i){e(t.exports,"bumpX",()=>n),e(t.exports,"bumpY",()=>a),o("c0euB");class r{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(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._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function n(t){return new r(t,!0)}function a(t){return new r(t,!1)}}),a("c0euB",function(t,i){e(t.exports,"default",()=>r);function r(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}}),a("l8Mye",function(t,i){e(t.exports,"default",()=>a);var r=o("6QL1t");function n(t,e){this._basis=new r.Basis(t),this._beta=e}n.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var r,n=t[0],o=e[0],a=t[i]-n,l=e[i]-o,s=-1;++s<=i;)r=s/i,this._basis.point(this._beta*t[s]+(1-this._beta)*(n+r*a),this._beta*e[s]+(1-this._beta)*(o+r*l));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var a=function t(e){function i(t){return 1===e?new r.Basis(t):new n(t,e)}return i.beta=function(e){return t(+e)},i}(.85)}),a("hga9n",function(t,i){function r(t,e,i){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-i),t._x2,t._y2)}function n(t,e){this._context=t,this._k=(1-e)/6}e(t.exports,"point",()=>r),e(t.exports,"Cardinal",()=>n),e(t.exports,"default",()=>o),n.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:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&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:r(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o=function t(e){function i(t){return new n(t,e)}return i.tension=function(e){return t(+e)},i}(0)}),a("9XrSP",function(t,i){e(t.exports,"CardinalClosed",()=>a),e(t.exports,"default",()=>l);var r=o("9R4F2"),n=o("hga9n");function a(t,e){this._context=t,this._k=(1-e)/6}a.prototype={areaStart:r.default,areaEnd:r.default,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)}},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:(0,n.point)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var l=function t(e){function i(t){return new a(t,e)}return i.tension=function(e){return t(+e)},i}(0)}),a("dUIyz",function(t,i){e(t.exports,"CardinalOpen",()=>n),e(t.exports,"default",()=>a);var r=o("hga9n");function n(t,e){this._context=t,this._k=(1-e)/6}n.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||0!==this._line&&3===this._point)&&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:(0,r.point)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var a=function t(e){function i(t){return new n(t,e)}return i.tension=function(e){return t(+e)},i}(0)}),a("6FEsA",function(t,i){e(t.exports,"point",()=>a),e(t.exports,"default",()=>s);var r=o("kDiOX"),n=o("hga9n");function a(t,e,i){var n=t._x1,o=t._y1,a=t._x2,l=t._y2;if(t._l01_a>r.epsilon){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,o=(o*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>r.epsilon){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*h+t._x1*t._l23_2a-e*t._l12_2a)/c,l=(l*h+t._y1*t._l23_2a-i*t._l12_2a)/c}t._context.bezierCurveTo(n,o,a,l,t._x2,t._y2)}function l(t,e){this._context=t,this._alpha=e}l.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)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,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:a(this,t,e)}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 s=function t(e){function i(t){return e?new l(t,e):new n.Cardinal(t,0)}return i.alpha=function(e){return t(+e)},i}(.5)}),a("loyNQ",function(t,i){e(t.exports,"default",()=>s);var r=o("9XrSP"),n=o("9R4F2"),a=o("6FEsA");function l(t,e){this._context=t,this._alpha=e}l.prototype={areaStart:n.default,areaEnd:n.default,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)}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,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:(0,a.point)(this,t,e)}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 s=function t(e){function i(t){return e?new l(t,e):new r.CardinalClosed(t,0)}return i.alpha=function(e){return t(+e)},i}(.5)}),a("4tc8L",function(t,i){e(t.exports,"default",()=>l);var r=o("dUIyz"),n=o("6FEsA");function a(t,e){this._context=t,this._alpha=e}a.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||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,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:(0,n.point)(this,t,e)}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 l=function t(e){function i(t){return e?new a(t,e):new r.CardinalOpen(t,0)}return i.alpha=function(e){return t(+e)},i}(.5)}),a("gEcf1",function(t,i){function r(t){this._context=t}function n(t){return new r(t)}e(t.exports,"default",()=>n),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&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)}}}}),a("4CT3t",function(t,i){e(t.exports,"default",()=>a);var r=o("9R4F2");function n(t){this._context=t}function a(t){return new n(t)}n.prototype={areaStart:r.default,areaEnd:r.default,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))}}}),a("hp3ls",function(t,i){function r(t,e,i){var r=t._x1-t._x0,n=e-t._x1,o=(t._y1-t._y0)/(r||n<0&&-0),a=(i-t._y1)/(n||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*n+a*r)/(r+n)))||0}function n(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function o(t,e,i){var r=t._x0,n=t._y0,o=t._x1,a=t._y1,l=(o-r)/3;t._context.bezierCurveTo(r+l,n+l*e,o-l,a-l*i,o,a)}function a(t){this._context=t}function l(t){this._context=new s(t)}function s(t){this._context=t}function u(t){return new a(t)}function h(t){return new l(t)}e(t.exports,"monotoneX",()=>u),e(t.exports,"monotoneY",()=>h),a.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:o(this,this._t0,n(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(e=+e,(t=+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,o(this,n(this,i=r(this,t,e)),i);break;default:o(this,this._t0,i=r(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}},(l.prototype=Object.create(a.prototype)).point=function(t,e){a.prototype.point.call(this,e,t)},s.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,i,r,n,o){this._context.bezierCurveTo(e,t,r,i,o,n)}}}),a("kjPWc",function(t,i){function r(t){this._context=t}function n(t){var e,i,r=t.length-1,n=Array(r),o=Array(r),a=Array(r);for(n[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)n[e]=(a[e]-n[e+1])/o[e];for(e=0,o[r-1]=(t[r]+n[r-1])/2;eo),r.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,i=t.length;if(i){if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===i)this._context.lineTo(t[1],e[1]);else for(var r=n(t),o=n(e),a=0,l=1;ln),e(t.exports,"stepBefore",()=>o),e(t.exports,"stepAfter",()=>a),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=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 i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}}this._x=t,this._y=e}}}),a("5ti2H",function(t,i){e(t.exports,"default",()=>u);var r=o("fh6WC"),n=o("7HXTO"),a=o("gEcf1"),l=o("7UVQV"),s=o("kfOCT");function u(t,e){var i=(0,n.default)(!0),o=null,u=a.default,h=null,c=(0,l.withPath)(f);function f(n){var a,l,s,f=(n=(0,r.default)(n)).length,d=!1;for(null==o&&(h=u(s=c())),a=0;a<=f;++a)!(ar),Array.prototype.slice}),a("kfOCT",function(t,i){function r(t){return t[0]}function n(t){return t[1]}e(t.exports,"x",()=>r),e(t.exports,"y",()=>n)}),a("fo0l5",function(t,i){e(t.exports,"default",()=>u);var r=o("fh6WC"),n=o("7HXTO"),a=o("f5PAg"),l=o("fNubL"),s=o("kDiOX");function u(){var t=l.default,e=a.default,i=null,o=(0,n.default)(0),u=(0,n.default)(s.tau),h=(0,n.default)(0);function c(n){var a,l,c,f,d,p=(n=(0,r.default)(n)).length,g=0,m=Array(p),y=Array(p),x=+o.apply(this,arguments),C=Math.min(s.tau,Math.max(-s.tau,u.apply(this,arguments)-x)),b=Math.min(Math.abs(C)/p,h.apply(this,arguments)),v=b*(C<0?-1:1);for(a=0;a0&&(g+=d);for(null!=e?m.sort(function(t,i){return e(y[t],y[i])}):null!=i&&m.sort(function(t,e){return i(n[t],n[e])}),a=0,c=g?(C-p*v)/g:0;a0?d*c:0)+v,y[l]={data:n[l],index:a,value:d,startAngle:x,endAngle:f,padAngle:b};return y}return c.value=function(e){return arguments.length?(t="function"==typeof e?e:(0,n.default)(+e),c):t},c.sortValues=function(t){return arguments.length?(e=t,i=null,c):e},c.sort=function(t){return arguments.length?(i=t,e=null,c):i},c.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,n.default)(+t),c):o},c.endAngle=function(t){return arguments.length?(u="function"==typeof t?t:(0,n.default)(+t),c):u},c.padAngle=function(t){return arguments.length?(h="function"==typeof t?t:(0,n.default)(+t),c):h},c}}),a("f5PAg",function(t,i){e(t.exports,"default",()=>r);function r(t,e){return et?1:e>=t?0:NaN}}),a("fNubL",function(t,i){e(t.exports,"default",()=>r);function r(t){return t}}),a("fOARq",function(t,i){e(t.exports,"zoom",()=>o("cwuwP").default),o("cwuwP"),o("e3ER1")}),a("cwuwP",function(t,i){e(t.exports,"default",()=>b);var r=o("aFEgl"),n=o("cohyw"),a=o("jAaAF"),l=o("2oxcP"),s=o("hOxpW");o("dxJVY");var u=o("f8M3T"),h=o("6qNlB"),c=o("awhiZ"),f=o("e3ER1"),d=o("fmeOl");function p(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function g(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function m(){return this.__zoom||f.identity}function y(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function x(){return navigator.maxTouchPoints||"ontouchstart"in this}function C(t,e,i){var r=t.invertX(e[0][0])-i[0][0],n=t.invertX(e[1][0])-i[1][0],o=t.invertY(e[0][1])-i[0][1],a=t.invertY(e[1][1])-i[1][1];return t.translate(n>r?(r+n)/2:Math.min(0,r)||Math.max(0,n),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function b(){var t,e,i,o=p,b=g,v=C,_=y,k=x,T=[0,1/0],S=[[-1/0,-1/0],[1/0,1/0]],w=250,B=a.default,F=(0,r.default)("start","zoom","end"),A=0,L=10;function M(t){t.property("__zoom",m).on("wheel.zoom",q,{passive:!1}).on("mousedown.zoom",P).on("dblclick.zoom",j).filter(k).on("touchstart.zoom",R).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",W).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(t,e){return(e=Math.max(T[0],Math.min(T[1],e)))===t.k?t:new f.Transform(e,t.x,t.y)}function O(t,e,i){var r=e[0]-i[0]*t.k,n=e[1]-i[1]*t.k;return r===t.x&&n===t.y?t:new f.Transform(t.k,r,n)}function I(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function D(t,e,i,r){t.on("start.zoom",function(){N(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){N(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,n=N(this,t).event(r),o=b.apply(this,t),a=null==i?I(o):"function"==typeof i?i.apply(this,t):i,l=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),s=this.__zoom,u="function"==typeof e?e.apply(this,t):e,h=B(s.invert(a).concat(l/s.k),u.invert(a).concat(l/u.k));return function(t){if(1===t)t=u;else{var e=h(t),i=l/e[2];t=new f.Transform(i,a[0]-e[0]*i,a[1]-e[1]*i)}n.zoom(null,t)}})}function N(t,e,i){return!i&&t.__zooming||new z(t,e)}function z(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=b.apply(t,e),this.taps=0}function q(t,...e){if(o.apply(this,arguments)){var i=N(this,e).event(t),r=this.__zoom,n=Math.max(T[0],Math.min(T[1],r.k*Math.pow(2,_.apply(this,arguments)))),a=(0,l.default)(t);if(i.wheel)(i.mouse[0][0]!==a[0]||i.mouse[0][1]!==a[1])&&(i.mouse[1]=r.invert(i.mouse[0]=a)),clearTimeout(i.wheel);else{if(r.k===n)return;i.mouse=[a,r.invert(a)],(0,u.default)(this),i.start()}(0,d.default)(t),i.wheel=setTimeout(function(){i.wheel=null,i.end()},150),i.zoom("mouse",v(O(E(r,n),i.mouse[0],i.mouse[1]),i.extent,S))}}function P(t,...e){if(!i&&o.apply(this,arguments)){var r=t.currentTarget,a=N(this,e,!0).event(t),h=(0,s.default)(t.view).on("mousemove.zoom",function(t){if((0,d.default)(t),!a.moved){var e=t.clientX-f,i=t.clientY-p;a.moved=e*e+i*i>A}a.event(t).zoom("mouse",v(O(a.that.__zoom,a.mouse[0]=(0,l.default)(t,r),a.mouse[1]),a.extent,S))},!0).on("mouseup.zoom",function(t){h.on("mousemove.zoom mouseup.zoom",null),(0,n.yesdrag)(t.view,a.moved),(0,d.default)(t),a.event(t).end()},!0),c=(0,l.default)(t,r),f=t.clientX,p=t.clientY;(0,n.default)(t.view),(0,d.nopropagation)(t),a.mouse=[c,this.__zoom.invert(c)],(0,u.default)(this),a.start()}}function j(t,...e){if(o.apply(this,arguments)){var i=this.__zoom,r=(0,l.default)(t.changedTouches?t.changedTouches[0]:t,this),n=i.invert(r),a=i.k*(t.shiftKey?.5:2),u=v(O(E(i,a),r,n),b.apply(this,e),S);(0,d.default)(t),w>0?(0,s.default)(this).transition().duration(w).call(D,u,r,t):(0,s.default)(this).call(M.transform,u,r,t)}}function R(i,...r){if(o.apply(this,arguments)){var n,a,s,h,c=i.touches,f=c.length,p=N(this,r,i.changedTouches.length===f).event(i);for((0,d.nopropagation)(i),a=0;an);var n=function t(e,i,n){function o(t,o){var a,l,s=t[0],u=t[1],h=t[2],c=o[0],f=o[1],d=o[2],p=c-s,g=f-u,m=p*p+g*g;if(m<1e-12)l=Math.log(d/h)/e,a=function(t){return[s+t*p,u+t*g,h*Math.exp(e*t*l)]};else{var y=Math.sqrt(m),x=(d*d-h*h+n*m)/(2*h*i*y),C=(d*d-h*h-n*m)/(2*d*i*y),b=Math.log(Math.sqrt(x*x+1)-x);l=(Math.log(Math.sqrt(C*C+1)-C)-b)/e,a=function(t){var n,o,a=t*l,c=r(b),f=h/(i*y)*(c*(((n=Math.exp(2*(n=e*a+b)))-1)/(n+1))-((o=Math.exp(o=b))-1/o)/2);return[s+f*p,u+f*g,h*c/r(e*a+b)]}}return a.duration=1e3*l*e/Math.SQRT2,a}return o.rho=function(e){var i=Math.max(.001,+e),r=i*i;return t(i,r,r*r)},o}(Math.SQRT2,2,4)}),a("6qNlB",function(t,i){e(t.exports,"default",()=>r);var r=t=>()=>t}),a("awhiZ",function(t,i){e(t.exports,"default",()=>r);function r(t,{sourceEvent:e,target:i,transform:r,dispatch:n}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:n}})}}),a("e3ER1",function(t,i){function r(t,e,i){this.k=t,this.x=e,this.y=i}e(t.exports,"Transform",()=>r),e(t.exports,"identity",()=>n),r.prototype={constructor:r,scale:function(t){return 1===t?this:new r(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new r(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 n=new r(1,0,0);r.prototype}),a("fmeOl",function(t,i){function r(t){t.stopImmediatePropagation()}function n(t){t.preventDefault(),t.stopImmediatePropagation()}e(t.exports,"nopropagation",()=>r),e(t.exports,"default",()=>n)}),a("i8Fxz",function(t,e){var i;t.exports,i=function(){let{entries:t,setPrototypeOf:e,isFrozen:i,getPrototypeOf:r,getOwnPropertyDescriptor:n}=Object,{freeze:o,seal:a,create:l}=Object,{apply:s,construct:u}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),a||(a=function(t){return t}),s||(s=function(t,e,i){return t.apply(e,i)}),u||(u=function(t,e){return new t(...e)});let h=_(Array.prototype.forEach),c=_(Array.prototype.pop),f=_(Array.prototype.push),d=_(String.prototype.toLowerCase),p=_(String.prototype.toString),g=_(String.prototype.match),m=_(String.prototype.replace),y=_(String.prototype.indexOf),x=_(String.prototype.trim),C=_(Object.prototype.hasOwnProperty),b=_(RegExp.prototype.test),v=(U=TypeError,function(){for(var t=arguments.length,e=Array(t),i=0;i1?i-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:d;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){let t=n(e);t!==e&&(i(r)||(r[o]=t),e=t)}t[e]=!0}return t}function T(e){let i=l(null);for(let[r,n]of t(e))C(e,r)&&(Array.isArray(n)?i[r]=function(t){for(let e=0;e/gm),P=a(/\${[\w\W]*}/gm),j=a(/^data-[\-\w.\u00B7-\uFFFF]/),R=a(/^aria-[\-\w]+$/),$=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=a(/^(?:\w+script|data):/i),Y=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H=a(/^html$/i);var U,V=Object.freeze({__proto__:null,MUSTACHE_EXPR:z,ERB_EXPR:q,TMPLIT_EXPR:P,DATA_ATTR:j,ARIA_ATTR:R,IS_ALLOWED_URI:$,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:Y,DOCTYPE_NAME:H,CUSTOM_ELEMENT:a(/^[a-z][.\w]*(-[.\w]+)+$/i)});let X={element:1,text:3,progressingInstruction:7,comment:8,document:9},G=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let i=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(i=e.getAttribute(r));let n="dompurify"+(i?"#"+i:"");try{return t.createPolicy(n,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function e(){let i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=t=>e(t);if(n.version="3.1.6",n.removed=[],!r||!r.document||r.document.nodeType!==X.document)return n.isSupported=!1,n;let{document:a}=r,s=a,u=s.currentScript,{DocumentFragment:_,HTMLTemplateElement:z,Node:q,Element:P,NodeFilter:j,NamedNodeMap:R=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:W,DOMParser:Y,trustedTypes:U}=r,Z=P.prototype,Q=S(Z,"cloneNode"),J=S(Z,"remove"),K=S(Z,"nextSibling"),tt=S(Z,"childNodes"),te=S(Z,"parentNode");if("function"==typeof z){let t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let ti="",{implementation:tr,createNodeIterator:tn,createDocumentFragment:to,getElementsByTagName:ta}=a,{importNode:tl}=s,ts={};n.isSupported="function"==typeof t&&"function"==typeof te&&tr&&void 0!==tr.createHTMLDocument;let{MUSTACHE_EXPR:tu,ERB_EXPR:th,TMPLIT_EXPR:tc,DATA_ATTR:tf,ARIA_ATTR:td,IS_SCRIPT_OR_DATA:tp,ATTR_WHITESPACE:tg,CUSTOM_ELEMENT:tm}=V,{IS_ALLOWED_URI:ty}=V,tx=null,tC=k({},[...w,...B,...F,...L,...E]),tb=null,tv=k({},[...O,...I,...D,...N]),t_=Object.seal(l(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}})),tk=null,tT=null,tS=!0,tw=!0,tB=!1,tF=!0,tA=!1,tL=!0,tM=!1,tE=!1,tO=!1,tI=!1,tD=!1,tN=!1,tz=!0,tq=!1,tP=!0,tj=!1,tR={},t$=null,tW=k({},["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"]),tY=null,tH=k({},["audio","video","img","source","image","track"]),tU=null,tV=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tX="http://www.w3.org/1998/Math/MathML",tG="http://www.w3.org/2000/svg",tZ="http://www.w3.org/1999/xhtml",tQ=tZ,tJ=!1,tK=null,t0=k({},[tX,tG,tZ],p),t1=null,t2=["application/xhtml+xml","text/html"],t5=null,t3=null,t4=a.createElement("form"),t6=function(t){return t instanceof RegExp||t instanceof Function},t8=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t3||t3!==t){if(t&&"object"==typeof t||(t={}),t=T(t),t5="application/xhtml+xml"===(t1=-1===t2.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?p:d,tx=C(t,"ALLOWED_TAGS")?k({},t.ALLOWED_TAGS,t5):tC,tb=C(t,"ALLOWED_ATTR")?k({},t.ALLOWED_ATTR,t5):tv,tK=C(t,"ALLOWED_NAMESPACES")?k({},t.ALLOWED_NAMESPACES,p):t0,tU=C(t,"ADD_URI_SAFE_ATTR")?k(T(tV),t.ADD_URI_SAFE_ATTR,t5):tV,tY=C(t,"ADD_DATA_URI_TAGS")?k(T(tH),t.ADD_DATA_URI_TAGS,t5):tH,t$=C(t,"FORBID_CONTENTS")?k({},t.FORBID_CONTENTS,t5):tW,tk=C(t,"FORBID_TAGS")?k({},t.FORBID_TAGS,t5):{},tT=C(t,"FORBID_ATTR")?k({},t.FORBID_ATTR,t5):{},tR=!!C(t,"USE_PROFILES")&&t.USE_PROFILES,tS=!1!==t.ALLOW_ARIA_ATTR,tw=!1!==t.ALLOW_DATA_ATTR,tB=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tF=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tA=t.SAFE_FOR_TEMPLATES||!1,tL=!1!==t.SAFE_FOR_XML,tM=t.WHOLE_DOCUMENT||!1,tI=t.RETURN_DOM||!1,tD=t.RETURN_DOM_FRAGMENT||!1,tN=t.RETURN_TRUSTED_TYPE||!1,tO=t.FORCE_BODY||!1,tz=!1!==t.SANITIZE_DOM,tq=t.SANITIZE_NAMED_PROPS||!1,tP=!1!==t.KEEP_CONTENT,tj=t.IN_PLACE||!1,ty=t.ALLOWED_URI_REGEXP||$,tQ=t.NAMESPACE||tZ,t_=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&t6(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(t_.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&t6(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(t_.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(t_.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tA&&(tw=!1),tD&&(tI=!0),tR&&(tx=k({},E),tb=[],!0===tR.html&&(k(tx,w),k(tb,O)),!0===tR.svg&&(k(tx,B),k(tb,I),k(tb,N)),!0===tR.svgFilters&&(k(tx,F),k(tb,I),k(tb,N)),!0===tR.mathMl&&(k(tx,L),k(tb,D),k(tb,N))),t.ADD_TAGS&&(tx===tC&&(tx=T(tx)),k(tx,t.ADD_TAGS,t5)),t.ADD_ATTR&&(tb===tv&&(tb=T(tb)),k(tb,t.ADD_ATTR,t5)),t.ADD_URI_SAFE_ATTR&&k(tU,t.ADD_URI_SAFE_ATTR,t5),t.FORBID_CONTENTS&&(t$===tW&&(t$=T(t$)),k(t$,t.FORBID_CONTENTS,t5)),tP&&(tx["#text"]=!0),tM&&k(tx,["html","head","body"]),tx.table&&(k(tx,["tbody"]),delete tk.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ti=(i=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===i&&(i=G(U,u)),null!==i&&"string"==typeof ti&&(ti=i.createHTML(""));o&&o(t),t3=t}},t9=k({},["mi","mo","mn","ms","mtext"]),t7=k({},["foreignobject","annotation-xml"]),et=k({},["title","style","font","a","script"]),ee=k({},[...B,...F,...A]),ei=k({},[...L,...M]),er=function(t){let e=te(t);e&&e.tagName||(e={namespaceURI:tQ,tagName:"template"});let i=d(t.tagName),r=d(e.tagName);return!!tK[t.namespaceURI]&&(t.namespaceURI===tG?e.namespaceURI===tZ?"svg"===i:e.namespaceURI===tX?"svg"===i&&("annotation-xml"===r||t9[r]):!!ee[i]:t.namespaceURI===tX?e.namespaceURI===tZ?"math"===i:e.namespaceURI===tG?"math"===i&&t7[r]:!!ei[i]:t.namespaceURI===tZ?(e.namespaceURI!==tG||!!t7[r])&&(e.namespaceURI!==tX||!!t9[r])&&!ei[i]&&(et[i]||!ee[i]):"application/xhtml+xml"===t1&&!!tK[t.namespaceURI])},en=function(t){f(n.removed,{element:t});try{te(t).removeChild(t)}catch(e){J(t)}},eo=function(t,e){try{f(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!tb[t]){if(tI||tD)try{en(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},ea=function(t){let e=null,r=null;if(tO)t=""+t;else{let e=g(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===t1&&tQ===tZ&&(t=''+t+"");let n=i?i.createHTML(t):t;if(tQ===tZ)try{e=new Y().parseFromString(n,t1)}catch(t){}if(!e||!e.documentElement){e=tr.createDocument(tQ,"template",null);try{e.documentElement.innerHTML=tJ?ti:n}catch(t){}}let o=e.body||e.documentElement;return(t&&r&&o.insertBefore(a.createTextNode(r),o.childNodes[0]||null),tQ===tZ)?ta.call(e,tM?"html":"body")[0]:tM?e.documentElement:o},el=function(t){return tn.call(t.ownerDocument||t,t,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},es=function(t){return t instanceof W&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof R)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},eu=function(t){return"function"==typeof q&&t instanceof q},eh=function(t,e,i){ts[t]&&h(ts[t],t=>{t.call(n,e,i,t3)})},ec=function(t){let e=null;if(eh("beforeSanitizeElements",t,null),es(t))return en(t),!0;let i=t5(t.nodeName);if(eh("uponSanitizeElement",t,{tagName:i,allowedTags:tx}),t.hasChildNodes()&&!eu(t.firstElementChild)&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent)||t.nodeType===X.progressingInstruction||tL&&t.nodeType===X.comment&&b(/<[/\w]/g,t.data))return en(t),!0;if(!tx[i]||tk[i]){if(!tk[i]&&ed(i)&&(t_.tagNameCheck instanceof RegExp&&b(t_.tagNameCheck,i)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(i)))return!1;if(tP&&!t$[i]){let e=te(t)||t.parentNode,i=tt(t)||t.childNodes;if(i&&e){let r=i.length;for(let n=r-1;n>=0;--n){let r=Q(i[n],!0);r.__removalCount=(t.__removalCount||0)+1,e.insertBefore(r,K(t))}}}return en(t),!0}return t instanceof P&&!er(t)||("noscript"===i||"noembed"===i||"noframes"===i)&&b(/<\/no(script|embed|frames)/i,t.innerHTML)?(en(t),!0):(tA&&t.nodeType===X.text&&(e=t.textContent,h([tu,th,tc],t=>{e=m(e,t," ")}),t.textContent!==e&&(f(n.removed,{element:t.cloneNode()}),t.textContent=e)),eh("afterSanitizeElements",t,null),!1)},ef=function(t,e,i){if(tz&&("id"===e||"name"===e)&&(i in a||i in t4))return!1;if(tw&&!tT[e]&&b(tf,e));else if(tS&&b(td,e));else if(!tb[e]||tT[e]){if(!(ed(t)&&(t_.tagNameCheck instanceof RegExp&&b(t_.tagNameCheck,t)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(t))&&(t_.attributeNameCheck instanceof RegExp&&b(t_.attributeNameCheck,e)||t_.attributeNameCheck instanceof Function&&t_.attributeNameCheck(e))||"is"===e&&t_.allowCustomizedBuiltInElements&&(t_.tagNameCheck instanceof RegExp&&b(t_.tagNameCheck,i)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(i))))return!1}else if(tU[e]);else if(b(ty,m(i,tg,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===y(i,"data:")&&tY[t]);else if(tB&&!b(tp,m(i,tg,"")));else if(i)return!1;return!0},ed=function(t){return"annotation-xml"!==t&&g(t,tm)},ep=function(t){eh("beforeSanitizeAttributes",t,null);let{attributes:e}=t;if(!e)return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tb},o=e.length;for(;o--;){let{name:a,namespaceURI:l,value:s}=e[o],u=t5(a),f="value"===a?s:x(s);if(r.attrName=u,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,eh("uponSanitizeAttribute",t,r),f=r.attrValue,tL&&b(/((--!?|])>)|<\/(style|title)/i,f)){eo(a,t);continue}if(r.forceKeepAttr||(eo(a,t),!r.keepAttr))continue;if(!tF&&b(/\/>/i,f)){eo(a,t);continue}tA&&h([tu,th,tc],t=>{f=m(f,t," ")});let d=t5(t.nodeName);if(ef(d,u,f)){if(tq&&("id"===u||"name"===u)&&(eo(a,t),f="user-content-"+f),i&&"object"==typeof U&&"function"==typeof U.getAttributeType){if(l);else switch(U.getAttributeType(d,u)){case"TrustedHTML":f=i.createHTML(f);break;case"TrustedScriptURL":f=i.createScriptURL(f)}}try{l?t.setAttributeNS(l,a,f):t.setAttribute(a,f),es(t)?en(t):c(n.removed)}catch(t){}}}eh("afterSanitizeAttributes",t,null)},eg=function t(e){let i=null,r=el(e);for(eh("beforeSanitizeShadowDOM",e,null);i=r.nextNode();)eh("uponSanitizeShadowNode",i,null),ec(i)||(i.content instanceof _&&t(i.content),ep(i));eh("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if((tJ=!t)&&(t=""),"string"!=typeof t&&!eu(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}else throw v("toString is not a function")}if(!n.isSupported)return t;if(tE||t8(e),n.removed=[],"string"==typeof t&&(tj=!1),tj){if(t.nodeName){let e=t5(t.nodeName);if(!tx[e]||tk[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof q)(o=(r=ea("")).ownerDocument.importNode(t,!0)).nodeType===X.element&&"BODY"===o.nodeName?r=o:"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!tI&&!tA&&!tM&&-1===t.indexOf("<"))return i&&tN?i.createHTML(t):t;if(!(r=ea(t)))return tI?null:tN?ti:""}r&&tO&&en(r.firstChild);let u=el(tj?t:r);for(;a=u.nextNode();)ec(a)||(a.content instanceof _&&eg(a.content),ep(a));if(tj)return t;if(tI){if(tD)for(l=to.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(tb.shadowroot||tb.shadowrootmode)&&(l=tl.call(s,l,!0)),l}let c=tM?r.outerHTML:r.innerHTML;return tM&&tx["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&b(H,r.ownerDocument.doctype.name)&&(c="\n"+c),tA&&h([tu,th,tc],t=>{c=m(c,t," ")}),i&&tN?i.createHTML(c):c},n.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t8(t),tE=!0},n.clearConfig=function(){t3=null,tE=!1},n.isValidAttribute=function(t,e,i){return t3||t8({}),ef(t5(t),t5(e),i)},n.addHook=function(t,e){"function"==typeof e&&(ts[t]=ts[t]||[],f(ts[t],e))},n.removeHook=function(t){if(ts[t])return c(ts[t])},n.removeHooks=function(t){ts[t]&&(ts[t]=[])},n.removeAllHooks=function(){ts={}},n}()},t.exports=i()}),a("7Mv8O",function(t,i){e(t.exports,"default",()=>a);var r=o("9VYra"),n=o("fQvWs"),a=(t,e)=>{let i=(0,r.default).parse(t),o={};for(let t in e)e[t]&&(o[t]=i[t]+e[t]);return(0,n.default)(t,o)}}),a("9VYra",function(t,i){e(t.exports,"default",()=>u);var r=o("dBA8d"),n=o("92mV1"),a=o("7cJQd"),l=o("2sFbK"),s=o("16gY4"),u={format:{keyword:a.default,hex:r.default,rgb:l.default,rgba:l.default,hsl:n.default,hsla:n.default},parse:t=>{if("string"!=typeof t)return t;let e=(0,r.default).parse(t)||(0,l.default).parse(t)||(0,n.default).parse(t)||(0,a.default).parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(s.TYPE.HSL)||void 0===t.data.r?(0,n.default).stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?(0,r.default).stringify(t):(0,l.default).stringify(t)}}),a("dBA8d",function(t,i){e(t.exports,"default",()=>l);var r=o("brwIY"),n=o("16gY4");let a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(a.re);if(!e)return;let i=e[1],n=parseInt(i,16),o=i.length,l=o%4==0,s=o>4,u=s?1:17,h=s?8:4,c=l?0:-1,f=s?255:15;return(0,r.default).set({r:(n>>h*(c+3)&f)*u,g:(n>>h*(c+2)&f)*u,b:(n>>h*(c+1)&f)*u,a:l?(n&f)*u/255:1},t)},stringify:t=>{let{r:e,g:i,b:r,a:o}=t;return o<1?`#${n.DEC2HEX[Math.round(e)]}${n.DEC2HEX[Math.round(i)]}${n.DEC2HEX[Math.round(r)]}${n.DEC2HEX[Math.round(255*o)]}`:`#${n.DEC2HEX[Math.round(e)]}${n.DEC2HEX[Math.round(i)]}${n.DEC2HEX[Math.round(r)]}`}};var l=a}),a("brwIY",function(t,i){e(t.exports,"default",()=>r);var r=new(o("frf5R")).default({r:0,g:0,b:0,a:0},"transparent")}),a("frf5R",function(t,i){e(t.exports,"default",()=>l);var r=o("i9He5"),n=o("lF5fw"),a=o("16gY4"),l=class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new n.default}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=a.TYPE.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:i,l:n}=t;void 0===e&&(t.h=(0,r.default).channel.rgb2hsl(t,"h")),void 0===i&&(t.s=(0,r.default).channel.rgb2hsl(t,"s")),void 0===n&&(t.l=(0,r.default).channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:i,b:n}=t;void 0===e&&(t.r=(0,r.default).channel.hsl2rgb(t,"r")),void 0===i&&(t.g=(0,r.default).channel.hsl2rgb(t,"g")),void 0===n&&(t.b=(0,r.default).channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(a.TYPE.HSL)||void 0===e?(this._ensureHSL(),(0,r.default).channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(a.TYPE.HSL)||void 0===e?(this._ensureHSL(),(0,r.default).channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(a.TYPE.HSL)||void 0===e?(this._ensureHSL(),(0,r.default).channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(a.TYPE.RGB)||void 0===e?(this._ensureRGB(),(0,r.default).channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(a.TYPE.RGB)||void 0===e?(this._ensureRGB(),(0,r.default).channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(a.TYPE.RGB)||void 0===e?(this._ensureRGB(),(0,r.default).channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(a.TYPE.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(a.TYPE.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(a.TYPE.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(a.TYPE.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(a.TYPE.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(a.TYPE.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}}),a("i9He5",function(t,i){e(t.exports,"default",()=>l);var r=o("6GOKv"),n=o("9tLmx"),a=o("jIhm9"),l={channel:r.default,lang:n.default,unit:a.default}}),a("6GOKv",function(t,i){e(t.exports,"default",()=>n);let r={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,i)=>(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t,hsl2rgb:({h:t,s:e,l:i},n)=>{if(!e)return 2.55*i;t/=360,e/=100;let o=(i/=100)<.5?i*(1+e):i+e-i*e,a=2*i-o;switch(n){case"r":return 255*r.hue2rgb(a,o,t+1/3);case"g":return 255*r.hue2rgb(a,o,t);case"b":return 255*r.hue2rgb(a,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:i},r)=>{let n=Math.max(t/=255,e/=255,i/=255),o=Math.min(t,e,i),a=(n+o)/2;if("l"===r)return 100*a;if(n===o)return 0;let l=n-o;if("s"===r)return 100*(a>.5?l/(2-n-o):l/(n+o));switch(n){case t:return((e-i)/l+(er);var r={clamp:(t,e,i)=>e>i?Math.min(e,Math.max(i,t)):Math.min(i,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10}}),a("jIhm9",function(t,i){e(t.exports,"default",()=>r);var r={dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}),a("lF5fw",function(t,i){e(t.exports,"default",()=>n);var r=o("16gY4"),n=class{constructor(){this.type=r.TYPE.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=r.TYPE.ALL}is(t){return this.type===t}}}),a("16gY4",function(t,i){e(t.exports,"DEC2HEX",()=>n),e(t.exports,"TYPE",()=>a);var r=o("i9He5");let n={};for(let t=0;t<=255;t++)n[t]=(0,r.default).unit.dec2hex(t);let a={ALL:0,RGB:1,HSL:2}}),a("92mV1",function(t,i){e(t.exports,"default",()=>l);var r=o("i9He5"),n=o("brwIY");let a={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(a.hueRe);if(e){let[,t,i]=e;switch(i){case"grad":return(0,r.default).channel.clamp.h(.9*parseFloat(t));case"rad":return(0,r.default).channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return(0,r.default).channel.clamp.h(360*parseFloat(t))}}return(0,r.default).channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let i=t.match(a.re);if(!i)return;let[,o,l,s,u,h]=i;return(0,n.default).set({h:a._hue2deg(o),s:(0,r.default).channel.clamp.s(parseFloat(l)),l:(0,r.default).channel.clamp.l(parseFloat(s)),a:u?(0,r.default).channel.clamp.a(h?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{let{h:e,s:i,l:n,a:o}=t;return o<1?`hsla(${(0,r.default).lang.round(e)}, ${(0,r.default).lang.round(i)}%, ${(0,r.default).lang.round(n)}%, ${o})`:`hsl(${(0,r.default).lang.round(e)}, ${(0,r.default).lang.round(i)}%, ${(0,r.default).lang.round(n)}%)`}};var l=a}),a("7cJQd",function(t,i){e(t.exports,"default",()=>a);var r=o("dBA8d");let n={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=n.colors[t];if(e)return(0,r.default).parse(e)},stringify:t=>{let e=(0,r.default).stringify(t);for(let t in n.colors)if(n.colors[t]===e)return t}};var a=n}),a("2sFbK",function(t,i){e(t.exports,"default",()=>l);var r=o("i9He5"),n=o("brwIY");let a={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(114!==e&&82!==e)return;let i=t.match(a.re);if(!i)return;let[,o,l,s,u,h,c,f,d]=i;return(0,n.default).set({r:(0,r.default).channel.clamp.r(l?2.55*parseFloat(o):parseFloat(o)),g:(0,r.default).channel.clamp.g(u?2.55*parseFloat(s):parseFloat(s)),b:(0,r.default).channel.clamp.b(c?2.55*parseFloat(h):parseFloat(h)),a:f?(0,r.default).channel.clamp.a(d?parseFloat(f)/100:parseFloat(f)):1},t)},stringify:t=>{let{r:e,g:i,b:n,a:o}=t;return o<1?`rgba(${(0,r.default).lang.round(e)}, ${(0,r.default).lang.round(i)}, ${(0,r.default).lang.round(n)}, ${(0,r.default).lang.round(o)})`:`rgb(${(0,r.default).lang.round(e)}, ${(0,r.default).lang.round(i)}, ${(0,r.default).lang.round(n)})`}};var l=a}),a("fQvWs",function(t,i){e(t.exports,"default",()=>a);var r=o("i9He5"),n=o("9VYra"),a=(t,e)=>{let i=(0,n.default).parse(t);for(let t in e)i[t]=(0,r.default).channel.clamp[t](e[t]);return(0,n.default).stringify(i)}}),a("c94qS",function(t,i){e(t.exports,"default",()=>n);var r=o("23Q7e"),n=(t,e)=>(0,r.default)(t,"l",-e)}),a("23Q7e",function(t,i){e(t.exports,"default",()=>a);var r=o("i9He5"),n=o("9VYra"),a=(t,e,i)=>{let o=(0,n.default).parse(t),a=o[e],l=(0,r.default).channel.clamp[e](a+i);return a!==l&&(o[e]=l),(0,n.default).stringify(o)}}),a("1LW8F",function(t,i){e(t.exports,"default",()=>a);var r=o("9VYra"),n=o("9L03X"),a=(t,e=100)=>{let i=(0,r.default).parse(t);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,(0,n.default)(i,t,e)}}),a("9L03X",function(t,i){e(t.exports,"default",()=>a);var r=o("9VYra"),n=o("b1Vti"),a=(t,e,i=50)=>{let{r:o,g:a,b:l,a:s}=(0,r.default).parse(t),{r:u,g:h,b:c,a:f}=(0,r.default).parse(e),d=i/100,p=2*d-1,g=s-f,m=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,y=1-m;return(0,n.default)(o*m+u*y,a*m+h*y,l*m+c*y,s*d+f*(1-d))}}),a("b1Vti",function(t,i){e(t.exports,"default",()=>s);var r=o("i9He5"),n=o("brwIY"),a=o("9VYra"),l=o("fQvWs"),s=(t,e,i=0,o=1)=>{if("number"!=typeof t)return(0,l.default)(t,{a:e});let s=(0,n.default).set({r:(0,r.default).channel.clamp.r(t),g:(0,r.default).channel.clamp.g(e),b:(0,r.default).channel.clamp.b(i),a:(0,r.default).channel.clamp.a(o)});return(0,a.default).stringify(s)}}),a("75Ue8",function(t,i){e(t.exports,"default",()=>n);var r=o("aKyob"),n=t=>!(0,r.default)(t)}),a("aKyob",function(t,i){e(t.exports,"default",()=>n);var r=o("4unen"),n=t=>(0,r.default)(t)>=.5}),a("4unen",function(t,i){e(t.exports,"default",()=>a);var r=o("i9He5"),n=o("9VYra"),a=t=>{let{r:e,g:i,b:o}=(0,n.default).parse(t),a=.2126*(0,r.default).channel.toLinear(e)+.7152*(0,r.default).channel.toLinear(i)+.0722*(0,r.default).channel.toLinear(o);return(0,r.default).lang.round(a)}}),a("1Ez1E",function(t,i){e(t.exports,"default",()=>n);var r=o("23Q7e"),n=(t,e)=>(0,r.default)(t,"l",e)}),a("e21Zk",function(t,i){e(t.exports,"default",()=>a);var r=o("7n3PR");function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var i=function(){var r=arguments,n=e?e.apply(this,r):r[0],o=i.cache;if(o.has(n))return o.get(n);var a=t.apply(this,r);return i.cache=o.set(n,a)||o,a};return i.cache=new(n.Cache||r.default),i}n.Cache=r.default;var a=n}),a("7n3PR",function(t,i){e(t.exports,"default",()=>h);var r=o("bAMUC"),n=o("56mPM"),a=o("428kg"),l=o("jYsb1"),s=o("5XP4x");function u(t){var e=-1,i=null==t?0:t.length;for(this.clear();++el);var r=o("lSo3Y"),n=o("kVnfZ"),a=o("fs3H6"),l=function(){this.size=0,this.__data__={hash:new r.default,map:new(a.default||n.default),string:new r.default}}}),a("lSo3Y",function(t,i){e(t.exports,"default",()=>h);var r=o("kTYGm"),n=o("3NrNW"),a=o("lyGZN"),l=o("lMA2G"),s=o("aKknX");function u(t){var e=-1,i=null==t?0:t.length;for(this.clear();++en);var r=o("cbYyv"),n=function(){this.__data__=r.default?(0,r.default)(null):{},this.size=0}}),a("cbYyv",function(t,i){e(t.exports,"default",()=>r);var r=(0,o("jLT9P").default)(Object,"create")}),a("jLT9P",function(t,i){e(t.exports,"default",()=>a);var r=o("hJ8AQ"),n=o("b0QTV"),a=function(t,e){var i=(0,n.default)(t,e);return(0,r.default)(i)?i:void 0}}),a("hJ8AQ",function(t,i){e(t.exports,"default",()=>d);var r=o("4VY3C"),n=o("fMWvx"),a=o("iYDsF"),l=o("5bfPQ"),s=/^\[object .+?Constructor\]$/,u=Object.prototype,h=Function.prototype.toString,c=u.hasOwnProperty,f=RegExp("^"+h.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),d=function(t){return!(!(0,a.default)(t)||(0,n.default)(t))&&((0,r.default)(t)?f:s).test((0,l.default)(t))}}),a("4VY3C",function(t,i){e(t.exports,"default",()=>a);var r=o("hArsG"),n=o("iYDsF"),a=function(t){if(!(0,n.default)(t))return!1;var e=(0,r.default)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}}),a("hArsG",function(t,i){e(t.exports,"default",()=>s);var r=o("kRxPv"),n=o("7IZ3R"),a=o("cIkDx"),l=r.default?r.default.toStringTag:void 0,s=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?(0,n.default)(t):(0,a.default)(t)}}),a("kRxPv",function(t,i){e(t.exports,"default",()=>r);var r=o("2mpFt").default.Symbol}),a("2mpFt",function(t,i){e(t.exports,"default",()=>a);var r=o("4kWvg"),n="object"==typeof self&&self&&self.Object===Object&&self,a=r.default||n||Function("return this")()}),a("4kWvg",function(t,r){e(t.exports,"default",()=>n);var n="object"==typeof i&&i&&i.Object===Object&&i}),a("7IZ3R",function(t,i){e(t.exports,"default",()=>u);var r=o("kRxPv"),n=Object.prototype,a=n.hasOwnProperty,l=n.toString,s=r.default?r.default.toStringTag:void 0,u=function(t){var e=a.call(t,s),i=t[s];try{t[s]=void 0;var r=!0}catch(t){}var n=l.call(t);return r&&(e?t[s]=i:delete t[s]),n}}),a("cIkDx",function(t,i){e(t.exports,"default",()=>n);var r=Object.prototype.toString,n=function(t){return r.call(t)}}),a("iYDsF",function(t,i){e(t.exports,"default",()=>r);var r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}}),a("fMWvx",function(t,i){e(t.exports,"default",()=>l);var r,n=o("gsGrt"),a=(r=/[^.]+$/.exec(n.default&&n.default.keys&&n.default.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",l=function(t){return!!a&&a in t}}),a("gsGrt",function(t,i){e(t.exports,"default",()=>r);var r=o("2mpFt").default["__core-js_shared__"]}),a("5bfPQ",function(t,i){e(t.exports,"default",()=>n);var r=Function.prototype.toString,n=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}}),a("b0QTV",function(t,i){e(t.exports,"default",()=>r);var r=function(t,e){return null==t?void 0:t[e]}}),a("3NrNW",function(t,i){e(t.exports,"default",()=>r);var r=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}}),a("lyGZN",function(t,i){e(t.exports,"default",()=>a);var r=o("cbYyv"),n=Object.prototype.hasOwnProperty,a=function(t){var e=this.__data__;if(r.default){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return n.call(e,t)?e[t]:void 0}}),a("lMA2G",function(t,i){e(t.exports,"default",()=>a);var r=o("cbYyv"),n=Object.prototype.hasOwnProperty,a=function(t){var e=this.__data__;return r.default?void 0!==e[t]:n.call(e,t)}}),a("aKknX",function(t,i){e(t.exports,"default",()=>n);var r=o("cbYyv"),n=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=r.default&&void 0===e?"__lodash_hash_undefined__":e,this}}),a("kVnfZ",function(t,i){e(t.exports,"default",()=>h);var r=o("htx5f"),n=o("dEGYX"),a=o("eiOY8"),l=o("5yv8I"),s=o("67Adw");function u(t){var e=-1,i=null==t?0:t.length;for(this.clear();++er);var r=function(){this.__data__=[],this.size=0}}),a("dEGYX",function(t,i){e(t.exports,"default",()=>a);var r=o("eWSnX"),n=Array.prototype.splice,a=function(t){var e=this.__data__,i=(0,r.default)(e,t);return!(i<0)&&(i==e.length-1?e.pop():n.call(e,i,1),--this.size,!0)}}),a("eWSnX",function(t,i){e(t.exports,"default",()=>n);var r=o("lvgV1"),n=function(t,e){for(var i=t.length;i--;)if((0,r.default)(t[i][0],e))return i;return -1}}),a("lvgV1",function(t,i){e(t.exports,"default",()=>r);var r=function(t,e){return t===e||t!=t&&e!=e}}),a("eiOY8",function(t,i){e(t.exports,"default",()=>n);var r=o("eWSnX"),n=function(t){var e=this.__data__,i=(0,r.default)(e,t);return i<0?void 0:e[i][1]}}),a("5yv8I",function(t,i){e(t.exports,"default",()=>n);var r=o("eWSnX"),n=function(t){return(0,r.default)(this.__data__,t)>-1}}),a("67Adw",function(t,i){e(t.exports,"default",()=>n);var r=o("eWSnX"),n=function(t,e){var i=this.__data__,n=(0,r.default)(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this}}),a("fs3H6",function(t,i){e(t.exports,"default",()=>a);var r=o("jLT9P"),n=o("2mpFt"),a=(0,r.default)(n.default,"Map")}),a("56mPM",function(t,i){e(t.exports,"default",()=>n);var r=o("9vBNU"),n=function(t){var e=(0,r.default)(this,t).delete(t);return this.size-=e?1:0,e}}),a("9vBNU",function(t,i){e(t.exports,"default",()=>n);var r=o("4WJzL"),n=function(t,e){var i=t.__data__;return(0,r.default)(e)?i["string"==typeof e?"string":"hash"]:i.map}}),a("4WJzL",function(t,i){e(t.exports,"default",()=>r);var r=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}}),a("428kg",function(t,i){e(t.exports,"default",()=>n);var r=o("9vBNU"),n=function(t){return(0,r.default)(this,t).get(t)}}),a("jYsb1",function(t,i){e(t.exports,"default",()=>n);var r=o("9vBNU"),n=function(t){return(0,r.default)(this,t).has(t)}}),a("5XP4x",function(t,i){e(t.exports,"default",()=>n);var r=o("9vBNU"),n=function(t,e){var i=(0,r.default)(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this}}),a("gocXo",function(t,i){e(t.exports,"default",()=>n);var r=o("e7Bvs"),n=(0,o("12iDD").default)(function(t,e,i){(0,r.default)(t,e,i)})}),a("e7Bvs",function(t,i){e(t.exports,"default",()=>c);var r=o("9WjpT"),n=o("hZfii"),a=o("RlazS"),l=o("f8n0l"),s=o("iYDsF"),u=o("ceNjR"),h=o("JLSCP"),c=function t(e,i,o,c,f){e!==i&&(0,a.default)(i,function(a,u){if(f||(f=new r.default),(0,s.default)(a))(0,l.default)(e,i,u,o,t,c,f);else{var d=c?c((0,h.default)(e,u),a,u+"",e,i,f):void 0;void 0===d&&(d=a),(0,n.default)(e,u,d)}},u.default)}}),a("9WjpT",function(t,i){e(t.exports,"default",()=>c);var r=o("kVnfZ"),n=o("czhOX"),a=o("5QEPI"),l=o("lwDUG"),s=o("b5lTf"),u=o("i8OSr");function h(t){var e=this.__data__=new r.default(t);this.size=e.size}h.prototype.clear=n.default,h.prototype.delete=a.default,h.prototype.get=l.default,h.prototype.has=s.default,h.prototype.set=u.default;var c=h}),a("czhOX",function(t,i){e(t.exports,"default",()=>n);var r=o("kVnfZ"),n=function(){this.__data__=new r.default,this.size=0}}),a("5QEPI",function(t,i){e(t.exports,"default",()=>r);var r=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}}),a("lwDUG",function(t,i){e(t.exports,"default",()=>r);var r=function(t){return this.__data__.get(t)}}),a("b5lTf",function(t,i){e(t.exports,"default",()=>r);var r=function(t){return this.__data__.has(t)}}),a("i8OSr",function(t,i){e(t.exports,"default",()=>l);var r=o("kVnfZ"),n=o("fs3H6"),a=o("7n3PR"),l=function(t,e){var i=this.__data__;if(i instanceof r.default){var o=i.__data__;if(!n.default||o.length<199)return o.push([t,e]),this.size=++i.size,this;i=this.__data__=new a.default(o)}return i.set(t,e),this.size=i.size,this}}),a("hZfii",function(t,i){e(t.exports,"default",()=>a);var r=o("dLTlW"),n=o("lvgV1"),a=function(t,e,i){(void 0===i||(0,n.default)(t[e],i))&&(void 0!==i||e in t)||(0,r.default)(t,e,i)}}),a("dLTlW",function(t,i){e(t.exports,"default",()=>n);var r=o("1RMjB"),n=function(t,e,i){"__proto__"==e&&r.default?(0,r.default)(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}}),a("1RMjB",function(t,i){e(t.exports,"default",()=>n);var r=o("jLT9P"),n=function(){try{var t=(0,r.default)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()}),a("RlazS",function(t,i){e(t.exports,"default",()=>r);var r=(0,o("XI7zJ").default)()}),a("XI7zJ",function(t,i){e(t.exports,"default",()=>r);var r=function(t){return function(e,i,r){for(var n=-1,o=Object(e),a=r(e),l=a.length;l--;){var s=a[t?l:++n];if(!1===i(o[s],s,o))break}return e}}}),a("f8n0l",function(t,i){e(t.exports,"default",()=>C);var r=o("hZfii"),n=o("gqoYg"),a=o("40E9j"),l=o("jXStN"),s=o("7lgl7"),u=o("5VdmZ"),h=o("hf0C9"),c=o("8Y2y0"),f=o("f3ZL4"),d=o("4VY3C"),p=o("iYDsF"),g=o("3rtvu"),m=o("cmTeE"),y=o("JLSCP"),x=o("YMsfP"),C=function(t,e,i,o,C,b,v){var _=(0,y.default)(t,i),k=(0,y.default)(e,i),T=v.get(k);if(T){(0,r.default)(t,i,T);return}var S=b?b(_,k,i+"",t,e,v):void 0,w=void 0===S;if(w){var B=(0,h.default)(k),F=!B&&(0,f.default)(k),A=!B&&!F&&(0,m.default)(k);S=k,B||F||A?(0,h.default)(_)?S=_:(0,c.default)(_)?S=(0,l.default)(_):F?(w=!1,S=(0,n.default)(k,!0)):A?(w=!1,S=(0,a.default)(k,!0)):S=[]:(0,g.default)(k)||(0,u.default)(k)?(S=_,(0,u.default)(_)?S=(0,x.default)(_):(!(0,p.default)(_)||(0,d.default)(_))&&(S=(0,s.default)(k))):w=!1}w&&(v.set(k,S),C(S,k,o,b,v),v.delete(k)),(0,r.default)(t,i,S)}}),a("gqoYg",function(t,i){e(t.exports,"default",()=>u);var r=o("2mpFt"),n=i&&!i.nodeType&&i,a=n&&t&&!t.nodeType&&t,l=a&&a.exports===n?r.default.Buffer:void 0,s=l?l.allocUnsafe:void 0,u=function(t,e){if(e)return t.slice();var i=t.length,r=s?s(i):new t.constructor(i);return t.copy(r),r}}),a("40E9j",function(t,i){e(t.exports,"default",()=>n);var r=o("9tz5c"),n=function(t,e){var i=e?(0,r.default)(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}}),a("9tz5c",function(t,i){e(t.exports,"default",()=>n);var r=o("dJVnF"),n=function(t){var e=new t.constructor(t.byteLength);return new(0,r.default)(e).set(new r.default(t)),e}}),a("dJVnF",function(t,i){e(t.exports,"default",()=>r);var r=o("2mpFt").default.Uint8Array}),a("jXStN",function(t,i){e(t.exports,"default",()=>r);var r=function(t,e){var i=-1,r=t.length;for(e||(e=Array(r));++il);var r=o("kgBRQ"),n=o("bzIQZ"),a=o("74QAJ"),l=function(t){return"function"!=typeof t.constructor||(0,a.default)(t)?{}:(0,r.default)((0,n.default)(t))}}),a("kgBRQ",function(t,i){e(t.exports,"default",()=>a);var r=o("iYDsF"),n=Object.create,a=function(){function t(){}return function(e){if(!(0,r.default)(e))return{};if(n)return n(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}()}),a("bzIQZ",function(t,i){e(t.exports,"default",()=>r);var r=(0,o("7N1cZ").default)(Object.getPrototypeOf,Object)}),a("7N1cZ",function(t,i){e(t.exports,"default",()=>r);var r=function(t,e){return function(i){return t(e(i))}}}),a("74QAJ",function(t,i){e(t.exports,"default",()=>n);var r=Object.prototype,n=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}}),a("5VdmZ",function(t,i){e(t.exports,"default",()=>u);var r=o("j2nBL"),n=o("f2iog"),a=Object.prototype,l=a.hasOwnProperty,s=a.propertyIsEnumerable,u=(0,r.default)(function(){return arguments}())?r.default:function(t){return(0,n.default)(t)&&l.call(t,"callee")&&!s.call(t,"callee")}}),a("j2nBL",function(t,i){e(t.exports,"default",()=>a);var r=o("hArsG"),n=o("f2iog"),a=function(t){return(0,n.default)(t)&&"[object Arguments]"==(0,r.default)(t)}}),a("f2iog",function(t,i){e(t.exports,"default",()=>r);var r=function(t){return null!=t&&"object"==typeof t}}),a("hf0C9",function(t,i){e(t.exports,"default",()=>r);var r=Array.isArray}),a("8Y2y0",function(t,i){e(t.exports,"default",()=>a);var r=o("lAOUf"),n=o("f2iog"),a=function(t){return(0,n.default)(t)&&(0,r.default)(t)}}),a("lAOUf",function(t,i){e(t.exports,"default",()=>a);var r=o("4VY3C"),n=o("idNmI"),a=function(t){return null!=t&&(0,n.default)(t.length)&&!(0,r.default)(t)}}),a("idNmI",function(t,i){e(t.exports,"default",()=>r);var r=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}}),a("f3ZL4",function(t,i){e(t.exports,"default",()=>u);var r=o("2mpFt"),n=o("kcGKx"),a=i&&!i.nodeType&&i,l=a&&t&&!t.nodeType&&t,s=l&&l.exports===a?r.default.Buffer:void 0,u=(s?s.isBuffer:void 0)||n.default}),a("kcGKx",function(t,i){e(t.exports,"default",()=>r);var r=function(){return!1}}),a("3rtvu",function(t,i){e(t.exports,"default",()=>c);var r=o("hArsG"),n=o("bzIQZ"),a=o("f2iog"),l=Object.prototype,s=Function.prototype.toString,u=l.hasOwnProperty,h=s.call(Object),c=function(t){if(!(0,a.default)(t)||"[object Object]"!=(0,r.default)(t))return!1;var e=(0,n.default)(t);if(null===e)return!0;var i=u.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&s.call(i)==h}}),a("cmTeE",function(t,i){e(t.exports,"default",()=>s);var r=o("eaXgH"),n=o("hb0cD"),a=o("lFXqE"),l=a.default&&a.default.isTypedArray,s=l?(0,n.default)(l):r.default}),a("eaXgH",function(t,i){e(t.exports,"default",()=>s);var r=o("hArsG"),n=o("idNmI"),a=o("f2iog"),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var s=function(t){return(0,a.default)(t)&&(0,n.default)(t.length)&&!!l[(0,r.default)(t)]}}),a("hb0cD",function(t,i){e(t.exports,"default",()=>r);var r=function(t){return function(e){return t(e)}}}),a("lFXqE",function(t,i){e(t.exports,"default",()=>s);var r=o("4kWvg"),n=i&&!i.nodeType&&i,a=n&&t&&!t.nodeType&&t,l=a&&a.exports===n&&r.default.process,s=function(){try{var t=a&&a.require&&a.require("util").types;if(t)return t;return l&&l.binding&&l.binding("util")}catch(t){}}()}),a("JLSCP",function(t,i){e(t.exports,"default",()=>r);var r=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}}),a("YMsfP",function(t,i){e(t.exports,"default",()=>a);var r=o("3Wzdm"),n=o("ceNjR"),a=function(t){return(0,r.default)(t,(0,n.default)(t))}}),a("3Wzdm",function(t,i){e(t.exports,"default",()=>a);var r=o("a6l6i"),n=o("dLTlW"),a=function(t,e,i,o){var a=!i;i||(i={});for(var l=-1,s=e.length;++ll);var r=o("dLTlW"),n=o("lvgV1"),a=Object.prototype.hasOwnProperty,l=function(t,e,i){var o=t[e];a.call(t,e)&&(0,n.default)(o,i)&&(void 0!==i||e in t)||(0,r.default)(t,e,i)}}),a("ceNjR",function(t,i){e(t.exports,"default",()=>l);var r=o("OC2DR"),n=o("28fGX"),a=o("lAOUf"),l=function(t){return(0,a.default)(t)?(0,r.default)(t,!0):(0,n.default)(t)}}),a("OC2DR",function(t,i){e(t.exports,"default",()=>c);var r=o("3f4I6"),n=o("5VdmZ"),a=o("hf0C9"),l=o("f3ZL4"),s=o("cBYZY"),u=o("cmTeE"),h=Object.prototype.hasOwnProperty,c=function(t,e){var i=(0,a.default)(t),o=!i&&(0,n.default)(t),c=!i&&!o&&(0,l.default)(t),f=!i&&!o&&!c&&(0,u.default)(t),d=i||o||c||f,p=d?(0,r.default)(t.length,String):[],g=p.length;for(var m in t)(e||h.call(t,m))&&!(d&&("length"==m||c&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.default)(m,g)))&&p.push(m);return p}}),a("3f4I6",function(t,i){e(t.exports,"default",()=>r);var r=function(t,e){for(var i=-1,r=Array(t);++in);var r=/^(?:0|[1-9]\d*)$/,n=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&r.test(t))&&t>-1&&t%1==0&&ts);var r=o("iYDsF"),n=o("74QAJ"),a=o("ab5U2"),l=Object.prototype.hasOwnProperty,s=function(t){if(!(0,r.default)(t))return(0,a.default)(t);var e=(0,n.default)(t),i=[];for(var o in t)"constructor"==o&&(e||!l.call(t,o))||i.push(o);return i}}),a("ab5U2",function(t,i){e(t.exports,"default",()=>r);var r=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e}}),a("12iDD",function(t,i){e(t.exports,"default",()=>a);var r=o("exqIp"),n=o("fAzJF"),a=function(t){return(0,r.default)(function(e,i){var r=-1,o=i.length,a=o>1?i[o-1]:void 0,l=o>2?i[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,l&&(0,n.default)(i[0],i[1],l)&&(a=o<3?void 0:a,o=1),e=Object(e);++rl);var r=o("jSR8v"),n=o("dQSON"),a=o("3CD6d"),l=function(t,e){return(0,a.default)((0,n.default)(t,e,r.default),t+"")}}),a("jSR8v",function(t,i){e(t.exports,"default",()=>r);var r=function(t){return t}}),a("dQSON",function(t,i){e(t.exports,"default",()=>a);var r=o("dDkGf"),n=Math.max,a=function(t,e,i){return e=n(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,l=n(o.length-e,0),s=Array(l);++ar);var r=function(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}}),a("3CD6d",function(t,i){e(t.exports,"default",()=>n);var r=o("b4MjZ"),n=(0,o("8KfXk").default)(r.default)}),a("b4MjZ",function(t,i){e(t.exports,"default",()=>l);var r=o("5Oe6X"),n=o("1RMjB"),a=o("jSR8v"),l=n.default?function(t,e){return(0,n.default)(t,"toString",{configurable:!0,enumerable:!1,value:(0,r.default)(e),writable:!0})}:a.default}),a("5Oe6X",function(t,i){e(t.exports,"default",()=>r);var r=function(t){return function(){return t}}}),a("8KfXk",function(t,i){e(t.exports,"default",()=>n);var r=Date.now,n=function(t){var e=0,i=0;return function(){var n=r(),o=16-(n-i);if(i=n,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}}),a("fAzJF",function(t,i){e(t.exports,"default",()=>s);var r=o("lvgV1"),n=o("lAOUf"),a=o("cBYZY"),l=o("iYDsF"),s=function(t,e,i){if(!(0,l.default)(i))return!1;var o=typeof e;return("number"==o?!!((0,n.default)(i)&&(0,a.default)(e,i.length)):"string"==o&&e in i)&&(0,r.default)(i[e],t)}}),a("fm8kz",function(t,i){e(t.exports,"compile",()=>T),e(t.exports,"serialize",()=>B),e(t.exports,"stringify",()=>F);var r="comm",n="rule",o="decl",a=Math.abs,l=String.fromCharCode;function s(t,e,i){return t.replace(e,i)}function u(t,e){return 0|t.charCodeAt(e)}function h(t,e,i){return t.slice(e,i)}function c(t){return t.length}function f(t,e){return e.push(t),t}var d=1,p=1,g=0,m=0,y=0,x="";function C(t,e,i,r,n,o,a,l){return{value:t,root:e,parent:i,type:r,props:n,children:o,line:d,column:p,length:a,return:"",siblings:l}}function b(){return y=m2||_(y)>3?"":" "}(q);break;case 92:V+=function(t,e){for(var i;--e&&b()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return i=m+(e<6&&32==v()&&32==b()),h(x,t,i)}(m-1,7);continue;case 47:switch(v()){case 42:case 47:f(C(L=function(t,e){for(;b();)if(t+y===57)break;else if(t+y===84&&47===v())break;return"/*"+h(x,e,m-1)+"*"+l(47===t?t:b())}(b(),m),i,n,r,l(y),h(L,2,-2),0,A),A);break;default:V+="/"}break;case 123*P:F[O++]=c(V)*R;case 125*P:case 59:case 0:switch($){case 0:case 125:j=0;case 59+I:-1==R&&(V=s(V,/\f/g,"")),z>0&&c(V)-D&&f(z>32?w(V+";",o,n,D-1,A):w(s(V," ","")+";",o,n,D-2,A),A);break;case 59:V+=";";default:if(f(U=S(V,i,n,O,I,g,F,W,Y=[],H=[],D,T),T),123===$){if(0===I)t(V,i,U,U,Y,T,D,F,H);else switch(99===N&&110===u(V,3)?100:N){case 100:case 108:case 109:case 115:t(e,U,U,o&&f(S(e,U,U,0,0,g,F,W,g,Y=[],D,H),H),g,H,D,F,o?Y:H);break;default:t(V,U,U,U,[""],H,0,F,H)}}}O=I=z=0,P=R=1,W=V="",D=B;break;case 58:D=1+c(V),z=q;default:if(P<1){if(123==$)--P;else if(125==$&&0==P++&&125==(y=m>0?u(x,--m):0,p--,10===y&&(p=1,d--),y))continue}switch(V+=l($),$*P){case 38:R=I>0?1:(V+="\f",-1);break;case 44:F[O++]=(c(V)-1)*R,R=1;break;case 64:45===v()&&(V+=k(b())),N=v(),I=D=c(W=V+=function(t){for(;!_(v());)b();return h(x,t,m)}(m)),$++;break;case 45:45===q&&2==c(V)&&(P=0)}}return T}("",null,null,null,[""],(e=t,d=p=1,g=c(x=e),m=0,t=[]),0,[0],t),x="",i}function S(t,e,i,r,o,l,u,c,f,d,p,g){for(var m=o-1,y=0===o?l:[""],x=y.length,b=0,v=0,_=0;b0?y[k]+" "+T:s(T,/&\f/g,y[k])).trim())&&(f[_++]=S);return C(t,e,i,0===o?n:c,f,d,p,g)}function w(t,e,i,r,n){return C(t,e,i,o,h(t,0,r),h(t,r+1,-1),r,n)}function B(t,e){for(var i="",r=0;rd);var r=o("lTyg4"),n=o("4wkSQ"),a=o("5VdmZ"),l=o("hf0C9"),s=o("lAOUf"),u=o("f3ZL4"),h=o("74QAJ"),c=o("cmTeE"),f=Object.prototype.hasOwnProperty,d=function(t){if(null==t)return!0;if((0,s.default)(t)&&((0,l.default)(t)||"string"==typeof t||"function"==typeof t.splice||(0,u.default)(t)||(0,c.default)(t)||(0,a.default)(t)))return!t.length;var e=(0,n.default)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.default)(t))return!(0,r.default)(t).length;for(var i in t)if(f.call(t,i))return!1;return!0}}),a("lTyg4",function(t,i){e(t.exports,"default",()=>l);var r=o("74QAJ"),n=o("4lnKf"),a=Object.prototype.hasOwnProperty,l=function(t){if(!(0,r.default)(t))return(0,n.default)(t);var e=[];for(var i in Object(t))a.call(t,i)&&"constructor"!=i&&e.push(i);return e}}),a("4lnKf",function(t,i){e(t.exports,"default",()=>r);var r=(0,o("7N1cZ").default)(Object.keys,Object)}),a("4wkSQ",function(t,i){e(t.exports,"default",()=>_);var r=o("dR5x6"),n=o("fs3H6"),a=o("ab1Hq"),l=o("iypSL"),s=o("1xFLT"),u=o("hArsG"),h=o("5bfPQ"),c="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",g="[object DataView]",m=(0,h.default)(r.default),y=(0,h.default)(n.default),x=(0,h.default)(a.default),C=(0,h.default)(l.default),b=(0,h.default)(s.default),v=u.default;(r.default&&v(new r.default(new ArrayBuffer(1)))!=g||n.default&&v(new n.default)!=c||a.default&&v((0,a.default).resolve())!=f||l.default&&v(new l.default)!=d||s.default&&v(new s.default)!=p)&&(v=function(t){var e=(0,u.default)(t),i="[object Object]"==e?t.constructor:void 0,r=i?(0,h.default)(i):"";if(r)switch(r){case m:return g;case y:return c;case x:return f;case C:return d;case b:return p}return e});var _=v}),a("dR5x6",function(t,i){e(t.exports,"default",()=>a);var r=o("jLT9P"),n=o("2mpFt"),a=(0,r.default)(n.default,"DataView")}),a("ab1Hq",function(t,i){e(t.exports,"default",()=>a);var r=o("jLT9P"),n=o("2mpFt"),a=(0,r.default)(n.default,"Promise")}),a("iypSL",function(t,i){e(t.exports,"default",()=>a);var r=o("jLT9P"),n=o("2mpFt"),a=(0,r.default)(n.default,"Set")}),a("1xFLT",function(t,i){e(t.exports,"default",()=>a);var r=o("jLT9P"),n=o("2mpFt"),a=(0,r.default)(n.default,"WeakMap")}),a("GTJEH",function(t,e){var i=o("Gr8vk");t.exports=i("lQprE").then(()=>o("2SHzT"))}),a("Gr8vk",function(t,e){t.exports=function(t){return import(o("27Lyk").resolve(t))}}),a("ke74H",function(t,e){var i=o("Gr8vk");t.exports=i("VGYAS").then(()=>o("4GQge"))}),a("f92Jn",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("lgI1z"),i("avpJL"),i("7KITU"),i("6ebQV"),i("6rNWr"),i("o3T7O"),i("9qicX"),i("jjkiP")]).then(()=>o("ipAiL"))}),a("89vfZ",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("lgI1z"),i("avpJL"),i("7KITU"),i("6ebQV"),i("6rNWr"),i("o3T7O"),i("9qicX"),i("25oyy")]).then(()=>o("cXulX"))}),a("6luqy",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("6rNWr"),i("o3T7O"),i("1maJm")]).then(()=>o("kW2iu"))}),a("4cZYj",function(t,e){var i=o("Gr8vk");t.exports=i("8YrB0").then(()=>o("fXBMX"))}),a("kIYGO",function(t,e){var i=o("Gr8vk");t.exports=i("1g4Z9").then(()=>o("7PWXR"))}),a("7WN6W",function(t,e){var i=o("Gr8vk");t.exports=i("kz9gZ").then(()=>o("8tzpW"))}),a("gb84Y",function(t,e){var i=o("Gr8vk");t.exports=i("fdq6J").then(()=>o("1wD07"))}),a("igoBI",function(t,e){var i=o("Gr8vk");t.exports=i("4Cn4z").then(()=>o("4EBVK"))}),a("9vyZW",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("lgI1z"),i("2A34r")]).then(()=>o("dw8EU"))}),a("5h08f",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("6rNWr"),i("o3T7O"),i("3mGSP")]).then(()=>o("6RpmN"))}),a("51O7N",function(t,e){var i=o("Gr8vk");t.exports=i("1oKki").then(()=>o("ef6l2"))}),a("7N3tY",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("ilrpw"),i("6rNWr"),i("o3T7O"),i("26Fwk")]).then(()=>o("1Y8pp"))}),a("d1gTF",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("ilrpw"),i("lgI1z"),i("avpJL"),i("7KITU"),i("6rNWr"),i("o3T7O"),i("kUQc6")]).then(()=>o("7IZkM"))}),a("f3vwN",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("jDjEv"),i("6rNWr"),i("o3T7O"),i("5uR4V")]).then(()=>o("74fZR"))}),a("4tmwl",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("jDjEv"),i("lgI1z"),i("avpJL"),i("7KITU"),i("6rNWr"),i("o3T7O"),i("gQkRL")]).then(()=>o("i62GY"))}),a("dsViw",function(t,e){var i=o("Gr8vk");t.exports=i("d4RJH").then(()=>o("ah5TC"))}),a("gDY1I",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("lgI1z"),i("avpJL"),i("9qicX"),i("14XnJ")]).then(()=>o("4jHLn"))}),a("a9KN7",function(t,e){var i=o("Gr8vk");t.exports=i("13H5b").then(()=>o("2b9k8"))}),a("7zSbK",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("lgI1z"),i("zoFc9")]).then(()=>o("8B8TC"))}),a("bWluA",function(t,e){var i=o("Gr8vk");t.exports=i("3mRkP").then(()=>o("kxhjd"))}),a("8RFnL",function(t,e){var i=o("Gr8vk");t.exports=Promise.all([i("lgI1z"),i("avpJL"),i("o3T7O"),i("29GPh")]).then(()=>o("8q4j7"))});var l=o("4jcZX");o("2YFJl");var s=o("hOxpW"),u=o("cwuwP");class h extends HTMLElement{constructor(){super(),(0,l.N).initialize({logLevel:"none",startOnLoad:!1,theme:"dark",flowchart:{useMaxWidth:!1}}),this._content=null,this._activeClass=null,this._lastTransform=null;let t=this.attachShadow({mode:"open"}),e=document.createElement("style");e.textContent=` // :host { // display: block; // width: 100%; // height: 100%; // } .h-full { height: 100%; } .w-full { width: 100%; } // .flex { // display: flex; // } .items-center { align-items: center; } .justify-center { justify-content: center; } .bg-neutral { --tw-bg-opacity: 1; background-color: var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity))); } `,t.appendChild(e);let i=document.createElement("div");i.classList.add("h-full"),i.classList.add("w-full"),i.classList.add("flex"),i.classList.add("items-center"),i.classList.add("justify-center"),i.classList.add("bg-neutral"),i.classList.add("mermaid"),t.appendChild(i),this.#t()}get #e(){return Array.from(this.childNodes).filter(t=>t.nodeType===this.TEXT_NODE)}get #i(){return this._content?this._activeClass?` ${this._content} classDef ${this._activeClass} fill:#f96 `:this._content:"flowchart TD"}async #t(){let t=this.shadowRoot?.querySelector(".mermaid");if(!t){console.error("svgcontainer not found!");return}return(0,l.N).render("graph",this.#i).then(e=>{console.debug("RENDER COMPLETE",t);let{width:i,height:r}=t.getBoundingClientRect();console.debug("width:",i,"height:",r);let n=e.svg.replace(/height="[\d\.]+"/,`height="${r}"`).replace(/width="[\d\.]+"/,`width="${i}"`);t.innerHTML=n}).then(()=>this.#r()).then(()=>{for(let e of(console.debug("boundingClientRect",t.getBoundingClientRect()),t.getClientRects()))console.debug(e)}).catch(t=>console.error("RENDER ERROR",t))}#r(){console.debug("_lastTransform",this._lastTransform);let t=s.default(this.shadowRoot).select(".mermaid svg"),e=this;t.each(function(){let t=s.default(this);t.html(""+t.html()+"");let i=t.select("g"),r=u.default().on("zoom",t=>{i.attr("transform",t.transform),e._lastTransform=t.transform}),n=t.call(r);null!==e._lastTransform&&(i.attr("transform",e._lastTransform),n.call(r.transform,e._lastTransform))})}#n(t){let{detail:e}=t;this._content=e,this.#t()}#o(t){let{detail:e}=t;this._activeClass=e,this.#t()}#a=()=>this.#t();connectedCallback(){this.addEventListener("graph",this.#n),this.addEventListener("graph-active",this.#o),window.addEventListener("resize",this.#a)}disconnectedCallback(){this.removeEventListener("graph",this.#n),this.removeEventListener("graph-active",this.#o),window.removeEventListener("resize",this.#a)}async #l(){let t=this.shadowRoot?.querySelectorAll(".mermaid");return t[0].textContent=this.#i,(0,l.N).run({nodes:t,suppressErrors:!0}).then(()=>console.debug("RUN COMPLETE")).then(()=>this.#r()).catch(t=>console.error("RUN ERROR",t))}}window.customElements.define("lg4j-graph",h); //# sourceMappingURL=index.799e4e81.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy