PageSourceSearch

https://veo4video.net/_next/static/chunks/12265.b8d5666ccff1ec61.js

js veo4video.net collected 2026-10-07 15:32:29 UTC 353,345 bytes, 90 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12265],{140:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var i=r(10731),a=Object.prototype,n=a.hasOwnProperty,o=a.toString,s=i.A?i.A.toStringTag:void 0;let l=function(t){var e=n.call(t,s),r=t[s];try{t[s]=void 0;var i=!0}catch(t){}var a=o.call(t);return i&&(e?t[s]=r:delete t[s]),a};var h=Object.prototype.toString,c=i.A?i.A.toStringTag:void 0;let u=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?l(t):h.call(t)}},325:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3396:(t,e,r)=>{"use strict";r.d(e,{IU:()=>b,Jo:()=>L,T_:()=>_,g0:()=>X,jP:()=>C});var i=r(64110),a=r(46334),n=r(4109),o=r(20743),s=r(78334),l=r(89898),h=r(86525),c=r(74481),u=r(72507),d=r(34255),p=(0,c.K2)((t,e,r,i,a,n)=>{e.arrowTypeStart&&g(t,"start",e.arrowTypeStart,r,i,a,n),e.arrowTypeEnd&&g(t,"end",e.arrowTypeEnd,r,i,a,n)},"addEdgeMarkers"),f={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},g=(0,c.K2)((t,e,r,i,a,n,o)=>{let s=f[r];if(!s){c.Rm.warn(`Unknown arrow type: ${r}`);return}let l=s.type,h=`${a}_${n}-${l}${"start"===e?"Start":"End"}`;if(o&&""!==o.trim()){let r=o.replace(/[^\dA-Za-z]/g,"_"),a=`${h}_${r}`;if(!document.getElementById(a)){let t=document.getElementById(h);if(t){let e=t.cloneNode(!0);e.id=a,e.querySelectorAll("path, circle, line").forEach(t=>{t.setAttribute("stroke",o),s.fill&&t.setAttribute("fill",o)}),t.parentNode?.appendChild(e)}}t.attr(`marker-${e}`,`url(${i}#${a})`)}else t.attr(`marker-${e}`,`url(${i}#${h})`)},"addEdgeMarker"),m=new Map,y=new Map,b=(0,c.K2)(()=>{m.clear(),y.clear()},"clear"),x=(0,c.K2)(t=>t?t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),C=(0,c.K2)(async(t,e)=>{let r,i=(0,h._3)((0,h.D7)().flowchart.htmlLabels),{labelStyles:n}=(0,o.GX)(e);e.labelStyle=n;let l=await (0,s.GZ)(t,e.label,{style:e.labelStyle,useHtmlLabels:i,addSvgBackground:!0,isNode:!1});c.Rm.info("abc82",e,e.labelType);let d=t.insert("g").attr("class","edgeLabel"),p=d.insert("g").attr("class","label").attr("data-id",e.id);p.node().appendChild(l);let f=l.getBBox();if(i){let t=l.children[0],e=(0,u.Ltv)(l);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}if(p.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),m.set(e.id,d),e.width=f.width,e.height=f.height,e.startLabelLeft){let i=await (0,a.DA)(e.startLabelLeft,x(e.labelStyle)),n=t.insert("g").attr("class","edgeTerminals"),o=n.insert("g").attr("class","inner");r=o.node().appendChild(i);let s=i.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),y.get(e.id)||y.set(e.id,{}),y.get(e.id).startLeft=n,k(r,e.startLabelLeft)}if(e.startLabelRight){let i=await (0,a.DA)(e.startLabelRight,x(e.labelStyle)),n=t.insert("g").attr("class","edgeTerminals"),o=n.insert("g").attr("class","inner");r=n.node().appendChild(i),o.node().appendChild(i);let s=i.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),y.get(e.id)||y.set(e.id,{}),y.get(e.id).startRight=n,k(r,e.startLabelRight)}if(e.endLabelLeft){let i=await (0,a.DA)(e.endLabelLeft,x(e.labelStyle)),n=t.insert("g").attr("class","edgeTerminals"),o=n.insert("g").attr("class","inner");r=o.node().appendChild(i);let s=i.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),n.node().appendChild(i),y.get(e.id)||y.set(e.id,{}),y.get(e.id).endLeft=n,k(r,e.endLabelLeft)}if(e.endLabelRight){let i=await (0,a.DA)(e.endLabelRight,x(e.labelStyle)),n=t.insert("g").attr("class","edgeTerminals"),o=n.insert("g").attr("class","inner");r=o.node().appendChild(i);let s=i.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),n.node().appendChild(i),y.get(e.id)||y.set(e.id,{}),y.get(e.id).endRight=n,k(r,e.endLabelRight)}return l},"insertEdgeLabel");function k(t,e){(0,h.D7)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,c.K2)(k,"setTerminalWidth");var _=(0,c.K2)((t,e)=>{c.Rm.debug("Moving label abc88 ",t.id,t.label,m.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,h.D7)(),{subGraphTitleTotalMargin:a}=(0,n.O)(i);if(t.label){let i=m.get(t.id),n=t.x,o=t.y;if(r){let i=l._K.calcLabelPosition(r);c.Rm.debug("Moving label "+t.label+" from (",n,",",o,") to (",i.x,",",i.y,") abc88"),e.updatedPath&&(n=i.x,o=i.y)}i.attr("transform",`translate(${n}, ${o+a/2})`)}if(t.startLabelLeft){let e=y.get(t.id).startLeft,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);
1i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.startLabelRight){let e=y.get(t.id).startRight,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.endLabelLeft){let e=y.get(t.id).endLeft,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.endLabelRight){let e=y.get(t.id).endRight,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}},"positionEdgeLabel"),v=(0,c.K2)((t,e)=>{let r=t.x,i=t.y,a=Math.abs(e.x-r),n=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return a>=o||n>=s},"outsideNode"),A=(0,c.K2)((t,e,r)=>{c.Rm.debug(`intersection calc abc89:
2  outsidePoint: ${JSON.stringify(e)}
3  insidePoint : ${JSON.stringify(r)}
4  node        : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,a=t.y,n=Math.abs(i-r.x),o=t.width/2,s=r.x<e.x?o-n:o+n,l=t.height/2,h=Math.abs(e.y-r.y),u=Math.abs(e.x-r.x);if(Math.abs(a-e.y)*o>Math.abs(i-e.x)*l){let t=r.y<e.y?e.y-l-a:a-l-e.y;s=u*t/h;let i={x:r.x<e.x?r.x+s:r.x-u+s,y:r.y<e.y?r.y+h-t:r.y-h+t};return 0===s&&(i.x=e.x,i.y=e.y),0===u&&(i.x=e.x),0===h&&(i.y=e.y),c.Rm.debug(`abc89 top/bottom calc, Q ${h}, q ${t}, R ${u}, r ${s}`,i),i}{let t=h*(s=r.x<e.x?e.x-o-i:i-o-e.x)/u,a=r.x<e.x?r.x+u-s:r.x-u+s,n=r.y<e.y?r.y+t:r.y-t;return c.Rm.debug(`sides calc abc89, Q ${h}, q ${t}, R ${u}, r ${s}`,{_x:a,_y:n}),0===s&&(a=e.x,n=e.y),0===u&&(a=e.x),0===h&&(n=e.y),{x:a,y:n}}},"intersection"),T=(0,c.K2)((t,e)=>{c.Rm.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],a=!1;return t.forEach(t=>{if(c.Rm.info("abc88 checking point",t,e),v(e,t)||a)c.Rm.warn("abc88 outside",t,i),i=t,a||r.push(t);else{let n=A(e,i,t);c.Rm.debug("abc88 inside",t,i,n),c.Rm.debug("abc88 intersection",n,e);let o=!1;r.forEach(t=>{o=o||t.x===n.x&&t.y===n.y}),r.some(t=>t.x===n.x&&t.y===n.y)?c.Rm.warn("abc88 no intersect",n,r):r.push(n),a=!0}}),c.Rm.debug("returning points",r),r},"cutPathAtIntersect");function w(t){let e=[],r=[];for(let i=1;i<t.length-1;i++){let a=t[i-1],n=t[i],o=t[i+1];a.x===n.x&&n.y===o.y&&Math.abs(n.x-o.x)>5&&Math.abs(n.y-a.y)>5?(e.push(n),r.push(i)):a.y===n.y&&n.x===o.x&&Math.abs(n.x-a.x)>5&&Math.abs(n.y-o.y)>5&&(e.push(n),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}(0,c.K2)(w,"extractCornerPoints");var S=(0,c.K2)(function(t,e,r){let i=e.x-t.x,a=e.y-t.y,n=r/Math.sqrt(i*i+a*a);return{x:e.x-n*i,y:e.y-n*a}},"findAdjacentPoint"),B=(0,c.K2)(function(t){let{cornerPointPositions:e}=w(t),r=[];for(let i=0;i<t.length;i++)if(e.includes(i)){let e=t[i-1],a=t[i+1],n=t[i],o=S(e,n,5),s=S(a,n,5),l=s.x-o.x,h=s.y-o.y;r.push(o);let u=2*Math.sqrt(2),d={x:n.x,y:n.y};Math.abs(a.x-e.x)>10&&Math.abs(a.y-e.y)>=10?(c.Rm.debug("Corner point fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),d=n.x===o.x?{x:l<0?o.x-5+u:o.x+5-u,y:h<0?o.y-u:o.y+u}:{x:l<0?o.x-u:o.x+u,y:h<0?o.y-5+u:o.y+5-u}):c.Rm.debug("Corner point skipping fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),r.push(d,s)}else r.push(t[i]);return r},"fixCorners"),F=(0,c.K2)((t,e,r)=>{let i=Array(Math.floor((t-e-r)/4)).fill("2 2").join(" ");return`0 ${e} ${i} ${r}`},"generateDashArray"),L=(0,c.K2)(function(t,e,r,a,n,s,f,g=!1){let m,y,{handDrawnSeed:b}=(0,h.D7)(),x=e.points,C=!1,k=[];for(let t in e.cssCompiledStyles)(0,o.KX)(t)||k.push(e.cssCompiledStyles[t]);c.Rm.debug("UIO intersect check",e.points,s.x,n.x),s.intersect&&n.intersect&&!g&&((x=x.slice(1,e.points.length-1)).unshift(n.intersect(x[0])),c.Rm.debug("Last point UIO",e.start,"--\x3e",e.end,x[x.length-1],s,s.intersect(x[x.length-1])),x.push(s.intersect(x[x.length-1])));let _=btoa(JSON.stringify(x));e.toCluster&&(c.Rm.info("to cluster abc88",r.get(e.toCluster)),x=T(e.points,r.get(e.toCluster).node),C=!0),e.fromCluster&&(c.Rm.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(x,null,2)),x=T(x.reverse(),r.get(e.fromCluster).node).reverse(),C=!0);let v=x.filter(t=>!Number.isNaN(t.y));v=B(v);let A=u.qrM;switch(A=u.lUB,e.curve){case"linear":A=u.lUB;break;case"basis":default:A=u.qrM;break;case"cardinal":A=u.y8u;break;case"bumpX":A=u.Wi0;break;case"bumpY":A=u.PGM;break;case"catmullRom":A=u.oDi;break;case"monotoneX":A=u.nVG;break;case"monotoneY":A=u.uxU;break;case"natural":A=u.Xf2;break;case"step":A=u.GZz;break;case"stepAfter":A=u.UPb;break;case"stepBefore":A=u.dyv}let{x:w,y:S}=(0,i.RI)(e),L=(0,u.n8j)().x(w).y(S).curve(A);switch(e.thickness){case"normal":default:m="edge-thickness-normal";break;case"thick":m="edge-thickness-thick";break;case"invisible":m="edge-thickness-invisible"}switch(e.pattern){case"solid":default:m+=" edge-pattern-solid";break;case"dotted":m+=" edge-pattern-dotted";break;case"dashed":m+=" edge-pattern-dashed"}let E="rounded"===e.curve?M(O(v,e),5):L(v),K=Array.isArray(e.style)?e.style:[e.style],I=K.find(t=>t?.startsWith("stroke:")),D=!1;
4if("handDrawn"===e.look){let r=d.A.svg(t);Object.assign([],v);let i=r.path(E,{roughness:.3,seed:b});m+=" transition";let a=(y=(0,u.Ltv)(i).select("path").attr("id",e.id).attr("class"," "+m+(e.classes?" "+e.classes:"")).attr("style",K?K.reduce((t,e)=>t+";"+e,""):"")).attr("d");y.attr("d",a),t.node().appendChild(y.node())}else{let r=k.join(";"),a=K?K.reduce((t,e)=>t+e+";",""):"",n="";e.animate&&(n=" edge-animation-fast"),e.animation&&(n=" edge-animation-"+e.animation);let o=(r?r+";"+a+";":a)+";"+(K?K.reduce((t,e)=>t+";"+e,""):"");y=t.append("path").attr("d",E).attr("id",e.id).attr("class"," "+m+(e.classes?" "+e.classes:"")+(n??"")).attr("style",o),I=o.match(/stroke:([^;]+)/)?.[1],D=!0===e.animate||!!e.animation||r.includes("animation");let s=y.node(),l="function"==typeof s.getTotalLength?s.getTotalLength():0,h=i.Nq[e.arrowTypeStart]||0,c=i.Nq[e.arrowTypeEnd]||0;if("neo"===e.look&&!D){let t="dotted"===e.pattern||"dashed"===e.pattern?F(l,h,c):`0 ${h} ${l-h-c} ${c}`,r=`stroke-dasharray: ${t}; stroke-dashoffset: 0;`;y.attr("style",r+y.attr("style"))}}y.attr("data-edge",!0),y.attr("data-et","edge"),y.attr("data-id",e.id),y.attr("data-points",_),e.showPoints&&v.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let z="";((0,h.D7)().flowchart.arrowMarkerAbsolute||(0,h.D7)().state.arrowMarkerAbsolute)&&(z=(z=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),c.Rm.info("arrowTypeStart",e.arrowTypeStart),c.Rm.info("arrowTypeEnd",e.arrowTypeEnd),p(y,e,z,f,a,I);let q=Math.floor(x.length/2),R=x[q];l._K.isLabelCoordinateInPath(R,y.attr("d"))||(C=!0);let P={};return C&&(P.updatedPath=x),P.originalPath=e.points,P},"insertEdge");function M(t,e){if(t.length<2)return"";let r="",i=t.length;for(let a=0;a<i;a++){let n=t[a],o=t[a-1],s=t[a+1];if(0===a)r+=`M${n.x},${n.y}`;else if(a===i-1)r+=`L${n.x},${n.y}`;else{let t=n.x-o.x,i=n.y-o.y,a=s.x-n.x,l=s.y-n.y,h=Math.hypot(t,i),c=Math.hypot(a,l);if(h<1e-5||c<1e-5){r+=`L${n.x},${n.y}`;continue}let u=t/h,d=i/h,p=a/c,f=l/c,g=Math.acos(Math.max(-1,Math.min(1,u*p+d*f)));if(g<1e-5||1e-5>Math.abs(Math.PI-g)){r+=`L${n.x},${n.y}`;continue}let m=Math.min(e/Math.sin(g/2),h/2,c/2),y=n.x-u*m,b=n.y-d*m,x=n.x+p*m,C=n.y+f*m;r+=`L${y},${b}Q${n.x},${n.y} ${x},${C}`}}return r}function E(t,e){if(!t||!e)return{angle:0,deltaX:0,deltaY:0};let r=e.x-t.x,i=e.y-t.y;return{angle:Math.atan2(i,r),deltaX:r,deltaY:i}}function O(t,e){let r=t.map(t=>({...t}));if(t.length>=2&&i.hq[e.arrowTypeStart]){let a=i.hq[e.arrowTypeStart],n=t[0],{angle:o}=E(n,t[1]),s=a*Math.cos(o),l=a*Math.sin(o);r[0].x=n.x+s,r[0].y=n.y+l}let a=t.length;if(a>=2&&i.hq[e.arrowTypeEnd]){let n=i.hq[e.arrowTypeEnd],o=t[a-1],{angle:s}=E(t[a-2],o),l=n*Math.cos(s),h=n*Math.sin(s);r[a-1].x=o.x-l,r[a-1].y=o.y-h}return r}(0,c.K2)(M,"generateRoundedPath"),(0,c.K2)(E,"calculateDeltaAndAngle"),(0,c.K2)(O,"applyMarkerOffsetsToPoints");var K=(0,c.K2)((t,e,r,i)=>{e.forEach(e=>{G[e](t,r,i)})},"insertMarkers"),I=(0,c.K2)((t,e,r)=>{c.Rm.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),D=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),z=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),q=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),R=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),P=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),N=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),$=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),j=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),W=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),H=(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),i.append("path").attr("d","M9,0 L9,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),a.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),U=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),Y=(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),i.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),a.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),G={extension:I,composition:D,aggregation:z,dependency:q,lollipop:R,point:P,circle:N,cross:$,barb:j,only_one:W,zero_or_one:H,one_or_more:U,zero_or_more:Y,requirement_arrow:(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
5      L20,10
6      M20,10
7      L0,20`)}
7,"requirement_arrow"),requirement_contains:(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains")},X=K},4109:(t,e,r)=>{"use strict";r.d(e,{O:()=>i});var i=(0,r(74481).K2)(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins")},4900:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",i="hour",a="week",n="month",o="quarter",s="year",l="date",h="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,r){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(r)+t},p="en",f={};f[p]={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"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var g="$isDayjsObject",m=function(t){return t instanceof C||!(!t||!t[g])},y=function t(e,r,i){var a;if(!e)return p;if("string"==typeof e){var n=e.toLowerCase();f[n]&&(a=n),r&&(f[n]=r,a=n);var o=e.split("-");if(!a&&o.length>1)return t(o[0])}else{var s=e.name;f[s]=e,a=s}return!i&&a&&(p=a),a||!i&&p},b=function(t,e){if(m(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new C(r)},x={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(r/60),2,"0")+":"+d(r%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var i=12*(r.year()-e.year())+(r.month()-e.month()),a=e.clone().add(i,n),o=r-a<0,s=e.clone().add(i+(o?-1:1),n);return+(-(i+(r-a)/(o?a-s:s-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(h){return({M:n,y:s,w:a,d:"day",D:l,h:i,m:r,s:e,ms:t,Q:o})[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};x.l=y,x.i=m,x.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var C=function(){function d(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var p=d.prototype;return p.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(c);if(i){var a=i[2]-1||0,n=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)}}return new Date(e)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return x},p.isValid=function(){return this.$d.toString()!==h},p.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},p.isAfter=function(t,e){return b(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<b(t)},p.$g=function(t,e,r){return x.u(t)?this[e]:this.set(r,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,o){var h=this,c=!!x.u(o)||o,u=x.p(t),d=function(t,e){var r=x.w(h.$u?Date.UTC(h.$y,e,t):new Date(h.$y,e,t),h);return c?r:r.endOf("day")},p=function(t,e){return x.w(h.toDate()[t].apply(h.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),h)},f=this.$W,g=this.$M,m=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case s:return c?d(1,0):d(31,11);case n:return c?d(1,g):d(0,g+1);case a:var b=this.$locale().weekStart||0,C=(f<b?f+7:f)-b;return d(c?m-C:m+(6-C),g);case"day":case l:return p(y+"Hours",0);case i:return p(y+"Minutes",1);case r:return p(y+"Seconds",2);case e:return p(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(a,o){var h,c=x.p(a),u="set"+(this.$u?"UTC":""),d=((h={}).day=u+"Date",h[l]=u+"Date",h[n]=u+"Month",h[s]=u+"FullYear",h[i]=u+"Hours",h[r]=u+"Minutes",h[e]=u+"Seconds",h[t]=u+"Milliseconds",h)[c],p="day"===c?this.$D+(o-this.$W):o;if(c===n||c===s){var f=this.clone().set(l,1);f.$d[d](p),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[x.p(t)]()},p.add=function(t,o){var l,h=this;t=Number(t);var c=x.p(o),u=function(e){var r=b(h);return x.w(r.date(r.date()+Math.round(e*t)),h)};if(c===n)return this.set(n,this.$M+t);if(c===s)return this.set(s,this.$y+t);if("day"===c)return u(1);if(c===a)return u(7);var d=((l={})[r]=6e4,l[i]=36e5,l[e]=1e3,l)[c]||1,p=this.$d.getTime()+t*d;return x.w(p,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var i=t||"YYYY-MM-DDTHH:mm:ssZ",a=x.z(this),n=this.$H,o=this.$m,s=this.$M,l=r.weekdays,c=r.months,d=r.meri
7diem,p=function(t,r,a,n){return t&&(t[r]||t(e,i))||a[r].slice(0,n)},f=function(t){return x.s(n%12||12,t,"0")},g=d||function(t,e,r){var i=t<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(u,function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return x.s(e.$y,4,"0");case"M":return s+1;case"MM":return x.s(s+1,2,"0");case"MMM":return p(r.monthsShort,s,c,3);case"MMMM":return p(c,s);case"D":return e.$D;case"DD":return x.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return p(r.weekdaysMin,e.$W,l,2);case"ddd":return p(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(n);case"HH":return x.s(n,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return g(n,o,!0);case"A":return g(n,o,!1);case"m":return String(o);case"mm":return x.s(o,2,"0");case"s":return String(e.$s);case"ss":return x.s(e.$s,2,"0");case"SSS":return x.s(e.$ms,3,"0");case"Z":return a}return null}(t)||a.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(t,l,h){var c,u=this,d=x.p(l),p=b(t),f=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,m=function(){return x.m(u,p)};switch(d){case s:c=m()/12;break;case n:c=m();break;case o:c=m()/3;break;case a:c=(g-f)/6048e5;break;case"day":c=(g-f)/864e5;break;case i:c=g/36e5;break;case r:c=g/6e4;break;case e:c=g/1e3;break;default:c=g}return h?c:x.a(c)},p.daysInMonth=function(){return this.endOf(n).$D},p.$locale=function(){return f[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),i=y(t,e,!0);return i&&(r.$L=i),r},p.clone=function(){return x.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},d}(),k=C.prototype;return b.prototype=k,[["$ms",t],["$s",e],["$m",r],["$H",i],["$W","day"],["$M",n],["$y",s],["$D",l]].forEach(function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),b.extend=function(t,e){return t.$i||(t(e,C,b),t.$i=!0),b},b.locale=y,b.isDayjs=m,b.unix=function(t){return b(1e3*t)},b.en=f[p],b.Ls=f,b.p={},b}()},6383:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=Array.isArray},10731:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=r(25223).A.Symbol},11772:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(20323),a=(0,r(42143).A)(Object.keys,Object),n=Object.prototype.hasOwnProperty;let o=function(t){if(!(0,i.A)(t))return a(t);var e=[];for(var r in Object(t))n.call(t,r)&&"constructor"!=r&&e.push(r);return e}},12265:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>ro});
7var i=r(65704),a=r(98126),n=r(73973),o=r(89733);r(3396),r(64110),r(46334),r(4109),r(20743);var s=r(78334),l=r(89898),h=r(86525),c=r(74481),u=r(25920),d=r(72507),p="comm",f="rule",g="decl",m=Math.abs,y=String.fromCharCode;Object.assign;function b(t,e,r){return t.replace(e,r)}function x(t,e){return 0|t.charCodeAt(e)}function C(t,e,r){return t.slice(e,r)}function k(t){return t.length}function _(t,e){return e.push(t),t}function v(t,e){for(var r="",i=0;i<t.length;i++)r+=e(t[i],i,t,e)||"";return r}function A(t,e,r,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case"@namespace":case g:return t.return=t.return||t.value;case p:return"";case"@keyframes":return t.return=t.value+"{"+v(t.children,i)+"}";case f:if(!k(t.value=t.props.join(",")))return""}return k(r=v(t.children,i))?t.return=t.value+"{"+r+"}":""}var T=1,w=1,S=0,B=0,F=0,L="";function M(t,e,r,i,a,n,o,s){return{value:t,root:e,parent:r,type:i,props:a,children:n,line:T,column:w,length:o,return:"",siblings:s}}function E(){return F=B<S?x(L,B++):0,w++,10===F&&(w=1,T++),F}function O(){return x(L,B)}function K(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function I(t){var e,r;return(e=B-1,r=function t(e){for(;E();)switch(F){case e:return B;case 34:case 39:34!==e&&39!==e&&t(F);break;case 40:41===e&&t(e);break;case 92:E()}return B}(91===t?t+2:40===t?t+1:t),C(L,e,r)).trim()}function D(t,e,r,i,a,n,o,s,l,h,c,u){for(var d=a-1,p=0===a?n:[""],g=p.length,y=0,x=0,k=0;y<i;++y)for(var _=0,v=C(t,d+1,d=m(x=o[y])),A=t;_<g;++_)(A=(x>0?p[_]+" "+v:b(v,/&\f/g,p[_])).trim())&&(l[k++]=A);return M(t,e,r,0===a?f:s,l,h,c,u)}function z(t,e,r,i,a){return M(t,e,r,g,C(t,0,i),C(t,i+1,-1),i,a)}var q=r(60464),R=r(72859),P={id:"c4",detector:(0,c.K2)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await r.e(14285).then(r.bind(r,14285));return{id:"c4",diagram:t}},"loader")},N="flowchart",$=(0,c.K2)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),j=(0,c.K2)(async()=>{let{diagram:t}=await r.e(56275).then(r.bind(r,56275));return{id:N,diagram:t}},"loader"),W={id:N,detector:$,loader:j},H="flowchart-v2",U=(0,c.K2)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),Y=(0,c.K2)(async()=>{let{diagram:t}=await r.e(56275).then(r.bind(r,56275));return{id:H,diagram:t}},"loader"),G={id:H,detector:U,loader:Y},X={id:"er",detector:(0,c.K2)(t=>/^\s*erDiagram/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await r.e(22660).then(r.bind(r,22660));return{id:"er",diagram:t}},"loader")},V="gitGraph",Z=(0,c.K2)(t=>/^\s*gitGraph/.test(t),"detector"),Q=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(21536),r.e(72395),r.e(69051)]).then(r.bind(r,69051));return{id:V,diagram:t}},"loader"),J={id:V,detector:Z,loader:Q},tt="gantt",te=(0,c.K2)(t=>/^\s*gantt/.test(t),"detector"),tr=(0,c.K2)(async()=>{let{diagram:t}=await r.e(58502).then(r.bind(r,58502));return{id:tt,diagram:t}},"loader"),ti={id:tt,detector:te,loader:tr},ta="info",tn=(0,c.K2)(t=>/^\s*info/.test(t),"detector"),to=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(21536),r.e(72395),r.e(31097)]).then(r.bind(r,31097));return{id:ta,diagram:t}},"loader"),ts={id:ta,detector:tn,loader:to},tl={id:"pie",detector:(0,c.K2)(t=>/^\s*pie/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(21536),r.e(72395),r.e(33821)]).then(r.bind(r,56202));return{id:"pie",diagram:t}},"loader")},th="quadrantChart",tc=(0,c.K2)(t=>/^\s*quadrantChart/.test(t),"detector"),tu=(0,c.K2)(async()=>{let{diagram:t}=await r.e(97339).then(r.bind(r,97339));return{id:th,diagram:t}},"loader"),td={id:th,detector:tc,loader:tu}
7,tp="xychart",tf=(0,c.K2)(t=>/^\s*xychart(-beta)?/.test(t),"detector"),tg=(0,c.K2)(async()=>{let{diagram:t}=await r.e(71233).then(r.bind(r,71233));return{id:tp,diagram:t}},"loader"),tm={id:tp,detector:tf,loader:tg},ty="requirement",tb=(0,c.K2)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tx=(0,c.K2)(async()=>{let{diagram:t}=await r.e(41466).then(r.bind(r,41466));return{id:ty,diagram:t}},"loader"),tC={id:ty,detector:tb,loader:tx},tk="sequence",t_=(0,c.K2)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tv=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(89707),r.e(51728)]).then(r.bind(r,77944));return{id:tk,diagram:t}},"loader"),tA={id:tk,detector:t_,loader:tv},tT="class",tw=(0,c.K2)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tS=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(74894),r.e(62636)]).then(r.bind(r,62636));return{id:tT,diagram:t}},"loader"),tB={id:tT,detector:tw,loader:tS},tF="classDiagram",tL=(0,c.K2)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),tM=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(74894),r.e(34047)]).then(r.bind(r,34047));return{id:tF,diagram:t}},"loader"),tE={id:tF,detector:tL,loader:tM},tO="state",tK=(0,c.K2)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),tI=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(21536),r.e(31422),r.e(94872),r.e(84308),r.e(99836)]).then(r.bind(r,99836));return{id:tO,diagram:t}},"loader"),tD={id:tO,detector:tK,loader:tI},tz="stateDiagram",tq=(0,c.K2)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),tR=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(84308),r.e(38006)]).then(r.bind(r,38006));return{id:tz,diagram:t}},"loader"),tP={id:tz,detector:tq,loader:tR},tN="journey",t$=(0,c.K2)(t=>/^\s*journey/.test(t),"detector"),tj=(0,c.K2)(async()=>{let{diagram:t}=await r.e(81890).then(r.bind(r,81890));return{id:tN,diagram:t}},"loader"),tW={id:tN,detector:t$,loader:tj},tH={draw:(0,c.K2)((t,e,r)=>{c.Rm.debug("rendering svg for syntax error\n");let i=(0,a.D)(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,h.a$)(i,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.
7164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},tU={db:{},renderer:tH,parser:{parse:(0,c.K2)(()=>{},"parse")}},tY="flowchart-elk",tG=(0,c.K2)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),tX=(0,c.K2)(async()=>{let{diagram:t}=await r.e(56275).then(r.bind(r,56275));return{id:tY,diagram:t}},"loader"),tV={id:tY,detector:tG,loader:tX},tZ="timeline",tQ=(0,c.K2)(t=>/^\s*timeline/.test(t),"detector"),tJ=(0,c.K2)(async()=>{let{diagram:t}=await r.e(26159).then(r.bind(r,26159));return{id:tZ,diagram:t}},"loader"),t0={id:tZ,detector:tQ,loader:tJ},t1="mindmap",t2=(0,c.K2)(t=>/^\s*mindmap/.test(t),"detector"),t5=(0,c.K2)(async()=>{let{diagram:t}=await r.e(57837).then(r.bind(r,57837));return{id:t1,diagram:t}},"loader"),t3={id:t1,detector:t2,loader:t5},t4="kanban",t6=(0,c.K2)(t=>/^\s*kanban/.test(t),"detector"),t8=(0,c.K2)(async()=>{let{diagram:t}=await r.e(28293).then(r.bind(r,28293));return{id:t4,diagram:t}},"loader"),t9={id:t4,detector:t6,loader:t8},t7="sankey",et=(0,c.K2)(t=>/^\s*sankey(-beta)?/.test(t),"detector"),ee=(0,c.K2)(async()=>{let{diagram:t}=await r.e(28077).then(r.bind(r,28077));return{id:t7,diagram:t}},"loader"),er={id:t7,detector:et,loader:ee},ei="packet",ea=(0,c.K2)(t=>/^\s*packet(-beta)?/.test(t),"detector"),en=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(21536),r.e(72395),r.e(7759)]).then(r.bind(r,7759));return{id:ei,diagram:t}},"loader"),eo={id:ei,detector:ea,loader:en},es="radar",el=(0,c.K2)(t=>/^\s*radar-beta/.test(t),"detector"),eh=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(21536),r.e(72395),r.e(82760)]).then(r.bind(r,82760));return{id:es,diagram:t}},"loader"),ec={id:es,detector:el,loader:eh},eu="block",ed=(0,c.K2)(t=>/^\s*block(-beta)?/.test(t),"detector"),ep=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(21536),r.e(31422),r.e(39754)]).then(r.bind(r,39754));return{id:eu,diagram:t}},"loader"),ef={id:eu,detector:ed,loader:ep},eg="architecture",em=(0,c.K2)(t=>/^\s*architecture/.test(t),"detector"),ey=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(56184),r.e(21536),r.e(72395),r.e(54889)]).then(r.bind(r,54889));return{id:eg,diagram:t}},"loader"),eb={id:eg,detector:em,loader:ey},ex="treemap",eC=(0,c.K2)(t=>/^\s*treemap/.test(t),"detector"),ek=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(21536),r.e(72395),r.e(51929)]).then(r.bind(r,51929));return{id:ex,diagram:t}},"loader"),e_={id:ex,detector:eC,loader:ek},ev=!1,eA=(0,c.K2)(()=>{!ev&&(ev=!0,(0,h.Js)("error",tU,t=>"error"===t.toLowerCase().trim()),(0,h.Js)("---",{db:{clear:(0,c.K2)(()=>{},"clear")},styles:{},renderer:{draw:(0,c.K2)(()=>{},"draw")},parser:{parse:(0,c.K2)(()=>{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")},"parse")},init:(0,c.K2)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,h.Xd)(tV,t3,eb),(0,h.Xd)(P,t9,tE,tB,X,ti,ts,tl,tC,tA,G,W,t0,J,tP,tD,tW,td,er,eo,tm,ef,ec,e_))},"addDiagrams"),eT=(0,c.K2)(async()=>{c.Rm.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(h.mW).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,h.Gs)(t)}catch{try{let{diagram:t,id:i}=await r();(0,h.Js)(i,t,e)}catch(e){throw c.Rm.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete h.mW[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(c.Rm.error(`Failed to load ${t.length} external diagrams`),t))c.Rm.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function ew(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function eS(t,e,r,i){if(void 0!==t.insert){if(r){let e=`chart-desc-${i}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${i}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}
7(0,c.K2)(ew,"setA11yDiagramInfo"),(0,c.K2)(eS,"addSVGa11yTitleDescription");var eB=class t{constructor(t,e,r,i,a){this.type=t,this.text=e,this.db=r,this.parser=i,this.renderer=a}static{(0,c.K2)(this,"Diagram")}static async fromText(e,r={}){let i=(0,h.zj)(),a=(0,h.Ch)(e,i);e=(0,l.C4)(e)+"\n";try{(0,h.Gs)(a)}catch{let t=(0,h.J$)(a);if(!t)throw new h.C0(`Diagram ${a} not found.`);let{id:e,diagram:r}=await t();(0,h.Js)(e,r)}let{db:n,parser:o,renderer:s,init:c}=(0,h.Gs)(a);return o.parser&&(o.parser.yy=n),n.clear?.(),c?.(i),r.title&&n.setDiagramTitle?.(r.title),await o.parse(e),new t(a,e,n,o,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},eF=[],eL=(0,c.K2)(()=>{eF.forEach(t=>{t()}),eF=[]},"attachFunctions"),eM=(0,c.K2)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function eE(t){let e=t.match(h.EJ);if(!e)return{text:t,metadata:{}};let r=(0,n.H)(e[1],{schema:n.r})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:t.slice(e[0].length),metadata:i}}(0,c.K2)(eE,"extractFrontMatter");var eO=(0,c.K2)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),eK=(0,c.K2)(t=>{let{text:e,metadata:r}=eE(t),{displayMode:i,title:a,config:n={}}=r;return i&&(n.gantt||(n.gantt={}),n.gantt.displayMode=i),{title:a,config:n,text:e}},"processFrontmatter"),eI=(0,c.K2)(t=>{let e=l._K.detectInit(t)??{},r=l._K.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,l.vU)(t),directive:e}},"processDirectives");function eD(t){let e=eK(eO(t)),r=eI(e.text),i=(0,l.$t)(e.config,r.directive);return{code:t=eM(r.text),title:e.title,config:i}}function ez(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,c.K2)(eD,"preprocessDiagram"),(0,c.K2)(ez,"toBase64");var eq=["foreignobject"],eR=["dominant-baseline"];function eP(t){let e=eD(t);return(0,h.cL)(),(0,h.xA)(e.config??{}),e}async function eN(t,e){eA();try{let{code:e,config:r}=eP(t);return{diagramType:(await eQ(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,c.K2)(eP,"processAndSetConfigs"),(0,c.K2)(eN,"parse");var e$=(0,c.K2)((t,e,r=[])=>`
8.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),ej=(0,c.K2)((t,e=new Map)=>{let r="";if(void 0!==t.themeCSS&&(r+=`
9${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`
10:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`
11:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let i=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{(0,R.A)(t.styles)||i.forEach(e=>{r+=e$(t.id,e,t.styles)}
11),(0,R.A)(t.textStyles)||(r+=e$(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))))})}return r},"createCssStyles"),eW=(0,c.K2)((t,e,r,i)=>{let a=ej(t,r),n=(0,h.tM)(e,a,t.themeVariables);return v(function(t){var e,r;return e=function t(e,r,i,a,n,o,s,l,h){for(var c,u,d,f,g,v,A=0,S=0,q=s,R=0,P=0,N=0,$=1,j=1,W=1,H=0,U="",Y=n,G=o,X=a,V=U;j;)switch(N=H,H=E()){case 40:if(108!=N&&58==x(V,q-1)){g=V+=b(I(H),"&","&\f"),v=m(A?l[A-1]:0),-1!=g.indexOf("&\f",v)&&(W=-1);break}case 34:case 39:case 91:V+=I(H);break;case 9:case 10:case 13:case 32:V+=function(t){for(;F=O();)if(F<33)E();else break;return K(t)>2||K(F)>3?"":" "}(N);break;case 92:V+=function(t,e){for(var r;--e&&E()&&!(F<48)&&!(F>102)&&(!(F>57)||!(F<65))&&(!(F>70)||!(F<97)););return r=B+(e<6&&32==O()&&32==E()),C(L,t,r)}(B-1,7);continue;case 47:switch(O()){case 42:case 47:_((c=function(t,e){for(;E();)if(t+F===57)break;else if(t+F===84&&47===O())break;return"/*"+C(L,e,B-1)+"*"+y(47===t?t:E())}(E(),B),u=r,d=i,f=h,M(c,u,d,p,y(F),C(c,2,-2),0,f)),h),(5==K(N||1)||5==K(O()||1))&&k(V)&&" "!==C(V,-1,void 0)&&(V+=" ");break;default:V+="/"}break;case 123*$:l[A++]=k(V)*W;case 125*$:case 59:case 0:switch(H){case 0:case 125:j=0;case 59+S:-1==W&&(V=b(V,/\f/g,"")),P>0&&(k(V)-q||0===$&&47===N)&&_(P>32?z(V+";",a,i,q-1,h):z(b(V," ","")+";",a,i,q-2,h),h);break;case 59:V+=";";default:if(_(X=D(V,r,i,A,S,n,l,U,Y=[],G=[],q,o),o),123===H)if(0===S)t(V,r,X,X,Y,o,q,l,G);else{switch(R){case 99:if(110===x(V,3))break;case 108:if(97===x(V,2))break;default:S=0;case 100:case 109:case 115:}S?t(e,X,X,a&&_(D(e,X,X,0,0,n,l,U,n,Y=[],q,G),G),n,G,q,l,a?Y:G):t(V,X,X,X,[""],G,0,l,G)}}A=S=P=0,$=W=1,U=V="",q=s;break;case 58:q=1+k(V),P=N;default:if($<1){if(123==H)--$;else if(125==H&&0==$++&&125==(F=B>0?x(L,--B):0,w--,10===F&&(w=1,T--),F))continue}switch(V+=y(H),H*$){case 38:W=S>0?1:(V+="\f",-1);break;case 44:l[A++]=(k(V)-1)*W,W=1;break;case 64:45===O()&&(V+=I(E())),R=O(),S=q=k(U=V+=function(t){for(;!K(O());)E();return C(L,t,B)}(B)),H++;break;case 45:45===N&&2==k(V)&&($=0)}}return o}("",null,null,null,[""],(r=t,T=w=1,S=k(L=r),B=0,t=[]),0,[0],t),L="",e}(`${i}{${n}}`),A)},"createUserStyles"),eH=(0,c.K2)((t="",e,r)=>{let i=t;return r||e||(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=(i=(0,l.Sm)(i)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),eU=(0,c.K2)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",i=ez(`<body style="margin:0">${t}</body>`);return`<iframe style="width:100%;height:${r};border:0;margin:0;" src="data:text/html;charset=UTF-8;base64,${i}" sandbox="allow-top-navigation-by-user-activation allow-popups">
12  The "iframe" tag is not supported by your browser.
13</iframe>`},"putIntoIFrame"),eY=(0,c.K2)((t,e,r,i,a)=>{let n=t.append("div");n.attr("id",r),i&&n.attr("style",i);let o=n.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return a&&o.attr("xmlns:xlink",a),o.append("g"),t},"appendDivSvgG");function eG(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,c.K2)(eG,"sandboxedIframe");var eX=(0,c.K2)((t,e,r,i)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(i)?.remove()},"removeExistingElements"),eV=(0,c.K2)(async function(t,e,r){let a,n;eA();let o=eP(e);e=o.code;let s=(0,h.zj)();c.Rm.debug(s),e.length>(s?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let l="#"+t,u="i"+t,p="#"+u,f="d"+t,g="#"+f,m=(0,c.K2)(()=>{let t=b?p:g,e=(0,d.Ltv)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),y=(0,d.Ltv)("body"),b="sandbox"===s.securityLevel,x="loose"===s.securityLevel,C=s.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),b){let t=eG((0,d.Ltv)(r),u);(y=(0,d.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else y=(0,d.Ltv)(r);eY(y,t,f,`font-family: ${C}`,"http://www.w3.org/1999/xlink")}else{if(eX(document,t,f,u),b){let t=eG((0,d.Ltv)("body"),u);(y=(0,d.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else y=(0,d.Ltv)("body");eY(y,t,f)}try{a=await eB.fromText(e,{title:o.title})}catch(t){if(s.suppressErrorRendering)throw m(),t;a=await eB.fromText("error"),n=t}let k=y.select(g).node(),_=a.type,v=k.firstChild,A=v.firstChild,T=eW(s,_,a.renderer.getClasses?.(e,a),l),w=document.createElement("style");w.innerHTML=T,v.insertBefore(w,A);try{await a.renderer.draw(e,t,i.n.version,a)}catch(r){throw s.suppressErrorRendering?m():tH.draw(e,t,i.n.version),r}let S=y.select(`${g} svg`);
13eJ(_,S,a.db.getAccTitle?.(),a.db.getAccDescription?.()),y.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let B=y.select(g).node().innerHTML;if(c.Rm.debug("config.arrowMarkerAbsolute",s.arrowMarkerAbsolute),B=eH(B,b,(0,h._3)(s.arrowMarkerAbsolute)),b?B=eU(B,y.select(g+" svg").node()):x||(B=q.A.sanitize(B,{ADD_TAGS:eq,ADD_ATTR:eR,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),eL(),n)throw n;return m(),{diagramType:_,svg:B,bindFunctions:a.db.bindFunctions}},"render");function eZ(t={}){let e=(0,h.hH)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,h.wZ)(e),e?.theme&&e.theme in h.H$?e.themeVariables=h.H$[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=h.H$.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,h.UU)(e):(0,h.Q2)();(0,c.He)(r.logLevel),eA()}(0,c.K2)(eZ,"initialize");var eQ=(0,c.K2)((t,e={})=>{let{code:r}=eD(t);return eB.fromText(r,e)},"getDiagramFromText");function eJ(t,e,r,i){ew(e,t),eS(e,r,i,e.attr("id"))}(0,c.K2)(eJ,"addA11yInfo");var e0=Object.freeze({render:eV,parse:eN,getDiagramFromText:eQ,initialize:eZ,getConfig:h.zj,setConfig:h.Nk,getSiteConfig:h.Q2,updateSiteConfig:h.B6,reset:(0,c.K2)(()=>{(0,h.cL)()},"reset"),globalReset:(0,c.K2)(()=>{(0,h.cL)(h.sb)},"globalReset"),defaultConfig:h.sb});(0,c.He)((0,h.zj)().logLevel),(0,h.cL)((0,h.zj)());var e1=(0,c.K2)((t,e,r)=>{c.Rm.warn(t),(0,l.dq)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),e2=(0,c.K2)(async function(t={querySelector:".mermaid"}){try{await e5(t)}catch(e){if((0,l.dq)(e)&&c.Rm.error(e.str),rn.parseError&&rn.parseError(e),!t.suppressErrors)throw c.Rm.error("Use the suppressErrors option to suppress these errors"),e}},"run"),e5=(0,c.K2)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let i,a,n=e0.getConfig();if(c.Rm.debug(`${t?"":"No "}Callback function found`),r)i=r;else if(e)i=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");c.Rm.debug(`Found ${i.length} diagrams`),n?.startOnLoad!==void 0&&(c.Rm.debug("Start On Load: "+n?.startOnLoad),e0.updateSiteConfig({startOnLoad:n?.startOnLoad}));let o=new l._K.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed),s=[];for(let e of Array.from(i)){if(c.Rm.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${o.next()}`;a=e.innerHTML,a=(0,u.T)(l._K.entityDecode(a)).trim().replace(/<br\s*\/?>/gi,"<br/>");let i=l._K.detectInit(a);i&&c.Rm.debug("Detected early reinit: ",i);try{let{svg:i,bindFunctions:n}=await ri(r,a,e);e.innerHTML=i,t&&await t(r),n&&n(e)}catch(t){e1(t,s,rn.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),e3=(0,c.K2)(function(t){e0.initialize(t)},"initialize"),e4=(0,c.K2)(async function(t,e,r){c.Rm.warn("mermaid.init is deprecated. Please use run instead."),t&&e3(t);let i={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await e2(i)},"init"),e6=(0,c.K2)(async(t,{lazyLoad:e=!0}={})=>{eA(),(0,h.Xd)(...t),!1===e&&await eT()},"registerExternalDiagrams"),e8=(0,c.K2)(function(){if(rn.startOnLoad){let{startOnLoad:t}=e0.getConfig();t&&rn.run().catch(t=>c.Rm.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",e8,!1);var e9=(0,c.K2)(function(t){rn.parseError=t},"setParseErrorHandler"),e7=[],rt=!1,re=(0,c.K2)(async()=>{if(!rt){for(rt=!0;e7.length>0;){let t=e7.shift();if(t)try{await t()}catch(t){c.Rm.error("Error executing queue",t)}}rt=!1}},"executeQueue"),rr=(0,c.K2)(async(t,e)=>new Promise((r,i)=>{let a=(0,c.K2)(()=>new Promise((a,n)=>{e0.parse(t,e).then(t=>{a(t),r(t)},t=>{c.Rm.error("Error parsing",t),rn.parseError?.(t),n(t),i(t)})}),"performCall");e7.push(a),re().catch(i)}),"parse"),ri=(0,c.K2)((t,e,r)=>new Promise((i,a)=>{let n=(0,c.K2)(()=>new Promise((n,o)=>{e0.render(t,e,r).then(t=>{n(t),i(t)},t=>{c.Rm.error("Error parsing",t),rn.parseError?.(t),o(t),a(t)})}),"performCall");e7.push(n),re().catch(a)}),"render"),ra=(0,c.K2)(()=>Object.keys(h.mW).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),rn={startOnLoad:!0,mermaidAPI:e0,parse:rr,render:ri,init:e4,run:e2,registerExternalDiagrams:e6,registerLayoutLoaders:o.sO,initialize:e3,parseError:void 0,contentLoaded:e8,setParseErrorHandler:e9,detectType:h.Ch,registerIconPacks:s.pC,getRegisteredDiagramsMetadata:ra},ro=rn},14849:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=(0,r(42143).A)(Object.getPrototypeOf,Object)}
13,19550:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=r(25223).A.Uint8Array},19865:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(21587);let a=function(t,e){var r=e?(0,i.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},20228:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});let i={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},a)=>{if(!e)return 2.55*r;t/=360,e/=100;let n=(r/=100)<.5?r*(1+e):r+e-r*e,o=2*r-n;switch(a){case"r":return 255*i.hue2rgb(o,n,t+1/3);case"g":return 255*i.hue2rgb(o,n,t);case"b":return 255*i.hue2rgb(o,n,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},i)=>{let a=Math.max(t/=255,e/=255,r/=255),n=Math.min(t,e,r),o=(a+n)/2;if("l"===i)return 100*o;if(a===n)return 0;let s=a-n;if("s"===i)return 100*(o>.5?s/(2-a-n):s/(a+n));switch(a){case t:return((e-r)/s+6*(e<r))*60;case e:return((r-t)/s+2)*60;case r:return((t-e)/s+4)*60;default:return -1}}},a={channel:i,lang:{clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},20323:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=Object.prototype;let a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||i)}},20743:(t,e,r)=>{"use strict";r.d(e,{Fr:()=>c,GX:()=>h,KX:()=>l,WW:()=>o,ue:()=>n});var i=r(86525),a=r(74481),n=(0,a.K2)(t=>{let{handDrawnSeed:e}=(0,i.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),o=(0,a.K2)(t=>{let e=s([...t.cssCompiledStyles||[],...t.cssStyles||[],...t.labelStyle||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),s=(0,a.K2)(t=>{let e=new Map;return t.forEach(t=>{let[r,i]=t.split(":");e.set(r.trim(),i?.trim())}),e},"styles2Map"),l=(0,a.K2)(t=>"color"===t||"font-size"===t||"font-family"===t||"font-weight"===t||"font-style"===t||"text-decoration"===t||"text-align"===t||"text-transform"===t||"line-height"===t||"letter-spacing"===t||"word-spacing"===t||"text-shadow"===t||"text-overflow"===t||"white-space"===t||"word-wrap"===t||"word-break"===t||"overflow-wrap"===t||"hyphens"===t,"isLabelStyle"),h=(0,a.K2)(t=>{let{stylesArray:e}=o(t),r=[],i=[],a=[],n=[];return e.forEach(t=>{let e=t[0];l(e)?r.push(t.join(":")+" !important"):(i.push(t.join(":")+" !important"),e.includes("stroke")&&a.push(t.join(":")+" !important"),"fill"===e&&n.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:i.join(";"),stylesArray:e,borderStyles:a,backgroundStyles:n}},"styles2String"),c=(0,a.K2)((t,e)=>{let{themeVariables:r,handDrawnSeed:a}=(0,i.D7)(),{nodeBorder:n,mainBkg:s}=r,{stylesMap:l}=o(t);return Object.assign({roughness:.7,fill:l.get("fill")||s,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:l.get("stroke")||n,seed:a,strokeWidth:l.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:u(l.get("stroke-dasharray"))},e)},"userNodeOverrides"),u=(0,a.K2)(t=>{if(!t)return[0,0];let e=t.trim().split(/\s+/).map(Number);if(1===e.length){let t=isNaN(e[0])?0:e[0];return[t,t]}return[isNaN(e[0])?0:e[0],isNaN(e[1])?0:e[1]]},"getStrokeDashArray")},21587:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(19550);let a=function(t){var e=new t.constructor(t.byteLength);return new i.A(e).set(new i.A(t)),e}},22203:(t,e,r)=>{"use strict";r.d(e,{Y:()=>a,Z:()=>n});var i=r(20228);let a={};for(let t=0;t<=255;t++)a[t]=i.A.unit.dec2hex(t);let n={ALL:0,RGB:1,HSL:2}},23109:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(34960);let a=function(){try{var t=(0,i.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},25223:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(95630),a="object"==typeof self&&self&&self.Object===Object&&self;let n=i.A||a||Function("return this")()},25920:(t,e,r)=>{"use strict";function i(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var i=Array.from("string"==typeof t?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var a=i.reduce(function(t,e){var r=e.match(/\n([\t ]+|(?!\s).)/g);return r?t.concat(r.map(function(t){var e,r;return null!==(r=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==r?r:0})):t},[]);if(a.length){var n=RegExp("\n[	 ]{"+Math.min.apply(Math,a)+"}","g");i=i.map(function(t){return t.replace(n,"\n")})}i[0]=i[0].replace(/^\r?\n/,"");var o=i[0];return e.forEach(function(t,e){var r=o.match(/(?:^|\n)( *)$/),a=r?r[1]:"",n=t;"string"==typeof t&&t.includes("\n")&&(n=String(t).split("\n").map(function(t,e){return 0===e?t:""+a+t}).join("\n")),o+=n+i[e+1]}),o}r.d(e,{T:()=>i})},26066:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return function(){return t}}},29376:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(37466);let a=(t,e)=>(0,i.A)(t,"l",e)},32558:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(36228),a=r(58072),n=r(42065),o=r(325);let s=function(t,e,r){if(!(0,o.A)(r))return!1;var s=typeof e;return("number"==s?!!((0,a.A)(r)&&(0,n.A)(e,r.length)):"string"==s&&e in r)&&(0,i.A)(r[e],t)}},33064:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e,r){for(var i=-1,a=Object(t),n=r(t),o=n.length;o--;){var s=n[++i];if(!1===e(a[s],s,a))break}return t}},33262:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});let i=function(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i};var a=r(54250),n=r(6383),o=r(33365),s=r(42065),l=r(41038),h=Object.prototype.hasOwnProperty;let c=function(t,e){var r=(0,n.A)(t),c=!r&&(0,a.A)(t),u=!r&&!c&&(0,o.A)(t),d=!r&&!c&&!u&&(0,l.A)(t),p=r||c||u||d,f=p?i(t.length,String):[],g=f.length;for(var m in t)(e||h.call(t,m))&&!(p&&("length"==m||u&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.A)(m,g)))&&f.push(m);return f}},33365:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(25223),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,n=a&&"object"==typeof module&&module&&!module.nodeType&&module,o=n&&n.exports===a?i.A.Buffer:void 0;let s=(o?o.isBuffer:void 0)||function(){return!1}},33571:(t,e,r)=>{"use strict";r.d(e,{A:()=>K});var i=r(57184),a=r(38208),n=r(36228);let o=function(t,e,r){(void 0===r||(0,n.A)(t[e],r))&&(void 0!==r||e in t)||(0,a.A)(t,e,r)};
13var s=r(33064),l=r(91010),h=r(19865),c=r(76115),u=r(74882),d=r(54250),p=r(6383),f=r(45263),g=r(33365),m=r(87814),y=r(325),b=r(140),x=r(14849),C=r(77738),k=Object.prototype,_=Function.prototype.toString,v=k.hasOwnProperty,A=_.call(Object);let T=function(t){if(!(0,C.A)(t)||"[object Object]"!=(0,b.A)(t))return!1;var e=(0,x.A)(t);if(null===e)return!0;var r=v.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&_.call(r)==A};var w=r(41038);let S=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var B=r(63849),F=r(56843);let L=function(t,e,r,i,a,n,s){var b=S(t,r),x=S(e,r),C=s.get(x);if(C){o(t,r,C);return}var k=n?n(b,x,r+"",t,e,s):void 0,_=void 0===k;if(_){var v=(0,p.A)(x),A=!v&&(0,g.A)(x),L=!v&&!A&&(0,w.A)(x);(k=x,v||A||L)?(0,p.A)(b)?k=b:(0,f.A)(b)?k=(0,c.A)(b):A?(_=!1,k=(0,l.A)(x,!0)):L?(_=!1,k=(0,h.A)(x,!0)):k=[]:T(x)||(0,d.A)(x)?(k=b,(0,d.A)(b))?k=(0,B.A)(b,(0,F.A)(b)):(!(0,y.A)(b)||(0,m.A)(b))&&(k=(0,u.A)(x)):_=!1}_&&(s.set(x,k),a(k,x,i,n,s),s.delete(x)),o(t,r,k)},M=function t(e,r,a,n,l){e!==r&&(0,s.A)(r,function(s,h){if(l||(l=new i.A),(0,y.A)(s))L(e,r,h,a,t,n,l);else{var c=n?n(S(e,h),s,h+"",e,r,l):void 0;void 0===c&&(c=s),o(e,h,c)}},F.A)};var E=r(79280),O=r(32558);let K=function(t){return(0,E.A)(function(e,r){var i=-1,a=r.length,n=a>1?r[a-1]:void 0,o=a>2?r[2]:void 0;for(n=t.length>3&&"function"==typeof n?(a--,n):void 0,o&&(0,O.A)(r[0],r[1],o)&&(n=a<3?void 0:n,a=1),e=Object(e);++i<a;){var s=r[i];s&&t(e,s,i,n)}return e})}(function(t,e,r){M(t,e,r)})},34255:(t,e,r)=>{"use strict";function i(t,e,r){if(t&&t.length){let[i,a]=e,n=Math.PI/180*r,o=Math.cos(n),s=Math.sin(n);for(let e of t){let[t,r]=e;e[0]=(t-i)*o-(r-a)*s+i,e[1]=(t-i)*s+(r-a)*o+a}}}function a(t,e){var r;let a=e.hachureAngle+90,n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.round(Math.max(n,.1));let o=1;return e.roughness>=1&&((null===(r=e.randomizer)||void 0===r?void 0:r.next())||Math.random())>.7&&(o=n),function(t,e,r,a=1){let n=Math.max(e,.1),o=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,s=[0,0];if(r)for(let t of o)i(t,s,r);let l=function(t,e,r){let i=[];for(let e of t){var a,n;let t=[...e];a=t[0],n=t[t.length-1],a[0]===n[0]&&a[1]===n[1]||t.push([t[0][0],t[0][1]]),t.length>2&&i.push(t)}let o=[];e=Math.max(e,.1);let s=[];for(let t of i)for(let e=0;e<t.length-1;e++){let r=t[e],i=t[e+1];if(r[1]!==i[1]){let t=Math.min(r[1],i[1]);s.push({ymin:t,ymax:Math.max(r[1],i[1]),x:t===r[1]?r[0]:i[0],islope:(i[0]-r[0])/(i[1]-r[1])})}}if(s.sort((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!s.length)return o;let l=[],h=s[0].ymin,c=0;for(;l.length||s.length;){if(s.length){let t=-1;for(let e=0;e<s.length&&!(s[e].ymin>h);e++)t=e;s.splice(0,t+1).forEach(t=>{l.push({s:h,edge:t})})}if((l=l.filter(t=>!(t.edge.ymax<=h))).sort((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x)),(1!==r||c%e==0)&&l.length>1)for(let t=0;t<l.length;t+=2){let e=t+1;if(e>=l.length)break;let r=l[t].edge,i=l[e].edge;o.push([[Math.round(r.x),h],[Math.round(i.x),h]])}h+=r,l.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),c++}return o}(o,n,a);if(r){for(let t of o)i(t,s,-r);let t=[];l.forEach(e=>t.push(...e)),i(t,s,-r)}return l}(t,n,a,o||1)}r.d(e,{A:()=>X});class n{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){let r=[];for(let i of t)r.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],e));return r}}function o(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class s extends n{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let i=a(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),n=Math.PI/180*e.hachureAngle,s=[],l=.5*r*Math.cos(n),h=.5*r*Math.sin(n);for(let[t,e]of i)o([t,e])&&s.push([[t[0]-l,t[1]+h],[...e]],[[t[0]+l,t[1]-h],[...e]]);return{type:"fillSketch",ops:this.renderLines(s,e)}}}class l extends n{fillPolygons(t,e){let r=this._fillPolygons(t,e),i=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),a=this._fillPolygons(t,i);return r.ops=r.ops.concat(a.ops),r}}class h{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){let r=[],i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.max(i,.1);let a=e.fillWeight;a<0&&(a=e.strokeWidth/2);let n=i/4;for(let s of t){let t=o(s),l=Math.ceil(t/i)-1,h=t-l*i,c=(s[0][0]+s[1][0])/2-i/4,u=Math.min(s[0][1],s[1][1]);for(let t=0;t<l;t++){let o=c-n+2*Math.random()*n,s=u+h+t*i-n+2*Math.random()*n,l=this.helper.ellipse(o,s,a,a,e);r.push(...l.ops)}}return{type:"fillSketch",ops:r}}}class c{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.dashedLine(r,e)}}dashedLine(t,e){let r=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,i=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,a=[];return t.forEach(t=>{let n=o(t),s=Math.floor(n/(r+i)),l=(n+i-s*(r+i))/2,h=t[0],c=t[1];h[0]>c[0]&&(h=t[1],c=t[0]);let u=Math.atan((c[1]-h[1])/(c[0]-h[0]));for(let t=0;t<s;t++){let n=t*(r+i),o=n+r,s=[h[0]+n*Math.cos(u)+l*Math.cos(u),h[1]+n*Math.sin(u)+l*Math.sin(u)],c=[h[0]+o*Math.cos(u)+l*Math.cos(u),h[1]+o*Math.sin(u)+l*Math.sin(u)];
13a.push(...this.helper.doubleLineOps(s[0],s[1],c[0],c[1],e))}}),a}}class u{constructor(t){this.helper=t}fillPolygons(t,e){let r=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,i=e.zigzagOffset<0?r:e.zigzagOffset,n=a(t,e=Object.assign({},e,{hachureGap:r+i}));return{type:"fillSketch",ops:this.zigzagLines(n,i,e)}}zigzagLines(t,e,r){let i=[];return t.forEach(t=>{let a=Math.round(o(t)/(2*e)),n=t[0],s=t[1];n[0]>s[0]&&(n=t[1],s=t[0]);let l=Math.atan((s[1]-n[1])/(s[0]-n[0]));for(let t=0;t<a;t++){let a=2*t*e,o=2*(t+1)*e,s=Math.sqrt(2*Math.pow(e,2)),h=[n[0]+a*Math.cos(l),n[1]+a*Math.sin(l)],c=[n[0]+o*Math.cos(l),n[1]+o*Math.sin(l)],u=[h[0]+s*Math.cos(l+Math.PI/4),h[1]+s*Math.sin(l+Math.PI/4)];i.push(...this.helper.doubleLineOps(h[0],h[1],u[0],u[1],r),...this.helper.doubleLineOps(u[0],u[1],c[0],c[1],r))}}),i}}let d={};class p{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function g(t){let e=[],r=function(t){let e=[];for(;""!==t;)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:0,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:1,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:2,text:""},e}(t),i="BOD",a=0,n=r[0];for(;2!==n.type;){let o=0,s=[];if("BOD"===i){if("M"!==n.text&&"m"!==n.text)return g("M0,0"+t);a++,o=f[n.text],i=n.text}else 1===n.type?o=f[i]:(a++,o=f[n.text],i=n.text);if(!(a+o<r.length))throw Error("Path data ended short");for(let t=a;t<a+o;t++){let e=r[t];if(1!==e.type)throw Error("Param not a number: "+i+","+e.text);s[s.length]=+e.text}if("number"!=typeof f[i])throw Error("Bad segment: "+i);{let t={key:i,data:s};e.push(t),a+=o,n=r[a],"M"===i&&(i="L"),"m"===i&&(i="l")}}return e}function m(t){let e=0,r=0,i=0,a=0,n=[];for(let{key:o,data:s}of t)switch(o){case"M":n.push({key:"M",data:[...s]}),[e,r]=s,[i,a]=s;break;case"m":e+=s[0],r+=s[1],n.push({key:"M",data:[e,r]}),i=e,a=r;break;case"L":n.push({key:"L",data:[...s]}),[e,r]=s;break;case"l":e+=s[0],r+=s[1],n.push({key:"L",data:[e,r]});break;case"C":n.push({key:"C",data:[...s]}),e=s[4],r=s[5];break;case"c":{let t=s.map((t,i)=>i%2?t+r:t+e);n.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":n.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{let t=s.map((t,i)=>i%2?t+r:t+e);n.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":n.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],n.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":n.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],n.push({key:"H",data:[e]});break;case"V":n.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],n.push({key:"V",data:[r]});break;case"S":n.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{let t=s.map((t,i)=>i%2?t+r:t+e);n.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":n.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],n.push({key:"T",data:[e,r]});break;case"Z":case"z":n.push({key:"Z",data:[]}),e=i,r=a}return n}function y(t){let e=[],r="",i=0,a=0,n=0,o=0,s=0,l=0;for(let{key:h,data:c}of t){switch(h){case"M":e.push({key:"M",data:[...c]}),[i,a]=c,[n,o]=c;break;case"C":e.push({key:"C",data:[...c]}),i=c[4],a=c[5],s=c[2],l=c[3];break;case"L":e.push({key:"L",data:[...c]}),[i,a]=c;break;case"H":i=c[0],e.push({key:"L",data:[i,a]});break;case"V":a=c[0],e.push({key:"L",data:[i,a]});break;case"S":{let t=0,n=0;"C"===r||"S"===r?(t=i+(i-s),n=a+(a-l)):(t=i,n=a),e.push({key:"C",data:[t,n,...c]}),s=c[0],l=c[1],i=c[2],a=c[3];break}case"T":{let[t,n]=c,o=0,h=0;"Q"===r||"T"===r?(o=i+(i-s),h=a+(a-l)):(o=i,h=a);let u=i+2*(o-i)/3,d=a+2*(h-a)/3,p=t+2*(o-t)/3,f=n+2*(h-n)/3;e.push({key:"C",data:[u,d,p,f,t,n]}),s=o,l=h,i=t,a=n;break}case"Q":{let[t,r,n,o]=c,h=i+2*(t-i)/3,u=a+2*(r-a)/3,d=n+2*(t-n)/3,p=o+2*(r-o)/3;e.push({key:"C",data:[h,u,d,p,n,o]}),s=t,l=r,i=n,a=o;break}case"A":{let t=Math.abs(c[0]),r=Math.abs(c[1]),n=c[2],o=c[3],s=c[4],l=c[5],h=c[6];0===t||0===r?(e.push({key:"C",data:[i,a,l,h,l,h]}),i=l,a=h):(i!==l||a!==h)&&((function t(e,r,i,a,n,o,s,l,h,c){let u=Math.PI*s/180,d=[],p=0,f=0,g=0,m=0;if(c)[p,f,g,m]=c;else{[e,r]=b(e,r,-u),[i,a]=b(i,a,-u);
13let t=(e-i)/2,s=(r-a)/2,c=t*t/(n*n)+s*s/(o*o);c>1&&(n*=c=Math.sqrt(c),o*=c);let d=n*n,y=o*o,x=(l===h?-1:1)*Math.sqrt(Math.abs((d*y-d*s*s-y*t*t)/(d*s*s+y*t*t)));g=x*n*s/o+(e+i)/2,m=-(x*o)*t/n+(r+a)/2,p=Math.asin(parseFloat(((r-m)/o).toFixed(9))),f=Math.asin(parseFloat(((a-m)/o).toFixed(9))),e<g&&(p=Math.PI-p),i<g&&(f=Math.PI-f),p<0&&(p=2*Math.PI+p),f<0&&(f=2*Math.PI+f),h&&p>f&&(p-=2*Math.PI),!h&&f>p&&(f-=2*Math.PI)}let y=f-p;if(Math.abs(y)>120*Math.PI/180){let e=f,r=i,l=a;d=t(i=g+n*Math.cos(f=h&&f>p?p+120*Math.PI/180*1:p+-(120*Math.PI/180*1)),a=m+o*Math.sin(f),r,l,n,o,s,0,h,[f,e,g,m])}y=f-p;let x=Math.cos(p),C=Math.cos(f),k=Math.tan(y/4),_=4/3*n*k,v=4/3*o*k,A=[e,r],T=[e+_*Math.sin(p),r-v*x],w=[i+_*Math.sin(f),a-v*C],S=[i,a];if(T[0]=2*A[0]-T[0],T[1]=2*A[1]-T[1],c)return[T,w,S].concat(d);{d=[T,w,S].concat(d);let t=[];for(let e=0;e<d.length;e+=3){let r=b(d[e][0],d[e][1],u),i=b(d[e+1][0],d[e+1][1],u),a=b(d[e+2][0],d[e+2][1],u);t.push([r[0],r[1],i[0],i[1],a[0],a[1]])}return t}})(i,a,l,h,t,r,n,o,s).forEach(function(t){e.push({key:"C",data:t})}),i=l,a=h);break}case"Z":e.push({key:"Z",data:[]}),i=n,a=o}r=h}return e}function b(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}let x={randOffset:function(t,e){return E(t,e)},randOffsetWithRange:function(t,e,r){return M(t,e,r)},ellipse:function(t,e,r,i,a){let n=v(r,i,a);return A(t,e,a,n).opset},doubleLineOps:function(t,e,r,i,a){return O(t,e,r,i,a,!0)}};function C(t,e,r,i,a){return{type:"path",ops:O(t,e,r,i,a)}}function k(t,e,r){let i=(t||[]).length;if(i>2){let a=[];for(let e=0;e<i-1;e++)a.push(...O(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&a.push(...O(t[i-1][0],t[i-1][1],t[0][0],t[0][1],r)),{type:"path",ops:a}}return 2===i?C(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function _(t,e){if(t.length){let r="number"==typeof t[0][0]?[t]:t,i=I(r[0],+(1+.2*e.roughness),e),a=e.disableMultiStroke?[]:I(r[0],1.5*(1+.22*e.roughness),F(e));for(let t=1;t<r.length;t++){let n=r[t];if(n.length){let t=I(n,+(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:I(n,1.5*(1+.22*e.roughness),F(e));for(let e of t)"move"!==e.op&&i.push(e);for(let t of r)"move"!==t.op&&a.push(t)}}return{type:"path",ops:i.concat(a)}}return{type:"path",ops:[]}}function v(t,e,r){let i=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),a=2*Math.PI/Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*i)),n=Math.abs(t/2),o=Math.abs(e/2),s=1-r.curveFitting;return n+=E(n*s,r),o+=E(o*s,r),{increment:a,rx:n,ry:o}}function A(t,e,r,i){let[a,n]=z(i.increment,t,e,i.rx,i.ry,1,i.increment*M(.1,M(.4,1,r),r),r),o=D(a,null,r);if(!r.disableMultiStroke&&0!==r.roughness){let[a]=z(i.increment,t,e,i.rx,i.ry,1.5,0,r),n=D(a,null,r);o=o.concat(n)}return{estimatedPoints:n,opset:{type:"path",ops:o}}}function T(t,e,r,i,a,n,o,s,l){let h=Math.abs(r/2),c=Math.abs(i/2);h+=E(.01*h,l),c+=E(.01*c,l);let u=a,d=n;for(;u<0;)u+=2*Math.PI,d+=2*Math.PI;d-u>2*Math.PI&&(u=0,d=2*Math.PI);let p=Math.min(2*Math.PI/l.curveStepCount/2,(d-u)/2),f=q(p,t,e,h,c,u,d,1,l);if(!l.disableMultiStroke){let r=q(p,t,e,h,c,u,d,1.5,l);f.push(...r)}return o&&(s?f.push(...O(t,e,t+h*Math.cos(u),e+c*Math.sin(u),l),...O(t,e,t+h*Math.cos(d),e+c*Math.sin(d),l)):f.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+h*Math.cos(u),e+c*Math.sin(u)]})),{type:"path",ops:f}}function w(t,e){let r=y(m(g(t))),i=[],a=[0,0],n=[0,0];for(let{key:t,data:o}of r)switch(t){case"M":n=[o[0],o[1]],a=[o[0],o[1]];break;case"L":i.push(...O(n[0],n[1],o[0],o[1],e)),n=[o[0],o[1]];break;case"C":{let[t,r,a,s,l,h]=o;i.push(...function(t,e,r,i,a,n,o,s){let l=[],h=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],c=[0,0],u=s.disableMultiStroke?1:2,d=s.preserveVertices;for(let p=0;p<u;p++)0===p?l.push({op:"move",data:[o[0],o[1]]}):l.push({op:"move",data:[o[0]+(d?0:E(h[0],s)),o[1]+(d?0:E(h[0],s))]}),c=d?[a,n]:[a+E(h[p],s),n+E(h[p],s)],l.push({op:"bcurveTo",data:[t+E(h[p],s),e+E(h[p],s),r+E(h[p],s),i+E(h[p],s),c[0],c[1]]});return l}(t,r,a,s,l,h,n,e)),n=[l,h];break}case"Z":i.push(...O(n[0],n[1],a[0],a[1],e)),n=[a[0],a[1]]}return{type:"path",ops:i}}function S(t,e){let r=[];for(let i of t)if(i.length){let t=e.maxRandomnessOffset||0,a=i.length;if(a>2){r.push({op:"move",data:[i[0][0]+E(t,e),i[0][1]+E(t,e)]});for(let n=1;n<a;n++)r.push({op:"lineTo",data:[i[n][0]+E(t,e),i[n][1]+E(t,e)]})}}return{type:"fillPath",ops:r}}function B(t,e){return(function(t,e){let r=t.fillStyle||"hachure";if(!d[r])switch(r){case"zigzag":d[r]||(d[r]=new s(e));break;case"cross-hatch":d[r]||(d[r]=new l(e));break;case"dots":d[r]||(d[r]=new h(e));break;case"dashed":d[r]||(d[r]=new c(e));break;case"zigzag-line":d[r]||(d[r]=new u(e));break;default:d[r="hachure"]||(d[r]=new n(e))}return d[r]})(e,x).fillPolygons(t,e)}function F(t){let e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function L(t){return t.randomizer||(t.randomizer=new p(t.seed||0)),t.randomizer.next()}function M(t,e,r,i=1){return r.roughness*i*(L(r)*(e-t)+t)}function E(t,e,r=1){return M(-t,t,e,r)}function O(t,e,r,i,a,n=!1){let o=n?a.disableMultiStrokeFill:a.disableMultiStroke,s=K(t,e,r,i,a,!0,!1);if(o)return s;let l=K(t,e,r,i,a,!0,!0);return s.concat(l)}function K(t,e,r,i,a,n,o){let s=Math.pow(t-r,2)+Math.pow(e-i,2),l=Math.sqrt(s),h=1;h=l<200?1:l>500?.4:-.0016668*l+1.233334;let c=a.maxRandomnessOffset||0;c*c*100>s&&(c=l/10);let u=c/2,d=.2+.2*L(a),p=a.bowing*a.maxRandomnessOffset*(i-e)/200,f=a.bowing*a.maxRandomnessOffset*(t-r)/200;p=E(p,a,h),f=E(f,a,h);let g=[],m=()=>E(u,a,h),y=()=>E(c,a,h),b=a.preserveVertices;return n&&(o?g.push({op:"move",data:[t+(b?0:m()),e+(b?0:m())]}):g.push({op:"move",data:[t+(b?0:E(c,a,h)),e+(b?0:E(c,a,h))]})),o?g.push({op:"bcurveTo",data:[p+t+(r-t)*d+m(),f+e+(i-e)*d+m(),p+t+2*(r-t)*d+m(),f+e+2*(i-e)*d+m(),r+(b?0:m()),i+(b?0:m())]}):g.push({op:"bcurveTo",data:[p+t+(r-t)*d+y(),f+e+(i-e)*d+y(),p+t+2*(r-t)*d+y(),f+e+2*(i-e)*d+y(),r+(b?0:y()),i+(b?0:y())]}),g}function I(t,e,r){if(!t.length)return[];let i=[];i.push([t[0][0]+E(e,r),t[0][1]+E(e,r)]),i.push([t[0][0]+E(e,r),t[0][1]+E(e,r)]);for(let a=1;a<t.length;a++)i.push([t[a][0]+E(e,r),t[a][1]+E(e,r)]),a===t.length-1&&i.push([t[a][0]+E(e,r),t[a][1]+E(e,r)]);return D(i,null,r)}function D(t,e,r){let i=t.length,a=[];if(i>3){let n=[],o=1-r.curveTightness;a.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<i;e++){let r=t[e];n[0]=[r[0],r[1]],n[1]=[r[0]+(o*t[e+1][0]-o*t[e-1][0])/6,r[1]+(o*t[e+1][1]-o*t[e-1][1])/6],n[2]=[t[e+1][
130]+(o*t[e][0]-o*t[e+2][0])/6,t[e+1][1]+(o*t[e][1]-o*t[e+2][1])/6],n[3]=[t[e+1][0],t[e+1][1]],a.push({op:"bcurveTo",data:[n[1][0],n[1][1],n[2][0],n[2][1],n[3][0],n[3][1]]})}if(e&&2===e.length){let t=r.maxRandomnessOffset;a.push({op:"lineTo",data:[e[0]+E(t,r),e[1]+E(t,r)]})}}else 3===i?(a.push({op:"move",data:[t[1][0],t[1][1]]}),a.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===i&&a.push(...K(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return a}function z(t,e,r,i,a,n,o,s){let l=[],h=[];if(0===s.roughness){t/=4,h.push([e+i*Math.cos(-t),r+a*Math.sin(-t)]);for(let n=0;n<=2*Math.PI;n+=t){let t=[e+i*Math.cos(n),r+a*Math.sin(n)];l.push(t),h.push(t)}h.push([e+ +i,r+0*a]),h.push([e+i*Math.cos(t),r+a*Math.sin(t)])}else{let c=E(.5,s)-Math.PI/2;h.push([E(n,s)+e+.9*i*Math.cos(c-t),E(n,s)+r+.9*a*Math.sin(c-t)]);let u=2*Math.PI+c-.01;for(let o=c;o<u;o+=t){let t=[E(n,s)+e+i*Math.cos(o),E(n,s)+r+a*Math.sin(o)];l.push(t),h.push(t)}h.push([E(n,s)+e+i*Math.cos(c+2*Math.PI+.5*o),E(n,s)+r+a*Math.sin(c+2*Math.PI+.5*o)]),h.push([E(n,s)+e+.98*i*Math.cos(c+o),E(n,s)+r+.98*a*Math.sin(c+o)]),h.push([E(n,s)+e+.9*i*Math.cos(c+.5*o),E(n,s)+r+.9*a*Math.sin(c+.5*o)])}return[h,l]}function q(t,e,r,i,a,n,o,s,l){let h=n+E(.1,l),c=[];c.push([E(s,l)+e+.9*i*Math.cos(h-t),E(s,l)+r+.9*a*Math.sin(h-t)]);for(let n=h;n<=o;n+=t)c.push([E(s,l)+e+i*Math.cos(n),E(s,l)+r+a*Math.sin(n)]);return c.push([e+i*Math.cos(o),r+a*Math.sin(o)]),c.push([e+i*Math.cos(o),r+a*Math.sin(o)]),D(c,null,l)}function R(t,e=0){let r=t.length;if(r<3)throw Error("A curve must have at least three points.");let i=[];if(3===r)i.push([...t[0]],[...t[1]],[...t[2]],[...t[2]]);else{let r=[];r.push(t[0],t[0]);for(let e=1;e<t.length;e++)r.push(t[e]),e===t.length-1&&r.push(t[e]);let a=[],n=1-e;i.push([...r[0]]);for(let t=1;t+2<r.length;t++){let e=r[t];a[0]=[e[0],e[1]],a[1]=[e[0]+(n*r[t+1][0]-n*r[t-1][0])/6,e[1]+(n*r[t+1][1]-n*r[t-1][1])/6],a[2]=[r[t+1][0]+(n*r[t][0]-n*r[t+2][0])/6,r[t+1][1]+(n*r[t][1]-n*r[t+2][1])/6],a[3]=[r[t+1][0],r[t+1][1]],i.push(a[1],a[2],a[3])}}return i}function P(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function N(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function $(t,e,r,i,a){let n=a||[],o=t[e],s=t[r-1],l=0,h=1;for(let i=e+1;i<r-1;++i){let e=function(t,e,r){let i=P(e,r);if(0===i)return P(t,e);let a=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/i;return P(t,N(e,r,a=Math.max(0,Math.min(1,a))))}(t[i],o,s);e>l&&(l=e,h=i)}return Math.sqrt(l)>i?($(t,e,h+1,i,n),$(t,h,r,i,n)):(n.length||n.push(o),n.push(s)),n}function j(t,e=.15,r){let i=[],a=(t.length-1)/3;for(let r=0;r<a;r++)!function t(e,r,i,a){let n=a||[];
13if(function(t,e){let r=t[e+0],i=t[e+1],a=t[e+2],n=t[e+3],o=3*i[0]-2*r[0]-n[0];o*=o;let s=3*i[1]-2*r[1]-n[1];s*=s;let l=3*a[0]-2*n[0]-r[0];l*=l;let h=3*a[1]-2*n[1]-r[1];return h*=h,o<l&&(o=l),s<h&&(s=h),o+s}(e,r)<i){let t=e[r+0];n.length?Math.sqrt(P(n[n.length-1],t))>1&&n.push(t):n.push(t),n.push(e[r+3])}else{let a=e[r+0],o=e[r+1],s=e[r+2],l=e[r+3],h=N(a,o,.5),c=N(o,s,.5),u=N(s,l,.5),d=N(h,c,.5),p=N(c,u,.5),f=N(d,p,.5);t([a,h,d,f],0,i,n),t([f,p,u,l],0,i,n)}return n}(t,3*r,e,i);return r&&r>0?$(i,0,i.length,r):i}let W="none";class H{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,i,a){let n=this._o(a);return this._d("line",[C(t,e,r,i,n)],n)}rectangle(t,e,r,i,a){var n,o,s,l;let h=this._o(a),c=[],u=k([[n=t,o=e],[n+(s=r),o],[n+s,o+(l=i)],[n,o+l]],!0,h);if(h.fill){let a=[[t,e],[t+r,e],[t+r,e+i],[t,e+i]];"solid"===h.fillStyle?c.push(S([a],h)):c.push(B([a],h))}return h.stroke!==W&&c.push(u),this._d("rectangle",c,h)}ellipse(t,e,r,i,a){let n=this._o(a),o=[],s=v(r,i,n),l=A(t,e,n,s);if(n.fill)if("solid"===n.fillStyle){let r=A(t,e,n,s).opset;r.type="fillPath",o.push(r)}else o.push(B([l.estimatedPoints],n));return n.stroke!==W&&o.push(l.opset),this._d("ellipse",o,n)}circle(t,e,r,i){let a=this.ellipse(t,e,r,r,i);return a.shape="circle",a}linearPath(t,e){let r=this._o(e);return this._d("linearPath",[k(t,!1,r)],r)}arc(t,e,r,i,a,n,o=!1,s){let l=this._o(s),h=[],c=T(t,e,r,i,a,n,o,!0,l);if(o&&l.fill)if("solid"===l.fillStyle){let o=Object.assign({},l);o.disableMultiStroke=!0;let s=T(t,e,r,i,a,n,!0,!1,o);s.type="fillPath",h.push(s)}else h.push(function(t,e,r,i,a,n,o){let s=Math.abs(r/2),l=Math.abs(i/2);s+=E(.01*s,o),l+=E(.01*l,o);let h=a,c=n;for(;h<0;)h+=2*Math.PI,c+=2*Math.PI;c-h>2*Math.PI&&(h=0,c=2*Math.PI);let u=(c-h)/o.curveStepCount,d=[];for(let r=h;r<=c;r+=u)d.push([t+s*Math.cos(r),e+l*Math.sin(r)]);return d.push([t+s*Math.cos(c),e+l*Math.sin(c)]),d.push([t,e]),B([d],o)}(t,e,r,i,a,n,l));return l.stroke!==W&&h.push(c),this._d("arc",h,l)}curve(t,e){let r=this._o(e),i=[],a=_(t,r);if(r.fill&&r.fill!==W)if("solid"===r.fillStyle){let e=_(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{let e=[];if(t.length)for(let i of"number"==typeof t[0][0]?[t]:t)i.length<3?e.push(...i):3===i.length?e.push(...j(R([i[0],i[0],i[1],i[2]]),10,(1+r.roughness)/2)):e.push(...j(R(i),10,(1+r.roughness)/2));e.length&&i.push(B([e],r))}return r.stroke!==W&&i.push(a),this._d("curve",i,r)}polygon(t,e){let r=this._o(e),i=[],a=k(t,!0,r);return r.fill&&("solid"===r.fillStyle?i.push(S([t],r)):i.push(B([t],r))),r.stroke!==W&&i.push(a),this._d("polygon",i,r)}path(t,e){let r=this._o(e),i=[];if(!t)return this._d("path",i,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let a=r.fill&&"transparent"!==r.fill&&r.fill!==W,n=r.stroke!==W,o=!!(r.simplification&&r.simplification<1),s=function(t,e,r){let i=y(m(g(t))),a=[],n=[],o=[0,0],s=[],l=()=>{s.length>=4&&n.push(...j(s,1)),s=[]},h=()=>{l(),n.length&&(a.push(n),n=[])};for(let{key:t,data:e}of i)switch(t){case"M":h(),o=[e[0],e[1]],n.push(o);break;case"L":l(),n.push([e[0],e[1]]);break;case"C":if(!s.length){let t=n.length?n[n.length-1]:o;s.push([t[0],t[1]])}s.push([e[0],e[1]]),s.push([e[2],e[3]]),s.push([e[4],e[5]]);break;case"Z":l(),n.push([o[0],o[1]])}if(h(),!r)return a;let c=[];for(let t of a){let e=$(t,0,t.length,r);e.length&&c.push(e)}return c}(t,0,o?4-4*(r.simplification||1):(1+r.roughness)/2),l=w(t,r);if(a)if("solid"===r.fillStyle)if(1===s.length){let e=w(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else i.push(S(s,r));else i.push(B(s,r));
13return n&&(o?s.forEach(t=>{i.push(k(t,!1,r))}):i.push(l)),this._d("path",i,r)}opsToPath(t,e){let r="";for(let i of t.ops){let t="number"==typeof e&&e>=0?i.data.map(t=>+t.toFixed(e)):i.data;switch(i.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){let e=t.sets||[],r=t.options||this.defaultOptions,i=[];for(let t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:W};break;case"fillPath":e={d:this.opsToPath(t),stroke:W,strokeWidth:0,fill:r.fill||W};break;case"fillSketch":e=this.fillSketch(t,r)}e&&i.push(e)}return i}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||W,strokeWidth:r,fill:W}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class U{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new H(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.ctx,a=t.options.fixedDecimalPlaceDigits;for(let n of e)switch(n.type){case"path":i.save(),i.strokeStyle="none"===r.stroke?"transparent":r.stroke,i.lineWidth=r.strokeWidth,r.strokeLineDash&&i.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(i.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(i,n,a),i.restore();break;case"fillPath":{i.save(),i.fillStyle=r.fill||"";let e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(i,n,a,e),i.restore();break}case"fillSketch":this.fillSketch(i,n,r)}}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=i,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,i="nonzero"){for(let i of(t.beginPath(),e.ops)){let e="number"==typeof r&&r>=0?i.data.map(t=>+t.toFixed(r)):i.data;switch(i.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(i):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,i,a){let n=this.gen.line(t,e,r,i,a);return this.draw(n),n}rectangle(t,e,r,i,a){let n=this.gen.rectangle(t,e,r,i,a);return this.draw(n),n}ellipse(t,e,r,i,a){let n=this.gen.ellipse(t,e,r,i,a);return this.draw(n),n}circle(t,e,r,i){let a=this.gen.circle(t,e,r,i);return this.draw(a),a}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,i,a,n,o=!1,s){let l=this.gen.arc(t,e,r,i,a,n,o,s);return this.draw(l),l}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){let r=this.gen.path(t,e);return this.draw(r),r}}let Y="http://www.w3.org/2000/svg";class G{constructor(t,e){this.svg=t,this.gen=new H(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,a=i.createElementNS(Y,"g"),n=t.options.fixedDecimalPlaceDigits;for(let o of e){let e=null;switch(o.type){case"path":(e=i.createElementNS(Y,"path")).setAttribute("d",this.opsToPath(o,n)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":(e=i.createElementNS(Y,"path")).setAttribute("d",this.opsToPath(o,n)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(i,o,r)}e&&a.appendChild(e)}return a}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2);let a=t.createElementNS(Y,"path");return a.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),a.setAttribute("stroke",r.fill||""),a.setAttribute("stroke-width",i+""),a.setAttribute("fill","none"),r.fillLineDash&&a.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&a.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),a}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,i,a){let n=this.gen.line(t,e,r,i,a);return this.draw(n)}rectangle(t,e,r,i,a){let n=this.gen.rectangle(t,e,r,i,a);return this.draw(n)}ellipse(t,e,r,i,a){let n=this.gen.ellipse(t,e,r,i,a);return this.draw(n)}circle(t,e,r,i){let a=this.gen.circle(t,e,r,i);return this.draw(a)}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,i,a,n,o=!1,s){let l=this.gen.arc(t,e,r,i,a,n,o,s);return this.draw(l)}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r)}path(t,e){let r=this.gen.path(t,e);return this.draw(r)}}var X={canvas:(t,e)=>new U(t,e),svg:(t,e)=>new G(t,e),generator:t=>new H(t),newSeed:()=>H.newSeed()}},34960:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var i=r(87814),a=r(25223).A["__core-js_shared__"],n=function(){var t=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");
13return t?"Symbol(src)_1."+t:""}(),o=r(325),s=r(93115),l=/^\[object .+?Constructor\]$/,h=Object.prototype,c=Function.prototype.toString,u=h.hasOwnProperty,d=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let p=function(t){return!!(0,o.A)(t)&&(!n||!(n in t))&&((0,i.A)(t)?d:l).test((0,s.A)(t))},f=function(t,e){var r=null==t?void 0:t[e];return p(r)?r:void 0}},36228:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){return t===e||t!=t&&e!=e}},37466:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(20228),a=r(63769);let n=(t,e,r)=>{let n=a.A.parse(t),o=n[e],s=i.A.channel.clamp[e](o+r);return o!==s&&(n[e]=s),a.A.stringify(n)}},38208:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(23109);let a=function(t,e,r){"__proto__"==e&&i.A?(0,i.A)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},40459:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var i=(0,r(34960).A)(Object,"create"),a=Object.prototype.hasOwnProperty,n=Object.prototype.hasOwnProperty;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}o.prototype.clear=function(){this.__data__=i?i(null):{},this.size=0},o.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=+!!e,e},o.prototype.get=function(t){var e=this.__data__;if(i){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(e,t)?e[t]:void 0},o.prototype.has=function(t){var e=this.__data__;return i?void 0!==e[t]:n.call(e,t)},o.prototype.set=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this};var s=r(57990),l=r(87595);let h=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},c=function(t,e){var r=t.__data__;return h(e)?r["string"==typeof e?"string":"hash"]:r.map};function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}u.prototype.clear=function(){this.size=0,this.__data__={hash:new o,map:new(l.A||s.A),string:new o}},u.prototype.delete=function(t){var e=c(this,t).delete(t);return this.size-=+!!e,e},u.prototype.get=function(t){return c(this,t).get(t)},u.prototype.has=function(t){return c(this,t).has(t)},u.prototype.set=function(t,e){var r=c(this,t),i=r.size;return r.set(t,e),this.size+=+(r.size!=i),this};let d=u},40639:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(20228),a=r(22203);class n{constructor(){this.type=a.Z.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=a.Z.ALL}is(t){return this.type===t}}class o{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new n}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=a.Z.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:a}=t;void 0===e&&(t.h=i.A.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=i.A.channel.rgb2hsl(t,"s")),void 0===a&&(t.l=i.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:a}=t;void 0===e&&(t.r=i.A.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=i.A.channel.hsl2rgb(t,"g")),void 0===a&&(t.b=i.A.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}let s=new o({r:0,g:0,b:0,a:0},"transparent")},41038:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(140),a=r(80802),n=r(77738),o={};
13o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=r(68725),l=r(66827),h=l.A&&l.A.isTypedArray;let c=h?(0,s.A)(h):function(t){return(0,n.A)(t)&&(0,a.A)(t.length)&&!!o[(0,i.A)(t)]}},42065:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=/^(?:0|[1-9]\d*)$/;let a=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&t<e}},42143:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){return function(r){return t(e(r))}}},42393:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(20228),a=r(63769);let n=t=>{let{r:e,g:r,b:n}=a.A.parse(t),o=.2126*i.A.channel.toLinear(e)+.7152*i.A.channel.toLinear(r)+.0722*i.A.channel.toLinear(n);return i.A.lang.round(o)},o=t=>n(t)>=.5,s=t=>!o(t)},43471:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(20228),a=r(40639),n=r(63769),o=r(80137);let s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,o.A)(t,{a:e});let l=a.A.set({r:i.A.channel.clamp.r(t),g:i.A.channel.clamp.g(e),b:i.A.channel.clamp.b(r),a:i.A.channel.clamp.a(s)});return n.A.stringify(l)}},45263:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(58072),a=r(77738);let n=function(t){return(0,a.A)(t)&&(0,i.A)(t)}},52611:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(26066),a=r(23109),n=r(83900),o=a.A?function(t,e){return(0,a.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,i.A)(e),writable:!0})}:n.A,s=Date.now;let l=function(t){var e=0,r=0;return function(){var i=s(),a=16-(i-r);if(r=i,a>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(o)},54250:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(140),a=r(77738);let n=function(t){return(0,a.A)(t)&&"[object Arguments]"==(0,i.A)(t)};var o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable;let h=n(function(){return arguments}())?n:function(t){return(0,a.A)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},54455:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let i=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var a=Math.max;let n=function(t,e,r){return e=a(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,s=a(n.length-e,0),l=Array(s);++o<s;)l[o]=n[e+o];o=-1;for(var h=Array(e+1);++o<e;)h[o]=n[o];return h[e]=r(l),i(t,this,h)}}},56843:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(33262),a=r(325),n=r(20323);let o=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;let l=function(t){if(!(0,a.A)(t))return o(t);var e=(0,n.A)(t),r=[];for(var i in t)"constructor"==i&&(e||!s.call(t,i))||r.push(i);return r};var h=r(58072);let c=function(t){return(0,h.A)(t)?(0,i.A)(t,!0):l(t)}},57184:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(57990),a=r(87595),n=r(40459);function o(t){var e=this.__data__=new i.A(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new i.A,this.size=0},o.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var r=this.__data__;if(r instanceof i.A){var o=r.__data__;if(!a.A||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new n.A(o)}return r.set(t,e),this.size=r.size,this};let s=o},57990:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(36228);let a=function(t,e){for(var r=t.length;r--;)if((0,i.A)(t[r][0],e))return r;return -1};var n=Array.prototype.splice;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}o.prototype.clear=function(){this.__data__=[],this.size=0},o.prototype.delete=function(t){var e=this.__data__,r=a(e,t);return!(r<0)&&(r==e.length-1?e.pop():n.call(e,r,1),--this.size,!0)},o.prototype.get=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]},o.prototype.has=function(t){return a(this.__data__,t)>-1}
13,o.prototype.set=function(t,e){var r=this.__data__,i=a(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};let s=o},58072:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(87814),a=r(80802);let n=function(t){return null!=t&&(0,a.A)(t.length)&&!(0,i.A)(t)}},60464:(t,e,r)=>{"use strict";r.d(e,{A:()=>tr});let{entries:i,setPrototypeOf:a,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:s}=Object,{freeze:l,seal:h,create:c}=Object,{apply:u,construct:d}="undefined"!=typeof Reflect&&Reflect;l||(l=function(t){return t}),h||(h=function(t){return t}),u||(u=function(t,e){for(var r=arguments.length,i=Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return t.apply(e,i)}),d||(d=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(...r)});let p=S(Array.prototype.forEach),f=S(Array.prototype.lastIndexOf),g=S(Array.prototype.pop),m=S(Array.prototype.push),y=S(Array.prototype.splice),b=S(String.prototype.toLowerCase),x=S(String.prototype.toString),C=S(String.prototype.match),k=S(String.prototype.replace),_=S(String.prototype.indexOf),v=S(String.prototype.trim),A=S(Object.prototype.hasOwnProperty),T=S(RegExp.prototype.test),w=(Z=TypeError,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return d(Z,e)});function S(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return u(t,e,i)}}function B(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;a&&a(t,null);let i=e.length;for(;i--;){let a=e[i];if("string"==typeof a){let t=r(a);t!==a&&(n(e)||(e[i]=t),a=t)}t[a]=!0}return t}function F(t){let e=c(null);for(let[r,a]of i(t))A(t,r)&&(Array.isArray(a)?e[r]=function(t){for(let e=0;e<t.length;e++)A(t,e)||(t[e]=null);return t}(a):a&&"object"==typeof a&&a.constructor===Object?e[r]=F(a):e[r]=a);return e}function L(t,e){for(;null!==t;){let r=s(t,e);if(r){if(r.get)return S(r.get);if("function"==typeof r.value)return S(r.value)}t=o(t)}return function(){return null}}let M=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),K=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),D=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z=l(["#text"]),q=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
13spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),R=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),N=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$=h(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=h(/<%[\w\W]*|[\w\W]*%>/gm),W=h(/\$\{[\w\W]*/gm),H=h(/^data-[\-\w.\u00B7-\uFFFF]+$/),U=h(/^aria-[\-\w]+$/),Y=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=h(/^(?:\w+script|data):/i),X=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=h(/^html$/i);var Z,Q=Object.freeze({__proto__:null,ARIA_ATTR:U,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:h(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:H,DOCTYPE_NAME:V,ERB_EXPR:j,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:G,MUSTACHE_EXPR:$,TMPLIT_EXPR:W});let J={element:1,text:3,progressingInstruction:7,comment:8,document:9},tt=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(r=e.getAttribute(i));let a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},te=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var tr=function t(){let e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=e=>t(e);
13if(a.version="3.3.1",a.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return a.isSupported=!1,a;let{document:n}=r,o=n,s=o.currentScript,{DocumentFragment:h,HTMLTemplateElement:u,Node:d,Element:S,NodeFilter:$,NamedNodeMap:j=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:W,DOMParser:H,trustedTypes:U}=r,G=S.prototype,X=L(G,"cloneNode"),Z=L(G,"remove"),tr=L(G,"nextSibling"),ti=L(G,"childNodes"),ta=L(G,"parentNode");if("function"==typeof u){let t=n.createElement("template");t.content&&t.content.ownerDocument&&(n=t.content.ownerDocument)}let tn="",{implementation:to,createNodeIterator:ts,createDocumentFragment:tl,getElementsByTagName:th}=n,{importNode:tc}=o,tu=te();a.isSupported="function"==typeof i&&"function"==typeof ta&&to&&void 0!==to.createHTMLDocument;let{MUSTACHE_EXPR:td,ERB_EXPR:tp,TMPLIT_EXPR:tf,DATA_ATTR:tg,ARIA_ATTR:tm,IS_SCRIPT_OR_DATA:ty,ATTR_WHITESPACE:tb,CUSTOM_ELEMENT:tx}=Q,{IS_ALLOWED_URI:tC}=Q,tk=null,t_=B({},[...M,...E,...O,...I,...z]),tv=null,tA=B({},[...q,...R,...P,...N]),tT=Object.seal(c(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}})),tw=null,tS=null,tB=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),tF=!0,tL=!0,tM=!1,tE=!0,tO=!1,tK=!0,tI=!1,tD=!1,tz=!1,tq=!1,tR=!1,tP=!1,tN=!0,t$=!1,tj=!0,tW=!1,tH={},tU=null,tY=B({},["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"]),tG=null,tX=B({},["audio","video","img","source","image","track"]),tV=null,tZ=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tQ="http://www.w3.org/1998/Math/MathML",tJ="http://www.w3.org/2000/svg",t0="http://www.w3.org/1999/xhtml",t1=t0,t2=!1,t5=null,t3=B({},[tQ,tJ,t0],x),t4=B({},["mi","mo","mn","ms","mtext"]),t6=B({},["annotation-xml"]),t8=B({},["title","style","font","a","script"]),t9=null,t7=["application/xhtml+xml","text/html"],et=null,ee=null,er=n.createElement("form"),ei=function(t){return t instanceof RegExp||t instanceof Function},ea=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ee||ee!==t){if(t&&"object"==typeof t||(t={}),t=F(t),et="application/xhtml+xml"===(t9=-1===t7.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?x:b,tk=A(t,"ALLOWED_TAGS")?B({},t.ALLOWED_TAGS,et):t_,tv=A(t,"ALLOWED_ATTR")?B({},t.ALLOWED_ATTR,et):tA,t5=A(t,"ALLOWED_NAMESPACES")?B({},t.ALLOWED_NAMESPACES,x):t3,tV=A(t,"ADD_URI_SAFE_ATTR")?B(F(tZ),t.ADD_URI_SAFE_ATTR,et):tZ,tG=A(t,"ADD_DATA_URI_TAGS")?B(F(tX),t.ADD_DATA_URI_TAGS,et):tX,tU=A(t,"FORBID_CONTENTS")?B({},t.FORBID_CONTENTS,et):tY,tw=A(t,"FORBID_TAGS")?B({},t.FORBID_TAGS,et):F({}),tS=A(t,"FORBID_ATTR")?B({},t.FORBID_ATTR,et):F({}),tH=!!A(t,"USE_PROFILES")&&t.USE_PROFILES,tF=!1!==t.ALLOW_ARIA_ATTR,tL=!1!==t.ALLOW_DATA_ATTR,tM=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tE=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tO=t.SAFE_FOR_TEMPLATES||!1,tK=!1!==t.SAFE_FOR_XML,tI=t.WHOLE_DOCUMENT||!1,tq=t.RETURN_DOM||!1,tR=t.RETURN_DOM_FRAGMENT||!1,tP=t.RETURN_TRUSTED_TYPE||!1,tz=t.FORCE_BODY||!1,tN=!1!==t.SANITIZE_DOM,t$=t.SANITIZE_NAMED_PROPS||!1,tj=!1!==t.KEEP_CONTENT,tW=t.IN_PLACE||!1,tC=t.ALLOWED_URI_REGEXP||Y,t1=t.NAMESPACE||t0,t4=t.MATHML_TEXT_INTEGRATION_POINTS||t4,t6=t.HTML_INTEGRATION_POINTS||t6,tT=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ei(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tT.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ei(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tT.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tT.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tO&&(tL=!1),tR&&(tq=!0),tH&&(tk=B({},z),tv=[],!0===tH.html&&(B(tk,M),B(tv,q)),!0===tH.svg&&(B(tk,E),B(tv,R),B(tv,N)),!0===tH.svgFilters&&
13(B(tk,O),B(tv,R),B(tv,N)),!0===tH.mathMl&&(B(tk,I),B(tv,P),B(tv,N))),t.ADD_TAGS&&("function"==typeof t.ADD_TAGS?tB.tagCheck=t.ADD_TAGS:(tk===t_&&(tk=F(tk)),B(tk,t.ADD_TAGS,et))),t.ADD_ATTR&&("function"==typeof t.ADD_ATTR?tB.attributeCheck=t.ADD_ATTR:(tv===tA&&(tv=F(tv)),B(tv,t.ADD_ATTR,et))),t.ADD_URI_SAFE_ATTR&&B(tV,t.ADD_URI_SAFE_ATTR,et),t.FORBID_CONTENTS&&(tU===tY&&(tU=F(tU)),B(tU,t.FORBID_CONTENTS,et)),t.ADD_FORBID_CONTENTS&&(tU===tY&&(tU=F(tU)),B(tU,t.ADD_FORBID_CONTENTS,et)),tj&&(tk["#text"]=!0),tI&&B(tk,["html","head","body"]),tk.table&&(B(tk,["tbody"]),delete tw.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');tn=(e=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===e&&(e=tt(U,s)),null!==e&&"string"==typeof tn&&(tn=e.createHTML(""));l&&l(t),ee=t}},en=B({},[...E,...O,...K]),eo=B({},[...I,...D]),es=function(t){let e=ta(t);e&&e.tagName||(e={namespaceURI:t1,tagName:"template"});let r=b(t.tagName),i=b(e.tagName);return!!t5[t.namespaceURI]&&(t.namespaceURI===tJ?e.namespaceURI===t0?"svg"===r:e.namespaceURI===tQ?"svg"===r&&("annotation-xml"===i||t4[i]):!!en[r]:t.namespaceURI===tQ?e.namespaceURI===t0?"math"===r:e.namespaceURI===tJ?"math"===r&&t6[i]:!!eo[r]:t.namespaceURI===t0?(e.namespaceURI!==tJ||!!t6[i])&&(e.namespaceURI!==tQ||!!t4[i])&&!eo[r]&&(t8[r]||!en[r]):"application/xhtml+xml"===t9&&!!t5[t.namespaceURI])},el=function(t){m(a.removed,{element:t});try{ta(t).removeChild(t)}catch(e){Z(t)}},eh=function(t,e){try{m(a.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){m(a.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(tq||tR)try{el(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},ec=function(t){let r=null,i=null;if(tz)t="<remove></remove>"+t;else{let e=C(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===t9&&t1===t0&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let a=e?e.createHTML(t):t;if(t1===t0)try{r=new H().parseFromString(a,t9)}catch(t){}if(!r||!r.documentElement){r=to.createDocument(t1,"template",null);try{r.documentElement.innerHTML=t2?tn:a}catch(t){}}let o=r.body||r.documentElement;return(t&&i&&o.insertBefore(n.createTextNode(i),o.childNodes[0]||null),t1===t0)?th.call(r,tI?"html":"body")[0]:tI?r.documentElement:o},eu=function(t){return ts.call(t.ownerDocument||t,t,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT|$.SHOW_PROCESSING_INSTRUCTION|$.SHOW_CDATA_SECTION,null)},ed=function(t){return t instanceof W&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ep=function(t){return"function"==typeof d&&t instanceof d};function ef(t,e,r){p(t,t=>{t.call(a,e,r,ee)})}let eg=function(t){let e=null;if(ef(tu.beforeSanitizeElements,t,null),ed(t))return el(t),!0;let r=et(t.nodeName);if(ef(tu.uponSanitizeElement,t,{tagName:r,allowedTags:tk}),tK&&t.hasChildNodes()&&!ep(t.firstElementChild)&&T(/<[/\w!]/g,t.innerHTML)&&T(/<[/\w!]/g,t.textContent)||t.nodeType===J.progressingInstruction||tK&&t.nodeType===J.comment&&T(/<[/\w]/g,t.data))return el(t),!0;if(!(tB.tagCheck instanceof Function&&tB.tagCheck(r))&&(!tk[r]||tw[r])){if(!tw[r]&&ey(r)&&(tT.tagNameCheck instanceof RegExp&&T(tT.tagNameCheck,r)||tT.tagNameCheck instanceof Function&&tT.tagNameCheck(r)))return!1;if(tj&&!tU[r]){let e=ta(t)||t.parentNode,r=ti(t)||t.childNodes;if(r&&e){let i=r.length;for(let a=i-1;a>=0;--a){let i=X(r[a],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,tr(t))}}}return el(t),!0}return t instanceof S&&!es(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&T(/<\/no(script|embed|frames)/i,t.innerHTML)?(el(t),!0):(tO&&t.nodeType===J.text&&(e=t.textContent,p([td,tp,tf],t=>{e=k(e,t," ")}),t.textContent!==e&&(m(a.removed,{element:t.cloneNode()}),t.textContent=e)),ef(tu.afterSanitizeElements,t,null),!1)},em=function(t,e,r){if(tN&&("id"===e||"name"===e)&&(r in n||r in er))return!1;if(tL&&!tS[e]&&T(tg,e));else if(tF&&T(tm,e));else if(tB.attributeCheck instanceof Function&&tB.attributeCheck(e,t));
13else if(!tv[e]||tS[e]){if(!(ey(t)&&(tT.tagNameCheck instanceof RegExp&&T(tT.tagNameCheck,t)||tT.tagNameCheck instanceof Function&&tT.tagNameCheck(t))&&(tT.attributeNameCheck instanceof RegExp&&T(tT.attributeNameCheck,e)||tT.attributeNameCheck instanceof Function&&tT.attributeNameCheck(e,t))||"is"===e&&tT.allowCustomizedBuiltInElements&&(tT.tagNameCheck instanceof RegExp&&T(tT.tagNameCheck,r)||tT.tagNameCheck instanceof Function&&tT.tagNameCheck(r))))return!1}else if(tV[e]);else if(T(tC,k(r,tb,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===_(r,"data:")&&tG[t]);else if(tM&&!T(ty,k(r,tb,"")));else if(r)return!1;return!0},ey=function(t){return"annotation-xml"!==t&&C(t,tx)},eb=function(t){ef(tu.beforeSanitizeAttributes,t,null);let{attributes:r}=t;if(!r||ed(t))return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tv,forceKeepAttr:void 0},n=r.length;for(;n--;){let{name:o,namespaceURI:s,value:l}=r[n],h=et(o),c="value"===o?l:v(l);if(i.attrName=h,i.attrValue=c,i.keepAttr=!0,i.forceKeepAttr=void 0,ef(tu.uponSanitizeAttribute,t,i),c=i.attrValue,t$&&("id"===h||"name"===h)&&(eh(o,t),c="user-content-"+c),tK&&T(/((--!?|])>)|<\/(style|title|textarea)/i,c)||"attributename"===h&&C(c,"href")){eh(o,t);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr||!tE&&T(/\/>/i,c)){eh(o,t);continue}tO&&p([td,tp,tf],t=>{c=k(c,t," ")});let u=et(t.nodeName);if(!em(u,h,c)){eh(o,t);continue}if(e&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(s);else switch(U.getAttributeType(u,h)){case"TrustedHTML":c=e.createHTML(c);break;case"TrustedScriptURL":c=e.createScriptURL(c)}if(c!==l)try{s?t.setAttributeNS(s,o,c):t.setAttribute(o,c),ed(t)?el(t):g(a.removed)}catch(e){eh(o,t)}}ef(tu.afterSanitizeAttributes,t,null)},ex=function t(e){let r=null,i=eu(e);for(ef(tu.beforeSanitizeShadowDOM,e,null);r=i.nextNode();)ef(tu.uponSanitizeShadowNode,r,null),eg(r),eb(r),r.content instanceof h&&t(r.content);ef(tu.afterSanitizeShadowDOM,e,null)};return a.sanitize=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,n=null,s=null,l=null;if((t2=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ep(t))if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw w("dirty is not a string, aborting")}else throw w("toString is not a function");if(!a.isSupported)return t;if(tD||ea(r),a.removed=[],"string"==typeof t&&(tW=!1),tW){if(t.nodeName){let e=et(t.nodeName);if(!tk[e]||tw[e])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof d)(n=(i=ec("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType===J.element&&"BODY"===n.nodeName?i=n:"HTML"===n.nodeName?i=n:i.appendChild(n);else{if(!tq&&!tO&&!tI&&-1===t.indexOf("<"))return e&&tP?e.createHTML(t):t;if(!(i=ec(t)))return tq?null:tP?tn:""}i&&tz&&el(i.firstChild);let c=eu(tW?t:i);for(;s=c.nextNode();)eg(s),eb(s),s.content instanceof h&&ex(s.content);if(tW)return t;if(tq){if(tR)for(l=tl.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(tv.shadowroot||tv.shadowrootmode)&&(l=tc.call(o,l,!0)),l}let u=tI?i.outerHTML:i.innerHTML;return tI&&tk["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&T(V,i.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+u),tO&&p([td,tp,tf],t=>{u=k(u,t," ")}),e&&tP?e.createHTML(u):u},a.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ea(t),tD=!0},a.clearConfig=function(){ee=null,tD=!1},a.isValidAttribute=function(t,e,r){return ee||ea({}),em(et(t),et(e),r)},a.addHook=function(t,e){"function"==typeof e&&m(tu[t],e)},a.removeHook=function(t,e){if(void 0!==e){let r=f(tu[t],e);return -1===r?void 0:y(tu[t],r,1)[0]}return g(tu[t])},a.removeHooks=function(t){tu[t]=[]},a.removeAllHooks=function(){tu=te()},a}()},63769:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(40639),a=r(22203);let n={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(n.re);if(!e)return;let r=e[1],a=parseInt(r,16),o=r.length,s=o%4==0,l=o>4,h=l?1:17,c=l?8:4,u=s?0:-1,d=l?255:15;return i.A.set({r:(a>>c*(u+3)&d)*h,g:(a>>c*(u+2)&d)*h,b:(a>>c*(u+1)&d)*h,a:s?(a&d)*h/255:1},t)},stringify:t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(i)]}${a.Y[Math.round(255*n)]}`:`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(i)]}`}};var o=r(20228);let s={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(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return o.A.channel.clamp.h(.9*parseFloat(t));case"rad":return o.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return o.A.channel.clamp.h(360*parseFloat(t))}}return o.A.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,a,n,l,h,c]=r;return i.A.set({h:s._hue2deg(a),s:o.A.channel.clamp.s(parseFloat(n)),l:o.A.channel.clamp.l(parseFloat(l)),a:h?o.A.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{let{h:e,s:r,l:i,a}=t;return a<1?`hsla(${o.A.lang.round(e)}, ${o.A.lang.round(r)}%, ${o.A.lang.round(i)}%, ${a})`:`hsl(${o.A.lang.round(e)}, ${o.A.lang.round(r)}%, ${o.A.lang.round(i)}%)`}},l={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",s
13almon:"#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=l.colors[t];if(e)return n.parse(e)},stringify:t=>{let e=n.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},h={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 r=t.match(h.re);if(!r)return;let[,a,n,s,l,c,u,d,p]=r;return i.A.set({r:o.A.channel.clamp.r(n?2.55*parseFloat(a):parseFloat(a)),g:o.A.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:o.A.channel.clamp.b(u?2.55*parseFloat(c):parseFloat(c)),a:d?o.A.channel.clamp.a(p?parseFloat(d)/100:parseFloat(d)):1},t)},stringify:t=>{let{r:e,g:r,b:i,a}=t;return a<1?`rgba(${o.A.lang.round(e)}, ${o.A.lang.round(r)}, ${o.A.lang.round(i)}, ${o.A.lang.round(a)})`:`rgb(${o.A.lang.round(e)}, ${o.A.lang.round(r)}, ${o.A.lang.round(i)})`}},c={format:{keyword:l,hex:n,rgb:h,rgba:h,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=n.parse(t)||h.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(a.Z.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?n.stringify(t):h.stringify(t)}},63849:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(72263),a=r(38208);let n=function(t,e,r,n){var o=!r;r||(r={});for(var s=-1,l=e.length;++s<l;){var h=e[s],c=n?n(r[h],t[h],h,r,t):void 0;void 0===c&&(c=t[h]),o?(0,a.A)(r,h,c):(0,i.A)(r,h,c)}return r}},64110:(t,e,r)=>{"use strict";r.d(e,{Nq:()=>n,RI:()=>l,hq:()=>a});var i=r(74481),a={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4},n={arrow_point:9,arrow_cross:12.5,arrow_circle:12.5};function o(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=s(t),e=s(e);let[r,i]=[t.x,t.y],[a,n]=[e.x,e.y],o=a-r,l=n-i;return{angle:Math.atan(l/o),deltaX:o,deltaY:l}}(0,i.K2)(o,"calculateDeltaAndAngle");var s=(0,i.K2)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),l=(0,i.K2)(t=>({x:(0,i.K2)(function(e,r,i){let n=0,l=s(i[0]).x<s(i[i.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(a,t.arrowTypeStart)){let{angle:e,deltaX:r}=o(i[0],i[1]);n=a[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(a,t.arrowTypeEnd)){let{angle:e,deltaX:r}=o(i[i.length-1],i[i.length-2]);n=a[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let h=Math.abs(s(e).x-s(i[i.length-1]).x),c=Math.abs(s(e).y-s(i[i.length-1]).y),u=Math.abs(s(e).x-s(i[0]).x),d=Math.abs(s(e).y-s(i[0]).y),p=a[t.arrowTypeStart],f=a[t.arrowTypeEnd];if(h<f&&h>0&&c<f){let t=f+1-h;t*="right"===l?-1:1,n-=t}if(u<p&&u>0&&d<p){let t=p+1-u;t*="right"===l?-1:1,n+=t}return s(e).x+n},"x"),y:(0,i.K2)(function(e,r,i){let n=0,l=s(i[0]).y<s(i[i.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(a,t.arrowTypeStart)){let{angle:e,deltaY:r}=o(i[0],i[1]);n=a[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(a,t.arrowTypeEnd)){let{angle:e,deltaY:r}=o(i[i.length-1],i[i.length-2]);n=a[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let h=Math.abs(s(e).y-s(i[i.length-1]).y),c=Math.abs(s(e).x-s(i[i.length-1]).x),u=Math.abs(s(e).y-s(i[0]).y),d=Math.abs(s(e).x-s(i[0]).x),p=a[t.arrowTypeStart],f=a[t.arrowTypeEnd];if(h<f&&h>0&&c<f){let t=f+1-h;t*="up"===l?-1:1,n-=t}if(u<p&&u>0&&d<p){let t=p+1-u;t*="up"===l?-1:1,n+=t}return s(e).y+n},"y")}),"getLineFunctionsWithOffset")},65704:(t,e,r)=>{"use strict";r.d(e,{n:()=>i});var i={name:"mermaid",version:"11.12.2",description:"Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",type:"module",module:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts",exports:{".":{types:"./dist/mermaid.d.ts",import:"./dist/mermaid.core.mjs",default:"./dist/mermaid.core.mjs"},"./*":"./*"},keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph","mindmap","packet diagram","c4 diagram","er diagram","pie chart","pie diagram","quadrant chart","requirement diagram","graph"],scripts:{clean:"rimraf dist",dev:"pnpm -w dev","docs:code":"typedoc src/defaultConfig.ts src/config.ts src/mermaid.ts && prettier --write ./src/docs/config/setup","docs:build":"rimraf ../../docs && pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts","docs:verify":"pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts --verify","docs:pre:vitepress":"pnpm --filter ./src/docs prefetch && rimraf src/vitepress && pn
13pm docs:code && tsx scripts/docs.cli.mts --vitepress && pnpm --filter ./src/vitepress install --no-frozen-lockfile --ignore-scripts","docs:build:vitepress":"pnpm docs:pre:vitepress && (cd src/vitepress && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing","docs:dev":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:dev:docker":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev:docker" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:serve":"pnpm docs:build:vitepress && vitepress serve src/vitepress","docs:spellcheck":'cspell "src/docs/**/*.md"',"docs:release-version":"tsx scripts/update-release-version.mts","docs:verify-version":"tsx scripts/update-release-version.mts --verify","types:build-config":"tsx scripts/create-types-from-json-schema.mts","types:verify-config":"tsx scripts/create-types-from-json-schema.mts --verify",checkCircle:"npx madge --circular ./src",prepublishOnly:"pnpm docs:verify-version"},repository:{type:"git",url:"https://github.com/mermaid-js/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^7.1.1","@iconify/utils":"^3.0.1","@mermaid-js/parser":"workspace:^","@types/d3":"^7.4.3",cytoscape:"^3.29.3","cytoscape-cose-bilkent":"^4.1.0","cytoscape-fcose":"^2.2.0",d3:"^7.9.0","d3-sankey":"^0.12.3","dagre-d3-es":"7.0.13",dayjs:"^1.11.18",dompurify:"^3.2.5",katex:"^0.16.22",khroma:"^2.1.0","lodash-es":"^4.17.21",marked:"^16.2.1",roughjs:"^4.6.6",stylis:"^4.3.6","ts-dedent":"^2.2.0",uuid:"^11.1.0"},devDependencies:{"@adobe/jsonschema2md":"^8.0.5","@iconify/types":"^2.0.0","@types/cytoscape":"^3.21.9","@types/cytoscape-fcose":"^2.2.4","@types/d3-sankey":"^0.12.4","@types/d3-scale":"^4.0.9","@types/d3-scale-chromatic":"^3.1.0","@types/d3-selection":"^3.0.11","@types/d3-shape":"^3.1.7","@types/jsdom":"^21.1.7","@types/katex":"^0.16.7","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","@types/stylis":"^4.2.7","@types/uuid":"^10.0.0",ajv:"^8.17.1",canvas:"^3.1.2",chokidar:"3.6.0",concurrently:"^9.1.2","csstree-validator":"^4.0.1",globby:"^14.1.0",jison:"^0.4.18","js-base64":"^3.7.8",jsdom:"^26.1.0","json-schema-to-typescript":"^15.0.4",micromatch:"^4.0.8","path-browserify":"^1.0.1",prettier:"^3.5.3",remark:"^15.0.1","remark-frontmatter":"^5.0.0","remark-gfm":"^4.0.1",rimraf:"^6.0.1","start-server-and-test":"^2.0.13","type-fest":"^4.35.0",typedoc:"^0.28.12","typedoc-plugin-markdown":"^4.8.1",typescript:"~5.7.3","unist-util-flatmap":"^1.0.0","unist-util-visit":"^5.0.0",vitepress:"^1.6.4","vitepress-plugin-search":"1.0.4-alpha.22"},files:["dist/","README.md"],publishConfig:{access:"public"}}},66827:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(95630),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,n=a&&"object"==typeof module&&module&&!module.nodeType&&module,o=n&&n.exports===a&&i.A.process;let s=function(){try{var t=n&&n.require&&n.require("util").types;if(t)return t;return o&&o.binding&&o.binding("util")}catch(t){}}()},68725:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return function(e){return t(e)}}},69614:(t,e,r)=>{"use strict";e.J=void 0;var i=r(84723);function a(t){try{return decodeURIComponent(t)}catch(e){return t}}e.J=function(t){if(!t)return i.BLANK_URL;var e,r=a(t.trim());do e=(r=a(r=r.replace(i.ctrlCharactersRegex,"").replace(i.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)}).replace(i.htmlCtrlEntityRegex,"").replace(i.ctrlCharactersRegex,"").replace(i.whitespaceEscapeCharsRegex,"").trim())).match(i.ctrlCharactersRegex)||r.match(i.htmlEntitiesRegex)||r.match(i.htmlCtrlEntityRegex)||r.match(i.whitespaceEscapeCharsRegex);while(e&&e.length>0);var n=r;if(!n)return i.BLANK_URL;if(i.relativeFirstCharacters.indexOf(n[0])>-1)return n;var o=n.trimStart(),s=o.match(i.urlSchemeRegex);if(!s)return n;var l=s[0].toLowerCase().trim();if(i.invalidProtocolRegex.test(l))return i.BLANK_URL;var h=o.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return h;if("http:"===l||"https:"===l){if(!URL.canParse(h))return i.BLANK_URL;var c=new URL(h);return c.protocol=c.protocol.toLowerCase(),c.hostname=c.hostname.toLowerCase(),c.toString()}return h}},69710:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var i=r(34960),a=r(25223),n=(0,i.A)(a.A,"DataView"),o=r(87595),s=(0,i.A)(a.A,"Promise"),l=r(95270),h=(0,i.A)(a.A,"WeakMap"),c=r(140),u=r(93115),d="[object Map]",p="[object Promise]",f="[object Set]",g="[object WeakMap]",m="[object DataView]",y=(0,u.A)(n),b=(0,u.A)(o.A),x=(0,u.A)(s),C=(0,u.A)(l.A),k=(0,u.A)(h),_=c.A;(n&&_(new n(new ArrayBuffer(1)))!=m||o.A&&_(new o.A)!=d||s&&_(s.resolve())!=p||l.A&&_(new l.A)!=f||h&&_(new h)!=g)&&(_=function(t){var e=(0,c.A)(t),r="[object Object]"==e?t.constructor:void 0,i=r?(0,u.A)(r):"";if(i)switch(i){case y:return m;case b:return d;case x:return p;case C:return f;case k:return g}return e});let v=_},72263:(t,e,r)=>{"use strict";r.d(e,{A:()=>
13o});var i=r(38208),a=r(36228),n=Object.prototype.hasOwnProperty;let o=function(t,e,r){var o=t[e];n.call(t,e)&&(0,a.A)(o,r)&&(void 0!==r||e in t)||(0,i.A)(t,e,r)}},72507:(t,e,r)=>{"use strict";r.d(e,{JLW:()=>eY,l78:()=>d,tlR:()=>u,qrM:()=>e1.Ay,Yu4:()=>eJ.A,IA3:()=>e0.A,Wi0:()=>e2.dJ,PGM:()=>e2.kl,OEq:()=>e3,y8u:()=>e9,olC:()=>rt,IrU:()=>rr,oDi:()=>rn,Q7f:()=>rs,cVp:()=>rh,lUB:()=>ru.A,Lx9:()=>rc.A,nVG:()=>rd.G,uxU:()=>rd.N,Xf2:()=>rp.A,GZz:()=>rf.Ay,UPb:()=>rf.Ps,dyv:()=>rf.Ko,GPZ:()=>ei.GP,Sk5:()=>en,bEH:()=>eK,n8j:()=>eG.A,T9B:()=>a.A,jkA:()=>n.A,rLf:()=>eQ,WH:()=>eI.WH,m4Y:()=>eI.m4,UMr:()=>eI.UM,w7C:()=>eI.w7,zt:()=>eD,Ltv:()=>ez,UAC:()=>rx.UA,DCK:()=>r_.DC,TUC:()=>rC.TU,Agd:()=>rb.Ag,t6C:()=>rg.y,wXd:()=>ry.wX,ABi:()=>rC.AB,Ui6:()=>rk.Ui,rGn:()=>rC.rG,ucG:()=>rm.R,YPH:()=>rC.YP,Mol:()=>rC.Mo,PGu:()=>rC.PG,GuW:()=>rC.Gu,hkb:()=>eg});var i,a=r(83894),n=r(26148);function o(t){return t}function s(t){return"translate("+t+",0)"}function l(t){return"translate(0,"+t+")"}function h(){return!this.__axis}function c(t,e){var r=[],i=null,a=null,n=6,c=6,u=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,p=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",g=1===t||3===t?s:l;function m(s){var l=null==i?e.ticks?e.ticks.apply(e,r):e.domain():i,m=null==a?e.tickFormat?e.tickFormat.apply(e,r):o:a,y=Math.max(n,0)+u,b=e.range(),x=+b[0]+d,C=+b[b.length-1]+d,k=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),d),_=s.selection?s.selection():s,v=_.selectAll(".domain").data([null]),A=_.selectAll(".tick").data(l,e).order(),T=A.exit(),w=A.enter().append("g").attr("class","tick"),S=A.select("line"),B=A.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(w),S=S.merge(w.append("line").attr("stroke","currentColor").attr(f+"2",p*n)),B=B.merge(w.append("text").attr("fill","currentColor").attr(f,p*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),s!==_&&(v=v.transition(s),A=A.transition(s),S=S.transition(s),B=B.transition(s),T=T.transition(s).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=k(t))?g(t+d):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:k(t))+d)})),T.remove(),v.attr("d",4===t||2===t?c?"M"+p*c+","+x+"H"+d+"V"+C+"H"+p*c:"M"+d+","+x+"V"+C:c?"M"+x+","+p*c+"V"+d+"H"+C+"V"+p*c:"M"+x+","+d+"H"+C),A.attr("opacity",1).attr("transform",function(t){return g(k(t)+d)}),S.attr(f+"2",p*n),B.attr(f,p*y).text(m),_.filter(h).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=k})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return r=Array.from(arguments),m},m.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),m):r.slice()},m.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),m):i&&i.slice()},m.tickFormat=function(t){return arguments.length?(a=t,m):a},m.tickSize=function(t){return arguments.length?(n=c=+t,m):n},m.tickSizeInner=function(t){return arguments.length?(n=+t,m):n},m.tickSizeOuter=function(t){return arguments.length?(c=+t,m):c},m.tickPadding=function(t){return arguments.length?(u=+t,m):u},m.offset=function(t){return arguments.length?(d=+t,m):d},m}function u(t){return c(1,t)}function d(t){return c(3,t)}function p(){}function f(t){return null==t?p:function(){return this.querySelector(t)}}function g(){return[]}function m(t){return null==t?g:function(){return this.querySelectorAll(t)}}function y(t){return function(){return this.matches(t)}}function b(t){return function(e){return e.matches(t)}}var x=Array.prototype.find;function C(){return this.firstElementChild}var k=Array.prototype.filter;function _(){return Array.from(this.children)}function v(t){return Array(t.length)}function A(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function T(t,e,r,i,a,n){for(var o,s=0,l=e.length,h=n.length;s<h;++s)(o=e[s])?(o.__data__=n[s],i[s]=o):r[s]=new A(t,n[s]);for(;s<l;++s)(o=e[s])&&(a[s]=o)}function w(t,e,r,i,a,n,o){var s,l,h,c=new Map,u=e.length,d=n.length,p=Array(u);for(s=0;s<u;++s)(l=e[s])&&(p[s]=h=o.call(l,l.__data__,s,e)+"",c.has(h)?a[s]=l:c.set(h,l));for(s=0;s<d;++s)h=o.call(t,n[s],s,n)+"",(l=c.get(h))?(i[s]=l,l.__data__=n[s],c.delete(h)):r[s]=new A(t,n[s]);for(s=0;s<u;++s)(l=e[s])&&c.get(p[s])===l&&(a[s]=l)}function S(t){return t.__data__}function B(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}A.prototype={constructor:A,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)}};var F="http://www.w3.org/1999/xhtml";let L={svg:"http://www.w3.org/2000/svg",xhtml:F,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function M(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),L.hasOwnProperty(e)?{space:L[e],local:t}:t}function E(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function O(t,e){return t.style.getPropertyValue(e)||E(t).getComputedStyle(t,null).getPropertyValue(e)}function K(t){return t.trim().split(/^|\s+/)}function I(t){return t.classList||new D(t)}function D(t){this._node=t,this._names=K(t.getAttribute("class")||"")}function z(t,e){for(var r=I(t),i=-1,a=e.length;++i<a;)r.add(e[i])}function q(t,e){for(var r=I(t),i=-1,a=e.length;++i<a;)r.remove(e[i])}function R(){this.textContent=""}function P(){this.innerHTML=""}function N(){this.nextSibling&&this.parentNode.appendChild(this)}function $(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function j(t){var e=M(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===F&&e.documentElement.namespaceURI===F?e.createElement(t):e.createElementNS(r,t)}})(e)}function W(){return null}function H(){var t=this.parentNode;t&&t.removeChild(this)}function U(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Y(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function G(t){return function(){var e=this.__on;if(e){for(var r,i=0,a=-1,n=e.length;i<n;++i)(r=e[i],t.type&&r.type!==t.type||r.name!==t.name)?e[++a]=r:this.removeEventListener(r.type,r.listener,r.options);++a?e.length=a:delete this.__on}}}function X(t,e,r){return function(){var i,a=this.__on,n=function(t){e.call(this,t,this.__data__)};if(a){for(var o=0,s=a.length;o<s;++o)if((i=a[o]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=n,i.options=r),i.value=e;return}}this.addEventListener(t.type,n,r),i={type:t.type,name:t.name,value:e,listener:n,options:r},a?a.push(i):this.__on=[i]}}function V(t,e,r){var i=E(t),a=i.CustomEvent;"function"==typeof a?a=new a(e,r):(a=i.document.createEvent("Event"),r?(a.initEvent(e,r.bubbles,r.cancelable),a.detail=r.detail):a.initEvent(e,!1,!1)),t.dis
13patchEvent(a)}D.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}};var Z=[null];function Q(t,e){this._groups=t,this._parents=e}function J(){return new Q([[document.documentElement]],Z)}Q.prototype=J.prototype={constructor:Q,select:function(t){"function"!=typeof t&&(t=f(t));for(var e=this._groups,r=e.length,i=Array(r),a=0;a<r;++a)for(var n,o,s=e[a],l=s.length,h=i[a]=Array(l),c=0;c<l;++c)(n=s[c])&&(o=t.call(n,n.__data__,c,s))&&("__data__"in n&&(o.__data__=n.__data__),h[c]=o);return new Q(i,this._parents)},selectAll:function(t){if("function"==typeof t){var e;e=t,t=function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=m(t);for(var r=this._groups,i=r.length,a=[],n=[],o=0;o<i;++o)for(var s,l=r[o],h=l.length,c=0;c<h;++c)(s=l[c])&&(a.push(t.call(s,s.__data__,c,l)),n.push(s));return new Q(a,n)},selectChild:function(t){var e;return this.select(null==t?C:(e="function"==typeof t?t:b(t),function(){return x.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?_:(e="function"==typeof t?t:b(t),function(){return k.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=y(t));for(var e=this._groups,r=e.length,i=Array(r),a=0;a<r;++a)for(var n,o=e[a],s=o.length,l=i[a]=[],h=0;h<s;++h)(n=o[h])&&t.call(n,n.__data__,h,o)&&l.push(n);return new Q(i,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,S);var r=e?w:T,i=this._parents,a=this._groups;"function"!=typeof t&&(b=t,t=function(){return b});for(var n=a.length,o=Array(n),s=Array(n),l=Array(n),h=0;h<n;++h){var c=i[h],u=a[h],d=u.length,p="object"==typeof(y=t.call(c,c&&c.__data__,h,i))&&"length"in y?y:Array.from(y),f=p.length,g=s[h]=Array(f),m=o[h]=Array(f);r(c,u,g,m,l[h]=Array(d),p,e);for(var y,b,x,C,k=0,_=0;k<f;++k)if(x=g[k]){for(k>=_&&(_=k+1);!(C=m[_])&&++_<f;);x._next=C||null}}return(o=new Q(o,i))._enter=s,o._exit=l,o},enter:function(){return new Q(this._enter||this._groups.map(v),this._parents)},exit:function(){return new Q(this._exit||this._groups.map(v),this._parents)},join:function(t,e,r){var i=this.enter(),a=this,n=this.exit();return"function"==typeof t?(i=t(i))&&(i=i.selection()):i=i.append(t+""),null!=e&&(a=e(a))&&(a=a.selection()),null==r?n.remove():r(n),i&&a?i.merge(a).order():a},merge:function(t){for(var e=t.selection?t.selection():t,r=this._groups,i=e._groups,a=r.length,n=i.length,o=Math.min(a,n),s=Array(a),l=0;l<o;++l)for(var h,c=r[l],u=i[l],d=c.length,p=s[l]=Array(d),f=0;f<d;++f)(h=c[f]||u[f])&&(p[f]=h);for(;l<a;++l)s[l]=r[l];return new Q(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var i,a=t[e],n=a.length-1,o=a[n];--n>=0;)(i=a[n])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}t||(t=B);for(var r=this._groups,i=r.length,a=Array(i),n=0;n<i;++n){for(var o,s=r[n],l=s.length,h=a[n]=Array(l),c=0;c<l;++c)(o=s[c])&&(h[c]=o);h.sort(e)}return new Q(a,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var i=t[e],a=0,n=i.length;a<n;++a){var o=i[a];if(o)return o}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,r=0,i=e.length;r<i;++r)for(var a,n=e[r],o=0,s=n.length;o<s;++o)(a=n[o])&&t.call(a,a.__data__,o,n);return this},attr:function(t,e){var r=M(t);if(arguments.length<2){var i=this.node();return r.local?i.getAttributeNS(r.space,r.local):i.getAttribute(r)}return this.each((null==e?r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?r.local?function(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}:function(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}:r.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(r,e))},style:function(t,e,r){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,r){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,r)}}:function(t,e,r){return function(){this.style.setProperty(t,e,r)}})(t,e,null==r?"":r)):O(this.node(),t)},property:function(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 r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var r=K(t+"");
13if(arguments.length<2){for(var i=I(this.node()),a=-1,n=r.length;++a<n;)if(!i.contains(r[a]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?z:q)(this,t)}}:e?function(t){return function(){z(this,t)}}:function(t){return function(){q(this,t)}})(r,e))},text:function(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},html:function(t){return arguments.length?this.each(null==t?P:("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},raise:function(){return this.each(N)},lower:function(){return this.each($)},append:function(t){var e="function"==typeof t?t:j(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var r="function"==typeof t?t:j(t),i=null==e?W:"function"==typeof e?e:f(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(H)},clone:function(t){return this.select(t?Y:U)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,r){var i,a,n=(t+"").trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");return r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}),o=n.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,h=0,c=s.length;h<c;++h)for(i=0,l=s[h];i<o;++i)if((a=n[i]).type===l.type&&a.name===l.name)return l.value}return}for(i=0,s=e?X:G;i<o;++i)this.each(s(n[i],e,r));return this},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return V(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return V(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var i,a=t[e],n=0,o=a.length;n<o;++n)(i=a[n])&&(yield i)}};var tt={value:()=>{}};function te(){for(var t,e=0,r=arguments.length,i={};e<r;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw Error("illegal type: "+t);i[t]=[]}return new tr(i)}function tr(t){this._=t}function ti(t,e,r){for(var i=0,a=t.length;i<a;++i)if(t[i].name===e){t[i]=tt,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=r&&t.push({name:e,value:r}),t}tr.prototype=te.prototype={constructor:tr,on:function(t,e){var r,i=this._,a=(t+"").trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!i.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),n=-1,o=a.length;if(arguments.length<2){for(;++n<o;)if((r=(t=a[n]).type)&&(r=function(t,e){for(var r,i=0,a=t.length;i<a;++i)if((r=t[i]).name===e)return r.value}(i[r],t.name)))return r;return}if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++n<o;)if(r=(t=a[n]).type)i[r]=ti(i[r],t.name,e);else if(null==e)for(r in i)i[r]=ti(i[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new tr(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var r,i,a=Array(r),n=0;n<r;++n)a[n]=arguments[n+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(i=this._[t],n=0,r=i.length;n<r;++n)i[n].value.apply(e,a)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var i=this._[t],a=0,n=i.length;a<n;++a)i[a].value.apply(e,r)}};var ta,tn,to=0,ts=0,tl=0,th=0,tc=0,tu=0,td="object"==typeof performance&&performance.now?performance:Date,tp="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tf(){return tc||(tp(tg),tc=td.now()+tu)}function tg(){tc=0}function tm(){this._call=this._time=this._next=null}function ty(t,e,r){var i=new tm;return i.restart(t,e,r),i}function tb(){tc=(th=td.now())+tu,to=ts=0;try{tf(),++to;for(var t,e=ta;e;)(t=tc-e._time)>=0&&e._call.call(void 0,t),e=e._next;--to}finally{to=0,function(){for(var t,e,r=ta,i=1/0;r;)r._call?(i>r._time&&(i=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:ta=e);tn=t,tC(i)}(),tc=0}}function tx(){var t=td.now(),e=t-th;e>1e3&&(tu-=e,th=t)}function tC(t){!to&&(ts&&(ts=clearTimeout(ts)),t-tc>24?(t<1/0&&(ts=setTimeout(tb,t-td.now()-tu)),tl&&(tl=clearInterval(tl))):(tl||(th=td.now(),tl=setInterval(tx,1e3)),to=1,tp(tb)))}function tk(t,e,r){var i=new tm;return e=null==e?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,r),i}tm.prototype=ty.prototype={constructor:tm,restart:function(t,e,r){if("function"!=typeof t)throw TypeError("callback is not a function");
vendor: 1,084 bytes, line 13
13r=(null==r?tf():+r)+(null==e?0:+e),this._next||tn===this||(tn?tn._next=this:ta=this,tn=this),this._call=t,this._time=r,tC()},stop:function(){this._call&&(this._call=null,this._time=1/0,tC())}};var t_=te("start","end","cancel","interrupt"),tv=[];function tA(t,e,r,i,a,n){var o=t.__transition;if(o){if(r in o)return}else t.__transition={};!function(t,e,r){var i,a=t.__transition;function n(l){var h,c,u,d;if(1!==r.state)return s();for(h in a)if((d=a[h]).name===r.name){if(3===d.state)return tk(n);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete a[h]):+h<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete a[h])}if(tk(function(){3===r.state&&(r.state=4,r.timer.restart(o,r.delay,r.time),o(l))}),r.state=2,r.on.call("start",t,t.__data__,r.index,r.group),2===r.state){for(h=0,r.state=3,i=Array(u=r.tween.length),c=-1;h<u;++h)(d=r.tween[h].value.call(t,t.__data__,r.index,r.group))&&(i[++c]=d);i.length=c+1}}function o(e){for(var a=e<r.duration?r.ease.call(null,e/r.duration):(r.timer.restart(s),r.state=5,1
13),n=-1,o=i.length;++n<o;)i[n].call(t,a);5===r.state&&(r.on.call("end",t,t.__data__,r.index,r.group),s())}function s(){for(var i in r.state=6,r.timer.stop(),delete a[e],a)return;delete t.__transition}a[e]=r,r.timer=ty(function(t){r.state=1,r.timer.restart(n,r.delay,r.time),r.delay<=t&&n(t-r.delay)},0,r.time)}(t,r,{name:e,index:i,group:a,on:t_,tween:tv,time:n.time,delay:n.delay,duration:n.duration,ease:n.ease,timer:null,state:0})}function tT(t,e){var r=tS(t,e);if(r.state>0)throw Error("too late; already scheduled");return r}function tw(t,e){var r=tS(t,e);if(r.state>3)throw Error("too late; already running");return r}function tS(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw Error("transition not found");return r}var tB=r(44314),tF=180/Math.PI,tL={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tM(t,e,r,i,a,n){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*r+e*i)&&(r-=t*l,i-=e*l),(s=Math.sqrt(r*r+i*i))&&(r/=s,i/=s,l/=s),t*i<e*r&&(t=-t,e=-e,l=-l,o=-o),{translateX:a,translateY:n,rotate:Math.atan2(e,t)*tF,skewX:Math.atan(l)*tF,scaleX:o,scaleY:s}}function tE(t,e,r,i){function a(t){return t.length?t.pop()+" ":""}return function(n,o){var s,l,h,c,u=[],d=[];return n=t(n),o=t(o),!function(t,i,a,n,o,s){if(t!==a||i!==n){var l=o.push("translate(",null,e,null,r);s.push({i:l-4,x:(0,tB.A)(t,a)},{i:l-2,x:(0,tB.A)(i,n)})}else(a||n)&&o.push("translate("+a+e+n+r)}(n.translateX,n.translateY,o.translateX,o.translateY,u,d),s=n.rotate,s!==(l=o.rotate)?(s-l>180?l+=360:l-s>180&&(s+=360),d.push({i:u.push(a(u)+"rotate(",null,i)-2,x:(0,tB.A)(s,l)})):l&&u.push(a(u)+"rotate("+l+i),h=n.skewX,h!==(c=o.skewX)?d.push({i:u.push(a(u)+"skewX(",null,i)-2,x:(0,tB.A)(h,c)}):c&&u.push(a(u)+"skewX("+c+i),!function(t,e,r,i,n,o){if(t!==r||e!==i){var s=n.push(a(n)+"scale(",null,",",null,")");o.push({i:s-4,x:(0,tB.A)(t,r)},{i:s-2,x:(0,tB.A)(e,i)})}else(1!==r||1!==i)&&n.push(a(n)+"scale("+r+","+i+")")}(n.scaleX,n.scaleY,o.scaleX,o.scaleY,u,d),n=o=null,function(t){for(var e,r=-1,i=d.length;++r<i;)u[(e=d[r]).i]=e.x(t);return u.join("")}}}var tO=tE(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?tL:tM(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),tK=tE(function(t){return null==t?tL:(i||(i=document.createElementNS("http://www.w3.org/2000/svg","g")),i.setAttribute("transform",t),t=i.transform.baseVal.consolidate())?tM((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tL},", ",")",")");function tI(t,e,r){var i=t._id;return t.each(function(){var t=tw(this,i);(t.value||(t.value={}))[e]=r.apply(this,arguments)}),function(t){return tS(t,i).value[e]}}var tD=r(73434),tz=r(94602),tq=r(71850);function tR(t,e){var r;return("number"==typeof e?tB.A:e instanceof tD.Ay?tz.Ay:(r=(0,tD.Ay)(e))?(e=r,tz.Ay):tq.A)(t,e)}var tP=J.prototype.constructor;function tN(t){return function(){this.style.removeProperty(t)}}var t$=0;function tj(t,e,r,i){this._groups=t,this._parents=e,this._name=r,this._id=i}var tW=J.prototype;tj.prototype=(function(t){return J().transition(t)}).prototype={constructor:tj,select:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=f(t));for(var i=this._groups,a=i.length,n=Array(a),o=0;o<a;++o)for(var s,l,h=i[o],c=h.length,u=n[o]=Array(c),d=0;d<c;++d)(s=h[d])&&(l=t.call(s,s.__data__,d,h))&&("__data__"in s&&(l.__data__=s.__data__),u[d]=l,tA(u[d],e,r,d,u,tS(s,r)));return new tj(n,this._parents,e,r)},selectAll:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=m(t));for(var i=this._groups,a=i.length,n=[],o=[],s=0;s<a;++s)for(var l,h=i[s],c=h.length,u=0;u<c;++u)if(l=h[u]){for(var d,p=t.call(l,l.__data__,u,h),f=tS(l,r),g=0,y=p.length;g<y;++g)(d=p[g])&&tA(d,e,r,g,p,f);n.push(p),o.push(l)}return new tj(n,o,e,r)},selectChild:tW.selectChild,selectChildren:tW.selectChildren,filter:function(t){"function"!=typeof t&&(t=y(t));for(var e=this._groups,r=e.length,i=Array(r),a=0;a<r;++a)for(var n,o=e[a],s=o.length,l=i[a]=[],h=0;h<s;++h)(n=o[h])&&t.call(n,n.__data__,h,o)&&l.push(n);return new tj(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,r=t._groups,i=e.length,a=r.length,n=Math.min(i,a),o=Array(i),s=0;s<n;++s)for(var l,h=e[s],c=r[s],u=h.length,d=o[s]=Array(u),p=0;p<u;
13++p)(l=h[p]||c[p])&&(d[p]=l);for(;s<i;++s)o[s]=e[s];return new tj(o,this._parents,this._name,this._id)},selection:function(){return new tP(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,r=++t$,i=this._groups,a=i.length,n=0;n<a;++n)for(var o,s=i[n],l=s.length,h=0;h<l;++h)if(o=s[h]){var c=tS(o,e);tA(o,t,r,h,s,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new tj(i,this._parents,t,r)},call:tW.call,nodes:tW.nodes,node:tW.node,size:tW.size,empty:tW.empty,each:tW.each,on:function(t,e){var r,i,a,n,o,s,l=this._id;return arguments.length<2?tS(this.node(),l).on.on(t):this.each((r=l,i=t,a=e,s=(i+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?tT:tw,function(){var t=s(this,r),e=t.on;e!==n&&(o=(n=e).copy()).on(i,a),t.on=o}))},attr:function(t,e){var r=M(t),i="transform"===r?tK:tR;return this.attrTween(t,"function"==typeof e?(r.local?function(t,e,r){var i,a,n;return function(){var o,s,l=r(this);return null==l?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local))===(s=l+"")?null:o===i&&s===a?n:(a=s,n=e(i=o,l))}}:function(t,e,r){var i,a,n;return function(){var o,s,l=r(this);return null==l?void this.removeAttribute(t):(o=this.getAttribute(t))===(s=l+"")?null:o===i&&s===a?n:(a=s,n=e(i=o,l))}})(r,i,tI(this,"attr."+t,e)):null==e?(r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(r):(r.local?function(t,e,r){var i,a,n=r+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===n?null:o===i?a:a=e(i=o,r)}}:function(t,e,r){var i,a,n=r+"";return function(){var o=this.getAttribute(t);return o===n?null:o===i?a:a=e(i=o,r)}})(r,i,e))},attrTween:function(t,e){var r="attr."+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();var i=M(t);return this.tween(r,(i.local?function(t,e){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e){this.setAttributeNS(t.space,t.local,a.call(this,e))}),r}return a._value=e,a}:function(t,e){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e){this.setAttribute(t,a.call(this,e))}),r}return a._value=e,a})(i,e))},style:function(t,e,r){var i,a,n,o,s,l,h,c,u,d,p,f,g,m,y,b,x,C,k,_,v,A="transform"==(t+="")?tO:tR;return null==e?this.styleTween(t,(i=t,function(){var t=O(this,i),e=(this.style.removeProperty(i),O(this,i));return t===e?null:t===a&&e===n?o:o=A(a=t,n=e)})).on("end.style."+t,tN(t)):"function"==typeof e?this.styleTween(t,(s=t,l=tI(this,"style."+t,e),function(){var t=O(this,s),e=l(this),r=e+"";return null==e&&(this.style.removeProperty(s),r=e=O(this,s)),t===r?null:t===h&&r===c?u:(c=r,u=A(h=t,e))})).each((d=this._id,x="end."+(b="style."+(p=t)),function(){var t=tw(this,d),e=t.on,r=null==t.value[b]?y||(y=tN(p)):void 0;(e!==f||m!==r)&&(g=(f=e).copy()).on(x,m=r),t.on=g})):this.styleTween(t,(C=t,v=e+"",function(){var t=O(this,C);return t===v?null:t===k?_:_=A(k=t,e)}),r).on("end.style."+t,null)},styleTween:function(t,e,r){var i="style."+(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();return this.tween(i,function(t,e,r){var i,a;function n(){var n=e.apply(this,arguments);return n!==a&&(i=(a=n)&&function(e){this.style.setProperty(t,n.call(this,e),r)}),i}return n._value=e,n}(t,e,null==r?"":r))},text:function(t){var e,r;return this.tween("text","function"==typeof t?(e=tI(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(r=null==t?"":t+"",function(){this.textContent=r}))},textTween:function(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,r;function i(){var i=t.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t){this.textContent=i.call(this,t)}),e}return i._value=t,i}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var i,a=tS(this.node(),r).tween,n=0,o=a.length;n<o;++n)if((i=a[n]).name===t)return i.value;return null}return this.each((null==e?function(t,e){var r,i;return function(){var a=tw(this,t),n=a.tween;if(n!==r){i=r=n;for(var o=0,s=i.length;o<s;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}}a.tween=i}}:function(t,e,r){var i,a;if("function"!=typeof r)throw Error();return function(){var n=tw(this,t),o=n.tween;if(o!==i){a=(i=o).slice();for(var s={name:e,value:r},l=0,h=a.length;l<h;++l)if(a[l].name===e){a[l]=s;break}l===h&&a.push(s)}n.tween=a}})(r,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tT(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tT(this,t).delay=e}})(e,t)):tS(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tw(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tw(this,t).duration=e}})(e,t)):tS(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){tw(this,t).ease=e}}(e,t)):tS(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var r=t.apply(this,arguments);if("function"!=typeof r)throw Error();tw(this,e).ease=r}))},end:function(){var t,e,r=this,i=r._id,a=r.size();return new Promise(function(n,o){var s={value:o},l={value:function(){0==--a&&n()}};r.each(function(){var r=tw(this,i),a=r.on;a!==t&&((e=(t=a).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(l)),r.on=e}),0===a&&n()})},[Symbol.iterator]:tW[Symbol.iterator]};var tH={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};J.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var r,i,a,n=t.__transition,o=!0;if(n){for(a in e=null==e?null:e+"",n){if((r=n[a]).name!==e){o=!1;continue}i=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[a]}o&&delete t.__transition}}(this,t)})},J.prototype.transition=function(t){var e,r;t instanceof tj?(e=t._id,t=t._name):(e=++t$,(r=tH).time=tf(),t=null==t?null:t+"");for(var i=this._groups,a=i.length,n=0;n<a;++n)for(var o,s=i[n],l=s.length,h=0;h<l;++h)(o=s[h])&&tA(o,t,e,h,s,r||function(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return r}(o,e));return new tj(i,this._parents,t,e)};var tU={name:"drag"},tY={name:"space"},tG={name:"handle"},tX={name:"center"};let{abs:tV,max:tZ,min:tQ}=Math;function tJ(t){return[+t[0],+t[1]]}
13function t0(t){return[tJ(t[0]),tJ(t[1])]}var t1={name:"x",handles:["w","e"].map(t9),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},t2={name:"y",handles:["n","s"].map(t9),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},t5=(["n","w","e","s","nw","ne","sw","se"].map(t9),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),t3={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},t4={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},t6={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},t8={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function t9(t){return{type:t}}function t7(t){return!t.ctrlKey&&!t.button}function et(){var t=this.ownerSVGElement||this;return 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]]}function ee(){return navigator.maxTouchPoints||"ontouchstart"in this}function er(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}var ei=r(67890);function ea(t){var e=0,r=t.children,i=r&&r.length;if(i)for(;--i>=0;)e+=r[i].value;else e=1;t.value=e}function en(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=es)):void 0===e&&(e=eo);for(var r,i,a,n,o,s=new ec(t),l=[s];r=l.pop();)if((a=e(r.data))&&(o=(a=Array.from(a)).length))for(r.children=a,n=o-1;n>=0;--n)l.push(i=a[n]=new ec(a[n])),i.parent=r,i.depth=r.depth+1;return s.eachBefore(eh)}function eo(t){return t.children}function es(t){return Array.isArray(t)?t[1]:null}function el(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function eh(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function ec(t){this.data=t,this.depth=this.height=0,this.parent=null}function eu(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}ec.prototype=en.prototype={constructor:ec,count:function(){return this.eachAfter(ea)},each:function(t,e){let r=-1;for(let i of this)t.call(e,i,++r,this);return this},eachAfter:function(t,e){for(var r,i,a,n=this,o=[n],s=[],l=-1;n=o.pop();)if(s.push(n),r=n.children)for(i=0,a=r.length;i<a;++i)o.push(r[i]);for(;n=s.pop();)t.call(e,n,++l,this);return this},eachBefore:function(t,e){for(var r,i,a=this,n=[a],o=-1;a=n.pop();)if(t.call(e,a,++o,this),r=a.children)for(i=r.length-1;i>=0;--i)n.push(r[i]);return this},find:function(t,e){let r=-1;for(let i of this)if(t.call(e,i,++r,this))return i},sum:function(t){return this.eachAfter(function(e){for(var r=+t(e.data)||0,i=e.children,a=i&&i.length;--a>=0;)r+=i[a].value;e.value=r})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,r=function(t,e){if(t===e)return t;var r=t.ancestors(),i=e.ancestors(),a=null;for(t=r.pop(),e=i.pop();t===e;)a=t,t=r.pop(),e=i.pop();return a}(e,t),i=[e];e!==r;)i.push(e=e.parent);for(var a=i.length;t!==r;)i.splice(a,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(r){r!==t&&e.push({source:r.parent,target:r})}),e},copy:function(){return en(this).eachBefore(el)},[Symbol.iterator]:function*(){var t,e,r,i,a=this,n=[a];do for(t=n.reverse(),n=[];a=t.pop();)if(yield a,e=a.children)for(r=0,i=e.length;r<i;++r)n.push(e[r]);while(n.length)}};let ed=function t(e){function r(t,r,i,a,n){!function(t,e,r,i,a,n){for(var o,s,l,h,c,u,d,p,f,g,m,y=[],b=e.children,x=0,C=0,k=b.length,_=e.value;x<k;){l=a-r,h=n-i;do c=b[C++].value;while(!c&&C<k);for(u=d=c,f=Math.max(d/(m=c*c*(g=Math.max(h/l,l/h)/(_*t))),m/u);C<k;++C){if(c+=s=b[C].value,s<u&&(u=s),s>d&&(d=s),(p=Math.max(d/(m=c*c*g),m/u))>f){c-=s;break}f=p}y.push(o={value:c,dice:l<h,children:b.slice(x,C)}),o.dice?function(t,e,r,i,a){for(var n,o=t.children,s=-1,l=o.length,h=t.value&&(i-e)/t.value;++s<l;)(n=o[s]).y0=r,n.y1=a,n.x0=e,n.x1=e+=n.value*h}(o,r,i,a,_?i+=h*c/_:n):function(t,e,r,i,a){for(var n,o=t.children,s=-1,l=o.length,h=t.value&&(
13a-r)/t.value;++s<l;)(n=o[s]).x0=e,n.x1=i,n.y0=r,n.y1=r+=n.value*h}(o,r,i,_?r+=l*c/_:a,n),_-=c,x=C}}(e,t,r,i,a,n)}return r.ratio=function(e){return t((e*=1)>1?e:1)},r}((1+Math.sqrt(5))/2);function ep(){return 0}function ef(t){return function(){return t}}function eg(){var t=ed,e=!1,r=1,i=1,a=[0],n=ep,o=ep,s=ep,l=ep,h=ep;function c(t){return t.x0=t.y0=0,t.x1=r,t.y1=i,t.eachBefore(u),a=[0],e&&t.eachBefore(eu),t}function u(e){var r=a[e.depth],i=e.x0+r,c=e.y0+r,u=e.x1-r,d=e.y1-r;u<i&&(i=u=(i+u)/2),d<c&&(c=d=(c+d)/2),e.x0=i,e.y0=c,e.x1=u,e.y1=d,e.children&&(r=a[e.depth+1]=n(e)/2,i+=h(e)-r,c+=o(e)-r,u-=s(e)-r,d-=l(e)-r,u<i&&(i=u=(i+u)/2),d<c&&(c=d=(c+d)/2),t(e,i,c,u,d))}return c.round=function(t){return arguments.length?(e=!!t,c):e},c.size=function(t){return arguments.length?(r=+t[0],i=+t[1],c):[r,i]},c.tile=function(e){return arguments.length?(t=function(t){if("function"!=typeof t)throw Error();return t}(e),c):t},c.padding=function(t){return arguments.length?c.paddingInner(t).paddingOuter(t):c.paddingInner()},c.paddingInner=function(t){return arguments.length?(n="function"==typeof t?t:ef(+t),c):n},c.paddingOuter=function(t){return arguments.length?c.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):c.paddingTop()},c.paddingTop=function(t){return arguments.length?(o="function"==typeof t?t:ef(+t),c):o},c.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:ef(+t),c):s},c.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:ef(+t),c):l},c.paddingLeft=function(t){return arguments.length?(h="function"==typeof t?t:ef(+t),c):h},c}var em=r(64160);let ey=Math.PI/180,eb=180/Math.PI,ex=4/29,eC=6/29,ek=6/29*3*(6/29),e_=6/29*(6/29)*(6/29);function ev(t){if(t instanceof eA)return new eA(t.l,t.a,t.b,t.opacity);if(t instanceof eL)return eM(t);t instanceof tD.Gw||(t=(0,tD.b)(t));var e,r,i=eB(t.r),a=eB(t.g),n=eB(t.b),o=eT((.2225045*i+.7168786*a+.0606169*n)/1);return i===a&&a===n?e=r=o:(e=eT((.4360747*i+.3850649*a+.1430804*n)/.96422),r=eT((.0139322*i+.0971045*a+.7141733*n)/.82521)),new eA(116*o-16,500*(e-o),200*(o-r),t.opacity)}function eA(t,e,r,i){this.l=+t,this.a=+e,this.b=+r,this.opacity=+i}function eT(t){return t>e_?Math.pow(t,1/3):t/ek+ex}function ew(t){return t>eC?t*t*t:ek*(t-ex)}
13function eS(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eB(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function eF(t,e,r,i){return 1==arguments.length?function(t){if(t instanceof eL)return new eL(t.h,t.c,t.l,t.opacity);if(t instanceof eA||(t=ev(t)),0===t.a&&0===t.b)return new eL(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*eb;return new eL(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new eL(t,e,r,null==i?1:i)}function eL(t,e,r,i){this.h=+t,this.c=+e,this.l=+r,this.opacity=+i}function eM(t){if(isNaN(t.h))return new eA(t.l,0,0,t.opacity);var e=t.h*ey;return new eA(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}(0,em.A)(eA,function(t,e,r,i){return 1==arguments.length?ev(t):new eA(t,e,r,null==i?1:i)},(0,em.X)(tD.Q1,{brighter(t){return new eA(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new eA(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*ew(e),t=+ew(t),r=.82521*ew(r),new tD.Gw(eS(3.1338561*e-1.6168667*t-.4906146*r),eS(-.9787684*e+1.9161415*t+.033454*r),eS(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),(0,em.A)(eL,eF,(0,em.X)(tD.Q1,{brighter(t){return new eL(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new eL(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return eM(this).rgb()}}));var eE=r(82418);function eO(t){return function(e,r){var i=t((e=eF(e)).h,(r=eF(r)).h),a=(0,eE.Ay)(e.c,r.c),n=(0,eE.Ay)(e.l,r.l),o=(0,eE.Ay)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.c=a(t),e.l=n(t),e.opacity=o(t),e+""}}}let eK=eO(eE.lG);eO(eE.Ay);var eI=r(22822);let eD=function(t){for(var e=t.length/6|0,r=Array(e),i=0;i<e;)r[i]="#"+t.slice(6*i,6*++i);return r}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function ez(t){return"string"==typeof t?new Q([[document.querySelector(t)]],[document.documentElement]):new Q([[t]],Z)}var eq=r(49432),eR=r(7973),eP=r(84721);function eN(t){return t.innerRadius}function e$(t){return t.outerRadius}function ej(t){return t.startAngle}function eW(t){return t.endAngle}function eH(t){return t&&t.padAngle}function eU(t,e,r,i,a,n,o){var s=t-r,l=e-i,h=(o?n:-n)/(0,eR.RZ)(s*s+l*l),c=h*l,u=-h*s,d=t+c,p=e+u,f=r+c,g=i+u,m=(d+f)/2,y=(p+g)/2,b=f-d,x=g-p,C=b*b+x*x,k=a-n,_=d*g-f*p,v=(x<0?-1:1)*(0,eR.RZ)((0,eR.T9)(0,k*k*C-_*_)),A=(_*x-b*v)/C,T=(-_*b-x*v)/C,w=(_*x+b*v)/C,S=(-_*b+x*v)/C,B=A-m,F=T-y,L=w-m,M=S-y;return B*B+F*F>L*L+M*M&&(A=w,T=S),{cx:A,cy:T,x01:-c,y01:-u,x11:A*(a/k-1),y11:T*(a/k-1)}}function eY(){var t=eN,e=e$,r=(0,eq.A)(0),i=null,a=ej,n=eW,o=eH,s=null,l=(0,eP.i)(h);function h(){var h,c,u=+t.apply(this,arguments),d=+e.apply(this,arguments),p=a.apply(this,arguments)-eR.TW,f=n.apply(this,arguments)-eR.TW,g=(0,eR.tn)(f-p),m=f>p;if(s||(s=h=l()),d<u&&(c=d,d=u,u=c),d>eR.Ni)if(g>eR.FA-eR.Ni)s.moveTo(d*(0,eR.gn)(p),d*(0,eR.F8)(p)),s.arc(0,0,d,p,f,!m),u>eR.Ni&&(s.moveTo(u*(0,eR.gn)(f),u*(0,eR.F8)(f)),s.arc(0,0,u,f,p,m));else{var y,b,x=p,C=f,k=p,_=f,v=g,A=g,T=o.apply(this,arguments)/2,w=T>eR.Ni&&(i?+i.apply(this,arguments):(0,eR.RZ)(u*u+d*d)),S=(0,eR.jk)((0,eR.tn)(d-u)/2,+r.apply(this,arguments)),B=S,F=S;if(w>eR.Ni){var L=(0,eR.qR)(w/u*(0,eR.F8)(T)),M=(0,eR.qR)(w/d*(0,eR.F8)(T));(v-=2*L)>eR.Ni?(L*=m?1:-1,k+=L,_-=L):(v=0,k=_=(p+f)/2),(A-=2*M)>eR.Ni?(M*=m?1:-1,x+=M,C-=M):(A=0,x=C=(p+f)/2)}var E=d*(0,eR.gn)(x),O=d*(0,eR.F8)(x),K=u*(0,eR.gn)(_),I=u*(0,eR.F8)(_);if(S>eR.Ni){var D,z=d*(0,eR.gn)(C),q=d*(0,eR.F8)(C),R=u*(0,eR.gn)(k),P=u*(0,eR.F8)(k);if(g<eR.pi)if(D=function(t,e,r,i,a,n,o,s){var l=r-t,h=i-e,c=o-a,u=s-n,d=u*l-c*h;if(!(d*d<eR.Ni))return d=(c*(e-n)-u*(t-a))/d,[t+d*l,e+d*h]}(E,O,R,P,z,q,K,I)){var N=E-D[0],$=O-D[1],j=z-D[0],W=q-D[1],H=1/(0,eR.F8)((0,eR.HQ)((N*j+$*W)/((0,eR.RZ)(N*N+$*$)*(0,eR.RZ)(j*j+W*W)))/2),U=(0,eR.RZ)(D[0]*D[0]+D[1]*D[1]);B=(0,eR.jk)(S,(u-U)/(H-1)),F=(0,eR.jk)(S,(d-U)/(H+1))}else B=F=0}A>eR.Ni?F>eR.Ni?(y=eU(R,P,E,O,d,F,m),b=eU(z,q,K,I,d,F,m),s.moveTo(y.cx+y.x01,y.cy+y.y01),F<S?s.arc(y.cx,y.cy,F,(0,eR.FP)(y.y01,y.x01),(0,eR.FP)(b.y01,b.x01),!m):(s.arc(y.
13cx,y.cy,F,(0,eR.FP)(y.y01,y.x01),(0,eR.FP)(y.y11,y.x11),!m),s.arc(0,0,d,(0,eR.FP)(y.cy+y.y11,y.cx+y.x11),(0,eR.FP)(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,F,(0,eR.FP)(b.y11,b.x11),(0,eR.FP)(b.y01,b.x01),!m))):(s.moveTo(E,O),s.arc(0,0,d,x,C,!m)):s.moveTo(E,O),u>eR.Ni&&v>eR.Ni?B>eR.Ni?(y=eU(K,I,z,q,u,-B,m),b=eU(E,O,R,P,u,-B,m),s.lineTo(y.cx+y.x01,y.cy+y.y01),B<S?s.arc(y.cx,y.cy,B,(0,eR.FP)(y.y01,y.x01),(0,eR.FP)(b.y01,b.x01),!m):(s.arc(y.cx,y.cy,B,(0,eR.FP)(y.y01,y.x01),(0,eR.FP)(y.y11,y.x11),!m),s.arc(0,0,u,(0,eR.FP)(y.cy+y.y11,y.cx+y.x11),(0,eR.FP)(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,B,(0,eR.FP)(b.y11,b.x11),(0,eR.FP)(b.y01,b.x01),!m))):s.arc(0,0,u,_,k,m):s.lineTo(K,I)}else s.moveTo(0,0);if(s.closePath(),h)return s=null,h+""||null}return h.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+a.apply(this,arguments)+ +n.apply(this,arguments))/2-eR.pi/2;return[(0,eR.gn)(i)*r,(0,eR.F8)(i)*r]},h.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,eq.A)(+e),h):t},h.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,eq.A)(+t),h):e},h.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:(0,eq.A)(+t),h):r},h.padRadius=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:(0,eq.A)(+t),h):i},h.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,eq.A)(+t),h):a},h.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:(0,eq.A)(+t),h):n},h.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,eq.A)(+t),h):o},h.context=function(t){return arguments.length?(s=null==t?null:t,h):s},h}var eG=r(35186),eX=r(63165);function eV(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function eZ(t){return t}function eQ(){var t=eZ,e=eV,r=null,i=(0,eq.A)(0),a=(0,eq.A)(eR.FA),n=(0,eq.A)(0);function o(o){var s,l,h,c,u,d=(o=(0,eX.A)(o)).length,p=0,f=Array(d),g=Array(d),m=+i.apply(this,arguments),y=Math.min(eR.FA,Math.max(-eR.FA,a.apply(this,arguments)-m)),b=Math.min(Math.abs(y)/d,n.apply(this,arguments)),x=b*(y<0?-1:1);for(s=0;s<d;++s)(u=g[f[s]=s]=+t(o[s],s,o))>0&&(p+=u);for(null!=e?f.sort(function(t,r){return e(g[t],g[r])}):null!=r&&f.sort(function(t,e){return r(o[t],o[e])}),s=0,h=p?(y-d*x)/p:0;s<d;++s,m=c)c=m+((u=g[l=f[s]])>0?u*h:0)+x,g[l]={data:o[l],index:s,value:u,startAngle:m,endAngle:c,padAngle:b};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:(0,eq.A)(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,r=null,o):e},o.sort=function(t){return arguments.length?(r=t,e=null,o):r},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,eq.A)(+t),o):i},o.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,eq.A)(+t),o):a},o.padAngle=function(t){return arguments.length?(n="function"==typeof t?t:(0,eq.A)(+t),o):n},o}var eJ=r(56982),e0=r(65726),e1=r(20086),e2=r(98820);function e5(t,e){this._basis=new e1.xO(t),this._beta=e}e5.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var i,a=t[0],n=e[0],o=t[r]-a,s=e[r]-n,l=-1;++l<=r;)i=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(a+i*o),this._beta*e[l]+(1-this._beta)*(n+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let e3=function t(e){function r(t){return 1===e?new e1.xO(t):new e5(t,e)}return r.beta=function(e){return t(+e)},r}(.85);var e4=r(61740);function e6(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function e8(t,e){this._context=t,this._k=(1-e)/6}e8.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:e6(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*=1,e*=1,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:e6(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}};let e9=function t(e){function r(t){return new e8(t,e)}return r.tension=function(e){return t(+e)},r}(0);function e7(t,e){this._context=t,this._k=(1-e)/6}e7.prototype={areaStart:e4.A,areaEnd:e4.A,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*=1,e*=1,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:e6(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}};let rt=function t(e){function r(t){return new e7(t,e)}return r.tension=function(e){return t(+e)},r}(0);function re(t,e){this._context=t,this._k=(1-e)/6}re.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*=1,e*=1,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:e6(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}};let rr=function t(e){function r(t){return new re(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ri(t,e,r){var i=t._x1,a=t._y1,n=t._x2,o=t._y2;if(t._l01_a>eR.Ni){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,a=(a*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>eR.Ni){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);n=(n*h+t._x1*t._l23_2a-e*t._l12_2a)/c,o=(o*h+t._y1*t._l23_2a-r*t._l12_2a)/c}t._context.bezierCurveTo(i,a,n,o,t._x2,t._y2)}function ra(t,e){this._context=t,this._alpha=e}ra.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*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:ri(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}};let rn=function t(e){function r(t){return e?new ra(t,e):new e8(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function ro(t,e){this._context=t,this._alpha=e}ro.prototype={areaStart:e4.A,areaEnd:e4.A,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*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ri(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}};let rs=function t(e){function r(t){return e?new ro(t,e):new e7(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function rl(t,e){this._context=t,this._alpha=e}rl.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*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ri(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}};let rh=function t(e){function r(t){return e?new rl(t,e):new re(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);var rc=r(2085),ru=r(65945),rd=r(603),rp=r(1205),rf=r(3950),rg=r(33874),rm=r(5393),ry=r(39425),rb=r(63855),rx=r(11773),rC=r(58089),rk=r(86485),r_=r(69341);function rv(t,e,r){this.k=t,this.x=e,this.y=r}rv.prototype={constructor:rv,scale:function(t){return 1===t?this:new rv(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new rv(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 rA=new rv(1,0,0);rv.prototype},72859:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var i=r(11772),a=r(69710),n=r(54250),o=r(6383),s=r(58072),l=r(33365),h=r(20323),c=r(41038),u=Object.prototype.hasOwnProperty;let d=function(t){if(null==t)return!0;
13if((0,s.A)(t)&&((0,o.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,c.A)(t)||(0,n.A)(t)))return!t.length;var e=(0,a.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.A)(t))return!(0,i.A)(t).length;for(var r in t)if(u.call(t,r))return!1;return!0}},73973:(t,e,r)=>{"use strict";r.d(e,{H:()=>eq,r:()=>ez});var i,a=r(74481);function n(t){return null==t}function o(t){return"object"==typeof t&&null!==t}function s(t,e){var r,i="";for(r=0;r<e;r+=1)i+=t;return i}function l(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t}(0,a.K2)(n,"isNothing"),(0,a.K2)(o,"isObject"),(0,a.K2)(function(t){return Array.isArray(t)?t:n(t)?[]:[t]},"toArray"),(0,a.K2)(function(t,e){var r,i,a,n;if(e)for(r=0,i=(n=Object.keys(e)).length;r<i;r+=1)t[a=n[r]]=e[a];return t},"extend"),(0,a.K2)(s,"repeat"),(0,a.K2)(l,"isNegativeZero");var h={isNothing:n,isObject:o,repeat:s,isNegativeZero:l};function c(t,e){var r="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+="\n\n"+t.mark.snippet),i+" "+r):i}function u(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=c(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function d(t,e,r,i,a){var n="",o="",s=Math.floor(a/2)-1;return i-e>s&&(e=i-s+(n=" ... ").length),r-i>s&&(r=i+s-(o=" ...").length),{str:n+t.slice(e,r).replace(/\t/g,"→")+o,pos:i-e+n.length}}function p(t,e){return h.repeat(" ",e-t.length)+t}function f(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 r=/\r?\n|\r|\0/g,i=[0],a=[],n=-1;o=r.exec(t.buffer);)a.push(o.index),i.push(o.index+o[0].length),t.position<=o.index&&n<0&&(n=i.length-2);n<0&&(n=i.length-1);var o,s,l,c="",u=Math.min(t.line+e.linesAfter,a.length).toString().length,f=e.maxLength-(e.indent+u+3);for(s=1;s<=e.linesBefore&&!(n-s<0);s++)l=d(t.buffer,i[n-s],a[n-s],t.position-(i[n]-i[n-s]),f),c=h.repeat(" ",e.indent)+p((t.line-s+1).toString(),u)+" | "+l.str+"\n"+c;for(l=d(t.buffer,i[n],a[n],t.position,f),c+=h.repeat(" ",e.indent)+p((t.line+1).toString(),u)+" | "+l.str+"\n"+h.repeat("-",e.indent+u+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(n+s>=a.length);s++)l=d(t.buffer,i[n+s],a[n+s],t.position-(i[n]-i[n+s]),f),c+=h.repeat(" ",e.indent)+p((t.line+s+1).toString(),u)+" | "+l.str+"\n";return c.replace(/\n$/,"")}(0,a.K2)(c,"formatError"),(0,a.K2)(u,"YAMLException$1"),u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u.prototype.toString=(0,a.K2)(function(t){return this.name+": "+c(this,t)},"toString"),(0,a.K2)(d,"getLine"),(0,a.K2)(p,"padStart"),(0,a.K2)(f,"makeSnippet");var g=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],m=["scalar","sequence","mapping"];function y(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function b(t,e){if(Object.keys(e=e||{}).forEach(function(e){if(-1===g.indexOf(e))throw new u('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=y(e.styleAliases||null),-1===m.indexOf(this.kind))throw new u('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}function x(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,i){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=i)}),r[e]=t}),r}function C(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,a.K2)(i,"collectType"),t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(i);return r}function k(t){return this.extend(t)}(0,a.K2)(y,"compileStyleAliases"),(0,a.K2)(b,"Type$1"),(0,a.K2)(x,"compileList"),(0,a.K2)(C,"compileMap"),(0,a.K2)(k,"Schema$1"),k.prototype.extend=(0,a.K2)(function(t){var e=[],r=[];if(t instanceof b)r.push(t);else if(Array.isArray(t))r=r.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit));else throw new u("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.forEach(function(t){if(!(t instanceof b))throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new u("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
13if(t.multi)throw new u("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(t){if(!(t instanceof b))throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(k.prototype);return i.implicit=(this.implicit||[]).concat(e),i.explicit=(this.explicit||[]).concat(r),i.compiledImplicit=x(i,"implicit"),i.compiledExplicit=x(i,"explicit"),i.compiledTypeMap=C(i.compiledImplicit,i.compiledExplicit),i},"extend");var _=new k({explicit:[new b("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,a.K2)(function(t){return null!==t?t:""},"construct")}),new b("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,a.K2)(function(t){return null!==t?t:[]},"construct")}),new b("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,a.K2)(function(t){return null!==t?t:{}},"construct")})]});function v(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function A(){return null}function T(t){return null===t}(0,a.K2)(v,"resolveYamlNull"),(0,a.K2)(A,"constructYamlNull"),(0,a.K2)(T,"isNull");var w=new b("tag:yaml.org,2002:null",{kind:"scalar",resolve:v,construct:A,predicate:T,represent:{canonical:(0,a.K2)(function(){return"~"},"canonical"),lowercase:(0,a.K2)(function(){return"null"},"lowercase"),uppercase:(0,a.K2)(function(){return"NULL"},"uppercase"),camelcase:(0,a.K2)(function(){return"Null"},"camelcase"),empty:(0,a.K2)(function(){return""},"empty")},defaultStyle:"lowercase"});function S(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function B(t){return"true"===t||"True"===t||"TRUE"===t}function F(t){return"[object Boolean]"===Object.prototype.toString.call(t)}(0,a.K2)(S,"resolveYamlBoolean"),(0,a.K2)(B,"constructYamlBoolean"),(0,a.K2)(F,"isBoolean");var L=new b("tag:yaml.org,2002:bool",{kind:"scalar",resolve:S,construct:B,predicate:F,represent:{lowercase:(0,a.K2)(function(t){return t?"true":"false"},"lowercase"),uppercase:(0,a.K2)(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:(0,a.K2)(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function M(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function E(t){return 48<=t&&t<=55}function O(t){return 48<=t&&t<=57}function K(t){if(null===t)return!1;var e,r=t.length,i=0,a=!1;if(!r)return!1;if(("-"===(e=t[i])||"+"===e)&&(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;a=!0}return a&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!M(t.charCodeAt(i)))return!1;a=!0}return a&&"_"!==e}if("o"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!E(t.charCodeAt(i)))return!1;a=!0}return a&&"_"!==e}}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(!O(t.charCodeAt(i)))return!1;a=!0}return!!a&&"_"!==e}function I(t){var e,r=t,i=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),("-"===(e=r[0])||"+"===e)&&("-"===e&&(i=-1),e=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===e){if("b"===r[1])return i*parseInt(r.slice(2),2);if("x"===r[1])return i*parseInt(r.slice(2),16);if("o"===r[1])return i*parseInt(r.slice(2),8)}return i*parseInt(r,10)}function D(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!h.isNegativeZero(t)}(0,a.K2)(M,"isHexCode"),(0,a.K2)(E,"isOctCode"),(0,a.K2)(O,"isDecCode"),(0,a.K2)(K,"resolveYamlInteger"),(0,a.K2)(I,"constructYamlInteger"),(0,a.K2)(D,"isInteger");var z=new b("tag:yaml.org,2002:int",{kind:"scalar",resolve:K,construct:I,predicate:D,represent:{binary:(0,a.K2)(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,a.K2)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)}
13,"octal"),decimal:(0,a.K2)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,a.K2)(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),q=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function R(t){return!!(null!==t&&q.test(t)&&"_"!==t[t.length-1])}function P(t){var e,r;return(r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:r*parseFloat(e,10)}(0,a.K2)(R,"resolveYamlFloat"),(0,a.K2)(P,"constructYamlFloat");var N=/^[-+]?[0-9]+e/;function $(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(h.isNegativeZero(t))return"-0.0";return r=t.toString(10),N.test(r)?r.replace("e",".e"):r}function j(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||h.isNegativeZero(t))}(0,a.K2)($,"representYamlFloat"),(0,a.K2)(j,"isFloat");var W=new b("tag:yaml.org,2002:float",{kind:"scalar",resolve:R,construct:P,predicate:j,represent:$,defaultStyle:"lowercase"}),H=_.extend({implicit:[w,L,z,W]}),U=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Y=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function G(t){return null!==t&&(null!==U.exec(t)||null!==Y.exec(t))}function X(t){var e,r,i,a,n,o,s,l,h=0,c=null;if(null===(e=U.exec(t))&&(e=Y.exec(t)),null===e)throw Error("Date resolve error");
13if(r=+e[1],i=+e[2]-1,a=+e[3],!e[4])return new Date(Date.UTC(r,i,a));if(n=+e[4],o=+e[5],s=+e[6],e[7]){for(h=e[7].slice(0,3);h.length<3;)h+="0";h*=1}return e[9]&&(c=(60*+e[10]+ +(e[11]||0))*6e4,"-"===e[9]&&(c=-c)),l=new Date(Date.UTC(r,i,a,n,o,s,h)),c&&l.setTime(l.getTime()-c),l}function V(t){return t.toISOString()}(0,a.K2)(G,"resolveYamlTimestamp"),(0,a.K2)(X,"constructYamlTimestamp"),(0,a.K2)(V,"representYamlTimestamp");var Z=new b("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:G,construct:X,instanceOf:Date,represent:V});function Q(t){return"<<"===t||null===t}(0,a.K2)(Q,"resolveYamlMerge");var J=new b("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Q}),tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function te(t){if(null===t)return!1;var e,r,i=0,a=t.length;for(r=0;r<a;r++)if(!((e=tt.indexOf(t.charAt(r)))>64)){if(e<0)return!1;i+=6}return i%8==0}function tr(t){var e,r,i=t.replace(/[\r\n=]/g,""),a=i.length,n=0,o=[];for(e=0;e<a;e++)e%4==0&&e&&(o.push(n>>16&255),o.push(n>>8&255),o.push(255&n)),n=n<<6|tt.indexOf(i.charAt(e));return 0==(r=a%4*6)?(o.push(n>>16&255),o.push(n>>8&255),o.push(255&n)):18===r?(o.push(n>>10&255),o.push(n>>2&255)):12===r&&o.push(n>>4&255),new Uint8Array(o)}function ti(t){var e,r,i="",a=0,n=t.length;for(e=0;e<n;e++)e%3==0&&e&&(i+=tt[a>>18&63],i+=tt[a>>12&63],i+=tt[a>>6&63],i+=tt[63&a]),a=(a<<8)+t[e];return 0==(r=n%3)?(i+=tt[a>>18&63],i+=tt[a>>12&63],i+=tt[a>>6&63],i+=tt[63&a]):2===r?(i+=tt[a>>10&63],i+=tt[a>>4&63],i+=tt[a<<2&63],i+=tt[64]):1===r&&(i+=tt[a>>2&63],i+=tt[a<<4&63],i+=tt[64],i+=tt[64]),i}function ta(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,a.K2)(te,"resolveYamlBinary"),(0,a.K2)(tr,"constructYamlBinary"),(0,a.K2)(ti,"representYamlBinary"),(0,a.K2)(ta,"isBinary");var tn=new b("tag:yaml.org,2002:binary",{kind:"scalar",resolve:te,construct:tr,predicate:ta,represent:ti}),to=Object.prototype.hasOwnProperty,ts=Object.prototype.toString;function tl(t){if(null===t)return!0;var e,r,i,a,n,o=[];for(e=0,r=t.length;e<r;e+=1){if(i=t[e],n=!1,"[object Object]"!==ts.call(i))return!1;for(a in i)if(to.call(i,a))if(n)return!1;else n=!0;if(!n||-1!==o.indexOf(a))return!1;o.push(a)}return!0}function th(t){return null!==t?t:[]}(0,a.K2)(tl,"resolveYamlOmap"),(0,a.K2)(th,"constructYamlOmap");var tc=new b("tag:yaml.org,2002:omap",{kind:"sequence",resolve:tl,construct:th}),tu=Object.prototype.toString;function td(t){var e,r,i,a,n;if(null===t)return!0;for(e=0,n=Array(t.length),r=t.length;e<r;e+=1){if(i=t[e],"[object Object]"!==tu.call(i)||1!==(a=Object.keys(i)).length)return!1;n[e]=[a[0],i[a[0]]]}return!0}function tp(t){var e,r,i,a,n;if(null===t)return[];for(e=0,n=Array(t.length),r=t.length;e<r;e+=1)a=Object.keys(i=t[e]),n[e]=[a[0],i[a[0]]];return n}(0,a.K2)(td,"resolveYamlPairs"),(0,a.K2)(tp,"constructYamlPairs");var tf=new b("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:td,construct:tp}),tg=Object.prototype.hasOwnProperty;function tm(t){var e;if(null===t)return!0;for(e in t)if(tg.call(t,e)&&null!==t[e])return!1;return!0}function ty(t){return null!==t?t:{}}(0,a.K2)(tm,"resolveYamlSet"),(0,a.K2)(ty,"constructYamlSet");var tb=new b("tag:yaml.org,2002:set",{kind:"mapping",resolve:tm,construct:ty}),tx=H.extend({implicit:[Z,J],explicit:[tn,tc,tf,tb]}),tC=Object.prototype.hasOwnProperty,tk=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,t_=/[\x85\u2028\u2029]/,tv=/[,\[\]\{\}]/,tA=/^(?:!|!!|![a-z\-]+!)$/i,tT=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function tw(t){return Object.prototype.toString.call(t)}function tS(t){return 10===t||13===t}function tB(t){return 9===t||32===t}function tF(t){return 9===t||32===t||10===t||13===t}function tL(t){return 44===t||91===t||93===t||123===t||125===t}function tM(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function tE(t){return 120===t?2:117===t?4:8*(85===t)}function tO(t){return 48<=t&&t<=57?t-48:-1}function tK(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t?"	":9===t?"	":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function tI(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}(0,a.K2)(tw,"_class"),(0,a.K2)(tS,"is_EOL"),(0,a.K2)(tB,"is_WHITE_SPACE"),(0,a.K2)(tF,"is_WS_OR_EOL"),(0,a.K2)(tL,"is_FLOW_INDICATOR"),(0,a.K2)(tM,"fromHexCode"),(0,a.K2)(tE,"escapedHexLen"),(0,a.K2)(tO,"fromDecimalCode"),(0,a.K2)(tK,"simpleEscapeSequence"),(0,a.K2)(tI,"charFromCodepoint");var tD=Array(256),tz=Array(256);for(i=0;i<256;i++)tD[i]=+!!tK(i),tz[i]=tK(i);function tq(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||tx,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.impl
13icitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function tR(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=f(r),new u(e,r)}function tP(t,e){throw tR(t,e)}function tN(t,e){t.onWarning&&t.onWarning.call(null,tR(t,e))}(0,a.K2)(tq,"State$1"),(0,a.K2)(tR,"generateError"),(0,a.K2)(tP,"throwError"),(0,a.K2)(tN,"throwWarning");var t$={YAML:(0,a.K2)(function(t,e,r){var i,a,n;null!==t.version&&tP(t,"duplication of %YAML directive"),1!==r.length&&tP(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tP(t,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),n=parseInt(i[2],10),1!==a&&tP(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=n<2,1!==n&&2!==n&&tN(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,a.K2)(function(t,e,r){var i,a;2!==r.length&&tP(t,"TAG directive accepts exactly two arguments"),i=r[0],a=r[1],tA.test(i)||tP(t,"ill-formed tag handle (first argument) of the TAG directive"),tC.call(t.tagMap,i)&&tP(t,'there is a previously declared suffix for "'+i+'" tag handle'),tT.test(a)||tP(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch(e){tP(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a},"handleTagDirective")};function tj(t,e,r,i){var a,n,o,s;if(e<r){if(s=t.input.slice(e,r),i)for(a=0,n=s.length;a<n;a+=1)9===(o=s.charCodeAt(a))||32<=o&&o<=1114111||tP(t,"expected valid JSON character");else tk.test(s)&&tP(t,"the stream contains non-printable characters");t.result+=s}}function tW(t,e,r,i){var a,n,o,s;for(h.isObject(r)||tP(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(a=Object.keys(r)).length;o<s;o+=1)n=a[o],tC.call(e,n)||(e[n]=r[n],i[n]=!0)}function tH(t,e,r,i,a,n,o,s,l){var h,c;if(Array.isArray(a))for(h=0,c=(a=Array.prototype.slice.call(a)).length;h<c;h+=1)Array.isArray(a[h])&&tP(t,"nested arrays are not supported inside keys"),"object"==typeof a&&"[object Object]"===tw(a[h])&&(a[h]="[object Object]");if("object"==typeof a&&"[object Object]"===tw(a)&&(a="[object Object]"),a=String(a),null===e&&(e={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(n))for(h=0,c=n.length;h<c;h+=1)tW(t,e,n[h],r);else tW(t,e,n,r);else!t.json&&!tC.call(r,a)&&tC.call(e,a)&&(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,tP(t,"duplicated mapping key")),"__proto__"===a?Object.defineProperty(e,a,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[a]=n,delete r[a];return e}function tU(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):tP(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function tY(t,e,r){for(var i=0,a=t.input.charCodeAt(t.position);0!==a;){for(;tB(a);)9===a&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),a=t.input.charCodeAt(++t.position);if(e&&35===a)do a=t.input.charCodeAt(++t.position);while(10!==a&&13!==a&&0!==a);if(tS(a))for(tU(t),a=t.input.charCodeAt(t.position),i++,t.lineIndent=0;32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);else break}return -1!==r&&0!==i&&t.lineIndent<r&&tN(t,"deficient indentation"),i}function tG(t){var e,r=t.position;return!!((45===(e=t.input.charCodeAt(r))||46===e)&&e===t.input.charCodeAt(r+1)&&e===t.input.charCodeAt(r+2)&&(r+=3,0===(e=t.input.charCodeAt(r))||tF(e)))}function tX(t,e){1===e?t.result+=" ":e>1&&(t.result+=h.repeat("\n",e-1))}function tV(t,e,r){var i,a,n,o,s,l,h,c,u=t.kind,d=t.result;if(tF(c=t.input.charCodeAt(t.position))||tL(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(tF(i=t.input.charCodeAt(t.position+1))||r&&tL(i)))return!1;for(t.kind="scalar",t.result="",a=n=t.position,o=!1;0!==c;){if(58===c){if(tF(i=t.input.charCodeAt(t.position+1))||r&&tL(i))break}else if(35===c){if(tF(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&tG(t)||r&&tL(c))break;else if(tS(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,tY(t,!1,-1),t.lineIndent>
13=e){o=!0,c=t.input.charCodeAt(t.position);continue}t.position=n,t.line=s,t.lineStart=l,t.lineIndent=h;break}o&&(tj(t,a,n,!1),tX(t,t.line-s),a=n=t.position,o=!1),tB(c)||(n=t.position+1),c=t.input.charCodeAt(++t.position)}return tj(t,a,n,!1),!!t.result||(t.kind=u,t.result=d,!1)}function tZ(t,e){var r,i,a;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=a=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(tj(t,i,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,a=t.position}else tS(r)?(tj(t,i,a,!0),tX(t,tY(t,!1,e)),i=a=t.position):t.position===t.lineStart&&tG(t)?tP(t,"unexpected end of the document within a single quoted scalar"):(t.position++,a=t.position);tP(t,"unexpected end of the stream within a single quoted scalar")}function tQ(t,e){var r,i,a,n,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(s=t.input.charCodeAt(t.position));)if(34===s)return tj(t,r,t.position,!0),t.position++,!0;else if(92===s){if(tj(t,r,t.position,!0),tS(s=t.input.charCodeAt(++t.position)))tY(t,!1,e);else if(s<256&&tD[s])t.result+=tz[s],t.position++;else if((o=tE(s))>0){for(a=o,n=0;a>0;a--)(o=tM(s=t.input.charCodeAt(++t.position)))>=0?n=(n<<4)+o:tP(t,"expected hexadecimal character");t.result+=tI(n),t.position++}else tP(t,"unknown escape sequence");r=i=t.position}else tS(s)?(tj(t,r,i,!0),tX(t,tY(t,!1,e)),r=i=t.position):t.position===t.lineStart&&tG(t)?tP(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position);tP(t,"unexpected end of the stream within a double quoted scalar")}function tJ(t,e){var r,i,a,n,o,s,l,h,c,u,d,p,f=!0,g=t.tag,m=t.anchor,y=Object.create(null);if(91===(p=t.input.charCodeAt(t.position)))o=93,h=!1,n=[];else{if(123!==p)return!1;o=125,h=!0,n={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=n),p=t.input.charCodeAt(++t.position);0!==p;){if(tY(t,!0,e),(p=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=g,t.anchor=m,t.kind=h?"mapping":"sequence",t.result=n,!0;f?44===p&&tP(t,"expected the node content, but found ','"):tP(t,"missed comma between flow collection entries"),u=c=d=null,s=l=!1,63===p&&tF(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,tY(t,!0,e)),r=t.line,i=t.lineStart,a=t.position,t6(t,e,1,!1,!0),u=t.tag,c=t.result,tY(t,!0,e),p=t.input.charCodeAt(t.position),(l||t.line===r)&&58===p&&(s=!0,p=t.input.charCodeAt(++t.position),tY(t,!0,e),t6(t,e,1,!1,!0),d=t.result),h?tH(t,n,y,u,c,d,r,i,a):s?n.push(tH(t,null,y,u,c,d,r,i,a)):n.push(c),tY(t,!0,e),44===(p=t.input.charCodeAt(t.position))?(f=!0,p=t.input.charCodeAt(++t.position)):f=!1}tP(t,"unexpected end of the stream within a flow collection")}function t0(t,e){var r,i,a,n,o=1,s=!1,l=!1,c=e,u=0,d=!1;if(124===(n=t.input.charCodeAt(t.position)))i=!1;else{if(62!==n)return!1;i=!0}for(t.kind="scalar",t.result="";0!==n;)if(43===(n=t.input.charCodeAt(++t.position))||45===n)1===o?o=43===n?3:2:tP(t,"repeat of a chomping mode identifier");else if((a=tO(n))>=0)0===a?tP(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?tP(t,"repeat of an indentation width identifier"):(c=e+a-1,l=!0);else break;if(tB(n)){do n=t.input.charCodeAt(++t.position);while(tB(n));if(35===n)do n=t.input.charCodeAt(++t.position);while(!tS(n)&&0!==n)}for(;0!==n;){for(tU(t),t.lineIndent=0,n=t.input.charCodeAt(t.position);(!l||t.lineIndent<c)&&32===n;)t.lineIndent++,n=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>c&&(c=t.lineIndent),tS(n)){u++;continue}if(t.lineIndent<c){3===o?t.result+=h.repeat("\n",s?1+u:u):1===o&&s&&(t.result+="\n");break}for(i?tB(n)?(d=!0,t.result+=h.repeat("\n",s?1+u:u)):d?(d=!1,t.result+=h.repeat("\n",u+1)):0===u?s&&(t.result+=" "):t.result+=h.repeat("\n",u):t.result+=h.repeat("\n",s?1+u:u),s=!0,l=!0,u=0,r=t.position;!tS(n)&&0!==n;)n=t.input.charCodeAt(++t.position);tj(t,r,t.position,!1)}return!0}function t1(t,e){var r,i,a=t.tag,n=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),i=t.input.charCodeAt(t.position);0!==i&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,tP(t,"tab characters must not be used in indentation")),45===i&&tF(t.input.charCodeAt(t.position+1)));){if(s=!0,t.position++,tY(t,!0,-1)&&t.lineIndent<=e){o.push(null),i=t.input.charCodeAt(t.position);continue}if(r=t.line,t6(t,e,3,!1,!0),o.push(t.result),tY(t,!0,-1),i=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==i)tP(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}
13return!!s&&(t.tag=a,t.anchor=n,t.kind="sequence",t.result=o,!0)}function t2(t,e,r){var i,a,n,o,s,l,h,c=t.tag,u=t.anchor,d={},p=Object.create(null),f=null,g=null,m=null,y=!1,b=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=d),h=t.input.charCodeAt(t.position);0!==h;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,tP(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),n=t.line,(63===h||58===h)&&tF(i))63===h?(y&&(tH(t,d,p,f,g,null,o,s,l),f=g=m=null),b=!0,y=!0,a=!0):y?(y=!1,a=!0):tP(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,h=i;else{if(o=t.line,s=t.lineStart,l=t.position,!t6(t,r,2,!1,!0))break;if(t.line===n){for(h=t.input.charCodeAt(t.position);tB(h);)h=t.input.charCodeAt(++t.position);if(58===h)tF(h=t.input.charCodeAt(++t.position))||tP(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(tH(t,d,p,f,g,null,o,s,l),f=g=m=null),b=!0,y=!1,a=!1,f=t.tag,g=t.result;else{if(!b)return t.tag=c,t.anchor=u,!0;tP(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return t.tag=c,t.anchor=u,!0;tP(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((t.line===n||t.lineIndent>e)&&(y&&(o=t.line,s=t.lineStart,l=t.position),t6(t,e,4,!0,a)&&(y?g=t.result:m=t.result),y||(tH(t,d,p,f,g,m,o,s,l),f=g=m=null),tY(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===n||t.lineIndent>e)&&0!==h)tP(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&tH(t,d,p,f,g,null,o,s,l),b&&(t.tag=c,t.anchor=u,t.kind="mapping",t.result=d),b}function t5(t){var e,r,i,a,n=!1,o=!1;if(33!==(a=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&tP(t,"duplication of a tag property"),60===(a=t.input.charCodeAt(++t.position))?(n=!0,a=t.input.charCodeAt(++t.position)):33===a?(o=!0,r="!!",a=t.input.charCodeAt(++t.position)):r="!",e=t.position,n){do a=t.input.charCodeAt(++t.position);while(0!==a&&62!==a);t.position<t.length?(i=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):tP(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!tF(a);)33===a&&(o?tP(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),tA.test(r)||tP(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),tv.test(i)&&tP(t,"tag suffix cannot contain flow indicator characters")}i&&!tT.test(i)&&tP(t,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch(e){tP(t,"tag name is malformed: "+i)}return n?t.tag=i:tC.call(t.tagMap,r)?t.tag=t.tagMap[r]+i:"!"===r?t.tag="!"+i:"!!"===r?t.tag="tag:yaml.org,2002:"+i:tP(t,'undeclared tag handle "'+r+'"'),!0}function t3(t){var e,r;if(38!==(r=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&tP(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!tF(r)&&!tL(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&tP(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function t4(t){var e,r,i;if(42!==(i=t.input.charCodeAt(t.position)))return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!tF(i)&&!tL(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&tP(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),tC.call(t.anchorMap,r)||tP(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],tY(t,!0,-1),!0}function t6(t,e,r,i,a){var n,o,s,l,h,c,u,d,p,f=1,g=!1,m=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,n=o=s=4===r||3===r,i&&tY(t,!0,-1)&&(g=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;t5(t)||t3(t);)tY(t,!0,-1)?(g=!0,s=n,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):s=!1;if(s&&(s=g||a),(1===f||4===r)&&(d=1===r||2===r?e:e+1,p=t.position-t.lineStart,1===f?s&&(t1(t,p)||t2(t,p,d))||tJ(t,d)?m=!0:(o&&t0(t,d)||tZ(t,d)||tQ(t,d)?m=!0:t4(t)?(m=!0,(null!==t.tag||null!==t.anchor)&&tP(t,"alias node should not have any properties")):tV(t,d,1===r)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(m=s&&t1(t,p))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&tP(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l<h;l+=1)if((u=t.implicitTypes[l]).resolve(t.result)){t.result=u.construct(t.result),t.tag=u.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(tC.call(t.typeMap[t.kind||"fallback"],t.tag))u=t.typeMap[t.kind||"fallback"][t.tag];else for(l=0,u=null,h=(c=t.typeMap.multi[t.kind||"fallback"]).length;l<h;l+=1)if(t.tag.slice(0,c[l].tag.length)===c[l].tag){u=c[l];break}u||tP(t,"unknown tag !<"+t.tag+">"),null!==t.result&&u.kind!==t.kind&&tP(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+u.kind+'", not "'+t.kind+'"'),u.resolve(t.result,t.tag)?(t.result=u.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):tP(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}function t8(t){var e,r,i,a,n=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(a=t.input.charCodeAt(t.position))&&(tY(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===a);){for(o=!0,a=t.input.charCodeAt(++t.position),e=t.position;0!==a&&!tF(a);)a=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),i=[],r.length<1&&tP(t,"directive name must not be less than one character in length");0!==a;){for(;tB(a);)a=t.input.charCodeAt(++t.position);if(35===a){do a=t.input.charCodeAt(++t.position);while(0!==a&&!tS(a));break}if(tS(a))break;for(e=t.position;0!==a&&!tF(a);)a=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==a&&tU(t),tC.call(t$,r)?t$[r](t,r,i):tN(t,'unknown document directive "'+r+'"')}if(tY(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,tY(t,!0,-1)):o&&tP(t,"directives end mark is expected"),t6(t,t.lineIndent-1,4,!1,!0),tY(t,!0,-1),t.checkLineBreaks&&t_.test(t.input.slice(n,t.position))&&tN(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&tG(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,tY(t,!0,-1));return}t.position<t.length-1&&tP(t,"end of the stream or a document separator is expected")}function t9(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 r=new tq(t,e),i=t.indexOf("\0");for(-1!==i&&(r.position=i,tP(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)t8(r);return r.documents}function t7(t,e,r){null!==e&&"object"==typeof e&&void 0===r&&(r=e,e=null);
13var i=t9(t,r);if("function"!=typeof e)return i;for(var a=0,n=i.length;a<n;a+=1)e(i[a])}function et(t,e){var r=t9(t,e);if(0!==r.length){if(1===r.length)return r[0];throw new u("expected a single document in the stream, but found more")}}(0,a.K2)(tj,"captureSegment"),(0,a.K2)(tW,"mergeMappings"),(0,a.K2)(tH,"storeMappingPair"),(0,a.K2)(tU,"readLineBreak"),(0,a.K2)(tY,"skipSeparationSpace"),(0,a.K2)(tG,"testDocumentSeparator"),(0,a.K2)(tX,"writeFoldedLines"),(0,a.K2)(tV,"readPlainScalar"),(0,a.K2)(tZ,"readSingleQuotedScalar"),(0,a.K2)(tQ,"readDoubleQuotedScalar"),(0,a.K2)(tJ,"readFlowCollection"),(0,a.K2)(t0,"readBlockScalar"),(0,a.K2)(t1,"readBlockSequence"),(0,a.K2)(t2,"readBlockMapping"),(0,a.K2)(t5,"readTagProperty"),(0,a.K2)(t3,"readAnchorProperty"),(0,a.K2)(t4,"readAlias"),(0,a.K2)(t6,"composeNode"),(0,a.K2)(t8,"readDocument"),(0,a.K2)(t9,"loadDocuments"),(0,a.K2)(t7,"loadAll$1"),(0,a.K2)(et,"load$1");var ee={loadAll:t7,load:et},er=Object.prototype.toString,ei=Object.prototype.hasOwnProperty,ea={};ea[0]="\\0",ea[7]="\\a",ea[8]="\\b",ea[9]="\\t",ea[10]="\\n",ea[11]="\\v",ea[12]="\\f",ea[13]="\\r",ea[27]="\\e",ea[34]='\\"',ea[92]="\\\\",ea[133]="\\N",ea[160]="\\_",ea[8232]="\\L",ea[8233]="\\P";var en=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],eo=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function es(t,e){var r,i,a,n,o,s,l;if(null===e)return{};for(a=0,r={},n=(i=Object.keys(e)).length;a<n;a+=1)s=String(e[o=i[a]]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),(l=t.compiledTypeMap.fallback[o])&&ei.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[o]=s;return r}function el(t){var e,r,i;if(e=t.toString(16).toUpperCase(),t<=255)r="x",i=2;else if(t<=65535)r="u",i=4;else if(t<=0xffffffff)r="U",i=8;else throw new u("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+h.repeat("0",i-e.length)+e}function eh(t){this.schema=t.schema||tx,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=h.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=es(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function ec(t,e){for(var r,i=h.repeat(" ",e),a=0,n=-1,o="",s=t.length;a<s;)-1===(n=t.indexOf("\n",a))?(r=t.slice(a),a=s):(r=t.slice(a,n+1),a=n+1),r.length&&"\n"!==r&&(o+=i),o+=r;return o}function eu(t,e){return"\n"+h.repeat(" ",t.indent*e)}function ed(t,e){var r,i;for(r=0,i=t.implicitTypes.length;r<i;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1}function ep(t){return 32===t||9===t}function ef(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&65279!==t||65536<=t&&t<=1114111}function eg(t){return ef(t)&&65279!==t&&13!==t&&10!==t}function em(t,e,r){var i=eg(t),a=i&&!ep(t);return(r?i:i&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!a)||eg(e)&&!ep(e)&&35===t||58===e&&a}function ey(t){return ef(t)&&65279!==t&&!ep(t)&&45!==t&&63!==t&&58!==t&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t&&35!==t&&38!==t&&42!==t&&33!==t&&124!==t&&61!==t&&62!==t&&39!==t&&34!==t&&37!==t&&64!==t&&96!==t}function eb(t){return!ep(t)&&58!==t}function ex(t,e){var r,i=t.charCodeAt(e);return i>=55296&&i<=56319&&e+1<t.length&&(r=t.charCodeAt(e+1))>=56320&&r<=57343?(i-55296)*1024+r-56320+65536:i}function eC(t){return/^\n* /.test(t)}function ek(t,e,r,i,a,n,o,s){var l,h=0,c=null,u=!1,d=!1,p=-1!==i,f=-1,g=ey(ex(t,0))&&eb(ex(t,t.length-1));if(e||o)for(l=0;l<t.length;h>=65536?l+=2:l++){if(!ef(h=ex(t,l)))return 5;g=g&&em(h,c,s),c=h}else{for(l=0;l<t.length;h>=65536?l+=2:l++){if(10===(h=ex(t,l)))u=!0,p&&(d=d||l-f-1>i&&" "!==t[f+1],f=l);else if(!ef(h))return 5;g=g&&em(h,c,s),c=h}d=d||p&&l-f-1>i&&" "!==t[f+1]}return u||d?r>9&&eC(t)?5:o?2===n?5:2:d?4:3:!g||o||a(t)?2===n?5:2:1}function e_(t,e,r,i,n){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==en.indexOf(e)||eo.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),l=i||t.flowLevel>-1&&r>=t.flowLevel;function h(e){return ed(t,e)}switch((0,a.K2)(h,"testAmbiguity"),ek(e,l,t.indent,s,h,t.quotingType,t.forceQuotes&&!i,n)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+ev(e,t.indent)+eA(ec(e,o));case 4:return">"+ev(e,t.indent)+eA(ec(eT(e,s),o));case 5:return'"'+eS(e)+'"';default:throw new u("impossible error: invalid scalar style")}}()}function ev(t,e){var r=eC(t)?String(e):"",i="\n"===t[t.length-1];return r+(i&&("\n"===t[t.length-2]||"\n"===t)?"+":i?"":"-")+"\n"}function eA(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function eT(t,e){for(var r,i,a,n=/(\n+)([^\n]*)/g,o=(n.lastIndex=r=-1!==(r=t.indexOf("\n"))?r:t.length,ew(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];a=n.exec(t);
13){var l=a[1],h=a[2];i=" "===h[0],o+=l+(s||i||""===h?"":"\n")+ew(h,e),s=i}return o}function ew(t,e){if(""===t||" "===t[0])return t;for(var r,i,a=/ [^ ]/g,n=0,o=0,s=0,l="";r=a.exec(t);)(s=r.index)-n>e&&(i=o>n?o:s,l+="\n"+t.slice(n,i),n=i+1),o=s;return l+="\n",t.length-n>e&&o>n?l+=t.slice(n,o)+"\n"+t.slice(o+1):l+=t.slice(n),l.slice(1)}function eS(t){for(var e,r="",i=0,a=0;a<t.length;i>=65536?a+=2:a++)!(e=ea[i=ex(t,a)])&&ef(i)?(r+=t[a],i>=65536&&(r+=t[a+1])):r+=e||el(i);return r}function eB(t,e,r){var i,a,n,o="",s=t.tag;for(i=0,a=r.length;i<a;i+=1)n=r[i],t.replacer&&(n=t.replacer.call(r,String(i),n)),(eO(t,e,n,!1,!1)||void 0===n&&eO(t,e,null,!1,!1))&&(""!==o&&(o+=","+(t.condenseFlow?"":" ")),o+=t.dump);t.tag=s,t.dump="["+o+"]"}function eF(t,e,r,i){var a,n,o,s="",l=t.tag;for(a=0,n=r.length;a<n;a+=1)o=r[a],t.replacer&&(o=t.replacer.call(r,String(a),o)),(eO(t,e+1,o,!0,!0,!1,!0)||void 0===o&&eO(t,e+1,null,!0,!0,!1,!0))&&(i&&""===s||(s+=eu(t,e)),t.dump&&10===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=l,t.dump=s||"[]"}function eL(t,e,r){var i,a,n,o,s,l="",h=t.tag,c=Object.keys(r);for(i=0,a=c.length;i<a;i+=1)s="",""!==l&&(s+=", "),t.condenseFlow&&(s+='"'),o=r[n=c[i]],t.replacer&&(o=t.replacer.call(r,n,o)),eO(t,e,n,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),eO(t,e,o,!1,!1)&&(s+=t.dump,l+=s));t.tag=h,t.dump="{"+l+"}"}function eM(t,e,r,i){var a,n,o,s,l,h,c="",d=t.tag,p=Object.keys(r);if(!0===t.sortKeys)p.sort();
13else if("function"==typeof t.sortKeys)p.sort(t.sortKeys);else if(t.sortKeys)throw new u("sortKeys must be a boolean or a function");for(a=0,n=p.length;a<n;a+=1)h="",i&&""===c||(h+=eu(t,e)),s=r[o=p[a]],t.replacer&&(s=t.replacer.call(r,o,s)),eO(t,e+1,o,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?h+="?":h+="? "),h+=t.dump,l&&(h+=eu(t,e)),eO(t,e+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?h+=":":h+=": ",h+=t.dump,c+=h));t.tag=d,t.dump=c||"{}"}function eE(t,e,r){var i,a,n,o,s,l;for(n=0,o=(a=r?t.explicitTypes:t.implicitTypes).length;n<o;n+=1)if(((s=a[n]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(r?s.multi&&s.representName?t.tag=s.representName(e):t.tag=s.tag:t.tag="?",s.represent){if(l=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===er.call(s.represent))i=s.represent(e,l);else if(ei.call(s.represent,l))i=s.represent[l](e,l);else throw new u("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');t.dump=i}return!0}return!1}function eO(t,e,r,i,a,n,o){t.tag=null,t.dump=r,eE(t,r,!1)||eE(t,r,!0);var s=er.call(t.dump),l=i;i&&(i=t.flowLevel<0||t.flowLevel>e);var h,c,d,p="[object Object]"===s||"[object Array]"===s;if(p&&(d=-1!==(c=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||d||2!==t.indent&&e>0)&&(a=!1),d&&t.usedDuplicates[c])t.dump="*ref_"+c;else{if(p&&d&&!t.usedDuplicates[c]&&(t.usedDuplicates[c]=!0),"[object Object]"===s)i&&0!==Object.keys(t.dump).length?(eM(t,e,t.dump,a),d&&(t.dump="&ref_"+c+t.dump)):(eL(t,e,t.dump),d&&(t.dump="&ref_"+c+" "+t.dump));else if("[object Array]"===s)i&&0!==t.dump.length?(t.noArrayIndent&&!o&&e>0?eF(t,e-1,t.dump,a):eF(t,e,t.dump,a),d&&(t.dump="&ref_"+c+t.dump)):(eB(t,e,t.dump),d&&(t.dump="&ref_"+c+" "+t.dump));else if("[object String]"===s)"?"!==t.tag&&e_(t,t.dump,e,n,l);else{if("[object Undefined]"===s||t.skipInvalid)return!1;throw new u("unacceptable kind of an object to dump "+s)}null!==t.tag&&"?"!==t.tag&&(h=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),h="!"===t.tag[0]?"!"+h:"tag:yaml.org,2002:"===h.slice(0,18)?"!!"+h.slice(18):"!<"+h+">",t.dump=h+" "+t.dump)}return!0}function eK(t,e){var r,i,a=[],n=[];for(eI(t,a,n),r=0,i=n.length;r<i;r+=1)e.duplicates.push(a[n[r]]);e.usedDuplicates=Array(i)}function eI(t,e,r){var i,a,n;if(null!==t&&"object"==typeof t)if(-1!==(a=e.indexOf(t)))-1===r.indexOf(a)&&r.push(a);else if(e.push(t),Array.isArray(t))for(a=0,n=t.length;a<n;a+=1)eI(t[a],e,r);else for(a=0,n=(i=Object.keys(t)).length;a<n;a+=1)eI(t[i[a]],e,r)}(0,a.K2)(es,"compileStyleMap"),(0,a.K2)(el,"encodeHex"),(0,a.K2)(eh,"State"),(0,a.K2)(ec,"indentString"),(0,a.K2)(eu,"generateNextLine"),(0,a.K2)(ed,"testImplicitResolving"),(0,a.K2)(ep,"isWhitespace"),(0,a.K2)(ef,"isPrintable"),(0,a.K2)(eg,"isNsCharOrWhitespace"),(0,a.K2)(em,"isPlainSafe"),(0,a.K2)(ey,"isPlainSafeFirst"),(0,a.K2)(eb,"isPlainSafeLast"),
13(0,a.K2)(ex,"codePointAt"),(0,a.K2)(eC,"needIndentIndicator");function eD(t,e){return function(){throw Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}(0,a.K2)(ek,"chooseScalarStyle"),(0,a.K2)(e_,"writeScalar"),(0,a.K2)(ev,"blockHeader"),(0,a.K2)(eA,"dropEndingNewline"),(0,a.K2)(eT,"foldString"),(0,a.K2)(ew,"foldLine"),(0,a.K2)(eS,"escapeString"),(0,a.K2)(eB,"writeFlowSequence"),(0,a.K2)(eF,"writeBlockSequence"),(0,a.K2)(eL,"writeFlowMapping"),(0,a.K2)(eM,"writeBlockMapping"),(0,a.K2)(eE,"detectType"),(0,a.K2)(eO,"writeNode"),(0,a.K2)(eK,"getDuplicateReferences"),(0,a.K2)(eI,"inspectNode"),(0,a.K2)(function(t,e){var r=new eh(e=e||{});r.noRefs||eK(t,r);var i=t;return(r.replacer&&(i=r.replacer.call({"":i},"",i)),eO(r,0,i,!0,!0))?r.dump+"\n":""},"dump$1"),(0,a.K2)(eD,"renamed");var ez=H,eq=ee.load;ee.loadAll,eD("safeLoad","load"),eD("safeLoadAll","loadAll"),eD("safeDump","dump")},74481:(t,e,r)=>{"use strict";r.d(e,{He:()=>h,K2:()=>n,Rm:()=>l,VA:()=>o});var i=r(4900),a=Object.defineProperty,n=(t,e)=>a(t,"name",{value:e,configurable:!0}),o=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},s={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},l={trace:n((...t)=>{},"trace"),debug:n((...t)=>{},"debug"),info:n((...t)=>{},"info"),warn:n((...t)=>{},"warn"),error:n((...t)=>{},"error"),fatal:n((...t)=>{},"fatal")},h=n(function(t="fatal"){let e=s.fatal;"string"==typeof t?t.toLowerCase()in s&&(e=s[t]):"number"==typeof t&&(e=t),l.trace=()=>{},l.debug=()=>{},l.info=()=>{},l.warn=()=>{},l.error=()=>{},l.fatal=()=>{},e<=s.fatal&&(l.fatal=console.error?console.error.bind(console,c("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",c("FATAL"))),e<=s.error&&(l.error=console.error?console.error.bind(console,c("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",c("ERROR"))),e<=s.warn&&(l.warn=console.warn?console.warn.bind(console,c("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,c("WARN"))),e<=s.info&&(l.info=console.info?console.info.bind(console,c("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",c("INFO"))),e<=s.debug&&(l.debug=console.debug?console.debug.bind(console,c("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("DEBUG"))),e<=s.trace&&(l.trace=console.debug?console.debug.bind(console,c("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("TRACE")))},"setLogLevel"),c=n(t=>{let e=i().format("ss.SSS");return`%c${e} : ${t} : `},"format")},74882:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(325),a=Object.create,n=function(){function t(){}return function(e){if(!(0,i.A)(e))return{};if(a)return a(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),o=r(14849),s=r(20323);let l=function(t){return"function"!=typeof t.constructor||(0,s.A)(t)?{}:n((0,o.A)(t))}},76115:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r<i;)e[r]=t[r];return e}},77738:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return null!=t&&"object"==typeof t}},78334:(t,e,r)=>{"use strict";r.d(e,{W6:()=>j,GZ:()=>Y,WY:()=>L,pC:()=>S,hE:()=>U,Gc:()=>A});var i=r(89898),a=r(86525),n=r(74481);let o=(t,e,r,i="")=>{let a=t.split(":");if("@"===t.slice(0,1)){if(a.length<2||a.length>3)return null;i=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){let t=a.pop(),r=a.pop(),n={provider:a.length>0?a[0]:i,prefix:r,name:t};return e&&!s(n)?null:n}let n=a[0],o=n.split("-");if(o.length>1){let t={provider:i,prefix:o.shift(),name:o.join("-")};return e&&!s(t)?null:t}if(r&&""===i){let t={provider:i,prefix:"",name:n};return e&&!s(t,r)?null:t}return null},s=(t,e)=>!!t&&!!((e&&""===t.prefix||t.prefix)&&t.name),l=Object.freeze({left:0,top:0,width:16,height:16}),h=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),c=Object.freeze({...l,...h}),u=Object.freeze({...c,body:"",hidden:!1});function d(t,e){let r=function(t,e){let r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);let i=((t.rotate||0)+(e.rotate||0))%4;return i&&(r.rotate=i),r}(t,e);for(let i in u)i in h?i in t&&!(i in r)&&(r[i]=h[i]):i in e?r[i]=e[i]:i in t&&(r[i]=t[i]);return r}function p(t,e,r){let i=t.icons,a=t.aliases||Object.create(null),n={};function o(t){n=d(i[t]||a[t],n)}return o(e),r.forEach(o),d(t,n)}let f=Object.freeze({...Object.freeze({width:null,height:null}),...h}),g=/(-?[0-9.]*[0-9]+[0-9.]*)/g,m=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let i=t.split(g);if(null===i||!i.length)return t;let a=[],n=i.shift(),o=m.test(n);for(;;){if(o){let t=parseFloat(n);isNaN(t)?a.push(n):a.push(Math.ceil(t*e*r)/r)}else a.push(n);if(void 0===(n=i.shift()))return a.join("");o=!o}}let b=t=>"unset"===t||"undefined"===t||"none"===t,x=/\sid="(\S+)"/g,C=new Map;var k=r(72507),_=r(91102),v=r(25920),A={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},T=new Map,w=new Map,S=(0,n.K2)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');
13if(n.Rm.debug("Registering icon pack:",e.name),"loader"in e)w.set(e.name,e.loader);else if("icons"in e)T.set(e.name,e.icons);else throw n.Rm.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),B=(0,n.K2)(async(t,e)=>{let r=o(t,!0,void 0!==e);if(!r)throw Error(`Invalid icon name: ${t}`);let i=r.prefix||e;if(!i)throw Error(`Icon name must contain a prefix: ${t}`);let a=T.get(i);if(!a){let t=w.get(i);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await t(),prefix:i},T.set(i,a)}catch(t){throw n.Rm.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let s=function(t,e){if(t.icons[e])return p(t,e,[]);let r=function(t,e){let r=t.icons,i=t.aliases||Object.create(null),a=Object.create(null);return(e||Object.keys(r).concat(Object.keys(i))).forEach(function t(e){if(r[e])return a[e]=[];if(!(e in a)){a[e]=null;let r=i[e]&&i[e].parent,n=r&&t(r);n&&(a[e]=[r].concat(n))}return a[e]}),a}(t,[e])[e];return r?p(t,e,r):null}(a,r.name);if(!s)throw Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),F=(0,n.K2)(async t=>{try{return await B(t),!0}catch{return!1}},"isIconAvailable"),L=(0,n.K2)(async(t,e,r)=>{let i;try{i=await B(t,e?.fallbackPrefix)}catch(t){n.Rm.error(t),i=A}let o=function(t,e){let r,i,a={...c,...t},n={...f,...e},o={left:a.left,top:a.top,width:a.width,height:a.height},s=a.body;
13[a,n].forEach(t=>{let e,r=[],i=t.hFlip,a=t.vFlip,n=t.rotate;switch(i?a?n+=2:(r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),r.push("scale(-1 1)"),o.top=o.left=0):a&&(r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),r.push("scale(1 -1)"),o.top=o.left=0),n<0&&(n-=4*Math.floor(n/4)),n%=4){case 1:r.unshift("rotate(90 "+(e=o.height/2+o.top).toString()+" "+e.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:r.unshift("rotate(-90 "+(e=o.width/2+o.left).toString()+" "+e.toString()+")")}n%2==1&&(o.left!==o.top&&(e=o.left,o.left=o.top,o.top=e),o.width!==o.height&&(e=o.width,o.width=o.height,o.height=e)),r.length&&(s=function(t,e,r){var i,a;let n=function(t,e="defs"){let r="",i=t.indexOf("<"+e);for(;i>=0;){let a=t.indexOf(">",i),n=t.indexOf("</"+e);if(-1===a||-1===n)break;let o=t.indexOf(">",n);if(-1===o)break;r+=t.slice(a+1,n).trim(),t=t.slice(0,i).trim()+t.slice(o+1)}return{defs:r,content:t}}(t);return i=n.defs,a=e+n.content+r,i?"<defs>"+i+"</defs>"+a:a}(s,'<g transform="'+r.join(" ")+'">',"</g>"))});let l=n.width,h=n.height,u=o.width,d=o.height;null===l?r=y(i=null===h?"1em":"auto"===h?d:h,u/d):(r="auto"===l?u:l,i=null===h?y(r,d/u):"auto"===h?d:h);let p={},g=(t,e)=>{b(e)||(p[t]=e.toString())};g("width",r),g("height",i);let m=[o.left,o.top,u,d];return p.viewBox=m.join(" "),{attributes:p,viewBox:m,body:s}}(i,e),s=function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}(function(t){let e,r=[];for(;e=x.exec(t);)r.push(e[1]);if(!r.length)return t;let i="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return r.forEach(e=>{let r=function(t){t=t.replace(/[0-9]+$/,"")||"a";let e=C.get(t)||0;return C.set(t,e+1),e?`${t}${e}`:t}(e),a=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+r+i+"$3")}),t=t.replace(RegExp(i,"g"),"")}(o.body),{...o.attributes,...r});return(0,a.jZ)(s,(0,a.zj)())},"getIconSVG");function M(t,{markdownAutoWrap:e}){let r=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n"),i=(0,v.T)(r);return!1===e?i.replace(/ /g,"&nbsp;"):i}function E(t,e={}){let r=M(t,e),i=_.xI.lexer(r),a=[[]],o=0;function s(t,e="normal"){"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(o++,a.push([])),t.split(" ").forEach(t=>{(t=t.replace(/&#39;/g,"'"))&&a[o].push({content:t,type:e})})}):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}return(0,n.K2)(s,"processNode"),i.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type?a[o].push({content:t.text,type:"normal"}):a[o].push({content:t.raw,type:"normal"})}),a}function O(t,{markdownAutoWrap:e}={}){let r=_.xI.lexer(t);function i(t){if("text"===t.type)return!1===e?t.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;"):t.text.replace(/\n */g,"<br/>");if("strong"===t.type)return`<strong>${t.tokens?.map(i).join("")}</strong>`;if("em"===t.type)return`<em>${t.tokens?.map(i).join("")}</em>`;if("paragraph"===t.type)return`<p>${t.tokens?.map(i).join("")}</p>`;if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return n.Rm.warn(`Unsupported markdown: ${t.type}`),t.raw}return(0,n.K2)(i,"output"),r.map(i).join("")}function K(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function I(t,e){return D(t,[],K(e.content),e.type)}function D(t,e,r,i){if(0===r.length)return[{content:e.join(""),type:i},{content:"",type:i}];let[a,...n]=r,o=[...e,a];return t([{content:o.join(""),type:i}])?D(t,o,n,i):(0===e.length&&a&&(e.push(a),r.shift()),[{content:e.join(""),type:i},{content:r.join(""),type:i}])}function z(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return q(t,e)}function q(t,e,r=[],i=[]){if(0===t.length)return i.length>0&&r.push(i),r.length>0?r:[];let a="";" "===t[0].content&&(a=" ",t.shift());let n=t.shift()??{content:" ",type:"normal"},o=[...i];if(""!==a&&o.push({content:a,type:"normal"}),o.push(n),e(o))return q(t,e,r,o);if(i.length>0)r.push(i),t.unshift(n);
13else if(n.content){let[i,a]=I(e,n);r.push([i]),a.content&&t.unshift(a)}return q(t,e,r)}function R(t,e){e&&t.attr("style",e)}async function P(t,e,r,i,n=!1,o=(0,a.zj)()){let s=t.append("foreignObject");s.attr("width",`${10*r}px`),s.attr("height",`${10*r}px`);let l=s.append("xhtml:div"),h=(0,a.Wi)(e.label)?await (0,a.dj)(e.label.replace(a.Y2.lineBreakRegex,"\n"),o):(0,a.jZ)(e.label,o),c=e.isNode?"nodeLabel":"edgeLabel",u=l.append("span");u.html(h),R(u,e.labelStyle),u.attr("class",`${c} ${i}`),R(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),l.style("max-width",r+"px"),l.style("text-align","center"),l.attr("xmlns","http://www.w3.org/1999/xhtml"),n&&l.attr("class","labelBkg");let d=l.node().getBoundingClientRect();return d.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),d=l.node().getBoundingClientRect()),s.node()}function N(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function $(t,e,r){let i=t.append("text"),a=N(i,1,e);H(a,r);let n=a.node().getComputedTextLength();return i.remove(),n}function j(t,e,r){let i=t.append("text"),a=N(i,1,e);H(a,[{content:r,type:"normal"}]);let n=a.node()?.getBoundingClientRect();return n&&i.remove(),n}function W(t,e,r,i=!1){let a=e.append("g"),o=a.insert("rect").attr("class","background").attr("style","stroke: none"),s=a.append("text").attr("y","-10.1"),l=0;for(let e of r){let r=(0,n.K2)(e=>$(a,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:z(e,r))H(N(s,l,1.1),t),l++}if(!i)return s.node();{let t=s.node().getBBox();return o.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),a.node()}}function H(t,e){t.text(""),e.forEach((e,r)=>{let i=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?i.text(e.content):i.text(" "+e.content)})}async function U(t,e={}){let r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(t,i,n)=>(r.push((async()=>{let r=`${i}:${n}`;return await F(r)?await L(r,void 0,{class:"label-icon"}):`<i class='${(0,a.jZ)(t,e).replace(":"," ")}'></i>`})()),t));let i=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>i.shift()??"")}(0,n.K2)(M,"preprocessMarkdown"),(0,n.K2)(E,"markdownToLines"),(0,n.K2)(O,"markdownToHTML"),(0,n.K2)(K,"splitTextToChars"),(0,n.K2)(I,"splitWordToFitWidth"),(0,n.K2)(D,"splitWordToFitWidthRecursion"),(0,n.K2)(z,"splitLineToFitWidth"),(0,n.K2)(q,"splitLineToFitWidthRecursion"),(0,n.K2)(R,"applyStyle"),(0,n.K2)(P,"addHtmlSpan"),(0,n.K2)(N,"createTspan"),(0,n.K2)($,"computeWidthOfText"),(0,n.K2)(j,"computeDimensionOfText"),(0,n.K2)(W,"createFormattedText"),(0,n.K2)(H,"updateTextContentAndStyles"),(0,n.K2)(U,"replaceIconSubstring");var Y=(0,n.K2)(async(t,e="",{style:r="",isTitle:o=!1,classes:s="",useHtmlLabels:l=!0,isNode:h=!0,width:c=200,addSvgBackground:u=!1}={},d)=>{if(n.Rm.debug("XYZ createText",e,r,o,s,l,h,"addSvgBackground: ",u),l){let n=O(e,d),o=await U((0,i.Sm)(n),d),l=e.replace(/\\\\/g,"\\"),p={isNode:h,label:(0,a.Wi)(e)?l:o,labelStyle:r.replace("fill:","color:")};return await P(t,p,c,s,u,d)}{let i=W(c,t,E(e.replace(/<br\s*\/?>/g,"<br/>").replace("<br>","<br/>"),d),!!e&&u);if(h){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,k.Ltv)(i).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,k.Ltv)(i).select("rect").attr("style",t.replace(/background:/g,"fill:"));let e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,k.Ltv)(i).select("text").attr("style",e)}return i}},"createText")},79280:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(83900),a=r(54455),n=r(52611);let o=function(t,e){return(0,n.A)((0,a.A)(t,e,i.A),t+"")}},80137:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(20228),a=r(63769);let n=(t,e)=>{let r=a.A.parse(t);for(let t in e)r[t]=i.A.channel.clamp[t](e[t]);return a.A.stringify(r)}},80802:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},81726:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(37466);let a=(t,e)=>(0,i.A)(t,"l",-e)},83900:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return t}},84723:(t,e)=>{"use strict";
13Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|&colon;)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},86525:(t,e,r)=>{"use strict";r.d(e,{C0:()=>b,xA:()=>ta,hH:()=>T,Dl:()=>tK,IU:()=>tZ,Wt:()=>tU,Y2:()=>tz,a$:()=>tP,sb:()=>U,ME:()=>t9,UI:()=>j,Ch:()=>C,mW:()=>x,DB:()=>m,_3:()=>tA,EJ:()=>g,m7:()=>t1,iN:()=>tJ,zj:()=>tr,D7:()=>t6,Gs:()=>ea,J$:()=>v,ab:()=>t5,Q2:()=>tt,P$:()=>K,ID:()=>tv,TM:()=>tc,Wi:()=>tO,H1:()=>tu,QO:()=>tS,Js:()=>ei,Xd:()=>k,dj:()=>tD,cL:()=>tn,$i:()=>W,jZ:()=>ty,oB:()=>t7,wZ:()=>Q,EI:()=>t0,SV:()=>tQ,Nk:()=>te,XV:()=>t8,ke:()=>t2,UU:()=>Z,ot:()=>tN,mj:()=>et,tM:()=>tH,H$:()=>q,B6:()=>J});var i,a=r(74481),n=r(63769),o=r(80137);let s=(t,e)=>{let r=n.A.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,o.A)(t,i)};var l=r(43471);let h=(t,e,r=50)=>{let{r:i,g:a,b:o,a:s}=n.A.parse(t),{r:h,g:c,b:u,a:d}=n.A.parse(e),p=r/100,f=2*p-1,g=s-d,m=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,y=1-m;return(0,l.A)(i*m+h*y,a*m+c*y,o*m+u*y,s*p+d*(1-p))},c=(t,e=100)=>{let r=n.A.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,h(r,t,e)};var u=r(81726),d=r(29376),p=r(42393),f=r(60464),g=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,m=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,y=/\s*%%.*\n/gm,b=class extends Error{static{(0,a.K2)(this,"UnknownDiagramError")}constructor(t){super(t),this.name="UnknownDiagramError"}},x={},C=(0,a.K2)(function(t,e){for(let[r,{detector:i}]of(t=t.replace(g,"").replace(m,"").replace(y,"\n"),Object.entries(x)))if(i(t,e))return r;throw new b(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),k=(0,a.K2)((...t)=>{for(let{id:e,detector:r,loader:i}of t)_(e,r,i)},"registerLazyLoadedDiagrams"),_=(0,a.K2)((t,e,r)=>{x[t]&&a.Rm.warn(`Detector with key ${t} already exists. Overwriting.`),x[t]={detector:e,loader:r},a.Rm.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),v=(0,a.K2)(t=>x[t].loader,"getDiagramLoader"),A=(0,a.K2)((t,e,{depth:r=2,clobber:i=!1}={})=>{let a={depth:r,clobber:i};if(Array.isArray(e)&&!Array.isArray(t))return e.forEach(e=>A(t,e,a)),t;if(Array.isArray(e)&&Array.isArray(t))return e.forEach(e=>{t.includes(e)||t.push(e)}),t;if(void 0===t||r<=0)if(null!=t&&"object"==typeof t&&"object"==typeof e)return Object.assign(t,e);else return e;return void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach(a=>{"object"==typeof e[a]&&(void 0===t[a]||"object"==typeof t[a])?(void 0===t[a]&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=A(t[a],e[a],{depth:r-1,clobber:i})):(i||"object"!=typeof t[a]&&"object"!=typeof e[a])&&(t[a]=e[a])}),t},"assignWithDepth"),T=A,w="#ffffff",S="#f2f2f2",B=(0,a.K2)((t,e)=>e?s(t,{s:-40,l:10}):s(t,{s:-40,l:-10}),"mkBorder"),F=class{static{(0,a.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||s(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||s(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||B(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||B(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||B(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(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.edgeLabelBackgroun
13d=this.edgeLabelBackground||(this.darkMode?(0,u.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,u.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(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,d.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",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.darkMode?(this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||(0,u.A)(this.mainBkg,10)):(this.rowOdd=this.rowOdd||(0,d.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||(0,d.A)(this.mainBkg,5)),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||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,u.A)(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,u.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;let t=this.darkMode?-4:-1;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||s(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||s(this.mainBkg,{h:180,s:-15,l:t*(8+3*e)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||s(this.primaryColor,{h:64}),this.fillType3=this.fillType3||s(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||s(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||s(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||s(this.primaryColor,{h:128}),this.fillType7=this.fillType7||s(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||s(this.primaryColor,{l:-10}),this.pie5=this.pie5||s(this.secondaryColor,{l:-10}),this.pie6=this.pie6||s(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||s(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||s(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||s(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||s(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||s(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||s(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||s(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||s(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||s(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||s(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||s(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||s(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExter
13nalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,u.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||s(this.primaryColor,{h:-30}),this.git4=this.git4||s(this.primaryColor,{h:-60}),this.git5=this.git5||s(this.primaryColor,{h:-90}),this.git6=this.git6||s(this.primaryColor,{h:60}),this.git7=this.git7||s(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)):(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||w,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||S}calculate(t){if("object"!=typeof t){this.updateColors();return}let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},L=(0,a.K2)(t=>{let e=new F;return e.calculate(t),e},"getThemeVariables"),M=class{static{(0,a.K2)(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,d.A)(this.primaryColor,16),this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=c(this.background),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,d.A)(c("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,l.A)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackgroun
13d="#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,u.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,u.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,l.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,l.A)(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.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||(0,d.A)(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||(0,u.A)(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,d.A)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,d.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,d.A)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=s(this.primaryColor,{h:64}),this.fillType3=s(this.secondaryColor,{h:64}),this.fillType4=s(this.primaryColor,{h:-64}),this.fillType5=s(this.secondaryColor,{h:-64}),this.fillType6=s(this.primaryColor,{h:128}),this.fillType7=s(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||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||s(this.mainBkg,{h:30,s:-30,l:-(-10+4*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||s(this.mainBkg,{h:30,s:-30,l:-(-7+4*t)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||s(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||s(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||s(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||s(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||s(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||s(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExter
13nalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,u.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,d.A)(this.secondaryColor,20),this.git1=(0,d.A)(this.pie2||this.secondaryColor,20),this.git2=(0,d.A)(this.pie3||this.tertiaryColor,20),this.git3=(0,d.A)(this.pie4||s(this.primaryColor,{h:-30}),20),this.git4=(0,d.A)(this.pie5||s(this.primaryColor,{h:-60}),20),this.git5=(0,d.A)(this.pie6||s(this.primaryColor,{h:-90}),10),this.git6=(0,d.A)(this.pie7||s(this.primaryColor,{h:60}),10),this.git7=(0,d.A)(this.pie8||s(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||(0,d.A)(this.background,12),this.attributeBackgroun
13dColorEven=this.attributeBackgroundColorEven||(0,d.A)(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(t){if("object"!=typeof t){this.updateColors();return}let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},E=(0,a.K2)(t=>{let e=new M;return e.calculate(t),e},"getThemeVariables"),O=class{static{(0,a.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=s(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=(0,l.A)(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.vertLineColor="navy",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,u.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,u.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,u.A)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||s(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||s(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||s(this.mainBkg,{h:30,l:-(7+5*t)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||c(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||c(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackgroun
13d=this.labelBackground,this.actorBorder=(0,d.A)(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||(0,d.A)(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||(0,d.A)(this.primaryColor,1),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=s(this.primaryColor,{h:64}),this.fillType3=s(this.secondaryColor,{h:64}),this.fillType4=s(this.primaryColor,{h:-64}),this.fillType5=s(this.secondaryColor,{h:-64}),this.fillType6=s(this.primaryColor,{h:128}),this.fillType7=s(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||s(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||s(this.primaryColor,{l:-10}),this.pie5=this.pie5||s(this.secondaryColor,{l:-30}),this.pie6=this.pie6||s(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||s(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||s(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||s(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||s(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||s(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||s(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||s(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||s(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||s(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||s(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||s(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||s(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExter
13nalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||s(this.primaryColor,{h:-30}),this.git4=this.git4||s(this.primaryColor,{h:-60}),this.git5=this.git5||s(this.primaryColor,{h:-90}),this.git6=this.git6||s(this.primaryColor,{h:60}),this.git7=this.git7||s(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)):(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)),this.gitInv0=this.gitInv0||(0,u.A)(c(this.git0),25),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroun
13dColorOdd=this.attributeBackgroundColorOdd||w,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||S}calculate(t){if(Object.keys(this).forEach(t=>{"calculated"===this[t]&&(this[t]=void 0)}),"object"!=typeof t){this.updateColors();return}let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},K=(0,a.K2)(t=>{let e=new O;return e.calculate(t),e},"getThemeVariables"),I=class{static{(0,a.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,d.A)("#cde498",10),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.primaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,u.A)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,u.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,u.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,u.A)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||s(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||s(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||s(this.mainBkg,{h:30,s:-30,l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||(0,d.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||(0,d.A)(this.mainBkg,20),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.labelBackgroun
13dColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=s(this.primaryColor,{h:64}),this.fillType3=s(this.secondaryColor,{h:64}),this.fillType4=s(this.primaryColor,{h:-64}),this.fillType5=s(this.secondaryColor,{h:-64}),this.fillType6=s(this.primaryColor,{h:128}),this.fillType7=s(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||s(this.primaryColor,{l:-30}),this.pie5=this.pie5||s(this.secondaryColor,{l:-30}),this.pie6=this.pie6||s(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||s(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||s(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||s(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||s(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||s(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||s(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||s(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||s(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||s(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||s(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||s(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||s(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"}
13,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||s(this.primaryColor,{h:-30}),this.git4=this.git4||s(this.primaryColor,{h:-60}),this.git5=this.git5||s(this.primaryColor,{h:-90}),this.git6=this.git6||s(this.primaryColor,{h:60}),this.git7=this.git7||s(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)):(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||w,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||S}calculate(t){if("object"!=typeof t){this.updateColors();return}let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},D=(0,a.K2)(t=>{let e=new I;return e.calculate(t),e},"getThemeVariables"),z=class{static{(0,a.K2)(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,d.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(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.edgeLabelBackgroun
13d="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||(0,d.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,d.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,d.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||s(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||s(this.mainBkg,{l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=(0,d.A)(this.contrast,30),this.sectionBkgColor2=(0,d.A)(this.contrast,30),this.taskBorderColor=(0,u.A)(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=(0,d.A)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,u.A)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.vertLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroun
13dColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=s(this.primaryColor,{h:64}),this.fillType3=s(this.secondaryColor,{h:64}),this.fillType4=s(this.primaryColor,{h:-64}),this.fillType5=s(this.secondaryColor,{h:-64}),this.fillType6=s(this.primaryColor,{h:128}),this.fillType7=s(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||s(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||s(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||s(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||s(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||s(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||s(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12}
13,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,u.A)(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||s(this.primaryColor,{h:-30}),this.git4=this.pie5||s(this.primaryColor,{h:-60}),this.git5=this.pie6||s(this.primaryColor,{h:-90}),this.git6=this.pie7||s(this.primaryColor,{h:60}),this.git7=this.pie8||s(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||w,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||S}calculate(t){if("object"!=typeof t){this.updateColors();return}let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},q={base:{getThemeVariables:L},dark:{getThemeVariables:E},default:{getThemeVariables:K},forest:{getThemeVariables:D},neutral:{getThemeVariables:(0,a.K2)(t=>{let e=new z;return e.calculate(t),e},"getThemeVariables")}},R
vendor: 9,639 bytes, line 13
13={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,inheritDir:!1},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,maxLabelWidth:360,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"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,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,showDataLabel:!1,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,layoutAlgorithm:"cose-bilkent"},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},
13P={...R,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:q.default.getThemeVariables(),sequence:{...R.sequence,messageFont:(0,a.K2)(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:(0,a.K2)(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:(0,a.K2)(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...R.gantt,tickInterval:void 0,useWidth:void 0},c4:{...R.c4,useWidth:void 0,personFont:(0,a.K2)(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...R.flowchart,inheritDir:!1},external_personFont:(0,a.K2)(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:(0,a.K2)(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:(0,a.K2)(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:(0,a.K2)(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:(0,a.K2)(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:(0,a.K2)(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:(0,a.K2)(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:(0,a.K2)(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:(0,a.K2)(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:(0,a.K2)(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:(0,a.K2)(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:(0,a.K2)(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:(0,a.K2)(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:(0,a.K2)(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:(0,a.K2)(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:(0,a.K2)(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:(0,a.K2)(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:(0,a.K2)(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:(0,a.K2)(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:(0,a.K2)(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:(0,a.K2)(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...R.pie,useWidth:984}
13,xyChart:{...R.xyChart,useWidth:void 0},requirement:{...R.requirement,useWidth:void 0},packet:{...R.packet},radar:{...R.radar},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","}},N=(0,a.K2)((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:"object"==typeof t[i]&&null!==t[i]?[...r,e+i,...N(t[i],"")]:[...r,e+i],[]),"keyify"),$=new Set(N(P,"")),j=P,W=(0,a.K2)(t=>{if(a.Rm.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t)){t.forEach(t=>W(t));return}for(let e of Object.keys(t)){if(a.Rm.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!$.has(e)||null==t[e]){a.Rm.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){a.Rm.debug("sanitizing object",e),W(t[e]);continue}for(let r of["themeCSS","fontFamily","altFontFamily"])e.includes(r)&&(a.Rm.debug("sanitizing css option",e),t[e]=H(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}a.Rm.debug("After sanitization",t)}},"sanitizeDirective"),H=(0,a.K2)(t=>{let e=0,r=0;for(let i of t){if(e<r)return"{ /* ERROR: Unbalanced CSS */ }";"{"===i?e++:"}"===i&&r++}return e!==r?"{ /* ERROR: Unbalanced CSS */ }":t},"sanitizeCss"),U=Object.freeze(j),Y=T({},U),G=[],X=T({},U),V=(0,a.K2)((t,e)=>{let r=T({},t),a={};for(let t of e)ti(t),a=T(a,t);if(r=T(r,a),a.theme&&a.theme in q){let t=T({},i),e=T(t.themeVariables||{},a.themeVariables);r.theme&&r.theme in q&&(r.themeVariables=q[r.theme].getThemeVariables(e))}return th(X=r),X},"updateCurrentConfig"),Z=(0,a.K2)(t=>(Y=T({},U),Y=T(Y,t),t.theme&&q[t.theme]&&(Y.themeVariables=q[t.theme].getThemeVariables(t.themeVariables)),V(Y,G),Y),"setSiteConfig"),Q=(0,a.K2)(t=>{i=T({},t)},"saveConfigFromInitialize"),J=(0,a.K2)(t=>(Y=T(Y,t),V(Y,G),Y),"updateSiteConfig"),tt=(0,a.K2)(()=>T({},Y),"getSiteConfig"),te=(0,a.K2)(t=>(th(t),T(X,t),tr()),"setConfig"),tr=(0,a.K2)(()=>T({},X),"getConfig"),ti=(0,a.K2)(t=>{t&&(["secure",...Y.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(a.Rm.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]&&ti(t[e])}))},"sanitize"),ta=(0,a.K2)(t=>{W(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),G.push(t),V(Y,G)},"addDirective"),tn=(0,a.K2)((t=Y)=>{V(t,G=[])},"reset"),to={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},ts={},tl=(0,a.K2)(t=>{ts[t]||(a.Rm.warn(to[t]),ts[t]=!0)},"issueWarning"),th=(0,a.K2)(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&tl("LAZY_LOAD_DEPRECATED")},"checkConfig"),tc=(0,a.K2)(()=>{let t={};for(let e of(i&&(t=T(t,i)),G))t=T(t,e);return t},"getUserDefinedConfig"),tu=/<br\s*\/?>/gi,td=(0,a.K2)(t=>
13t?t_(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),tp=(()=>{let t=!1;return()=>{t||(tf(),t=!0)}})();function tf(){let t="data-temp-href-target";f.A.addHook("beforeSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),f.A.addHook("afterSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))})}(0,a.K2)(tf,"setupDompurifyHooks");var tg=(0,a.K2)(t=>(tp(),f.A.sanitize(t)),"removeScript"),tm=(0,a.K2)((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;"antiscript"===r||"strict"===r?t=tg(t):"loose"!==r&&(t=tk(t=(t=(t=t_(t)).replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/=/g,"&equals;")))}return t},"sanitizeMore"),ty=(0,a.K2)((t,e)=>t?t=e.dompurifyConfig?f.A.sanitize(tm(t,e),e.dompurifyConfig).toString():f.A.sanitize(tm(t,e),{FORBID_TAGS:["style"]}).toString():t,"sanitizeText"),tb=(0,a.K2)((t,e)=>"string"==typeof t?ty(t,e):t.flat().map(t=>ty(t,e)),"sanitizeTextOrArray"),tx=(0,a.K2)(t=>tu.test(t),"hasBreaks"),tC=(0,a.K2)(t=>t.split(tu),"splitBreaks"),tk=(0,a.K2)(t=>t.replace(/#br#/g,"<br/>"),"placeholderToBreak"),t_=(0,a.K2)(t=>t.replace(tu,"#br#"),"breakToPlaceholder"),tv=(0,a.K2)(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=CSS.escape(e)),e},"getUrl"),tA=(0,a.K2)(t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),tT=(0,a.K2)(function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},"getMax"),tw=(0,a.K2)(function(...t){return Math.min(...t.filter(t=>!isNaN(t)))},"getMin"),tS=(0,a.K2)(function(t){let e=t.split(/(,)/),r=[];for(let t=0;t<e.length;t++){let i=e[t];if(","===i&&t>0&&t+1<e.length){let a=e[t-1],n=e[t+1];tF(a,n)&&(i=a+","+n,t++,r.pop())}r.push(tL(i))}return r.join("")},"parseGenericTypes"),tB=(0,a.K2)((t,e)=>Math.max(0,t.split(e).length-1),"countOccurrence"),tF=(0,a.K2)((t,e)=>{let r=tB(t,"~"),i=tB(e,"~");return 1===r&&1===i},"shouldCombineSets"),tL=(0,a.K2)(t=>{let e=tB(t,"~"),r=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let i=[...t],a=i.indexOf("~"),n=i.lastIndexOf("~");for(;-1!==a&&-1!==n&&a!==n;)i[a]="<",i[n]=">",a=i.indexOf("~"),n=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),tM=(0,a.K2)(()=>void 0!==window.MathMLElement,"isMathMLSupported"),tE=/\$\$(.*)\$\$/g,tO=(0,a.K2)(t=>(t.match(tE)?.length??0)>0,"hasKatex"),tK=(0,a.K2)(async(t,e)=>{let r=document.createElement("div");r.innerHTML=await tD(t,e),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";let i=document.querySelector("body");i?.insertAdjacentElement("beforeend",r);let a={width:r.clientWidth,height:r.clientHeight};return r.remove(),a},"calculateMathMLDimensions"),tI=(0,a.K2)(async(t,e)=>{if(!tO(t))return t;if(!(tM()||e.legacyMathML||e.forceLegacyMathML))return t.replace(tE,"MathML is unsupported in this environment.");{let{default:i}=await Promise.resolve().then(r.bind(r,32521)),a=e.forceLegacyMathML||!tM()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(tu).map(t=>tO(t)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${t}</div>`:`<div>${t}</div>`).join("").replace(tE,(t,e)=>i.renderToString(e,{throwOnError:!0,displayMode:!0,output:a}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))}},"renderKatexUnsanitized"),tD=(0,a.K2)(async(t,e)=>ty(await tI(t,e),e),"renderKatexSanitized"),tz={getRows:td,sanitizeText:ty,sanitizeTextOrArray:tb,hasBreaks:tx,splitBreaks:tC,lineBreakRegex:tu,removeScript:tg,getUrl:tv,evaluate:tA,getMax:tT,getMin:tw},tq=(0,a.K2)(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),tR=(0,a.K2)(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),tP=(0,a.K2)(function(t,e,r,i){tq(t,tR(e,r,i))},"configureSvgSize"),tN=(0,a.K2)(function(t,e,r,i){let n=e.node().getBBox(),o=n.width,s=n.height;a.Rm.info(`SVG bounds: ${o}x${s}`,n);let l=0,h=0;a.Rm.info(`Graph bounds: ${l}x${h}`,t),l=o+2*r,h=s+2*r,a.Rm.info(`Calculated bounds: ${l}x${h}`),tP(e,h,l,i);let c=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",c)},"setupGraphViewbox"),t$={},tj=(0,a.K2)((t,e,r)=>{let i="";return t in t$&&t$[t]?i=t$[t](r):a.Rm.warn(`No theme found for ${t}`),` & {
14    font-family: ${r.fontFamily};
15    font-size: ${r.fontSize};
16    fill: ${r.textColor}
17  }
18  @keyframes edge-animation-frame {
19    from {
20      stroke-dashoffset: 0;
21    }
22  }
23  @keyframes dash {
24    to {
25      stroke-dashoffset: 0;
26    }
27  }
28  & .edge-animation-slow {
29    stroke-dasharray: 9,5 !important;
30    stroke-dashoffset: 900;
31    animation: dash 50s linear infinite;
32    stroke-linecap: round;
33  }
34  & .edge-animation-fast {
35    stroke-dasharray: 9,5 !important;
36    stroke-dashoffset: 900;
37    animation: dash 20s linear infinite;
38    stroke-linecap: round;
39  }
40  /* Classes common for multiple diagrams */
41
42  & .error-icon {
43    fill: ${r.errorBkgColor};
44  }
45  & .error-text {
46    fill: ${r.errorTextColor};
47    stroke: ${r.errorTextColor};
48  }
49
50  & .edge-thickness-normal {
51    stroke-width: 1px;
52  }
53  & .edge-thickness-thick {
54    stroke-width: 3.5px
55  }
56  & .edge-pattern-solid {
57    stroke-dasharray: 0;
58  }
59  & .edge-thickness-invisible {
60    stroke-width: 0;
61    fill: none;
62  }
63  & .edge-pattern-dashed{
64    stroke-dasharray: 3;
65  }
66  .edge-pattern-dotted {
67    stroke-dasharray: 2;
68  }
69
70  & .marker {
71    fill: ${r.lineColor};
72    stroke: ${r.lineColor};
73  }
74  & .marker.cross {
75    stroke: ${r.lineColor};
76  }
77
78  & svg {
79    font-family: ${r.fontFamily};
80    font-size: ${r.fontSize};
81  }
82   & p {
83    margin: 0
84   }
85
86  ${i}
87
88  ${e}
89`},"getStyles"),tW=(0,a.K2)((t,e)=>{void 0!==e&&(t$[t]=e)},"addStylesForDiagram"),tH=tj,tU={};(0,a.VA)(tU,{clear:()=>tZ,getAccDescription:()=>t1,getAccTitle:()=>tJ,getDiagramTitle:()=>t5,setAccDescription:()=>t0,setAccTitle:()=>tQ,setDiagramTitle:()=>t2});var tY="",tG="",tX="",tV=(0,a.K2)(t=>ty(t,tr()),"sanitizeText"),tZ=(0,a.K2)(()=>{tY="",tX="",tG=""},"clear"),tQ=(0,a.K2)(t=>
89{tY=tV(t).replace(/^\s+/g,"")},"setAccTitle"),tJ=(0,a.K2)(()=>tY,"getAccTitle"),t0=(0,a.K2)(t=>{tX=tV(t).replace(/\n\s+/g,"\n")},"setAccDescription"),t1=(0,a.K2)(()=>tX,"getAccDescription"),t2=(0,a.K2)(t=>{tG=tV(t)},"setDiagramTitle"),t5=(0,a.K2)(()=>tG,"getDiagramTitle"),t3=a.Rm,t4=a.He,t6=tr,t8=te,t9=U,t7=(0,a.K2)(t=>ty(t,t6()),"sanitizeText"),et=tN,ee=(0,a.K2)(()=>tU,"getCommonDb"),er={},ei=(0,a.K2)((t,e,r)=>{er[t]&&t3.warn(`Diagram with id ${t} already registered. Overwriting.`),er[t]=e,r&&_(t,r),tW(t,e.styles),e.injectUtils?.(t3,t4,t6,t7,et,ee(),()=>{})},"registerDiagram"),ea=(0,a.K2)(t=>{if(t in er)return er[t];throw new en(t)},"getDiagram"),en=class extends Error{static{(0,a.K2)(this,"DiagramNotFoundError")}constructor(t){super(`Diagram ${t} not found.`)}}},87595:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(34960),a=r(25223);let n=(0,i.A)(a.A,"Map")},87814:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(140),a=r(325);let n=function(t){if(!(0,a.A)(t))return!1;var e=(0,i.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},89733:(t,e,r)=>{"use strict";r.d(e,{XX:()=>u,q7:()=>d,sO:()=>c});var i=r(3396),a=r(46334),n=r(89898),o=r(86525),s=r(74481),l={common:o.Y2,getConfig:o.zj,insertCluster:a.U,insertEdge:i.Jo,insertEdgeLabel:i.jP,insertMarkers:i.g0,insertNode:a.on,interpolateToCurve:n.Ib,labelHelper:a.Zk,log:s.Rm,positionEdgeLabel:i.T_},h={},c=(0,s.K2)(t=>{for(let e of t)h[e.name]=e},"registerLayoutLoaders");(0,s.K2)(()=>{c([{name:"dagre",loader:(0,s.K2)(async()=>await Promise.all([r.e(21536),r.e(31422),r.e(94872),r.e(62311)]).then(r.bind(r,62311)),"loader")},{name:"cose-bilkent",loader:(0,s.K2)(async()=>await Promise.all([r.e(56184),r.e(92662)]).then(r.bind(r,92662)),"loader")}])},"registerDefaultLayoutLoaders")();var u=(0,s.K2)(async(t,e)=>{if(!(t.layoutAlgorithm in h))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=h[t.layoutAlgorithm];return(await r.loader()).render(t,e,l,{algorithm:r.algorithm})},"render"),d=(0,s.K2)((t="",{fallback:e="dagre"}={})=>{if(t in h)return t;if(e in h)return s.Rm.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},89898:(t,e,r)=>{"use strict";r.d(e,{$C:()=>F,$t:()=>W,C4:()=>U,I5:()=>j,Ib:()=>y,KL:()=>X,Sm:()=>Y,Un:()=>z,_K:()=>H,bH:()=>K,dq:()=>N,pe:()=>c,rY:()=>G,ru:()=>D,sM:()=>S,vU:()=>g,yT:()=>M});var i,a=r(86525),n=r(74481),o=r(69614),s=r(72507),l=r(99970),h=r(33571),c="​",u={curveBasis:s.qrM,curveBasisClosed:s.Yu4,curveBasisOpen:s.IA3,curveBumpX:s.Wi0,curveBumpY:s.PGM,curveBundle:s.OEq,curveCardinalClosed:s.olC,curveCardinalOpen:s.IrU,curveCardinal:s.y8u,curveCatmullRomClosed:s.Q7f,curveCatmullRomOpen:s.cVp,curveCatmullRom:s.oDi,curveLinear:s.lUB,curveLinearClosed:s.Lx9,curveMonotoneX:s.nVG,curveMonotoneY:s.uxU,curveNatural:s.Xf2,curveStep:s.GZz,curveStepAfter:s.UPb,curveStepBefore:s.dyv},d=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,p=(0,n.K2)(function(t,e){let r=f(t,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,a.$i)(t),i=(0,a.hH)(i,[...t])}else i=r.args;if(!i)return;let n=(0,a.Ch)(t,e),o="config";return void 0!==i[o]&&("flowchart-v2"===n&&(n="flowchart"),i[n]=i[o],delete i[o]),i},"detectInit"),f=(0,n.K2)(function(t,e=null){try{let r,i=RegExp(`[%]{2}(?![{]${d.source})(?=[}][%]{2}).*
90`,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),n.Rm.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let o=[];for(;null!==(r=a.DB.exec(t));)if(r.index===a.DB.lastIndex&&a.DB.lastIndex++,r&&!e||e&&r[1]?.match(e)||e&&r[2]?.match(e)){let t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;o.push({type:t,args:e})}if(0===o.length)return{type:t,args:null};return 1===o.length?o[0]:o}catch(r){return n.Rm.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),g=(0,n.K2)(function(t){return t.replace(a.DB,"")},"removeDirectives"),m=(0,n.K2)(function(t,e){for(let[r,i]of e.entries())if(i.match(t))return r;return -1},"isSubstringInArray");function y(t,e){return t?u[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function b(t,e){let r=t.trim();if(r)return"loose"!==e.securityLevel?(0,o.J)(r):r}(0,n.K2)(y,"interpolateToCurve"),(0,n.K2)(b,"formatUrl");var x=(0,n.K2)((t,...e)=>{let r=t.split("."),i=r.length-1,a=r[i],o=window;for(let e=0;e<i;e++)if(!(o=o[r[e]])){n.Rm.error(`Function name: ${t} not found in window`);return}o[a](...e)},"runFunc");function C(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function k(t){let e,r=0;return t.forEach(t=>{r+=C(t,e),e=t}),A(t,r/2)}function _(t){return 1===t.length?t[0]:k(t)}(0,n.K2)(C,"distance"),(0,n.K2)(k,"traverseEdge"),(0,n.K2)(_,"calcLabelPosition");var v=(0,n.K2)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),A=(0,n.K2)((t,e)=>{let r,i=e;for(let e of t){if(r){let t=C(e,r);if(0===t)return r;if(t<i)i-=t;else{let a=i/t;if(a<=0)return r;if(a>=1)return{x:e.x,y:e.y};if(a>0&&a<1)return{x:v((1-a)*r.x+a*e.x,5),y:v((1-a)*r.y+a*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),T=(0,n.K2)((t,e,r)=>{n.Rm.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let i=A(e,25),a=t?10:5,o=Math.atan2(e[0].y-i.y,e[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(e[0].x+i.x)/2,s.y=-Math.cos(o)*a+(e[0].y+i.y)/2,s},"calcCardinalityPosition");function w(t,e,r){let i=structuredClone(r);n.Rm.info("our points",i),"start_left"!==e&&"start_right"!==e&&i.reverse();let a=A(i,25+t),o=10+.5*t,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),l={x:0,y:0};
90return"start_left"===e?(l.x=Math.sin(s+Math.PI)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*o+(i[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*o+(i[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2-5):(l.x=Math.sin(s)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2),l}function S(t){let e="",r="";for(let i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?r=r+i+";":e=e+i+";");return{style:e,labelStyle:r}}(0,n.K2)(w,"calcTerminalLabelPosition"),(0,n.K2)(S,"getStylesFromArray");var B=0,F=(0,n.K2)(()=>(B++,"id-"+Math.random().toString(36).substr(2,12)+"-"+B),"generateId");function L(t){let e="",r="0123456789abcdef",i=r.length;for(let a=0;a<t;a++)e+=r.charAt(Math.floor(Math.random()*i));return e}(0,n.K2)(L,"makeRandomHex");var M=(0,n.K2)(t=>L(t.length),"random"),E=(0,n.K2)(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),O=(0,n.K2)(function(t,e){let r=e.text.replace(a.Y2.lineBreakRegex," "),[,i]=j(e.fontSize),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.style("text-anchor",e.anchor),n.style("font-family",e.fontFamily),n.style("font-size",i),n.style("font-weight",e.fontWeight),n.attr("fill",e.fill),void 0!==e.class&&n.attr("class",e.class);let o=n.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(r),n},"drawSimpleText"),K=(0,l.A)((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),a.Y2.lineBreakRegex.test(t)))return t;let i=t.split(" ").filter(Boolean),n=[],o="";return i.forEach((t,a)=>{let s=z(`${t} `,r),l=z(o,r);if(s>e){let{hyphenatedStrings:i,remainingWord:a}=I(t,e,"-",r);n.push(o,...i),o=a}else l+s>=e?(n.push(o),o=t):o=[o,t].filter(Boolean).join(" ");a+1===i.length&&n.push(o)}),n.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),I=(0,l.A)((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);let a=[...t],n=[],o="";return a.forEach((t,s)=>{let l=`${o}${t}`;if(z(l,i)>=e){let t=a.length===s+1,e=`${l}${r}`;n.push(t?l:e),o=""}else o=l}),{hyphenatedStrings:n,remainingWord:o}},(t,e,r="-",i)=>`${t}${e}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function D(t,e){return q(t,e).height}function z(t,e){return q(t,e).width}(0,n.K2)(D,"calculateTextHeight"),(0,n.K2)(z,"calculateTextWidth");var q=(0,l.A)((t,e)=>{let{fontSize:r=12,fontFamily:i="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};let[,o]=j(r),l=t.split(a.Y2.lineBreakRegex),h=[],u=(0,s.Ltv)("body");if(!u.remove)return{width:0,height:0,lineHeight:0};let d=u.append("svg");for(let t of["sans-serif",i]){let e=0,r={width:0,height:0,lineHeight:0};for(let i of l){let a=E();a.text=i||c;let s=O(d,a).style("font-size",o).style("font-weight",n).style("font-family",t),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");r.width=Math.round(Math.max(r.width,l.width)),e=Math.round(l.height),r.height+=e,r.lineHeight=Math.round(Math.max(r.lineHeight,e))}h.push(r)}d.remove();let p=isNaN(h[1].height)||isNaN(h[1].width)||isNaN(h[1].lineHeight)||h[0].height>h[1].height&&h[0].width>h[1].width&&h[0].lineHeight>h[1].lineHeight?0:1;return h[p]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),R=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,n.K2)(this,"InitIDGenerator")}},P=(0,n.K2)(function(t){return i=i||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),i.innerHTML=t,unescape(i.textContent)},"entityDecode");function N(t){return"str"in t}(0,n.K2)(N,"isDetailedError");var $=(0,n.K2)((t,e,r,i)=>{if(!i)return;let a=t.node()?.getBBox();a&&t.append("text").text(i).attr("text-anchor","middle").attr("x",a.x+a.width/2).attr("y",-r).attr("class",e)},"insertTitle"),j=(0,n.K2)(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]},"parseFontSize");function W(t,e){return(0,h.A)({},t,e)}(0,n.K2)(W,"cleanAndMerge");var H={assignWithDepth:a.hH,wrapLabel:K,calculateTextHeight:D,calculateTextWidth:z,calculateTextDimensions:q,cleanAndMerge:W,detectInit:p,detectDirective:f,isSubstringInArray:m,interpolateToCurve:y,calcLabelPosition:_,calcCardinalityPosition:T,calcTerminalLabelPosition:w,formatUrl:b,getStylesFromArray:S,generateId:F,random:M,runFunc:x,entityDecode:P,insertTitle:$,isLabelCoordinateInPath:V,parseFontSize:j,InitIDGenerator:R},U=(0,n.K2)(function(t){let e=t;
90return(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\xb0\xb0"+e+"\xb6\xdf":"fl\xb0"+e+"\xb6\xdf"})},"encodeEntities"),Y=(0,n.K2)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),G=(0,n.K2)((t,e,{counter:r=0,prefix:i,suffix:a},n)=>n||`${i?`${i}_`:""}${t}_${e}_${r}${a?`_${a}`:""}`,"getEdgeId");function X(t){return t??null}function V(t,e){let r=Math.round(t.x),i=Math.round(t.y),a=e.replace(/(\d+\.\d+)/g,t=>Math.round(parseFloat(t)).toString());return a.includes(r.toString())||a.includes(i.toString())}(0,n.K2)(X,"handleUndefinedAttr"),(0,n.K2)(V,"isLabelCoordinateInPath")},91010:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(25223),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,n=a&&"object"==typeof module&&module&&!module.nodeType&&module,o=n&&n.exports===a?i.A.Buffer:void 0,s=o?o.allocUnsafe:void 0;let l=function(t,e){if(e)return t.slice();var r=t.length,i=s?s(r):new t.constructor(r);return t.copy(i),i}},93115:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=Function.prototype.toString;let a=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},95270:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(34960),a=r(25223);let n=(0,i.A)(a.A,"Set")},95630:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i="object"==typeof global&&global&&global.Object===Object&&global},98126:(t,e,r)=>{"use strict";r.d(e,{D:()=>o});var i=r(86525),a=r(74481),n=r(72507),o=(0,a.K2)(t=>{let{securityLevel:e}=(0,i.D7)(),r=(0,n.Ltv)("body");if("sandbox"===e){let e=(0,n.Ltv)(`#i${t}`),i=e.node()?.contentDocument??document;r=(0,n.Ltv)(i.body)}return r.select(`#${t}`)},"selectSvgElement")},99970:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(40459);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var i=arguments,a=e?e.apply(this,i):i[0],n=r.cache;if(n.has(a))return n.get(a);var o=t.apply(this,i);return r.cache=n.set(a,o)||n,o};return r.cache=new(a.Cache||i.A),r}a.Cache=i.A;let n=a}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.